CN117831697B - Safety supervision method aiming at patient experience data - Google Patents
Safety supervision method aiming at patient experience data Download PDFInfo
- Publication number
- CN117831697B CN117831697B CN202311858094.1A CN202311858094A CN117831697B CN 117831697 B CN117831697 B CN 117831697B CN 202311858094 A CN202311858094 A CN 202311858094A CN 117831697 B CN117831697 B CN 117831697B
- Authority
- CN
- China
- Prior art keywords
- patient
- data
- pixel
- image
- binary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 239000011159 matrix material Substances 0.000 claims description 19
- 238000004364 calculation method Methods 0.000 claims description 14
- 230000036760 body temperature Effects 0.000 claims description 13
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 claims description 10
- 239000008280 blood Substances 0.000 claims description 10
- 210000004369 blood Anatomy 0.000 claims description 10
- 230000036772 blood pressure Effects 0.000 claims description 10
- 229910052760 oxygen Inorganic materials 0.000 claims description 10
- 239000001301 oxygen Substances 0.000 claims description 10
- 239000000463 material Substances 0.000 claims 1
- 238000012217 deletion Methods 0.000 description 11
- 230000037430 deletion Effects 0.000 description 11
- 230000001105 regulatory effect Effects 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 6
- 238000012544 monitoring process Methods 0.000 description 6
- 238000004519 manufacturing process Methods 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 239000003814 drug Substances 0.000 description 1
- 229940079593 drug Drugs 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001225 therapeutic effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H10/00—ICT specially adapted for the handling or processing of patient-related medical or healthcare data
- G16H10/60—ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H30/00—ICT specially adapted for the handling or processing of medical images
- G16H30/20—ICT specially adapted for the handling or processing of medical images for handling medical images, e.g. DICOM, HL7 or PACS
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H30/00—ICT specially adapted for the handling or processing of medical images
- G16H30/40—ICT specially adapted for the handling or processing of medical images for processing medical images, e.g. editing
Landscapes
- Health & Medical Sciences (AREA)
- Engineering & Computer Science (AREA)
- Epidemiology (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Radiology & Medical Imaging (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
Abstract
The invention provides a safety supervision method aiming at experience data of a patient, which comprises the following steps: s1, acquiring patient data of a patient; s2, making the patient data obtained in the step S1 into patient supervision data; and S3, transmitting the patient supervision data in the step S2 to a safety supervision platform. The invention can ensure the supervision safety of the patient data.
Description
Technical Field
The invention relates to the technical field of data security, in particular to a method for supervising the data security of patient experience.
Background
Patient data refers to various information collected about a patient in the medical and health arts, including diagnostic, therapeutic, care, drug use, health status, preferences, and behavior. Such data is typically collected by medical institutions, doctors, caregivers and other medical professionals for providing better medical and care services. The importance of patient data is that it can help medical professionals better understand the condition and needs of a patient, thereby providing a more accurate and personalized medical regimen. The patient data is characterized by high sensitivity and strong privacy, so that the safety of the patient data should be ensured.
Disclosure of Invention
The invention aims at least solving the technical problems in the prior art, and particularly creatively provides a safety supervision method aiming at patient experience data.
To achieve the above object of the present invention, the present invention provides a method for monitoring and managing patient experience data safety, comprising the steps of:
s1, acquiring patient data of a patient;
s2, making the patient data acquired in the step S1 into patient supervision data.
In a preferred embodiment of the invention, in step S1, the patient data comprises one of heart rate, blood oxygen, blood pressure, body temperature or any combination of data.
In a preferred embodiment of the invention, in step S1, heart rate data of the patient is obtained by means of a heart rate bracelet;
blood oxygen data of a patient is obtained through a blood oxygen bracelet;
the blood pressure data of the patient is obtained through a blood pressure bracelet;
body temperature data the body temperature data of the patient is obtained through the body temperature bracelet.
In a preferred embodiment of the present invention, in step S2, a method of making patient data into patient regulatory data comprises the steps of:
s21, determining the type of patient data:
If the patient data is a gray scale image, executing the next step;
if the patient data is a color image, converting the color image into a gray scale image, and executing the next step;
S22, determining the azimuth angle of the patient data:
If the patient image needs to be rotated by α, then the patient image is rotated by α, α=pi/2 or pi or 3 pi/2; executing the next step;
If the patient image is to be rotated by α, then the patient image is rotated by α, α=0; then the next step is performed;
s23, determining the taking sequence of the patient images:
If a default sequence is needed, sequentially placing the pixel values of the patient into the patient text; sequentially placing the pixel values of the patients into the patient text according to a default sequence; then the next step is performed;
if the pixel values of the patient are required to be sequentially put into the patient text in a non-default order; sequentially placing the pixel values of the patient into the patient text according to a non-default sequence; then the next step is performed;
the default order is from left to right, top to bottom;
the non-default order is from right to left, top to bottom, left to right, bottom to top, right to left, bottom to top, top to bottom, right to left, bottom to top, left to right, bottom to top, right to left, and one of right to left;
s23, after all pixel point values of the patient image are put into a patient text, the patient text is patient supervision data.
In a preferred embodiment of the present invention, in step S23, the steps of:
s231, converting the pixel point value into a binary pixel point value;
s232, judging the size relation between the number of bits of the binary pixel point value and Z:
If z=z ', Z' represents the number of bits of the binary pixel value, Z represents the number of bits of the pixel value in the patient image, then executing the next step;
If Z > Z ', Z ' represents the number of bits of the binary pixel values, Z represents the number of bits of the pixel values in the patient image, then Z "0 s are added in front of the binary pixel values, Z" =z-Z '; the number of bits of the binary pixel values is equal to the number of bits of the pixel values in the patient image; executing the next step;
S233, sequentially placing Z-bit binary pixel point values into a patient text according to the sequence from left to right and from top to bottom; or sequentially placing the Z-bit binary pixel values into the patient text in the order of one of right to left, top to bottom, left to right, bottom to top, top to bottom, left to right, top to bottom, right to left, bottom to top, left to right, bottom to top, and right to left.
In a preferred embodiment of the present invention, in step S22, the method of rotating the patient image by α comprises the steps of:
S221, acquiring the number of horizontal pixels and vertical pixels of the patient image and the number of pixel value bits, respectively marking as X, Y and Z, wherein X represents the number of the horizontal pixels of the image; y represents the number of vertical pixels of the image; z represents the number of pixel value bits in the patient image;
S222, constructing an A multiplied by A pixel point matrix with the pixel value of 2 Z -1 according to the number of horizontal pixel points and the number of vertical pixel points of the patient image acquired in the step S221 and the number of pixel value bits;
S223, the pixel value at the pixel point (x, y) of the patient image is taken as the pixel value at the a×a pixel point matrix (x ', y').
In a preferred embodiment of the present invention, in step S222, the relationship between a and X, Y is:
If X is greater than or equal to Y, then A=2X+1;
if X < Y, a=2y+1.
In a preferred embodiment of the present invention, in step S223, the method of taking the pixel value at the pixel point (x, y) of the patient image as the pixel value at the a×a pixel point matrix (x ', y') is:
wherein, (x ', y') represents the pixel point after the rotation alpha at the pixel point (x, y);
(x, y) represents any point pixel point in the patient image;
(m, n) represents a rotation point;
sin represents sine;
cos α represents the cosine.
In a preferred embodiment of the present invention, in step S21, the method of converting a color image into a grayscale image is:
gray(x,y)=red(x,y)*R+green(x,y)*G+blue(x,y)*B,
Where gray (x, y) represents the pixel value at the pixel point (x, y);
x=1, 2, 3, … …, X represents the number of lateral pixels of the color image;
y=1, 2, 3, … …, Y represents the number of vertical pixels of the color image;
red (x, y) represents the red value at the pixel point (x, y);
green (x, y) represents the green value at pixel point (x, y);
blue (x, y) represents the blue value at pixel point (x, y);
r represents the red adjustment value of the color image; r is more than or equal to 0 and less than or equal to 1;
g represents a green adjustment value of the color image; g is more than or equal to 0 and less than or equal to 1;
B represents the blue tone adjustment value of the color image; b is more than or equal to 0 and less than or equal to 1;
R+G+B=1;
Or/and further comprises the step of carrying out gray code calculation on the gray image, wherein the gray code calculation method comprises the following steps:
RotateNo=Rotatecodecalculatemethod(Rotateimage),
Wherein RotateNo denotes a gray code; taking the gray code as the name of the patient text;
rotatecodecalculatemethod () represents a gray code calculation method; preferably using the MD5 algorithm;
Rotateimage denotes a gradation image.
In a preferred embodiment of the present invention, the method further comprises step S3 of transmitting the patient supervision data in step S2 to a safety supervision platform;
or/and further comprises step S4, after the safety supervision platform receives the patient supervision data, the patient supervision data are made into platform supervision patient data, and the platform supervision patient data are stored on the safety supervision platform.
In summary, by adopting the technical scheme, the invention can ensure the supervision safety of the patient data.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
Fig. 1 is a schematic block diagram of a flow of the present invention.
Fig. 2 is a schematic diagram of a heart rate data image of the present invention.
Fig. 3 is a schematic diagram of a heart rate data image of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
The invention discloses a safety supervision method for experience data of patients, which is shown in fig. 1 and comprises the following steps:
s1, acquiring patient data of a patient;
s2, making the patient data obtained in the step S1 into patient supervision data;
and S3, transmitting the patient supervision data in the step S2 to a safety supervision platform.
In a preferred embodiment of the invention, in step S1, the patient data comprises one of heart rate, blood oxygen, blood pressure, body temperature or any combination of data.
In a preferred embodiment of the invention, in step S1, heart rate data of the patient is obtained by means of a heart rate bracelet;
blood oxygen data of a patient is obtained through a blood oxygen bracelet;
the blood pressure data of the patient is obtained through a blood pressure bracelet;
body temperature data the body temperature data of the patient is obtained through the body temperature bracelet.
In a preferred embodiment of the present invention, in step S3, the transmission mode of the patient administration data to the safety administration platform comprises one of 3G, 4G, 5G, wiFi or any combination of transmissions.
In a preferred embodiment of the present invention, in step S2, a method of making patient data into patient regulatory data comprises the steps of:
s21, determining the type of patient data:
If the patient data is a gray scale image, executing the next step;
If the patient data is a color image, as shown in fig. 2, converting the color image into a gray scale image, as shown in fig. 3, and executing the next step;
S22, determining the azimuth angle of the patient data:
If the patient image needs to be rotated by α, then the patient image is rotated by α, α=pi/2 or pi or 3 pi/2; executing the next step;
If the patient image is to be rotated by α, then the patient image is rotated by α, α=0; then the next step is performed;
s23, determining the taking sequence of the patient images:
If a default sequence is needed, sequentially placing the pixel values of the patient into the patient text; sequentially placing the pixel values of the patients into the patient text according to a default sequence; then the next step is performed;
if the pixel values of the patient are required to be sequentially put into the patient text in a non-default order; sequentially placing the pixel values of the patient into the patient text according to a non-default sequence; then the next step is performed;
the default order is from left to right, top to bottom;
the non-default order is from right to left, top to bottom, left to right, bottom to top, right to left, bottom to top, top to bottom, right to left, bottom to top, left to right, bottom to top, right to left, and one of right to left;
s23, after all pixel point values of the patient image are put into a patient text, the patient text is patient supervision data.
In a preferred embodiment of the present invention, in step S23, the steps of:
s231, converting the pixel point value into a binary pixel point value;
s232, judging the size relation between the number of bits of the binary pixel point value and Z:
If z=z ', Z' represents the number of bits of the binary pixel value, Z represents the number of bits of the pixel value in the patient image, then executing the next step;
If Z > Z ', Z ' represents the number of bits of the binary pixel values, Z represents the number of bits of the pixel values in the patient image, then Z "0 s are added in front of the binary pixel values, Z" =z-Z '; the number of bits of the binary pixel values is equal to the number of bits of the pixel values in the patient image; executing the next step;
S233, sequentially placing Z-bit binary pixel point values into a patient text according to the sequence from left to right and from top to bottom; or sequentially placing the Z-bit binary pixel values into the patient text in the order of one of right to left, top to bottom, left to right, bottom to top, top to bottom, left to right, top to bottom, right to left, bottom to top, left to right, bottom to top, and right to left.
In a preferred embodiment of the present invention, in step S22, the method of rotating the patient image by α comprises the steps of:
S221, acquiring the number of horizontal pixels and vertical pixels of the patient image and the number of pixel value bits, respectively marking as X, Y and Z, wherein X represents the number of the horizontal pixels of the image; y represents the number of vertical pixels of the image; z represents the number of pixel value bits in the patient image;
S222, constructing an A multiplied by A pixel point matrix with the pixel value of 2 Z -1 according to the number of horizontal pixel points and the number of vertical pixel points of the patient image acquired in the step S221 and the number of pixel value bits;
S223, the pixel value at the pixel point (x, y) of the patient image is taken as the pixel value at the a×a pixel point matrix (x ', y').
In a preferred embodiment of the present invention, in step S222, the relationship between a and X, Y is:
If X is greater than or equal to Y, then A=2X+1;
if X < Y, a=2y+1.
In a preferred embodiment of the present invention, in step S223, the method of taking the pixel value at the pixel point (x, y) of the patient image as the pixel value at the a×a pixel point matrix (x ', y') is:
wherein, (x ', y') represents the pixel point after the rotation alpha at the pixel point (x, y);
(x, y) represents any point pixel point in the patient image;
(m, n) represents a rotation point;
sin represents sine;
cos α represents the cosine.
In a preferred embodiment of the present invention, in step S21, the method of converting a color image into a grayscale image is:
gray(x,y)=red(x,y)*R+green(x,y)*G+blue(x,y)*B,
Where gray (x, y) represents the pixel value at the pixel point (x, y);
x=1, 2, 3, … …, X represents the number of lateral pixels of the color image;
y=1, 2, 3, … …, Y represents the number of vertical pixels of the color image;
red (x, y) represents the red value at the pixel point (x, y);
green (x, y) represents the green value at pixel point (x, y);
blue (x, y) represents the blue value at pixel point (x, y);
r represents the red adjustment value of the color image; r is more than or equal to 0 and less than or equal to 1;
g represents a green adjustment value of the color image; g is more than or equal to 0 and less than or equal to 1;
B represents the blue tone adjustment value of the color image; b is more than or equal to 0 and less than or equal to 1;
R+G+B=1。
In a preferred embodiment of the present invention, in step S21, the method further includes gray code calculation for the gray image, where the gray code calculation method is as follows:
RotateNo=Rotatecodecalculatemethod(Rotateimage),
Wherein RotateNo denotes a gray code; taking the gray code as the name of the patient text;
rotatecodecalculatemethod () represents a gray code calculation method; preferably using the MD5 algorithm;
Rotateimage denotes a gradation image.
The gray code calculation may be performed on the patient image rotated by α in step S22, and the gray code calculation method may be:
RotateNo=Rotatecodecalculatemethod(Rotateimage-α),
Wherein RotateNo denotes a gray code; taking the gray code as the name of the patient text;
rotatecodecalculatemethod () represents a gray code calculation method; preferably using the MD5 algorithm;
rotateimage- α represents the patient image after rotation α.
In a preferred embodiment of the invention, after step S3, the following steps are further included:
S4, after the safety supervision platform receives the patient supervision data, the patient supervision data are manufactured into platform supervision patient data, and the platform supervision patient data are stored on the safety supervision platform.
In a preferred embodiment of the present invention, in step S4, a method of making platform administration patient data from patient administration data comprises the steps of:
S41, converting the gray code into a binary gray code;
s42, judging the bit relation between the character string and the binary gray code in the patient supervision data:
If the number of the character string bits in the patient supervision data is larger than the number of the binary gray code bits, adding a binary gray code behind the binary gray code to obtain a 1 st binary gray code; executing step S42-1;
s42-1, judging the bit number relation between the bit number of the character string in the patient supervision data and the 1 st binary gray scale code:
If the number of bits of the character string in the patient supervision data is larger than the number of bits of the 1 st binary gray code, adding a binary gray code behind the 1 st binary gray code to obtain a2 nd binary gray code; executing step S42-2;
If the number of the character string bits in the patient supervision data is equal to the number of the 1 st binary gray code, the 1 st binary gray code is the binary gray code, and step S43 is executed;
if the number of the character string bits in the patient supervision data is smaller than the number of the 1st binary gray scale code, deleting the number of the 1st binary gray scale code from the back, so that the number of the deleted 1st binary gray scale code is equal to the number of the character string bits in the patient supervision data; the 1st binary gray code after deletion is the binary gray code, and step S43 is executed;
s42-2, judging the bit number relation between the bit number of the character string in the patient supervision data and the bit number of the 2 nd binary gray scale code:
If the number of bits of the character string in the patient supervision data is larger than the number of bits of the 2 nd binary gray code, adding a binary gray code behind the 2 nd binary gray code to obtain a 3 rd binary gray code; executing step S42-3;
if the number of the character string bits in the patient supervision data is equal to the number of the bits of the 2 nd binary gray code, the 2 nd binary gray code is the binary gray code, and step S43 is executed;
If the number of the character string bits in the patient supervision data is smaller than the number of the bits of the 2 nd binary gray code, deleting the number of the bits of the 2 nd binary gray code from the back, so that the number of the bits of the 2 nd binary gray code after deletion is equal to the number of the character string bits in the patient supervision data; the 2 nd binary gray code after deletion is the binary gray code, and step S43 is executed;
S42-3, judging the bit number relation between the bit number of the character string in the patient supervision data and the 3 rd binary gray scale code:
If the number of bits of the character string in the patient supervision data is greater than the number of bits of the 3 rd binary gray code, adding a binary gray code behind the 3 rd binary gray code to obtain a4 th binary gray code; executing step S42-4;
if the number of the character string bits in the patient supervision data is equal to the number of the bits of the 3 rd binary gray code, the 3 rd binary gray code is the binary gray code, and step S43 is executed;
If the number of the character string bits in the patient supervision data is smaller than the number of the 3 rd binary gray scale codes, deleting the number of the 3 rd binary gray scale codes from the back, so that the number of the deleted 3 rd binary gray scale codes is equal to the number of the character string bits in the patient supervision data; the truncated 3 rd binary gray code is the binary gray code, and step S43 is executed; … …;
s42-q, judging the relation between the number of digits of the q-th binary gray scale code and the number of digits of the character string in the patient supervision data:
If the number of the character string bits in the patient supervision data is equal to the number of the q-th binary gray code, q=4, 5, 6, … …, the q-th binary gray code is the binary gray code, and step S43 is executed;
If the number of the character string bits in the patient supervision data is smaller than the number of the q-th binary gray scale code, deleting the number of the q-th binary gray scale code from the back, so that the number of the deleted q-th binary gray scale code is equal to the number of the character string bits in the patient supervision data; the truncated q-th binary gray code is the binary gray code, and step S43 is executed;
if the number of the character string bits in the patient supervision data is equal to the number of the binary gray code bits, executing the next step;
If the number of the character string bits in the patient supervision data is smaller than the number of the binary gray codes, deleting the number of the binary gray codes from the back, so that the number of the deleted binary gray codes is equal to the number of the character string bits in the patient supervision data; the binary gray code after the deletion is the binary gray code, and the next step is executed;
S43, performing exclusive OR operation on the binary gray code and the character string in the patient supervision data to obtain the platform supervision patient data. And the gray code in step S41 is used as an index code for the platform administration patient data to inquire the platform administration patient data.
In a preferred embodiment of the present invention, in step S4, a method of making platform administration patient data from patient administration data comprises the steps of:
S41, converting the gray code into a binary gray code;
s42, judging the bit relation between the character string and the binary gray code in the patient supervision data:
if the number of the character string bits in the patient supervision data is larger than the number of the binary gray codes, 0 is added behind the binary gray codes, so that the number of the added binary gray codes is equal to the number of the character string bits in the patient supervision data; the added binary gray code is the binary gray code, and the next step is executed;
if the number of the character string bits in the patient supervision data is equal to the number of the binary gray code bits, executing the next step;
If the number of the character string bits in the patient supervision data is smaller than the number of the binary gray codes, deleting the number of the binary gray codes from the back, so that the number of the deleted binary gray codes is equal to the number of the character string bits in the patient supervision data; the binary gray code after the deletion is the binary gray code, and the next step is executed;
S43, performing exclusive OR operation on the binary gray code and the character string in the patient supervision data to obtain the platform supervision patient data. And the gray code in step S41 is used as an index code for the platform administration patient data to inquire the platform administration patient data.
For example, assume that the character string in the patient regulatory data is 1101100110011001110100011101101101011001, the gray code is 1e9, and the gray code is hexadecimal.
In the first step, the gray code 1e9 is converted into a binary gray code 111101001.
In the second step, since the number of bits 1101100110011001110100011101101101011001 of the character string in the patient monitoring data is greater than the number of bits of the binary gray code 111101001, a binary gray code 111101001 is added behind the binary gray code 111101001, so as to obtain the 1 st binary gray code 111101001111101001.
Third, since the number of bits 1101100110011001110100011101101101011001 of the string in the patient monitoring data is greater than the number of bits 111101001111101001 of the 1 st binary gray code, a binary gray code 111101001 is added behind the 1 st binary gray code 111101001111101001 to obtain a2 nd binary gray code 111101001111101001111101001.
Fourth, since the number of bits 1101100110011001110100011101101101011001 of the string of patient regulatory data is greater than the number of bits 111101001111101001111101001 of the 2 nd binary gray code, a binary gray code 111101001 is added behind the 2 nd binary gray code 111101001111101001111101001 to obtain the 3 rd binary gray code 111101001111101001111101001111101001.
Fifth, since the number of bits of the string 1101100110011001110100011101101101011001 in the patient regulatory data is greater than the number of bits of the 3 rd binary gray code 111101001111101001111101001111101001, a binary gray code 111101001 is added behind the 3 rd binary gray code 111101001111101001111101001111101001 to obtain the 4 th binary gray code 111101001111101001111101001111101001111101001.
In the sixth step, since the number of bits of the string 1101100110011001110100011101101101011001 in the patient regulatory data is smaller than the number of bits of the 4 th binary gray code 111101001111101001111101001111101001111101001, the number of bits of the 4 th binary gray code 111101001111101001111101001111101001111101001 is truncated from the back so that the number of bits of the truncated 4 th binary gray code is equal to the number of bits of the string in the patient regulatory data, and the truncated 4 th binary gray code is 1111010011111010011111010011111010011111.
And seventh, performing the same or operation on the binary gray code 1111010011111010011111010011111010011111 and the character string 1101100110011001110100011101101101011001 in the patient supervision data to obtain the platform supervision patient data 1101001010011100010100110001101000111001.
Or in the first step, the gray code 1e9 is converted into a binary gray code 111101001.
In the second step, since the number of bits of the character string 1101100110011001110100011101101101011001 in the patient monitoring data is greater than the number of bits of the binary gray code 111101001, 0 is added behind the binary gray code 111101001, so that the number of bits of the added binary gray code is equal to the number of bits of the character string in the patient monitoring data, and the added binary gray code is 1111010010000000000000000000000000000000.
And thirdly, performing the same or operation on the binary gray code 1111010010000000000000000000000000000000 and the character string 1101100110011001110100011101101101011001 in the patient supervision data to obtain the platform supervision patient data 1101001011100110001011100010010010100110.
In a preferred embodiment of the present invention, when the computer PC side is to view patient data, the method comprises the following steps:
s51, inquiring the platform supervision patient data corresponding to the index code through the index code, and downloading the inquired platform supervision patient data to a PC (personal computer) end;
S52, the computer PC end analyzes the patient data monitored by the platform to obtain patient image data, and displays the patient image data, so that a viewer can analyze the patient image data conveniently.
In a preferred embodiment of the present invention, in step S52, the method for analyzing the platform administration patient data to obtain patient image data comprises the steps of:
S521, converting the index code into a binary index code;
S522, converting the binary index code into a binary index code with the number of digits consistent with the number of digits of the patient data under platform supervision;
s523, performing exclusive OR operation on the binary index code and the platform supervision patient data to obtain a computer-side image data character string;
S524, constructing an A X A pixel matrix, adding the image data character strings of the computer end into the A X A pixel matrix according to Z groups and a default order or a non-default order to obtain a pixel value matrix, and converting the pixel value matrix into a visual image to obtain the image data of the patient. The method further comprises the step of rotating the visualized image by alpha by using an image rotating tool to obtain image data of the patient.
In a preferred embodiment of the present invention, the method of converting the binary index code into an index code having a number of bits consistent with the number of bits of the patient data under platform supervision in step S522 comprises the steps of:
Judging the bit number relation between the character string and the binary index code in the patient data monitored by the platform:
if the number of the character string bits in the patient data monitored by the platform is larger than the number of the binary index codes, adding a binary index code behind the binary index codes to obtain a1 st binary index code; step S5221 is performed;
S5221, judging the bit relation between the bit number of the character string in the patient data and the 1 st binary index code by the platform supervision:
if the number of bits of the character string in the patient data is greater than the number of bits of the 1 st binary index code, adding a binary index code behind the 1 st binary index code to obtain a2 nd binary index code; step S5222 is performed;
If the number of the character string bits in the platform supervision patient data is equal to the number of the 1 st binary index code, the 1 st binary index code is the binary index code, and step S523 is executed;
If the number of the character string bits in the platform supervision patient data is smaller than the number of the 1 st binary index code, deleting the number of the 1 st binary index code from the back, so that the number of the 1 st binary index code after deletion is equal to the number of the character string bits in the platform supervision patient data; the 1 st binary index code after deletion is the binary index code, and step S523 is executed;
s5222, judging the bit relation between the bit number of the character string in the patient data and the bit number of the 2 nd binary index code by the platform supervision:
if the number of bits of the character string in the patient data is greater than the number of bits of the 2 nd binary index code, adding a binary index code behind the 2 nd binary index code to obtain a3 rd binary index code; step S5223 is performed;
If the number of the character string bits in the platform supervision patient data is equal to the number of the bits of the 2 nd binary index code, the 2 nd binary index code is the binary index code, and step S523 is executed;
If the number of the character string bits in the platform supervision patient data is smaller than the number of the bits of the 2 nd binary index code, deleting the number of the bits of the 2 nd binary index code from the back, so that the number of the bits of the 2 nd binary index code after deletion is equal to the number of the character string bits in the platform supervision patient data; the 2 nd binary index code after deletion is the binary index code, and step S523 is executed;
S5223, judging the bit number relation between the bit number of the character string in the patient data and the 3 rd binary index code by the platform supervision:
If the number of bits of the character string in the patient data monitored by the platform is larger than the number of bits of the 3 rd binary index code, adding a binary index code behind the 3 rd binary index code to obtain a 4 th binary index code; step S5224 is performed;
If the number of the character string bits in the platform supervision patient data is equal to the number of the 3 rd binary index code, the 3 rd binary index code is the binary index code, and step S523 is executed;
If the number of the character string bits in the platform supervision patient data is smaller than the number of the 3 rd binary index codes, deleting the number of the 3 rd binary index codes from the back, so that the number of the deleted 3 rd binary index codes is equal to the number of the character string bits in the platform supervision patient data; the pruned 3 rd binary index code is the binary index code, and step S523 is executed; … …;
S522Q, judging the relation between the number of digits of the Q binary index code and the number of digits of the character string in the platform supervision patient data:
If the number of the character string bits in the platform supervision patient data is equal to the number of the Q-th binary index code, q=4, 5, 6, … …, the Q-th binary index code is the binary index code, and step S523 is executed;
if the number of the character string bits in the platform supervision patient data is smaller than the number of the bits of the Q-th binary index code, deleting the number of the bits of the Q-th binary index code from the back, so that the number of the deleted Q-th binary index code is equal to the number of the character string bits in the platform supervision patient data; the truncated Q-th binary index code is the binary index code, and step S523 is performed;
If the number of the character string bits in the patient data monitored by the platform is equal to the number of the binary index codes, executing the next step;
if the number of the character string bits in the platform supervision patient data is smaller than the number of the binary index codes, deleting the number of the binary index codes from the back, so that the number of the deleted binary index codes is equal to the number of the character string bits in the platform supervision patient data; the binary index code after deletion is the binary index code, and the next step is executed;
In a preferred embodiment of the present invention, in step S522, the method for analyzing the platform supervision patient data to obtain patient image data is as follows:
Judging the bit number relation between the character string and the binary index code in the patient data monitored by the platform:
If the number of the character string bits in the patient data monitored by the platform is larger than the number of the binary index codes, 0 is added at the back of the binary index codes, so that the number of the added binary index codes is equal to the number of the character string bits in the patient data monitored by the platform; the added binary index code is the binary index code, and the next step is executed;
If the number of the character string bits in the patient data monitored by the platform is equal to the number of the binary index codes, executing the next step;
if the number of the character string bits in the platform supervision patient data is smaller than the number of the binary index codes, deleting the number of the binary index codes from the back, so that the number of the deleted binary index codes is equal to the number of the character string bits in the platform supervision patient data; the binary index code after deletion is the binary index code, and the next step is executed;
For example, assume that the string in the platform administration patient data is 1101001011100110001011100010010010100110, the index code is 1e9, and the index code is hexadecimal.
In the first step, the index code 1e9 is converted into a binary index code 111101001.
In the second step, since the number of bits of the character string 1101001011100110001011100010010010100110 in the platform supervision patient data is greater than the number of bits of the binary index code 111101001, a binary index code 111101001 is added behind the binary index code 111101001, so as to obtain the 1 st binary index code 111101001111101001.
Third, since the number of bits 1101001011100110001011100010010010100110 of the string in the platform supervision patient data is greater than the number of bits 111101001111101001 of the 1 st binary index code, a binary index code 111101001 is added behind the 1 st binary index code 111101001111101001 to obtain a2 nd binary index code 111101001111101001111101001.
Fourth, since the number of bits 1101001011100110001011100010010010100110 of the string in the platform administration patient data is greater than the number of bits 111101001111101001111101001 of the 2 nd binary index code, a binary index code 111101001 is added to the rear of the 2 nd binary index code 111101001111101001111101001, and the 3 rd binary index code 111101001111101001111101001111101001 is obtained.
Fifth, since the number of bits of the string 1101001011100110001011100010010010100110 in the platform-administered patient data is greater than the number of bits of the 3 rd binary index code 111101001111101001111101001111101001, a binary index code 111101001 is added to the rear of the 3 rd binary index code 111101001111101001111101001111101001 to obtain the 4 th binary index code 111101001111101001111101001111101001111101001.
In the sixth step, since the number of bits of the string 1101001011100110001011100010010010100110 in the platform-regulated patient data is smaller than the number of bits of the 4 th binary index code 111101001111101001111101001111101001111101001, the number of bits of the 4 th binary index code 111101001111101001111101001111101001111101001 is truncated from the back, so that the number of bits of the truncated 4 th binary index code is equal to the number of bits of the string in the platform-regulated patient data, and the truncated 4 th binary index code is 1111010011111010011111010011111010011111.
Seventh, the binary index code 1111010011111010011111010011111010011111 and the character string 1101001011100110001011100010010010100110 in the patient data are processed by the same or operation to obtain the computer-side image data character string 1101100110011001110100011101101101011001.
Or in the first step, the index code 1e9 is converted into the binary index code 111101001.
In the second step, since the number of bits of the character string 1101001011100110001011100010010010100110 in the platform administration patient data is greater than the number of bits of the binary index code 111101001, 0 is added behind the binary index code 111101001, so that the number of bits of the added binary index code is equal to the number of bits of the character string in the platform administration patient data, and the added binary index code is 1111010010000000000000000000000000000000.
And thirdly, performing the same or operation on the binary index code 1111010010000000000000000000000000000000 and the character string 1101001011100110001011100010010010100110 in the patient data under platform supervision to obtain the computer-side image data character string 1101100110011001110100011101101101011001.
In a preferred embodiment of the present invention, step S524 is to construct an a×a pixel matrix, put the computer-side image data string into the a×a pixel matrix according to Z groups together, and put the pixel matrix into the a×a pixel matrix according to a default order or a non-default order, so as to obtain a pixel value matrix, convert the pixel value matrix into a visual image, and perform image code calculation on the visual image to obtain an image code, where the image code calculation method is as follows:
RNo=Rcodecalculatemethod(Rimage),
Wherein RNo denotes an image code;
Rcodecalculatemethod () represents an image code calculation method; preferably using the MD5 algorithm;
Rimage represents a visual image;
judging whether the image code is consistent with the index code or not:
If the image code is consistent with the index code, rotating the visualized image by using an image rotating tool, wherein-alpha, -alpha is-pi/2 or-pi or-3 pi/2, and obtaining patient image data;
if the image code is inconsistent with the index code, the platform corresponding to the index code is downloaded again to supervise the patient data.
The invention also discloses a safety supervision system for the patient experience data, which comprises the wearable bracelet and a safety supervision platform, wherein the patient data monitored by the wearable bracelet is manufactured into patient supervision data, and the patient supervision data is transmitted to the safety supervision platform.
In a preferred embodiment of the invention, the wearable bracelet comprises a wearable bracelet body, the wearable bracelet is used for monitoring patient data of a patient, the patient data comprise one or any combination of heart rate, blood oxygen, blood pressure and body temperature, a wireless transmission module is arranged in the wearable bracelet body, and the wireless transmission module comprises one or any combination of 3G, 4G and 5G, wiFi.
In a preferred embodiment of the invention, when the data is transmitted for WiFi, the data is directly transmitted to the safety supervision platform;
when switching to one of 3G, 4G and 5G transmission data, the transmission data is compressed and then transmitted to the safety supervision platform, and the compression mode adopts one of zip, rar and 7z for compression.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the invention, the scope of which is defined by the claims and their equivalents.
Claims (5)
1. A method of securely supervising experience data for a patient, comprising the steps of:
s1, acquiring patient data of a patient; the patient data includes one or any combination of heart rate, blood oxygen, blood pressure, and body temperature data;
S2, making the patient data acquired in the step S1 into patient supervision data, wherein the method for making the patient data into the patient supervision data comprises the following steps of:
s21, determining the type of patient data:
If the patient data is a gray scale image, executing the next step;
if the patient data is a color image, converting the color image into a gray scale image, and executing the next step;
S22, determining the azimuth angle of the patient data:
If it is necessary to rotate the patient image Then rotate the patient image/>,/>=Pi/2 or pi or 3 pi/2; executing the next step;
If the patient image is required to be rotated Then rotate the patient image/>,/>=0; Then the next step is performed; rotating patient imagesThe method of (1) comprises the following steps:
s221, obtaining the number of horizontal pixel points and vertical pixel points of the patient image and the number of pixel value bits, which are respectively recorded as And/>/>,/>Representing the number of the transverse pixels of the image; /(I)The number of longitudinal pixel points of the image is represented; /(I)Representing the number of pixel value bits in the patient image;
s222, constructing pixel values as according to the numbers of the horizontal pixel points and the vertical pixel points of the patient image obtained in the step S221 and the number of the pixel value bits />×/>A matrix of pixel points;
s223, the patient image pixel points Pixel value at/>×/>Pixel matrix/>Pixel values at;
s23, determining the taking sequence of the patient images:
If a default sequence is needed, sequentially placing the pixel values of the patient into the patient text; sequentially placing the pixel values of the patients into the patient text according to a default sequence; then the next step is performed;
if the pixel values of the patient are required to be sequentially put into the patient text in a non-default order; sequentially placing the pixel values of the patient into the patient text according to a non-default sequence; then the next step is performed;
the default order is from left to right, top to bottom;
the non-default order is from right to left, top to bottom, left to right, bottom to top, right to left, bottom to top, top to bottom, right to left, bottom to top, left to right, bottom to top, right to left, and one of right to left;
S23, after all pixel point values of the patient image are put into a patient text, the patient text is patient supervision data; the method for putting all pixel values of the patient image into the patient text comprises the following steps:
s231, converting the pixel point value into a binary pixel point value;
S232, judging the bit number and the bit number of the binary pixel point value Size relationship between:
If it is =/>,/>Bit number representing binary pixel value,/>Representing the number of pixel value digits in the patient image, and executing the next step;
If it is >/>,/>Bit number representing binary pixel value,/>Representing the number of pixel value bits in the patient image, the/>, is increased in front of the binary pixel values0,/>=/>-/>; The number of bits of the binary pixel values is equal to the number of bits of the pixel values in the patient image; executing the next step;
S233, arranging the materials in the sequence from left to right and from top to bottom Sequentially placing the bit binary pixel point values into a patient text; or will/>, in order from right to left, top to bottom, left to right, bottom to top, right to left, bottom to top, top to bottom, left to top, top to bottom, right to left, bottom to top, left to right, bottom to top, right to leftSequentially placing the bit binary pixel point values into a patient text;
s3, transmitting the patient supervision data in the step S2 to a safety supervision platform;
S4, after the safety supervision platform receives the patient supervision data, the patient supervision data are manufactured into platform supervision patient data, and the platform supervision patient data are stored on the safety supervision platform.
2. The method of claim 1, wherein in step S1, the heart rate data is obtained from the patient via a heart rate bracelet;
blood oxygen data of a patient is obtained through a blood oxygen bracelet;
the blood pressure data of the patient is obtained through a blood pressure bracelet;
body temperature data the body temperature data of the patient is obtained through the body temperature bracelet.
3. The method of claim 1, wherein, in step S222,And/>、/>The relation between the two is:
If it is ≥/>Then/>=/>;
If it is</>Then/>=/>。
4. The method of claim 1, wherein in step S223, patient image pixels are used to monitor patient experience dataPixel value at/>×/>Pixel matrix/>The method of pixel values at this point is:
,
Wherein, Representing pixel points/>The meridian rotation/>A pixel point;
Representing any point pixel in the patient image;
representing a rotation point;
Representing sine;
representing cosine.
5. The method of claim 1, wherein in step S21, the method of converting the color image into the grayscale image is:
,
Wherein, Expressed in pixel/>Pixel values at;
=1、2、3、……、/>,/> The number of the transverse pixel points of the color image is represented;
=1、2、3、……、/>,/> the number of vertical pixel points of the color image is represented;
Expressed in pixel/> Red value at;
Expressed in pixel/> Green value at;
Expressed in pixel/> Blue value at;
red adjustment values representing color images; 0.ltoreq./> ≤1;
A green adjustment value representing a color image; 0.ltoreq./>≤1;
A blue tone adjustment value representing a color image; 0.ltoreq./>≤1;
+/>+/>=1;
Or/and further comprises the step of carrying out gray code calculation on the gray image, wherein the gray code calculation method comprises the following steps:
,
Wherein, Representing a gray code; taking the gray code as the name of the patient text;
A method for calculating a representation gray code;
A gray scale image is represented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311858094.1A CN117831697B (en) | 2023-12-29 | 2023-12-29 | Safety supervision method aiming at patient experience data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311858094.1A CN117831697B (en) | 2023-12-29 | 2023-12-29 | Safety supervision method aiming at patient experience data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117831697A CN117831697A (en) | 2024-04-05 |
CN117831697B true CN117831697B (en) | 2024-06-18 |
Family
ID=90520334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311858094.1A Active CN117831697B (en) | 2023-12-29 | 2023-12-29 | Safety supervision method aiming at patient experience data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117831697B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110459328A (en) * | 2019-07-05 | 2019-11-15 | 梁俊 | A kind of Clinical Decision Support Systems for assessing sudden cardiac arrest |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1355484B1 (en) * | 2002-04-17 | 2017-03-01 | Canon Kabushiki Kaisha | Image compression method and apparatus, and image coding method and apparatus |
CN117058535A (en) * | 2023-07-18 | 2023-11-14 | 长江师范学院 | High-precision intelligent forest pine wood nematode disease identification method |
CN117012344B (en) * | 2023-09-04 | 2024-05-21 | 南京诺源医疗器械有限公司 | Image analysis method for 4CMOS camera acquisition |
-
2023
- 2023-12-29 CN CN202311858094.1A patent/CN117831697B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110459328A (en) * | 2019-07-05 | 2019-11-15 | 梁俊 | A kind of Clinical Decision Support Systems for assessing sudden cardiac arrest |
Non-Patent Citations (1)
Title |
---|
基于物联网的放疗患者安全监护***应用研究;倪昕晔;周晓曦;季智勇;;中国医疗设备;20180510(第05期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN117831697A (en) | 2024-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5321800A (en) | Graphical language methodology for information display | |
CN105184239A (en) | Ward auxiliary medical-care system and auxiliary medical-care method based on facial expression recognition of patients | |
CN105725992A (en) | Home-based aged care monitoring system and method | |
US20050196023A1 (en) | Method for real-time remote diagnosis of in vivo images | |
CN106102571A (en) | Patient monitor and intervention/event timeline | |
EP4020489A1 (en) | Multi-parameter monitoring device data analysis report generation method and system | |
CN110648295A (en) | Image analysis-based preoperative examination and user terminal interaction system and method for orthopedics department | |
CN104573385A (en) | Robot system for acquiring data of sickrooms | |
CN117831697B (en) | Safety supervision method aiming at patient experience data | |
CN115191990A (en) | Cough detection method and system based on wearable device | |
CN117789905B (en) | Doctor-patient experience data working platform based on big data analysis | |
CN110811638A (en) | SVM classifier construction method, system and method for monitoring sleep | |
WO2020133432A1 (en) | Display method, and monitoring device and system for early warning score | |
JP2022037153A (en) | Electrocardiogram analysis device, electrocardiogram analysis method, and program | |
CN116844733B (en) | Medical data integrity analysis method based on artificial intelligence | |
US20200043585A1 (en) | Patient status monitor with visually strong patient status display | |
KR101788034B1 (en) | System and method for patient monitoring | |
US20200168332A1 (en) | Display system for medical information and method for generating display content | |
CN211324950U (en) | Data center, terminal equipment and system for processing mammary gland data | |
Motozuka et al. | Acquisition of device information for medical devices using optical character recognition (OCR) | |
KR101596274B1 (en) | Remote health check system using mobile devices | |
CN104887204A (en) | NFC based monitoring and inspection system | |
JP3113378U (en) | Patient monitoring device | |
CN204839449U (en) | Thing networking monitor | |
JP7510708B1 (en) | PROGRAM, STORAGE MEDIUM, INFORMATION PROCESSING APPARATUS AND INFORMATION PROCESSING METHOD |
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 |