CN116248745A - Anesthesia machine communication method, anesthesia machine communication device, anesthesia machine communication equipment, anesthesia machine communication computer equipment and anesthesia machine storage medium - Google Patents

Anesthesia machine communication method, anesthesia machine communication device, anesthesia machine communication equipment, anesthesia machine communication computer equipment and anesthesia machine storage medium Download PDF

Info

Publication number
CN116248745A
CN116248745A CN202310064812.1A CN202310064812A CN116248745A CN 116248745 A CN116248745 A CN 116248745A CN 202310064812 A CN202310064812 A CN 202310064812A CN 116248745 A CN116248745 A CN 116248745A
Authority
CN
China
Prior art keywords
anesthesia machine
signal
communication
maintenance
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310064812.1A
Other languages
Chinese (zh)
Inventor
温仕宏
邬艳
王钟兴
陈晓英
文志双
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
First Affiliated Hospital of Sun Yat Sen University
Original Assignee
First Affiliated Hospital of Sun Yat Sen University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by First Affiliated Hospital of Sun Yat Sen University filed Critical First Affiliated Hospital of Sun Yat Sen University
Priority to CN202310064812.1A priority Critical patent/CN116248745A/en
Publication of CN116248745A publication Critical patent/CN116248745A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • Computing Systems (AREA)
  • Medical Informatics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present application relates to an anesthesia machine communication method, apparatus, device, computer device, storage medium and computer program product. The method comprises the following steps: and transmitting a communication establishment request signal to the anesthesia machine in response to the communication initiation signal of the anesthesia machine. And if the communication confirmation signal from the anesthesia machine is received, sending a data request signal to the anesthesia machine. And sending a communication maintaining signal to the anesthesia machine if the working data is received, and returning a communication confirmation signal from the anesthesia machine if the communication confirmation signal is received, and sending a data request signal to the anesthesia machine. The data request signal is used for indicating the anesthesia machine to send working data; the communication maintenance signal is used for requesting the anesthesia machine to maintain the communication establishment state. By adopting the method, the working data of the anesthesia machine can be obtained on the basis of maintaining the communication establishment state with the anesthesia machine, and the occurrence of abnormal communication conditions of the anesthesia machine is reduced.

Description

Anesthesia machine communication method, anesthesia machine communication device, anesthesia machine communication equipment, anesthesia machine communication computer equipment and anesthesia machine storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to an anesthesia machine communication method, apparatus, device, computer readable storage medium, and computer program product.
Background
With the high-speed development of internet technology, people share and transmit data, establish an information system and enter a big data era. In the medical industry, data of medical instruments are also generally required to be collected so as to realize real-time monitoring of the medical instruments and timely find abnormality.
In the anesthesia information acquisition system, the midbody system is generally used for acquiring anesthesia machine data. The middi ston system may record data during anesthesia and upload to an information system. However, when the middi ston system is used for collecting data of the anesthesia machine, the anesthesia machine can generate error reporting prompt, and the problem of abnormal communication occurs.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an anesthesia machine communication method, apparatus, device, computer readable storage medium, and computer program product that can solve an anesthesia machine communication abnormality.
In a first aspect, the present application provides a method of anesthesia machine communication, the method comprising:
responding to a communication initiating signal of an anesthesia machine, and sending a communication establishing request signal to the anesthesia machine;
if a communication confirmation signal from the anesthesia machine is received, a data request signal is sent to the anesthesia machine; the data request signal is used for indicating the anesthesia machine to send working data;
If the working data is received, sending a communication maintaining signal to the anesthesia machine, returning the communication confirming signal from the anesthesia machine if the working data is received, and sending a data request signal to the anesthesia machine; the communication maintenance signal is used for requesting the anesthesia machine to maintain a communication establishment state.
In one embodiment, the data request signal includes an operating parameter request signal and a confirmation signal, and the sending the data request signal to the anesthesia machine if the communication confirmation signal from the anesthesia machine is received includes:
if a communication confirmation signal from the anesthesia machine is received, sending a working parameter request signal to the anesthesia machine;
transmitting a confirmation signal to the anesthesia machine in response to the interrogation signal transmitted by the anesthesia machine; the inquiry signal is sent out after the anesthesia machine receives the working parameter request signal.
In one embodiment, the acknowledgement signal includes a primary acknowledgement signal and a secondary acknowledgement signal, the transmitting an acknowledgement signal to the anesthesia machine in response to an interrogation signal transmitted by the anesthesia machine, comprising:
transmitting a primary acknowledgement signal to the anesthesia machine in response to the interrogation signal transmitted by the anesthesia machine;
Transmitting a secondary confirmation signal to the anesthesia machine in response to the attribute parameters transmitted by the anesthesia machine; the attribute parameter is sent out after the anesthesia machine receives the primary confirmation signal.
In one embodiment, if the working data is received, sending a communication maintenance signal to the anesthesia machine, and returning the communication confirmation signal from the anesthesia machine if the working data is received, sending a data request signal to the anesthesia machine, including:
if the working data is received, a communication maintaining signal is sent to the anesthesia machine;
after receiving the maintenance confirmation signal, returning to the state that the communication confirmation signal from the anesthesia machine is received, and sending a data request signal to the anesthesia machine; the maintenance confirmation signal is sent out by the anesthesia machine after the communication maintenance signal is received.
In one embodiment, the communication maintenance signal includes a first communication maintenance signal and a second communication maintenance signal, and if the working data is received, sending the communication maintenance signal to the anesthesia machine includes:
if the working data is received, a first communication maintaining signal is sent to the anesthesia machine;
and returning the communication confirmation signal received from the anesthesia machine after receiving the maintenance confirmation signal, and sending a data request signal to the anesthesia machine, wherein the method comprises the following steps:
After receiving the first communication maintenance signal, sending a second communication maintenance signal to the anesthesia machine; the first communication maintenance signal is sent out by the anesthesia machine after the anesthesia machine receives the first communication maintenance signal;
after receiving the second maintenance confirmation signal, returning to the state that the communication confirmation signal from the anesthesia machine is received, and sending a data request signal to the anesthesia machine; the second communication maintenance signal is sent out by the anesthesia machine after the anesthesia machine receives the second communication maintenance signal.
In one embodiment, the communication maintenance signal further includes a third communication maintenance signal, and after receiving the second maintenance confirmation signal, returning the communication confirmation signal if the communication confirmation signal from the anesthesia machine is received, and sending a data request signal to the anesthesia machine, including:
after receiving the second maintenance confirmation signal, sending a third communication maintenance signal to the anesthesia machine;
after receiving a third maintenance confirmation signal, returning to the state that the communication confirmation signal from the anesthesia machine is received, and sending a data request signal to the anesthesia machine; the third maintenance confirmation signal is sent out by the anesthesia machine after the third communication maintenance signal is received.
In one embodiment, the communication maintenance signal is the same as the communication establishment request signal.
In a second aspect, the present application also provides an anesthesia machine communication device, the device comprising:
the communication establishment module is used for responding to a communication initiation signal of the anesthesia machine and sending a communication establishment request signal to the anesthesia machine;
the data acquisition module is used for sending a data request signal to the anesthesia machine if receiving a communication confirmation signal from the anesthesia machine; the data request signal is used for indicating the anesthesia machine to send working data;
the communication maintaining module is used for sending a communication maintaining signal to the anesthesia machine if the working data is received, returning the communication confirming signal from the anesthesia machine if the working data is received, and sending a data request signal to the anesthesia machine; the communication maintenance signal is used for requesting the anesthesia machine to maintain a communication establishment state.
In a third aspect, the present application further provides an anesthesia machine communication device, including a processor and a communication chip, the processor communicates with the anesthesia machine through the communication chip, and the processor is configured to perform the following steps when performing anesthesia machine communication:
Responding to a communication initiating signal of an anesthesia machine, and sending a communication establishing request signal to the anesthesia machine;
if a communication confirmation signal from the anesthesia machine is received, a data request signal is sent to the anesthesia machine; the data request signal is used for indicating the anesthesia machine to send working data;
if the working data is received, sending a communication maintaining signal to the anesthesia machine, returning the communication confirming signal from the anesthesia machine if the working data is received, and sending a data request signal to the anesthesia machine; the communication maintenance signal is used for requesting the anesthesia machine to maintain a communication establishment state.
In a fourth aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
responding to a communication initiating signal of an anesthesia machine, and sending a communication establishing request signal to the anesthesia machine;
if a communication confirmation signal from the anesthesia machine is received, a data request signal is sent to the anesthesia machine; the data request signal is used for indicating the anesthesia machine to send working data;
If the working data is received, sending a communication maintaining signal to the anesthesia machine, returning the communication confirming signal from the anesthesia machine if the working data is received, and sending a data request signal to the anesthesia machine; the communication maintenance signal is used for requesting the anesthesia machine to maintain a communication establishment state.
In a fifth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
responding to a communication initiating signal of an anesthesia machine, and sending a communication establishing request signal to the anesthesia machine;
if a communication confirmation signal from the anesthesia machine is received, a data request signal is sent to the anesthesia machine; the data request signal is used for indicating the anesthesia machine to send working data;
if the working data is received, sending a communication maintaining signal to the anesthesia machine, returning the communication confirming signal from the anesthesia machine if the working data is received, and sending a data request signal to the anesthesia machine; the communication maintenance signal is used for requesting the anesthesia machine to maintain a communication establishment state.
In a sixth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
Responding to a communication initiating signal of an anesthesia machine, and sending a communication establishing request signal to the anesthesia machine;
if a communication confirmation signal from the anesthesia machine is received, a data request signal is sent to the anesthesia machine; the data request signal is used for indicating the anesthesia machine to send working data;
if the working data is received, sending a communication maintaining signal to the anesthesia machine, returning the communication confirming signal from the anesthesia machine if the working data is received, and sending a data request signal to the anesthesia machine; the communication maintenance signal is used for requesting the anesthesia machine to maintain a communication establishment state.
The above-mentioned anesthesia machine communication method, apparatus, device, computer readable storage medium and computer program product, respond to the communication initiation signal of the anesthesia machine, send the communication to establish the request signal, then after receiving the communication acknowledgement signal of the anesthesia machine, initiate the data request signal to the anesthesia machine, and after obtaining the working data of the anesthesia machine, send the communication to maintain the signal request and keep the communication to establish the state with the anesthesia machine. The communication establishment request signal is sent to the anesthesia machine, the data request signal is sent to the anesthesia machine after the communication confirmation signal of the anesthesia machine is received, the anesthesia machine is further requested to maintain the communication establishment state after the working data sent by the anesthesia machine is received, the working data of the anesthesia machine is obtained on the basis of maintaining the communication establishment state with the anesthesia machine, and the occurrence of abnormal communication conditions of the anesthesia machine is reduced.
Drawings
FIG. 1 is a diagram of an application environment of a communication method of an anesthesia machine in one embodiment;
FIG. 2 is a flow chart of a method of communicating with an anesthesia machine in one embodiment;
FIG. 3 is a flowchart illustrating steps for sending a data request signal to the anesthesia machine if a communication acknowledgement signal from the anesthesia machine is received in one embodiment;
FIG. 4 is a flow chart of a step of sending a confirmation signal to the anesthesia machine in response to an interrogation signal sent by the anesthesia machine in one embodiment;
FIG. 5 is a flow chart of another embodiment of a communication method of an anesthesia machine;
FIG. 6 is a flow chart of a method of communicating with an anesthesia machine in yet another embodiment;
FIG. 7 is a flow chart of a method of communicating with an anesthesia machine in yet another embodiment;
FIG. 8 is a schematic diagram of a singlechip in one embodiment;
FIG. 9 is a schematic diagram of a MAX232 chip structure in one embodiment;
FIG. 10 is a wiring diagram of a portion of pins of a single chip microcomputer in one embodiment;
FIG. 11 is a wiring diagram of a portion of pins of a single chip microcomputer in yet another embodiment;
FIG. 12 is a program timing diagram of a single chip microcomputer in one embodiment;
FIG. 13 is a block diagram of a communication device of an anesthesia machine in one embodiment;
fig. 14 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first resistance may be referred to as a second resistance, and similarly, a second resistance may be referred to as a first resistance, without departing from the scope of the present application. Both the first resistor and the second resistor are resistors, but they are not the same resistor.
It is to be understood that in the following embodiments, "connected" is understood to mean "electrically connected", "communicatively connected", etc., if the connected circuits, modules, units, etc., have electrical or data transfer between them.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," and/or the like, specify the presence of stated features, integers, steps, operations, elements, components, or groups thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
The anesthesia machine communication method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the anesthesia machine 102 communicates with the processor 106 through the communication chip 104. The anesthesia machine 102 may generate operational data during use, including minute ventilation, tidal volume, frequency of ventilation per minute, airway pressure, and positive end-tidal pressure. After initialization of the processor 106, signals will be responded to by the communication chip 104 to the anesthesia machine 102, while signals are transmitted by the communication chip 104 to the anesthesia machine 102. After the communication is established, the processor 106 acquires the operation data transmitted from the anesthesia machine 102 through the communication chip 104, and transmits a communication maintenance signal to request to maintain the communication establishment state with the anesthesia machine 102 for continuous communication to acquire the operation data of the anesthesia machine 102. The model of the anesthesia machine 102 is not limited. Correspondingly, the communication chip 104 is used for matching a communication mode of the anesthesia machine 102, and the processor 106 is used for acquiring working data of the anesthesia machine 102. The selection of the processor 106 is not limited, and for a single-chip microcomputer, it is only necessary to satisfy that three serial ports are used for communication, for example, a single-chip microcomputer of the types STM32F103C8T6, GD32F103C8T6, ATMEGA2560, and the like. Meanwhile, the processor 106 may also be connected to a terminal device for transmitting the working data of the anesthesia machine 102 to the terminal device. The terminal device is used for analyzing the working data of the anesthesia machine 102.
In one embodiment, as shown in fig. 2, a communication method of an anesthesia machine is provided, and the method is applied to the processor 106 in fig. 1 for illustration, and includes the following steps:
step 202, in response to a communication initiation signal of the anesthesia machine, a communication establishment request signal is sent to the anesthesia machine.
The anesthetic machine is a semi-open type anesthetic device, anesthetic is sent into alveoli of a patient through a mechanical loop, partial pressure of anesthetic gas is formed, and after the anesthetic gas is dispersed into blood, inhibition effect is directly generated on a central nervous system, so that the effect of general anesthesia is generated. The anesthesia machine can record working data including minute ventilation, tidal volume, frequency of ventilation per minute, airway pressure, positive end expiratory pressure, etc. The processor may acquire the operating data of the anesthesia machine by establishing communication with the anesthesia machine. Before the processor establishes communication with the anesthesia machine, the anesthesia machine first initiates a signal to the processor, which is a communication initiation signal. Correspondingly, the processor responds to the communication initiation signal and sends a communication establishment request signal to the anesthesia machine.
Specifically, the communication chip has a communication mode matched with the anesthesia machine and can communicate with the processor. The anesthesia machine sends a communication initiation signal to the processor through the communication chip, and the processor responds to the communication initiation signal of the anesthesia machine after receiving the communication initiation signal of the anesthesia machine and sends a communication establishment request signal to the anesthesia machine. Wherein, the communication establishment request signal is transmitted to the anesthesia machine through the communication chip.
Further, if the anesthesia machine does not receive the communication establishment request signal, the communication initiation signal is sent at a frequency of a fixed time interval until the communication establishment request signal is received. Illustratively, the anesthesia machine transmits the communication initiation signal at a frequency of once 2 seconds.
Alternatively, the number of the communication establishment request signals is not limited, and may be one or more of any number. When the number of the communication establishment request signals is two or more, a set delay time is arranged between each communication establishment request signal, and the next communication establishment request signal is sent after the set delay time. The set delay time is not limited and may be 500ms.
Illustratively, when the processor receives a communication initiation signal sent by the anesthesia machine, a communication setup request signal is sent after a delay of 50 ms.
Step 204, if a communication confirmation signal from the anesthesia machine is received, a data request signal is sent to the anesthesia machine.
The signal sent by the anesthesia machine in response to the communication establishment request signal is called a communication confirmation signal and is used for establishing communication connection, and the data request signal is used for indicating the anesthesia machine to send working data.
Specifically, after the processor sends the communication establishment request signal, the anesthesia opportunity replies a communication confirmation signal to the communication establishment request signal. The processor receives the communication confirmation signal from the anesthesia machine and then sends a data request signal to the anesthesia machine, wherein the data request signal instructs the anesthesia machine to send working data to the processor.
Further, when the processor receives the communication confirmation signal sent by the anesthesia machine, the processor delays for 150ms and then sends a data request signal.
If the operation data is received, a communication maintenance signal is sent to the anesthesia machine in step 206, and the process returns to step 204.
Wherein the communication maintenance signal is used for requesting the anesthesia machine to maintain a communication establishment state.
Specifically, the processor receives the working data and characterizes that the primary data transmission is completed. The processor then sends a communication maintenance signal to the anesthesia machine for maintaining a communication setup state with the anesthesia machine. And when the processor and the anesthesia machine maintain a communication establishment state, the processor receives the communication confirmation signal sent by the anesthesia machine again and then sends a data request signal to the anesthesia machine for next data transmission.
Further, after the processor receives the working data, the working data can be analyzed to obtain an analysis result. The working data can also be transmitted to a terminal, and the terminal is used for analyzing the working state of the anesthesia machine and the use state of the anesthesia machine according to the working data.
Illustratively, when the processor receives the operational data sent by the anesthesia machine, the communication maintenance signal is sent after a delay of 150 ms.
In the above anesthesia machine communication method, the communication establishment request signal is sent in response to the communication initiation signal of the anesthesia machine, then the data request signal is initiated to the anesthesia machine after the communication confirmation signal of the anesthesia machine is received, and the communication maintenance signal is sent to request the anesthesia machine to keep the communication establishment state after the working data of the anesthesia machine is acquired. The communication establishment request signal is sent to the anesthesia machine, the data request signal is sent to the anesthesia machine after the communication confirmation signal of the anesthesia machine is received, the anesthesia machine is further requested to maintain the communication establishment state after the working data sent by the anesthesia machine is received, the working data of the anesthesia machine is obtained on the basis of maintaining the communication establishment state with the anesthesia machine, and the occurrence of abnormal communication conditions of the anesthesia machine is reduced.
In one embodiment, the data request signal includes an operating parameter request signal and an acknowledgement signal. As shown in fig. 3, step 204 includes step 302 and step 304.
Step 302, if a communication confirmation signal from the anesthesia machine is received, an operation parameter request signal is sent to the anesthesia machine.
Wherein the work request parameter is used to request work data from the anesthesia machine.
Specifically, the processor receives the communication acknowledgement signal from the anesthesia machine, and is considered that the processor can establish communication connection with the anesthesia machine. On the basis of establishing communication connection, the processor sends an operating parameter request signal to the anesthesia machine to request to acquire operating data of the anesthesia machine.
Optionally, after receiving the communication acknowledgement signal of the anesthesia machine, the processor may delay the setting time and then send the working parameter request signal to the anesthesia machine. Illustratively, when the processor receives a communication acknowledgement signal sent by the anesthesia machine, the operating parameter request signal is sent after a delay of 150 ms.
Step 304, in response to the interrogation signal sent by the anesthesia machine, sending a confirmation signal to the anesthesia machine.
The inquiring signal is sent out after the anesthesia machine receives the working parameter request signal, and characterizes the inquiring and confirmation of the last signal. Here, interrogation and validation of the operating parameter request signal is characterized.
Specifically, after the processor sends the working parameter request signal, in order to ensure that the data transmission is accurate, the anesthesia opportunity sends an inquiry signal to the processor, so as to inquire the accuracy of the working parameter request signal. When the processor receives the inquiry signal, the processor checks and then sends a confirmation signal to the anesthesia machine.
In the embodiment, the working parameter request signal and the confirmation signal are set in the data request process, so that the data transmission in the communication process of the processor and the anesthesia machine is accurate, the data request is ensured to be error-free through the confirmation signal, and the communication is kept smooth.
In one embodiment, the acknowledgement signal comprises a primary acknowledgement signal and a secondary acknowledgement signal. As shown in fig. 4, step 304 includes step 402 and step 404.
Step 402, in response to an interrogation signal sent by the anesthesia machine, a confirmation signal is sent to the anesthesia machine.
Specifically, after the processor sends the working parameter request signal, in order to ensure that the data transmission is accurate, the anesthesia opportunity sends an inquiry signal to the processor, so as to inquire the accuracy of the working parameter request signal. When the processor receives the inquiry signal, the processor can further check, and after checking, a confirmation signal is sent to the anesthesia machine. After the anesthesia machine receives the one-time confirmation signal, the working parameter request signal sent by the characterization processor is correct.
Further, after receiving the interrogation signal of the anesthesia machine, the processor can delay a set time and then send a confirmation signal to the anesthesia machine. Illustratively, when the processor receives the interrogation signal sent by the anesthesia machine, an acknowledgement signal is sent to the anesthesia machine after a delay of 150 ms.
Step 404, in response to the attribute parameters sent by the anesthesia machine, sending a secondary acknowledgement signal to the anesthesia machine.
The attribute parameters are sent after the anesthesia machine receives a confirmation signal, and the attribute parameters comprise the model number of the anesthesia machine, the communication address of the anesthesia machine, the inherent number of the anesthesia machine and the like.
Specifically, after the processor sends a confirmation signal, the anesthesia machine sends an attribute parameter to the processor, wherein the attribute parameter represents the inherent attribute of the anesthesia machine, and is used for the processor to confirm whether the anesthesia machine in communication is a target anesthesia machine needing to acquire data. The processor acquires the attribute parameters of the anesthesia machine, then checks the attribute parameters by itself, and sends a secondary confirmation signal to the anesthesia machine after confirming that the attribute parameters of the anesthesia machine are correct.
Further, after the processor receives the attribute parameters of the anesthesia machine, the processor can delay the set time and then send a secondary confirmation signal to the anesthesia machine. Illustratively, when the processor receives the attribute parameters sent by the anesthesia machine, a secondary acknowledgement signal is sent to the anesthesia machine after a delay of 150 ms.
In this embodiment, the primary acknowledgement signal and the secondary acknowledgement signal are set up by the acknowledgement signal in the data request process, and the two acknowledgements ensure that the data transmission in the communication process of the processor and the anesthesia machine is accurate, and ensure the reality and reliability of the data transmission by the repeated acknowledgement mode.
In one embodiment, as shown in FIG. 5, step 206 includes step 502 and step 504.
Step 502, if the working data is received, a communication maintenance signal is sent to the anesthesia machine.
Specifically, after the processor acquires the operation data of the anesthesia machine, the processor transmits a communication maintenance signal to the anesthesia machine in order to maintain the communication establishment state with the anesthesia machine. On the premise of keeping the communication establishment state, the anesthesia machine and the processor are in smooth communication so as to acquire the working data of the anesthesia machine next time.
Further, after the processor receives the working data of the anesthesia machine, the working data of the anesthesia machine can be sent to other terminal devices connected with the processor through a communication chip or a communication interface of the processor. The working data of the anesthesia machine is transmitted to other terminals, so that a user can conveniently process and analyze the working data of the anesthesia machine.
Optionally, after receiving the working data of the anesthesia machine, the processor may delay a set time and send a communication maintenance signal to the anesthesia machine. Illustratively, when the processor receives the operational data sent by the anesthesia machine, a communication maintenance signal is sent to the anesthesia machine after a delay of 150 ms.
Step 504, after receiving the sustain acknowledge signal, returns to step 204. The maintenance confirmation signal is sent out by the anesthesia machine after receiving the communication maintenance signal.
Specifically, the anesthesia machine transmits a maintenance acknowledgement signal to the processor in response to the processor initiated communication maintenance signal. After the processor receives the maintenance confirmation signal, the processor confirms that the processor and the anesthesia machine are in a communication establishment state, and then the data of the anesthesia machine can be acquired again. At this time, the maintenance confirmation signal and the communication confirmation signal of the anesthesia machine may be the same signal, or may be different signals received by the processor from the anesthesia machine, and are used to set the anesthesia machine and the processor in a communication establishment state. After receiving the maintenance confirmation signal, the process returns to step 204, and the data request signal is sent to the anesthesia machine to re-acquire the working data of the anesthesia machine when the communication confirmation signal of the anesthesia machine is received.
In this embodiment, the processor sends a communication maintenance signal to the anesthesia machine after acquiring the operation data of the anesthesia machine. After successful communication with the anesthesia machine, a maintenance confirmation signal is received from the anesthesia machine. The communication maintenance signal and the maintenance confirmation signal are used for maintaining the communication establishment state with the anesthesia machine, so that the anesthesia machine is prevented from generating communication abnormal prompts due to communication faults or disconnection, and meanwhile, the communication establishment state is maintained, so that the communication efficiency of the processor and the anesthesia machine is guaranteed, and the data transmission frequency is higher.
In one embodiment, the communication maintenance signal includes a first communication maintenance signal and a second communication maintenance signal. As shown in fig. 6, step 502 includes step 602, and step 504 includes step 604 and step 606.
Step 602, if the working data is received, a first communication maintenance signal is sent to the anesthesia machine.
Specifically, the communication maintenance signal includes a first communication maintenance signal and a second communication maintenance signal. After receiving the working data of the anesthesia machine, in order to maintain the communication establishment state with the anesthesia machine, first, a first communication maintenance signal is sent to the anesthesia machine for initially maintaining the communication establishment state.
Optionally, after receiving the working data of the anesthesia machine, the processor may delay a set time and send a first communication maintenance signal to the anesthesia machine. Illustratively, when the processor receives the operational data sent by the anesthesia machine, a first communication maintenance signal is sent to the anesthesia machine after a delay of 150 ms.
Step 604, after receiving the first communication maintenance signal, sends a second communication maintenance signal to the anesthesia machine.
The first communication maintenance signal is sent out by the anesthesia machine after the anesthesia machine receives the first communication maintenance signal.
Specifically, the anesthesia machine transmits a first maintenance acknowledgement signal to the processor in response to the first communication maintenance signal. After receiving the first communication maintenance signal, the processor sends a second communication maintenance signal to the anesthesia machine in order to further maintain the communication establishment state with the anesthesia machine.
Optionally, after receiving the first communication maintenance signal of the anesthesia machine, the processor may delay a set time and then send a second communication maintenance signal to the anesthesia machine. Illustratively, when the processor receives the first communication maintenance signal sent by the anesthesia machine, the processor sends a second communication maintenance signal to the anesthesia machine after a delay of 150 ms.
Step 606, after receiving the second maintenance confirmation signal, returns to step 204. The second communication maintenance signal is sent out by the anesthesia machine after the anesthesia machine receives the second communication maintenance signal.
Specifically, the anesthesia machine responds to a second communication maintaining signal initiated by the processor and sends a second maintaining confirmation signal to the processor. After receiving the second maintenance confirmation signal, the processor confirms that the processor and the anesthesia machine are in a communication establishment state, and can acquire the data of the anesthesia machine again. At this time, the second maintenance confirmation signal and the communication confirmation signal of the anesthesia machine may be the same signal, or may be different signals received by the processor from the anesthesia machine, which are all used to enable the anesthesia machine and the processor to be in a communication establishment state. After receiving the second maintenance confirmation signal, the process returns to step 204, and the data request signal is sent to the anesthesia machine to re-acquire the working data of the anesthesia machine when the communication confirmation signal of the anesthesia machine is received.
In this embodiment, when the state of communication establishment between the anesthesia machine and the processor is maintained, the processor and the anesthesia machine are repeatedly ensured to maintain the state of communication establishment by the interactive communication of the first communication maintenance signal, the second communication maintenance signal, the first maintenance confirmation signal and the second maintenance confirmation signal, and repeated confirmation is performed, so that the communication connection between the processor and the anesthesia machine is stable and reliable.
In one embodiment, the communication maintenance signal further comprises a third communication maintenance signal. As shown in fig. 7, step 606 includes step 702 and step 704.
Step 702, after receiving the second maintenance confirmation signal, sends a third communication maintenance signal to the anesthesia machine.
Specifically, the anesthesia machine transmits a second maintenance acknowledge signal to the processor in response to the second communication maintenance signal. After receiving the second maintenance confirmation signal, the processor sends a third communication maintenance signal to the anesthesia machine in order to further maintain the communication establishment state with the anesthesia machine.
Optionally, after receiving the second maintenance acknowledgement signal of the anesthesia machine, the processor may delay a set time and then send a third communication maintenance signal to the anesthesia machine. Illustratively, when the processor receives the second maintenance acknowledge signal sent by the anesthesia machine, the processor sends a third communication maintenance signal to the anesthesia machine after a delay of 150 ms.
Step 704, after receiving the third hold confirmation signal, returns to step 204.
Specifically, the anesthesia machine responds to a third communication maintenance signal initiated by the processor and sends a third maintenance confirmation signal to the processor. After receiving the third maintenance confirmation signal, the processor confirms that the processor and the anesthesia machine are in a communication establishment state, and can acquire the data of the anesthesia machine again. At this time, the third maintenance confirmation signal and the communication confirmation signal of the anesthesia machine may be the same signal, or may be different signals received by the processor from the anesthesia machine, which are all used to make the anesthesia machine and the processor in a communication establishment state. After receiving the maintenance confirmation signal, the process returns to step 204, and the data request signal is sent to the anesthesia machine to re-acquire the working data of the anesthesia machine when the communication confirmation signal of the anesthesia machine is received.
In this embodiment, when the communication between the processor and the anesthesia machine is maintained, a third communication maintenance signal and a corresponding third maintenance confirmation signal are additionally added on the basis of the communication of the first communication maintenance signal, the second communication maintenance signal, the first maintenance confirmation signal and the second maintenance confirmation signal. And the communication establishment state between the processor and the anesthesia machine is ensured by three times of confirmation, so that the communication connection between the processor and the anesthesia machine is stable and reliable.
In one embodiment, the communication maintenance signal is the same as the communication establishment request signal.
Specifically, the communication maintaining signal is a signal for requesting the anesthesia machine to maintain a communication establishment state with the processor after the processor receives the working data of the anesthesia machine. The communication establishment request signal is a signal for requesting establishment of a communication establishment state with the anesthesia machine after the processor receives a communication initiation signal of the anesthesia machine. The communication maintaining signal and the communication establishing request signal are used for requesting to keep communication with the anesthesia machine, and when the communication maintaining signal is the same as the communication establishing request signal, the program design can be simplified, and the anesthesia machine and the processor can be conveniently identified.
In this embodiment, the communication maintenance signal and the communication establishment request signal are set to be the same signal, so that the processor and the anesthesia machine can conveniently process the signals during communication, the signal identification process during communication is simplified, and the communication efficiency is improved.
In order to better understand the above solution, the following detailed explanation is made in connection with a specific embodiment in connection with the application scenario shown in fig. 1.
In one embodiment, the processor is a single-chip microcomputer, and may specifically be an STM32F103C8T6 single-chip microcomputer. The singlechip is communicated with the anesthesia machine through the communication chip, and data are collected and sent. Because the communication port of the anesthesia machine is serial port 232 signal, the communication chip is MAX232 chip, and TTL signal (transistor transistor logic, digital signal) of the singlechip is converted into serial port 232 signal. Structural circuit diagrams of an STM32F103C8T6 single-chip microcomputer (hereinafter referred to as a single-chip microcomputer) and an MAX232 chip are shown in fig. 8 and 9.
A wiring schematic diagram of local pins of the singlechip is shown in fig. 10, and in order to increase the visibility of communication, a 10K resistor and an LED bulb are respectively added to signal input and output pins of the MAX232 chip and are connected onto a ground wire in series, and when a signal passes, the LED bulb can be visually seen to flash, so that the communication is normal. As shown in FIG. 11, in order to reduce the influence of high-frequency interference voltage on the singlechip, 4 pieces of 104 (0.1 uf electrodeless patch capacitors) are respectively added to accessories of the singlechip, which are close to power input pins (9 pins, 24 pins, 36 pins and 48 pins), so that a hardware circuit is more stable in operation.
Before the anesthesia machine communication method is executed, firstly setting a communication protocol of the anesthesia machine, entering an anesthesia machine maintenance mode, selecting a Serial Port to set a Serial Port, setting the baud rate in the anesthesia machine COM1 (interface 1) to be 9600, setting a data bit to be 8, setting a stop bit to be 1, setting parity to be EVEN, and setting the communication mode to be MODIBUS. And saving the exit normal interface and completing the communication setting of the anesthesia machine. And the serial port 9 needle and line output by the MAX232 chip is connected with the communication serial port end at the back of the anesthesia machine in a crossing way, so that the hardware connection of the anesthesia machine communication is completed. Next, defining basic settings of the singlechip: setting basic definitions of 3 communication serial ports USART1, USART2 and USART3 of the singlechip, wherein the basic definitions comprise declaration structural body variables; initializing a GPIO port, and setting which pin of the singlechip is used by the GPIO; speed and pin mode selection; opening serial port interruption; setting the priority level of serial port interruption; the baud rate, data bits, stop bits, and parity bits of the serial port are set. So that the singlechip can be matched with the anesthesia machine to realize communication.
As shown in fig. 12, fig. 12 is a program timing diagram of a single-chip microcomputer, in which the "sending" characterizes the single-chip microcomputer to send to the anesthesia machine and the "receiving" characterizes the single-chip microcomputer to receive the data from the anesthesia machine. The communication initiating signal of the anesthesia machine is a character string Q6C, the communication establishing request signal of the singlechip is three character strings, namely '04B', 'U70' and 'Q6C'. The communication confirmation signal of the anesthesia machine is a character string ' R6D ', the working parameter signal is a character string ' R0001' SPIROU '01.00:04.005F ', the inquiry signal is a character string ' x 45 ', the primary confirmation signal is a character string ' R6D ', the attribute parameter sent by the anesthesia machine is ' R8 ' in the figure, the actual character string is ' R8088Fabius GS premium '03.33:04.00CF ', the secondary confirmation signal is a character string ' $3F ', the working parameter of the anesthesia machine is anesthesia machine data, the data sent to other terminals by the singlechip are sent through a serial port 2 and a serial port 3, the first communication maintenance signal is a character string ' 04B ', the first maintenance confirmation signal is a character string ' 031 ', the second communication maintenance signal is a character string ' U70 ', the second maintenance confirmation signal is a character string ' U56 ', and the third communication maintenance signal is a character string ' Q6C '. In the present embodiment, the communication maintenance signal is the same as the communication establishment request signal. Before the communication between the singlechip and the anesthesia machine is established, the singlechip receives a communication initiation signal of the anesthesia machine and delays for 50ms to send a first communication establishment request signal. Each communication establishment request signal is delayed by 500ms and then one communication establishment request signal is delayed by 50ms, and the last communication establishment request signal is delayed to receive a communication confirmation signal of the anesthesia machine. After the communication between the singlechip and the anesthesia machine is established, the time delay between each signal receiving and transmitting is 150ms.
As shown in fig. 12, serial port initialization and timer initialization of the single chip microcomputer are performed first, and after the initialization is completed, the serial port initialization and timer initialization are performed, and the serial port initialization and timer initialization are communicated with the anesthesia machine to transmit and receive data. Specifically, the singlechip responds to a communication initiation signal 'Q6C' character string sent by the anesthesia machine, delays for 50ms, then sends three character strings of communication establishment request signals '04B', 'U70', and 'Q6C', delays for 500ms between the three character strings, and delays for 50ms after the communication establishment request signals are sent. After receiving the communication acknowledgement signal R6D character string of the anesthesia machine, the singlechip delays 150ms to send the working parameter signal R0001' SPIROU '01.00:04.005F ' character string, receives the interrogation signal R45 character string sent by the anesthesia machine after delaying 150ms, and responds to the interrogation signal R45 character string and sends the acknowledgement signal R6D character string to the anesthesia machine once after delaying 150 ms. After the delay time is 150ms, the attribute parameter R8088Fabius GS premium'03.33:04.00CF character string sent by the anesthesia machine is received, the secondary acknowledgement signal "$3F" character string is sent to the anesthesia machine on the basis of the secondary delay time of 150ms, and the anesthesia machine responds to the secondary acknowledgement signal "$3F" character string sent by the singlechip and sends working data to the singlechip. After receiving the working data of the anesthesia machine, the singlechip sends the working data of the anesthesia machine to other terminal equipment or a server through a serial port USART2 and a serial port USART3, and sends a first communication maintenance signal '04B' character string to the anesthesia machine after delay for 150ms, so as to maintain a communication establishment state with the anesthesia machine. Then the singlechip responds to the first maintenance confirmation signal '031' character string returned by the anesthesia machine, sends a second communication maintenance signal 'U70' character string to the anesthesia machine on the basis of 150ms delay, responds to the second maintenance confirmation signal 'U56' character string returned by the anesthesia machine, and sends a third communication maintenance signal 'Q6C' character string on the basis of 150ms delay. After receiving the third communication maintenance signal Q6C character string, the anesthesia machine sends a third maintenance confirmation signal, namely a communication confirmation signal R6D character string, to the singlechip. The maintenance of the communication establishment state of the singlechip and the anesthesia machine is completed, and the working data of the anesthesia machine can be circularly acquired.
In the communication process of the anesthesia machine and the singlechip, the baud rate set by the singlechip is 9600 and is matched with the baud rate of the anesthesia machine. As can be seen from the definition of the baud rate, the time required for transmitting or receiving 1bit (bit) is 1/9600= 0.0001042 s= 0.1042ms, a character string such as "Q6C" occupies 3 bytes of data, and the time required for transmitting a "Q" character can be calculated to be 0.1042×10ms=1.042 ms, where the sum of the data of one byte=the start bit 1 bit+the data bit 8 bit+the stop bit 1bit is 10 bits. According to the calculated result, the Q6C which is always sent by the starting position of the anesthesia machine can be roughly calculated, the time of 3ms is roughly spent, the anesthesia machine waits for the singlechip to send an instruction after sending the Q6C, and if the singlechip does not send the instruction, the singlechip sends the Q6C again every 2 seconds until the singlechip sends a communication establishment request signal.
In the process of designing the program of the singlechip, the flow of receiving the character string by the interrupt program of the serial port USART1 is as follows: first a variable of u8 ss1 (one less than 256) is defined, for example: if the serial USART1 receives the character "Q" (the ASCii code of Q is 51 in 16 and 81 in 10, and not more than 256. In practice all the characters used will not exceed 256) at a certain time (assuming the time is the first millisecond), the received character "Q" is assigned to this variable ss1, which is then placed in res_dat, which is then in res_i=1, and res_i++, which is then in res_dat, and the next time it is convenient to change the position in res_dat, which is then in the second digit, so that "6" is placed in the second digit in the array when the character "6" comes in. By analogy, the character "C" is automatically placed in the third bit in the array. Finally, setting the maximum value of the array received data as 199, and if the res i bit number in the array exceeds 199, not receiving.
When the program is interrupted, firstly, the time interruption is set to be 1ms in the program to generate once, and the program operation flow of the singlechip is mainly used for judging the change of res_i when the serial port is interrupted. The timer interrupt and the serial interrupt are generated simultaneously when the program runs, when a character is received, res_i=1, a condition that res_i >0 in the timer interrupt program is satisfied, and the program enters an if (res_i > 0) judging program to judge whether res_odd is equal to res_i or not (the initial value of res_odd is set to 0 and the initial value of time_out is set to 20). And & indicates that when the two conditions (res_odd= res_i) and (time_out > 0) are satisfied at the same time, the result is true, that is, the and condition determination is satisfied, and the program of "time_out" can be executed, wherein neither party satisfies that the program of "time_out" can not be executed.
Taking the receiving character string Q6C as an example, the running process of the timing interrupt program of the singlechip is as follows:
when the first character in the character string "Q6C", that is, when "Q" is received (assuming that the time is the first millisecond), the set res_odd=0 does not satisfy the and condition determination, which means that data is still being received at this time, and jumps to the next program statement res_odd= res_i, and then res_odd=1 is assigned. The initial value of time_out is set to 20, the "time_out= 0" determination is not satisfied, and the corresponding program is not executed.
When the second character in the character string "Q6C", that is, when the character "6" is received (the time at this time is the second millisecond), res_i=2, res_odd=1, and the and condition determination is not satisfied, res_odd= res_i is executed, and res_odd=2 is assigned. The same time_out initial value is 20, the "time_out= 0" determination is not satisfied, and the corresponding program is not executed.
When the third character in the character string "Q6C" is received, that is, when the character "C" is received (the time at this time is the third millisecond), res_i=3, res_odd=2. The and condition determination is not satisfied, res_odd= res_i is performed, and res_odd=3 is assigned. The same time_out initial value is 20, the "time_out= 0" determination is not satisfied, and the corresponding program is not executed.
When the reception of the character string "Q6C" is completed, (the time is the fourth millisecond), res_i is still equal to 3, res_odd is also equal to 3, and the and condition determination is established, and the time_out-is executed immediately; since res_odd=res_i at this time both variables are 3, time_out=19; the same time_out initial value is 19>0, the "time_out= 0" determination is not satisfied, and the corresponding program is not executed.
When the reception of the character string "Q6C" is completed, a timer interrupt state is entered (the time at this time is the fifth millisecond). At this time, res_i is also equal to 3, res_odd is also equal to 3, and the and condition determination is established, and the stand-by executes time_out-; time_out=18; the same time_out initial value is 18>0, the "time_out= 0" determination is not satisfied, and the corresponding program is not executed.
The timer interrupt state is continued for a set time, and the program in the sixth millisecond is executed as in the fifth second, and the statement is repeatedly executed until the 20 th millisecond, and the program in the "time_out= =0" is executed after the time_out= 0 is satisfied.
When time_out=0, the procedure within "time_out= 0" is performed. The program content is as follows: the value of reassigned time_out is 20. Is set to an initial value. And then the data in the array is emptied, new data is conveniently received again next time, and finally res_flg1=1 is executed, so that the receiving of the flag bit is completed.
The function of the program function is to check whether the serial port is interrupted or not by 1ms, if the data is received, to detect whether the bit number of the new data and the old data is changed, and if not, to execute the time_out-until the value of the time_out is 0. I.e. 20ms later, no increase in the data volume indicates that the data transmission is completed.
As shown in the timing chart of FIG. 12, before communication starts, the anesthesia machine continuously outputs 'Q6C' to its own serial port every 2 seconds, when the singlechip is connected with the anesthesia machine and receives 'Q6C' for the first time, the timer continuously judges whether the anesthesia machine is sent for 20 times, after the conditions are met, the program automatically delays for 50ms, then 04B, 500ms, U70, 500ms, Q6C and 50ms are sent to the anesthesia machine, the anesthesia machine starts to perform according to a certain cycle after receiving the data of the singlechip, and firstly the anesthesia machine sends out after the anesthesia machine receives '04B', 'U70', 'Q6C', after 150ms of delay. And finally, circularly communicating according to the program time sequence chart to obtain the working data of the anesthesia machine until the staff cuts off the communication.
In this embodiment, besides correctly collecting the data of the anesthesia machine, the data of the anesthesia machine can be sent to other terminals through the serial port USART2 and the serial port USART3 of the single chip microcomputer, and the anesthesia machine can be used for being sent to a middi ston system or an information system integration of a hospital, and can also collect the data for research of scientific researchers.
In the embodiment, the device is stably connected with the anesthesia machine in a communication manner, so that abnormal communication prompt of the anesthesia machine is avoided, and the problem that working data of the anesthesia machine are questioned due to abnormal communication is solved. Meanwhile, the scheme of the application is stable and frequent in communication with the anesthesia machine, can finish the work data acquisition of the anesthesia machine once within two or three seconds, provides the work data of a time point every 2-3 seconds, increases the data volume of scientific research, and shows the rigor of scientific research more truly.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides an anesthesia machine communication device for realizing the anesthesia machine communication method. The implementation of the solution provided by the device is similar to that described in the above method, so the specific limitations of one or more embodiments of the anesthesia machine communication device provided below can be referred to above for limitations of the anesthesia machine communication method, and will not be repeated here.
In one embodiment, as shown in fig. 13, there is provided an anesthesia machine communication device comprising: a communication establishment module 1302, a data acquisition module 1304, and a communication maintenance module 1306, wherein:
the communication establishment module 1302 is configured to send a communication establishment request signal to the anesthesia machine in response to a communication initiation signal of the anesthesia machine.
The data acquisition module 1304 is configured to send a data request signal to the anesthesia machine if a communication acknowledgement signal from the anesthesia machine is received; the data request signal is used for indicating the anesthesia machine to send working data.
The communication maintenance module 1306 is configured to send a communication maintenance signal to the anesthesia machine and return to the data acquisition module 1304 if the working data is received; the communication maintenance signal is used for requesting the anesthesia machine to maintain the communication establishment state.
In one embodiment, the data acquisition module 1304 is configured to receive a data request signal including an operating parameter request signal and an acknowledgement signal; if a communication confirmation signal from the anesthesia machine is received, sending a working parameter request signal to the anesthesia machine; transmitting a confirmation signal to the anesthesia machine in response to the interrogation signal transmitted by the anesthesia machine; the inquiry signal is sent out after the anesthesia machine receives the working parameter request signal.
In one embodiment, the data acquisition module 1304 is configured to acknowledge signals including a primary acknowledge signal and a secondary acknowledge signal; transmitting a primary confirmation signal to the anesthesia machine in response to the query signal transmitted by the anesthesia machine; responding to the attribute parameters sent by the anesthesia machine, and sending a secondary confirmation signal to the anesthesia machine; the attribute parameter is sent out after the anesthesia machine receives a confirmation signal.
In one embodiment, the communication maintenance module 1306 is configured to send a communication maintenance signal to the anesthesia machine if the operation data is received; after receiving the sustain acknowledge signal, return to the data acquisition module 1304; the maintenance confirmation signal is sent out by the anesthesia machine after receiving the communication maintenance signal.
In one embodiment, the communication maintenance module 1306 is configured to communicate maintenance signals including a first communication maintenance signal and a second communication maintenance signal; if the working data is received, a first communication maintaining signal is sent to the anesthesia machine; after receiving the maintenance acknowledge signal, the data acquisition module 1304 is returned, including: after receiving the first communication maintenance signal, sending a second communication maintenance signal to the anesthesia machine; the first communication maintenance signal is sent out by the anesthesia machine after the anesthesia machine receives the first communication maintenance signal; after receiving the second maintenance acknowledgement signal, returning to the data acquisition module 1304; the second communication maintenance signal is sent out by the anesthesia machine after the anesthesia machine receives the second communication maintenance signal.
In one embodiment, the communication maintenance module 1306 is configured to communicate maintenance signals further including a third communication maintenance signal; after receiving the second maintenance confirmation signal, sending a third communication maintenance signal to the anesthesia machine; after receiving the third hold confirmation signal, return to the data acquisition module 1304; the third maintenance confirmation signal is sent out by the anesthesia machine after receiving the third communication maintenance signal.
In one embodiment, the communication maintenance signal is the same as the communication establishment request signal in the anesthesia machine communication device.
The modules in the anesthesia machine communication device can be realized in whole or in part by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Based on the same inventive concept, the embodiment of the application also provides an anesthesia machine communication device for realizing the anesthesia machine communication method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the anesthesia machine communication device provided below may refer to the limitation of the anesthesia machine communication method hereinabove, and will not be repeated here.
In one embodiment, the present application provides an anesthesia machine communication device including a processor 106 and a communication chip 104, the processor 106 communicating with the anesthesia machine 102 through the communication chip 104. After initialization of the processor 106, signals will be responded to by the communication chip 104 to the anesthesia machine 102, while signals are transmitted by the communication chip 104 to the anesthesia machine 102. After the communication is established, the processor 106 acquires the operation data transmitted from the anesthesia machine 102 through the communication chip 104, and transmits a communication maintenance signal to request to maintain the communication establishment state with the anesthesia machine 102 for continuous communication to acquire the operation data of the anesthesia machine 102. The model of the anesthesia machine 102 is not limited. Correspondingly, the communication chip 104 is used for matching a communication mode of the anesthesia machine 102, and the processor 106 is used for acquiring working data of the anesthesia machine 102. The processor 106 may also be connected to a terminal device for transmitting the operating data of the anesthesia machine 102 to the terminal device. The terminal device is used for analyzing the working data of the anesthesia machine 102.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 14. The computer device includes a processor, a memory, an input/output interface, a communication interface, and a display unit. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface and the display unit are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program when executed by a processor implements a method of anesthesia machine communication. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen may be a liquid crystal display screen or an electronic ink display screen.
It will be appreciated by those skilled in the art that the structure shown in fig. 14 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method of communicating with an anesthesia machine, the method comprising:
responding to a communication initiating signal of an anesthesia machine, and sending a communication establishing request signal to the anesthesia machine;
if a communication confirmation signal from the anesthesia machine is received, a data request signal is sent to the anesthesia machine; the data request signal is used for indicating the anesthesia machine to send working data;
If the working data is received, sending a communication maintaining signal to the anesthesia machine, returning the communication confirming signal from the anesthesia machine if the working data is received, and sending a data request signal to the anesthesia machine; the communication maintenance signal is used for requesting the anesthesia machine to maintain a communication establishment state.
2. The method of claim 1, wherein the data request signal comprises an operating parameter request signal and a confirmation signal, and wherein the sending the data request signal to the anesthesia machine if a communication confirmation signal is received from the anesthesia machine comprises:
if a communication confirmation signal from the anesthesia machine is received, sending a working parameter request signal to the anesthesia machine;
transmitting a confirmation signal to the anesthesia machine in response to the interrogation signal transmitted by the anesthesia machine; the inquiry signal is sent out after the anesthesia machine receives the working parameter request signal.
3. The method of claim 2, wherein the acknowledgement signal comprises a primary acknowledgement signal and a secondary acknowledgement signal, the transmitting an acknowledgement signal to the anesthesia machine in response to an interrogation signal transmitted by the anesthesia machine comprising:
Transmitting a primary acknowledgement signal to the anesthesia machine in response to the interrogation signal transmitted by the anesthesia machine;
transmitting a secondary confirmation signal to the anesthesia machine in response to the attribute parameters transmitted by the anesthesia machine; the attribute parameter is sent out after the anesthesia machine receives the primary confirmation signal.
4. The method of claim 1, wherein sending a communication maintenance signal to the anesthesia machine if the operational data is received and returning the communication confirmation signal from the anesthesia machine if the communication confirmation signal is received, sending a data request signal to the anesthesia machine, comprises:
if the working data is received, a communication maintaining signal is sent to the anesthesia machine;
after receiving the maintenance confirmation signal, returning to the state that the communication confirmation signal from the anesthesia machine is received, and sending a data request signal to the anesthesia machine; the maintenance confirmation signal is sent out by the anesthesia machine after the communication maintenance signal is received.
5. The method of claim 4, wherein the communication maintenance signal comprises a first communication maintenance signal and a second communication maintenance signal, and wherein if the operational data is received, transmitting the communication maintenance signal to the anesthesia machine comprises:
If the working data is received, a first communication maintaining signal is sent to the anesthesia machine;
and returning the communication confirmation signal received from the anesthesia machine after receiving the maintenance confirmation signal, and sending a data request signal to the anesthesia machine, wherein the method comprises the following steps:
after receiving the first communication maintenance signal, sending a second communication maintenance signal to the anesthesia machine; the first communication maintenance signal is sent out by the anesthesia machine after the anesthesia machine receives the first communication maintenance signal;
after receiving the second maintenance confirmation signal, returning to the state that the communication confirmation signal from the anesthesia machine is received, and sending a data request signal to the anesthesia machine; the second communication maintenance signal is sent out by the anesthesia machine after the anesthesia machine receives the second communication maintenance signal.
6. The method of claim 5, wherein the communication maintenance signal further comprises a third communication maintenance signal, and wherein returning the communication confirmation signal if received from the anesthesia machine after receiving the second maintenance confirmation signal, sending a data request signal to the anesthesia machine comprises:
after receiving the second maintenance confirmation signal, sending a third communication maintenance signal to the anesthesia machine;
After receiving a third maintenance confirmation signal, returning to the state that the communication confirmation signal from the anesthesia machine is received, and sending a data request signal to the anesthesia machine; the third maintenance confirmation signal is sent out by the anesthesia machine after the third communication maintenance signal is received.
7. The method of claim 1, wherein the communication maintenance signal is the same as the communication establishment request signal.
8. An anesthesia machine communication device, the device comprising:
the communication establishment module is used for responding to a communication initiation signal of the anesthesia machine and sending a communication establishment request signal to the anesthesia machine;
the data acquisition module is used for sending a data request signal to the anesthesia machine if receiving a communication confirmation signal from the anesthesia machine; the data request signal is used for indicating the anesthesia machine to send working data;
the communication maintaining module is used for sending a communication maintaining signal to the anesthesia machine if the working data is received, returning the communication confirming signal from the anesthesia machine if the working data is received, and sending a data request signal to the anesthesia machine; the communication maintenance signal is used for requesting the anesthesia machine to maintain a communication establishment state.
9. An anesthesia machine communication device comprising a processor and a communication chip, the processor being in communication with the anesthesia machine via the communication chip, the processor being configured to perform anesthesia machine communication according to the method of any one of claims 1-7.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202310064812.1A 2023-01-30 2023-01-30 Anesthesia machine communication method, anesthesia machine communication device, anesthesia machine communication equipment, anesthesia machine communication computer equipment and anesthesia machine storage medium Pending CN116248745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310064812.1A CN116248745A (en) 2023-01-30 2023-01-30 Anesthesia machine communication method, anesthesia machine communication device, anesthesia machine communication equipment, anesthesia machine communication computer equipment and anesthesia machine storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310064812.1A CN116248745A (en) 2023-01-30 2023-01-30 Anesthesia machine communication method, anesthesia machine communication device, anesthesia machine communication equipment, anesthesia machine communication computer equipment and anesthesia machine storage medium

Publications (1)

Publication Number Publication Date
CN116248745A true CN116248745A (en) 2023-06-09

Family

ID=86629021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310064812.1A Pending CN116248745A (en) 2023-01-30 2023-01-30 Anesthesia machine communication method, anesthesia machine communication device, anesthesia machine communication equipment, anesthesia machine communication computer equipment and anesthesia machine storage medium

Country Status (1)

Country Link
CN (1) CN116248745A (en)

Similar Documents

Publication Publication Date Title
CN110324193B (en) Terminal upgrade management method and device
CN109428778B (en) Mainboard network connectivity test method and device
CN112087354A (en) Communication protocol testing method and device, electronic equipment and storage medium
CN115794716A (en) Terminal self-synchronizing single bus communication method, device, equipment and storage medium
CN113965904B (en) Device registration method, device and storage medium
CN111723019A (en) Interface debugging method and system
CN115129249A (en) SAS link topology identification management method, system, terminal and storage medium
CN112328467B (en) Embedded system program testing method and device
CN116248745A (en) Anesthesia machine communication method, anesthesia machine communication device, anesthesia machine communication equipment, anesthesia machine communication computer equipment and anesthesia machine storage medium
CN114827967B (en) Software updating method, bluetooth device and storage medium
WO2018170866A1 (en) Data acquisition method and apparatus
CN110007865A (en) Hardware data acquisition methods, device, equipment, system and readable storage medium storing program for executing
CN113434604B (en) Time sequence database synchronization method, system, equipment and storage medium
CN109981394B (en) Communication method and device based on enhanced CAN bus protocol analyzer
CN110675613A (en) Communication method and device between 4G communication module and metering ammeter, computer equipment and storage medium
CN113660057B (en) Method and device for transmitting monitored data
WO2024108940A1 (en) Performance supervision method, apparatus and system, and device and medium
CN109039813A (en) Method, system and the equipment of a kind of detection internet access
CN117880061B (en) Operation and maintenance monitoring system for data center
JP2015072531A (en) Test support method, test support device, and program
CN109460305A (en) Use-case calling system and method, the first platform and the second platform
CN114827302B (en) Communication protocol adaptation method, device, equipment and storage medium
CN109120422B (en) Remote server system capable of obtaining hardware information and management method thereof
CN217157093U (en) Intelligent electric meter internet of things gateway
CN116841591B (en) Firmware upgrading method, system and medium of metering equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination