CN112882730A - Respirator upgrading method, server, respirator and storage medium - Google Patents

Respirator upgrading method, server, respirator and storage medium Download PDF

Info

Publication number
CN112882730A
CN112882730A CN201911205406.2A CN201911205406A CN112882730A CN 112882730 A CN112882730 A CN 112882730A CN 201911205406 A CN201911205406 A CN 201911205406A CN 112882730 A CN112882730 A CN 112882730A
Authority
CN
China
Prior art keywords
ventilator
upgrade
breathing machine
preset
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911205406.2A
Other languages
Chinese (zh)
Inventor
何振
翟留伟
王斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen City Daya Medical Technology Co ltd
Original Assignee
Shenzhen City Daya Medical Technology Co ltd
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 Shenzhen City Daya Medical Technology Co ltd filed Critical Shenzhen City Daya Medical Technology Co ltd
Priority to CN201911205406.2A priority Critical patent/CN112882730A/en
Publication of CN112882730A publication Critical patent/CN112882730A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The present application relates to the field of ventilator technologies, and in particular, to a ventilator upgrade method, a server, a ventilator, and a storage medium. The ventilator upgrading method is applied to a server, the server is connected with a ventilator through wireless communication, and the ventilator upgrading method comprises the following steps: acquiring the current state of a breathing machine; if the current state of the breathing machine is an idle state, acquiring the current version number of a system of the breathing machine; and if the current version number is lower than the preset version number of the preset upgrade package, sending the preset upgrade package to the breathing machine so as to upgrade the breathing machine to the preset version number. Through the technical scheme of this application, the mode of breathing machine upgrading is simple, intelligent.

Description

Respirator upgrading method, server, respirator and storage medium
Technical Field
The present application relates to the field of ventilator technologies, and in particular, to a ventilator upgrade method, a server, a ventilator, and a storage medium.
Background
With the increasing air pollution, people suffering from respiratory diseases are increasing. In order to prevent respiratory diseases, one can use a ventilator to achieve a corresponding effect. The respirator is internally provided with a corresponding system to control the normal operation of the respirator, and the respirator can be updated systematically along with the system development of manufacturers selling the respirator so as to obtain more or more complete functions. When the system of the existing ventilator is updated, the ventilator needs to be upgraded by using a Secure Digital Memory Card (SD Card), or the ventilator needs to be connected to a Personal Computer (PC) terminal for upgrading, so that the upgrading mode is troublesome and not intelligent enough.
Therefore, how to provide a solution capable of intelligently upgrading a system for a ventilator is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application provides a ventilator upgrading method, a server, a ventilator and a storage medium, and aims to solve the technical problems that an existing ventilator upgrading system is troublesome and not intelligent enough.
In a first aspect, the present application provides a ventilator upgrade method, applied to a server, where the server and a ventilator are connected through wireless communication, and the ventilator upgrade method includes:
acquiring the current state of a breathing machine;
if the current state of the breathing machine is an idle state, acquiring the current version number of a system of the breathing machine;
and if the current version number is lower than the preset version number of the preset upgrade package, sending the preset upgrade package to the breathing machine so as to upgrade the breathing machine to the preset version number.
Preferably, the acquiring the current state of the ventilator includes an operating state and the idle state, and the acquiring the current state of the ventilator includes:
if the treatment data of the breathing machine is acquired, determining that the current state of the breathing machine is a working state;
and if the treatment data of the breathing machine cannot be acquired, determining that the current state of the breathing machine is an idle state.
Preferably, the acquiring a current version number of a system of a ventilator comprises:
sending a request instruction for acquiring the version number to a breathing machine; the respirator is used for sending a current version number after receiving the request instruction;
and receiving the current version number sent by the respirator.
Preferably, before the sending the upgrade package to the ventilator, the ventilator upgrade method further includes:
and judging whether the current version number is lower than the preset version number of the preset upgrading packet or not.
Preferably, before the sending the upgrade package to the ventilator, the ventilator upgrade method further includes:
acquiring a preset upgrade package from a local memory;
and temporarily storing the preset upgrade package.
Preferably, the sending the preset upgrade package to the ventilator includes:
and sending the preset upgrading packet to the breathing machine through wireless communication.
In a second aspect, the present application further provides a ventilator upgrade method, applied to a ventilator, the ventilator upgrade method including:
receiving a preset upgrade package sent by a server;
storing the preset upgrade package;
if the breathing machine is awakened, prompting whether to upgrade;
and if an upgrading instruction is received, upgrading the breathing machine by using the preset upgrading packet.
Preferably, before receiving the preset upgrade package sent by the server, the ventilator upgrade method further includes:
receiving a request instruction for acquiring the version number sent by the server;
and sending the current version number of the respirator system to the server through wireless communication.
Preferably, the ventilator upgrade method further comprises:
and when the breathing machine is in a working state, sending treatment data to the server.
Preferably, the receiving of the preset upgrade package sent by the server includes:
and receiving a preset upgrade package sent by the server through wireless communication.
In a third aspect, the present application further provides a server capable of wirelessly communicating with a ventilator, the server comprising:
a memory for storing a ventilator upgrade program;
a processor for implementing a ventilator upgrade method according to an embodiment of the first aspect of the present application when executing the ventilator upgrade program.
In a fourth aspect, the present application further provides a ventilator, the ventilator being capable of wirelessly communicating with a server, the ventilator comprising:
a memory for storing a ventilator upgrade program;
a processor for implementing a ventilator upgrade method according to an embodiment of the second aspect of the present application when executing the ventilator upgrade program.
In a fifth aspect, the present application further provides a storage medium, which is a computer-readable storage medium, and the storage medium stores a ventilator upgrade program, and the ventilator upgrade program, when executed by a processor, implements the ventilator upgrade method according to the embodiment of the first aspect or the embodiment of the second aspect of the present application.
Compared with the prior art, the application provides a breathing machine upgrading method, a server, breathing machine and storage medium, the breathing machine that is convenient for that the mode that adopts wireless transmission can be very big upgrades, enjoy the function that new version software brought, get rid of traditional selling the machine and go out the back, traditional artifical SD card is upgraded, or the mode that PC end plug-in wire upgraded to the host computer, the upgrading mode is simple intelligent, the intellectuality that the breathing machine upgraded is realized, various cost of labor has been reduced, realize full intelligent upgrading mode, the maintenance cost in the producer later stage of breathing machine has greatly been saved, and can upgrade according to user's wish when the breathing machine upgrades, accord with user's requirement.
Drawings
Fig. 1 is a flowchart of a ventilator upgrade method according to a first embodiment of the present disclosure.
Fig. 2 is a detailed flowchart of S12 in fig. 1.
Fig. 3 is a flowchart of a ventilator upgrade method according to a second embodiment of the present application.
Fig. 4 is a flowchart of a ventilator upgrade method according to a third embodiment of the present application.
Fig. 5 is a schematic structural diagram of a server according to a fourth embodiment of the present application;
fig. 6 is a schematic structural diagram of a ventilator according to a fifth embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application 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 present application and are not intended to limit the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the descriptions in this application referring to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for upgrading a ventilator according to a first embodiment of the present application, where the method for upgrading a ventilator is applicable to a server, and can be executed by the server to upgrade a system of the ventilator. The server and the respirator are connected through wireless communication. The ventilator upgrading method comprises the following steps:
s11: the current state of the ventilator is acquired.
When the system of the breathing machine needs to be upgraded, the state of the server needs to be acquired, when the current state of the breathing machine is in the working state, the system of the breathing machine is not upgraded in order to not influence the normal work of the breathing machine, and when the current state of the breathing machine is in the idle state, and no user uses the breathing machine to breathe, the system of the breathing machine is upgraded. When the current state of the ventilator is obtained, communication with the ventilator may be performed to obtain the current state of respiration.
Specifically, the current state of the breathing machine comprises a working state and an idle state, and when the current state of the breathing machine is obtained, treatment data of the breathing machine is obtained; if the treatment data of the breathing machine is acquired, determining that the current state of the breathing machine is a working state; and if the treatment data of the breathing machine cannot be acquired, determining that the current state of the breathing machine is an idle state.
When the breathing machine works normally, the breathing machine can communicate with the server, therapy data generated when a user uses the breathing machine are generated, the breathing machine transmits the therapy data to the server, and the server can obtain the therapy data of the breathing machine. When the breathing machine stops working and is in an idle state, the breathing machine stops transmitting the treatment data, and the server cannot acquire the treatment data of the breathing machine. And the current state of the breathing machine is determined according to whether the treatment data of the breathing machine can be acquired, and the determination method is simple and accurate and has high efficiency. If the current state of the ventilator is the idle state, the process proceeds to step S12, and if the current state of the ventilator is the operating state, the process continues to step S11.
S12: and if the current state of the breathing machine is the idle state, acquiring the current version number of the system of the breathing machine.
The system of the breathing machine comprises a version number, such as the system of an android phone, the version number can be included, the breathing machine is communicated with the server, and the server can obtain the version number of the breathing machine system. The current version number is the version number of the ventilator system.
Referring to fig. 2, specifically, acquiring the current version number of the system of the ventilator includes:
s121: and sending a request instruction for acquiring the version number to a breathing machine, wherein the breathing machine is used for sending the current version number after receiving the request instruction.
And sending a request instruction for acquiring the version number to the respirator, and enabling the respirator to feed back the version number of the respirator system. After the respirator receives the request instruction for acquiring the version number, the respirator sends the current version number to the server.
S122: and receiving the current version number sent by the respirator.
And after the respirator sends the current version number to the server, the current version number sent by the respirator can be received.
S13: and if the current version number is lower than the preset version number of the preset upgrade package, sending the preset upgrade package to the breathing machine so as to upgrade the breathing machine to the preset version number.
The server comprises a preset upgrade package. The preset upgrade package may be uploaded by a worker on the server side. The preset upgrade package also includes a version number. The preset version number is the version number of the preset upgrade package. When the preset upgrade package is sent to the breathing machine, wireless communication transmission or wired communication transmission can be adopted. In this embodiment, the transmission in a wireless communication mode, that is, the sending of the preset upgrade package to the ventilator, includes:
and sending the preset upgrading packet to the breathing machine through wireless communication.
By adopting a wireless transmission mode, wireless transmission can be realized through wifi (technology that the electronic equipment is connected to a Wireless Local Area Network (WLAN)). It can be understood that when wireless transmission is adopted, wireless transmission can be locally adopted, namely data are transmitted through the internet firstly and then data are transmitted through wifi. The adoption of the wireless transmission mode can greatly facilitate the upgrade of the breathing machine. After the respirator receives the preset upgrade package sent by the server, the respirator can be upgraded according to the preset upgrade package, or a user of the respirator determines whether to upgrade the respirator.
The ventilator upgrading method provided by the embodiment obtains the current state of the ventilator; if the current state of the breathing machine is an idle state, acquiring the current version number of a system of the breathing machine; if current version number is less than the preset version number of predetermineeing the upgrading package, send for predetermineeing the upgrading package the breathing machine, so that the breathing machine upgrades to predetermineeing the version number, the breathing machine that adopts wireless transmission's mode can be very big upgrades, enjoy the function that new version software brought, break away from traditional selling machine and go out the back, traditional artifical SD card upgrading, or PC end plug wire carries out the mode of upgrading to the host computer, the upgrading mode is simple intelligent, realize the intellectuality of breathing machine upgrading, various cost of labor have been reduced, realize full intelligent upgrading mode, the maintenance cost in the producer later stage of breathing machine has greatly been saved.
Referring to fig. 3, a second embodiment of the present application also provides a ventilator upgrade method, and based on the foregoing embodiments, this embodiment provides a solution for faster upgrade of a ventilator, and the ventilator upgrade method includes:
s21: the current state of the ventilator is acquired.
S22: and if the current state of the breathing machine is the idle state, acquiring the current version number of the system of the breathing machine.
S23: and acquiring a preset upgrading packet from a local memory.
The preset upgrading package is stored in a local memory, and the preset upgrading package can be obtained from the local memory as required. The preset upgrade package may be uploaded by a worker on the server side. The preset upgrade package also includes a version number, that is, the preset upgrade package includes a preset version number.
S24: and temporarily storing the preset upgrade package.
When the preset upgrade package is temporarily stored, the preset upgrade package may be temporarily stored in the temporary storage, or may be temporarily stored in a memory dedicated to temporarily store the preset upgrade package. The method and the device can facilitate subsequent processing of the preset upgrade package, and improve the processing speed. It is to be understood that the positions of step S23 and step S24 are not limited to being performed after step S22, and step S23 and step S24 may be performed before step S26.
S25: and judging whether the current version number is lower than the preset version number of the preset upgrading packet or not.
And comparing the current version number with the preset version number to judge whether the version of the system of the breathing machine is the latest version. And if the version of the breathing machine system is the latest version, the current version number is equal to the preset version number of the preset upgrade package, and the process is ended. If the version of the breathing machine system is not the latest version, the current version number is lower than the preset version number of the preset upgrade package. It can be understood that the current version number is lower than the preset version number of the preset upgrade package, and does not represent that the name of the version number is lower, but represents that the current version number is not the latest version, and the preset upgrade package corresponding to the preset version number is newly developed relative to the upgrade package corresponding to the current version number.
S26: and if the current version number is lower than the preset version number of the preset upgrade package, sending the preset upgrade package to the breathing machine so as to upgrade the breathing machine to the preset version number.
The ventilator upgrading method provided by this embodiment obtains a current state of a ventilator, obtains a current version number of a system of the ventilator if the current state of the ventilator is an idle state, obtains a preset upgrade package from a local memory, temporarily stores the preset upgrade package, determines whether the current version number is lower than a preset version number of the preset upgrade package, and sends the preset upgrade package to the ventilator if the current version number is lower than the preset version number of the preset upgrade package, so that the ventilator is upgraded to the preset version number, and the upgrading speed of the ventilator can be increased.
Referring to fig. 4, fig. 4 is a diagram of a ventilator upgrade method according to a third embodiment of the present application, where the ventilator upgrade method is applicable to a ventilator, and can be executed by the ventilator to upgrade a system of the ventilator. The breathing machine and the server are connected through wireless communication. The ventilator upgrading method comprises the following steps:
s31: and receiving a preset upgrade package sent by the server.
And when the preset upgrade package sent by the server is received, the breathing machine is in an idle state. When the current version number of a system of the breathing machine is lower than the preset version number of a preset upgrade package of the server, the server sends the preset upgrade package to the breathing machine; the breathing machine can receive the preset upgrade package sent by the server. When the preset upgrade package is received, the server sends the preset upgrade package in a wired communication mode, the respirator receives the preset upgrade package in a wired mode, the server sends the preset upgrade package in a wireless communication mode, and the respirator receives the preset upgrade package in a wireless communication mode. In this embodiment, the respirator receives the preset upgrade package in a wireless communication manner, namely receives the preset upgrade package sent by the server, and includes:
and receiving a preset upgrade package sent by the server through wireless communication.
S32: and storing the preset upgrade package.
When the upgrade package is stored, a temporary storage mode can be adopted, and the upgrade package can also be stored in a local memory of the respirator for a long time. The upgrade package is not immediately stored according to the upgrade package.
S33: and if the breathing machine is awakened, prompting whether to upgrade.
Since the ventilator is in an idle state, the ventilator may be awakened when the user reuses the ventilator. If the breathing machine is awakened, prompting the user whether to upgrade, namely performing system upgrade on the breathing machine. The mode of prompting the user is not limited, for example, the breathing machine comprises a touch screen, a pop-up window mode can be adopted on the touch screen to prompt whether the breathing machine is upgraded, and options of yes and no can be presented for the user to select.
S34: and if an upgrading instruction is received, upgrading the breathing machine by using the preset upgrading packet.
If the user chooses to upgrade the ventilator, the ventilator will receive an upgrade instruction. And after receiving the upgrading instruction, upgrading the system of the breathing machine according to the upgrading packet. How to upgrade a system of a ventilator according to an upgrade kit is prior art and will not be described in this application.
The ventilator upgrading method provided by the embodiment comprises the steps of receiving a preset upgrading package sent by a server, storing the preset upgrading package, prompting whether upgrading is carried out or not if the ventilator is awakened, upgrading the ventilator if an upgrading instruction is received, using the preset upgrading package to upgrade the ventilator, and upgrading the ventilator in a wireless transmission mode conveniently, so that functions brought by new version software can be enjoyed, the ventilator gets rid of the traditional mode that a vending machine is out, the traditional mode that an artificial SD card is upgraded or a PC end is plugged into a host to be upgraded is achieved, the upgrading mode is simple and intelligent, the intelligence of upgrading the ventilator is achieved, various labor costs are reduced, the fully intelligent upgrading mode is achieved, the maintenance cost of the later stage of a manufacturer of the ventilator is greatly saved, the ventilator can be upgraded according to the wishes of a user when being upgraded, and the requirements of the user are met.
Preferably, before receiving the preset upgrade package sent by the server, the ventilator upgrade method further includes:
receiving a request instruction for acquiring the version number sent by the server; and sending the current version number of the respirator system to the server through wireless communication.
When the breathing machine is idle, the server acquires that the breathing machine is in an idle state, a request instruction for acquiring the version number is sent to the breathing machine, and the breathing machine can receive the request instruction for acquiring the version number sent by the server. The ventilator will send the current version number of the ventilator system to the server so that the server can determine whether to upgrade the system to the ventilator. When the ventilator receives the request command, the request command may be received by a wired transmission method or a wireless transmission method.
Preferably, the ventilator upgrade method further comprises:
and when the breathing machine is in a working state, sending treatment data to the server.
When the breathing machine works normally, the breathing machine can communicate with the server, therapy data generated when a user uses the breathing machine are generated, the breathing machine transmits the therapy data to the server, and the server can obtain the therapy data of the breathing machine. When the breathing machine stops working and is in an idle state, the breathing machine stops transmitting the treatment data, and the server cannot acquire the treatment data of the breathing machine. And the current state of the breathing machine is determined according to whether the treatment data of the breathing machine can be acquired, and the determination method is simple and accurate and has high efficiency.
Referring to fig. 5, a fourth embodiment of the present application provides a server 40, and the server 40 is capable of executing a ventilator upgrade method according to the above embodiment. The server 40 includes:
one or more first processors 42 and a first memory 41. Here, one first processor 42 is illustrated as an example.
The first processor 42 and the first memory 41 may be connected by a bus or other means, and the bus connection is taken as an example in the figure.
The first memory 41 is a non-volatile computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and program instructions corresponding to a ventilator upgrade method according to the first embodiment and the second embodiment of the present application. The first processor 42 executes the various functional applications and data processing of a ventilator upgrade method by executing the non-volatile software program instructions stored in the first memory 41, i.e. implements a ventilator upgrade method of the first and second embodiments of the method described above.
The first memory 41 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like.
Further, the first memory 41 may comprise a high speed random access first memory and may also comprise a non-volatile first memory, such as at least one magnetic disk first storage device, a flash memory device, or other non-volatile solid state first storage device. In some embodiments, the first memory 41 optionally includes a first memory located remotely from the first processor 42, and these remote first memories may be connected to the first processor 42 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The program instructions are stored in the first memory 41 and, when executed by the one or more first processors 42, perform the steps of a ventilator upgrade method in any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, and has corresponding beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the above embodiments of the present application.
Embodiments of the present application also provide a storage medium, which is a computer-readable storage medium, and particularly may be a non-volatile computer-readable storage medium, and the computer-readable storage medium stores computer-executable instructions, which are executed by one or more first processors, such as the first processor 42 in the figure, to enable the computer to perform the steps of a ventilator upgrade method in the first and second embodiments. The storage medium may include, among others, a flash memory, a hard disk, a multimedia card, a card-type first memory (for example, an SD or DX first memory, etc.), a magnetic first memory, a magnetic disk, an optical disk, and the like. The storage medium may be a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like in alternative embodiments.
Embodiments of the present application also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by one or more first processors, such as the one 42 in the figure, cause the computer to perform the steps of a method of upgrading a ventilator as in the first and second embodiments described above.
Referring to fig. 6, a fifth embodiment of the present application provides a ventilator 50, and the ventilator 50 is capable of performing a ventilator upgrade method as described in the above embodiments. The ventilator 50 includes:
one or more second processors 52 and a second memory 51. Here, one second processor 52 is illustrated as an example.
The second processor 52 and the second memory 51 may be connected by a bus or other means, and the bus connection is taken as an example in the figure.
The second memory 51 is used as a non-volatile computer readable storage medium for storing a non-volatile software program, a non-volatile computer executable program, and program instructions corresponding to a ventilator upgrade method in the third embodiment of the present application. The second processor 52 executes the various functional applications and data processing of a ventilator upgrade method, i.e. a ventilator upgrade method of the third of the above methods, by executing non-volatile software program instructions stored in the second memory 51.
The second memory 51 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like.
Further, the second memory 51 may comprise a high speed random access second memory, and may also comprise a non-volatile second memory, such as at least one magnetic disk second storage device, a flash memory device, or other non-volatile solid state second storage device. In some embodiments, the second memory 51 may optionally include a second memory remotely located from the second processor 52, and these remote second memories may be connected to the second processor 52 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The program instructions are stored in the second memory 51 and, when executed by the one or more second processors 52, perform the steps of a ventilator upgrade method in any of the above-described method embodiments.
The product can execute the method provided by the embodiment of the application, and has corresponding beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the above embodiments of the present application.
Embodiments of the present application also provide a storage medium, which is a computer-readable storage medium, and particularly may be a non-volatile computer-readable storage medium, where computer-executable instructions are stored, and executed by one or more second processors, such as the second processor 52 in the figure, may cause the computer to perform the steps of a ventilator upgrade method in the third embodiment. The storage medium may include, among others, a flash memory, a hard disk, a multimedia card, a card-type secondary memory (for example, an SD or DX secondary memory, etc.), a magnetic secondary memory, a magnetic disk, an optical disk, and the like. The storage medium may be a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like in alternative embodiments.
Embodiments of the present application also provide a computer program product comprising a computer program stored on a storage medium, the computer program comprising program instructions that, when executed by one or more second processors, such as a second processor 52 in the figure, cause the computer to perform the steps of a ventilator upgrade method according to the third embodiment described above.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a general hardware platform, and may also be implemented by hardware. Those skilled in the art will appreciate that all or part of the flow of the method implementing the above embodiments may be performed by hardware associated with computer program instructions.
Compared with the prior art, the application provides a breathing machine upgrading method, a server, breathing machine and storage medium, the breathing machine that is convenient for that the mode that adopts wireless transmission can be very big upgrades, enjoy the function that new version software brought, get rid of traditional selling the machine and go out the back, traditional artifical SD card is upgraded, or the mode that PC end plug-in wire upgraded to the host computer, the upgrading mode is simple intelligent, the intellectuality that the breathing machine upgraded is realized, various cost of labor has been reduced, realize full intelligent upgrading mode, the maintenance cost in the producer later stage of breathing machine has greatly been saved, and can upgrade according to user's wish when the breathing machine upgrades, accord with user's requirement.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (13)

1. A ventilator upgrading method is applied to a server, the server is connected with a ventilator through wireless communication, and the ventilator upgrading method comprises the following steps:
acquiring the current state of a breathing machine;
if the current state of the breathing machine is an idle state, acquiring the current version number of a system of the breathing machine;
and if the current version number is lower than the preset version number of the preset upgrade package, sending the preset upgrade package to the breathing machine so as to upgrade the breathing machine to the preset version number.
2. The ventilator upgrade method according to claim 1, wherein the acquiring a current state of a ventilator comprises an operating state and the idle state, and the acquiring a current state of a ventilator comprises:
if the treatment data of the breathing machine is acquired, determining that the current state of the breathing machine is a working state;
and if the treatment data of the breathing machine cannot be acquired, determining that the current state of the breathing machine is an idle state.
3. The ventilator upgrade method according to claim 1, wherein said obtaining a current version number of a system of a ventilator comprises:
sending a request instruction for acquiring the version number to a breathing machine; the respirator is used for sending a current version number after receiving the request instruction;
and receiving the current version number sent by the respirator.
4. The ventilator upgrade method according to claim 1, wherein prior to said transmitting the upgrade package to the ventilator, the ventilator upgrade method further comprises:
and judging whether the current version number is lower than the preset version number of the preset upgrading packet or not.
5. The ventilator upgrade method according to claim 1, wherein prior to said transmitting the upgrade package to the ventilator, the ventilator upgrade method further comprises:
acquiring a preset upgrade package from a local memory;
and temporarily storing the preset upgrade package.
6. The ventilator upgrade method according to claim 1, wherein said sending the preset upgrade package to the ventilator comprises:
and sending the preset upgrading packet to the breathing machine through wireless communication.
7. A ventilator upgrading method is applied to a ventilator, and is characterized by comprising the following steps:
receiving a preset upgrade package sent by a server;
storing the preset upgrade package;
if the breathing machine is awakened, prompting whether to upgrade;
and if an upgrading instruction is received, upgrading the breathing machine by using the preset upgrading packet.
8. The ventilator upgrade method according to claim 6, wherein prior to receiving the preset upgrade package sent by the server, the ventilator upgrade method further comprises:
receiving a request instruction for acquiring the version number sent by the server;
and sending the current version number of the respirator system to the server through wireless communication.
9. The ventilator upgrade method according to claim 6, further comprising:
and when the breathing machine is in a working state, sending treatment data to the server.
10. The ventilator upgrade method according to claim 6, wherein the receiving the preset upgrade package sent by the server includes:
and receiving a preset upgrade package sent by the server through wireless communication.
11. A server capable of wireless communication with a ventilator, the server comprising:
a memory for storing a ventilator upgrade program;
a processor for implementing the ventilator upgrade method of any one of claims 1 to 5 when executing the ventilator upgrade program.
12. A ventilator capable of wirelessly communicating with a server, the ventilator comprising:
a memory for storing a ventilator upgrade program;
a processor for implementing the ventilator upgrade method of any one of claims 6 to 8 when executing the ventilator upgrade program.
13. A storage medium, which is a computer-readable storage medium, characterized in that a ventilator upgrade program is stored in the storage medium, which, when executed by a processor, implements a ventilator upgrade method according to any one of claims 1 to 10.
CN201911205406.2A 2019-11-29 2019-11-29 Respirator upgrading method, server, respirator and storage medium Pending CN112882730A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911205406.2A CN112882730A (en) 2019-11-29 2019-11-29 Respirator upgrading method, server, respirator and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911205406.2A CN112882730A (en) 2019-11-29 2019-11-29 Respirator upgrading method, server, respirator and storage medium

Publications (1)

Publication Number Publication Date
CN112882730A true CN112882730A (en) 2021-06-01

Family

ID=76039740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911205406.2A Pending CN112882730A (en) 2019-11-29 2019-11-29 Respirator upgrading method, server, respirator and storage medium

Country Status (1)

Country Link
CN (1) CN112882730A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107621941A (en) * 2017-09-22 2018-01-23 美的智慧家居科技有限公司 Method for upgrading software, system and intelligent movable equipment
CN109240722A (en) * 2018-08-30 2019-01-18 百度在线网络技术(北京)有限公司 Application upgrade method, apparatus, system and storage medium
CN109828773A (en) * 2018-12-11 2019-05-31 湖南明康中锦医疗科技发展有限公司 A kind of Breathing Suppotion device systems remote upgrade terminal and its implementation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107621941A (en) * 2017-09-22 2018-01-23 美的智慧家居科技有限公司 Method for upgrading software, system and intelligent movable equipment
CN109240722A (en) * 2018-08-30 2019-01-18 百度在线网络技术(北京)有限公司 Application upgrade method, apparatus, system and storage medium
CN109828773A (en) * 2018-12-11 2019-05-31 湖南明康中锦医疗科技发展有限公司 A kind of Breathing Suppotion device systems remote upgrade terminal and its implementation

Similar Documents

Publication Publication Date Title
JP6566500B2 (en) Method, terminal, and system for upgrading terminal system
CN110621011B (en) OTA firmware upgrading method and system based on Bluetooth device side
CN110032382A (en) A kind of vehicle electronic control unit upgrade method, system and terminal device
CN108986821B (en) Method and equipment for setting relation between room and equipment
CN101662533B (en) Software updating system and method
US9361090B2 (en) Apparatus and method of software implementation between a vehicle and mobile device
WO2015074536A1 (en) Intelligent television and upgrading method and apparatus thereof
JP6527943B2 (en) Software upgrade method and device
WO2019237438A1 (en) System, electronic device, and method for online firmware upgrading
CN106339236A (en) Software upgrading method, client, interphone and soft upgrading system
CN111225056A (en) OTA-based intelligent door lock upgrading method and system
CN110661859A (en) Air upgrading method for intelligent household equipment
WO2017166906A1 (en) Method of managing euicc subscription profile and associated apparatus
WO2018027442A1 (en) Wireless upgrade method utilized in bluetooth apparatus, upgrade device, and bluetooth apparatus
CN108958781B (en) Remote embedded firmware online upgrading method
CN104516743B (en) The upgrade method and system of embedded device firmware based on ActiveX
CN107396185B (en) Upgrading method and system
CN112882730A (en) Respirator upgrading method, server, respirator and storage medium
JPWO2021177224A5 (en) Electronic control unit data update system
CN111258603A (en) Intelligent door lock firmware upgrading method and intelligent door lock
WO2020098457A1 (en) Narrow band device upgrading method, mobile terminal and readable storage medium
CN108268270B (en) Application program updating method, device and system for medical device
CN105704707A (en) Slave equipment and air upgrading method thereof
CN108989428B (en) Bluetooth terminal upgrading method, server, computer readable storage medium and system
CN110704080A (en) Method for upgrading Bluetooth module through Wi-Fi module

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