WO2024001515A1 - 信息传输方法、装置、设备和存储介质 - Google Patents

信息传输方法、装置、设备和存储介质 Download PDF

Info

Publication number
WO2024001515A1
WO2024001515A1 PCT/CN2023/092403 CN2023092403W WO2024001515A1 WO 2024001515 A1 WO2024001515 A1 WO 2024001515A1 CN 2023092403 W CN2023092403 W CN 2023092403W WO 2024001515 A1 WO2024001515 A1 WO 2024001515A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
information
transaction
value
data
Prior art date
Application number
PCT/CN2023/092403
Other languages
English (en)
French (fr)
Inventor
余顺周
李村东
Original Assignee
深圳核心医疗科技股份有限公司
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 深圳核心医疗科技股份有限公司 filed Critical 深圳核心医疗科技股份有限公司
Publication of WO2024001515A1 publication Critical patent/WO2024001515A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • G16H40/67ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for remote operation
    • 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
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Definitions

  • the present application relates to the field of communications, and in particular to an information transmission method, device, equipment and storage medium.
  • the ventricular assist systems include ventricular assist devices installed in the body, controllers and monitors installed outside the body, which are used to provide adequate support for patients with heart problems. Blood supply power.
  • the information transmitted in the ventricular assist system is mainly used to indicate the operating status of the ventricular assist device or to control the operation of the ventricular assist device, which requires high real-time performance and high security. And due to the miniaturization and lightweight characteristics of ventricular assist devices, the transmitted data structure is required to be as simple as possible.
  • this application provides an information transmission method.
  • the methods include:
  • the receiving end executes or responds to the target transaction included in the first information according to the first information; the target transaction is used to indicate and/or control Ventricular assist device operating status.
  • this application also provides an information transmission device.
  • the device includes:
  • a transceiver unit used to send or receive first information, so that when receiving the first information, the receiving end executes or responds to the target transaction included in the first information according to the first information; the target transaction Used to indicate and/or control the operating status of the ventricular assist device.
  • the first information includes a first field and a second field; the first field is used to indicate the transmission type of the target transaction, and the transmission type includes a two-way data transmission type and a send-only transmission type.
  • the two-way data transmission type includes a sending data type and a receiving data type, and the sending-only transmission type includes the sending data type;
  • the second field is used to indicate the transaction identifier of the target transaction, and the transaction identifier is Functions and/or data used to define the triggering transaction in the ventricular assist device.
  • the device further includes:
  • a determining unit configured to determine the target first value and the target second value corresponding to the target transaction according to the preset mapping relationship between the transaction and the first value and the second value, and the target first value is the The value of the first field, the target second value is the value of the second field;
  • a generating unit configured to generate the first information according to the first target value and the second target value.
  • the generation unit is also used to:
  • the target data type is the sending data type and/or the receiving data type
  • the first information is generated according to the target data structure.
  • the first information further includes a third field, and the third field is used to indicate a sequence number of the first information.
  • this application also provides a device.
  • the device includes a processor, memory, communication interface, and and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, and the processor implements the following steps when executing the one or more programs:
  • the receiving end executes or responds to the target transaction included in the first information according to the first information; the target transaction is used to indicate and/or control Ventricular assist device operating status.
  • this application also provides a computer-readable storage medium.
  • the computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by the processor, the following steps are implemented:
  • the receiving end executes or responds to the target transaction included in the first information according to the first information; the target transaction is used to indicate and/or control Ventricular assist device operating status.
  • this application also provides a computer program product.
  • the computer program product includes a computer program that implements the following steps when executed by a processor:
  • the receiving end executes or responds to the target transaction included in the first information according to the first information; the target transaction is used to indicate and/or control Ventricular assist device operating status.
  • this application provides an information transmission method.
  • the ventricular assist system includes a ventricular assist device disposed in the body, a controller and a monitor disposed outside the body, and the method includes:
  • the present application also provides an information transmission device.
  • the device includes:
  • a transceiver unit configured to receive at least one first information, which is information sent by the sending end and includes a triggered target transaction, and the target transaction is used to indicate and/or control the operating status of the ventricular assist device;
  • An execution unit configured to execute or respond to the target transaction according to the at least one first information.
  • the first information includes a first field and a second field.
  • the first field is used to indicate the transmission type of the target transaction.
  • the transmission type includes a two-way data transmission type and a send-only transmission type.
  • the two-way data transmission type includes a sending data type and a receiving data type
  • the sending-only transmission type includes the sending data type
  • the second field is used to indicate the transaction identifier of the target transaction, and the transaction identifier is Functions and/or data used to define the triggering transaction in the ventricular assist device.
  • the device further includes:
  • Determining unit configured to determine the target data type of the target transaction corresponding to the target first value and the target second value according to the preset mapping relationship between the transaction and the first value and the second value, the target data type For the sending data type and/or the receiving data type, the first target value is the value of the first field, and the second target value is the value of the second field; according to the predefined data
  • the mapping relationship between types and data structures determines the target data structure corresponding to the target data type
  • a reading unit configured to read the operating data of the ventricular assist device according to the target data structure.
  • the first information further includes a third field, the third field is used to indicate the sequence number of the first information; the device further includes:
  • An arranging unit configured to arrange the at least one first information in ascending order according to the sequence number according to the third field.
  • this application also provides a device.
  • the device includes a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the processor executing the Perform the following steps when describing one or more procedures:
  • this application also provides a computer-readable storage medium.
  • the computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by the processor, the following steps are implemented:
  • this application also provides a computer program product.
  • the computer program product includes a computer program that implements the following steps when executed by a processor:
  • Figure 1 is an internal structural diagram of a computer device in one embodiment
  • Figure 2 is a schematic diagram of a central ventricular assist system according to an embodiment
  • Figure 3 is a schematic flow chart of an information transmission method in an embodiment
  • Figure 4 is a schematic diagram of the software architecture of information transmission in one embodiment
  • Figure 5 is a schematic diagram of a data packet in an embodiment
  • Figure 6 is a schematic flowchart of a method for generating first information in one embodiment
  • Figure 7 is a schematic diagram of a content field in an embodiment
  • Figure 8 is a structural block diagram of an information transmission device in one embodiment
  • Figure 9 is a structural block diagram of an information transmission device in another embodiment.
  • Figure 10 is a structural block diagram of an information transmission device in yet another embodiment
  • Figure 11 is a structural block diagram of an information transmission device in yet another embodiment.
  • the device of the present application includes a processor, a memory, an input/output interface, a communication interface, a display unit and an input device.
  • the processor, memory and input/output interface are connected through the system bus, and the communication interface, display unit and input device are connected to the system bus through the input/output interface.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the device includes non-volatile storage media and internal memory.
  • the non-volatile storage medium stores operating systems and computer programs. This internal memory provides an environment for the execution of operating systems and computer programs in non-volatile storage media.
  • the device's input/output interface is used to exchange information between the processor and external devices.
  • the communication interface of the device is used for wired or wireless communication with external terminals.
  • the wireless mode can be implemented through WIFI, mobile cellular network, NFC (Near Field Communication) or other technologies.
  • the computer program when executed by the processor, implements a method of data storage.
  • the display unit of the device is used to form a visually visible picture and can be a display screen, a projection device or a virtual reality imaging device.
  • the display screen can be a liquid crystal display or an electronic ink display.
  • the input device of the device can be an overlay on the display screen.
  • the touch layer can also be the buttons, trackball or touchpad provided on the device shell. It can also be an external keyboard, trackpad or mouse.
  • Figure 1 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the equipment to which the solution of the present application is applied. Specific equipment may include more than The figures show more or fewer parts, or certain parts combined, or with different arrangements of parts.
  • the equipment may be, but is not limited to, various medical auxiliary equipment and computer equipment.
  • the computer equipment may be a personal computer, a laptop, a smartphone, a tablet, or a portable wearable device.
  • Medical auxiliary equipment can be interventional ventricular assist equipment, implantable ventricular assist equipment, extracorporeal ventricular assist equipment, etc. used for PCI (Percutaneous Coronary Intervention, percutaneous coronary intervention) surgical protection.
  • the portable wearable device can be a smart watch. , smart bracelets, head-mounted devices, etc.
  • the ventricular assist system 20 includes a ventricular assist device 204 implanted in the human body and a controller 202 arranged outside the human body. and monitor 206.
  • the controller 202 communicates with the battery 210 through a Universal Asynchronous Receiver/Transmitter (UART) to read information such as power; communicates with the monitor 206 and/or the communication adapter 208 through the UART, and returns the data queried by the monitor 206 and Status information, and receive setting instructions from the monitor 206; at the same time, it can communicate with the ventricular assist device 204 through two-wire CAN, query the operating data and status of the ventricular assist device 204, and control the operating status of the ventricular assist device 204.
  • UART Universal Asynchronous Receiver/Transmitter
  • the controller 202 and the ventricular assist device 204 perform information exchange.
  • the ventricular assist device 204 collects the operating data that triggers the transaction, and packages the operating data as first information and sends it to the controller 202, so that the control
  • the device 202 and the monitor 206 can correctly read and display the transactions triggered by the ventricular assist device 204 and display them, thereby realizing monitoring of the operating status of the ventricular assist device 204.
  • the controller 202 packages the data generated according to the triggered transaction as first information and sends it to the ventricular assist device 204, so that the ventricular assist device 204 executes the triggered transaction. .
  • the ventricular assist system 20 includes a ventricular assist device 204 disposed in the body, a controller 202 and a monitor 206 disposed outside the body. Information is transmitted between the controller 202, the ventricular assist device 204 and the monitor 206, and the controller 202 may also send the transmitted information to the monitor 206 for display.
  • the sending end in the ventricular assist system 20 sends first information.
  • the first information includes a triggered target transaction.
  • the target transaction is used to indicate and/or control the operating status of the ventricular assist device.
  • the receiving end receives the first information and performs the operation according to the first information.
  • a message performs or responds to its intended transaction.
  • the sending end may be the monitor 206, the controller 202 or the ventricular assist device 204 in the ventricular assist system 20; the receiving end may be the monitor 206, the controller 202 or the ventricular assist device 204 in the ventricular assist system 20.
  • This application is for There is no restriction on this.
  • the sending end is the ventricular assist device 204
  • the receiving end can be the controller 202.
  • the receiving end can be the controller 202.
  • the sending end is the controller 202
  • the receiving end can be the ventricular assist device. 204, etc.
  • the sending end implements information transmission in the ventricular assist system through the sent first information, indicating the operating status of the ventricular assist device or controlling the operation of the ventricular assist device.
  • Figure 3 is a schematic flow chart of an information transmission method provided by an embodiment of the present application. It is applied to the ventricular assist system as shown in Figure 2.
  • the ventricular assist system includes a ventricular assist device disposed in the body, a ventricular assist device disposed outside the body, and a ventricular assist device disposed outside the body. controller and monitor. Information can be passed from any device in the ventricular assist system to any other device.
  • the method includes the following steps:
  • the sending end sends first information.
  • the first information includes a triggered target transaction.
  • the target transaction is used to indicate and/or control the operating status of the ventricular assist device.
  • the ventricular assist device can be a blood pump in a medical auxiliary device.
  • the blood pump is implanted in the human body and runs at high speed in the human body.
  • the controller monitors the operating status of the blood pump by receiving the operating data of the blood pump. . Since the data communication of the ventricular assist system needs to meet the requirements of high real-time and high security, the first information transmitted in the ventricular assist system Encapsulated through a custom communication protocol.
  • the communication protocol defines the fields in the first information and the values of each field, including transactions and transaction identifiers, data types, transmission types, data structures, etc.
  • the first information is information carrying the target transaction, which is used for information exchange in the ventricular assist system.
  • the first information may be information sent by the controller as a sending end to the ventricular assist device, carrying a target transaction triggered by the monitor, and used to instruct the ventricular assist device to respond or execute the target transaction.
  • the first information may be information sent by the ventricular assist device as a sending end to the controller, carrying a target transaction triggered by the ventricular assist device, and used to display the target transaction in the monitor to assist the ventricular assist device. device to monitor.
  • the target transaction is used to indicate and/or control the operating status of the ventricular assist device.
  • the operating status is used to define the operation of the ventricular assist device, including the power, speed, flow, voltage, clock, etc. of the ventricular assist device.
  • the target transaction includes one of a control transaction, a real-time clock transaction, a controller command transaction, a real-time status transaction, a non-real-time status acquisition transaction, a patient configuration transaction, a log reading transaction, an authentication transaction, or a power status transaction. or various matters.
  • Control transactions are used to control ventricular assist device operation.
  • Real-time clock transactions are used to exchange real-time clock information and carry synchronized timestamps.
  • Controller command transactions are used to process asynchronous non-periodic transactions, such as clearing alarm transactions, muting alarm transactions, starting data flow transactions, etc.
  • Real-time status transactions are used to periodically communicate real-time status between components.
  • Non-real-time status acquisition transactions are used to transfer system-built-in information (such as version).
  • Patient configuration transactions are used to configure patient-related information and settings.
  • Log read transactions are used to retrieve stored treatment and device status data from the controller.
  • Authentication transactions are used to verify physically connected devices before allowing communication.
  • the power status transaction is used by the monitor to obtain power information on the controller or the controller to obtain battery information.
  • each target transaction includes at least one sub-transaction, for example, the control transaction includes a running speed setting sub-transaction, a power setting sub-transaction, etc.
  • Each sub-transaction corresponds to a transaction identifier, data type, transmission type and data structure.
  • the sending end can encapsulate the data that triggers the transaction according to the mapping relationship and send it to the receiving end; after receiving the information, the receiving end can parse it according to the mapping relationship, obtain the data that triggers the transaction, and then execute or execute it. response.
  • the receiving end receives at least one first information, and executes or responds to the target transaction based on the at least one first information.
  • the first information includes a target transaction used to indicate and/or control the operating status of the ventricular assist device.
  • the receiving end receives the first information, it extracts the target transaction from the first information and executes or responds to the target transaction.
  • the target transaction is a real-time clock transaction.
  • the controller responds to the first information and feeds back the real-time clock to the ventricular assist device.
  • the target transaction is a speed setting transaction.
  • the ventricular assist device executes the speed setting transaction and adjusts the rotation speed to the value set in the speed setting transaction.
  • the software architecture in the ventricular assist system includes an application layer, a transport layer and a bottom layer.
  • the application layer provides the parameters and data of the transaction, triggers the transaction during the operation of the maglev pump, and sends the parameters and data corresponding to the triggered transaction to the transmission layer.
  • the transport layer is the implementation layer of the communication protocol. At the sending end, the transport layer reads data from the application, establishes transmission, and converts the transmission into data packets; at the receiving end, it converts the received data packets into transmissions and transmits them according to the Transaction parameters write data back to the application. In addition, the transport layer controls the order and integrity of transmission and data packets (using cyclic redundancy checking).
  • the bottom layer includes transmitters and receivers for sending and receiving data packets specified by a custom communication protocol.
  • the application layer of the sending end obtains the data to be sent and delivers the data to be sent to the transport layer.
  • the transport layer encapsulates the data to be sent into first information according to the defined communication protocol, and then sends the first information to the underlying hardware.
  • the underlying hardware sends the first information to the underlying hardware device at the receiving end through the cable.
  • the underlying hardware of the receiving end receives the first information sent by the underlying hardware of the sending end through the cable, and passes the first information to the transmission layer.
  • the transmission layer decapsulates the first information according to the communication protocol and extracts it from the first information. to obtain valid data and pass the valid data to the application layer for display and/or processing.
  • the pump speed setting transaction is triggered.
  • the application layer of the monitor establishes the process of the pump speed setting transaction, and passes the pump ID corresponding to the speed B and blood pump 1 to the transmission layer.
  • the transmission layer establishes a transmission link 1 between the monitor and blood pump 1 based on the pump ID. , and set the user's
  • the rotational speed B is converted into data packet 1 in the specified data format, and then the transport layer sends the data packet 1 to the bottom layer, which sends the data packet 1 to the blood pump 1 through the transmission link 1.
  • the receiver in the bottom layer of blood 1 After the receiver in the bottom layer of blood 1 receives the data packet 1, it sends the data packet 1 to the transport layer, and then the transport layer reads the data carried by the data packet 1 (speed setting) according to the meaning of each field defined in advance. is B), and finally the pump speed setting transaction and rotation speed B are passed to the application layer.
  • the built-in controller of blood pump 1 sets the rotation speed to B according to the pump speed setting transaction.
  • the ventricular assist system includes a ventricular assist device installed in the body, a controller and a monitor installed outside the body.
  • the sending end in the ventricular assist system sends the first information, and the first information includes the triggered target transaction, and the target transaction Used to indicate and/or control the operating status of the ventricular assist device. Therefore, the operating status of the ventricular assist device can be obtained based on the first information or the operation of the ventricular assist device can be controlled based on the first information, information transmission between devices in the ventricular assist system is realized, and the ventricular assist device is controlled or monitored through the transmitted information.
  • the first information includes a first field and a second field; the first field is used to indicate the transmission type of the target transaction, the transmission type includes a two-way data transmission type and a send-only transmission type, and the two-way data transmission type includes sending data Type and receive data type, only the send transmission type includes the send data type; the second field is used to indicate the transaction ID of the target transaction, and the transaction ID is used to define the function and/or data that triggers the transaction in the ventricular assist system.
  • the two-way data transmission type is the data transmission type that is expected to receive a response.
  • Bidirectional data transmission types include sending confirmation data (sending data, receiving no data), requesting data from the receiving end (sending no data, receiving data), exchanging data (both sending and receiving data), and sending commands (sending and receiving There is no data).
  • the send-only transmission type is a data transmission type that does not expect a response. When the receiving end receives information sent according to the send-only transmission type, it does not need to respond to the information.
  • the transaction identifier may be one or a combination of numbers, letters, characters, or special symbols.
  • the transaction ID can be A-01, or the transaction ID can be 1003, etc.
  • the transmit data type and the receive data type may be the same or different.
  • the first information sent by the controller includes a speed setting transaction.
  • the sending data type is T_PumpSpeed
  • the receiving data type is 0x0006, a 16-bit unsigned integer.
  • the first information includes a first field used to indicate the transmission type of the target transaction and a second field used to indicate the transaction identifier of the target transaction, so that the receiving end can determine the first field according to the transmission type and transaction identifier. Respond to the information to achieve fine control of the ventricular assist device through transaction identification, or monitor the operating status of the ventricular assist device.
  • the data packet format of data transmission is predefined.
  • the data packet is the smallest unit from the transmission layer.
  • the data packet consists of command code (OXD0), data word, cyclic redundancy, and check value. and carriage return.
  • the cyclic redundancy check value CRC is a 2-byte CRC-16 value calculated using 12-byte data.
  • the data word includes the hardware channel identifier, header and payload. Further, the header consists of transaction identification, transmission type and multi-packet counter.
  • S302 also includes the following steps:
  • S602 Determine the first target value and the second target value corresponding to the target transaction according to the preset mapping relationship between the transaction and the first value and the second value.
  • the first target value is the value of the first field
  • the second target value is the value of the first field.
  • the value is the value of the second field.
  • the content fields of each transaction or sub-transaction are predefined, which mainly include transaction identification (Transaction ID), transmission type (Transaction Type), sending data type (Tx data type) and receiving data type ( Rx data type).
  • Transaction ID Transaction ID
  • Transmission Type Transmission type
  • Tx data type sending data type
  • Rx data type receiving data type
  • the target transaction triggered by the sending end its first value and second value can be determined according to the target transaction and the first value and the second value (ie, the transaction identifier and the transmission type) in the content field.
  • the content fields of the predefined speed setting transaction are shown in Figure 7.
  • the transaction ID of the pump speed setting transaction is 1, the transmission type is two-way data transmission, the sending data type of the pump speed setting transaction is T_PumpSpeed, and the receiving data type is 16 bits. 0x0006 for unsigned integer.
  • the target transaction triggered by the sending end is a speed setting transaction
  • the sending end can know according to the content field that the first value of the target transaction is the bidirectional transmission type
  • the first field occupies 1 bit.
  • the value of the first field is 1, it means that the transmission type of the target transaction is two-way transmission.
  • Transmission type TxRx when the value of the first field is 0, it means that the transmission type of the target transaction is the send-only transmission type TxOnly; or when the value of the first field is 0, it means that the transmission type of the target transaction is the send-only transmission type TxOnly.
  • the value of the first field is 1, it indicates that the transmission type of the target transaction is the bidirectional transmission type TxRx, which is not limited in this embodiment of the present application.
  • the second field occupies 8 bits, and the 8 bits can be used to indicate the transaction identifier.
  • first field and the second field in this application can also occupy other numerical bits.
  • first field occupies 2 bits.
  • the first bit is used to indicate whether the transmission type TxOnly is valid
  • the second bit is used to indicate whether the transmission type TxOnly is valid.
  • the embodiment of the present application does not limit the manner in which the transaction identifier and transmission type are indicated based on different values.
  • each transaction has a preset content field, and the content field contains a mapping relationship between the transaction and the first value and the second value.
  • the sending end determines the triggered target transaction, it can determine the first value and the second value corresponding to the target transaction according to the mapping relationship in the content field of the target transaction, and then write the first value and the second value to in the first field and the second field of the first information.
  • S604 Generate first information according to the first target value and the second target value.
  • the sending end packages the first target value and the second target value, writes the first target value and the second target value into the first field and the second field of the data packet, and generates the first information.
  • the positions of the first target value and the second target value in the first information can be adjusted.
  • the first target value and the second target value corresponding to the target transaction are determined according to the preset mapping relationship between the transaction and the first value and the second value.
  • First information is generated based on the first target value and the second target value. Therefore, the transaction identifier and the transmission type can be encapsulated in the first information according to the customized communication protocol, thereby achieving fine control of the ventricular assist device through the transaction identifier, or monitoring the operating status of the ventricular assist device.
  • the receiving end can respond to the first information according to the transaction identifier and transmission type, thereby realizing communication between various components in the ventricular assist system.
  • S604 specifically includes: determining the target data type of the target transaction according to the first target value and the second target value, and the target data type is the sending data type and/or receiving data type; according to the predefined data type and data
  • the mapping relationship of the structure determines the target data structure corresponding to the target data type; the first information is generated according to the target data structure.
  • the data type is used to define the specific data and data structure of the payload in the information.
  • the data type includes the sending data type and/or the receiving data type.
  • the sending data type is used to represent the specific data and data structure carried by the payload whose transmission type is the sending data type; the receiving data type is used to represent the transmission type is the receiving data type.
  • the sending end may generate the first information based on a data structure defined for the sending data type and/or the receiving data type.
  • the sending end determines the first target value and the second target value based on the triggered target transaction, and determines the target data type for sending the first information this time based on the first target value and the second target value. For example, when the sending end is a controller and the triggered target transaction is a pump speed setting transaction, the controller determines that the transaction identifier is 1 based on the content field and the transmission type is a two-way data transmission type. Then, the target data type of the pump speed setting transaction is determined to be the sending data type T_PumpSpeed based on the transaction identifier and transmission type and the sending end of the controller.
  • the ventricular assist system pre-defines the data and data format carried corresponding to the sending data type or receiving data type of each transaction or sub-transaction. Therefore, after the sending end determines the target data type of the target transaction, it determines the data carried by the payload corresponding to the target data type and the target data structure of the data based on the predefined mapping relationship between the data type and the data structure. Then, the sending end will write the data into the corresponding fields respectively according to the target data structure, obtain the data packet of the target transaction, and encapsulate the data packet to generate the first information.
  • the method further includes: the receiving end determines the target of the target transaction corresponding to the first target value and the second target value according to a preset mapping relationship between the transaction and the first value and the second value.
  • Data type the target data type is the sending data type and/or the receiving data type, the target first value is the value of the first field, and the target second value is the second field the value; determine the target data structure corresponding to the target data type according to the predefined mapping relationship between the data type and the data structure; read the operation data of the ventricular assist device according to the target data structure.
  • the receiving end can extract the value of the first field and the value of the second field from the first information, so as to determine the mapping relationship between the predefined transaction and the first value and the second value. , determine that the first information carries the transaction identifier and transmission type of the target transaction. The target data type of the target transaction is then determined based on the transaction ID and transfer type. For example, when the target first value of the first information is received and the target second value is 1, it can be determined that the target transaction of the first information is a pump speed setting transaction, and then the target data type of the first information is determined to be T_PumpSpeed.
  • the receiving end determines the target data structure, it can extract the data corresponding to the target transaction from the first information according to the target data structure, and then Enables monitoring and control of ventricular assist devices.
  • the first field and the second field are fields in the header of the first information.
  • the 7th bit in the first information header is the first field with a length of 1 bit.
  • Bits 8-15 in the first information header are the second field, with a length of 8 bits.
  • each transaction has a preset content field, and the content field contains a mapping relationship between the transaction and the first value and the second value.
  • the receiving end queries the target transaction corresponding to the first target value and the second target value in the content field.
  • the sending end can determine the transmission type and transaction identifier based on the content field defined corresponding to the target transaction, and then determine the data and data corresponding to the payload of the target transaction based on the transmission type and transaction identifier. structure, and then fill in the corresponding data into the corresponding fields of the data package to obtain the data package of the target transaction.
  • the receiving end determines the data and data format carried in the payload of the data packet by reading the transmission type and transaction identifier value in the header, and then parses out the specific data according to the data format, thereby realizing the Data transmission from the left ventricular assist system.
  • the target data type is determined based on the target first value and the target second value extracted from the first information, and then the target data structure corresponding to the target data type is determined, and the operating data of the ventricular assist device is read according to the target data structure. . Therefore, the receiving end can respond to or execute the operation data read from the first information, ensuring the normal operation of the information auxiliary device.
  • the ventricular assist system may be upgraded according to user needs, the upgraded ventricular assist system may add extended transactions or require interactive extended fields. Therefore, extension bits can also be reserved in the data structure, and the extension bits can be filled with the value of the extension field. This enables the data structure to meet the upgrade needs of the ventricular assist system and improves the scalability of the data structure.
  • the target data type of the target transaction is determined based on the target first value and the target second value
  • the target data structure corresponding to the target data type is determined based on the predefined mapping relationship between the data type and the data structure
  • the target data structure is determined based on the target data structure.
  • the first information further includes a third field, and the third field is used to indicate the sequence number of the first information.
  • the receiving end may also arrange the at least one first information in ascending order according to the sequence number according to the third field.
  • the data of a transaction can be transmitted in multiple packets.
  • the sequence number of the first information is used to define the order of the first information in the multi-packet transmission. It can be transmitted in various types of data such as binary, octal or decimal. express.
  • the sequence number of the first information may be 100 in decimal notation, indicating that the first information is the hundredth data packet in multi-packet transmission; for another example, the sequence number of the first information may be 1110 in binary notation, indicating that the first information is the hundredth data packet in multi-packet transmission.
  • the first information is the fourteenth data packet in the multi-packet transmission.
  • the data to be sent can be split and encapsulated in multiple data packets for sending.
  • the receiving end arranges at least one first message in ascending order according to the sequence number according to the third field. Therefore, the valid data carried in the first information can be spliced according to the sending order to obtain the data of the target transaction.
  • the third field of the sequence number of the information allows the receiving end to determine whether packet loss occurs during the information transmission process based on the third field, and instructs the sending end to resend when packet loss occurs. Or the receiving end can also determine whether the sending end has repeatedly sent the first information based on the third field, and when the sending end repeatedly sends the first information, discard the repeatedly sent first information to avoid responding to the first information multiple times.
  • the receiving end can determine whether packet loss occurs during information transmission based on the third field, ensuring the integrity of information transmission. At the same time, it can also prevent the receiving end from wasting resources by repeatedly responding to the first information.
  • embodiments of the present application also provide an information transmission device for implementing the above-mentioned information transmission method.
  • the solution to the problem provided by this device is similar to the solution described in the above method. Therefore, for the specific limitations in one or more data storage device embodiments provided below, please refer to the above limitations on the information transmission method. I won’t go into details here.
  • an information transmission device for use in a ventricular assist system.
  • the ventricular assist system includes a ventricular assist device disposed in the body, a controller and a monitor disposed outside the body, including: Transceiver unit 802, where:
  • the transceiver unit 802 is configured to send or receive first information, where the first information includes a triggered target transaction, and the target transaction is used to indicate and/or control the operating status of the ventricular assist device.
  • the ventricular assist system includes a ventricular assist device, a controller, and a monitor.
  • the sending end in the ventricular assist system sends first information.
  • the first information includes a triggered target transaction.
  • the target transaction is used to instruct and/or control the ventricle.
  • the operating status of the auxiliary device Therefore, the operating status of the ventricular assist device can be obtained according to the first information or the operation of the ventricular assist device can be controlled according to the first information, thereby realizing information transmission between the ventricular assist device and other equipment in the ventricular assist system.
  • the first information includes a first field and a second field; the first field is used to indicate the transmission type of the target transaction, the transmission type includes a two-way data transmission type and a send-only transmission type, and the two-way data transmission type includes sending data Type and receive data type, only the send transmission type includes the send data type; the second field is used to indicate the transaction ID of the target transaction, and the transaction ID is used to define the function and/or data that triggers the transaction in the ventricular assist system.
  • the device further includes:
  • the determining unit 804 is configured to determine the target first value and the target second value corresponding to the target transaction according to the preset mapping relationship between the transaction and the first value and the second value.
  • the target first value is the value of the first field.
  • the second target value is the value of the second field;
  • Generating unit 806, configured to generate first information according to the first target value and the second target value.
  • the generation unit 806 is also used to:
  • the target data type is the sending data type and/or the receiving data type
  • the first information is generated according to the target data structure.
  • the first information further includes a third field, and the third field is used to indicate the sequence number of the first information.
  • an information transmission device is provided, which is applied to a ventricular assist system.
  • the ventricular assist system includes a ventricular assist device installed in the body, a controller and a monitor installed outside the body, including: a transceiver unit 1002 and an execution unit 1004, wherein:
  • Transceiver unit 1002 configured to receive at least one first information, where the first information includes a triggered target transaction, and the target transaction is used to indicate and/or control the operating status of the ventricular assist device;
  • the execution unit 1004 is configured to execute or respond to the target transaction according to at least one first information.
  • the ventricular assist system includes a ventricular assist device installed in the body, a controller and a monitor installed outside the body.
  • the receiving end in the ventricular assist system receives at least one first information, the first information includes a triggered target transaction, and the target transaction is used to indicate and/or control the operating status of the ventricular assist device; execute or respond to the target transaction according to the at least one first information . Therefore, the receiving end can execute or respond to the target transaction according to the first information, realize information transmission between the ventricular assist device and other devices in the ventricular assist system, and control or monitor the ventricular assist device through the transmitted information.
  • the first information includes a first field and a second field.
  • the first field is used to indicate the transmission type of the target transaction.
  • the transmission type includes a two-way data transmission type and a send-only transmission type.
  • the two-way data transmission type includes sending data.
  • the second field is used to indicate the transaction ID of the target transaction, and the transaction ID is used to define the function and/or data that triggers the transaction in the ventricular assist system.
  • the device further includes:
  • the determining unit 1006 is configured to determine the target data type of the target transaction corresponding to the target first value and the target second value according to the preset mapping relationship between the transaction and the first value and the second value.
  • the target data type is sending data. type and/or received data type, the first target value is the value of the first field, and the second target value is the value of the second field; the target data corresponding to the target data type is determined according to the mapping relationship between the predefined data type and the data structure. structure;
  • the reading unit 1008 is configured to read the operating data of the ventricular assist device according to the target data structure.
  • the first information further includes a third field, and the third field is used to indicate the sequence number of the first information; the device further includes:
  • the arranging unit 1010 is configured to arrange at least one first piece of information in ascending order according to the sequence number according to the third field.
  • Each module in the above-mentioned data storage device can be implemented in whole or in part by software, hardware, and combinations thereof.
  • Each of the above modules may be embedded in or independent of the processor of the computer device in the form of hardware, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device including a memory and a processor.
  • a computer program is stored in the memory.
  • the processor executes the computer program, it implements the steps in the above method embodiments.
  • a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the steps in the above method embodiments are implemented.
  • a computer program product including a computer program that implements the steps in each of the above method embodiments when executed by a processor.
  • the user information including but not limited to user equipment information, user personal information, etc.
  • data including but not limited to data used for analysis, stored data, displayed data, etc.
  • the computer program can be stored in a non-volatile computer-readable storage.
  • the computer program when executed, may include the processes of the above method embodiments.
  • Any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory.
  • Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetic variable memory (Magnetoresistive Random Access Memory (MRAM), ferroelectric memory (Ferroelectric Random Access Memory (FRAM)), phase change memory (Phase Change Memory, PCM), graphene memory, etc.
  • Volatile memory may include Random Access Memory (Random Access Memory) Memory, RAM) or external cache memory, etc.
  • RAM Random Access Memory
  • RAM Random Access Memory
  • RAM Random Access Memory
  • RAM Random Access Memory
  • RAM Random Access Memory
  • RAM Random Access Memory
  • RAM Random Access Memory
  • RAM Random Access Memory
  • RAM random Access Memory
  • the databases involved in the various embodiments provided in this application may include at least one of a relational database and a non-relational database.
  • Non-relational databases may include blockchain-based distributed databases, etc., but are not limited thereto.
  • the processors involved in the various embodiments provided in this application may be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to this.

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Medical Informatics (AREA)
  • Biomedical Technology (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Epidemiology (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • External Artificial Organs (AREA)
  • Electrotherapy Devices (AREA)

Abstract

一种信息传输方法、装置、计算机设备和存储介质,方法包括:发送第一信息,第一信息包括触发的目标事务,目标事务用于指示和/或控制心室辅助装置的运行状态。

Description

信息传输方法、装置、设备和存储介质
本申请要求于2022年06月30日在中国专利局提交的、申请号为202210756505.5的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,特别是涉及一种信息传输方法、装置、设备和存储介质。
背景技术
随着医学技术的发展,心室辅助系统的应用越来越广泛,心室辅助系统包括设置于体内的心室辅助装置、设置于体外的控制器以及监视器,用于为患有心脏问题的病人提供足够的供血动力。心室辅助系统中传输的信息主要用于指示心室辅助装置的运行状态或者控制心室辅助装置的运行,要求高实时性与高安全性。并且由于心室辅助装置小型化与轻量化的特点,因此要求传输的数据结构尽量简单化。
发明内容
基于此,有必要针对上述技术问题,提供一种能够满足心室辅助系统要求的信息传输方法、装置、设备和存储介质。
第一方面,本申请提供了一种信息传输方法。所述方法包括:
发送第一信息,以使接收端在接收到所述第一信息时,根据所述第一信息执行或响应所述第一信息中包括的目标事务;所述目标事务用于指示和/或控制心室辅助装置的运行状态。
第二方面,本申请还提供了一种信息传输装置。所述装置包括:
收发单元,用于发送或接收第一信息,以使接收端在接收到所述第一信息时,根据所述第一信息执行或响应所述第一信息中包括的目标事务;所述目标事务用于指示和/或控制心室辅助装置的运行状态。
在一个实施例中,所述第一信息包括第一字段和第二字段;所述第一字段用于指示所述目标事务的传输类型,所述传输类型包括双向数据传输类型和只发送传输类型,所述双向数据传输类型包括发送数据类型和接收数据类型,所述只发送传输类型包括所述发送数据类型;所述第二字段用于指示所述目标事务的事务标识,所述事务标识用于定义所述心室辅助装置中触发事务的功能和/或数据。
在一个实施例中,所述装置还包括:
确定单元,用于根据预设的事务与第一值、第二值之间的映射关系,确定所述目标事务对应的目标第一值和目标第二值,所述目标第一值为所述第一字段的值,所述目标第二值为所述第二字段的值;
生成单元,用于根据所述目标第一值和所述目标第二值生成所述第一信息。
在一个实施例中,所述生成单元,还用于:
根据所述目标第一值和所述目标第二值确定所述目标事务的目标数据类型,所述目标数据类型为所述发送数据类型和/或所述接收数据类型;
根据预先定义的数据类型与数据结构的映射关系确定所述目标数据类型对应的目标数据结构;
根据所述目标数据结构生成所述第一信息。
在一个实施例中,所述第一信息还包括第三字段,所述第三字段用于指示所述第一信息的序列号。
第三方面,本申请还提供了一种设备。所述设备包括处理器、存储器、通信接口,以 及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述处理器执行所述一个或多个程序时实现以下步骤:
发送第一信息,以使接收端在接收到所述第一信息时,根据所述第一信息执行或响应所述第一信息中包括的目标事务;所述目标事务用于指示和/或控制心室辅助装置的运行状态。
第四方面,本申请还提供了一种计算机可读存储介质。所述计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:
发送第一信息,以使接收端在接收到所述第一信息时,根据所述第一信息执行或响应所述第一信息中包括的目标事务;所述目标事务用于指示和/或控制心室辅助装置的运行状态。
第五方面,本申请还提供了一种计算机程序产品。所述计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现以下步骤:
发送第一信息,以使接收端在接收到所述第一信息时,根据所述第一信息执行或响应所述第一信息中包括的目标事务;所述目标事务用于指示和/或控制心室辅助装置的运行状态。
第六方面,本申请提供了一种信息传输方法。应用于心室辅助系统,所述心室辅助系统包括设置于体内的心室辅助装置、设置于体外的控制器以及监视器,所述方法包括:
接收至少一个第一信息,所述第一信息为发送端发送的、且包括触发的目标事务的信息,所述目标事务用于指示和/或控制心室辅助装置的运行状态;
根据所述至少一个第一信息执行或响应所述目标事务。
第七方面,本申请还提供了一种信息传输装置。所述装置包括:
收发单元,用于接收至少一个第一信息,所述第一信息为发送端发送的、且包括触发的目标事务的信息,所述目标事务用于指示和/或控制心室辅助装置的运行状态;
执行单元,用于根据所述至少一个第一信息执行或响应所述目标事务。
在一个实施例中,所述第一信息包括第一字段和第二字段,所述第一字段用于指示所述目标事务的传输类型,所述传输类型包括双向数据传输类型和只发送传输类型,所述双向数据传输类型包括发送数据类型和接收数据类型,所述只发送传输类型包括所述发送数据类型;所述第二字段用于指示所述目标事务的事务标识,所述事务标识用于定义所述心室辅助装置中触发事务的功能和/或数据。
在一个实施例中,所述装置还包括:
确定单元,用于根据预设的事务与第一值和第二值之间的映射关系,确定目标第一值和目标第二值对应的所述目标事务的目标数据类型,所述目标数据类型为所述发送数据类型和/或所述接收数据类型,所述目标第一值为所述第一字段的值,所述目标第二值为所述第二字段的值;根据预先定义的数据类型与数据结构的映射关系确定所述目标数据类型对应的目标数据结构;
读取单元,用于根据所述目标数据结构读取所述心室辅助装置的运行数据。
在一个实施例中,所述第一信息还包括第三字段,所述第三字段用于指示所述第一信息的序列号;所述装置还包括:
排列单元,用于根据所述第三字段,将所述至少一个第一信息按照所述序列号进行升序排列。
第八方面,本申请还提供了一种设备。所述设备包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述处理器执行所述一个或多个程序时实现以下步骤:
接收至少一个第一信息,所述第一信息为发送端发送的、且包括触发的目标事务的信息,所述目标事务用于指示和/或控制心室辅助装置的运行状态;
根据所述至少一个第一信息执行或响应所述目标事务。
第九方面,本申请还提供了一种计算机可读存储介质。所述计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:
接收至少一个第一信息,所述第一信息为发送端发送的、且包括触发的目标事务的信息,所述目标事务用于指示和/或控制心室辅助装置的运行状态;
根据所述至少一个第一信息执行或响应所述目标事务。
第十方面,本申请还提供了一种计算机程序产品。所述计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现以下步骤:
接收至少一个第一信息,所述第一信息为发送端发送的、且包括触发的目标事务的信息,所述目标事务用于指示和/或控制心室辅助装置的运行状态;
根据所述至少一个第一信息执行或响应所述目标事务。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中计算机设备的内部结构图;
图2为一个实施例中心室辅助系统的示意图;
图3为一个实施例中信息传输方法的流程示意图;
图4为一个实施例中信息传输的软件架构示意图;
图5为一个实施例中数据包的示意图;
图6为一个实施例中生成第一信息方法的流程示意图;
图7为一个实施例中内容字段的示意图;
图8为一个实施例中信息传输装置的结构框图;
图9为另一个实施例中信息传输装置的结构框图;
图10为又一个实施例中信息传输装置的结构框图;
图11为再一个实施例中信息传输装置的结构框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
示例的,如图1所示,本申请的设备包括处理器、存储器、输入/输出接口、通信接口、显示单元和输入装置。其中,处理器、存储器和输入/输出接口通过系统总线连接,通信接口、显示单元和输入装置通过输入/输出接口连接到系统总线。其中,该计算机设备的处理器用于提供计算和控制能力。该设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该设备的输入/输出接口用于处理器与外部设备之间交换信息。该设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、移动蜂窝网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种数据存储方法。该设备的显示单元用于形成视觉可见的画面,可以是显示屏、投影装置或虚拟现实成像装置,显示屏可以是液晶显示屏或电子墨水显示屏,该设备的输入装置可以是显示屏上覆盖的触摸层,也可以是设备外壳上设置的按键、轨迹球或触控板, 还可以是外接的键盘、触控板或鼠标等。
本领域技术人员可以理解,图1中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的设备的限定,具体的设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
其中设备可以但不限于是各种医疗辅助设备、计算机设备,计算机设备可以是个人计算机、笔记本电脑、智能手机、平板电脑或者便携式可穿戴设备。医疗辅助设备可以为用于PCI(Percutaneous Coronary Intervention,经皮冠状动脉介入治疗)手术保护的介入式心室辅助设备、植入式心室辅助设备、体外心室辅助设备等,便携式可穿戴设备可为智能手表、智能手环、头戴设备等。
示例的,本申请实施例提供的信息传输方法可以应用于如图2所示的心室辅助系统20,该心室辅助系统20包括植入人体内的心室辅助装置204和设置于人体外的控制器202以及监视器206。控制器202通过通用异步收发器(Universal Asynchronous Receiver/Transmitter,UART)和电池210通信,读取电量等信息;通过UART和监视器206和/或通信适配器208通信,返回监视器206查询的数据和状态信息,并接收监视器206的设置指令;同时可通过双线CAN和心室辅助装置204通信,查询心室辅助装置204的运行数据和状态,控制心室辅助装置204的运行状态。
在心室辅助装置204运行过程中,控制器202与心室辅助装置204间进行信息交互,心室辅助装置204采集触发事务的运行数据,并将运行数据打包为第一信息发送至控制器202,使控制器202和监视器206能够正确读取和显示心室辅助装置204触发的事务并进行显示,实现对心室辅助装置204的运行状态的监视。当用户通过监视器206触发了针对心室辅助装置204的事务时,控制器202将根据触发的事务生成的数据打包为第一信息发送至心室辅助装置204,以使心室辅助装置204执行触发的事务。
具体地,如图2所示,心室辅助系统20包括设置于体内的心室辅助装置204、设置于体外的控制器202以及监视器206。控制器202、心室辅助装置204与监视器206间进行信息传输,控制器202也可以将传输的信息发送至监视器206进行显示。
心室辅助系统20中的发送端发送第一信息,第一信息包括触发的目标事务,目标事务用于指示和/或控制心室辅助装置的运行状态,接收端接收该第一信息,并根据该第一信息执行或响应其目标事务。其中,发送端可以为心室辅助系统20中的监视器206、控制器202或者心室辅助装置204;接收端可以为心室辅助系统20中的监视器206、控制器202或心室辅助装置204本申请对此不做限制。例如,发送端为心室辅助装置204时,接收端可为控制器202,发送端为监视器206时,接收端可以为控制器202,发送端为控制器202时,接收端可为心室辅助装置204,等。发送端通过发送的第一信息实现心室辅助系统中的信息传输,指示心室辅助装置的运行状态或者控制心室辅助装置运行。
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
请参阅图3,图3是本申请实施例提供的一种信息传输方法的流程示意图,应用于如图2所述的心室辅助系统,心室辅助系统包括设置于体内的心室辅助装置、设置于体外的控制器以及监视器。信息可以从心室辅助系统中的任意设备传递至其他任意设备。如图3所示,该方法包括如下步骤:
S302,发送端发送第一信息,第一信息包括触发的目标事务,目标事务用于指示和/或控制心室辅助装置的运行状态。
在本申请实施例中,心室辅助装置可以为医疗辅助设备中的血泵,血泵植入在人体内,在人体内高速运行,控制器通过接收血泵的运行数据来监控血泵的运行状态。由于心室辅助系统的数据通信需满足高实时性与高安全性的要求,在心室辅助系统中传输的第一信息 通过自定义的通信协议进行封装。通信协议定义了第一信息中的字段以及各字段的值,包括事务以及事务标识、数据类型、传输类型以及数据结构等。
其中,第一信息为携带了目标事务的信息,用于在心室辅助系统中进行信息交互。在一个实施例中,第一信息可以是控制器作为发送端向心室辅助装置发送的信息,携带了通过监视器触发的目标事务,用于指示心室辅助装置对目标事务进行响应或执行。在另一个实施例中,第一信息可以是心室辅助装置作为发送端向控制器发送的信息,携带了心室辅助装置触发的目标事务,用于在监视器中显示该目标事务,以对心室辅助装置进行监视。
其中,目标事务用于指示和/或控制心室辅助装置的运行状态。运行状态用于定义心室辅助装置的运行情况,包括心室辅助装置的功率、转速、流量、电压、时钟等。
在一个实施例中,目标事务包括控制事务、实时时钟事务、控制器命令事务、实时状态事务、非实时状态获取事务、患者配置事务、日志读取事务、认证事务或者电源状态事务中的一种或多种事务。控制事务用于控制心室辅助装置运行。实时时钟事务用于进行实时时钟信息交换,携带了同步的时间戳。控制器命令事务用于处理异步非周期性事务,例如清除报警事务、静音报警事务、启动数据流事务等。实时状态事务用于定期传达组件之间的实时状态。非实时状态获取事务用于传递系统内置的信息(如版本)。患者配置事务用于配置患者相关信息和设置。日志读取事务用于从控制器检索存储的治疗和设备状态数据。认证事务用于在允许通信之前验证物理连接的设备。电源状态事务用于监视器获取控制器上电源信息或者控制器获取电池信息。
在一个实施例中,每个目标事务包括至少一项子事务,例如控制事务包括运行速度设置子事务、功率设置子事务等。每个子事务分别对应一个事务标识、数据类型、传输类型以及数据结构。发送端可以根据该映射关系将触发事务的数据进行封装并发送给接收端;接收端接收到该信息后可根据该映射关系对其进行解析,得到该触发事务的数据,进而对其进行执行或响应。
S304、接收端接收至少一个第一信息,并根据至少一个第一信息执行或响应目标事务。
其中,第一信息中包括用于指示和/或控制心室辅助装置的运行状态的目标事务,接收端接收到第一信息时,从第一信息中提取出目标事务,对目标事务进行执行或响应。例如,目标事务为实时时钟事务,控制器在接收到携带实时时钟事务的第一信息时,对第一信息进行响应,向心室辅助装置反馈实时时钟。又例如,目标事务为速度设置事务,心室辅助装置在接收到携带速度设置事务的第一信息时,执行速度设置事务,将转速调整为在速度设置事务中设置的数值。
在本申请中,如图4所示,心室辅助系统中的软件架构包括应用层、传输层和底层。其中应用层用于提供了事务的参数和数据,在磁悬浮泵的运行过程中触发事务,将触发事务对应的参数和数据下发给传输层。传输层为通信协议的实现层,在发送端,传输层从应用程序中读取数据,建立传输,并将传输转换为数据包;在接收端,将接收到的数据包转换为传输,并根据事务参数将数据写回到应用程序。此外,传输层控制传输和数据包的顺序和完整性(使用循环冗余校验)。底层包括发送器和接收器,用于发送和接收自定义通信协议规定的数据包。
具体地,在发送端的运行过程中触发事务时,发送端的应用层获取待发送的数据,并将待发送的数据下发至传输层。传输层根据定义的通信协议,将待发送的数据封装为第一信息,然后将第一信息下发至底层硬件,底层硬件通过线缆将第一信息发送至接收端的底层硬件设备。相应的,接收端的底层硬件通过线缆接收发送端的底层硬件发送的第一信息,并将第一信息传递至传输层,传输层根据通信协议对第一信息进行解封装,从第一信息中提取中有效数据,并将有效数据传递至应用层进行显示和/或处理。
例如,用户在监视器上将血泵1的转速从原来的A设置成B时,触发了泵速度设置事务。监视器的应用层建立该泵速度设置事务的进程,并将转速B和血泵1对应的泵标识传递给传输层,传输层根据泵标识,建立该监视器与血泵1的传输链路1,并将用户设置的 转速B转换成规定数据格式的数据包1,然后传输层将数据包1下发至底层,由底层通过传输链路1将数据包1发送至血泵1。血1的底层中的接收器接收到数据包1后,将数据包1发送给传输层,再由传输层根据预先规定的每个字段定义的含义,读取数据包1所携带数据(转速设置为B),最后将该泵速度设置事务和转速B传递给应用层,血泵1内置的控制器根据该泵速度设置事务,将转速设置成B。
上述实施例中,心室辅助系统包括设置于体内的心室辅助装置、设置于体外的控制器以及监视器,心室辅助系统中的发送端发送第一信息,第一信息包括触发的目标事务,目标事务用于指示和/或控制心室辅助装置的运行状态。从而可以根据第一信息获得心室辅助装置的运行状态或者根据第一信息控制心室辅助装置的运行,实现心室辅助系统中设备间的信息传输,通过传输的信息对心室辅助装置进行控制或者监视。
在一个实施例中,第一信息包括第一字段和第二字段;第一字段用于指示目标事务的传输类型,传输类型包括双向数据传输类型和只发送传输类型,双向数据传输类型包括发送数据类型和接收数据类型,只发送传输类型包括发送数据类型;第二字段用于指示目标事务的事务标识,事务标识用于定义心室辅助系统中触发事务的功能和/或数据。
其中,双向数据传输类型为期望得到响应的数据传输类型,当接收端接收到按照双向数据传输类型发送的信息时,需要对该信息进行响应。双向数据传输类型包括发送确认数据(发送有数据,接收无数据)、向接收端请求数据(发送无数据,接收有数据)、交换数据(发送和接收都有数据)、发送命令(发送和接收都没有数据)。只发送传输类型为不期望得到响应的数据传输类型,当接收端接收到按照只发送传输类型发送的信息时,不需要对该信息进行响应。
其中,事务标识可以为数字、字母、字符或者特殊符号中的一种或多种的组合。例如,事务标识可以为A-01,或者事务标识可以为1003等。
在一个实施例中,发送数据类型和接收数据类型可以相同也可以不同。例如,控制器发送的第一信息中包括速度设置事务。发送数据类型为T_PumpSpeed,接收数据类型为16位无符号整数的0x0006。
上述实施例中,第一信息中包括用于指示目标事务的传输类型的第一字段以及用于指示目标事务的事务标识的第二字段,从而可以使接收端根据传输类型以及事务标识对第一信息进行响应,实现了通过事务标识对心室辅助装置进行精细的控制,或者监视心室辅助装置的运行状态。
在本申请中,预先定义数据传输的数据包格式,数据包是传输层出来的最小单元,如图5所示,该数据包由命令代码(OXD0)、数据字、循环冗余、校验值和回车组成。
其中,循环冗余校验值CRC是用12字节数据计算出的2字节CRC-16值,数据字包括硬件通道标识符、报头和有效载荷。进一步地,报头由事务标识、传输类型和多包计数器组成。
在一个实施例中,如图6所示,S302之前还包括如下步骤:
S602,根据预设的事务与第一值、第二值之间的映射关系,确定目标事务对应的目标第一值和目标第二值,目标第一值为第一字段的值,目标第二值为第二字段的值。
在本申请中,预先定义了每个事务或子事务的内容字段,该内容字段主要包括事务标识(Transaction ID)、传输类型(Transaction Type)、发送数据类型(Tx data type)和接收数据类型(Rx data type)。在确定了发送端触发的目标事务时,可以根据内容字段中目标事务与第一值、第二值(即事务标识和传输类型)确定其第一值和第二值。例如,预先定义速度设置事务的内容字段如图7所示,泵速度设置事务的事务标识为1,传输类型为双向数据传输,泵速度设置事务的发送数据类型为T_PumpSpeed,接收数据类型为16位无符号整数的0x0006。当发送端触发的目标事务为速度设置事务时,发送端可以根据内容字段得知目标事务的第一值为双向传输类型TxRx,第二值为1。
其中,第一字段占1bit,当第一字段取值为1时,表示目标事务的传输类型为双向传 输类型TxRx,当第一字段取值为0时,表示目标事务的传输类型为只发送传输类型TxOnly;或者第一字段取值为0时,表示目标事务的传输类型为只发送传输类型TxOnly,当第一字段取值为1时,表示目标事务的传输类型为双向传输类型TxRx,本申请实施例对此不做限定。进一步地,第二字段占用8bit,可以使用该8bit来指示事务标识。
需要说明的是,本申请中的第一字段和第二字段也可以占用其他数值比特,例如第一字段占用2bit,第一bit用于指示只发送传输类型TxOnly是否有效,第二bit用于指示双向传输类型TxRx是否有效。对于根据不同的取值来指示事务标识和传输类型的方式,本申请实施例对此也不做限定。
具体地,每个事务具有预设的内容字段,内容字段中包含了事务与第一值、第二值之间的映射关系。当发送端确定触发的目标事务时,可以根据该目标事务的内容字段中的映射关系,确定该目标事务对应的第一值和第二值,进而将该第一值和第二值写入到第一信息的第一字段和第二字段中。
S604,根据目标第一值和目标第二值生成第一信息。
发送端对目标第一值与目标第二值进行打包,将目标第一值和目标第二值写入数据包的第一字段和第二字段中,生成第一信息。在一个实施例中,目标第一值与目标第二值在第一信息中的位置可以进行调整。
上述实施例中,根据预设的事务与第一值、第二值之间的映射关系,确定目标事务对应的目标第一值和目标第二值。根据目标第一值和目标第二值生成第一信息。从而可以按照自定义的通信协议将事务标识与传输类型封装在第一信息中,实现了通过事务标识对心室辅助装置进行精细的控制,或者监视心室辅助装置的运行状态。并且使接收端可以根据事务标识与传输类型对第一信息进行响应,实现了心室辅助系统中各部件间的通信。
在一个实施例中,S604具体包括:根据目标第一值和目标第二值确定目标事务的目标数据类型,目标数据类型为发送数据类型和/或接收数据类型;根据预先定义的数据类型与数据结构的映射关系确定目标数据类型对应的目标数据结构;根据目标数据结构生成第一信息。
在本申请实施例中,数据类型用于定义信息中有效载荷的具体数据和数据的结构。其中数据类型包括发送数据类型和/或接收数据类型,发送数据类型用于表示传输类型为发送数据类型的有效载荷具体携带的数据和数据结构;接收数据类型用于表示传输类型为接收数据类型的有效载荷具体携带的数据和数据结构。发送端根据基于针对发送数据类型和/或接收数据类型定义的数据结构可生成第一信息。
其中,发送端根据触发的目标事务确定目标第一值和目标第二值,根据目标第一值和目标第二值确定此次发送第一信息的目标数据类型。例如,在发送端为控制器,触发的目标事务为泵速度设置事务时,控制器根据内容字段确定事务标识为1,传输类型为双向数据传输类型。进而在根据事务标识和传输类型以及控制器的发送端确定泵速度设置事务的目标数据类型为发送数据类型T_PumpSpeed。
进一步地,心室辅助系统预先定义每个事务或子事务的发送数据类型或接收数据类型所对应的携带的数据和数据格式。因此在发送端确定了目标事务的目标数据类型后,根据预先定义的数据类型与数据结构的映射关系,确定目标数据类型对应的有效载荷所携带的数据和数据的目标数据结构。进而发送端将按照目标数据结构将数据分别写入对应的字段,得到目标事务的数据包,将数据包封装生成该第一信息。
在一个示例中,所述方法还包括:接收端根据预设的事务与第一值和第二值之间的映射关系,确定目标第一值和目标第二值对应的所述目标事务的目标数据类型,所述目标数据类型为所述发送数据类型和/或所述接收数据类型,所述目标第一值为所述第一字段的值,所述目标第二值为所述第二字段的值;根据预先定义的数据类型与数据结构的映射关系确定所述目标数据类型对应的目标数据结构;根据所述目标数据结构读取所述心室辅助装置的运行数据。
其中,在接收到第一信息后,接收端可以从第一信息中提取第一字段的值与第二字段的值,从而根据预先定义的事务与第一值、第二值之间的映射关系,确定第一信息携带目标事务的事务标识和传输类型。然后根据事务标识和传输类型确定目标事务的目标数据类型。例如,在接收到第一信息的目标第一值为TxRx,目标第二值为1时,可确定第一信息的目标事务为泵速度设置事务,进而确定第一信息的目标数据类型为T_PumpSpeed。
由于数据结构中定义了第一信息中携带了哪些字段,各字段的位置以及长度,接收端在确定了目标数据结构时,根据目标数据结构可在第一信息中提取目标事务对应的数据,进而实现对心室辅助装置的监视和控制。
在一个实施例中,第一字段与第二字段为第一信息的报头中字段。例如,如图5所示,第一信息报头中的第7比特为第一字段,长度为1比特。第一信息报头中的8-15比特为第二字段,长度为8比特。
在一个实施例中,每个事务具有预设的内容字段,内容字段中包含了事务与第一值、第二值之间的映射关系。接收端在内容字段中查询目标第一值和目标第二值对应的目标事务。
具体地,当确定了触发的目标事务后,发送端可以根据该目标事务对应定义的内容字段,确定传输类型和事务标识,进而根据传输类型和事务标识确定该目标事务对应有效载荷的数据和数据结构,然后将对应的数据填写到数据包的对应字段中,从而得到该目标事务的数据包。接收端在接收到该数据包后,通过读取报头中的传输类型和事务标识的值确定该数据包的有效载荷所携带的数据和数据格式,进而根据数据格式解析出具体数据,从而实现对左心室辅助系统的数据传输。
上述实施例中,根据从第一信息中提取的目标第一值和目标第二值确定目标数据类型,然后确定目标数据类型对应的目标数据结构,根据目标数据结构读取心室辅助装置的运行数据。从而可以使接收端对从第一信息中读取的运行数据进行响应或者执行,保证了信息辅助装置的正常运行。
在一个实施例中,由于根据用户需求可能对心室辅助系统进行升级,升级后的心室辅助系统可能增加扩展事务,或者需要交互扩展字段。因此,数据结构中还可以预留扩展比特位,在扩展比特位中填充扩展字段的值。从而使数据结构可以满足心室辅助系统的升级需求,提高了数据结构的可扩展性。
上述实施例中,根据目标第一值和目标第二值确定目标事务的目标数据类型,根据预先定义的数据类型与数据结构的映射关系确定目标数据类型对应的目标数据结构,然后根据目标数据结构生成第一信息。从而可以针对目标事务,按照该目标事务对应的数据结构对发送的数据进行封装,保证心室辅助系统间信息传输的高实时性与高安全性。并且数据结构简单,可以满足心室辅助装置小型化与轻量化的需求。
在一个实施例中,第一信息还包括第三字段,第三字段用于指示第一信息的序列号。
其中,接收端在接收到第一信息后,还可根据第三字段将至少一个第一信息按照序列号进行升序排列。
在本申请中,一个事务的数据可以采用多包传输,第一信息的序列号用于定义第一信息在多包传输中的顺序,其可以用二进制、八进制或者十进制等多种类型的数据来表示。例如,第一信息的序列号可以为十进制表示的100,表示该第一信息为多包传输中的第一百个数据包;又例如,第一信息的序列号可以为二进制的1110,表示该第一信息为多包传输中的第十四个数据包。
在多包传输时,如果发送端发送的数据量较大,可以对待发送的数据进行拆分并封装在多个数据包中进行发送。接收端在接收到连续发送的多个第一信息时,根据第三字段,将至少一个第一信息按照序列号进行升序排列。从而可以按照发送顺序对第一信息中携带的有效数据进行拼接,得到目标事务的数据。
进一步地,由于通信通道可能会不稳定或发生拥塞,在第一信息中添加用于指示第一 信息的序列号的第三字段,可以使接收端根据第三字段判断信息传输过程中是否发生丢包,并在发生丢包时指示发送端重新发送。或者接收端也可以根据第三字段判断发送端是否重复发送了第一信息,并在发送端重复发送时,将重复发送的第一信息丢弃,避免多次针对第一信息进行响应。
上述实施例中,通过采用多包传输,以及定义第三字段来指示包顺序可以避免一次发送的数据量过大而导致发送失败,提高了信息传输的效率。并且,接收端可以根据第三字段判断信息传输过程中是否发生丢包,保证了信息传输的完整性。同时还可以避免接收端由于重复对第一信息进行响应而浪费资源。
应该理解的是,虽然如上所述的各实施例所涉及的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,如上所述的各实施例所涉及的流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。
基于同样的发明构思,本申请实施例还提供了一种用于实现上述所涉及的信息传输方法的信息传输装置。该装置所提供的解决问题的实现方案与上述方法中所记载的实现方案相似,故下面所提供的一个或多个数据存储装置实施例中的具体限定可以参见上文中对于信息传输方法的限定,在此不再赘述。
在一个实施例中,如图8所示,提供了一种信息传输装置,应用于心室辅助系统,心室辅助系统包括设置于体内的心室辅助装置、设置于体外的控制器和监视器,包括:收发单元802,其中:
收发单元802,用于发送或接收第一信息,第一信息包括触发的目标事务,目标事务用于指示和/或控制心室辅助装置的运行状态。
上述实施例中,心室辅助系统包括心室辅助装置、控制器以及监视器,心室辅助系统中的发送端发送第一信息,第一信息包括触发的目标事务,目标事务用于指示和/或控制心室辅助装置的运行状态。从而可以根据第一信息获得心室辅助装置的运行状态或者根据第一信息控制心室辅助装置的运行,实现心室辅助装置与心室辅助系统中的其他设备间的信息传输。
在一个实施例中,第一信息包括第一字段和第二字段;第一字段用于指示目标事务的传输类型,传输类型包括双向数据传输类型和只发送传输类型,双向数据传输类型包括发送数据类型和接收数据类型,只发送传输类型包括发送数据类型;第二字段用于指示目标事务的事务标识,事务标识用于定义心室辅助系统中触发事务的功能和/或数据。
在一个实施例中,如图9所示,装置还包括:
确定单元804,用于根据预设的事务与第一值、第二值之间的映射关系,确定目标事务对应的目标第一值和目标第二值,目标第一值为第一字段的值,目标第二值为第二字段的值;
生成单元806,用于根据目标第一值和目标第二值生成第一信息。
在一个实施例中,生成单元806,还用于:
根据目标第一值和目标第二值确定目标事务的目标数据类型,目标数据类型为发送数据类型和/或接收数据类型;
根据预先定义的数据类型与数据结构的映射关系确定目标数据类型对应的目标数据结构;
根据目标数据结构生成第一信息。
在一个实施例中,第一信息还包括第三字段,第三字段用于指示第一信息的序列号。
在一个实施例中,如图10所示,提供了一种信息传输装置,应用于心室辅助系统,心 室辅助系统包括设置于体内的心室辅助装置、设置于体外的控制器和监视器,包括:收发单元1002与执行单元1004,其中:
收发单元1002,用于接收至少一个第一信息,第一信息包括触发的目标事务,目标事务用于指示和/或控制心室辅助装置的运行状态;
执行单元1004,用于根据至少一个第一信息执行或响应目标事务。
上述实施例中,心室辅助系统包括设置于体内的心室辅助装置、设置于体外的控制器以及监视器。心室辅助系统中的接收端接收至少一个第一信息,第一信息包括触发的目标事务,目标事务用于指示和/或控制心室辅助装置的运行状态;根据至少一个第一信息执行或响应目标事务。从而可以使接收端根据第一信息执行或响应目标事务,实现心室辅助装置与心室辅助系统中的其他设备间的信息传输,通过传输的信息对心室辅助装置进行控制或者监视。
在一个实施例中,第一信息包括第一字段和第二字段,第一字段用于指示目标事务的传输类型,传输类型包括双向数据传输类型和只发送传输类型,双向数据传输类型包括发送数据类型和接收数据类型,只发送传输类型包括发送数据类型;第二字段用于指示目标事务的事务标识,事务标识用于定义心室辅助系统中触发事务的功能和/或数据。
在一个实施例中,如图11所示,装置还包括:
确定单元1006,用于根据预设的事务与第一值和第二值之间的映射关系,确定目标第一值和目标第二值对应的目标事务的目标数据类型,目标数据类型为发送数据类型和/或接收数据类型,目标第一值为第一字段的值,目标第二值为第二字段的值;根据预先定义的数据类型与数据结构的映射关系确定目标数据类型对应的目标数据结构;
读取单元1008,用于根据目标数据结构读取心室辅助装置的运行数据。
在一个实施例中,第一信息还包括第三字段,第三字段用于指示第一信息的序列号;装置还包括:
排列单元1010,用于根据第三字段,将至少一个第一信息按照序列号进行升序排列。
上述数据存储装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述各方法实施例中的步骤。
在一个实施例中,提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。
需要说明的是,本申请所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存、光存储器、高密度嵌入式非易失性存储器、阻变存储器(ReRAM)、磁变存储器(Magnetoresistive Random Access Memory,MRAM)、铁电存储器(Ferroelectric Random Access Memory,FRAM)、相变存储器(Phase Change Memory,PCM)、石墨烯存储器等。易失性存储器可包括随机存取存储器(Random Access  Memory,RAM)或外部高速缓冲存储器等。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。本申请所提供的各实施例中所涉及的数据库可包括关系型数据库和非关系型数据库中至少一种。非关系型数据库可包括基于区块链的分布式数据库等,不限于此。本申请所提供的各实施例中所涉及的处理器可为通用处理器、中央处理器、图形处理器、数字信号处理器、可编程逻辑器、基于量子计算的数据处理逻辑器等,不限于此。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种信息传输方法,所述方法包括:
    发送第一信息,以使接收端在接收到所述第一信息时,根据所述第一信息执行或响应所述第一信息中包括的目标事务;所述目标事务用于指示和/或控制心室辅助装置的运行状态。
  2. 根据权利要求1所述的方法,其中,所述第一信息包括第一字段和第二字段;所述第一字段用于指示所述目标事务的传输类型,所述传输类型包括双向数据传输类型和只发送传输类型,所述双向数据传输类型包括发送数据类型和接收数据类型,所述只发送传输类型包括所述发送数据类型;所述第二字段用于指示所述目标事务的事务标识,所述事务标识用于定义所述心室辅助装置中触发事务的功能和/或数据。
  3. 根据权利要求2所述的方法,其中,所述方法还包括:
    根据预设的事务与第一值、第二值之间的映射关系,确定所述目标事务对应的目标第一值和目标第二值,所述目标第一值为所述第一字段的值,所述目标第二值为所述第二字段的值;
    根据所述目标第一值和所述目标第二值生成所述第一信息。
  4. 根据权利要求3所述的方法,其中,所述根据所述目标第一值和所述目标第二值生成所述第一信息,包括:
    根据所述目标第一值和所述目标第二值确定所述目标事务的目标数据类型,所述目标数据类型为所述发送数据类型和/或所述接收数据类型;
    根据预先定义的数据类型与数据结构的映射关系确定所述目标数据类型对应的目标数据结构;
    根据所述目标数据结构生成所述第一信息。
  5. 根据权利要求1-4任一项所述的方法,其中,所述第一信息还包括第三字段,所述第三字段用于指示所述第一信息的序列号。
  6. 一种信息传输方法,所述方法包括:
    接收至少一个第一信息,所述第一信息为发送端发送的、且包括触发的目标事务的信息,所述目标事务用于指示和/或控制心室辅助装置的运行状态;
    根据所述至少一个第一信息执行或响应所述目标事务。
  7. 根据权利要求6所述的方法,其中,所述第一信息包括第一字段和第二字段,所述第一字段用于指示所述目标事务的传输类型,所述传输类型包括双向数据传输类型和只发送传输类型,所述双向数据传输类型包括发送数据类型和接收数据类型,所述只发送传输类型包括所述发送数据类型;所述第二字段用于指示所述目标事务的事务标识,所述事务标识用于定义所述心室辅助装置中触发事务的功能和/或数据。
  8. 根据权利要求7所述的方法,其中,所述方法还包括:
    根据预设的事务与第一值和第二值之间的映射关系,确定目标第一值和目标第二值对应的所述目标事务的目标数据类型,所述目标数据类型为所述发送数据类型和/或所述接收数据类型,所述目标第一值为所述第一字段的值,所述目标第二值为所述第二字段的值;
    根据预先定义的数据类型与数据结构的映射关系确定所述目标数据类型对应的目标数据结构;
    根据所述目标数据结构读取所述心室辅助装置的运行数据。
  9. 根据权利要求6-8任一项所述的方法,其中,所述第一信息还包括第三字段,所述第三字段用于指示所述第一信息的序列号;
    所述方法还包括:根据所述第三字段,将所述至少一个第一信息按照所述序列号进行升序排列。
  10. 一种信息传输装置,所述装置包括:
    收发单元,用于发送第一信息,以使接收端在接收到所述第一信息时,根据所述第一 信息执行或响应所述第一信息中包括的目标事务,所述目标事务用于指示和/或控制心室辅助装置的运行状态。
  11. 根据权利要求10所述的装置,其中,所述第一信息包括第一字段和第二字段;所述第一字段用于指示所述目标事务的传输类型,所述传输类型包括双向数据传输类型和只发送传输类型,所述双向数据传输类型包括发送数据类型和接收数据类型,所述只发送传输类型包括所述发送数据类型;所述第二字段用于指示所述目标事务的事务标识,所述事务标识用于定义所述心室辅助装置中触发事务的功能和/或数据。
  12. 根据权利要求11所述的装置,其中,所述装置还包括执行单元,所述执行单元用于:
    根据预设的事务与第一值、第二值之间的映射关系,确定所述目标事务对应的目标第一值和目标第二值,所述目标第一值为所述第一字段的值,所述目标第二值为所述第二字段的值;
    根据所述目标第一值和所述目标第二值生成所述第一信息。
  13. 根据权利要求12所述的装置,其中,在根据所述目标第一值和所述目标第二值生成所述第一信息方面,所述执行单元具体用于:
    根据所述目标第一值和所述目标第二值确定所述目标事务的目标数据类型,所述目标数据类型为所述发送数据类型和/或所述接收数据类型;
    根据预先定义的数据类型与数据结构的映射关系确定所述目标数据类型对应的目标数据结构;
    根据所述目标数据结构生成所述第一信息。
  14. 根据权利要求10-13任一项所述的装置,其中,所述第一信息还包括第三字段,所述第三字段用于指示所述第一信息的序列号。
  15. 一种信息传输装置,所述装置包括:
    收发单元,用于接收至少一个第一信息,所述第一信息为发送端发送的、且包括触发的目标事务的信息,所述目标事务用于指示和/或控制心室辅助装置的运行状态;
    执行单元,用于根据所述至少一个第一信息执行或响应所述目标事务。
  16. 根据权利要求15所述的装置,其中,所述第一信息包括第一字段和第二字段,所述第一字段用于指示所述目标事务的传输类型,所述传输类型包括双向数据传输类型和只发送传输类型,所述双向数据传输类型包括发送数据类型和接收数据类型,所述只发送传输类型包括所述发送数据类型;所述第二字段用于指示所述目标事务的事务标识,所述事务标识用于定义所述心室辅助装置中触发事务的功能和/或数据。
  17. 根据权利要求16所述的装置,其中,所述执行单元还用于:
    根据预设的事务与第一值和第二值之间的映射关系,确定目标第一值和目标第二值对应的所述目标事务的目标数据类型,所述目标数据类型为所述发送数据类型和/或所述接收数据类型,所述目标第一值为所述第一字段的值,所述目标第二值为所述第二字段的值;
    根据预先定义的数据类型与数据结构的映射关系确定所述目标数据类型对应的目标数据结构;
    根据所述目标数据结构读取所述心室辅助装置的运行数据。
  18. 根据权利要求15-17任一项所述的装置,其中,所述第一信息还包括第三字段,所述第三字段用于指示所述第一信息的序列号;
    所述执行单元还用于:根据所述第三字段,将所述至少一个第一信息按照所述序列号进行升序排列。
  19. 一种设备,所述设备包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-5或如权利要求6-9任一项所述的方法中的步骤的指令。
  20. 一种计算机可读存储介质,所述计算机可读存储介质存储用于电子数据交换的计 算机程序,其中,所述计算机程序使得计算机执行如权利要求1-5或如权利要求6-9任一项所述的方法的步骤。
PCT/CN2023/092403 2022-06-30 2023-05-06 信息传输方法、装置、设备和存储介质 WO2024001515A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210756505.5 2022-06-30
CN202210756505.5A CN114826819B (zh) 2022-06-30 2022-06-30 信息传输方法、装置、设备和存储介质

Publications (1)

Publication Number Publication Date
WO2024001515A1 true WO2024001515A1 (zh) 2024-01-04

Family

ID=82522823

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/092403 WO2024001515A1 (zh) 2022-06-30 2023-05-06 信息传输方法、装置、设备和存储介质

Country Status (2)

Country Link
CN (1) CN114826819B (zh)
WO (1) WO2024001515A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826819B (zh) * 2022-06-30 2022-11-18 深圳核心医疗科技有限公司 信息传输方法、装置、设备和存储介质
CN116525977B (zh) * 2023-06-30 2024-01-26 深圳市研盛芯控电子技术有限公司 一种基于支持动力电池的计算机系统
CN117524455B (zh) * 2024-01-05 2024-03-22 苏州同心医疗科技股份有限公司 植入式左心室辅助装置的智能化信息管理方法及其装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713849A (zh) * 2001-08-13 2005-12-28 诺沃挪第克公司 用于医疗数据信息的通信的便携式医疗设备和方法
CN105797227A (zh) * 2016-05-16 2016-07-27 北京精密机电控制设备研究所 一种植入式心室辅助装置及供电方法
CN109391025A (zh) * 2017-08-04 2019-02-26 上海微创心力医疗科技有限公司 用于植入式心室辅助装置的能量系统及其控制方法
US20210283391A1 (en) * 2020-03-10 2021-09-16 Tc1 Llc Systems and methods for wireless energy transfer for ventricular assist devices
CN114826819A (zh) * 2022-06-30 2022-07-29 深圳核心医疗科技有限公司 信息传输方法、装置、设备和存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6826191B1 (en) * 1999-10-01 2004-11-30 Stmicroelectronics Ltd. Packets containing transaction attributes
CN102790659B (zh) * 2012-07-18 2017-04-19 福建先创通信有限公司 一种移动通信系统中数据包的传输方法
CN105879134A (zh) * 2016-05-16 2016-08-24 北京精密机电控制设备研究所 一种心室辅助装置的监控器及监控方法
EP3771254A4 (en) * 2018-05-25 2021-04-07 Huawei Technologies Co., Ltd. ACCESS CONTROL METHOD AND DEVICE AND READABLE STORAGE MEDIUM
CN110141698A (zh) * 2019-04-28 2019-08-20 深圳核心医疗科技有限公司 心室辅助系统、信息交互方法及相关产品

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713849A (zh) * 2001-08-13 2005-12-28 诺沃挪第克公司 用于医疗数据信息的通信的便携式医疗设备和方法
CN105797227A (zh) * 2016-05-16 2016-07-27 北京精密机电控制设备研究所 一种植入式心室辅助装置及供电方法
CN109391025A (zh) * 2017-08-04 2019-02-26 上海微创心力医疗科技有限公司 用于植入式心室辅助装置的能量系统及其控制方法
US20210283391A1 (en) * 2020-03-10 2021-09-16 Tc1 Llc Systems and methods for wireless energy transfer for ventricular assist devices
CN114826819A (zh) * 2022-06-30 2022-07-29 深圳核心医疗科技有限公司 信息传输方法、装置、设备和存储介质

Also Published As

Publication number Publication date
CN114826819A (zh) 2022-07-29
CN114826819B (zh) 2022-11-18

Similar Documents

Publication Publication Date Title
WO2024001515A1 (zh) 信息传输方法、装置、设备和存储介质
KR102109431B1 (ko) 데이터 터널을 사용하는 인터페이스를 통한 복수의 프로토콜 데이터 엘러먼트들의 송신
JP5038148B2 (ja) 巡回冗長検査を実行するためのシステム及び方法
EP2790361B1 (en) Usb device communication method, device and system
CN105159632B (zh) 图形多媒体集成电路及其运作方法
CN102739654B (zh) 一种实现应用程序访问数据库的方法
US20110167133A1 (en) System, method, and device for medical device data capture and processing
US20190215369A1 (en) Secure Wireless Communication Platform
CN110324193B (zh) 一种终端升级管理方法及装置
CN107529132B (zh) 蓝牙设备与应用程序之间传输数据的方法和装置
CN107678778A (zh) 基于Hybrid的兼容方法、适配件、运行装置及系统
US20200210224A1 (en) Methods and apparatus for verifying completion of groups of data transactions between processors
KR20170011188A (ko) 데이터 전송 방법 및 이를 수행하는 전자 장치
CN108040355A (zh) 网络接入方法及系统
KR101559089B1 (ko) 장치의 컴포넌트들 간에 메모리 자원들을 공유하기 위한 통신 프로토콜
KR20160010958A (ko) 전자 장치 및 인터넷 프로토콜 기반의 네트워크에서 패킷을 처리하는 방법
CN113709055B (zh) 基于ble的通讯方法、装置、设备、系统以及存储介质
US9817784B2 (en) Multi-port transmitter device for transmitting at least partly redundant data, an associated control system, an associated method and an associated computer program product
CN111045976A (zh) 一种mcu之间的通信方法、装置、系统及存储介质
WO2020221033A1 (zh) 管理设备对远端存储设备进行管理的方法
CN114827967A (zh) 软件更新方法、蓝牙设备及存储介质
CN116821037A (zh) 一种外接设备与用户设备基于uart的单线通信方法及系统
CN117111483A (zh) 一种智能设备控制方法及系统
CN114461013A (zh) 一种互联网环境下的分离式通用计算机系统
JP2002149816A (ja) リアルタイムモニタリングシステムその制御方法、プログラム記憶媒体

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23829701

Country of ref document: EP

Kind code of ref document: A1