Medical scene information interaction method and device, electronic equipment and storage medium

By using the intent recognition model and the entity recognition model in the medical interaction system to identify the user's intent and extract entity information, it solves the difficulty of entity extraction caused by the inability of traditional systems to accurately identify intent, and improves user experience and interaction efficiency.

CN118782272APending Publication Date: 2024-10-15WEDOC CLOUD (HANGZHOU) HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410999414.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Traditional medical interaction systems cannot accurately identify user intentions, resulting in difficulty in entity extraction and affecting user experience.

Method used

The intent recognition model is used to identify the intent of the interactive data, and the entity recognition model is used to extract entity information corresponding to the intent processing class to form display information, and the medical operation page is displayed based on the intent and entity information.

Benefits of technology

It improves the user interaction experience and enhances the interaction efficiency and accuracy of the system by accurately identifying user intentions and extracting relevant entity information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118782272A_ABST
    Figure CN118782272A_ABST
Patent Text Reader

Abstract

The invention discloses a medical scene information interaction method and device, electronic equipment and a storage medium. The method comprises the steps of displaying an interactive interface, obtaining at least one round of dialogue data with an interactive object through the interactive interface, and performing information integration on the at least one round of dialogue data to obtain integrated data; performing intention recognition on the integrated data based on an intention recognition model to obtain an intention processing class of the interaction object; identifying entity information corresponding to the intention processing class in at least one round of dialogue data; target interaction information is determined based on the intention processing class and the entity information corresponding to the intention processing class, display information is formed based on the target interaction information, the display information is displayed on an interaction interface, and the display information comprises at least one of the target interaction information and link data corresponding to the target interaction information; and in response to a trigger operation on the link data, displaying a medical operation page, the medical operation page being used for responding to a medical operation input by the interaction object. The interaction experience of the user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an information interaction method, device, electronic device and storage medium for medical scenarios. Background Art

[0002] With the development of artificial intelligence and natural language processing technologies, the application of intelligent interactive systems in the medical field is becoming increasingly important.

[0003] At present, traditional methods usually use rule libraries or question-answer libraries to perform similarity search and matching, and then give recommendations and summaries, or further use natural language processing; however, traditional methods cannot accurately identify user intentions, resulting in omissions in entity extraction, and even in multiple rounds of dialogue, relevant entity information cannot be extracted, affecting the user's interactive experience. Summary of the invention

[0004] The present invention provides an information interaction method, device, electronic device and storage medium for a medical scenario to solve the problem that entity extraction is difficult due to the inability to accurately identify intent, thereby affecting the user's interactive experience.

[0005] According to one aspect of the present invention, a method for information interaction in a medical scenario is provided, the method comprising:

[0006] Displaying an interactive interface, obtaining at least one round of conversation data with an interactive object through the interactive interface, and integrating information of the at least one round of conversation data to obtain integrated data;

[0007] Performing intent recognition on the integrated data based on an intent recognition model to obtain an intent processing class of the interactive object;

[0008] Identifying entity information corresponding to the intent processing class in the at least one round of conversation data;

[0009] Determine target interaction information based on the intention processing class and entity information corresponding to the intention processing class, form display information based on the target interaction information, and display the display information on the interactive interface, wherein the display information includes at least one of the target interaction information and link data corresponding to the target interaction information; the target interaction information is medical information corresponding to the intention processing class, and the link data is link data of a medical operation page corresponding to the medical information;

[0010] In response to a triggering operation on the link data, the medical operation page is displayed, and the medical operation page is used to respond to the medical operation input by the interactive object.

[0011] According to another aspect of the present invention, there is provided an information interaction device for a medical scenario, comprising:

[0012] A dialogue data integration module, used to display an interactive interface, obtain at least one round of dialogue data with an interactive object through the interactive interface, and integrate the at least one round of dialogue data to obtain integrated data;

[0013] An intention recognition module, used to perform intention recognition on the integrated data based on an intention recognition model to obtain an intention processing class of the interactive object;

[0014] An entity recognition module, used to identify entity information corresponding to the intention processing class in the at least one round of dialogue data;

[0015] An interaction module, used to determine target interaction information based on the intention processing class and the entity information corresponding to the intention processing class, form display information based on the target interaction information, and display the display information on the interaction interface, wherein the display information includes at least one of the target interaction information and the link data corresponding to the target interaction information; the target interaction information is the medical information corresponding to the intention processing class, and the link data is the link data of the medical operation page corresponding to the medical information;

[0016] The medical operation page display module is used to display the medical operation page in response to a trigger operation on the link data, and the medical operation page is used to respond to the medical operation input by the interactive object.

[0017] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0018] at least one processor; and

[0019] a memory communicatively connected to the at least one processor; wherein,

[0020] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the information interaction method for medical scenarios described in any embodiment of the present invention.

[0021] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the information interaction method for a medical scenario described in any embodiment of the present invention when executed.

[0022] The technical solution of the embodiment of the present invention identifies user intentions through an intent recognition model, extracts entity information corresponding to the intent processing class for the user, and determines the target interaction information for display based on the intent processing class and the entity information corresponding to the intent processing class, thereby solving the problem of difficulty in entity extraction due to the inability to accurately identify intent, thereby affecting the user's interaction experience, and improving the user's interaction experience.

[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 is a flow chart of an information interaction method for a medical scenario provided in Embodiment 1 of the present invention;

[0026] Figure 2 is a schematic diagram of an interactive interface provided by Embodiment 1 of the present invention;

[0027] Figure 3 It is a structural schematic diagram of an information interaction device for a medical scenario provided by Embodiment 2 of the present invention;

[0028] Figure 4 It is a structural schematic diagram of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] Embodiment 1

[0032] Figure 1 This is a flowchart of a medical scene information interaction method provided by the first embodiment of the present invention. This embodiment is applicable to the case of information interaction with an interactive robot in a medical scene. The method can be executed by an information interaction device in a medical scene. The information interaction device in the medical scene can be implemented in the form of hardware and / or software. The information interaction device in the medical scene can be configured in electronic devices such as computers and mobile phones. Figure 1 As shown, the method includes:

[0033] S110, displaying an interactive interface, obtaining at least one round of dialogue data with an interactive object through the interactive interface, and integrating information of the at least one round of interactive data to obtain integrated data.

[0034] Among them, the interactive interface refers to the interface for information exchange with the interactive object, such as Figure 2 As shown, the interactive object can input dialogue data in the input field of the interactive interface and trigger the upload control to upload the dialogue data, thereby realizing the dialogue between the interactive object and the interactive robot in the interactive interface.

[0035] In this embodiment, in response to the triggering operation of the medical interactive application icon, the interactive interface is displayed, at least one round of dialogue data with the interactive object is obtained through the interactive interface, and the at least one round of interaction data is integrated to obtain integrated data. The integrated data refers to the dialogue data after the at least one round of dialogue data between the interactive object and the interactive robot on the interactive interface is integrated.

[0036] S120: Perform intent recognition on the integrated data based on an intent recognition model to obtain an intent processing class of the interactive object.

[0037] The intent processing class refers to the category of the identified intention of the interaction object. Specifically, the intent processing class includes one or more of the hospital query class, department query class, doctor query class and health consultation class. The hospital query class indicates that the interaction object intends to query the hospital, the department query class indicates that the interaction object intends to query the department, the doctor query class indicates that the interaction object intends to query the doctor, and the health consultation class indicates that the interaction object intends to obtain health consultation. In this embodiment, the intent recognition is performed on the integrated data based on the intent recognition model to obtain the intent processing class of the interaction object. The intent recognition model can be a large language model.

[0038] In some embodiments, optionally, the interactive interface includes intention selection controls corresponding to multiple intention processing classes and / or dialogue prompt information corresponding to multiple intention processing classes; the method also includes: in response to a triggering operation on the intention selection control, determining the intention processing class corresponding to the intention selection control.

[0039] like Figure 2 As shown, the interactive interface includes four types of intent selection controls: hospital, department, doctor, and health consultation. In this embodiment, the interactive object can directly select the intent in the interactive interface. Specifically, in response to the triggering operation of the intent selection control, the intent processing class corresponding to the triggered intent selection control is determined, and the intent processing class is used as the intent of the interactive object.

[0040] S130: Identify entity information corresponding to the intention processing class in the at least one round of conversation data.

[0041] The entities corresponding to the intent processing class include one or more of a medical entity, an administrative entity, and a symptom entity, wherein the medical entity includes one or more of a hospital name, a department name, a doctor name, and a disease name, and the administrative entity includes a provincial administrative region and a prefecture-level administrative region. In this embodiment, entity information corresponding to the intent processing class is identified in at least one round of conversation data according to the intent processing class.

[0042] Based on the above embodiment, optionally, identifying entity information corresponding to the intent processing class in the at least one round of conversation data includes: loading an entity recognition model corresponding to the intent processing class, wherein the entity recognition model is obtained by training a large language model based on training data constructed by the intent processing class; inputting the at least one round of conversation data into the entity recognition model, and extracting entity information corresponding to the intent processing class in the at least one round of conversation data.

[0043] The entity recognition model may be a large language model. For different intent processing classes, the large language model may be trained based on the training data constructed by the intent processing class to obtain an entity recognition model corresponding to the intent processing class. In this embodiment, the entity recognition model corresponding to the intent processing class may be loaded according to the intent processing class, at least one round of conversation data may be input into the entity recognition model, and entity information corresponding to the intent processing class in at least one round of conversation data may be extracted.

[0044] In some embodiments, optionally, the method further includes: in response to a triggering operation on the intent selection control, jumping to an intent dialogue interface associated with the intent selection control, obtaining at least one round of dialogue data through the intent dialogue interface, and identifying entity information corresponding to the intent processing class corresponding to the intent selection control in the at least one round of dialogue data.

[0045] In this embodiment, in the interactive interface, in response to the triggering operation of the intention selection control, the intention dialogue interface associated with the intention selection control is jumped to; the interactive object can have a dialogue with the interactive robot in the intention dialogue interface, obtain at least one round of dialogue data through the intention dialogue interface, and identify the entity information corresponding to the intention processing class corresponding to the intention selection control in at least one round of dialogue data. The intention of the interactive object can be directly determined through the triggering operation of the intention selection control by the interactive object, without the need to identify the intention of the interactive object, avoiding the resources consumed by identifying the intention, and improving the efficiency of extracting entity information.

[0046] S140. Determine target interaction information based on the intention processing class and the entity information corresponding to the intention processing class, form display information based on the target interaction information, and display the display information on the interactive interface, wherein the display information includes at least one of the target interaction information and the link data corresponding to the target interaction information; the target interaction information is the medical information corresponding to the intention processing class, and the link data is the link data of the medical operation page corresponding to the medical information.

[0047] The target interactive information is the medical information corresponding to the intent processing class. Specifically, the medical information includes but is not limited to hospital information, doctor information, department information, disease information, etc. For example, if the intention of the interactive object is to query the hospital and the extracted entity information includes XX hospital, XX province and XX city, the medical information is the introduction information of XX hospital in XX city, XX province; if the intention of the interactive object is to query the department and the extracted entity information includes XX hospital, XX province, XX city and oncology department, the medical information is the introduction information of oncology department of XX hospital in XX city, XX province. Link data includes but is not limited to hospital navigation links, department / doctor registration links, department / doctor consultation links, etc.

[0048] In this embodiment, target interaction information is determined based on the intent processing class and the entity information corresponding to the intent processing class, display information is formed based on the target interaction information, and the display information is displayed on the interaction interface.

[0049] It should be noted that if the interactive object interacts in the intention dialogue interface, the display information will be displayed in the intention dialogue interface.

[0050] On the basis of the above embodiment, optionally, the target interaction information is determined based on the intention processing class and the entity information corresponding to the intention processing class, including: if the entity information corresponding to the intention processing class is not extracted, matching the default text information corresponding to the intention processing class in a default text library based on the intention processing class, and determining the default text information as the target interaction information; if the entity information corresponding to the intention processing class includes the medical entity information, determining the target interaction information based on the medical entity information; if the entity information corresponding to the intention processing class only has the symptom entity information, matching in a medical knowledge base based on the symptom entity information to obtain the disease name corresponding to the symptom entity information; or, inputting the symptom entity into a pre-trained disease-symptom association model to determine the disease name corresponding to the symptom entity information; determining the target interaction information based on the intention processing class and the disease name.

[0051] The default text library stores the default text corresponding to the intent processing class, and the intent processing class is associated with the default text information in the default text library. The default text information corresponding to the intent processing class can be queried in the default text library through the intent processing class. In this embodiment, if the entity information corresponding to the intent processing class is not extracted, the default text information corresponding to the intent processing class is matched in the default text library based on the intent processing class, the default text information is determined as the target interaction information, and the target interaction information is displayed on the interaction interface.

[0052] In this embodiment, if the entity information corresponding to the intent processing class includes medical entity information, the target interaction information is determined based on the medical entity information; for example, if the intent processing class is to query the hospital and the entity information is the hospital name, the target interaction information is the introduction information of XX Hospital; if the intent processing class is to query the department and the entity information is the hospital name and the department name, the target interaction information is the introduction information of XX Department of XX Hospital.

[0053] In this embodiment, if the entity information corresponding to the intent processing class only has symptom entity information, a match is performed in the medical knowledge base based on the symptom entity information to obtain the disease name corresponding to the symptom entity information; alternatively, the symptom entity is input into a pre-trained disease-symptom association model to determine the disease name corresponding to the symptom entity information; the target interaction information is determined based on the intent processing class and the disease name. Exemplarily, if the intent processing class is to query a hospital and the disease name is cerebrovascular disease, the target interaction information is the introduction information of a hospital that can treat cerebrovascular disease; if the intent processing class is to query a department and the disease name is cardiovascular disease, the target interaction information is the introduction information of the cardiovascular department; if the intent processing class is to query a doctor and the disease name is cardiovascular disease, the target interaction information is the introduction information of a doctor who treats cardiovascular disease.

[0054] On the basis of the above embodiment, optionally, the display information is formed based on the target interaction information, including: matching the medical information corresponding to the intention processing class in a link database to obtain link data of a medical operation page corresponding to the medical information; the link database stores link data of medical operation pages associated with the medical information corresponding to the intention processing class.

[0055] In this embodiment, the medical information corresponding to the intention processing class is matched in the link database to obtain the link data of the medical operation page corresponding to the medical information; specifically, if the medical information corresponding to the intention processing class is hospital information, the hospital navigation link corresponding to the hospital information is matched in the link database based on the hospital information; if the medical information corresponding to the intention processing class is department information, the registration link of the department corresponding to the department information is matched in the link database based on the department information; if the medical information corresponding to the intention processing class is doctor information, the registration / consultation link of the doctor corresponding to the doctor information is matched in the link database based on the doctor information; if the medical information corresponding to the intention processing class is disease information, the registration / consultation link corresponding to the disease information is matched in the link database based on the disease information, so as to facilitate interactive correspondence and subsequent treatment.

[0056] S150. In response to a triggering operation on the link data, display the medical operation page, where the medical operation page is used to respond to the medical operation input by the interactive object.

[0057] In this embodiment, in response to the trigger operation of the link data, the user jumps to the medical operation page; in the medical operation interface, in response to the medical operation input by the interactive object, the medical task corresponding to the medical operation is executed. The medical operation page includes the hospital navigation page, the registration page and the consultation page. Correspondingly, the medical tasks corresponding to the hospital navigation page include hospital navigation, appointment registration and online consultation.

[0058] On the basis of the above embodiment, optionally, the medical operation page is displayed in response to the trigger operation on the link data, and the medical operation page is used to respond to the medical operation input by the interactive object, including: if the link data is a hospital navigation link, then in response to the trigger operation on the hospital navigation link, the hospital navigation page is displayed; if the link data is a registration link, then in response to the trigger operation on the registration link, the registration page is displayed; if the link data is a consultation link, then in response to the trigger operation on the consultation link, the consultation page is displayed; the consultation page includes a registration link corresponding to the consulting doctor; in response to the trigger operation on the registration link, the registration page is displayed.

[0059] In this embodiment, if the link data is a hospital navigation link, in response to the triggering operation of the hospital navigation link, it jumps to the hospital navigation page; wherein, the hospital navigation page is the navigation page of the map software, specifically, the hospital navigation link can be associated with the map software, and when the interactive object touches the hospital navigation link, it jumps to the hospital navigation page of the map software to navigate the route to the hospital for the interactive object. If the link data is a registration link, in response to the triggering operation of the registration link, it jumps to the registration page, and makes an appointment for registration on the registration page; wherein, the registration link is associated with the hospital's online registration system. If the link data is a consultation link, in response to the triggering operation of the consultation link, it jumps to the consultation page, and the interactive object can conduct an online consultation with the consulting doctor on the consultation page; wherein, the consultation page is associated with the hospital's online consultation system, and the consultation page includes the registration link corresponding to the consulting doctor; after the upward consultation, in response to the triggering operation of the registration link corresponding to the consulting doctor, it jumps to the registration page, and the appointment registration for the consulting doctor can be realized on the registration page.

[0060] The technical solution of this embodiment identifies user intentions through an intent recognition model, extracts entity information corresponding to the user's intent processing class, and determines the target interaction information for display based on the intent processing class and the entity information corresponding to the intent processing class. This solves the problem of difficulty in entity extraction due to the inability to accurately identify intent, thereby affecting the user's interaction experience, and improves the user's interaction experience.

[0061] Embodiment 2

[0062] Figure 3 Schematic diagram of the structure of an information interaction device for a medical scenario provided by Embodiment 2 of the present invention. Figure 3 As shown, the device comprises:

[0063] A conversation data integration module 210 is used to display an interactive interface, obtain at least one round of conversation data with an interactive object through the interactive interface, and integrate the at least one round of conversation data to obtain integrated data;

[0064] An intention recognition module 220, configured to perform intention recognition on the integrated data based on an intention recognition model to obtain an intention processing class of the interactive object;

[0065] An entity recognition module 230, configured to recognize entity information corresponding to the intention processing class in the at least one round of conversation data;

[0066] An interaction module 240 is used to determine target interaction information based on the intention processing class and the entity information corresponding to the intention processing class, form display information based on the target interaction information, and display the display information on the interaction interface, wherein the display information includes at least one of the target interaction information and the link data corresponding to the target interaction information; the target interaction information is the medical information corresponding to the intention processing class, and the link data is the link data of the medical operation page corresponding to the medical information;

[0067] The medical operation page display module 250 is used to display the medical operation page in response to a trigger operation on the link data, and the medical operation page is used to respond to the medical operation input by the interactive object.

[0068] The technical solution of this embodiment identifies user intentions through an intent recognition model, extracts entity information corresponding to the user's intent processing class, and determines the target interaction information for display based on the intent processing class and the entity information corresponding to the intent processing class. This solves the problem of difficulty in entity extraction due to the inability to accurately identify intent, thereby affecting the user's interaction experience, and improves the user's interaction experience.

[0069] On the basis of the above embodiment, optionally, the interactive interface includes multiple intention selection controls corresponding to the intention processing classes and / or multiple dialogue prompt information corresponding to the intention processing classes; the device also includes an intention determination module for determining the intention processing class corresponding to the intention selection control in response to a triggering operation on the intention selection control; or, in response to a triggering operation on the intention selection control, jumping to the intention dialogue interface associated with the intention selection control, obtaining at least one round of dialogue data through the intention dialogue interface, and identifying entity information corresponding to the intention processing class corresponding to the intention selection control in the at least one round of dialogue data.

[0070] Based on the above embodiment, optionally, the intention processing class includes one or more of a hospital query class, a department query class, a doctor query class and a health consultation class, and the entity corresponding to the intention processing class includes one or more of a medical entity, an administrative entity and a symptom entity, wherein the medical entity includes one or more of a hospital name, a department name, a doctor name and a disease name, and the administrative entity includes provincial administrative regions and prefecture-level administrative regions.

[0071] Based on the above embodiment, optionally, the entity recognition module 230 is specifically used to load an entity recognition model corresponding to the intent processing class, where the entity recognition model is obtained by training a large language model based on training data constructed based on the intent processing class; inputting the at least one round of conversation data into the entity recognition model, and extracting entity information corresponding to the intent processing class in the at least one round of conversation data.

[0072] On the basis of the above embodiment, optionally, the interaction module 240 includes a target interaction information determination unit, which is used for matching the default text information corresponding to the intention processing class in the default text library based on the intention processing class if the entity information corresponding to the intention processing class is not extracted, and determining the default text information as the target interaction information; if the entity information corresponding to the intention processing class includes the medical entity information, determining the target interaction information based on the medical entity information; if the entity information corresponding to the intention processing class only has the symptom entity information, matching is performed in the medical knowledge base based on the symptom entity information to obtain the disease name corresponding to the symptom entity information; or, the symptom entity is input into a pre-trained disease-symptom association model to determine the disease name corresponding to the symptom entity information; and the target interaction information is determined based on the intention processing class and the disease name.

[0073] Based on the above embodiment, optionally, the interaction module 240 includes a display information forming unit, which is used to match the medical information corresponding to the intention processing class in the link database to obtain the link data of the medical operation page corresponding to the medical information; the link database stores the link data of the medical operation page associated with the medical information corresponding to the intention processing class.

[0074] On the basis of the above embodiment, optionally, the link data includes one or more of a hospital navigation link, a registration link and a consultation link, and accordingly, the medical operation page includes a hospital navigation page, a registration page and a consultation page; the medical operation page display module 250 is used to display the hospital navigation page in response to a trigger operation on the hospital navigation link if the link data is a hospital navigation link; display the registration page in response to a trigger operation on the registration link if the link data is a registration link; display the consultation page in response to a trigger operation on the consultation link if the link data is a consultation link; the consultation page includes a registration link corresponding to the consulting doctor; and display the registration page in response to a trigger operation on the registration link.

[0075] The information interaction device for medical scenarios provided in the embodiments of the present invention can execute the information interaction method for medical scenarios provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0076] Embodiment 3

[0077] Figure 4 1 is a schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0078] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0079] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0080] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the information interaction method for medical scenarios.

[0081] In some embodiments, the information interaction method for medical scenarios can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the information interaction method for the medical scenario described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the information interaction method for the medical scenario in any other appropriate manner (for example, by means of firmware).

[0082] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0083] The computer program for implementing the information interaction method of the medical scenario of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0084] Embodiment 4

[0085] Embodiment 5 of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to execute an information interaction method for a medical scenario, the method comprising:

[0086] Displaying an interactive interface, obtaining at least one round of conversation data with the interactive object through the interactive interface, and integrating information of at least one round of conversation data to obtain integrated data;

[0087] Based on the intention recognition model, the integrated data is used to recognize the intention and obtain the intention processing class of the interactive object;

[0088] Identify entity information corresponding to the intent processing class in at least one round of conversation data;

[0089] Determine target interaction information based on the intent processing class and entity information corresponding to the intent processing class, form display information based on the target interaction information, and display the display information on the interactive interface, wherein the display information includes at least one of the target interaction information and link data corresponding to the target interaction information; the target interaction information is medical information corresponding to the intent processing class, and the link data is link data of a medical operation page corresponding to the medical information;

[0090] In response to a trigger operation on the link data, a medical operation page is displayed, and the medical operation page is used to respond to the medical operation input by the interactive object.

[0091] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0092] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0093] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0094] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0095] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0096] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for information interaction in a medical scenario, characterized in that: The method comprises: Displaying an interactive interface, obtaining at least one round of conversation data with an interactive object through the interactive interface, and integrating information of the at least one round of conversation data to obtain integrated data; Performing intent recognition on the integrated data based on an intent recognition model to obtain an intent processing class of the interactive object; Identifying entity information corresponding to the intent processing class in the at least one round of conversation data; Determine target interaction information based on the intention processing class and entity information corresponding to the intention processing class, form display information based on the target interaction information, and display the display information on the interactive interface, wherein the display information includes at least one of the target interaction information and link data corresponding to the target interaction information; the target interaction information is medical information corresponding to the intention processing class, and the link data is link data of a medical operation page corresponding to the medical information; In response to a triggering operation on the link data, the medical operation page is displayed, and the medical operation page is used to respond to the medical operation input by the interactive object.

2. The method according to claim 1, characterized in that The interactive interface includes a plurality of intention selection controls respectively corresponding to the intention processing classes and / or a plurality of dialogue prompt information respectively corresponding to the intention processing classes; The method further comprises: In response to a triggering operation on the intention selection control, determining an intention processing class corresponding to the intention selection control; or, In response to a triggering operation on the intent selection control, jump to the intent dialogue interface associated with the intent selection control, obtain at least one round of dialogue data through the intent dialogue interface, and identify entity information corresponding to the intent processing class corresponding to the intent selection control in the at least one round of dialogue data.

3. The method according to claim 1 or 2, characterized in that: The intention processing class includes one or more of a hospital query class, a department query class, a doctor query class and a health consultation class, and the entities corresponding to the intention processing class include one or more of a medical entity, an administrative entity and a symptom entity, wherein the medical entity includes one or more of a hospital name, a department name, a doctor name and a disease name, and the administrative entity includes a provincial administrative region and a prefecture-level administrative region.

4. The method according to claim 2, characterized in that: The identifying entity information corresponding to the intention processing class in the at least one round of conversation data includes: Loading an entity recognition model corresponding to the intent processing class, wherein the entity recognition model is obtained by training a large language model based on training data constructed by the intent processing class; The at least one round of conversation data is input into the entity recognition model, and entity information corresponding to the intention processing class in the at least one round of conversation data is extracted.

5. The method according to claim 3, characterized in that: The determining target interaction information based on the intent processing class and the entity information corresponding to the intent processing class includes: If entity information corresponding to the intent processing class is not extracted, matching default text information corresponding to the intent processing class in a default text library based on the intent processing class, and determining the default text information as target interaction information; If the entity information corresponding to the intended processing class includes the medical entity information, determining the target interaction information based on the medical entity information; If the entity information corresponding to the intention processing class is only the symptom entity information, matching is performed in the medical knowledge base based on the symptom entity information to obtain the disease name corresponding to the symptom entity information; alternatively, the symptom entity is input into a pre-trained disease-symptom association model to determine the disease name corresponding to the symptom entity information; and the target interaction information is determined based on the intention processing class and the disease name.

6. The method according to claim 1, characterized in that The forming of display information based on the target interaction information includes: Based on the medical information corresponding to the intention processing class, matching is performed in the link database to obtain link data of the medical operation page corresponding to the medical information; the link database stores link data of the medical operation page associated with the medical information corresponding to the intention processing class.

7. The method according to claim 2, characterized in that The link data includes one or more of a hospital navigation link, a registration link, and a consultation link. Accordingly, the medical operation page includes a hospital navigation page, a registration page, and a consultation page. The step of displaying the medical operation page in response to the triggering operation on the link data, wherein the medical operation page is used to respond to the medical operation input by the interactive object, includes: If the link data is a hospital navigation link, in response to a triggering operation on the hospital navigation link, displaying the hospital navigation page; If the link data is a registration link, in response to a triggering operation on the registration link, displaying the registration page; If the link data is a consultation link, the consultation page is displayed in response to a trigger operation on the consultation link; the consultation page includes a registration link corresponding to the consulting doctor; and the registration page is displayed in response to a trigger operation on the registration link.

8. An information interaction device for medical scenarios, characterized in that: include: A dialogue data integration module, used to display an interactive interface, obtain at least one round of dialogue data with an interactive object through the interactive interface, and integrate the at least one round of dialogue data to obtain integrated data; An intention recognition module, used to perform intention recognition on the integrated data based on an intention recognition model to obtain an intention processing class of the interactive object; An entity recognition module, used to identify entity information corresponding to the intention processing class in the at least one round of dialogue data; An interaction module, used to determine target interaction information based on the intention processing class and the entity information corresponding to the intention processing class, form display information based on the target interaction information, and display the display information on the interaction interface, wherein the display information includes at least one of the target interaction information and the link data corresponding to the target interaction information; the target interaction information is the medical information corresponding to the intention processing class, and the link data is the link data of the medical operation page corresponding to the medical information; The medical operation page display module is used to display the medical operation page in response to a trigger operation on the link data, and the medical operation page is used to respond to the medical operation input by the interactive object.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the information interaction method for the medical scenario described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the information interaction method for the medical scenario according to any one of claims 1 to 7 when executed.