Intelligent medical guidance method, device, storage medium and electronic device

Through the intelligent medical guidance method, information matching and processing is performed for different consultation types, which solves the problem of low accuracy of medical guidance in the existing technology, achieves accurate judgment of multiple consultation types and matches target doctors, and improves the efficiency of medical guidance. accuracy and user experience.

CN113658690BActive Publication Date: 2024-10-29SHENZHEN PING AN MEDICAL HEALTH TECHNOLOGY SERVICES CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202111007311.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-30
Publication Date
2024-10-29
Estimated Expiration
2041-08-30

AI Technical Summary

Technical Problem

Existing medical guidance methods and systems cannot provide medical guidance for different types of consultations, and rule-based or traditional machine learning methods cannot fully extract feature information uploaded by users, resulting in low accuracy of medical guidance.

Method used

Provide an intelligent medical guidance method that receives consultation information uploaded by users, matches the target judgment method based on the consultation type, performs preprocessing, keyword extraction and map calculation, determines the target triage information, and matches the corresponding target doctor. Supports various consultation types such as voice, text and image.

Benefits of technology

It achieves accurate disease judgment and department classification for different consultation types, improves the accuracy of medical guidance and user experience, and helps users quickly find the target doctor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113658690B_ABST
    Figure CN113658690B_ABST
Patent Text Reader

Abstract

The present application relates to the field of artificial intelligence technology, and specifically discloses an intelligent medical guidance method, device, storage medium and electronic device. The method includes: receiving medical consultation information uploaded by the user; matching the target judgment method based on the medical consultation type of the medical consultation information; wherein the medical consultation type includes: voice, text or image; determining the target triage information in the medical consultation information based on the target judgment method; matching the corresponding target doctor based on the target triage information, and displaying the information of the target doctor. In the present application, by matching the corresponding target judgment method according to the medical consultation type, and then judging the medical consultation information according to the target judgment method, the target triage information is determined, thereby achieving disease judgment for medical consultation information of different medical consultation types, so as to guide the user to a doctor intelligently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to an intelligent medical guidance method, device, storage medium and electronic device. Background Art

[0002] In recent years, with the improvement of living standards, patients' demand for high-quality resources has been growing, online medical treatment traffic has increased, and the demand for inquiries has increased accordingly. The hospital not only needs to recruit personnel with professional knowledge to be responsible for consultation and medical guidance, but also needs to invest a lot of energy and financial resources in personnel training, which will also increase human resource assessment and management costs. Therefore, the intelligent medical guidance method and system of self-service medical guidance came into being.

[0003] However, there are still some problems with the existing medical guidance methods and systems. For example, most of the existing systems are embedded in hardware devices and used for offline medical guidance, and cannot provide online medical guidance and consultation for different types of consultations; and usually only support medical guidance and consultation for a single type of consultation, such as only using voice recognition or text consultation, and cannot integrate medical information of various types of consultations to give a more accurate department classification result; at the same time, most of the existing medical guidance methods and systems are built based on rules or traditional machine learning methods, and cannot fully extract the feature information of user uploaded data, resulting in low accuracy of medical guidance. Summary of the invention

[0004] In view of this, the present invention provides an intelligent medical guidance method, device, storage medium and electronic device, the main purpose of which is to solve the problem that the existing medical guidance methods are unable to provide medical guidance for different types of consultations.

[0005] To solve the above problems, the present application provides an intelligent medical guidance method, including:

[0006] Receive medical consultation information uploaded by users;

[0007] A method for determining a target based on the type of inquiry matching of the inquiry information; wherein the type of inquiry includes: voice, text or image;

[0008] Determine the target triage information in the medical inquiry information based on the target judgment method;

[0009] A corresponding target doctor is matched based on the target triage information, and the information of the target doctor is displayed.

[0010] Optionally, when the consultation type is voice or text, determining the target triage information in the consultation information based on the target judgment method includes:

[0011] Preprocessing the voice-based medical inquiry information or the text-based medical inquiry information to obtain a number of text sentences;

[0012] Extract keywords based on each of the text sentences to obtain a number of candidate keywords;

[0013] Constructing corresponding candidate keyword graphs based on each of the candidate keywords;

[0014] Calculating a weight value of each candidate keyword based on each candidate keyword graph;

[0015] Determine a target keyword based on each of the weight values, wherein the target keyword includes one or more;

[0016] The target keywords are matched in a pre-constructed medical knowledge graph to determine the target triage information.

[0017] Optionally, when the consultation type is an image, determining the target triage information in the consultation information based on the target judgment method includes:

[0018] Determining the type of the target object in the image;

[0019] If the type of the target object is a human body part, the image is identified based on a preset target fine-grained classification model to obtain a probability value of each disease target;

[0020] Determining target triage information based on the target probability value;

[0021] If the type of the target object is text, the text in the image is recognized based on a text recognition model to obtain target triage information.

[0022] Optionally, after receiving the medical consultation information uploaded by the user, the method further includes: receiving location information uploaded by the user;

[0023] The matching of a corresponding target doctor based on the target triage information and displaying the target doctor's information includes:

[0024] Identify the number of target physicians matched;

[0025] When there are multiple matched target doctors, they are arranged according to the distance between the location of the target doctors and the location information, and the information of each target doctor is displayed.

[0026] Optionally, the preprocessing of the voice-based medical inquiry information or the text-based medical inquiry information to obtain a number of text sentences includes:

[0027] When the medical inquiry type is voice, the voice medical inquiry information is framed according to a predetermined voice frame length and a predetermined frame shift length to obtain a plurality of voice frame segments;

[0028] Convert each of the speech frame segments to obtain a corresponding multidimensional vector;

[0029] Normalizing each of the multidimensional vectors to obtain a target feature vector corresponding to each of the multidimensional vectors;

[0030] Obtaining a corresponding phoneme sequence based on each of the target feature vectors;

[0031] Obtaining an initial text based on each of the phoneme sequences;

[0032] Perform segmentation processing based on the initial text to obtain the plurality of text sentences;

[0033] When the medical inquiry type is text, the text medical inquiry information is segmented to obtain the plurality of text sentences.

[0034] Optionally, the image is identified based on a preset target fine-grained classification model to obtain a probability value of each disease target, specifically including:

[0035] Performing feature extraction on the image to obtain a first feature map;

[0036] Using a first convolutional layer and a second convolutional layer to perform convolution processing on the first feature map respectively to obtain a second feature map and a third feature map;

[0037] Performing full convolution processing on the second feature map based on the first full convolution layer to obtain a fourth feature map, so as to obtain a first probability value of each disease based on the fourth feature map;

[0038] The third feature map is processed in sequence based on the pooling layer and the second full convolution layer to obtain a fifth feature map, so as to obtain a second probability value of each disease based on the fifth feature map;

[0039] The third feature map is processed in sequence based on the pooling layer and the cross-channel pooling layer to obtain a sixth feature map, so as to obtain a third probability value of each disease based on the sixth feature map;

[0040] A target probability value for each disease is obtained based on the first probability value for each disease, the second probability value for each disease, and the third probability value for each disease.

[0041] Optionally, before recognizing the image based on a preset target fine-grained classification model to obtain the target probability value of each disease, the method further includes training to obtain the target fine-grained classification model, and the training process includes:

[0042] Obtain several image samples;

[0043] Obtain the disease name corresponding to each image sample;

[0044] Based on the image samples and the disease names corresponding to the image samples, a fine-grained classification model is trained to obtain the target fine-grained classification model.

[0045] In order to solve the above technical problems, the present application provides an intelligent medical guidance device, comprising:

[0046] A receiving module is used to receive the medical consultation information uploaded by the user;

[0047] A first matching module is used to match the target judgment method based on the inquiry type of the inquiry information; wherein the inquiry type includes: voice, text or image;

[0048] A determination module, used for determining target triage information in the medical inquiry information based on the target determination method;

[0049] The second matching module is used to match the corresponding target doctor based on the target triage information and display the information of the target doctor.

[0050] To solve the above problem, the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned intelligent medical guidance methods are implemented.

[0051] To solve the above problem, the present application provides an electronic device, comprising at least a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above-mentioned intelligent medical guidance methods when executing the computer program on the memory.

[0052] The intelligent medical guidance method, device, storage medium and electronic device in the present application match the corresponding target judgment method according to the type of consultation, and then judge the consultation information according to the target judgment method to determine the target triage information, thereby achieving disease judgment for consultation information of different consultation types, and intelligently guiding users to find the target doctor quickly.

[0053] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0055] Figure 1 This is a flow chart of an intelligent medical guidance method according to an embodiment of the present application;

[0056] Figure 2 This is a network architecture diagram of a fine-grained classification model according to an embodiment of the present application;

[0057] Figure 3 This is a flowchart of an intelligent medical guidance method according to another embodiment of the present application;

[0058] Figure 4 This is a structural block diagram of an intelligent medical guidance device according to another embodiment of the present application. DETAILED DESCRIPTION

[0059] Various aspects and features of the present application are described herein with reference to the accompanying drawings.

[0060] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0061] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0062] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0063] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.

[0064] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.

[0065] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.

[0066] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.

[0067] The embodiment of the present application provides an intelligent medical guidance method, which is specifically described by taking the method applied to a computer device such as a server as an example, wherein the server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. Figure 1 As shown, the method in this embodiment includes:

[0068] Step S101, receiving the medical consultation information uploaded by the user;

[0069] In this step, the server can specifically receive the medical consultation information uploaded by the user through the terminal device, that is, after the user enters the medical consultation information in the predetermined input interface of the terminal, the terminal device forwards the medical consultation information to the designated server, and the server can then perform medical guidance processing based on the received medical consultation information.

[0070] Step S102, matching a target judgment method based on the inquiry type of the inquiry information; wherein the inquiry type includes: voice, text or image;

[0071] In this step, the medical consultation information includes any one of the following: voice medical consultation information, text medical consultation information, human body part image medical consultation information, and examination report image medical consultation information. The medical consultation type includes: a voice type corresponding to the voice medical consultation information, a text type corresponding to the text medical consultation information, a first image type corresponding to the human body part image medical consultation information, and a second image type corresponding to the examination report image medical consultation information. The target judgment method includes any one of the following: a first judgment method corresponding to the text type and the voice type, a second judgment method corresponding to the first image type, and a third judgment method corresponding to the second image type.

[0072] Specifically, before implementing this step, a mapping relationship between each consultation type and judgment method can be established in advance and stored. In this way, after receiving the consultation information, the corresponding target judgment method can be quickly found by searching the above mapping relationship according to the consultation type of the consultation information.

[0073] Step S103, determining target triage information in the medical inquiry information based on the target determination method;

[0074] In this step, after determining the target judgment method, the judgment method can be used to judge the medical inquiry information to determine the target triage information in the medical inquiry information. The target triage information may include disease type, department, etc. The specific judgment methods include the following:

[0075] Method 1: When the consultation type is voice or text, the target triage information is determined by obtaining the target keywords. The specific judgment process is: pre-process the voice-type consultation information or the text-type consultation information to obtain a number of text sentences. For example, when the consultation information is voice, the following processing process can be used to obtain a number of text sentences: (1) The voice consultation information is divided into frames according to a predetermined voice frame length and a predetermined shift frame length to obtain a number of voice frame segments. That is, there is a certain overlap between frames. For example, if the length of each frame is 30ms and the frame shift is 15ms, there is a 15ms overlap between the two frames. (2) Each of the voice frame segments is converted to obtain a multidimensional vector corresponding to each of the voice frame segments. Specifically, each frame of speech signal can be converted into a 40-dimensional vector by extracting the Mel-scale Frequency Cepstral Coefficients (MFCC) of each frame of audio. (3) Each of the multidimensional vectors is normalized to obtain a target feature vector corresponding to each of the multidimensional vectors. That is, the 40-dimensional feature vector is normalized, that is, the mean of the 40-dimensional vector is subtracted and divided by the variance to obtain the target feature vector. (4) Based on each of the target feature vectors, a phoneme sequence corresponding to each of the target feature vectors is obtained. Specifically, a predetermined speech recognition model can be used to obtain multiple phoneme sequences according to the target feature vector. The speech recognition model is mainly composed of a speech model based on a long short-term memory network (LSTM) and a language model based on N-Gram. The LSTM network model has a total of 5 layers, the first and second layers have a total of 40 hidden nodes, the third layer is a fully connected layer with 80 hidden nodes, the fourth layer is a softmax layer, and the fifth layer is a connectionist temporal classification (Connectionist Temporal Classification, CTC for short. The N in the N-gram model is 3, so the language model is also a Trigram model. (5) Obtain the initial text based on each of the phoneme sequences. Specifically, a Trigram language model can be trained based on the medical knowledge of the Chinese Medical Knowledge Graph (CMeKG); then the WFST speech recognition system is used to compile the Hidden Markov Model (HMM for short), the pronunciation dictionary (the correspondence between pinyin and Chinese characters, such as "nihao" corresponds to "hello") and the Trigram model into a dynamic network, and the Viterbi algorithm is used to find the optimal output character sequence in the network, thereby converting the factor sequence into text. (6) Segmentation processing is performed based on the initial text to obtain the several text sentences.Alternatively, when the medical consultation information is in the form of text, it can be directly segmented to obtain a number of text sentences. When segmenting, punctuation marks can be used for segmentation.

[0076] In this embodiment, after obtaining a number of text sentences, keyword extraction can be performed to obtain target keywords. The process of obtaining target keywords is as follows: (1) Keyword extraction is performed based on each of the text sentences to obtain a number of candidate keywords. Specifically, a number of candidate keywords can be extracted based on the part of speech of each word in the text sentence. For example, words with the part of speech of noun, verb or adjective in each text sentence are extracted to obtain a number of candidate keywords. (2) Based on each of the candidate keywords, a number of candidate keyword graphs G corresponding to each candidate keyword are constructed, that is, each candidate keyword will be constructed with a number of candidate keywords G = (V, E), where V is a node set consisting of candidate keywords, and E is a set of unordered tuples consisting of elements in V, called an edge set, and the candidate keyword graph is an undirected graph. The process of constructing the candidate keyword graph G is as follows: a target candidate keyword can be first determined from a number of candidate keywords, and then a candidate keyword graph is constructed based on the adjacent relationship between the target candidate keyword and the n candidate keywords in front of it and the m candidate keywords in the back; wherein n+m=N, n=[0,N], m=[0,N], wherein N is a value set according to actual needs, for example, 4. In this step, by selecting different n and m values ​​each time, each candidate keyword graph corresponding to the target candidate keyword can be obtained. Similarly, by taking each candidate keyword as the target candidate keyword, several candidate keyword graphs of each candidate keyword can be constructed. (3) The weight value of each candidate keyword is calculated based on the several candidate keyword graphs of each candidate keyword. In this step, taking the calculation of the weight value of the candidate keyword "5" as an example, the candidate keyword "5" will correspond to several candidate keyword graphs G, for example, the candidate keyword graphs G are: "1, 2, 3, 4, 5", "2, 3, 4, 5, 6", "3, 4, 5, 6, 7". Then, when calculating the weight value of the candidate keyword "5", it is necessary to first calculate the weights of the seven paths (5, 1), (5, 2), (5, 3), (5, 4), (5, 5), (5, 6), (5, 7), among which (5, 1), (5, 2), (5, 3), (5, 4) are the edge set E of the first candidate keyword graph G. After determining each path and the weight of each path, the weights of the seven paths can be added to obtain the weight value of "5". Among them, the weight of the path E of (5, 1) is calculated based on the frequency of (5, 1) appearing in each candidate keyword graph G. Since (5, 1) only appears once in each candidate keyword graph, the weight of (5, 1) can be obtained based on the correspondence between frequency and weight. In this step, the correspondence between weight and frequency can be pre-established. For example, the greater the frequency, the greater the corresponding weight. (4) Determine a number of target keywords based on the weight values ​​of each candidate keyword. In this step, the three candidate keywords with the largest weight values ​​can be used as target keywords.

[0077] After obtaining the target keywords, the pre-built medical knowledge graph can be searched based on the target keywords to determine the target triage information. The medical knowledge graph contains the correspondence between the disease site, disease symptoms, and disease name. For example, when the target keywords are determined, if they are "head", "heat", and "pain", the target triage information can be determined as "cold, fever" by searching the medical knowledge graph.

[0078] In this method, the weight value of each candidate keyword is calculated based on the candidate keyword graph, so that the target keyword can be accurately determined, which lays the foundation for the subsequent accurate judgment of the target triage information and accurate medical guidance.

[0079] Method 2: When the inquiry type is an image, the target disease is determined by model recognition to determine the target triage information. The specific process of determining the target triage information is as follows: determine the type of the target object in the image inquiry information; if the type of the target object is a human body part, then identify the image based on a preset target fine-grained classification model to obtain target probability values ​​for each disease; determine the target triage information based on the target probability value; if the type of the target object is text, then identify the text in the image based on a text recognition model to obtain target triage information. That is, in this method, it is necessary to further determine the target judgment method according to the type of object in the image. For example, when the object content in the image is a human body part, it means that the image is a photo of a human body part, such as an arm photo, a head photo, or a leg photo. At this time, the recognition method of the target fine-grained classification model can be used to determine the target disease, and then determine the target triage information; when the object content in the image is text, it means that the image is a test report, a laboratory report, etc. At this time, a text recognition model can be used to identify the inspection report to obtain the name of the target disease, and then determine the target triage information.

[0080] Among them, the target fine-grained classification model Advanced DFL architecture can be as follows Figure 2As shown, by inputting the image consultation information into the target fine-grained classification model for judgment, the target probability value of each disease can be obtained. The judgment process of the target fine-grained classification model is specifically as follows: (1) Based on the DenseNet121 feature extraction module in the fine-grained classification model, the image is subjected to feature extraction to obtain a first feature map. That is, the four convolutional layers Conv1_x, Conv2_x, Conv3_x and Conv4_x in the DenseNet121 feature extraction module are used to extract features of the image in turn to obtain a first feature map. Among them, the 3*3 convolution kernels in the first dense block DenseBlock in the DenseNet121 feature extraction module all use dilated convolution, and the dilation rate is [1, 2, 5, 5, 2, 1], which increases the receptive field without increasing the parameters, thereby increasing the classification performance. (2) The first convolutional layer Conv5_x and the second convolutional layer Conv6_x are used to perform convolution processing on the first feature map respectively to obtain a second feature map and a third feature map. (3) Based on the first full convolution layer with a convolution kernel of 1*1, the second feature map is fully convolved to obtain a fourth feature map, and the first probability value of each disease is obtained by inputting the fourth feature map into the loss layer LossLayer; (4) Based on the pooling layer Pool6 and the second full convolution layer with a convolution kernel of 1*1, the third feature map is processed in sequence to obtain a fifth feature map, and the second probability value of each disease is obtained by inputting the fifth feature map into the loss layer LossLayer; (5) Based on the pooling layer Pool6 and the cross-channel pooling layer Cross-Channel Pooling, the third feature map is processed in sequence to obtain a sixth feature map, and the third probability value of each disease is obtained by inputting the sixth feature map into the loss layer Loss Layer; (6) Based on the first probability value of each disease, the second probability value of each disease and the third probability value of each disease, the total loss Total Loss is calculated to obtain the target probability value of each disease. In this method, by utilizing a preset target fine-grained classification model, skin diseases and / or skin or trauma diseases in images of human body parts can be accurately identified, that is, the target triage information can be accurately determined, which provides a guarantee for the subsequent accurate determination of the target doctor and accurate medical guidance.

[0081] When the image is recognized based on the text recognition model, for example, the examination report image can be recognized based on the OCR recognition model to obtain the target triage information. The OCR model is used to recognize the examination report image to obtain the name of the disease. The specific recognition process is: the fields on the test report are detected to obtain the coordinates of the upper left, lower right, lower right and lower left points of the field. The image block is obtained by cropping based on the above four coordinates, and then the short side of the image block is scaled to 720 pixels, and the long side is scaled proportionally according to the size of the original image. Finally, the scaled image block is passed into the recognition model, and the text content is output, that is, the target triage information is output. By using the OCR recognition model, that is, the text recognition model, the name in the examination report image can be directly recognized, thereby accurately determining the target triage information, which provides a guarantee for the subsequent accurate determination of the target doctor and accurate medical guidance.

[0082] The triage information in this step may specifically include the name of the disease, the department to which the disease belongs, the severity of the disease, etc.

[0083] Step S104, matching a corresponding target doctor based on the target triage information, and displaying the target doctor's information.

[0084] In this step, the association relationship between the target triage information and the disease department and the doctor can be established in advance. Therefore, after determining the target triage information, the department corresponding to the target triage information can be matched by searching the association relationship, and then at least one doctor can be randomly selected from several doctors corresponding to the department as the target doctor. Specifically, at least one doctor can be selected as the target doctor according to a predetermined selection order or the doctor's availability. Finally, the information of the target doctor is fed back to the terminal device, and displayed by the terminal device for the user to view.

[0085] The intelligent medical guidance method in the present application matches the corresponding target judgment method according to the type of consultation, and then uses the target judgment method to judge the consultation information, thereby accurately determining the target triage information, and further realizing the ability to judge diseases for consultation information of different types of consultations, and then guiding the user to a doctor.

[0086] Based on the above embodiments, another embodiment of the present application provides an intelligent medical guidance method, such as Figure 3 As shown, including:

[0087] Step S201, obtain a number of image samples; obtain the name of the disease corresponding to each image sample; based on the image samples and the disease name corresponding to each image sample, train a fine-grained classification model to obtain the target fine-grained classification model.

[0088] In this step, the image samples can be image samples of human body parts, such as head image samples, hand image samples, arm image samples, etc. The disease name can be a trauma disease name or a skin disease name, which can be: skin infection, bone exposure, skin abrasion, skin burn, skin allergy, vitiligo, etc. By inputting the above image samples into Figure 2 In the initial fine-grained classification model in the model architecture shown, the probability of the disease corresponding to the image samples of each human body part can be output. The parameters in the initial model are adjusted according to the actual disease of each image sample, that is, the neuron parameters in each convolution kernel are adjusted to obtain the preset convolution kernel, thereby training to obtain the fine-grained classification model.

[0089] Step S202, obtaining a number of inspection report image samples; obtaining the disease name corresponding to each inspection report image; training an OCR recognition model based on the inspection report image samples and the disease name corresponding to each inspection report image to obtain a preset OCR recognition model.

[0090] Step S203, receiving the medical consultation information uploaded by the user;

[0091] In this step, the medical consultation information may be any one or more of the following: voice medical consultation information, text medical consultation information, and image medical consultation information. That is, medical consultation information of multiple types uploaded by users may be received at the same time. Among them, image medical consultation information may include: images of human body parts, test sheets, imaging reports, etc.

[0092] Step S204, searching the first mapping relationship table based on the inquiry type of the inquiry information, and matching to obtain a target judgment method; wherein the inquiry type includes: voice, text or image;

[0093] In this step, when the medical inquiry information includes different types of medical inquiry, for example, both text medical inquiry information and image medical inquiry information of human body parts, the corresponding target judgment methods can be matched for the two types of medical inquiry information respectively, so as to lay the foundation for subsequent use of the corresponding judgment methods to make disease judgments on the medical inquiry information.

[0094] Step S205, determining target triage information in the medical inquiry information based on the target determination method;

[0095] Step S206, matching a corresponding target doctor based on the target triage information, and displaying the target doctor's information.

[0096] In this step, after determining the target doctor, the doctor's title, field of expertise, years of work experience, affiliated hospital and other related information can be fed back to each terminal device for display on the terminal device. And after displaying the doctor information of each target doctor, the user's click information can be further received, and then a session can be established based on the user's click information to achieve online consultation. That is, when the terminal device displays several target doctors, the user can go to the hospital for consultation by online registration, or directly select a target doctor, and then further establish a session with the target doctor to achieve online consultation.

[0097] In this embodiment, after receiving the consultation information uploaded by the user, the location information uploaded by the user can also be received; the matching of the corresponding target doctor based on the target triage information and displaying the information of the target doctor include: identifying the number of matched target doctors; when there are multiple matched target doctors, arranging them according to the distance between the location of the target doctor and the location information, and displaying the information of each target doctor. In this embodiment, by displaying the target doctors in the order of distance, the user can intuitively and quickly understand which doctor is closest to the user, which is convenient for the user to conduct subsequent offline consultations. Of course, in this application, the display order can also be displayed according to the doctor's comprehensive score, years of practice, etc.

[0098] Another embodiment of the present application provides an intelligent medical guidance device, such as Figure 4 As shown, including:

[0099] Receiving module 1, used to receive the medical consultation information uploaded by the user;

[0100] A first matching module 2 is used for matching a target judgment method based on the inquiry type of the inquiry information; wherein the inquiry type includes: voice, text or image;

[0101] Determination module 3, used for determining target triage information in the medical inquiry information based on the target judgment method;

[0102] The second matching module 4 is used to match the corresponding target doctor based on the target triage information and display the information of the target doctor.

[0103] Specifically, the determination module is specifically used to: pre-process voice-based medical inquiry information or text-based medical inquiry information to obtain a number of text sentences; extract keywords based on each of the text sentences to obtain a number of candidate keywords; construct a number of corresponding candidate keyword graphs based on each of the candidate keywords; calculate the weight value of each of the candidate keywords based on each of the candidate keyword graphs; determine the target keyword based on each of the weight values, wherein the target keyword includes one or more; match the target keyword in a pre-constructed medical knowledge graph to determine the target triage information.

[0104] Specifically, the determination module is also used to: determine the type of the target object in the image consultation information; if the type of the target object is a human body part, identify the image based on a preset target fine-grained classification model to obtain target probability values ​​of each disease; determine target triage information based on the target probability value; if the type of the target object is text, identify the text in the image based on a text recognition model to obtain target triage information.

[0105] The receiving module in this embodiment is also used to receive location information uploaded by the user;

[0106] The matching of the corresponding target doctor based on the target triage information and displaying the target doctor's information includes: identifying the number of matched target doctors; when there are multiple matched target doctors, arranging them according to the distance between the location of the target doctor and the location information, and displaying the information of each target doctor.

[0107] In the specific implementation process, the intelligent medical guidance device also includes a preprocessing module, which is used to: when the consultation type is voice, perform frame processing on the voice consultation information according to a predetermined voice frame length and a predetermined frame shift length to obtain a number of voice frame segments; convert each of the voice frame segments to obtain a corresponding multidimensional vector; normalize each of the multidimensional vectors to obtain a target feature vector corresponding to each of the multidimensional vectors; obtain a phoneme sequence corresponding to each of the target feature vectors based on each of the target feature vectors; obtain an initial text based on each of the phoneme sequences; perform segmentation processing based on the initial text to obtain the several text sentences; when the consultation type is text, perform segmentation processing on the text consultation information to obtain the several text sentences.

[0108] In this implementation, the determination module is specifically used to: perform feature extraction on the image to obtain a first feature map; use the first convolution layer and the second convolution layer to perform convolution processing on the first feature map respectively to obtain a second feature map and a third feature map; perform full convolution processing on the second feature map based on the first full convolution layer to obtain a fourth feature map, so as to obtain a first probability value of each disease based on the fourth feature map; based on the pooling layer and the second full convolution layer, the third feature map is processed in sequence to obtain a fifth feature map, so as to obtain a second probability value of each disease based on the fifth feature map; based on the pooling layer and the cross-channel pooling layer, the third feature map is processed in sequence to obtain a sixth feature map, so as to obtain a third probability value of each disease based on the sixth feature map; based on the first probability value of each disease, the second probability value of each disease and the third probability value of each disease, the target probability value of each disease is obtained.

[0109] Specifically, the intelligent medical guide device in this embodiment also includes a training module for training to obtain the target fine-grained classification model, and the training module is specifically used to: obtain a number of image samples; obtain the name of the disease corresponding to each image sample; based on the image samples and the disease name corresponding to each image sample, train a fine-grained classification model to obtain the target fine-grained classification model.

[0110] In this application, by matching the corresponding target judgment method according to the type of inquiry, and then judging the inquiry information according to the target judgment method, the target triage information is determined, thereby realizing that the inquiry information for different inquiry types can be used for disease judgment, and intelligently guides users to find the target doctor quickly and accurately. This application realizes the ability to comprehensively analyze the multimodal (text type, voice type, image type) inquiry information uploaded by users, and for the inquiry information of different inquiry types, a deep learning model is introduced for processing, which can greatly increase the model's high-level feature extraction of data. In addition, departments and doctors are recommended in a human-computer interactive manner, and users have a certain degree of autonomy in choosing, so that the entire guidance process is changed from a question-and-answer service to a selective service, thereby improving the accuracy of the guidance.

[0111] Another embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the following steps of the intelligent medical guidance method are implemented:

[0112] Step 1: Receive the medical consultation information uploaded by the user;

[0113] Step 2: Matching the target judgment method based on the inquiry type of the inquiry information; wherein the inquiry type includes: voice, text or image;

[0114] Step 3: determining target triage information in the medical inquiry information based on the target determination method;

[0115] Step 4: Match the corresponding target doctor based on the target triage information and display the target doctor's information.

[0116] The specific implementation process of the above method steps can be found in any of the above-mentioned embodiments of the intelligent medical guidance method, and this embodiment will not be repeated here.

[0117] In this application, by matching the corresponding target judgment method according to the type of consultation, and then judging the consultation information according to the target judgment method, the target triage information is determined, thereby achieving disease judgment for consultation information of different types of consultations, intelligently guiding users to find the target doctor quickly and accurately.

[0118] Another embodiment of the present application provides an electronic device, comprising at least a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps of the intelligent medical guidance method when executing the computer program on the memory:

[0119] Step 1: Receive the medical consultation information uploaded by the user;

[0120] Step 2: Matching the target judgment method based on the inquiry type of the inquiry information; wherein the inquiry type includes: voice, text or image;

[0121] Step 3: determining target triage information in the medical inquiry information based on the target determination method;

[0122] Step 4: Match the corresponding target doctor based on the target triage information and display the target doctor's information.

[0123] The specific implementation process of the above method steps can be found in any of the above-mentioned embodiments of the intelligent medical guidance method, and this embodiment will not be repeated here.

[0124] In this application, by matching the corresponding target judgment method according to the type of consultation, and then judging the consultation information according to the target judgment method, the target triage information is determined, thereby achieving disease judgment for consultation information of different types of consultations, intelligently guiding users to find the target doctor quickly and accurately.

[0125] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.

Claims

1. An intelligent medical guidance method, characterized in that: include: Receive medical consultation information uploaded by users; A method for determining a target based on the type of inquiry matching of the inquiry information; wherein the type of inquiry includes: voice, text or image; Determine the target triage information in the medical inquiry information based on the target judgment method; Matching a corresponding target doctor based on the target triage information, and displaying the target doctor's information; When the consultation type is voice or text, determining the target triage information in the consultation information based on the target judgment method includes: Preprocessing the voice-based medical inquiry information or the text-based medical inquiry information to obtain a number of text sentences; Extract keywords based on each of the text sentences to obtain a number of candidate keywords; Constructing corresponding candidate keyword graphs based on each of the candidate keywords; Calculating a weight value of each candidate keyword based on each candidate keyword graph; Determine a target keyword based on each of the weight values, wherein the target keyword includes one or more; Matching the target keywords in a pre-constructed medical knowledge graph to determine target triage information; When the medical inquiry type is an image, determining the target triage information in the medical inquiry information based on the target judgment method includes: Determining the type of the target object in the image; If the type of the target object is a human body part, the image is identified based on a preset target fine-grained classification model to obtain a probability value of each disease target; Determining target triage information based on the target probability value; If the type of the target object is text, recognizing the text in the image based on a text recognition model to obtain target triage information; The image is identified based on a preset target fine-grained classification model to obtain the probability value of each disease target, specifically including: Performing feature extraction on the image to obtain a first feature map; Using a first convolutional layer and a second convolutional layer to perform convolution processing on the first feature map respectively to obtain a second feature map and a third feature map; Performing full convolution processing on the second feature map based on the first full convolution layer to obtain a fourth feature map, so as to obtain a first probability value of each disease based on the fourth feature map; The third feature map is processed in sequence based on the pooling layer and the second full convolution layer to obtain a fifth feature map, so as to obtain a second probability value of each disease based on the fifth feature map; The third feature map is processed in sequence based on the pooling layer and the cross-channel pooling layer to obtain a sixth feature map, so as to obtain a third probability value of each disease based on the sixth feature map; A target probability value for each disease is obtained based on the first probability value for each disease, the second probability value for each disease, and the third probability value for each disease.

2. The method according to claim 1, characterized in that After receiving the medical consultation information uploaded by the user, the method further includes: receiving location information uploaded by the user; The matching of a corresponding target doctor based on the target triage information and displaying the target doctor's information includes: Identify the number of target physicians matched; When there are multiple matched target doctors, they are arranged according to the distance between the location of the target doctors and the location information, and the information of each target doctor is displayed.

3. The method according to claim 1, characterized in that The preprocessing of the voice-based medical inquiry information or the text-based medical inquiry information to obtain a number of text sentences includes: When the medical inquiry type is voice, the voice medical inquiry information is framed according to a predetermined voice frame length and a predetermined frame shift length to obtain a plurality of voice frame segments; Convert each of the speech frame segments to obtain a corresponding multidimensional vector; Normalizing each of the multidimensional vectors to obtain a target feature vector corresponding to each of the multidimensional vectors; Obtaining a corresponding phoneme sequence based on each of the target feature vectors; Obtaining an initial text based on each of the phoneme sequences; Perform segmentation processing based on the initial text to obtain the plurality of text sentences; When the medical inquiry type is text, the text medical inquiry information is segmented to obtain the plurality of text sentences.

4. The method according to claim 1, characterized in that Before the image is identified based on a preset target fine-grained classification model to obtain the probability value of each disease target, the method further includes training to obtain the target fine-grained classification model, and the training process includes: Obtain several image samples; Obtain the disease name corresponding to each image sample; Based on the image samples and the disease names corresponding to the image samples, a fine-grained classification model is trained to obtain the target fine-grained classification model.

5. An intelligent medical guidance device, characterized in that: include: A receiving module, used to receive the medical consultation information uploaded by the user; A first matching module is used to match the target judgment method based on the inquiry type of the inquiry information; wherein the inquiry type includes: voice, text or image; A determination module, used for determining target triage information in the medical inquiry information based on the target determination method; A second matching module, used for matching a corresponding target doctor based on the target triage information, and displaying the information of the target doctor; When the medical inquiry type is voice or text, the determination module is specifically used to: pre-process the voice-type medical inquiry information or the text-type medical inquiry information to obtain a number of text sentences; Extract keywords based on each of the text sentences to obtain a number of candidate keywords; Constructing corresponding candidate keyword graphs based on each of the candidate keywords; Calculating a weight value of each candidate keyword based on each candidate keyword graph; Determine a target keyword based on each of the weight values, wherein the target keyword includes one or more; Matching the target keywords in a pre-constructed medical knowledge graph to determine target triage information; When the consultation type is an image, the determination module is specifically used to: determine the type of the target object in the image; If the type of the target object is a human body part, the image is identified based on a preset target fine-grained classification model to obtain target probability values ​​of various diseases; and target triage information is determined based on the target probability values; If the type of the target object is text, recognizing the text in the image based on a text recognition model to obtain target triage information; The determination module is specifically used to: extract features from the image to obtain a first feature map; Using a first convolutional layer and a second convolutional layer to perform convolution processing on the first feature map respectively to obtain a second feature map and a third feature map; Performing full convolution processing on the second feature map based on the first full convolution layer to obtain a fourth feature map, so as to obtain a first probability value of each disease based on the fourth feature map; The third feature map is processed in sequence based on the pooling layer and the second full convolution layer to obtain a fifth feature map, so as to obtain a second probability value of each disease based on the fifth feature map; The third feature map is processed in sequence based on the pooling layer and the cross-channel pooling layer to obtain a sixth feature map, so as to obtain a third probability value of each disease based on the sixth feature map; A target probability value for each disease is obtained based on the first probability value for each disease, the second probability value for each disease, and the third probability value for each disease.

6. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the intelligent medical guidance method according to any one of claims 1 to 4 are implemented.

7. An electronic device, characterized in that: The device at least comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the intelligent medical guidance method according to any one of claims 1 to 4 when executing the computer program on the memory.

Citation Information

Patent Citations

  • High-efficient medical guiding method and system

    CN109119145A

  • Triage method for online interrogation, sever, terminal, equipment and medium

    CN109599187A

  • Intelligent triage method and system

    CN110619959A

  • Auxiliary method and device for medical inquiry, electronic equipment and medium

    CN111816301A

  • Inquiry session processing method and device based on artificial intelligence, and computer equipment

    CN112307168A