Clinical medical history inquiry method and device based on voice feedback and electronic equipment
Through the clinical history inquiry method based on voice feedback, the deep learning model is used to analyze patient audio information and generate clinical history inquiry questions, which solves the problem of low efficiency of existing follow-up methods, achieves more accurate and comprehensive health status assessment, and improves treatment. experience.
Patent Information
- Application Number
- CN202410635793.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-17
AI Technical Summary
Existing follow-up methods are time-consuming and overly dependent on the experience and skills of medical staff, resulting in low follow-up efficiency and inability to effectively collect all relevant information, affecting patient treatment effects and health status monitoring.
A clinical history inquiry method based on voice feedback is adopted to collect the patient's audio information, convert it into text information, obtain key information and patient intentions based on context analysis, generate questions for clinical history inquiry, and use a deep learning model to identify voice features and intentions. Improve follow-up efficiency and quality.
It effectively improves the efficiency and quality of the follow-up process, ensures a more accurate and comprehensive assessment of the patient's health status, reduces the workload of medical staff, and improves the patient's treatment experience.
Smart Images

Figure CN118658640A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and specifically relates to a clinical history inquiry method, device and electronic equipment based on voice feedback. Background Art
[0002] Follow-up is a method of observation by hospitals of patients who have been treated in the hospital, by means of communication or other means, to regularly understand the changes in the patient's condition and guide the patient's rehabilitation. Follow-up can improve the hospital's pre- and post-medical service level, and at the same time facilitate doctors to track and observe patients, obtain first-hand information for statistical analysis and accumulate experience. It is also conducive to the development of medical research and the improvement of the professional level of medical workers, so as to better serve patients.
[0003] When collecting medical history, doctors or researchers may need to dynamically adjust questioning strategies based on the patient's answers to ensure that all relevant information is collected. Accurate follow-up information is essential to ensure patient treatment effectiveness and monitor health status. However, existing follow-up methods are time-consuming and overly dependent on the experience and skills of medical staff. Summary of the invention
[0004] The purpose of this application is to provide a clinical history inquiry method, device and electronic device based on voice feedback to solve the problem of low follow-up efficiency.
[0005] According to a first aspect of an embodiment of the present application, a clinical history inquiry method based on voice feedback is provided, and the method may include: Collect audio information from patients; Convert audio information into text information; Analyze text information according to context to obtain key information and patient intent; Generate clinical history questions based on key information and patient intent.
[0006] In some optional embodiments of the present application, converting audio information into text information includes: Remove redundant information from the audio information and extract sound features to obtain preprocessed audio; Perform text conversion on the pre-processed audio to obtain text information.
[0007] In some optional embodiments of the present application, removing redundant information in the audio information and extracting sound features to obtain preprocessed audio includes: Get the Mel frequency cepstrum coefficients of audio information; The patient's voice characteristics were calculated based on the Mel-frequency cepstral coefficients.
[0008] In some optional embodiments of the present application, the pre-processed audio is converted into text to obtain text information, including: Use the trained speech recognition model to recognize the pre-processed audio and obtain text information.
[0009] In some optional embodiments of the present application, the text information is analyzed according to the context to obtain key information and patient intention, including: Using the trained first deep learning model to identify key information in the text information; The trained second deep learning model is used to identify patient intent in text information.
[0010] In some optional embodiments of the present application, the trained first deep learning model is trained by: Collect medical-related text data; Label the symptoms and drugs in the text data to form the first training set; The first deep learning model is trained using the first training set to obtain a trained first deep learning model.
[0011] In some optional embodiments of the present application, the trained second deep learning model is trained by: Collect text samples of follow-up conversations; Label the intent categories of the text samples to obtain the second training set; The second deep learning model is trained using the second training set to obtain a trained second deep learning model.
[0012] According to a second aspect of an embodiment of the present application, a clinical history inquiry device based on voice feedback is provided, and the device may include: An audio collection module, used to collect audio information of patients; A text conversion module, used for converting audio information into text information; The analysis module is used to analyze text information according to the context to obtain key information and patient intentions; The question generation module is used to generate questions for clinical history inquiry based on key information and patient intention.
[0013] According to a third aspect of an embodiment of the present application, an electronic device is provided, which may include: processor; a memory for storing processor-executable instructions; The processor is configured to execute instructions to implement the clinical history inquiry method based on voice feedback as shown in any one of the embodiments of the first aspect.
[0014] According to the fourth aspect of the embodiments of the present application, a storage medium is provided. When the instructions in the storage medium are executed by a processor of an information processing device or a server, the information processing device or the server implements a clinical history inquiry method based on voice feedback as shown in any one of the embodiments of the first aspect.
[0015] The above technical solution of the present application has the following beneficial technical effects: The method of the embodiment of the present application converts audio information into text information; analyzes the text information according to the context to obtain key information and patient intentions; and then generates questions for clinical history inquiry based on the key information and patient intentions. This method effectively improves the efficiency and quality of the follow-up process, ensures that the patient's health status is more accurately and comprehensively assessed, and enables medical staff to conduct follow-up more effectively, improving the patient's overall treatment experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] FIG1 is a flow chart of a clinical history inquiry method based on voice feedback in an exemplary embodiment of the present application; FIG2 is a schematic diagram of the structure of a clinical history inquiry device based on voice feedback in an exemplary embodiment of the present application; FIG3 is a schematic diagram of the structure of an electronic device in an exemplary embodiment of the present application; FIG. 4 is a schematic diagram of the hardware structure of an electronic device in an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with specific implementations and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present application. In addition, in the following description, the description of known structures and technologies is omitted to avoid unnecessary confusion of the concepts of the present application.
[0018] The accompanying drawings show schematic diagrams of layer structures according to embodiments of the present application. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clarity. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design regions / layers with different shapes, sizes, and relative positions according to actual needs.
[0019] Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0020] In the description of the present application, it should be noted that the terms "first", "second" and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0021] In addition, the technical features involved in the different embodiments of the present application described below can be combined with each other as long as they do not conflict with each other.
[0022] The clinical history inquiry method, device and electronic device based on voice feedback provided in the embodiments of the present application are described in detail below in conjunction with the accompanying drawings through specific embodiments and their application scenarios.
[0023] like Figure 1 As shown, in a first aspect of an embodiment of the present application, a clinical history inquiry method based on voice feedback is provided, and the method may include: S110: collecting audio information of the patient; S120: Converting the audio information into text information; S130: Analyze the text information according to the context to obtain key information and patient intention; S140: Generate clinical history questions based on key information and patient intent.
[0024] The method of this embodiment can effectively improve the efficiency and quality of the follow-up process, ensure that the patient's health status is more accurately and comprehensively assessed, and enable medical staff to conduct follow-up more effectively, thereby improving the patient's overall treatment experience.
[0025] In some embodiments, converting the audio information into text information includes: Remove redundant information from the audio information and extract sound features to obtain preprocessed audio; Perform text conversion on the pre-processed audio to obtain text information.
[0026] In some embodiments, removing redundant information from audio information and extracting sound features to obtain preprocessed audio includes: Get the Mel frequency cepstrum coefficients of audio information; The patient's voice characteristics were calculated based on the Mel-frequency cepstral coefficients.
[0027] Specifically, each speech signal is first pre-emphasized, frame-segmented, and windowed; Fast Fourier Transform (FFT) is applied to each frame to obtain the spectrum; the spectrum is mapped to the Mel scale and processed using a Mel filter bank; the logarithm of the output of each Mel filter is taken, and then discrete cosine transform (DCT) is applied to obtain Mel frequency cepstral coefficients (MFCCs); the first N MFCCs are selected as features (N=13), and the 0th coefficient is ignored.
[0028] In some embodiments, converting the pre-processed audio into text to obtain text information includes: Use the trained speech recognition model to recognize the pre-processed audio and obtain text information.
[0029] Specifically, an LSTM model can be used. The input of this model is a sequence of MFCCs features with a dimension of (number of time steps, 13), where 13 is the number of selected MFCC features. The first LSTM layer of this model has 128 units and returns the output of the entire sequence; the second LSTM layer also has 128 units, but only returns the output of the last time step for classification. The fully connected layer of this model is connected to a Dense layer with 64 units, using the ReLU activation function. For the binary classification problem, the output layer of this model has 1 unit and uses the sigmoid activation function; for the binary classification, the loss function uses binarycrossentropy, and the optimizer is recommended to use Adam, with the learning rate set to 0.001.
[0030] In some embodiments, the text information is analyzed according to the context to obtain key information and patient intentions, including: Using the trained first deep learning model to identify key information in the text information; The trained second deep learning model is used to identify patient intent in text information.
[0031] In this embodiment, key information may include disease names, symptoms, drugs, treatment methods, etc. For patient intent, you can first analyze common conversations and patient needs in medical follow-up scenarios. Determine the different types of intent that may appear in these conversations. Define a series of specific intent categories based on business needs and conversation analysis results. For example, in a medical follow-up scenario, possible intent categories include "report symptoms", "ask for treatment options", "express concerns", "ask for help", etc. Make sure that intent categories are clear, mutually exclusive, and easy to identify and distinguish. Create a dictionary or list for each intent category that contains keywords and phrases that can represent the intent. These dictionaries or lists will help identify and classify different intents when annotating data.
[0032] Specifically, you can use an automated pre-labeling tool, the core of which is a rule-based matching algorithm combined with machine learning technology to achieve rapid identification and classification of intent and key information in conversation texts.
[0033] 1. Intent dictionary construction First, based on business needs and clinical conversation analysis results, an intent dictionary containing multiple intent categories and their corresponding keywords and phrases is carefully constructed. For example, in a medical follow-up scenario, the intent dictionary will include categories such as "report symptoms" and "ask for treatment options", as well as medical terms and common expressions related to these categories.
[0034] 2. Rule definition and pattern matching Rule definition: Define a set of matching rules for each intent category, based on keywords and phrases in the intent dictionary. Rules can be simple string matching or include more complex regular expressions to capture the diversity and complexity of language.
[0035] Pattern matching: Through the written matching algorithm, the conversation text to be annotated is scanned, the words or phrases that meet the defined rules are identified, and the pre-annotated intent categories are automatically assigned accordingly.
[0036] 3. Machine learning model assistance For those complex or ambiguous situations that are difficult to accurately handle with rule matching, NLP models are introduced to assist. Pre-trained BERT is used to perform deep semantic analysis on text to improve the accuracy and coverage of intent recognition.
[0037] 4. Human review and feedback loop Although automated pre-labeling greatly improves efficiency, manual review and correction are still required to ensure the accuracy of data labeling. In addition, the results of manual review can be fed back to the pre-labeling system to adjust and optimize matching rules and machine learning models, forming a continuous improvement cycle.
[0038] Technology Implementation Examples Suppose the system encounters a conversation: "I've been feeling dizzy lately, and sometimes nauseous." The automated pre-labeling tool first identifies the phrases "dizzy" and "nauseous" as matching keywords in the "report symptoms" category through rule matching, and automatically pre-labels the conversation as "report symptoms." For more complex expressions, the system uses deep learning models to further analyze the context and implicit meaning of the sentence to ensure the comprehensiveness and depth of the labeling.
[0039] in conclusion By combining rule matching algorithms and advanced machine learning techniques, the automated pre-labeling tool provides an efficient and intelligent solution for data preparation and labeling of medical follow-up dialogue systems, significantly improving the efficiency and data quality of the data processing process, and laying a solid foundation for the training and optimization of deep learning models.
[0040] In some embodiments, the trained first deep learning model is trained by: Collect medical-related text data; Label the symptoms and drugs in the text data to form the first training set; The first deep learning model is trained using the first training set to obtain a trained first deep learning model.
[0041] Specifically, the first deep learning model can use the BERT model, and its training process can be: 1. Data Preparation and Preprocessing Collect data: Collect text data from sources such as clinical conversations and medical records, which contain key medical-related information.
[0042] Data annotation: Manually annotate the key information in the text. For example, annotate "headache" as key information in the "symptom" category, and annotate "aspirin" as key information in the "drug" category.
[0043] 2. Loading the BERT model Select a pre-trained model: Select a suitable BERT pre-trained model, Bert-base-chinese 3. Fine-tuning the BERT model Adapt the model: Add an output layer (usually a fully connected layer) for key information identification to the top of the BERT model.
[0044] Fine-tuning training: Use the annotated medical text data to fine-tune the entire model (including the BERT layer and the output layer). Set an appropriate learning rate and training cycle to optimize the model's ability to recognize specific medical key information.
[0045] 4. Model training and evaluation Train the model: Train the model to learn how to identify and classify key information from medical text.
[0046] Evaluate performance: Evaluate model performance on independent validation and test sets, including metrics such as accuracy, recall, and F1 score.
[0047] Tuning: Adjust model parameters or training strategies based on evaluation results to improve recognition accuracy.
[0048] 5. Application in business scenarios Deploy the model: Deploy the trained model to the actual medical follow-up system.
[0049] Practical application: In actual medical follow-up conversations, the model analyzes the patient's language in real time, identifies key medical information such as symptoms and drug names, and assists medical staff in conducting more effective follow-up and condition assessment.
[0050] For example, in an actual follow-up, the patient may say: "Since last week, I have been feeling dizzy and nauseous." The fine-tuned BERT model can identify "dizziness" and "nausea" as key symptom information from this sentence, helping medical staff to understand the patient's condition more accurately.
[0051] By using BERT for key information identification, the medical follow-up system can more accurately extract key information from patient conversations, thereby improving the quality and efficiency of follow-up.
[0052] In some embodiments, the trained second deep learning model is trained by: Collect text samples of follow-up conversations; Label the intent categories of the text samples to obtain the second training set; The second deep learning model is trained using the second training set to obtain a trained second deep learning model.
[0053] Specifically, the trained second deep learning model can be obtained through the following training: Collect sample conversations: Collect samples of real conversations from clinical follow-up, or create simulated conversation samples. Make sure the samples cover all defined intent categories.
[0054] Label data: Manually label the intent category in each sample. For example, for "I couldn't sleep again last night", label it as "report symptoms". Use a defined intent dictionary or list as a reference to ensure consistency and accuracy of the labeling.
[0055] Model selection and loading: Select a suitable pre-trained BERT model and load it in the programming environment used.
[0056] Fine-tune the BERT model: Add a classification layer to the output layer of BERT to classify the defined intent categories. Fine-tune the model using the labeled dataset and optimize the model parameters.
[0057] Model training and evaluation: Train the model so that it can correctly classify intent based on input text.
[0058] The model is evaluated using an independent test set to verify its accuracy and generalization ability.
[0059] Through the above steps, an efficient BERT model can be created for intent recognition, which is particularly critical in the intelligent medical follow-up system and can significantly improve the efficiency and accuracy of dialogue management.
[0060] In some embodiments, a suggestion for a follow-up question may be given based on the analysis results of the above embodiments. For example, it is suggested to ask: "Can you describe the specific symptoms of this stomach discomfort? For example, frequency, duration and intensity." 1. Analyze the conversation context Leverage previous intent recognition and key information recognition results, combined with the conversation history, to understand the context of the current conversation. This is usually achieved through a dialogue management module, which retains the state of the conversation, including the key information that has been recognized, the user's intent, and the flow of the conversation. Example: If the patient previously mentioned "stomach discomfort", the system stores this information as part of the current conversation state.
[0061] 2. Give suggestion for questions Based on the conversation context, including the identified key information and intent, suggest follow-up questions. This is usually based on a predefined conversation rule strategy. Take a rule-based approach where conversation rules define suggested questions for a specific context. Example: Based on the identification of "stomach upset", the system suggests the question: "Can you describe the specific symptoms of stomach upset? For example, how often it occurs, how long it lasts, and how strong it is." 3. Presentation of question suggestions The generated question suggestions are presented to the clinical researcher in a suitable manner. This can be done through text display or voice playback. If the interaction between the system and the medical staff is carried out through a graphical interface, the question suggestions can be displayed directly on the screen. If the interaction is through voice, the questions can be converted into voice output using text-to-speech (TTS) technology. Example: On the graphical interface, the question suggestions appear in text form, or the generated question is broadcast to the medical staff through headphones: "Do you think there are any special triggers for this discomfort?" 4. Interaction and feedback loop The medical staff communicates with the patient based on the advice provided, and the system continues to capture the conversation content and update the conversation status based on the patient's answer. The system continuously analyzes the patient's answers and the medical staff's questions, dynamically adjusts the conversation strategy and gives new question suggestions. Example: After the patient answers a question, the system analyzes the new information, updates the conversation status, and generates the next round of question suggestions.
[0062] Through such a process, clinical researchers can be effectively assisted in conducting in-depth follow-up, ensuring the comprehensive collection of important health information and improving the overall follow-up efficiency and quality.
[0063] The conversation state is not only composed of the key information or intention mentioned in the current interaction, but also a combination of context information and conversation history. It is managed by a context object, which records all the interaction details since the beginning of the conversation, including timestamps, and every input and output of the user and the system.
[0064] When new user input is received, the intent and key information are parsed through natural language processing technology, and this new information is compared and integrated with the existing context objects. This process involves adding new key information, updating the information of existing key information, and changing the focus of the conversation.
[0065] Build a detailed rule base that contains guidance on how to choose the next action based on a specific conversation state. These rules can be defined based on the current focus of the conversation, the key information and intent identified, and specific patterns in the conversation history.
[0066] For more complex decision-making processes, a decision tree model can be used to dynamically determine the most appropriate next action. For example, if a patient mentions a new symptom but does not provide enough details, the decision tree will guide the system to ask for more information about the symptom.
[0067] By analyzing the current context object and the conversation history, the system is able to identify patterns or trends in the conversation and dynamically adjust its strategy accordingly. For example, if the system detects that the patient seems hesitant or uncomfortable when talking about a specific symptom, it may choose to adopt a gentler approach to questioning.
[0068] Implementation Example In an actual medical follow-up conversation, the patient may mention multiple different symptoms, and each time a new symptom is mentioned, the system will update the context object, record this information, and check whether there is a specific query rule for the new symptom in the rule base. Depending on the level of detail provided by the patient, the system may choose to ask about the time, duration, intensity, etc. of the symptom.
[0069] Through this method, the intelligent dialogue system can effectively update the dialogue state and flexibly adjust the strategy without relying on complex vector representation. The system can interact with users more naturally while ensuring the comprehensiveness and accuracy of information collection.
[0070] Question generation process (based on rule base and ChatGLM-2 6B generation model) 1. Preliminary screening of rule base (based on a clear rule base) Steps: The system first performs a preliminary screening in the rule library based on the current state of the conversation (such as the key information and intent that have been identified) to find applicable rules or question templates. This step is intended to capture situations that can be directly answered by existing rules.
[0071] Output: A set of questions defined by rules that are filtered out and can be directly derived based on the conversation history and current state.
[0072] 2. Question generation using ChatGLM-2 6B (for uncertain questions) Enter the build: Based on the current state of the conversation, a detailed prompt is constructed, including the context of the conversation, currently known information, and key points that need to be addressed. This prompt is designed to guide ChatGLM-2 6B to generate relevant and specific questions.
[0073] Generate questions: The constructed prompts are fed into the ChatGLM-2 6B model. The model will generate one or more question suggestions based on the given context information. These questions are designed to collect missing information, gain a deeper understanding of the user's needs, or move the conversation forward.
[0074] Post-processing and selection: The generated questions may need to be post-processed (e.g., simplified, corrected) to ensure that they are clear, accurate, and easy to understand. The system can select the best question based on predefined quality criteria, or present several candidate questions to the medical staff for final selection.
[0075] It should be noted that the clinical history inquiry method based on voice feedback provided in the embodiment of the present application can be executed by a clinical history inquiry device based on voice feedback, or a control module in the clinical history inquiry device based on voice feedback for executing the method of clinical history inquiry based on voice feedback. In the embodiment of the present application, the method of clinical history inquiry based on voice feedback performed by a clinical history inquiry device based on voice feedback is taken as an example to illustrate the device for clinical history inquiry based on voice feedback provided in the embodiment of the present application.
[0076] like Figure 2 As shown, in a second aspect of an embodiment of the present application, a clinical history inquiry device based on voice feedback is provided, and the device may include: An audio collection module 210 is used to collect audio information of the patient; A text conversion module 220, for converting audio information into text information; An analysis module 230 is used to analyze the text information according to the context to obtain key information and patient intention; The question generation module 240 is used to generate questions for clinical history inquiry based on key information and patient intention.
[0077] The clinical history inquiry device based on voice feedback in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0078] The clinical history inquiry device based on voice feedback in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0079] The clinical history inquiry device based on voice feedback provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0080] Alternatively, if Figure 3 As shown, an embodiment of the present application also provides an electronic device 300, including a processor 301, a memory 302, and a program or instruction stored in the memory 302 and executable on the processor 301. When the program or instruction is executed by the processor 301, each process of the above-mentioned clinical history inquiry method embodiment based on voice feedback is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0081] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0082] Figure 4 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0083] The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, and a processor 410.
[0084] Those skilled in the art will appreciate that the electronic device 400 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0085] It should be understood that in the embodiment of the present application, the input unit 404 may include a graphics processor (GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts: a touch detection device and a touch controller. Other input devices 4072 may include but are not limited to a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 409 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 410 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface, and the application program, etc., and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 410.
[0086] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned clinical history inquiry method embodiment based on voice feedback are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0087] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0088] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned clinical history inquiry method embodiment based on voice feedback, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0089] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0090] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0091] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0092] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A clinical history inquiry method based on voice feedback, It is characterized in that include: Collect audio information from patients; Converting the audio information into text information; Analyze the text information according to the context to obtain key information and patient intention; Based on the key information and the patient's intention, questions for clinical history inquiry are generated.
2. The clinical history inquiry method based on voice feedback according to claim 1, It is characterized in that The step of converting the audio information into text information comprises: Removing redundant information from the audio information and extracting sound features to obtain preprocessed audio; The pre-processed audio is converted into text to obtain text information.
3. The clinical history inquiry method based on voice feedback according to claim 2, It is characterized in that The removing redundant information from the audio information and extracting sound features to obtain preprocessed audio includes: Obtaining Mel-frequency cepstral coefficients of the audio information; The voice characteristics of the patient are calculated based on the Mel-frequency cepstral coefficients.
4. The clinical history inquiry method based on voice feedback according to claim 2, It is characterized in that The step of converting the pre-processed audio into text to obtain text information includes: The pre-processed audio is recognized using a trained speech recognition model to obtain text information.
5. The clinical history inquiry method based on voice feedback according to claim 1, It is characterized in that The text information is analyzed according to the context to obtain key information and patient intention, including: Using the trained first deep learning model to identify key information in the text information; The trained second deep learning model is used to identify the patient's intent in the text information.
6. The clinical history inquiry method based on voice feedback according to claim 5, It is characterized in that The trained first deep learning model is trained by: Collect medical-related text data; Annotating symptoms and drugs in the text data to form a first training set; The first training set is used to train a first deep learning model to obtain a trained first deep learning model.
7. The clinical history inquiry method based on voice feedback according to claim 5, It is characterized in that The trained second deep learning model is trained by: Collect text samples of follow-up conversations; Marking the intent category of the text sample to obtain a second training set; The second deep learning model is trained using the second training set to obtain a trained second deep learning model.
8. A clinical history inquiry device based on voice feedback, It is characterized in that include: An audio collection module, used to collect audio information of patients; A text conversion module, used for converting the audio information into text information; An analysis module, used to analyze the text information according to the context to obtain key information and patient intention; The question generation module is used to generate questions for clinical history inquiry based on the key information and the patient's intention.
9. An electronic device, It is characterized in that include: A processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the clinical history inquiry method based on voice feedback as described in any one of claims 1 to 7.
10. A readable storage medium, It is characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the clinical history inquiry method based on voice feedback as described in any one of claims 1-7 are implemented.
