CN111131373B - Breathing machine data synchronization system, method, device and storage medium - Google Patents
Breathing machine data synchronization system, method, device and storage medium Download PDFInfo
- Publication number
- CN111131373B CN111131373B CN201910483002.3A CN201910483002A CN111131373B CN 111131373 B CN111131373 B CN 111131373B CN 201910483002 A CN201910483002 A CN 201910483002A CN 111131373 B CN111131373 B CN 111131373B
- Authority
- CN
- China
- Prior art keywords
- prescription
- information
- cloud server
- breathing machine
- ventilator
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a ventilator data synchronization system, a method and a storage medium, wherein the system comprises: the cloud server confirms whether prescription updating information exists according to the query request, obtains a query result and returns the query result to the breathing machine; when the inquiry result is that the prescription updating information does not exist, the operation is ended; when the inquiry result shows that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server, updates the parameters of the breathing machine according to the returned prescription updating information, generates updated prescription information and sends the updated prescription information to the cloud server; when the query result is that no prescription information exists, the respirator generates current prescription information and sends the current prescription information to the cloud server. Through the synchronization of the data of the breathing machine and the cloud server, the prescription information of the breathing machine and the cloud server keeps a synchronous state in any scene, so that the breathing machine can be remotely controlled conveniently.
Description
Technical Field
The invention relates to the field of medical instruments, in particular to a system, a method and a device for synchronizing data of a breathing machine and a storage medium.
Background
The breathing machine is an effective means capable of manually replacing the autonomous ventilation function, is widely applied to places such as families or hospitals and the like, and provides effective ventilation support for patients.
At present, medical personnel or related professionals can check the related data of the breathing machine through the cloud server less, and the breathing machine is not convenient to monitor remotely by the medical personnel or the related professionals.
Disclosure of Invention
In order to solve the technical problems in the prior art, the invention provides a ventilator data synchronization system, a ventilator data synchronization method, a ventilator data synchronization device and a storage medium, and aims to enable the ventilator and a cloud server to be kept in a synchronous state in any scene through data synchronization of the ventilator and the cloud server, so that medical staff or related professionals can conveniently monitor the ventilator remotely.
A ventilator data synchronization system comprising: a breathing machine and a cloud server, wherein,
the breathing machine sends a query request of prescription updating information to the cloud server;
the cloud server confirms whether the prescription updating information exists or not according to the query request to obtain a query result;
the cloud server returns the query result to the breathing machine;
when the query result is that the prescription updating information does not exist, ending the operation;
when the inquiry result shows that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server;
the cloud server searches the prescription updating information according to the downloading request;
the cloud server returns the searched prescription updating information to the breathing machine;
the breathing machine updates the parameters of the breathing machine according to the prescription updating information;
the ventilator generates updated prescription information;
the breathing machine sends the updated prescription information to the cloud server;
when the query result is that no prescription information exists, the respirator generates current prescription information according to current parameter setting information in the respirator;
and the breathing machine sends the current prescription information to the cloud server.
In some embodiments, the cloud server is further configured to store the updated prescription information and the current prescription information.
In some embodiments, the ventilator is further to receive an alteration to a setting of the parameter of the ventilator;
the breathing machine generates changed prescription information according to the changed parameter setting information;
the breathing machine sends the changed prescription information to the cloud server;
the cloud server receives the changed prescription information;
the cloud server stores the changed prescription information.
A method of ventilator data synchronization, comprising:
the breathing machine sends a query request of prescription update information to a cloud server so that the cloud server confirms whether the prescription update information exists or not according to the query request and obtains a query result, and the query result is returned to the breathing machine;
when the query result is that the prescription updating information does not exist, ending the operation;
when the query result indicates that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server so that the cloud server returns the prescription updating information;
the breathing machine updates the parameters of the breathing machine according to the prescription updating information;
the ventilator generates updated prescription information;
the breathing machine sends the updated prescription information to the cloud server;
when the query result is that no prescription information exists, the respirator generates current prescription information according to current parameter setting information in the respirator;
and the ventilator sends the current prescription information to the cloud server.
In some embodiments, the method further comprises:
the ventilator receiving an alteration to a setting of the parameter of the ventilator;
the breathing machine generates changed prescription information according to the changed parameter setting information;
and the breathing machine sends the changed prescription information to the cloud server so that the cloud server receives the changed prescription information and stores the changed prescription information.
A ventilator data synchronization method, comprising:
the cloud server receives a query request of prescription updating information sent by the breathing machine;
the cloud server confirms whether the prescription updating information exists or not according to the query request to obtain a query result;
the cloud server returns the query result to the respirator so as to enable the respirator to execute the following operation, and when the query result is that the prescription updating information does not exist, the operation is ended; when the inquiry result shows that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server;
the cloud server receives the downloading request;
the cloud server searches the prescription updating information according to the downloading request;
the cloud server returns the searched prescription updating information to the breathing machine, so that the breathing machine updates parameters of the breathing machine according to the prescription updating information returned by the cloud server, generates updated prescription information and sends the updated prescription information to the cloud server;
and when the query result is that no prescription information exists, enabling the respirator to generate current prescription information according to current parameter setting information in the respirator, and sending the current prescription information to the cloud server.
In some embodiments, the method further comprises:
the cloud server stores the updated prescription information and the current prescription information.
A data synchronization device of a breathing machine is applied to the breathing machine and comprises:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending a query request of prescription updating information to a cloud server so that the cloud server can determine whether the prescription updating information exists or not according to the query request and obtain a query result, and the query result is returned to the first sending module;
the end module is used for ending the operation when the inquiry result is that the prescription updating information does not exist; the first sending module is further configured to send a download request for downloading the prescription update information to the cloud server when the query result indicates that the prescription update information exists, so that the cloud server returns the prescription update information;
the updating module is used for updating the parameters of the breathing machine according to the prescription updating information returned by the cloud server;
the information generation module is used for generating updated prescription information;
the first sending module is further configured to send the updated prescription information to the cloud server;
the information generation module is also used for generating current prescription information according to the current parameter setting information in the breathing machine when the query result is that no prescription information exists;
the first sending module is further configured to send the current prescription information to the cloud server.
A ventilator data synchronization device comprising:
the second receiving module is used for receiving a query request of prescription updating information sent by the breathing machine; the second query module is used for confirming whether the prescription updating information exists according to the query request to obtain a query result;
the second sending module is used for returning the query result to the respirator so as to enable the respirator to execute the following operation, and when the query result is that the prescription updating information does not exist, the operation is ended; when the inquiry result shows that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server;
the second receiving module is further configured to receive the download request;
the second searching module is used for searching the prescription updating information according to the downloading request;
the second sending module is further configured to return the found prescription update information to the ventilator, so that the ventilator updates parameters of the ventilator according to the prescription update information returned by the second sending module, generates updated prescription information, and sends the updated prescription information to the second receiving module; and when the query result is that no prescription information exists, the ventilator generates current prescription information according to the current parameter setting information in the ventilator, and the current prescription information is sent to the second receiving module.
A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the operations performed in the ventilator data synchronization method as described above.
The invention provides a data synchronization system of a breathing machine, which comprises: the system comprises a breathing machine and a cloud server, wherein the breathing machine sends a query request of prescription updating information to the cloud server; the cloud server confirms whether the prescription updating information is stored according to the query request to obtain a query result; the cloud server returns the query result to the breathing machine; when the query result is that the prescription updating information does not exist, ending the operation; when the query result indicates that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server; the cloud server searches the prescription updating information according to the downloading request; the cloud server returns the searched prescription updating information to the breathing machine; the breathing machine updates the parameters of the breathing machine according to the prescription updating information; the ventilator generates updated prescription information; the breathing machine sends the updated prescription information to the cloud server; when the query result is that no prescription information exists, the breathing machine generates current prescription information according to current parameter setting information in the breathing machine; and the ventilator sends the current prescription information to the cloud server. Through the synchronization of the data of the breathing machine and the cloud server, the prescription information of the breathing machine and the cloud server keeps a synchronous state in any scene, so that medical personnel or related professionals can conveniently and remotely control the breathing machine.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention.
In the drawings:
fig. 1 is a schematic diagram of a ventilator data synchronization system according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for synchronizing data of a ventilator according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for synchronizing data of a ventilator according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data synchronization apparatus for a ventilator according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data synchronization apparatus for a ventilator according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a cloud server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a ventilator according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, a ventilator data synchronization system provided in an embodiment of the present invention includes a ventilator and a cloud server, and is configured to implement ventilator data synchronization, where the ventilator in the system includes a household ventilator, and may also include different types of ventilators such as a medical ventilator, and the types of ventilators are not limited herein; the cloud server may be a single server or a server cluster. The respirator and the cloud server are connected in a WiFi, Bluetooth, 2G, 3G, 4G, 5G, GMS or GPRS mode. The breathing machine and the cloud server communicate through a udp protocol, the cloud server stores data through a MySql database, and the apache-tomcat is used for building a web server. The udp is a connectionless transport layer protocol, and has the problem of packet loss, the invention provides a retransmission mechanism for ensuring stable transmission of data such as operating data, statistical data, parameter setting value data and the like, each data communication is a scheme of one response, the data communication refers to the communication between all breathing machines and a cloud server and comprises data transmission type communication, heartbeat packets, communication packets accessed by the breathing machines and the like, if packet loss occurs, the breathing machines cannot receive the response of the cloud server, the breathing machines can resend the same data, and if no response is sent for multiple times, the data transmission module can be restarted. The cloud server stores data by using a mysql database, so that data searching is facilitated, the mysql is a relational database, data searching is performed by using a general sql language, meanwhile, an application programming interface is complete, development is hardly needed for 2 times, meanwhile, indexes can be built in the database, the query efficiency can be greatly improved by properly building the indexes according to the characteristics of data query, and the purpose of building the indexes is to substantially reduce the retrieval range so as to facilitate updating of a breathing machine and checking of the cloud server.
Prescription refers in the present invention to ventilation-related parameter setting information of a ventilator.
The following describes in detail a ventilator data synchronization system according to an embodiment of the present invention, as shown in fig. 1, the ventilator data synchronization system includes: the system comprises a breathing machine and a cloud server, wherein the breathing machine sends a query request of prescription updating information to the cloud server; the cloud server confirms whether the prescription updating information is stored according to the query request to obtain a query result; the cloud server returns the query result to the breathing machine; when the query result is that the prescription updating information does not exist, ending the operation; when the inquiry result shows that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server; the cloud server searches the prescription updating information according to the downloading request;
the cloud server returns the searched prescription updating information to the breathing machine; the breathing machine updates the parameters of the breathing machine according to the prescription updating information; the ventilator generates updated prescription information; the breathing machine sends the updated prescription information to the cloud server; when the query result is that no prescription information exists, the respirator generates current prescription information according to current parameter setting information in the respirator; and the ventilator sends the current prescription information to the cloud server.
Specifically, after the connection relationship is established between the breathing machine and the cloud server, the breathing machine sends a query request of prescription update information to the cloud server, and the query request of prescription update information carries an identity identifier of the breathing machine.
After the cloud server receives the query request of the prescription updating information, the cloud server confirms whether the prescription updating information is stored in the cloud server according to the query request, and a query result is obtained. Specifically, the cloud server finds all prescription information records related to the ventilator according to the identity identifier of the ventilator carried by the query request, and each piece of related prescription information includes parameter setting data, time, data source type and state information besides the identity identifier of the ventilator. The time comprises one or more of prescription setting time, newly added time for newly adding the prescription information and log time for receiving the prescription information by the cloud server. The data source refers to a source for generating the piece of prescription information, and the types of the data source comprise a cloud server, a breathing machine and an SD card. Medical personnel or related professionals reset breathing machine parameters through a web client or an application program on a terminal, the terminal generates cloud server prescription information according to the reset breathing machine parameters and uploads the cloud server prescription information to a cloud server, and the data source type contained in the cloud server prescription information is a cloud server. Medical personnel, related professionals or users directly set or modify parameters of the breathing machine on the breathing machine, the breathing machine generates breathing machine prescription information according to the set or modified breathing machine parameter setting information, the breathing machine prescription information is uploaded to the cloud server, and the data source type contained in the breathing machine prescription information is the breathing machine. Medical personnel or related professionals set or modify breathing machine parameters through the SD card, SD card prescription information is generated and uploaded to the cloud server, and the data source type included in the SD card prescription information is the SD card. The status information is divided into three types of status information, set, downloaded and updated, and each piece of prescription information includes one type of status information.
When the related prescription information is compared, for prescription information with different prescription times, finding out a plurality of pieces of prescription information containing the latest prescription time, finding out a piece of prescription information with the data source type being cloud server and the latest log time, then finding out the state information of the piece of prescription information, if the state information is set, indicating that the piece of prescription information is the prescription update information, and obtaining the query result that the prescription update information exists; if the state information is downloaded or updated, the prescription information is not new prescription information, and the obtained inquiry result is that the prescription updating information does not exist. If the prescription time is the same, merging all prescription information with the same prescription setting time, finding a piece of prescription information with the data source type of a cloud server and the latest log time, then searching the state information of the piece of prescription information, if the state information is set, indicating that the piece of prescription information is the prescription updating information, and when the prescription updating information is searched, obtaining the query result that the prescription updating information exists; if the state information is downloaded or updated, the prescription information is not new prescription information, and the obtained inquiry result is that the prescription updating information does not exist. If the cloud server does not find any prescription information record related to the breathing machine according to the identity identifier of the breathing machine carried by the query request, the cloud server indicates that the breathing machine and the cloud server are not initialized and synchronized, and the obtained query result is that no prescription information exists.
And the cloud server returns the query result to the respirator, and the respirator receives the query result.
And when the inquiry result shows that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server. The download request carries an identifier of the ventilator.
And the cloud server searches the prescription updating information according to the downloading request.
The method for obtaining the prescription update information by comparing the prescription information related to the breathing machine in the process of searching the prescription update information is the same as the above method. In some embodiments, in order to save cloud server resources, in the step of determining whether the prescription update information is stored according to the query request and obtaining a query result, the cloud server marks the searched prescription update information, and after receiving a download request sent by the ventilator to download the prescription update information, finds the marked prescription update information as a search result.
And the cloud server returns the searched prescription updating information to the breathing machine.
And the breathing machine updates the parameters of the breathing machine according to the prescription updating information.
Specifically, the ventilator receives the prescription update information, and updates the parameter setting information of the ventilator according to the prescription update information. The method comprises the following specific steps: the respirator firstly carries out validity check on the prescription updating information, and then converts the prescription updating information passing the check according to the current data transmission protocol, thereby obtaining the setting value of each parameter of the respirator. And after the analysis of the network layer is completed, the setting values of all the parameters are applied to a parameter setting module of the breathing machine, and the module integrates the functions of transmitting the setting values of all the parameters to all hardware of the breathing machine and updating the interface display of the breathing machine. The transmission of the setting values of the parameters to the hardware is carried out according to the communication protocols of different modules, and the response of states such as the application, the success and the failure of the application and the like is carried out.
The ventilator generates updated prescription information.
Specifically, after the breathing machine updates the parameters of the breathing machine according to the prescription update information, the breathing machine modifies the state information in the prescription update information into the updated state information to obtain the updated prescription information.
And the breathing machine sends the updated prescription information to the cloud server.
And when the query result is that no prescription information exists, the respirator generates current prescription information according to current parameter setting information in the respirator.
Specifically, when the query result is that there is no prescription information, it indicates that the ventilator and the cloud server have not performed initialization synchronization yet, and it is necessary to complete initialization synchronization, specifically, the ventilator generates current prescription information according to current parameter setting information in the ventilator, where the current prescription information includes: the system comprises parameter setting data, a breathing machine identity identifier, time, a data source type and state information, wherein the parameter setting data are setting values of all current parameters of the breathing machine. The ventilator identity identifier is used to uniquely identify the ventilator. The time comprises prescription setting time and newly-added time for newly-added prescription information, the prescription setting time is the setting time of each current parameter of the breathing machine, and the breathing machine records the time; and the newly added time for newly adding the prescription information is the time for generating the current prescription information. The data source type is a ventilator. The status information is set.
And the respirator sends the current prescription information to the cloud server, and the initialization synchronization with the cloud server is completed.
The invention provides a data synchronization system of a breathing machine, which comprises: the breathing machine sends a query request of prescription updating information to the cloud server; the cloud server confirms whether the prescription updating information is stored according to the query request to obtain a query result; the cloud server returns the query result to the breathing machine; when the query result is that the prescription updating information does not exist, ending the operation; when the query result indicates that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server; the cloud server searches the prescription updating information according to the downloading request; the cloud server returns the searched prescription updating information to the breathing machine; the breathing machine updates the parameters of the breathing machine according to the prescription updating information; the ventilator generates updated prescription information; the breathing machine sends the updated prescription information to the cloud server; when the query result is that no prescription information exists, the breathing machine generates current prescription information according to current parameter setting information in the breathing machine; and the ventilator sends the current prescription information to the cloud server. Through the synchronization of the data of the breathing machine and the cloud server, the prescription information of the breathing machine and the cloud server keeps a synchronous state in any scene, so that medical personnel or related professionals can conveniently carry out remote control on the breathing machine.
In some embodiments, after the cloud server receives the updated prescription information and the current prescription information sent by the ventilator, the cloud server stores the updated prescription information and the current prescription information. Further, the cloud server is further configured to record log time of receiving the updated prescription information, and record log time of receiving the current prescription information, so as to facilitate subsequent search and comparison of the prescription information. In some embodiments, the ventilator is further to receive an alteration to a setting of the parameter of the ventilator; the breathing machine generates changed prescription information according to the changed parameter setting information; the breathing machine sends the changed prescription information to the cloud server; the cloud server receives the changed prescription information; the cloud server stores the changed prescription information.
Specifically, after the ventilator and the cloud server complete initialization synchronization, the ventilator receives a change of the setting of the parameter of the ventilator by a medical worker or a related professional; the ventilator generates changed prescription information according to the changed parameter setting information, wherein the changed prescription information comprises parameter setting data, a ventilator identity identifier, time, a data source type and state information, and the parameter setting data are setting values of all changed parameters. The ventilator identity identifier is used to uniquely identify the ventilator. The time comprises prescription setting time and newly-added time for newly-added prescription information, wherein the prescription setting time is the change time of the setting value of each parameter of the breathing machine; the newly added time for newly adding the prescription information is the time for generating the changed prescription information. The data source type is a ventilator. The status information is set. In some embodiments, after the ventilator receives the change of the setting of the parameter of the ventilator and the change is validated, the ventilator generates the changed prescription information according to the changed parameter setting information, and then performs the subsequent operation.
The breathing machine sends the changed prescription information to the cloud server; the cloud server receives the changed prescription information; the cloud server stores the changed prescription information and records the log time of the changed prescription information received by the cloud server, and the subsequent searching and comparison of the prescription information are facilitated.
In this embodiment, after the ventilator receives the change of the setting of the parameter of the ventilator, the ventilator generates changed prescription information according to the changed parameter setting information, and sends the changed prescription information to the cloud server, the cloud server receives the changed prescription information, and the cloud server stores the changed prescription information, so that the ventilator and the prescription information of the cloud platform are kept in a synchronous state, and medical staff or related professionals can conveniently perform remote control on the ventilator.
As shown in fig. 2, the present invention provides a method for synchronizing data of a ventilator, comprising the steps of:
step S101: the breathing machine sends a query request of prescription updating information to a cloud server so that the cloud server confirms whether the prescription updating information exists or not according to the query request and obtains a query result, and the query result is returned to the breathing machine;
step S102: when the query result is that the prescription updating information does not exist, ending the operation;
step S103: when the query result shows that the prescription updating information exists, the respirator sends a downloading request for downloading the prescription updating information to the cloud server so that the cloud server returns the prescription updating information;
step S104: the breathing machine updates the parameters of the breathing machine according to the prescription updating information;
step S105: the ventilator generates updated prescription information;
step S106: the breathing machine sends the updated prescription information to the cloud server;
step S107: when the query result is that no prescription information exists, the respirator generates current prescription information according to current parameter setting information in the respirator;
step S108: and the ventilator sends the current prescription information to the cloud server. Specifically, the steps S102, S103, and S107 are three cases, and when the query result is that there is no prescription update information, the operation is ended; when the query result is that the prescription update information exists, the respirator sends a downloading request for downloading the prescription update information to the cloud server so that the cloud server returns the prescription update information, and subsequent steps S104, S105 and S106 are executed; and when the query result is that no prescription information exists, the ventilator generates current prescription information according to the current parameter setting information in the ventilator, and executes the subsequent step S108.
In some embodiments, the method further comprises the steps of:
step S201: the ventilator receiving an alteration to a setting of the parameter of the ventilator;
step S202: the breathing machine generates changed prescription information according to the changed parameter setting information;
step S203: and the breathing machine sends the changed prescription information to the cloud server so that the cloud server receives the changed prescription information and stores the changed prescription information.
As shown in fig. 3, the present invention provides a method for synchronizing data of a ventilator, the method comprising the steps of:
step S301: the cloud server receives a query request of prescription updating information sent by the breathing machine;
step S302: the cloud server confirms whether the prescription updating information is stored according to the query request to obtain a query result;
step S303: the cloud server returns the query result to the respirator so as to enable the respirator to execute the following operation, and when the query result is that the prescription updating information does not exist, the operation is ended; when the query result indicates that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server;
step S304: the cloud server receives the downloading request;
step S305: the cloud server searches the prescription updating information according to the downloading request;
step S306: the cloud server returns the searched prescription updating information to the breathing machine, so that the breathing machine updates parameters of the breathing machine according to the prescription updating information returned by the cloud server, generates updated prescription information and sends the updated prescription information to the cloud server;
step S307: and when the query result is that no prescription information exists, enabling the respirator to generate current prescription information according to current parameter setting information in the respirator, and sending the current prescription information to the cloud server.
In the three cases of steps S303 and S307, the cloud server returns the query result to the ventilator, so that the ventilator executes the following operations, and when the query result indicates that the prescription update information does not exist, the operation is ended; when the query result is that the prescription update information exists, the respirator sends a download request for downloading the prescription update information to the cloud server, and the subsequent steps S304, S305 and S306 are executed; and when the query result is that no prescription information exists, enabling the respirator to generate current prescription information according to current parameter setting information in the respirator, and sending the current prescription information to the cloud server.
In some embodiments, the method further comprises:
step S401: the cloud server stores the updated prescription information and the current prescription information.
As shown in fig. 4, the present invention provides a data synchronization device for a ventilator, which is applied to a ventilator, and the data synchronization device for a ventilator includes:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending a query request of prescription updating information to a cloud server so that the cloud server can determine whether the prescription updating information exists or not according to the query request and obtain a query result, and the query result is returned to the first sending module;
the end module is used for ending the operation when the inquiry result is that the prescription updating information does not exist; the first sending module is further configured to send a download request for downloading the prescription update information to the cloud server when the query result indicates that the prescription update information exists, so that the cloud server returns the prescription update information;
the updating module is used for updating the parameters of the breathing machine according to the prescription updating information returned by the cloud server;
the information generating module is used for generating updated prescription information;
the first sending module is further configured to send the updated prescription information to the cloud server;
the information generation module is also used for generating current prescription information according to the current parameter setting information in the breathing machine when the query result is that no prescription information exists;
the first sending module is further configured to send the current prescription information to the cloud server.
In some embodiments, the ventilator data synchronization apparatus further comprises: a first receiving module. The first receiving module is to receive an alteration to a setting of the parameter of the ventilator; the information generating module is also used for generating modified prescription information according to the modified parameter setting information;
the first sending module is further configured to send the changed prescription information to the cloud server, so that the cloud server receives the changed prescription information and stores the changed prescription information.
As shown in fig. 5, the present invention provides a ventilator data synchronization apparatus, comprising:
the second receiving module is used for receiving a query request of prescription updating information sent by the breathing machine;
the second query module is used for confirming whether the prescription updating information exists according to the query request to obtain a query result;
the second sending module is used for returning the query result to the respirator so as to enable the respirator to execute the following operation, and when the query result is that the prescription updating information does not exist, the operation is ended; when the inquiry result shows that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server;
the second receiving module is further configured to receive the download request;
the second searching module is used for searching the prescription updating information according to the downloading request;
the second sending module is further configured to return the found prescription update information to the ventilator, so that the ventilator updates parameters of the ventilator according to the prescription update information returned by the second sending module, generates updated prescription information, and sends the updated prescription information to the second receiving module; and when the query result is that no prescription information exists, the breathing machine generates current prescription information according to the current parameter setting information in the breathing machine, and the current prescription information is sent to the second receiving module.
In some embodiments, the ventilator data synchronization apparatus further comprises: a second storage module to store the updated prescription information and the current prescription information.
For a detailed description of the above embodiments, please refer to the detailed description of the embodiments of the system, which is not repeated herein.
It should be noted that: in the above embodiment, when the ventilator data synchronization apparatus performs ventilator data synchronization, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structures of the ventilator and the cloud server are divided into different functional modules, so that all or part of the functions described above are completed.
As shown in fig. 6, a structural diagram of a cloud server provided in an embodiment of the present invention may be a structural diagram of the cloud server, where the cloud server may generate a relatively large difference due to different configurations or performances, and may include one or more processors and one or more memories, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the memory, and the instruction, the program, the code set, or the set of instructions is loaded and executed by the processors to implement the methods provided by the above method embodiments. Certainly, the cloud server may further include components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the cloud server may further include other components for implementing the functions of the device, which are not described herein again.
Fig. 7 shows a schematic structural diagram of a ventilator provided in an exemplary embodiment of the present invention. The respirator can be a household respirator or a medical respirator.
This breathing machine includes: the processor and the memory, and of course, the ventilator further includes other components, such as a controller, a sensor, a display, a fan, and the like, which are not described in detail herein.
A processor may include one or more processing cores. The processor may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that the display screen needs to display. The memory may include one or more computer-readable storage media, which may be non-transitory. The memory may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory is used to store at least one instruction for being possessed by a processor to implement a method of ventilator data synchronization provided by method embodiments of the present invention.
Those skilled in the art will appreciate that the configuration shown in fig. 7 does not constitute a limitation of the ventilator and may include more or fewer components than shown, or combine certain components, or employ a different arrangement of components.
The embodiment of the present invention further provides a ventilator data synchronization apparatus, which includes a processor and a memory, where the memory stores at least one instruction, at least one segment of program, a code set, or a set of instructions, and the instruction, the program, the code set, or the set of instructions is loaded and executed by the processor to implement the operations in the ventilator data synchronization method according to the foregoing embodiment.
Embodiments of the present invention further provide a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the instruction, the program, the code set, or the set of instructions is loaded and executed by the processor to implement the operations in the ventilator data synchronization method of the above embodiments.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.
Although the embodiments of the present invention have been described in detail with reference to the accompanying drawings, the embodiments of the present invention are not limited to the details of the above embodiments, and various simple modifications can be made to the technical solutions of the embodiments of the present invention within the technical idea of the embodiments of the present invention, and the simple modifications all belong to the protection scope of the embodiments of the present invention.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, the embodiments of the present invention do not describe every possible combination.
In addition, any combination of various different implementation manners of the embodiments of the present invention is also possible, and the embodiments of the present invention should be considered as disclosed in the embodiments of the present invention as long as the combination does not depart from the spirit of the embodiments of the present invention.
Claims (10)
1. A ventilator data synchronization system, comprising: a breathing machine and a cloud server, wherein,
the breathing machine sends a query request of prescription updating information to the cloud server;
the cloud server confirms whether the prescription updating information is stored according to the query request to obtain a query result;
the cloud server returns the query result to the breathing machine;
when the query result is that the prescription updating information does not exist, ending the operation;
when the query result indicates that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server;
the cloud server searches the prescription updating information according to the downloading request;
the cloud server returns the searched prescription updating information to the breathing machine;
the breathing machine updates the parameters of the breathing machine according to the prescription updating information;
the ventilator generates updated prescription information;
the breathing machine sends the updated prescription information to the cloud server;
when the query result is that no prescription information exists, the breathing machine generates current prescription information according to current parameter setting information in the breathing machine;
the ventilator sends the current prescription information to the cloud server;
the prescription information comprises an identity identifier of a breathing machine, parameter setting data, time, a data source type and state information, wherein the time comprises one or more of prescription setting time, newly adding time of newly adding the prescription information and log time of receiving the prescription information by a cloud server; the data source type comprises a cloud server, a breathing machine and an SD card, and respectively indicates a source for generating the prescription information, the data source type of the updated prescription information is the cloud server, and the data source type of the current prescription information is the breathing machine; the state information is divided into three types of set, downloaded and updated state information, and each piece of prescription information comprises one type of state information.
2. The ventilator data synchronization system of claim 1 wherein the cloud server is further configured to store the updated prescription information and the current prescription information.
3. The ventilator data synchronization system of claim 1 wherein the ventilator is further configured to receive a change to a setting of the parameter of the ventilator;
the breathing machine generates changed prescription information according to the changed parameter setting information;
the breathing machine sends the changed prescription information to the cloud server;
the cloud server receives the changed prescription information;
the cloud server stores the changed prescription information.
4. A method of ventilator data synchronization, comprising:
the breathing machine sends a query request of prescription update information to a cloud server so that the cloud server confirms whether the prescription update information exists or not according to the query request and obtains a query result, and the query result is returned to the breathing machine;
when the query result is that the prescription updating information does not exist, ending the operation;
when the query result shows that the prescription updating information exists, the respirator sends a downloading request for downloading the prescription updating information to the cloud server so that the cloud server returns the prescription updating information;
the breathing machine updates the parameters of the breathing machine according to the prescription updating information;
the ventilator generates updated prescription information;
the breathing machine sends the updated prescription information to the cloud server;
when the query result is that no prescription information exists, the respirator generates current prescription information according to current parameter setting information in the respirator;
the ventilator sends the current prescription information to the cloud server;
the prescription information comprises an identity identifier of a breathing machine, parameter setting data, time, a data source type and state information, wherein the time comprises one or more of prescription setting time, newly adding time of newly adding the prescription information and log time of receiving the prescription information by a cloud server; the data source type comprises a cloud server, a breathing machine and an SD card, and respectively indicates a source for generating the prescription information, the data source type of the updated prescription information is the cloud server, and the data source type of the current prescription information is the breathing machine; the state information is divided into three types of set, downloaded and updated state information, and each piece of prescription information includes one type of state information.
5. The method of ventilator data synchronization of claim 4, further comprising:
the ventilator receiving an alteration to a setting of the parameter of the ventilator;
the breathing machine generates changed prescription information according to the changed parameter setting information;
and the breathing machine sends the changed prescription information to the cloud server so that the cloud server receives the changed prescription information and stores the changed prescription information.
6. A method of ventilator data synchronization, comprising:
the cloud server receives a query request of prescription updating information sent by the breathing machine;
the cloud server confirms whether the prescription updating information is stored according to the query request to obtain a query result;
the cloud server returns the query result to the respirator so as to enable the respirator to execute the following operation, and when the query result is that the prescription updating information does not exist, the operation is ended; when the inquiry result shows that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to the cloud server;
the cloud server receives the downloading request;
the cloud server searches the prescription updating information according to the downloading request;
the cloud server returns the searched prescription updating information to the breathing machine, so that the breathing machine updates parameters of the breathing machine according to the prescription updating information returned by the cloud server, generates updated prescription information and sends the updated prescription information to the cloud server;
when the query result is that no prescription information exists, the ventilator generates current prescription information according to current parameter setting information in the ventilator, and the current prescription information is sent to the cloud server;
the prescription information comprises an identity identifier of a breathing machine, parameter setting data, time, a data source type and state information, wherein the time comprises one or more of prescription setting time, newly adding time of newly adding the prescription information and log time of receiving the prescription information by a cloud server; the data source type comprises a cloud server, a breathing machine and an SD card, and respectively indicates a source for generating the prescription information, the data source type of the updated prescription information is the cloud server, and the data source type of the current prescription information is the breathing machine; the state information is divided into three types of set, downloaded and updated state information, and each piece of prescription information includes one type of state information.
7. The method of ventilator data synchronization of claim 6, further comprising:
the cloud server stores the updated prescription information and the current prescription information.
8. The utility model provides a breathing machine data synchronizer, is applied to the breathing machine, its characterized in that includes:
the system comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending a query request of prescription updating information to a cloud server so that the cloud server confirms whether the prescription updating information is stored or not according to the query request and obtains a query result, and the query result is returned to the first sending module;
the end module is used for ending the operation when the inquiry result is that the prescription updating information does not exist;
the first sending module is further configured to send a download request for downloading the prescription update information to the cloud server when the query result indicates that the prescription update information exists, so that the cloud server returns the prescription update information;
the updating module is used for updating the parameters of the breathing machine according to the prescription updating information returned by the cloud server;
the information generating module is used for generating updated prescription information;
the first sending module is further configured to send the updated prescription information to the cloud server;
the information generation module is also used for generating current prescription information according to the current parameter setting information in the breathing machine when the query result is that no prescription information exists;
the first sending module is further used for sending the current prescription information to the cloud server;
the prescription information comprises an identity identifier of a breathing machine, parameter setting data, time, a data source type and state information, wherein the time comprises one or more of prescription setting time, newly adding time of newly adding the prescription information and log time of receiving the prescription information by a cloud server; the data source type comprises a cloud server, a breathing machine and an SD card, and respectively indicates a source for generating the prescription information, the data source type of the updated prescription information is the cloud server, and the data source type of the current prescription information is the breathing machine; the state information is divided into three types of set, downloaded and updated state information, and each piece of prescription information includes one type of state information.
9. A ventilator data synchronization apparatus, comprising:
the second receiving module is used for receiving a query request of prescription updating information sent by the breathing machine;
the second query module is used for confirming whether the prescription updating information exists according to the query request to obtain a query result;
the second sending module is used for returning the query result to the respirator so as to enable the respirator to execute the following operation, and when the query result is that the prescription updating information does not exist, the operation is ended; when the query result indicates that the prescription updating information exists, the breathing machine sends a downloading request for downloading the prescription updating information to a cloud server;
the second receiving module is further configured to receive the download request;
the second searching module is used for searching the prescription updating information according to the downloading request;
the second sending module is further configured to return the searched prescription update information to the breathing machine, so that the breathing machine updates parameters of the breathing machine according to the prescription update information returned by the second sending module, generates updated prescription information, and sends the updated prescription information to the second receiving module; when the query result is that no prescription information exists, the ventilator generates current prescription information according to current parameter setting information in the ventilator, and the current prescription information is sent to the second receiving module;
the prescription information comprises an identity identifier of a breathing machine, parameter setting data, time, a data source type and state information, wherein the time comprises one or more of prescription setting time, newly-added time for newly-added prescription information and log time for receiving the prescription information by a cloud server; the data source type comprises a cloud server, a breathing machine and an SD card, and respectively indicates a source for generating the prescription information, the data source type of the updated prescription information is the cloud server, and the data source type of the current prescription information is the breathing machine; the state information is divided into three types of set, downloaded and updated state information, and each piece of prescription information includes one type of state information.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to carry out the operations performed in the ventilator data synchronization method of claim 4 or 5; or to implement the operations performed in the ventilator data synchronization method of claim 6 or 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910483002.3A CN111131373B (en) | 2019-06-04 | 2019-06-04 | Breathing machine data synchronization system, method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910483002.3A CN111131373B (en) | 2019-06-04 | 2019-06-04 | Breathing machine data synchronization system, method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111131373A CN111131373A (en) | 2020-05-08 |
CN111131373B true CN111131373B (en) | 2022-09-06 |
Family
ID=70496014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910483002.3A Active CN111131373B (en) | 2019-06-04 | 2019-06-04 | Breathing machine data synchronization system, method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111131373B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112289432B (en) * | 2020-10-27 | 2024-06-14 | 贵州精准医疗电子有限公司 | Remote control method based on ventilator SD card and related products |
EP4410341A1 (en) * | 2021-09-27 | 2024-08-07 | Shenzhen Mindray Bio-Medical Electronics Co., Ltd | Medical ventilation device and medical device system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106845191A (en) * | 2016-12-28 | 2017-06-13 | 北京怡和嘉业医疗科技股份有限公司 | For the authorization method and device of therapy apparatus |
WO2017107958A1 (en) * | 2015-12-25 | 2017-06-29 | 北京怡和嘉业医疗科技股份有限公司 | Method and apparatus for controlling respirator, and respirator |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6728068B2 (en) * | 2014-05-27 | 2020-07-22 | レスメド・インコーポレイテッド | Patient data management system and method |
-
2019
- 2019-06-04 CN CN201910483002.3A patent/CN111131373B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017107958A1 (en) * | 2015-12-25 | 2017-06-29 | 北京怡和嘉业医疗科技股份有限公司 | Method and apparatus for controlling respirator, and respirator |
CN106845191A (en) * | 2016-12-28 | 2017-06-13 | 北京怡和嘉业医疗科技股份有限公司 | For the authorization method and device of therapy apparatus |
Non-Patent Citations (1)
Title |
---|
基于Android系统内核的远程控制及数据采集系统设计与实现;刘璐;《中国优秀硕士学位论文全文数据库》;20170115(第01期);第17-39页 * |
Also Published As
Publication number | Publication date |
---|---|
CN111131373A (en) | 2020-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9116968B2 (en) | Methods and apparatus related to graph transformation and synchronization | |
US9021462B2 (en) | Systems and methods for provisioning equipment | |
WO2013063950A1 (en) | Inspection method and system of multimode communication device | |
CN107016056B (en) | Distributed storage system and method for large-volume heterogeneous sensing data in Internet of things | |
WO2020233058A1 (en) | Code download method and apparatus, and electronic device and computer storage medium | |
CN103984715A (en) | Data synchronizing and checking method, device and system of isomerous database | |
CN111131373B (en) | Breathing machine data synchronization system, method, device and storage medium | |
CN104598570B (en) | The grasping means of resource and device | |
KR101478902B1 (en) | Method and system for providing service based on profile according to node property in instance hosting environment | |
KR20140121534A (en) | Service providing method and system for processing information of node based on profile of node in instance hosting environment | |
CN108173948B (en) | Distributed test data real-time exchange method | |
WO2016110070A1 (en) | Data acquiring method and device, and storage medium | |
JP6042243B2 (en) | Monitoring system, monitoring server, and monitoring method | |
KR102075381B1 (en) | System and Method Things Co-operation Service and the Modeling Tool thereof | |
CN116467274A (en) | Data sharing method and device for multi-source heterogeneous data, storage medium and terminal | |
CN113094041A (en) | Component management method and device of application program and computer equipment | |
CN113190532A (en) | Data processing method, device, equipment and computer readable storage medium | |
KR101968501B1 (en) | Data processing apparatus and data check method stored in a memory of the data processing apparatus | |
WO2018144517A1 (en) | Semantic query processing with information asymmetry | |
CN110647546A (en) | Third-party rule engine generation method and device | |
JP5402066B2 (en) | Information search system, information search device, information search program, and information search method | |
JP6007753B2 (en) | Management server, hardware management device, information processing device, hardware management system, hardware management method, and computer program | |
CN111158928B (en) | Distributed system and communication method | |
CN112818059B (en) | Information real-time synchronization method and device based on container release platform | |
KR20120118866A (en) | An interface construction system and method to control low-erformance equipment using web technology |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |