CN108268270B - Application program updating method, device and system for medical device - Google Patents

Application program updating method, device and system for medical device Download PDF

Info

Publication number
CN108268270B
CN108268270B CN201810040395.6A CN201810040395A CN108268270B CN 108268270 B CN108268270 B CN 108268270B CN 201810040395 A CN201810040395 A CN 201810040395A CN 108268270 B CN108268270 B CN 108268270B
Authority
CN
China
Prior art keywords
application program
update
updating
information
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.)
Active
Application number
CN201810040395.6A
Other languages
Chinese (zh)
Other versions
CN108268270A (en
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.)
Tsinghua University
Beijing Pins Medical Co Ltd
Original Assignee
Tsinghua University
Beijing Pins Medical 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 Tsinghua University, Beijing Pins Medical Co Ltd filed Critical Tsinghua University
Priority to CN201810040395.6A priority Critical patent/CN108268270B/en
Publication of CN108268270A publication Critical patent/CN108268270A/en
Application granted granted Critical
Publication of CN108268270B publication Critical patent/CN108268270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • G06F21/645Protecting data integrity, e.g. using checksums, certificates or signatures using a third party

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method, a device and a system for updating an application program of medical equipment, wherein the method comprises the following steps: acquiring equipment information and current version information of an application program sent by medical equipment; acquiring updating data from a server according to the equipment information and the current version information; acquiring a private key prestored in the medical equipment; signing the identification information of the updating data by using the private key; sending the signed identification information to the server; receiving a starting password fed back by the server according to the signed identification information; and updating the application program by using the starting password and the updating data.

Description

Application program updating method, device and system for medical device
Technical Field
The invention relates to the field of medical equipment, in particular to a method, equipment and a system for updating an application program of medical equipment.
Background
The medical device is an intelligent device which is internally provided with a battery, a chip and a sensor and realizes corresponding therapy by means of set programs and operation parameters.
The application program in the medical equipment needs to be updated frequently, the existing updating mode is that a user needs to go to a designated place such as a hospital and a clinic to be matched with a doctor on site, and a professional operates the program control equipment to complete updating, so that the existing updating mode of the application program of the medical equipment is poor in convenience.
Disclosure of Invention
Therefore, the invention aims to solve the problem that the existing updating mode of the medical equipment application program is low in efficiency.
In a first aspect, the present invention provides an application program updating method for a medical device, including: acquiring equipment information and current version information of an application program sent by medical equipment; acquiring updating data from a server according to the equipment information and the current version information; acquiring a private key prestored in the medical equipment; signing the identification information of the updating data by using the private key; sending the signed identification information to the server; receiving a starting password fed back by the server according to the signed identification information; and updating the application program by using the starting password and the updating data.
Preferably, the step of acquiring the device information and the current version information of the application program transmitted by the medical device includes:
establishing a wireless connection with the medical device;
sending an update initiation request to the medical device;
and receiving the device information and the current version information of the application program fed back by the medical device according to the update starting request.
Preferably, the step of obtaining the update data from the server according to the device information and the current version information includes:
acquiring latest version information corresponding to the application program in a server;
determining whether the application program needs to be updated according to the latest version information and the current version information;
and when the application program needs to be updated, downloading the update data from the server.
Preferably, the first and second electrodes are formed of a metal,
the step of updating the application program using the launch password and the update data includes:
starting an update program in the medical equipment by using the starting password;
determining a first storage area where an application program currently operated by the medical equipment is located through the updating program;
writing the update data in a second storage area different from the first storage area;
and controlling the updating program to update the application program according to the updating data written in the second storage area by using the starting password.
In a second aspect, the present invention provides an electronic device comprising: at least one processor and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to cause the at least one processor to perform the application update method described above.
In a third aspect, the present invention provides a medical system comprising:
the medical equipment is provided with at least one application program and a private key;
a server storing update data for updating the application program;
a terminal for acquiring the device information of the medical device and the current version information of the application program, and acquiring the update data from the server according to the device information and the current version information, an
Acquiring a private key prestored in the medical equipment, signing the identification information of the updated data by using the private key, and sending the signed identification information to the server;
the server is also used for verifying the signed identification information and feeding back a starting password to the terminal when the verification is passed;
the terminal is further used for receiving the starting password and updating the application program of the medical equipment by using the starting password and the updating data.
Preferably, the terminal is wirelessly connected with the medical device and is configured to send an update start request to the medical device and receive device information and current version information of the application program, which are fed back by the medical device according to the update start request.
Preferably, the terminal is configured to acquire latest version information corresponding to the application program in the server, determine whether the application program needs to be updated according to the latest version information and the current version information, and download the update data from the server when the application program needs to be updated.
Preferably, the terminal is configured to start an update program in the medical device by using the start password, determine a first storage area where an application program currently running on the medical device is located by the update program, write the update data into a second storage area different from the first storage area, and control the update program to update the application program according to the update data written in the second storage area by using the start password.
According to the method, the device and the system for updating the application program of the medical device, the device information and the application program version information of the medical device are obtained, the application program updating data corresponding to the information are downloaded in the server, the medical device is finally controlled to update the application program by using the updating data, the updating process can be executed by an own intelligent terminal of a user, the own terminal of the user is used as a transfer, the updating data is transmitted by using the short-distance communication function of the medical device and the remote communication function and the operation convenience of the intelligent terminal, the user does not need to go to a specified place, and the medical device does not need to be directly operated, so that the convenience of the updating operation of the medical device can be greatly improved. According to the scheme, the private key is acquired through interaction with the medical equipment to sign the updating data, the server verifies the signed data, the integrity and the correctness of the updating data are ensured through three-party information interaction, the updating data are prevented from being tampered or forged, and therefore the safety of the updating operation of the application program is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic application scenario diagram of an application program updating method of a medical device according to the present invention;
fig. 2 is a flowchart of an application update method of a medical device in an embodiment of the present invention;
fig. 3 is a flowchart illustrating an application update method of a medical device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a medical system in an embodiment of the invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Fig. 1 shows an application scenario of the present invention, wherein a medical device 01 has a wireless communication module, typically a short-range low-power communication module, such as a near field coupling communication module, a bluetooth module, a ZigBee module, etc.; the terminal 02 is a user smart phone or a tablet personal computer or a special device with functions of near field coupling communication, Bluetooth communication and wifi communication, and has the communication function of the existing smart phone; the server 03 is a device of a medical device manufacturer and can be accessed by an external user. Wherein, terminal 02 and medical equipment 01 are close range wireless connection, and terminal 02 and server 03 pass through wifi wireless communication remote connection.
An embodiment of the present invention provides an application program updating method for medical equipment, which may be executed by the terminal 02, as shown in fig. 2, and the method includes the following steps:
and S1, acquiring the device information sent by the medical device and the current version information of the application program. The device information may be, for example, a device identification number (ID) or a hardware address (MAC), and the current version information is typically a version number.
The medical device in this embodiment has a signal transmitting circuit, and the circuit transmits the information of the current version of the information of the carrying device and the application program in an electromagnetic coupling manner, specifically, the information of the current version of the information of the carrying device and the application program may be a PPM signal. In this embodiment, the terminal 02 needs to be close enough to the signal transmitting antenna of the medical device 01 to be electrically coupled to receive the information transmitted by the signal transmitting antenna, and the short-range communication mode can improve the safety of data transmission to some extent.
S2, obtaining the updated data from the server according to the device information and the current version information, namely downloading the installation files for updating the corresponding application programs from the server;
s3, obtaining a private key prestored in the medical equipment, wherein the step also adopts an electromagnetic coupling mode to carry out short-range communication;
s4, signing the identification information of the updating data by using a private key, wherein the identification information can be the hash value of the updating data;
and S5, sending the signed identification information to the server. The server verifies the information, feeds back a starting password to the terminal when the information passes the verification, otherwise, prompts errors or carries out warning prompt and the like;
s6, receiving a starting password fed back by the server according to the signed identification information;
s7, the application is updated with the start password and the update data. .
According to the medical equipment application program updating method provided by the embodiment, the equipment information and the application program version information of the medical equipment are acquired, the application program updating data corresponding to the information are downloaded in the server, the medical equipment is finally controlled to update the application program by using the updating data, the updating process can be executed by the own intelligent terminal of the user, the own intelligent terminal of the user is used as a relay, the updating data is transmitted by using the short-distance communication function of the medical equipment and the remote communication function and the operation convenience of the intelligent terminal, the user does not need to go to a specified place, and the medical equipment does not need to be directly operated, so that the convenience of the updating operation of the medical equipment can be greatly improved. According to the scheme, the private key is acquired through interaction with the medical equipment to sign the updating data, the server verifies the signed data, the integrity and the correctness of the updating data are ensured through three-party information interaction, the updating data are prevented from being tampered or forged, and therefore the safety of the updating operation of the application program is improved.
As a preferred embodiment, as shown in fig. 3, the step S1 may include the following steps:
s11, establishing wireless connection with the medical equipment;
s12, sending an update starting request to the medical equipment, wherein the format and the content of the update starting request can be preset and even can be encrypted information;
and S13, receiving the device information and the current version information of the application program fed back by the medical device according to the update starting request.
In the above preferred embodiment, after the wireless connection is established between the terminal executing the method and the medical device, the terminal sends the start request, and the medical device sends the current version information of the device information only after receiving the correct start request, so that the security of the update operation can be improved.
As a preferred embodiment, as shown in fig. 3, the step S2 may include the following steps:
s21, obtaining the latest version information corresponding to the application program in the server;
s22, determining whether the application program needs to be updated according to the latest version information and the current version information, executing the step S23 when the application program needs to be updated, otherwise, prompting that the application program is the latest version and does not need to be updated;
s23, downloading the update data from the server.
In the field of updating the device firmware, the updated device detects whether the updating operation needs to be executed or not, and the terminal executing the method detects whether the updating operation needs to be executed or not, so that the energy consumption of the medical device is reduced, and the convenience of the updating operation is further improved by virtue of the display, processing and control advantages of the intelligent terminal.
The medical device in the present embodiment is provided with three storage areas, that is, an update program storage area for storing an update program, and an application program storage area 1 and an application program storage area 2 for storing an application program, as shown in fig. 3, and the above step S7 may include the steps of:
s71, starting an updating program in the medical equipment by using the starting password;
s72, determining, by the update program, a first storage area in which the application currently running on the medical device is located, where the specific process may be a determination process, for example, determining whether the application currently running on the medical device is a program in the application storage area 1, and if not, determining that the application is a program in the application storage area 2;
s73, writing the update data into a second storage area different from the first storage area, for example, if the currently running application program of the medical device is a program in the application program storage area 1, writing the update data into the application program storage area 2;
s74, the updating program is controlled by the starting password to update the application program according to the update data written in the second storage area, that is, the application program is updated by the update data written in the application storage area 2.
The preferred scheme detects the storage area which is currently read and written by the medical equipment, avoids writing the updating data into the storage area which is currently read and written by the medical equipment, thereby avoiding the problem of reading and writing errors, avoids stopping the application program of the medical equipment, does not influence the normal work of the medical equipment, and improves the safety of the updating operation.
Accordingly, an embodiment of the present invention further provides an electronic device, including: at least one processor and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to cause the at least one processor to perform the application update method described above.
Another embodiment of the present invention also provides a medical system, as shown in fig. 4, including:
a medical device 41 provided with at least one application and a private key;
a server 42 storing update data for updating the application program;
the terminal 43 is configured to obtain device information of the medical device 41 and current version information of an application program, obtain update data from the server 42 according to the device information and the current version information, obtain a private key prestored in the medical device, sign identification information of the update data by using the private key, and send the signed identification information to the server;
the server 42 is further configured to verify the signed identification information, and feed back a start password to the terminal 43 when the verification passes;
the terminal 43 is further configured to receive the start password and update the application program of the medical device by using the start password and the update data.
According to the medical system provided by the embodiment, the terminal acquires the device information and the application program version information of the medical device, the application program updating data corresponding to the information is downloaded in the server, and finally the terminal controls the medical device to update the application program by using the updating data. According to the scheme, the private key is acquired through interaction with the medical equipment to sign the updating data, the server verifies the signed data, the integrity and the correctness of the updating data are ensured through three-party information interaction, the updating data are prevented from being tampered or forged, and therefore the safety of the updating operation of the application program is improved.
As a preferred embodiment, the terminal 43 is wirelessly connected to the medical device 41 and is configured to send an update start request to the medical device 41 and receive device information and current version information of the application program fed back by the medical device 41 according to the update start request.
In the above preferred embodiment, after the wireless connection is established between the terminal 43 and the medical device, the terminal 43 sends out the start request, and the medical device sends out the current version information of the device information only after receiving the correct start request, so as to improve the security of the update operation.
As a preferred embodiment, the terminal 43 is configured to obtain the latest version information corresponding to the application program in the server 42, determine whether the application program needs to be updated according to the latest version information and the current version information, and download the update data from the server 42 when the application program needs to be updated.
In the field of device firmware updating, the updated device itself usually detects whether the updating operation needs to be executed, and the above preferred scheme detects whether the medical device needs to be updated by the terminal 43, so as to reduce the energy consumption of the medical device, and further improve the convenience of the updating operation by virtue of the display, processing and control advantages of the intelligent terminal.
In a preferred embodiment, the terminal 43 is configured to start an update program in the medical device 41 by using the start password, determine a first storage area in which an application program currently running on the medical device 41 is located by the update program, write the update data into a second storage area different from the first storage area, and control the update program to update the application program according to the update data written in the second storage area by using the start password.
In the above preferred scheme, the terminal 43 detects the storage area in which the medical device is currently reading and writing, and avoids writing the update data into the storage area in which the medical device is currently reading and writing, so as to avoid the problem of reading and writing errors, and the medical device does not need to stop running the application program, so that the normal operation of the medical device is not affected, and the safety of the update operation is improved.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (9)

1. An application update method for a medical device, comprising:
acquiring equipment information and current version information of an application program sent by medical equipment;
acquiring updating data from a server according to the equipment information and the current version information;
acquiring a private key prestored in the medical equipment;
signing the identification information of the updating data by using the private key, so as to ensure the integrity and correctness of the updating data and avoid the updating data from being falsified or forged;
sending the signed identification information to the server;
receiving a starting password fed back by the server according to the signed identification information;
and updating the application program by using the starting password and the updating data.
2. The method of claim 1, wherein the step of obtaining the device information and the current version information of the application program transmitted by the medical device comprises:
establishing a wireless connection with the medical device;
sending an update initiation request to the medical device;
and receiving the device information and the current version information of the application program fed back by the medical device according to the update starting request.
3. The method of claim 1, wherein the step of obtaining the update data from the server according to the device information and the current version information comprises:
acquiring latest version information corresponding to the application program in a server;
determining whether the application program needs to be updated according to the latest version information and the current version information;
and when the application program needs to be updated, downloading the update data from the server.
4. The method of claim 1, wherein the step of updating the application with the launch password and the update data comprises:
starting an update program in the medical equipment by using the starting password;
determining a first storage area where an application program currently operated by the medical equipment is located through the updating program;
writing the update data in a second storage area different from the first storage area;
and controlling the updating program to update the application program according to the updating data written in the second storage area by using the starting password.
5. An electronic device, comprising: at least one processor and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the application update method of any one of claims 1-4.
6. A medical system, comprising:
the medical equipment is provided with at least one application program and a private key;
a server storing update data for updating the application program;
the terminal is used for acquiring the equipment information of the medical equipment and the current version information of the application program, acquiring the updating data from the server according to the equipment information and the current version information, acquiring a private key prestored in the medical equipment, signing the identification information of the updating data by using the private key, and sending the signed identification information to the server for ensuring the integrity and the correctness of the updating data and avoiding the updating data from being falsified or forged;
the server is also used for verifying the signed identification information and feeding back a starting password to the terminal when the verification is passed;
the terminal is further used for receiving the starting password and updating the application program of the medical equipment by using the starting password and the updating data.
7. The system according to claim 6, wherein the terminal is wirelessly connected with the medical device and is configured to send an update start request to the medical device and receive device information and current version information of the application program fed back by the medical device according to the update start request.
8. The system according to claim 6, wherein the terminal is configured to obtain latest version information corresponding to the application program in a server, determine whether the application program needs to be updated according to the latest version information and the current version information, and download the update data from the server when the application program needs to be updated.
9. The system according to claim 6, wherein the terminal is configured to start an update program in the medical device by using the start password, determine a first storage area in which an application program currently running on the medical device is located by the update program, write the update data into a second storage area different from the first storage area, and control the update program to update the application program according to the update data written in the second storage area by using the start password.
CN201810040395.6A 2018-01-16 2018-01-16 Application program updating method, device and system for medical device Active CN108268270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810040395.6A CN108268270B (en) 2018-01-16 2018-01-16 Application program updating method, device and system for medical device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810040395.6A CN108268270B (en) 2018-01-16 2018-01-16 Application program updating method, device and system for medical device

Publications (2)

Publication Number Publication Date
CN108268270A CN108268270A (en) 2018-07-10
CN108268270B true CN108268270B (en) 2021-07-06

Family

ID=62775694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810040395.6A Active CN108268270B (en) 2018-01-16 2018-01-16 Application program updating method, device and system for medical device

Country Status (1)

Country Link
CN (1) CN108268270B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200035358A1 (en) * 2018-07-27 2020-01-30 Hill-Rom Services, Inc. Apparatus and method for updating software in a patient support apparatus using a memory toggle
CN109493953B (en) 2018-11-26 2023-01-13 中国科学院深圳先进技术研究院 Medical image application information transmission method, device, equipment and medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9489496B2 (en) * 2004-11-12 2016-11-08 Apple Inc. Secure software updates
DE102012012350A1 (en) * 2012-06-22 2013-12-24 Fresenius Medical Care Deutschland Gmbh Apparatus and method for generating and displaying graphics encodings specific to medical devices and medical treatments
US20140032232A1 (en) * 2012-07-25 2014-01-30 Robert Bosch Gmbh Quality Compliance System for Refurbishment of Medical Device
CN105897480A (en) * 2016-05-11 2016-08-24 北京奇虎科技有限公司 Vehicle terminal and firmware function perfecting method thereof

Also Published As

Publication number Publication date
CN108268270A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
EP3565084B1 (en) Electronic device and method for wireless charging in electronic device
US8886124B2 (en) Communication device and communication method
JP6483696B2 (en) Application program update processing method and terminal device
CN105992306B (en) Binding method of terminal and home gateway
KR102429654B1 (en) Electronic apparatus and methof for performing authentication
EP3668761B1 (en) Method for providing smart key service and electronic device thereof
EP3499684B1 (en) Electronic device and method for controlling wireless charging
CN108268270B (en) Application program updating method, device and system for medical device
ES2961700T3 (en) Procedure for UWB transactions and electronic device for them
CN106154997B (en) Vehicle-mounted control device, terminal device, and vehicle control program updating method and system
KR20200028827A (en) Method for uwb transaction and electronic device therefor
CN104704447A (en) Using Bluetooth low energy
CN112698851B (en) Program update system, program transfer device, and program transfer method
KR20160049293A (en) Wireless charging system, wireless charging apparatus and emergency ignition method thereof
KR20190051724A (en) Device and method for controlling transactions of nfc reader with external electronic device
CN102915458B (en) A kind of induction type WiFi electronic tag with intelligent terminal interaction and read method thereof
EP2874465A1 (en) Method and system for remote equipment data installation
US11335151B2 (en) Reader and a method for controlling the reader
CN104933379A (en) Identity card information acquisition method, device and system
US11032376B2 (en) Electronic device for controlling registration session, and operation method therefor; and server, and operation method therefor
US9319883B2 (en) Card device
KR20200105302A (en) Method for wireless communication expand and electronic device thereof
KR20190066989A (en) Electronic device transmitting data obtained from an external device based on identification information of a cover device to the cover device and control method thereof
KR20150146327A (en) Wireless charging equipment, terminal, service providing device, wireless charging system comprising the same, control method thereof and computer readable medium having computer program recorded therefor
CN115562694A (en) Stylus pen upgrading method, control terminal and medium

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