Medical information calling system based on emergency request

Through the user terminal press button and fingerprint verification, combined with the primary and backup strategy of the edge cloud platform and the weighted polling algorithm of the central cloud platform, the problems of untimely information transmission and insufficient system stability in the existing first aid system are solved, and the convenience is achieved Reliable first aid request processing and efficient and stable system operation.

CN119207739AInactive Publication Date: 2024-12-27NINGBO YIXIN DISINFECTION SERVICE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411221610.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-12-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing emergency system cannot send complete information in a timely manner in the event of sudden disease. The method of seeking help is cumbersome and relies on the active behavior of the patient. The load of the central control center is too large and the processing delay is caused, and the system is insufficient. Especially when the central control center fails. paralysis.

Method used

Design a medical information retrieval system based on first aid request, including user terminal, edge cloud platform and central cloud platform. User terminal sends first aid request by pressing a button and verifying it through fingerprint collaborative verification. Edge cloud platform adopts the main and standby strategy and cross-addition The decryption algorithm ensures information security, and the central cloud platform improves response efficiency through weighted polling algorithms.

Benefits of technology

The simple and reliable way to ask for help improves the response efficiency of first aid requests and system stability, avoids the problem that users cannot send information in a timely manner and system failures caused by emergencies, and ensures the continuous and stable operation of the edge cloud platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119207739A_ABST
    Figure CN119207739A_ABST
Patent Text Reader

Abstract

The invention discloses a medical information calling system based on an emergency request. The medical information calling system comprises a user terminal, an edge cloud platform and a central cloud platform, the user terminal monitors vital signs of a user in real time, analyzes the surrounding environment, switches working modes of a sensing unit and a verification unit, provides three first-aid request modes including active pressing of the user, assisted pressing of other people and self-requesting of the terminal, and ensures that the user can call for help in time under various emergencies; the central cloud platform controls all the edge cloud platforms, three central cloud servers are configured, the central cloud servers are selected by turns through a weighted polling algorithm to respond to the emergency request and generate a delegation instruction, the response efficiency of the emergency request is improved, and system processing delay is avoided; the edge cloud platform is provided with two edge cloud servers, the calling request is responded by adopting a main and standby strategy, and user cases are fed back to the central cloud platform, so that the system stability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of medical information processing, and in particular to a medical information retrieval system based on emergency request. Background Art

[0002] With the continuous advancement of urbanization, most young children in most families work outside, resulting in a large number of empty-nest elderly people. Most of the elderly suffer from chronic diseases such as heart disease, hypertension, diabetes, etc. At the same time, Alzheimer's disease accounts for a large proportion of the elderly. Studies have shown that the probability of death from sudden heart disease in the elderly is extremely high. Therefore, it is necessary to design a rapid emergency medical system for patients with sudden illness.

[0003] The existing invention patent with publication number CN116341846A proposes a method and system for residents to call for emergency help. First aid information is sent through personal terminals. The central control center sends request information to each volunteer terminal based on the first aid information. After receiving the request information, the volunteer sends a confirmation message through the volunteer terminal. The central control center determines that the volunteer sends the first rescue information based on the confirmation information, so that the volunteer can quickly go to the patient's location for first aid, effectively avoiding the deterioration of the patient's condition.

[0004] The existing technology sends emergency information through personal terminals. However, patients with sudden illnesses often do not have enough time or ability to send complete emergency information such as name, location, mobile phone number and illness condition. The way to ask for help is cumbersome and relies on the patient's active behavior. At the same time, the central control center is responsible for the emergency requests of all residents in a large area. When the load is too large, it will cause high processing delays, delaying precious emergency time. Finally, if the central control center fails, the system of the existing technology will be completely paralyzed and the system stability is insufficient. Summary of the invention

[0005] The purpose of the present invention is to provide a medical information retrieval system based on emergency request, so as to provide a simple and reliable way of asking for help and an efficient and stable emergency system.

[0006] The technical solution to achieve the purpose of the present invention is:

[0007] A medical information retrieval system based on emergency request, comprising: a user terminal, an edge cloud platform and a central cloud platform;

[0008] The user terminal sends an emergency request when the preset conditions are met. U ,ID D ],p} to the central cloud platform;

[0009] The edge cloud platform is based on the identity number ID in the call request U Query the ciphertext case and obtain the user case C through the cross decryption algorithmU (ID H ) and feeds back to the central cloud platform to execute the delegated instruction {p,C U}, and adopt the master-slave strategy to control the operation of the edge cloud platform;

[0010] Central cloud platform responds to emergency requests {[ID U ,ID D ],p}, call and summarize the user cases C on the edge cloud platform U (ID H ) Generate user summary case C U , select the edge cloud platform through the fastest rescue strategy and send the delegation instruction {p,C U}.

[0011] Further, the user terminal includes an activation unit, a sensing unit, a verification unit, a monitoring unit, a scanning unit, a prompting unit, a display unit, a central control unit, a request unit and a storage unit;

[0012] The activation unit generates an activation tag and builds a registration sequence [ID U ,ID D ], encrypted registration sequence [ID U ,ID D ]Generate registration ciphertext;

[0013] The sensing unit has a built-in pressure sensor and fingerprint sensor to obtain the pressing pressure and user fingerprint, and transmit the pressing pressure and / or user fingerprint to the verification unit based on different working modes;

[0014] The verification unit selects different preset conditions for verification based on different working modes. When the verification passes, an active abnormality tag is generated and transmitted to the central control unit;

[0015] The monitoring unit monitors the user's vital signs in real time, and determines whether to generate a passive abnormal tag based on the user's vital signs and transmits it to the central control unit;

[0016] The scanning unit scans the surrounding environment to generate a scanned image, identifies whether there are other people in the surrounding environment, sets an environmental tag and transmits it to the central control unit;

[0017] The prompt unit continuously emits voice prompts to remind people to press the designated pressing area;

[0018] The display unit always displays the designated pressing area when the user terminal is turned on;

[0019] The central control unit intelligently controls the other units;

[0020] The request unit obtains the user location p through GPS and extracts the registration sequence [ID U ,ID D], build a rescue request {[ID U ,ID D ],p} and transmit to the central cloud platform;

[0021] The storage unit stores the registration sequence [ID U ,ID D ] and preset fingerprints.

[0022] Furthermore, the activation unit obtains the user's registration information and generates an identity number ID by processing the registration information through a first hash function. U , based on the identity number ID U and device ID D Build Registration Sequence [ID U ,ID D ], encrypted registration sequence [ID U ,ID D ]Generate a registration ciphertext and an activation request tag, and transmit the activation request tag and the registration ciphertext to the central control unit and the central cloud platform respectively.

[0023] Furthermore, the sensor unit sets three working modes, including activation mode, normal mode and emergency mode:

[0024] The sensing unit in the activation mode turns off the pressure sensor, passively acquires the preset fingerprint and transmits it to the storage unit, and then switches to the normal mode;

[0025] The sensing unit in the normal mode passively acquires the pressing pressure and the verification fingerprint, and transmits the pressing pressure and the verification fingerprint to the verification unit;

[0026] The sensing unit in emergency mode turns off the fingerprint sensor, passively acquires the pressing pressure and transmits it to the verification unit, and then switches to normal mode.

[0027] Furthermore, the verification unit sets two working modes, including normal mode and emergency mode:

[0028] The verification unit in the normal mode generates an active abnormal tag and transmits it to the central control unit when the default preset condition is met. The default preset condition is that the pressing pressure is greater than or equal to the first threshold and the matching degree between the verification fingerprint and the preset fingerprint is greater than or equal to the second threshold;

[0029] When the verification unit in emergency mode meets the emergency preset conditions, it generates an active abnormal tag and transmits it to the central control unit. The emergency preset conditions are that the pressing pressure is greater than or equal to the first threshold, and then switches to normal mode.

[0030] Furthermore, the monitoring unit monitors the user's vital signs in real time to determine whether an abnormal state occurs. If an abnormal state occurs, a passive abnormal tag is generated and transmitted to the central control unit.

[0031] Furthermore, the scanning unit has a built-in high-definition camera that scans the surrounding environment to generate a scanned image, identifies whether there are other people in the scanned image, sets environmental tags and transmits them to the central control unit.

[0032] Furthermore, the central control unit intelligently controls the remaining units, including:

[0033] The central control unit obtains the activation request tag, starts the sensor unit and sends the activation tag synchronously;

[0034] The central control unit obtains the active abnormality tag and starts the request unit;

[0035] The central control unit only obtains passive anomaly tags, starts the scanning unit, obtains environmental tags, and controls the corresponding units based on the environmental analysis strategy.

[0036] Furthermore, the central control unit executes the following environmental analysis strategies:

[0037] If the environment tag indicates that there is no one around, the request unit is started;

[0038] If the environmental tag indicates that there are other people in the surrounding environment, an emergency tag is generated and sent to the sensing unit and the verification unit, the prompt unit is started, and the waiting time is set. If an active abnormal tag is obtained during the waiting time, the request unit is started and the prompt unit is closed. If only passive abnormal tags are continuously obtained at the end of the waiting time, the request unit is started and the prompt unit is closed.

[0039] Furthermore, the edge cloud platform includes a master-slave switching module and two edge cloud servers;

[0040] The master-slave switching module executes the master-slave strategy to switch the master-slave relationship between the two edge cloud servers;

[0041] The edge cloud server responds to the call request and determines whether there is an ID U If the ciphertext case exists, the cross decryption algorithm is used to decrypt the case to obtain the user case C U (ID H ) and feedback to the central cloud platform.

[0042] Furthermore, the edge cloud server includes a verification response unit, a retrieval unit, an encryption storage unit, and an instruction execution unit;

[0043] The verification response unit obtains the call request and uses the public key to decrypt the call request to obtain the identity number ID U and transmitting the retrieval unit;

[0044] Retrieval unit based on ID U Query the encrypted storage unit to determine whether there is an identity number ID UThe ciphertext case is decrypted using the cross-decryption algorithm and the ID number U Consistent ciphertext case, obtain user case C U (ID H ) and feed back to the central cloud platform;

[0045] The encrypted storage unit encrypts the user case C through a cross encryption algorithm U (ID H ) Generate a ciphertext case, corresponding to the stored identity number ID U with ciphertext cases;

[0046] The instruction execution unit obtains the delegated instruction {p,C U}, based on the delegation instruction {p,C U}Dispatch medical personnel to the user's location for rescue.

[0047] Furthermore, the master-slave switching module executes the master-slave strategy including:

[0048] Setting up a primary edge cloud server and a secondary edge cloud server;

[0049] All units of the primary edge cloud server are working, and only the storage unit of the secondary edge cloud server is working;

[0050] When the primary edge cloud server fails, the secondary edge cloud server is adjusted to the primary edge cloud server;

[0051] After the original primary edge server is repaired, the storage unit is updated and then adjusted to a secondary edge server.

[0052] Furthermore, the cross encryption algorithm includes:

[0053] Get user case C U (ID H ) and user case size s;

[0054] Set a first block degree m and a second block degree n;

[0055] User Case C U (ID H ) is divided into m×n data blocks {c1,c2,…,c m×n}, the block size is k = s / (m·n);

[0056] Concatenate data blocks whose subscript difference is an integer multiple of n to construct n output packets {o1, o2, ..., o n};

[0057] Set the split ratio λ and split the ith output packet o i Split into two sub-output packages according to the split ratio o i1 and i2;

[0058] Pair output package o i1 and i2 Use symmetric encryption algorithm and asymmetric encryption algorithm respectively to obtain the ciphertext sub-package f i1 and f i2 ;

[0059] Combine 2n ciphertext sub-packets to generate ciphertext cases {f 11 ,f 12 ,…,f n1 ,f n2}.

[0060] Furthermore, the cross decryption algorithm includes:

[0061] Obtain a first block degree m and a second block degree n;

[0062] The symmetric encryption algorithm and asymmetric algorithm are used to decrypt the ciphertext sub-package f respectively. i1 and f i2 Get the sub-output package o i1 and i2 ;

[0063] Merge sub-output package o i1 and i2 Get the ith output packet o i =[c i ,c i+n ,…,c i+(m-1)×n ];

[0064] Each output packet is further split into m×n data blocks {c1,c2,…,c m×n}, merge m×n data blocks to restore user case C U (ID H ).

[0065] Furthermore, the central cloud platform includes a ciphertext module, a request allocation module, a storage module, and three central cloud servers;

[0066] The ciphertext module generates private and public keys, publishes the public key, and uses the private key to decrypt the registration ciphertext and emergency ciphertext to obtain the registration sequence [ID U ,ID D ] and emergency request {[ID U ,ID D ],p}, transmit registration sequence [ID U ,ID D ] to the storage module, transmit the emergency request {[ID U ,ID D ],p} to the request allocation module;

[0067] The request allocation module compares the emergency request {[ID U ,ID D ],p} and the registration sequence [ID U ,ID D ] Verify the user's identity and select one of the three central cloud servers to respond to the emergency request through a weighted polling algorithm {[ID U ,ID D ],p};

[0068] The central cloud server responds to emergency requests {[ID U ,ID D ],p}, retrieve user cases from the edge cloud platform to generate user summary cases C U , select a hospital for emergency treatment based on the fastest rescue strategy;

[0069] Storage module stores registration sequence [ID U ,ID D ]、Hospital ID H and hospital location h .

[0070] Furthermore, the weighted round-robin algorithm includes:

[0071] According to the speed ratio of the three central cloud servers in processing the same task, the corresponding weights are assigned, which are recorded as w1, w2 and w3. The weight ratio is the same as the speed ratio, and the sum of the weights is 100.

[0072] Calculate the greatest common divisor gcd(w) of w1, w2, and w3, and initialize the scheduling weight c_w to the maximum cloud server weight max(w1,w2,w3);

[0073] Poll the three central cloud servers, confirm the first central cloud server that satisfies the weight greater than the scheduling weight c_w, and send the emergency request {[ID U ,ID D ],p} assigned to the central cloud server;

[0074] If the central cloud server is still not confirmed after polling the three central cloud servers, the scheduling weight c_w is subtracted from the greatest common divisor gcd(w) and the polling is restarted;

[0075] If the scheduling weight c_w is reduced to 0, the scheduling weight c_w is reinitialized to the maximum cloud server weight max(w1,w2,w3).

[0076] Furthermore, the central cloud server includes a data calling unit, a task scheduling unit, and a cache unit;

[0077] Data call unit from emergency request {[ID U ,ID D],p} to extract the identity number ID U , encrypt the identity number ID with the private key U Generate a call request and broadcast the call request;

[0078] The task scheduling unit generates the delegation instruction {p,C U} and sent to the selected hospital ID H Corresponding edge cloud platform;

[0079] The cache unit generates and temporarily stores user summary cases C U .

[0080] Furthermore, the fastest rescue strategy includes:

[0081] Get emergency request {[ID U ,ID D ],p};

[0082] Query the hospital location p in the storage module h , select the hospital closest to the user's location p and lock the hospital ID H ;

[0083] Call the user summary case C in the cache unit U , generate the delegation instruction {p,C U} and send to hospital ID H Corresponding edge cloud platform.

[0084] Compared with the prior art, the present invention has the following significant advantages:

[0085] 1. Design the user terminal and change the method of sending emergency requests to pressing buttons to improve the convenience of sending emergency requests. Use fingerprints for collaborative verification to prevent others from pressing randomly or yourself from accidentally touching the button, which will lead to the waste of emergency resources. At the same time, set three emergency request initiation methods: active pressing by yourself, pressing with the assistance of others, and terminal self-request, to avoid the problem that users cannot send emergency requests in time due to emergencies.

[0086] 2. Design a distributed cloud platform, in which the central cloud platform uniformly manages all edge cloud platforms. The central cloud platform is equipped with three central cloud servers. The weighted polling algorithm is used to improve the efficiency and stability of the system in responding to emergency requests. At the same time, two edge cloud servers are configured on the edge cloud platform. The primary and backup strategies are used to ensure the continuous and stable operation of the edge cloud platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] Figure 1 A schematic diagram of a medical information retrieval system based on emergency request;

[0088] Figure 2 Sending emergency request flow chart to user terminal;

[0089] Figure 3 It is the flow chart of cross encryption algorithm and cross decryption algorithm;

[0090] Figure 4 This is the flow chart of the weighted polling algorithm. DETAILED DESCRIPTION

[0091] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0092] Example 1

[0093] The embodiment provided by the present invention: A medical information retrieval system based on emergency request, comprising: a user terminal, an edge cloud platform and a central cloud platform;

[0094] When the user terminal meets the preset conditions, it sends an emergency request {[ID U ,ID D ],p} to the central cloud platform;

[0095] The edge cloud platform responds to the call request from the central cloud platform based on the identity number ID U Query the ciphertext case and obtain the user case C through the cross decryption algorithm U (ID H ) and feeds back to the central cloud platform to execute the central cloud platform's delegated instructions {p,C U}, and adopt the master-slave strategy to maintain the stable operation of the edge cloud platform;

[0096] The central cloud platform responds to the emergency request from the user terminal {[ID U ,ID D ],p}, call and summarize user cases C on each edge cloud platform U (ID H ) Generate user summary case C U , select the edge cloud platform through the fastest rescue strategy and send the delegation instruction {p,C U}.

[0097] Further, the user terminal includes an activation unit, a sensing unit, a verification unit, a monitoring unit, a scanning unit, a prompting unit, a display unit, a central control unit, a request unit and a storage unit;

[0098] The activation unit is started when the user terminal is turned on for the first time, generates an activation tag and builds a registration sequence [ID U ,ID D ], using the public key published by the central cloud platform to encrypt the registration sequence [ID U ,ID D ]Generate registration ciphertext;

[0099] The sensing unit has a built-in pressure sensor and fingerprint sensor to obtain pressing pressure and user fingerprints, and transmit the pressing pressure and / or user fingerprints to different units based on different working modes;

[0100] The verification unit selects different preset conditions for verification based on different working modes. When the verification passes, an active abnormality tag is generated and transmitted to the central control unit;

[0101] The monitoring unit monitors the user's vital signs in real time, and determines whether to generate a passive abnormal tag based on the user's vital signs and transmits it to the central control unit;

[0102] The scanning unit scans the surrounding environment to generate a scanned image, identifies whether there are other people in the surrounding environment based on the scanned image, sets an environmental tag, and transmits the environmental tag to the central control unit;

[0103] The prompt unit continuously emits voice prompts to remind people to press the designated pressing area;

[0104] The display unit always displays the designated pressing area when the user terminal is turned on;

[0105] The central control unit intelligently controls the other units;

[0106] The request unit obtains the user location p through GPS and extracts the registration sequence [ID U ,ID D ], build a rescue request {[ID U ,ID D ],p} and transmit to the central cloud platform;

[0107] The storage unit stores the registration sequence [ID U ,ID D ] and preset fingerprints.

[0108] Furthermore, when the user terminal is turned on for the first time, the activation unit obtains the user's registration information, which includes name, mobile phone number, and ID number, and generates an identity number ID by processing the registration information through the first hash function. U , based on the identity number ID U Device ID bound to the user terminal D Build Registration Sequence [ID U ,ID D ], using the public key published by the central cloud platform to encrypt the registration sequence [ID U ,ID D ]Generate a registration ciphertext and an activation request tag, and transmit the activation request tag and the registration ciphertext to the central control unit and the central cloud platform respectively.

[0109] Furthermore, the sensing unit turns on the pressure sensor and fingerprint sensor by default after the user terminal is turned on, and is set to have three working modes, including activation mode, normal mode and emergency mode:

[0110] The activation mode is enabled when the sensing unit receives the activation tag, turns off the pressure sensor, passively acquires the user's fingerprint, defines it as a preset fingerprint and transmits it to the storage unit, and then switches to the normal mode;

[0111] The normal mode is the default mode of the sensing unit, which turns on the pressure sensor and fingerprint sensor, passively obtains the pressing pressure and user fingerprint, and transmits the pressing pressure and user fingerprint to the verification unit;

[0112] The emergency mode is enabled when the sensing unit receives an emergency tag, turns off the fingerprint sensor, passively acquires the pressing pressure and transmits it to the verification unit, and then switches to the normal mode.

[0113] Furthermore, the verification unit sets two working modes, including normal mode and emergency mode:

[0114] The normal mode is the default mode of the verification unit, which generates default preset conditions. When the default preset conditions are met, an active abnormality tag is generated and transmitted to the central control unit;

[0115] The emergency mode is enabled when the verification unit receives an emergency tag, generates emergency preset conditions, generates active abnormal tags when the emergency preset conditions are met and transmits them to the central control unit, and then switches to normal mode.

[0116] Furthermore, the default preset condition is that the pressing pressure is greater than or equal to the first threshold and the matching degree between the verification fingerprint and the preset fingerprint is greater than or equal to the second threshold, and the emergency preset condition is that the pressing pressure is greater than or equal to the first threshold.

[0117] Furthermore, the monitoring unit monitors the user's vital signs in real time, including heart rate, blood oxygen, blood pressure and body temperature. The user's vital signs are processed through a neural network to determine whether an abnormal state occurs. If an abnormal state occurs, a passive abnormality tag is generated and transmitted to the central control unit.

[0118] Furthermore, the scanning unit has a built-in high-definition camera that scans the surrounding environment to generate a scanned image, and uses existing target detection technology to identify whether there are other people in the scanned image. If there is no one, the environment tag is set to 0; if there is someone, the environment tag is set to 1 and transmitted to the central control unit.

[0119] Furthermore, the central control unit intelligently controls the remaining units, including:

[0120] The central control unit obtains the activation request tag, starts the sensor unit and sends the activation tag synchronously;

[0121] The central control unit obtains only the active abnormality tag or obtains both the active abnormality tag and the passive abnormality tag, and starts the request unit;

[0122] The central control unit only obtains passive anomaly tags, starts the scanning unit, obtains environmental tags, and controls the corresponding units based on the environmental analysis strategy.

[0123] Furthermore, the central control unit executes the following environmental analysis strategies:

[0124] If the environment tag is 0, the request unit is started directly;

[0125] If the environmental tag is 1, an emergency tag is generated and sent to the sensing unit and the verification unit, the prompt unit is started, and the waiting time is set. If an active abnormal tag is obtained during the waiting time, the request unit is started immediately and the prompt unit is stopped. If only passive abnormal tags are continuously obtained during the waiting time, the request unit is started immediately when the waiting time ends and the prompt unit is stopped.

[0126] Furthermore, the edge cloud platform is established based on hospitals. The number of edge cloud platforms is consistent with the number of hospitals, and the hospital ID H It is determined that the edge cloud platform includes a master-slave switching module and two edge cloud servers with exactly the same configuration;

[0127] The master-slave switching module executes the master-slave strategy to switch the master-slave relationship between the two edge cloud servers, improving system stability;

[0128] The edge cloud server responds to the call request and determines whether there is an ID U If the ciphertext case exists, the cross decryption algorithm is used to decrypt the case to obtain the user case C U (ID H ) and feedback to the central cloud platform.

[0129] Furthermore, the edge cloud server includes a verification response unit, a retrieval unit, an encryption storage unit, and an instruction execution unit;

[0130] The verification response unit obtains the call request and uses the public key published by the central cloud platform to decrypt the call request to obtain the identity number ID U , and transmit the identity number ID U to the retrieval unit;

[0131] Search unit by ID U Query the encrypted storage unit, if the ID U If the ciphertext case is consistent, the ciphertext case is decrypted based on the cross-decryption algorithm to generate the user case C U (ID H ) and feedback user case C U(ID H ) to the central cloud platform;

[0132] The encrypted storage unit encrypts the user case C through a cross encryption algorithm U (ID H ) Generate a ciphertext case, corresponding to the stored identity number ID U with ciphertext cases;

[0133] The instruction execution unit obtains the delegated instruction {p,C U}, based on the delegation instruction {p,C U}Dispatch medical personnel to the user's location for rescue.

[0134] Furthermore, the master-slave switching module executes the master-slave strategy including:

[0135] Setting up a primary edge cloud server and a secondary edge cloud server;

[0136] All units of the primary edge cloud server are working, and only the storage unit of the secondary edge cloud server is working, which is kept updated synchronously with the storage unit of the primary edge cloud server;

[0137] When the primary edge cloud server fails, the secondary edge cloud server is adjusted to the primary edge cloud server;

[0138] After the original primary edge server is repaired, the storage unit is updated to be consistent with the storage unit content of the working primary edge server, and then the original primary edge server is adjusted to a secondary edge server.

[0139] Furthermore, the cross encryption algorithm includes:

[0140] Get user case C U (ID H ) and user case size s;

[0141] Set a first block degree m and a second block degree n;

[0142] User Case C U (ID H ) is divided into m data strips, each strip length is l = s / m;

[0143] Each data strip is further divided into n data blocks, with a block size of k = l / n;

[0144] Let m×n data blocks be {c1,c2,…,c m×n}, concatenate data blocks whose subscript difference is an integer multiple of the number of data blocks n, and construct n output packets {o1, o2, ..., o n}, where the i-th output packet i={1,2,…,n};

[0145] Set the split ratio λ, 0<λ<1, and split the ith output packet o i Split into two sub-output packages o according to the split ratio λ i1 and i2 , where the output package o i The size of is equal to the strip length l, then the sub-output package o i1 The size of is λ·l, and the sub-output package o i2 The size is (1-λ)·l;

[0146] Pair output package o i1 and i2 Use symmetric encryption algorithm and asymmetric encryption algorithm respectively to obtain the ciphertext sub-package f i1 and f i2 ;

[0147] Combine 2n ciphertext sub-packets to generate ciphertext cases {f 11 ,f 12 ,…,f n1 ,f n2}.

[0148] Furthermore, the cross decryption algorithm includes:

[0149] Obtain the first block degree m and the second block degree n in the cross encryption algorithm;

[0150] For the ciphertext subpacket f i1 and f i2 , respectively use symmetric encryption algorithm and asymmetric algorithm to decrypt and obtain the sub-output package o i1 and i2 , where the symmetric encryption algorithm is consistent with the asymmetric encryption algorithm and the cross encryption algorithm;

[0151] Merge sub-output package o i1 and i2 Get the i-th output package

[0152] Each output packet is further split into m×n data blocks {c1,c2,…,c m×n};

[0153] Merge m×n data blocks to restore user case C U (ID H ).

[0154] Furthermore, the central cloud platform includes a ciphertext module, a request allocation module, a storage module, and three central cloud servers;

[0155] The ciphertext module generates private and public keys, publishes the public key, and uses the private key to decrypt the registration ciphertext and emergency ciphertext to obtain the registration sequence [IDU ,ID D ] and emergency request {[ID U ,ID D ],p}, transmit registration sequence [ID U ,ID D ] to the storage module, transmit the emergency request {[ID U ,ID D ],p} to the request allocation module;

[0156] Request allocation module gets first aid request {[ID U ,ID D ],p}, compare the registered sequence [ID U ,ID D ] Verify the user's identity and select one of the three central cloud servers to respond to the emergency request through a weighted polling algorithm {[ID U ,ID D ],p};

[0157] The central cloud server receives and responds to emergency requests {[ID U ,ID D ],p}, retrieve user cases from the edge cloud platform and summarize them to generate user summary cases C U , select a hospital based on the fastest rescue strategy and generate a delegation instruction {p,C U}Send to hospital ID h Corresponding edge cloud platform;

[0158] Storage module stores registration sequence [ID U ,ID D ]、Hospital ID H and hospital location h .

[0159] Furthermore, the weighted round-robin algorithm includes:

[0160] According to the speed ratio of the three central cloud servers in processing the same task, the corresponding weights are assigned, which are recorded as w1, w2 and w3. Taking the speed ratio of 1:2:4 as an example, the assigned weight ratio is w1:w2:w3=1:2:4, and w1+w2+w3=100;

[0161] Calculate the greatest common divisor gcd(w) of w1, w2 and w3;

[0162] Initialize the scheduling weight to the maximum cloud server weight, i.e. c_w = max(w1,w2,w3);

[0163] When the request allocation module gets the first aid request {[ID U ,ID D],p}, poll the three central cloud servers, lock the first central cloud server that satisfies the weight greater than the scheduling weight c_w, and send the emergency request {[ID U ,ID D ],p} assigned to the central cloud server;

[0164] If after polling the three central cloud servers, no central cloud server with a weight greater than the scheduling weight c_w is confirmed, the scheduling weight c_w is subtracted from the greatest common divisor gcd(w), and the three central cloud servers are polled again;

[0165] If the scheduling weight c_w is reduced to 0, the scheduling weight is reinitialized to the maximum cloud server weight, that is, c_w = max(w1, w2, w3).

[0166] Furthermore, the central cloud server includes a data calling unit, a task scheduling unit, and a cache unit;

[0167] Data call unit from emergency request {[ID U ,ID D ],p} to extract the identity number ID U , encrypt the identity number ID with the private key U Generate a call request and broadcast the call request to all edge cloud platforms;

[0168] The task scheduling unit generates the delegation instruction {p,C U} and sent to the selected edge cloud platform;

[0169] The cache unit aggregates the user cases C sent by each edge cloud platform U (ID H ) Generate user summary case C U , temporarily store user summary cases C U , in the delegation instruction {p,C U} Clear user summary case C after sending U .

[0170] Furthermore, the fastest rescue strategy includes:

[0171] Get emergency request {[ID U ,ID D ],p};

[0172] Query the hospital location p in the storage module h , select the hospital closest to the user's location p and lock the hospital ID H ;

[0173] Call the user summary case C in the cache unit U , generate the delegation instruction {p,CU} and send to hospital ID H Corresponding edge cloud platform.

[0174] The present invention discloses a medical information retrieval system based on emergency request, comprising: a user terminal, an edge cloud platform and a central cloud platform; the user terminal monitors the user's vital signs in real time, analyzes the surrounding environment, switches the working modes of the sensing unit and the verification unit, and provides three emergency request modes, namely, active pressing by the user, pressing with the assistance of others and terminal self-request, to ensure that the user can call for help in a variety of emergency situations in a timely manner; the central cloud platform manages and controls all edge cloud platforms, configures three central cloud servers, selects the central cloud server in turn to respond to the emergency request through a weighted polling algorithm, generates a delegation instruction, improves the efficiency of the emergency request response, and avoids system processing delays; the edge cloud platform is configured with two edge cloud servers, adopts a master-slave strategy to respond to the call request, and feeds back the user's case to the central cloud platform to improve the system stability.

[0175] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A medical information retrieval system based on emergency request, characterized in that: include: User terminals, edge cloud platforms, and central cloud platforms; The user terminal sends an emergency request to the central cloud platform when the preset conditions are met; The edge cloud platform queries the encrypted medical records based on the call request, obtains the user's medical records through the cross-decryption algorithm and feeds them back to the central cloud platform, executes the delegated instructions, and adopts the master-slave strategy to control the operation of the edge cloud platform; The central cloud platform responds to emergency requests, calls and summarizes user cases on the edge cloud platform to generate user summary cases, selects the edge cloud platform through the fastest rescue strategy, and sends a delegation instruction.

2. A medical information retrieval system based on emergency request as claimed in claim 1, characterized in that: The edge cloud platform includes a master-slave switching module and two edge cloud servers; The master-slave switching module implements the master-slave strategy, all units of the primary edge cloud server are working, and only the storage unit of the secondary edge cloud server is working. When the primary edge cloud server fails, the primary and secondary relationship of the two edge cloud servers is switched; The edge cloud server includes a verification response unit, a retrieval unit, an encryption storage unit and an instruction execution unit. The verification response unit uses a public key decryption call request to obtain an identity number and transmits it to the retrieval unit. The retrieval unit queries the encryption storage unit whether there is a ciphertext case consistent with the identity number. If so, the user case is obtained through a cross-decryption algorithm and fed back to the central cloud platform. The encryption storage unit encrypts and generates a ciphertext case through a cross-encryption algorithm, stores the identity number and the ciphertext case, and the instruction execution unit delegates rescue based on the delegation instruction.

3. A medical information retrieval system based on emergency request as claimed in claim 2, characterized in that: The cross-decryption algorithm has the reverse steps of the cross-encryption algorithm, and the cross-encryption algorithm includes the following steps: Get user cases and user case sizes; Set a first block degree and a second block degree; Divide the user's case into data blocks, where the number of data blocks is the product of the first block degree and the second block degree; Concatenate data blocks whose subscript difference is an integer multiple of the second block degree, and construct output packets, the number of which is equal to the second block degree; Set the split ratio, split each output package into two sub-output packages according to the split ratio, and encrypt them using symmetric encryption algorithm and asymmetric encryption algorithm respectively to obtain two ciphertext sub-packages; Combine all ciphertext sub-packages to generate ciphertext cases.

4. A medical information retrieval system based on emergency request as claimed in claim 1, characterized in that: The central cloud platform includes a ciphertext module, a request allocation module, a storage module and three central cloud servers; The ciphertext module generates a private key and a public key, publishes the public key, obtains the registration sequence and the emergency request through the private key decryption, and transmits the registration sequence and the emergency request to the storage module and the request allocation module respectively; The request allocation module compares the emergency request and the registration sequence to verify the user's identity, and selects a central cloud server to respond to the emergency request through a weighted polling algorithm; The central cloud server retrieves user medical records from the edge cloud platform based on the emergency request, generates user summary records, and selects a hospital for emergency treatment based on the fastest rescue strategy; The storage module stores the registration sequence, hospital number, and hospital location.

5. A medical information retrieval system based on emergency request as claimed in claim 4, characterized in that: The weighted round-robin algorithm includes: Assign corresponding weights based on the speed ratio of the three central cloud servers in processing the same task; Calculate the greatest common divisor of the three weights and initialize the scheduling weight; Poll the three central cloud servers, identify the first central cloud server whose weight is greater than the dispatch weight, and assign the emergency request to the central cloud server; If the central cloud server is still not confirmed after polling the three central cloud servers, the scheduling weight will be reduced by the greatest common divisor and the polling will be restarted; If the scheduling weight is reduced to 0, initialize the scheduling weight.

6. A medical information retrieval system based on emergency request as described in any one of claims 4-5, characterized in that: The central cloud server includes a data calling unit, a task scheduling unit and a cache unit; The data calling unit extracts the identity number from the emergency request, generates a calling request by encrypting the identity number with a private key, and broadcasts the calling request; The task scheduling unit obtains the user location in the emergency request, queries the hospital location in the storage module, selects the hospital closest to the user location, locks the hospital number, calls the user summary case in the cache unit, generates a delegation instruction, and sends it to the edge cloud platform corresponding to the hospital number; The cache unit generates and temporarily stores user summary cases.

7. A medical information retrieval system based on emergency request as claimed in claim 1, characterized in that: The user terminal includes an activation unit, a sensing unit, a verification unit, a monitoring unit, a scanning unit, a prompting unit, a central control unit and a request unit; The activation unit generates an activation tag and constructs a registration sequence, and encrypts the registration sequence to generate a registration ciphertext; The sensing unit selects to obtain one or both of the pressing pressure and the user's fingerprint based on different working modes; The verification unit selects different preset conditions based on different working modes and generates an active abnormality tag when the preset conditions are met; The monitoring unit monitors the user's vital signs in real time and determines whether to generate a passive abnormality tag based on the user's vital signs; The scanning unit scans the surrounding environment to generate a scanned image, identifies whether there are other people in the surrounding environment, and sets an environment tag; The prompt unit continuously emits a voice prompt sound; The central control unit intelligently controls the remaining units; The request unit obtains the user's location, extracts the registration sequence, and constructs an emergency request.

8. A medical information retrieval system based on emergency request as claimed in claim 7, characterized in that: The sensor unit is configured with three working modes, including activation mode, normal mode and emergency mode: The sensing unit in the activation mode turns off the pressure sensor, obtains and stores the preset fingerprint, and then switches to the normal mode; The sensing unit in the normal mode obtains the pressing pressure and the verification fingerprint, and transmits the pressing pressure and the verification fingerprint to the verification unit; The sensing unit in the emergency mode turns off the fingerprint sensor, obtains the pressing pressure and transmits it to the verification unit, and then switches to the normal mode.

9. A medical information retrieval system based on emergency request as claimed in claim 7, characterized in that: The verification unit is set to two working modes, including normal mode and emergency mode: The verification unit in the normal mode generates an active abnormality tag and transmits it to the central control unit when the default preset condition is met, and the default preset condition is that the pressing pressure is greater than or equal to the first threshold and the matching degree between the verification fingerprint and the preset fingerprint is greater than or equal to the second threshold; The verification unit of the emergency mode generates an active abnormal tag and transmits it to the central control unit when the emergency preset condition is met. The emergency preset condition is that the pressing pressure is greater than or equal to the first threshold, and then switches to the normal mode.

10. A medical information retrieval system based on emergency request as claimed in claim 7, characterized in that: The central control unit intelligently controls the remaining units, including: The central control unit obtains the activation request tag, starts the sensor unit and sends the activation tag synchronously; The central control unit obtains the active abnormality tag and starts the request unit; The central control unit only obtains passive abnormal tags, starts the scanning unit, obtains environmental tags, and starts the request unit if the environmental tags indicate that there are no other people in the surrounding environment. If the environmental tags indicate that there are other people in the surrounding environment, an emergency tag is generated and sent to the sensing unit and the verification unit, and the prompt unit is started. The waiting time is set. If the active abnormal tag is obtained during the waiting time, the request unit is started and the prompt unit is closed. If only passive abnormal tags are continuously obtained at the end of the waiting time, the request unit is started and the prompt unit is closed.

Citation Information

Patent Citations

  • Resident emergency call method and system

    CN116341846A

  • Method, device and mobile terminal being capable of emergent seeking for help

    CN105023389A

  • A method and electronic device for executing command of electronic device based on fingerprint identification

    CN109508135A

  • Particle distributed storage method for industrial control network data

    CN116305304A

  • Distributed task scheduling system under micro-service architecture and implementation method

    CN116820717A