Remote medical consultation method and system based on 5G communication and block chain
Technical Field
The invention relates to the field of remote medical treatment based on 5G communication and a block chain, in particular to a remote medical consultation method and system based on 5G communication and a block chain.
Background
At present, with the rapid development of networks and the extreme shortage of medical resources, remote medical treatment should be carried out. The remote medical treatment can give full play to the advantages of medical technology and medical equipment of large hospitals or specialized medical centers, and carry out remote diagnosis, treatment and consultation on patients in remote areas with poor medical conditions. However, the existing remote medical consultation system has the problem of large network delay, and the consultation efficiency and the consultation effect are seriously influenced; meanwhile, due to the fact that medical resources are extremely deficient, remote medical consultation generally needs to be reserved in advance, so that lawbreakers can falsely tamper with reservation time, benefits are obtained, and consultation of other patients is seriously affected.
Meanwhile, in the actual consultation of the remote medical treatment, the condition that the remote medical consultation is invalid due to the hidden or misreported condition of the patient often occurs, so that the waste of medical resources is caused.
Moreover, most of the communication devices in the existing remote medical consultation system are outdated 3G communication devices, so that the communication devices are poor on one hand, and the communication effect of the communication devices cannot be accurately detected on the other hand.
Disclosure of Invention
The invention aims to solve the problems found in the background technology, and provides a remote medical consultation method and system based on 5G communication and a block chain.
In order to achieve the purpose, the invention adopts the following technical scheme: a remote medical consultation method based on 5G communication and a block chain comprises the following steps:
s1: the consultation applicant applies for a consultation request at a consultation applicant terminal and uploads own medical data to the cloud server through the 5G network;
s2: the cloud server searches a corresponding consultation doctor according to the medical data of the consultation requester and determines consultation time;
s3: after the consultation time is determined, the cloud server respectively sends the consultation time to the consultation requester terminal and the consultation doctor terminal, and simultaneously broadcasts the number corresponding to the consultation requester, the number corresponding to the consultation doctor and the consultation time to a block chain;
s4: when the consultation time is up, installing 5G video equipment and required medical instruments on the consultation requester terminal, and detecting the 5G video equipment and the medical instruments;
s5: after the 5G video equipment and the medical instrument are detected to be qualified, the cloud server sends the medical data of the consultation requester to the consultation doctor terminal;
s6: after the consultation doctor knows the medical data of the encrypted consultation requester, the consultation doctor sends a group building request to the cloud server through the consultation doctor terminal, and the cloud server builds a remote medical consultation group by using the consultation requester terminal and the consultation doctor terminal after receiving the group building request;
s7: the consultation doctor and the consultation applicant perform video consultation in the remote medical consultation group, and after the video consultation is finished, the consultation video of the consultation doctor and the consultation applicant is stored in the cloud server.
Further, the cloud server searches for a corresponding consultation physician according to the medical data of the consultation requester, and determines consultation time, and specifically includes the following steps:
s21: after receiving the medical data of the consultation applicant, the cloud server matches the text data of the medical data of the consultation applicant with a regular expression to screen out keywords, and the keywords are used as screening keywords;
s22: obtaining related keywords to be compared through a hospital file, a distributed file and network resources, filtering stop words in the keywords to be compared after obtaining the keywords to be compared to obtain filtered keywords to be compared, and obtaining filtered keyword vectors to be compared through a pre-trained word vector model;
s23: calculating cosine similarity between the screened keywords and the filtered keyword vectors to be compared by using a file comparison tool, taking the keywords with the cosine similarity larger than a preset value with the screened keywords as similar keywords, traversing all the keywords to obtain all the similar keywords, and taking all the similar keywords as a medical record authenticity keyword set of the consultation requester;
s24: sequencing the medical information of the consultation requester contained in the medical data according to a time sequence, and carrying out nonlinear time sequence division on the sequenced medical information to obtain a medical information arrangement sequence of the medical information at each nonlinear time period;
s25: matching the medical information arrangement order with the medical record authenticity keyword set by adopting a character string search algorithm, wherein if the matching rate is more than 90%, the medical data of the consultation requester are real, the cloud server searches for a corresponding consultation doctor according to the medical data of the consultation requester, and the consultation time is determined; and if not, the authenticity of the medical data of the consultation applicant is in problem, and the cloud server returns a signal for confirming the authenticity of the medical data of the consultation applicant to the consultation applicant terminal.
Further, the method also comprises the following steps:
s26: and after receiving the signal for confirming the authenticity of the medical data of the consultation applicant, the consultation applicant terminal informs the consultation applicant to re-submit the medical data until the matching rate reaches more than 90%.
Further, when the consultation time is up, a 5G video device and a required medical instrument are installed on the consultation requester terminal, and the 5G video device and the medical instrument are detected, which specifically includes the following steps:
s41: when the consultation time is up, 5G video equipment and required medical instruments are installed on the consultation requester terminal;
s42: detecting whether the 5G video equipment is installed correctly, and electrifying to measure and calculate the communication signal score K of the 5G video equipment:
wherein P is the real-time power of the signal transmitting antenna of the 5G video equipment, and L is the 5G video equipmentDistance to nearest 5G base station, αrThe central energy attenuation of the laser beam in the optical fiber of the nearest 5G base station is e-1/2The radius of the cross section of the time beam is D, and the D is the distance between the upper point and the center of the laser spot in the optical fiber of the nearest 5G base station;
when the communication signal score K is larger than a threshold value, the 5G video equipment is indicated to be good in communication, and when the communication signal score K is smaller than the threshold value, the 5G video equipment is indicated to be poor in communication, and the real-time power P of a signal transmitting antenna of the 5G video equipment needs to be adjusted;
s43: and detecting whether all medical instruments are normal.
Further, the medical instruments include blood glucose meters, oximeters, blood pressure meters, and thermometers.
Further, the consultation videos of the consultation doctors and the consultation requesters are encrypted and then stored in the cloud server.
Also provides a remote medical consultation system based on 5G communication and a block chain, which comprises a consultation requester terminal, a cloud server and a consultation doctor terminal, wherein,
the consultation applicant terminal is used for collecting medical data of a consultation applicant and uploading the medical data and a consultation application request to the cloud server;
the cloud server is used for searching a corresponding consultation doctor according to the medical data of the consultation requester and determining consultation time, after the consultation time is determined, the cloud server respectively sends the consultation time to the consultation requester terminal and the consultation doctor terminal, meanwhile, the cloud server broadcasts the number corresponding to the consultation requester, the number corresponding to the consultation doctor and the consultation time to a block chain, meanwhile, the cloud server sends the medical data of the consultation requester to the consultation doctor terminal, after the consultation doctor knows the medical data of the encrypted consultation requester, the consultation doctor sends a group building request to the cloud server through the consultation doctor terminal, and after receiving the group building request, the cloud server builds a remote medical consultation group from the consultation requester terminal and the consultation doctor terminal, the consultation doctor and the consultation applicant perform video consultation in the remote medical consultation group, and after the video consultation is finished, the consultation video of the consultation doctor and the consultation applicant is stored in the cloud server.
Compared with the prior art, the invention has the advantages that:
1: the remote medical consultation greatly reduces the delay of video communication by adopting advanced 5G network communication, ensures the fluency of the remote medical video consultation and greatly improves the efficiency of the remote medical consultation;
2: the number corresponding to the consultation requester, the label corresponding to the consultation doctor and the consultation time are broadcasted to the block chain, so that the appointment time can be effectively prevented from being maliciously tampered by lawbreakers, the consultation fairness of the patient is ensured, and in broadcasting, the information of the consultation requester and the consultation doctor can not be exposed because only the number corresponding to the consultation requester and the number corresponding to the consultation doctor are broadcasted, so that the privacy of the consultation requester and the consultation doctor is ensured;
3: before the consultation time is determined, the authenticity of medical data submitted by a consultation applicant is preliminarily judged through information such as hospital files, sent files, network resources and the like, so that the condition that the consultation applicant hides or misrepresents the state of an illness can be reduced, the waste of remote medical consultation time can be avoided, and the efficiency of remote medical consultation is further improved;
4: according to the real-time power of a signal transmitting antenna of the 5G video equipment, the distance between the 5G video equipment and the nearest 5G base station and the attenuation of the central energy of a laser beam in the optical fiber of the nearest 5G base station to be e-1/2The cross section radius of the light beam and the distance between the upper point and the center of the laser spot in the optical fiber of the nearest 5G base station measure and calculate the communication signal score K of the 5G video equipment, so that whether the communication signal of the 5G video equipment is normal or not can be accurately evaluated, the remote medical consultation can be ensured to be smoothly carried out, and the problem of blockage in the consultation process is avoided.
Drawings
Fig. 1 is a schematic diagram of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example (b):
referring to fig. 1, the present embodiment provides a remote medical consultation method based on 5G communication and a blockchain, including the following steps:
s1: the consultation applicant applies for a consultation request at a consultation applicant terminal and uploads own medical data to the cloud server through the 5G network;
s2: the cloud server searches a corresponding consultation doctor according to the medical data of the consultation requester and determines consultation time;
s3: after the consultation time is determined, the cloud server respectively sends the consultation time to the consultation requester terminal and the consultation doctor terminal, and simultaneously broadcasts the number corresponding to the consultation requester, the number corresponding to the consultation doctor and the consultation time to a block chain;
s4: when the consultation time is up, installing 5G video equipment and required medical instruments on the consultation requester terminal, and detecting the 5G video equipment and the medical instruments;
s5: after the 5G video equipment and the medical instrument are detected to be qualified, the cloud server sends the medical data of the consultation requester to the consultation doctor terminal;
s6: after the consultation doctor knows the medical data of the encrypted consultation requester, the consultation doctor sends a group building request to the cloud server through the consultation doctor terminal, and the cloud server builds a remote medical consultation group by using the consultation requester terminal and the consultation doctor terminal after receiving the group building request;
s7: the consultation doctor and the consultation applicant perform video consultation in the remote medical consultation group, and after the video consultation is finished, the consultation video of the consultation doctor and the consultation applicant is stored in the cloud server.
The remote medical consultation greatly reduces the delay of video communication by adopting advanced 5G network communication, ensures the fluency of the remote medical video consultation and greatly improves the efficiency of the remote medical consultation; meanwhile, the number corresponding to the consultation requester, the label corresponding to the consultation doctor and the consultation time are broadcasted to the block chain, so that the appointment time can be effectively prevented from being maliciously tampered by lawbreakers, the consultation fairness of the patients is ensured, and in broadcasting, the information of the consultation requester and the consultation doctor can not be exposed because only the number corresponding to the consultation requester and the number corresponding to the consultation doctor are broadcasted, so that the privacy of the consultation requester and the consultation doctor is ensured.
The cloud server searches for a corresponding consultation doctor according to the medical data of the consultation requester and determines consultation time, and the method specifically comprises the following steps:
s21: after receiving the medical data of the consultation applicant, the cloud server matches the text data of the medical data of the consultation applicant with a regular expression to screen out keywords, and the keywords are used as screening keywords; regular expressions can be obtained according to existing methods, including keywords that can indicate the identity and condition of the consultation requester, such as name, age, outpatient service, hospitalization, etc.;
s22: obtaining related keywords to be compared through a hospital file, sending the file and network resources (the network resources can be data available by search engines such as Google, Baidu and the like), filtering stop words in the keywords to be compared after obtaining the keywords to be compared to obtain filtering keywords to be compared, and then obtaining filtering keyword vectors to be compared through a pre-trained word vector model;
s23: calculating cosine similarity between the screened keywords and the filtered keyword vectors to be compared by using a file comparison tool, taking the keywords with the cosine similarity larger than a preset value with the screened keywords as similar keywords, traversing all the keywords to obtain all the similar keywords, and taking all the similar keywords as a medical record authenticity keyword set of the consultation requester;
s24: sequencing the medical information of the consultation requester contained in the medical data according to a time sequence, and carrying out nonlinear time sequence division on the sequenced medical information to obtain a medical information arrangement sequence of the medical information at each nonlinear time period;
s25: matching the medical information arrangement order with the medical record authenticity keyword set by adopting a character string search algorithm, wherein if the matching rate is more than 90%, the medical data of the consultation requester are real, the cloud server searches for a corresponding consultation doctor according to the medical data of the consultation requester, and the consultation time is determined; otherwise, the authenticity of the medical data of the consultation applicant is in problem, and the cloud server returns a signal for confirming the authenticity of the medical data of the consultation applicant to the consultation applicant terminal;
s26: and after receiving the signal for confirming the authenticity of the medical data of the consultation applicant, the consultation applicant terminal informs the consultation applicant to re-submit the medical data until the matching rate reaches more than 90%.
Before the consultation time is determined, the authenticity of medical data submitted by the consultation applicant is preliminarily judged through information such as hospital files, sent files, network resources and the like, so that the condition that the consultation applicant hides or misrepresents the state of an illness can be reduced, the waste of remote medical consultation time can be avoided, and the efficiency of remote medical consultation is further improved.
When the consultation time is up, the consultation requester terminal is provided with the 5G video equipment and the required medical instrument, and the 5G video equipment and the medical instrument are detected, which specifically comprises the following steps:
s41: when the consultation time is up, 5G video equipment and required medical instruments are installed on the consultation requester terminal;
s42: detecting whether the 5G video equipment is installed correctly, and electrifying to measure and calculate the communication signal score K of the 5G video equipment:
wherein P is the real-time power of the signal transmitting antenna of the 5G video equipment, L is the distance between the 5G video equipment and the nearest 5G base station, αrThe central energy attenuation of the laser beam in the optical fiber of the nearest 5G base station is e-1/2The radius of the cross section of the time beam is D, and the D is the distance between the upper point and the center of the laser spot in the optical fiber of the nearest 5G base station;
when the communication signal score K is larger than a threshold value, the 5G video equipment is indicated to be good in communication, and when the communication signal score K is smaller than the threshold value, the 5G video equipment is indicated to be poor in communication, and the real-time power P of a signal transmitting antenna of the 5G video equipment needs to be adjusted;
s43: and detecting whether all medical instruments are normal.
According to the real-time power of a signal transmitting antenna of the 5G video equipment, the distance between the 5G video equipment and the nearest 5G base station and the attenuation of the central energy of a laser beam in the optical fiber of the nearest 5G base station to be e-1/2The cross section radius of the light beam and the distance between the upper point and the center of the laser spot in the optical fiber of the nearest 5G base station measure and calculate the communication signal score K of the 5G video equipment, so that whether the communication signal of the 5G video equipment is normal or not can be accurately evaluated, the remote medical consultation can be ensured to be smoothly carried out, and the problem of blockage in the consultation process is avoided.
The medical instruments comprise a blood glucose tester, an oximeter, a blood pressure measuring instrument and a thermometer. And the consultation videos of the consultation doctors and the consultation requesters are encrypted and then stored in the cloud server.
The embodiment also provides a remote medical consultation system based on 5G communication and a block chain, which comprises a consultation requester terminal, a cloud server and a consultation doctor terminal, wherein,
the consultation applicant terminal is used for collecting medical data of a consultation applicant and uploading the medical data and a consultation application request to the cloud server;
the cloud server is used for searching a corresponding consultation doctor according to the medical data of the consultation requester and determining consultation time, after the consultation time is determined, the cloud server respectively sends the consultation time to the consultation requester terminal and the consultation doctor terminal, meanwhile, the cloud server broadcasts the number corresponding to the consultation requester, the number corresponding to the consultation doctor and the consultation time to a block chain, meanwhile, the cloud server sends the medical data of the consultation requester to the consultation doctor terminal, after the consultation doctor knows the medical data of the encrypted consultation requester, the consultation doctor sends a group building request to the cloud server through the consultation doctor terminal, and after receiving the group building request, the cloud server builds a remote medical consultation group from the consultation requester terminal and the consultation doctor terminal, the consultation doctor and the consultation applicant perform video consultation in the remote medical consultation group, and after the video consultation is finished, the consultation video of the consultation doctor and the consultation applicant is stored in the cloud server.