CN109758629B - Dialysis data transmission method, device, equipment and storage medium - Google Patents

Dialysis data transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN109758629B
CN109758629B CN201811463921.6A CN201811463921A CN109758629B CN 109758629 B CN109758629 B CN 109758629B CN 201811463921 A CN201811463921 A CN 201811463921A CN 109758629 B CN109758629 B CN 109758629B
Authority
CN
China
Prior art keywords
dialysis
encrypted
data
dialysis data
character
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
CN201811463921.6A
Other languages
Chinese (zh)
Other versions
CN109758629A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811463921.6A priority Critical patent/CN109758629B/en
Publication of CN109758629A publication Critical patent/CN109758629A/en
Application granted granted Critical
Publication of CN109758629B publication Critical patent/CN109758629B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a dialysis data transmission method, a dialysis data transmission device, dialysis data transmission equipment and a storage medium. The method comprises the following steps: the data acquisition equipment responds to a dialysis instruction triggered by the dialysis equipment, extracts identity information of a patient undergoing dialysis from the dialysis instruction, and sends a block creation request carrying the identity information to a dialysis data management server; in the dialysis process, the data acquisition equipment acquires dialysis data to be encrypted, which is uploaded by the dialysis equipment, and encrypts the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data; the data acquisition equipment transmits the encrypted dialysis data and the identity information to the dialysis data management server, so that the dialysis data management server stores the encrypted dialysis data into the storage block corresponding to the identity information according to the identity information. The scheme is realized based on cryptography, and authenticity and integrity of dialysis data are effectively guaranteed.

Description

Dialysis data transmission method, device, equipment and storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for transmitting dialysis data.
Background
With the improvement of living standard, people enjoy life and have various problems due to the influence of various factors such as working pressure, daily work and rest, eating habits and the like. Among them, the problem of Chronic Kidney Disease (CKD) is particularly significant. Hemodialysis is a common treatment for chronic kidney disease.
However, most of data generated in the hemodialysis process still stay in paper records at present, however, in the manual recording process, the recorded dialysis data is often missed and wrong due to negligence of medical staff, and the integrity of the dialysis data cannot be guaranteed at all. Moreover, due to the existence of the disadvantage, part of medical institutions can modify dialysis data of patients at will in order to increase benefits, which causes the dialysis data to be easily tampered, and the authenticity of the dialysis data cannot be guaranteed.
Therefore, it is desirable to provide a method that can guarantee the authenticity and integrity of dialysis data.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a dialysis data transmission method, a dialysis data transmission device, dialysis data transmission equipment and a storage medium, and aims to ensure the authenticity and integrity of dialysis data.
To achieve the above object, the present invention provides a dialysis data transmission method, comprising the steps of:
the method comprises the steps that a data acquisition device responds to a dialysis instruction triggered by a dialysis device, identity information of a patient undergoing dialysis is extracted from the dialysis instruction, and a block creation request carrying the identity information is sent to a dialysis data management server, so that the dialysis data management server creates a storage block for storing dialysis data generated by the patient in each link in a dialysis process according to the identity information;
in the dialysis process, the data acquisition equipment acquires dialysis data to be encrypted, which is uploaded by the dialysis equipment, and encrypts the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data;
the data acquisition equipment transmits the encrypted dialysis data and the identity information to the dialysis data management server, so that the dialysis data management server stores the encrypted dialysis data into the storage block corresponding to the identity information according to the identity information.
Preferably, before encrypting the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data, the method further includes:
the data acquisition equipment carries out narrow-band processing on the dialysis data to be encrypted to obtain the dialysis data to be encrypted in a narrow-band Internet of things format;
wherein, the data acquisition equipment is right treat treating encrypting the dialysis data and carry out the narrowband and handle, obtain treating encrypting the dialysis data of narrowband thing networking format, include:
the data acquisition equipment decodes the dialysis data to be encrypted according to a wireless communication network decoding rule;
and the data acquisition equipment encodes the decoded dialysis data to be encrypted according to a preset narrowband Internet of things encoding rule to obtain the narrowband Internet of things grid-type dialysis data to be encrypted.
Preferably, before the data acquisition device transmits the encrypted dialysis data and the identity information to the dialysis data management server, the method further includes:
the data acquisition equipment performs hash processing on the dialysis data to be encrypted by adopting a hash function to obtain a hash value of the dialysis data to be encrypted;
wherein the data acquisition device transmits the encrypted dialysis data and the identity information to the dialysis data management server, including:
and the data acquisition equipment transmits the encrypted dialysis data, the identity information and the hash value to the dialysis data management server, so that the dialysis data management server judges whether the dialysis data to be encrypted is complete or not according to the hash value after decrypting the encrypted dialysis data to obtain the dialysis data to be encrypted.
Preferably, before the data collection device transmits the encrypted dialysis data and the identity information to the dialysis data management server, the method further includes:
the data acquisition equipment checks each character in the dialysis data to be encrypted to obtain a check value of each character;
wherein the data acquisition device transmits the encrypted dialysis data and the identity information to the dialysis data management server, comprising:
and the data acquisition equipment transmits the encrypted dialysis data, the identity information and the check value of each character to the dialysis data management server, so that the dialysis data management server judges whether the dialysis data to be encrypted is complete or not according to the check value of each character after decrypting the encrypted dialysis data to obtain the dialysis data to be encrypted.
Preferably, the data acquisition device verifies each character in the dialysis data to be encrypted to obtain a verification value of each character, including:
the data acquisition equipment adopts a cyclic redundancy check method to traverse each character in the dialysis data to be encrypted, and the traversed current character and a preset initial value are subjected to exclusive OR processing to obtain a check value of the current character.
Preferably, the encryption algorithm is a symmetric encryption algorithm;
the encrypting the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data includes:
the data acquisition equipment allocates a corresponding encryption key to each character in the dialysis data to be encrypted;
the data acquisition equipment traverses each character in the dialysis data to be encrypted, and encrypts the current character according to the traversed encryption key of the current character based on the symmetric encryption algorithm to obtain the encrypted character of the current character;
the data acquisition equipment sequentially acquires each encrypted character, and the encrypted dialysis data is acquired according to all the acquired encrypted characters.
Preferably, the data acquisition device assigns a corresponding encryption key to each character in the dialysis data to be encrypted, and the method includes:
the data acquisition equipment acquires current system time as an encryption timestamp, and allocates a corresponding serial number to each character in the dialysis data to be encrypted, wherein the serial number is used for identifying the position of the corresponding character in the dialysis data to be encrypted;
and the data acquisition equipment generates an encryption key of the character corresponding to the serial number according to the encryption timestamp and the serial number corresponding to each character.
In addition, to achieve the above object, the present invention also provides a dialysis data transmission apparatus, including:
the identity information extraction module is used for responding to a dialysis instruction triggered by the dialysis equipment and extracting identity information of a patient undergoing dialysis from the dialysis instruction;
the block creation request sending module is used for sending a block creation request carrying the identity information to a dialysis data management server so that the dialysis data management server creates a storage block for storing dialysis data generated by the patient in each link in the dialysis process according to the identity information;
the encryption module is used for acquiring dialysis data to be encrypted uploaded by the dialysis equipment in a dialysis process, and encrypting the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data;
and the transmission module is used for transmitting the encrypted dialysis data and the identity information to the dialysis data management server so that the dialysis data management server stores the encrypted dialysis data into the storage block corresponding to the identity information according to the identity information.
In addition, to achieve the above object, the present invention also proposes a dialysis data transmission apparatus, including: a memory, a processor and a transmission program of dialysis data stored on said memory and executable on said processor, said transmission program of dialysis data being configured to implement the steps of the transmission method of dialysis data as described above.
In addition, in order to achieve the above object, the present invention further provides a storage medium having stored thereon a transmission program of dialysis data, which when executed by a processor, implements the steps of the transmission method of dialysis data as described above.
According to the dialysis data transmission scheme provided by the invention, in the dialysis process, the data acquisition equipment encrypts dialysis data to be encrypted uploaded by the dialysis equipment through a preset encryption algorithm to obtain encrypted dialysis data, and then the obtained encrypted dialysis data and the identity information of a patient are transmitted to the dialysis data management server together, so that the dialysis data management server can store the encrypted dialysis data into the storage block corresponding to the identity information according to the identity information carried in the encrypted dialysis data. Through utilizing the block chain and the cryptography matched with mode for the transmission operation of treating the encryption dialysis data can go on in step with the dialysis process, is carrying out the in-process of dialysis promptly, and data acquisition equipment alright can encrypt the produced dialysis data of treating the encryption of present dialysis link, will wait to encrypt the encryption dialysis data that dialysis data corresponds and upload the dialysis data management server in real time and save. In addition, because at the dialysis in-process, medical personnel can't break off dialysis equipment, therefore can't treat to encrypt the dialysis data and modify, therefore the effectual authenticity of guaranteeing the dialysis data.
Drawings
Fig. 1 is a schematic configuration diagram of a dialysis data transmission device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a dialysis data transmission method according to a first embodiment of the present invention;
FIG. 3 is a schematic flow chart of a dialysis data transmission method according to a second embodiment of the present invention;
fig. 4 is a block diagram showing the configuration of the dialysis data transmission apparatus according to the first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a transmission device for dialysis data in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the dialysis data transmission apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (Wi-FIi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the dialysis data transmission apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a storage medium, may include therein an operating system, a data storage module, a network communication module, a user interface module, and a transmission program of dialysis data.
In the dialysis data transmission apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with the dialysis data management server and the dialysis apparatus; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the transmission apparatus of dialysis data of the present invention may be provided in the transmission apparatus of dialysis data, which calls the transmission program of dialysis data stored in the memory 1005 by the processor 1001 and performs the transmission method of dialysis data provided by the embodiment of the present invention.
An embodiment of the present invention provides a method for transmitting dialysis data, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a method for transmitting dialysis data according to the present invention.
In this embodiment, the method for transmitting dialysis data includes the following steps:
step S10: the data acquisition equipment responds to a dialysis instruction triggered by dialysis equipment, extracts identity information of a patient undergoing dialysis from the dialysis instruction, and sends a block creation request carrying the identity information to a dialysis data management server, so that the dialysis data management server creates a storage block for storing dialysis data generated by the patient in each link in a dialysis process according to the identity information.
Specifically, the data acquisition device may be a data acquisition unit disposed inside each dialysis device, or an external data acquisition unit communicatively connected to each dialysis device (for example, connected through wireless communication methods such as Wi-FIi and bluetooth).
The dialysis apparatus is various apparatuses required to be involved in the dialysis treatment process, such as weighing devices (electronic scales capable of communicating with the data acquisition apparatus) required to be used before and after dialysis, dialysis machines (hemodialysis machine if hemodialysis, peritoneal dialysis machine if peritoneal dialysis, colon dialysis machine if colon dialysis) required to be used in the dialysis process, and blood pressure devices required to be used before, during and after dialysis, which are not listed here any more and are not limited at all.
The dialysis command may be a http format request, a Json format request, or other agreed request format. A certain field in the request carries identity information of the patient undergoing dialysis treatment, such as name, age, gender, identification number, dialysis type (such as hemodialysis, peritoneal dialysis, colon dialysis or other types of dialysis), etc., which can be specifically set according to needs, and is not limited herein.
In addition, the dialysis data management server may be a server for storing dialysis data generated when patients with chronic kidney disease who are nationwide undergo dialysis, such as a physical server or a virtual cloud server.
Here, a virtual cloud server having a large data storage amount and occupying no actual physical space is preferable.
In addition, in the embodiment, the storage block for storing the dialysis data of each patient in the treatment process is created according to the identity information of each patient, so that the data of each patient is stored independently, and therefore medical staff, the patient himself or other researchers can conveniently check the dialysis data in the dialysis process.
Step S20: in the dialysis process, the data acquisition equipment acquires dialysis data to be encrypted uploaded by the dialysis equipment, and encrypts the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data.
It should be noted that the dialysis data to be encrypted in this embodiment is dialysis data generated by the dialysis apparatus during dialysis, and this data is parameter information for reflecting the current dialysis condition and body state of the dialysis patient, and the dialysis data at this time is not subjected to any encryption processing.
Furthermore, a hemodialysis session generally requires about 4-5 hours of dialysis time, and thus different dialysis data (i.e., dialysis data to be encrypted) are generated at different times during the session, such as blood urea concentration, calcium, phosphorus change value, hemoglobin, serum parathyroid hormone, blood pressure, etc. at different times.
Because the dialysis data to be encrypted is generated in different time periods, the operation of encrypting the dialysis data to be encrypted based on the preset encryption algorithm in the scheme is to encrypt the dialysis data to be encrypted generated at each moment, namely, the dialysis data to be encrypted is encrypted in real time in the dialysis process, rather than encrypting a dialysis file of the dialysis data to be encrypted generated in the whole dialysis process after the dialysis is finished.
Through the processing mode of dialysis and encryption, other people can be well prevented from tampering dialysis data, and therefore authenticity of the dialysis data is effectively guaranteed.
For convenience of understanding, in the embodiment, an encryption algorithm symmetric encryption algorithm, such as a DES encryption algorithm, is taken as an example, and a process of "encrypting the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data" is specifically described, where an implementation flow of the process is substantially as follows:
first, each character in the dialysis data to be encrypted is assigned with a corresponding encryption key.
And traversing each character in the dialysis data to be encrypted, and encrypting the current character according to the traversed encryption key of the current character based on the symmetric encryption algorithm to obtain the encrypted character of the current character.
And finally, sequentially acquiring each encrypted character, and acquiring the encrypted dialysis data according to all the acquired encrypted characters.
For convenience of understanding, the embodiment provides a specific manner for assigning a corresponding encryption key to each character in the dialysis data to be encrypted, and specifically includes: and distributing a corresponding serial number for each character in the dialysis data to be encrypted by acquiring the current system time as an encryption timestamp, and then generating an encryption key of the character corresponding to the serial number according to the encryption timestamp and the serial number corresponding to each character.
It should be noted that the serial number is mainly used to identify the position of the corresponding character in the dialysis data to be encrypted, so that even if the sequence of the characters is disturbed in the subsequent encryption transmission process, the dialysis data management server can restore each character to the original position according to the serial number corresponding to each character.
In addition, it should be understood that the above is only given as an implementation manner of a specific encryption algorithm, and the technical solution of the present invention is not limited thereto, and in the specific implementation, a person skilled in the art may select a suitable encryption algorithm as needed, and is not limited herein.
In addition, since the use of the DES encryption algorithm is mature, a person skilled in the art can search relevant data for implementation of a specific encryption process of the DES encryption algorithm, and details are not described herein.
Step S30: the data acquisition equipment transmits the encrypted dialysis data and the identity information to the dialysis data management server, so that the dialysis data management server stores the encrypted dialysis data into the storage block corresponding to the identity information according to the identity information.
In addition, it is worth mentioning that in the specific implementation, in order to ensure the integrity of the transmitted dialysis data (i.e., the dialysis data to be encrypted obtained from the dialysis equipment), data loss or abnormality caused by network problems or other abnormal conditions in the transmission process is avoided, and the data cannot be used afterwards. Before the encrypted dialysis data and the identity information are transmitted to the dialysis data management server, a corresponding check identifier can be generated according to the dialysis data to be encrypted, and then when the encrypted dialysis data and the identity information are transmitted to the dialysis data management server, the obtained check identifier is transmitted to the dialysis data management server, so that the dialysis data management server can check the decrypted dialysis data to be encrypted according to the check identifier to determine whether the obtained dialysis data to be encrypted is complete.
Since there are various ways to verify the integrity of dialysis data, two specific ways of verifying are given in this embodiment for convenience of illustration.
Mode 1:
firstly, hashing the dialysis data to be encrypted by adopting a hash function to obtain a hash value of the dialysis data to be encrypted.
Then, the encrypted dialysis data, the identity information and the hash value are transmitted to the dialysis data management server, so that the dialysis data management server can judge whether the dialysis data to be encrypted is complete or not according to the hash value after decrypting the encrypted dialysis data to obtain the dialysis data to be encrypted.
Mode 2:
firstly, each character in the dialysis data to be encrypted is verified to obtain a verification value of each character.
And then, transmitting the encrypted dialysis data, the identity information and the check value of each character to the dialysis data management server, so that the dialysis data management server judges whether the dialysis data to be encrypted is complete or not according to the check value of each character after decrypting the encrypted dialysis data to obtain the dialysis data to be encrypted.
Specifically, in the manner 2, the check value of each character may be obtained by traversing each character in the dialysis data to be encrypted by using a cyclic redundancy check method, and performing xor processing on the traversed current character and a preset initial value to obtain the check value of the current character.
It should be noted that, the above descriptions are only two ways of producing verification information, and the technical solution of the present invention is not limited at all, and in the specific implementation, a person skilled in the art may select an appropriate verification way according to needs, and is not limited herein.
In addition, it should be noted that, since the present embodiment is described by using a data acquisition device as an execution subject, for convenience of explanation, the execution subject is omitted in the description of the above partial steps, but understanding of the solution is not affected.
As can be easily found from the above description, in the dialysis process, the data acquisition device encrypts the dialysis data to be encrypted, which is uploaded by the dialysis device, based on the preset encryption algorithm to obtain encrypted dialysis data, and then transmits the obtained encrypted dialysis data and the identity information of the patient to the dialysis data management server together, so that the dialysis data management server can store the encrypted dialysis data in the storage block corresponding to the identity information according to the identity information carried in the encrypted dialysis data. Through utilizing the block chain and the cryptography matched with mode for the transmission operation of treating the encryption dialysis data can go on in step with the dialysis process, is carrying out the in-process of dialysis promptly, and data acquisition equipment alright can encrypt the produced dialysis data of treating the encryption of present dialysis link, will wait to encrypt the encryption dialysis data that dialysis data corresponds and upload the dialysis data management server in real time and save. In addition, because at the dialysis in-process, medical personnel can't break off dialysis equipment, therefore can't treat to encrypt the dialysis data and modify, therefore the effectual authenticity of guaranteeing the dialysis data.
In addition, before the encrypted dialysis data and the identity information of the patient are transmitted to the dialysis data management server, the dialysis data management server can judge whether the dialysis data to be encrypted is complete according to the received hash value or the check value of each character after decrypting the encrypted dialysis data to obtain the dialysis data to be encrypted by calculating the hash value of the dialysis data to be encrypted or calculating the check value of each character in the dialysis data to be encrypted and then transmitting the encrypted dialysis data, the identity information of the patient and the obtained hash value or the check value of each character to the dialysis data management server together, so that the integrity of the dialysis data can be ensured.
Referring to fig. 3, fig. 3 is a schematic flow chart of a dialysis data transmission method according to a second embodiment of the present invention.
Based on the first embodiment, in the transmission method of dialysis data in this embodiment, before encrypting the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data, narrowband processing needs to be performed on the dialysis data to be encrypted to obtain the dialysis data to be encrypted in a narrowband internet of things format, and then the dialysis data to be encrypted in a narrowband internet of things format is encrypted based on the preset encryption algorithm to obtain the encrypted dialysis data.
For convenience of explanation, step S20 is replaced with step S20 'in the present embodiment, and step S20' is subdivided into three substeps, which are shown in detail in fig. 3.
In step S201, during dialysis, the data acquisition device acquires dialysis data to be encrypted, which is uploaded by the dialysis device.
In step S202, the data acquisition device performs narrowband processing on the dialysis data to be encrypted to obtain the dialysis data to be encrypted in a narrowband internet of things format.
Specifically, in the process of performing narrow-band processing on the dialysis data to be encrypted to obtain the dialysis data to be encrypted in the narrow-band internet of things format, the dialysis data to be encrypted is decoded according to a wireless communication network decoding rule, and then the decoded dialysis data to be encrypted is encoded according to a preset narrow-band internet of things encoding rule to obtain the dialysis data to be encrypted in the narrow-band internet of things format.
It should be understood that the wireless communication network may be one or more of infrared wireless communication network, wi-FIi wireless communication network, Z-WAVE (a wireless networking specification) wireless communication network, loRa (an ultra-long distance wireless transmission mode based on spread spectrum technology, mainly operating in global free frequency band) wireless communication network, bluetooth wireless communication network, zigBee (a low power consumption local area network protocol) wireless communication network, and the like.
Because each kind of wireless communication network can correspond to different wireless communication protocols, and the decoding rules of different wireless communication protocols are different, in order to ensure that the dialysis data to be encrypted can be smoothly converted into the narrow-band Internet of things grid-type dialysis data to be encrypted, the corresponding wireless communication network decoding rules need to be preset according to the wireless communication network used between the data acquisition equipment and the dialysis data management server.
In addition, the narrowband internet of things encoding rule can be preset by a person skilled in the art according to needs, and is not limited here.
In step S203, the data acquisition device encrypts the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data.
It should be understood that the dialysis data to be encrypted that is encrypted as described above is the obtained dialysis data to be encrypted in the narrow-band internet-of-things grid.
For ease of understanding, the narrowband internet of things is described generally as follows:
in particular, narrowband Band Internet of Things (NB-IoT) is one of many technologies of Low Power Wide Area Network (LPWA), which can support cellular data connection of Low Power devices in a Wide Area Network.
In addition, the narrowband Internet of things is accessed to a network through E-UTRA (a 3G technology used for ensuring the competitiveness, high data rate and low delay of land wireless access) by using 180KHz uplink and downlink bandwidths, so that the narrowband Internet of things can be directly deployed in a GSM (global system for mobile communications) network or an LTE (long term evolution) network.
It should be noted that, the GSM network, which we generally refer to as global system for mobile communications, is called as: global System for Mobile Communications, commonly known as "Global System", is a Mobile communication technology standard originating in europe, and is a second generation Mobile communication technology, and the development purpose of the Global System is to enable all parts of the world to commonly use one Mobile phone network standard, so that users can use one Mobile phone to go around the world.
The technical standard is introduced in China in the early 90 s of the 20 th century, and the cellular analog mobile technology, namely the first-generation GSM technology, is adopted until now (the analog mobile network is closed in China in 12 and 31 th of 2001). At present, china Mobile and China Unicom respectively have a GSM network, which is the largest mobile communication network in the world. The GSM system includes GSM 900:900MHz, GSM1800:1800MHz and GSM-1900:1900MHz, etc.
LTE (Long Term Evolution) is a Long Term Evolution of UMTS (Universal Mobile Telecommunications System) technical standard established by 3GPP (The 3rd Generation Partnership Project), which was formally established and initiated at 3GPP multi-toronto conference in 12 months in 2004.
Regarding the related technologies involved in the narrowband internet of things, those skilled in the art can search related data by themselves to implement the related technologies, and details are not described here.
It is not difficult to find out through the above description that the transmission method of dialysis data provided in this embodiment encrypts dialysis data to be encrypted based on a preset encryption algorithm, before the encrypted dialysis data is obtained, narrowband processing is performed on the dialysis data to be encrypted by using a narrowband internet of things technology, so as to obtain the dialysis data to be encrypted in a narrowband internet of things format, thereby realizing the combination of a wireless communication network and a narrowband internet of things, enabling the wireless communication network to smoothly join the internet, and utilizing the advantages of low power consumption and wide coverage of the narrowband internet of things, thereby greatly reducing the electric power required for the subsequent transmission of the encrypted dialysis data to a dialysis data management server, reducing the damage of the electric power, and saving the implementation cost.
Furthermore, an embodiment of the present invention further provides a storage medium, on which a transmission program of dialysis data is stored, and the transmission program of dialysis data implements the steps of the transmission method of dialysis data as described above when executed by a processor.
Referring to fig. 4, fig. 4 is a block diagram illustrating a first embodiment of a dialysis data transmission apparatus according to the present invention.
As shown in fig. 4, a dialysis data transmission device according to an embodiment of the present invention includes: an identity information extraction module 4001, a block creation request sending module 4002, an encryption module 4003 and a transmission module 4004.
The identity information extraction module 4001 is configured to extract, in response to a dialysis instruction triggered by a dialysis apparatus, identity information of a patient undergoing dialysis from the dialysis instruction.
A block creation request sending module 4002, configured to send a block creation request carrying the identity information to a dialysis data management server, so that the dialysis data management server creates a storage block for storing dialysis data generated by the patient in each link in a dialysis process according to the identity information.
The encryption module 4003 is configured to acquire dialysis data to be encrypted, which is uploaded by the dialysis device, during a dialysis process, and encrypt the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data.
Specifically, the encryption algorithm used in this embodiment is specifically a symmetric encryption algorithm, such as a DES encryption algorithm.
Correspondingly, when the encryption algorithm is the DES encryption algorithm, the specific implementation flow of "encrypting the dialysis data to be encrypted based on the preset encryption algorithm to obtain the encrypted dialysis data" executed by the encryption module 4003 is substantially as follows:
first, each character in the dialysis data to be encrypted is assigned with a corresponding encryption key.
And traversing each character in the dialysis data to be encrypted, and encrypting the current character according to the traversed encryption key of the current character based on the symmetric encryption algorithm to obtain the encrypted character of the current character.
And finally, sequentially acquiring each encrypted character, and acquiring the encrypted dialysis data according to all the acquired encrypted characters.
For convenience of understanding, the embodiment provides a specific manner for assigning a corresponding encryption key to each character in the dialysis data to be encrypted, and specifically includes: and distributing a corresponding serial number for each character in the dialysis data to be encrypted by acquiring the current system time as an encryption timestamp, and then generating an encryption key of the character corresponding to the serial number according to the encryption timestamp and the serial number corresponding to each character.
It should be noted that the serial number is mainly used to identify the position of the corresponding character in the dialysis data to be encrypted, so that even if the sequence of the characters is disturbed in the subsequent encryption transmission process, the dialysis data management server can restore each character to the original position according to the serial number corresponding to each character.
In addition, it should be understood that the above is only given as an implementation manner of a specific encryption algorithm, and the technical solution of the present invention is not limited thereto, and in the specific implementation, a person skilled in the art may select a suitable encryption algorithm as needed, and is not limited herein.
In addition, since the use of the DES encryption algorithm is mature, regarding the specific encryption process of the DES encryption algorithm, a person skilled in the art can search related data by himself to implement the encryption process, and details are not described herein.
A transmission module 4004, configured to transmit the encrypted dialysis data and the identity information to the dialysis data management server, so that the dialysis data management server stores the encrypted dialysis data in the storage block corresponding to the identity information according to the identity information.
In addition, it is worth mentioning that, in a specific implementation, in order to ensure the integrity of the dialysis data (i.e., the dialysis data to be encrypted acquired from the dialysis equipment), the transmission device for dialysis data provided in this embodiment may further include a dialysis data verification identifier generation module.
Because there are various ways to verify the integrity of the dialysis data, for convenience of description, two specific verification ways are provided in this embodiment, and thus the dialysis data verification identifier generation module may specifically include a hash value generation sub-module of the dialysis data and a verification value generation sub-module of the character.
Correspondingly, the generation manners of the check marks corresponding to different sub-modules are also different, and the following description is made specifically.
And the hash value generation submodule of the dialysis data is used for carrying out hash processing on the dialysis data to be encrypted by adopting a hash function to obtain the hash value of the dialysis data to be encrypted.
Correspondingly, when the encrypted dialysis data and the identity information are transmitted, the transmission module 4004 also transmits the obtained hash value to the dialysis data management server together, so that the dialysis data management server decrypts the encrypted dialysis data to obtain the dialysis data to be encrypted, and then judges whether the dialysis data to be encrypted is complete according to the hash value.
And the character check value generation submodule is used for checking each character in the dialysis data to be encrypted to obtain the check value of each character.
Correspondingly, when the transmission module 4004 transmits the encrypted dialysis data and the identity information, the obtained check value of each character is also transmitted to the dialysis data management server, so that the dialysis data management server decrypts the encrypted dialysis data to obtain the dialysis data to be encrypted, and then judges whether the dialysis data to be encrypted is complete according to the check value of each character.
Further, in this embodiment, when the check value generation submodule of the character checks each character in the dialysis data to be encrypted to obtain the check value of each character, specifically, the cyclic redundancy check method is adopted to traverse each character in the dialysis data to be encrypted, and the traversed current character is subjected to xor processing with a preset initial value to obtain the check value of the current character.
It should be noted that the above is only an example, and the technical solution of the present invention is not limited, and those skilled in the art can make the setting as needed, and the present invention is not limited herein.
Through the above description, it is not difficult to find that, in the transmission device for dialysis data provided in this embodiment, in the dialysis process, the data acquisition device encrypts dialysis data to be encrypted uploaded by the dialysis device based on a preset encryption algorithm to obtain encrypted dialysis data, and then transmits the obtained encrypted dialysis data and the identity information of the patient to the dialysis data management server together, so that the dialysis data management server can store the encrypted dialysis data in the storage block corresponding to the identity information according to the identity information carried in the encrypted dialysis data. Through utilizing block chain and cryptography matched with mode for the transmission operation of treating the encryption dialysis data can go on in step with the dialysis process, is promptly carrying out the in-process of dialyzing, data acquisition equipment alright with treat the encryption dialysis data encryption with what present dialysis link produced, will treat the encryption dialysis data that the encryption dialysis data corresponds and upload the dialysis data management server in real time and save. In addition, because at the dialysis in-process, medical personnel can't break off dialysis equipment, therefore can't treat to encrypt the dialysis data and modify, therefore the effectual authenticity of guaranteeing the dialysis data.
In addition, before the encrypted dialysis data and the identity information of the patient are transmitted to the dialysis data management server, by calculating the hash value of the dialysis data to be encrypted or calculating the check value of each character in the dialysis data to be encrypted, and then transmitting the encrypted dialysis data, the identity information of the patient and the obtained hash value or the check value of each character to the dialysis data management server together, the dialysis data management server can judge whether the dialysis data to be encrypted is complete or not according to the received hash value or the check value of each character after decrypting the encrypted dialysis data to obtain the dialysis data to be encrypted, so that the integrity of the dialysis data can be ensured.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment can be referred to the transmission method of dialysis data provided in any embodiment of the present invention, and are not described herein again.
Based on the first embodiment of the dialysis data transmission device described above, a second embodiment of the dialysis data transmission device of the present invention is proposed.
In this embodiment, the transmission device of dialysis data further includes a narrowband processing module. And the narrow-band processing module is used for carrying out narrow-band processing on the dialysis data to be encrypted to obtain the dialysis data to be encrypted in a narrow-band Internet of things format.
Specifically, the operation of the narrowband processing module to perform narrowband processing on the dialysis data to be encrypted specifically includes: firstly, the dialysis data to be encrypted is decoded according to a wireless communication network decoding rule, and then the decoded dialysis data to be encrypted is encoded according to a preset narrowband Internet of things encoding rule, so that the narrowband Internet of things grid-type dialysis data to be encrypted is obtained.
Through the above description, it is not difficult to discover, the transmission device of the dialysis data that provides in this embodiment, based on predetermined encryption algorithm, treat to encrypt the dialysis data and encrypt, before obtaining to encrypt the dialysis data, treat to encrypt the dialysis data through utilizing narrowband internet of things technique and carry out narrowband processing, obtain the dialysis data of treating to encrypt of narrowband internet of things format, realized combining together wireless communication network and narrowband internet of things, make wireless communication network joining in the internet that can be smooth, utilize narrowband internet of things low-power consumption, the advantage of wide coverage, required electric power when subsequent will encrypt the dialysis data and transmit to the dialysis data management server has been greatly reduced, the damage of electric power has been reduced, and the implementation cost is saved.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment can be referred to the transmission method of dialysis data provided in any embodiment of the present invention, and are not described herein again.
Further, it is to be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A method of transmitting dialysis data, the method comprising:
the method comprises the steps that a data acquisition device responds to a dialysis instruction triggered by a dialysis device, identity information of a patient undergoing dialysis is extracted from the dialysis instruction, and a block creation request carrying the identity information is sent to a dialysis data management server, so that the dialysis data management server creates a storage block for storing dialysis data generated by the patient in each link in a dialysis process according to the identity information;
in the dialysis process, the data acquisition equipment acquires dialysis data to be encrypted, which is uploaded by the dialysis equipment, and encrypts the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data;
the data acquisition equipment transmits the encrypted dialysis data and the identity information to the dialysis data management server so that the dialysis data management server stores the encrypted dialysis data into the storage block corresponding to the identity information according to the identity information;
the encryption algorithm is a symmetric encryption algorithm;
the encrypting the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data includes:
the data acquisition equipment allocates a corresponding encryption key to each character in the dialysis data to be encrypted;
the data acquisition equipment traverses each character in the dialysis data to be encrypted, and encrypts the current character according to the traversed encryption key of the current character based on the symmetric encryption algorithm to obtain the encrypted character of the current character;
the data acquisition equipment sequentially acquires each encrypted character, and the encrypted dialysis data is acquired according to all the acquired encrypted characters;
the data acquisition equipment distributes a corresponding encryption key for each character in the dialysis data to be encrypted, and the data acquisition equipment comprises:
the data acquisition equipment acquires current system time as an encryption timestamp, and allocates a corresponding serial number to each character in the dialysis data to be encrypted, wherein the serial number is used for identifying the position of the corresponding character in the dialysis data to be encrypted;
the data acquisition equipment generates an encryption key of the character corresponding to the serial number according to the encryption timestamp and the serial number corresponding to each character;
the serial number is used for identifying the position of the corresponding character in the dialysis data to be encrypted, so that in the subsequent encryption transmission process, if the sequence of the characters is disordered, the dialysis data management server restores each character to the original position according to the serial number corresponding to each character.
2. The method of claim 1, wherein before the dialysis data to be encrypted is encrypted based on a preset encryption algorithm to obtain encrypted dialysis data, the method further comprises:
the data acquisition equipment carries out narrow-band processing on the dialysis data to be encrypted to obtain the dialysis data to be encrypted in a narrow-band Internet of things format;
wherein, the data acquisition equipment carries out narrow-band processing to the dialysis data of treating encrypting, obtains the dialysis data of treating encrypting of narrowband thing networking format, includes:
the data acquisition equipment decodes the dialysis data to be encrypted according to a wireless communication network decoding rule;
and the data acquisition equipment encodes the decoded dialysis data to be encrypted according to a preset narrowband Internet of things encoding rule to obtain the narrowband Internet of things grid-type dialysis data to be encrypted.
3. The method of claim 1, wherein prior to the data collection device transmitting the encrypted dialysis data and the identity information to the dialysis data management server, the method further comprises:
the data acquisition equipment performs hash processing on the dialysis data to be encrypted by adopting a hash function to obtain a hash value of the dialysis data to be encrypted;
wherein the data acquisition device transmits the encrypted dialysis data and the identity information to the dialysis data management server, comprising:
and the data acquisition equipment transmits the encrypted dialysis data, the identity information and the hash value to the dialysis data management server, so that the dialysis data management server judges whether the dialysis data to be encrypted is complete or not according to the hash value after decrypting the encrypted dialysis data to obtain the dialysis data to be encrypted.
4. The method of claim 1, wherein prior to the data collection device transmitting the encrypted dialysis data and the identity information to the dialysis data management server, the method further comprises:
the data acquisition equipment checks each character in the dialysis data to be encrypted to obtain a check value of each character;
wherein the data acquisition device transmits the encrypted dialysis data and the identity information to the dialysis data management server, comprising:
and the data acquisition equipment transmits the encrypted dialysis data, the identity information and the check value of each character to the dialysis data management server, so that the dialysis data management server judges whether the dialysis data to be encrypted is complete or not according to the check value of each character after decrypting the encrypted dialysis data to obtain the dialysis data to be encrypted.
5. The method of claim 4, wherein the data acquisition device verifies each character in the dialysis data to be encrypted to obtain a verification value for each character, comprising:
the data acquisition equipment adopts a cyclic redundancy check method to traverse each character in the dialysis data to be encrypted, and the traversed current character and a preset initial value are subjected to exclusive OR processing to obtain a check value of the current character.
6. A device for transmitting dialysis data, the device comprising:
the identity information extraction module is used for responding to a dialysis instruction triggered by the dialysis equipment and extracting identity information of a patient undergoing dialysis from the dialysis instruction;
the block creation request sending module is used for sending a block creation request carrying the identity information to a dialysis data management server so that the dialysis data management server creates a storage block for storing dialysis data generated by the patient in each link in the dialysis process according to the identity information;
the encryption module is used for acquiring dialysis data to be encrypted uploaded by the dialysis equipment in a dialysis process, and encrypting the dialysis data to be encrypted based on a preset encryption algorithm to obtain encrypted dialysis data, wherein the encryption algorithm is a symmetric encryption algorithm;
the transmission module is used for transmitting the encrypted dialysis data and the identity information to the dialysis data management server so that the dialysis data management server stores the encrypted dialysis data into the storage block corresponding to the identity information according to the identity information;
the encryption module is further configured to assign a corresponding encryption key to each character in the dialysis data to be encrypted; traversing each character in the dialysis data to be encrypted, and encrypting the current character according to the traversed encryption key of the current character based on the symmetric encryption algorithm to obtain the encrypted character of the current character; sequentially acquiring each encrypted character, and acquiring the encrypted dialysis data according to all the acquired encrypted characters;
the encryption module is further configured to obtain current system time as an encryption timestamp, assign a corresponding serial number to each character in the dialysis data to be encrypted, and the serial number is used to identify a position of the corresponding character in the dialysis data to be encrypted; the data acquisition equipment generates an encryption key of the character corresponding to the serial number according to the encryption timestamp and the serial number corresponding to each character; the serial number is used for identifying the position of the corresponding character in the dialysis data to be encrypted, so that in the subsequent encryption transmission process, if the sequence of the characters is disturbed, the dialysis data management server restores each character to the original position according to the serial number corresponding to each character.
7. A dialysis data transmission apparatus, characterized in that the apparatus comprises: memory, a processor and a transmission program of dialysis data stored on said memory and executable on said processor, said transmission program of dialysis data being configured to implement the steps of the transmission method of dialysis data according to any one of claims 1 to 5.
8. A storage medium, on which a transmission program of dialysis data is stored, the transmission program of dialysis data implementing the steps of the transmission method of dialysis data according to any one of claims 1 to 5 when executed by a processor.
CN201811463921.6A 2018-11-30 2018-11-30 Dialysis data transmission method, device, equipment and storage medium Active CN109758629B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811463921.6A CN109758629B (en) 2018-11-30 2018-11-30 Dialysis data transmission method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811463921.6A CN109758629B (en) 2018-11-30 2018-11-30 Dialysis data transmission method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109758629A CN109758629A (en) 2019-05-17
CN109758629B true CN109758629B (en) 2023-03-21

Family

ID=66451147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811463921.6A Active CN109758629B (en) 2018-11-30 2018-11-30 Dialysis data transmission method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109758629B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602080A (en) * 2019-09-06 2019-12-20 广东宝莱特医用科技股份有限公司 Data transmission method, system and equipment for hemodialysis machine
CN111143889B (en) * 2019-12-26 2023-05-26 腾讯科技(深圳)有限公司 Block chain-based stimulant detection information management method, device and equipment
DE102022106311A1 (en) 2022-03-17 2023-09-21 B.Braun Avitum Ag Monitoring device, monitoring system, monitoring method, computer program and computer-readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101720268B1 (en) * 2015-10-26 2017-03-27 (주)아이알엠 Medical Imaging Cloud Database Building and Reading Method for Protecting Patient Information
CN106991334B (en) * 2016-11-24 2021-03-02 创新先进技术有限公司 Data access method, system and device
CN106603400B (en) * 2017-02-14 2023-04-07 长沙零冰电子科技有限公司 Data transmission method and gateway based on narrowband Internet of things
TWI637280B (en) * 2017-05-16 2018-10-01 緯創資通股份有限公司 Monitoring method based on internet of things, fog computing terminal and internet of things system
CN108039192A (en) * 2017-12-14 2018-05-15 中国船舶重工集团公司第七六研究所 A kind of peritoneal dialysis data managing method

Also Published As

Publication number Publication date
CN109758629A (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN104852925B (en) Mobile intelligent terminal anti-data-leakage secure storage, backup method
CN109758629B (en) Dialysis data transmission method, device, equipment and storage medium
Liu et al. Smart attacks against intelligent wearables in people-centric internet of things
CN105981327B (en) Safety communicating method and equipment and the multimedia device for using this method and equipment
CN102882847B (en) Secure digital (SD)-password-card-based secure communication method of Internet of things healthcare service system
CN106101068B (en) Terminal communicating method and system
US20220353085A1 (en) Secure distributed information system for public device authentication
US20100045425A1 (en) data transmission of sensors
CN110086608A (en) User authen method, device, computer equipment and computer readable storage medium
CN107615396A (en) Clinical data transmission and data sharing in equipment control
CN106797317A (en) Secure shared key shared system and method
CN107959663A (en) One kind utilizes the encrypted internet diagnosis and therapy system of patient identification information and method
CN104253689B (en) Subscriber card verifying dynamic password method and system based on Quick Response Code
AL-mawee Privacy and security issues in IoT healthcare applications for the disabled users a survey
CN102595389B (en) A kind of method and system of MTC server shared key
CN104756458A (en) Method and apparatus for securing a connection in a communications network
CA3090703A1 (en) Configuration systems and methods for secure operation of networked transducers
CN109587142B (en) Data security access module and equipment for service flow
CN105376059B (en) The method and system of application signature is carried out based on electron key
CN107995143A (en) Medical imaging treating method and apparatus
CN111614670A (en) Method and device for sending encrypted file and storage medium
CN103347248B (en) A kind of based on identity identifying method trans-regional on handheld terminal
CN113347010B (en) Mutual authentication method and system based on SSL-TLS protocol
CN105430635A (en) Card-changing method, device and system for mobile terminal, and mobile terminal
US11517690B2 (en) Information processing method and apparatus

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