Movatterモバイル変換


[0]ホーム

URL:


CN113111162A - Department recommendation method and device, electronic equipment and storage medium - Google Patents

Department recommendation method and device, electronic equipment and storage medium
Download PDF

Info

Publication number
CN113111162A
CN113111162ACN202110429296.9ACN202110429296ACN113111162ACN 113111162 ACN113111162 ACN 113111162ACN 202110429296 ACN202110429296 ACN 202110429296ACN 113111162 ACN113111162 ACN 113111162A
Authority
CN
China
Prior art keywords
disease
entity
entities
disease entity
inquiry
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110429296.9A
Other languages
Chinese (zh)
Inventor
赵璐偲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kangjian Information Technology Shenzhen Co LtdfiledCriticalKangjian Information Technology Shenzhen Co Ltd
Priority to CN202110429296.9ApriorityCriticalpatent/CN113111162A/en
Publication of CN113111162ApublicationCriticalpatent/CN113111162A/en
Priority to PCT/CN2022/087819prioritypatent/WO2022222943A1/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention relates to the field of artificial intelligence, and discloses a department recommendation method, which comprises the following steps: cleaning the inquiry data in the inquiry text to obtain a standard text; the disease entity recognition model is used for recognizing the disease entities in the standard text, then an entity relation map is constructed, first disease entities are generated according to the entity relation map, the disease entities are screened from the standard text by using a disease entity regular expression, the matching degree of the screened disease entities and the disease entities in a disease entity dictionary library is calculated, and second disease entities are generated according to the matching degree; and respectively carrying out dimensionality reduction and summarization on the first disease entity and the second disease entity, calculating the association degree of the summarized disease entities and departments in a medical department library, and selecting the departments with the association degree larger than the preset association degree from the medical departments to obtain a target department. Furthermore, the invention relates to blockchain techniques, in which the target disease entity may be stored. The invention can reduce the difficulty of recommendation of departments.

Description

Department recommendation method and device, electronic equipment and storage medium
Technical Field
The invention relates to the field of artificial intelligence, in particular to a department recommendation method and device, electronic equipment and a computer-readable storage medium.
Background
The continuous development and perfection of the artificial intelligence technology greatly enrich and facilitate the daily life of people. For example, in the medical field, many hospitals are currently equipped with machines including intelligent medical service, and the purpose is to implement an online intelligent medical service guiding function by a data-driven method through an internet technology platform and machine learning and statistical learning methods, and recommend departments and doctors to patients, so as to maximize the subjective initiative of the medical staff and enable the medical staff to effectively and accurately find the medical service required by the medical staff. Meanwhile, the online inquiry platform also has urgent intelligent inquiry guiding requirements, the inquiry users are huge in number, the online doctor resources are insufficient, the backgrounds are different, and the users can be helped to match corresponding doctors more accurately according to the intelligent inquiry guiding results, so that the online inquiry efficiency can be improved.
Although the intelligent diagnosis guide service has some achievements in improving the diagnosis efficiency, the design mode of most of the current systems still has some problems. Firstly, as the division of departments for different diseases by a plurality of medical institutions tends to be detailed and specialized, the names of the departments in different hospitals are different, and common patients lack professional medical knowledge, the knowledge of the patients is asymmetric to medical professional terms and hospital information, and the difficulty is increased for diagnosis guidance; secondly, the current diagnosis guide service is generally based on statistical or text classification methods for department and doctor recommendation, but the statistical method cannot provide personalized recommendation strategies according to the symptom conditions of patients, and the statistical method cannot distinguish noise data in texts and extract key medical factors (diseases, symptoms and the like), so that certain difficulty is also added to diagnosis guide.
Disclosure of Invention
The invention provides a department recommendation method, a department recommendation device, electronic equipment and a computer-readable storage medium, and mainly aims to reduce the difficulty of department recommendation.
In order to achieve the above object, the present invention provides a department recommendation method, including:
cleaning the inquiry data in the inquiry text to obtain a standard text;
recognizing the disease entities in the standard text by using a pre-trained disease entity recognition model, constructing an entity relation map for the recognized disease entities, and screening the recognized disease entities to obtain a first disease entity, wherein the disease entities meet preset conditions;
screening disease entities from the standard text by using a pre-constructed disease entity regular expression, calculating the matching degree of the screened disease entities and the disease entities in a preset disease entity dictionary library, and selecting the disease entities with the matching degree larger than a preset threshold value from the screened disease entities to obtain second disease entities;
respectively reducing the dimensionality of the first disease entity and the second disease entity, and summarizing the first disease entity and the second disease entity subjected to dimensionality reduction to obtain a target disease entity;
and calculating the association degree of the target disease entity and departments in a pre-constructed medical department library, and selecting the departments with the association degree larger than the preset association degree from the medical departments to obtain the target departments.
Optionally, the cleaning the inquiry data in the inquiry text to obtain a standard text includes:
performing duplication removal operation on the inquiry data in the inquiry text, and detecting whether a data missing value exists in the inquiry text after duplication removal;
if no data missing value exists, the query sentence subjected to duplication removal is used as a standard text;
and if the data missing value exists, performing data filling on the data missing value to obtain a standard text.
Optionally, the performing a deduplication operation on the inquiry data in the inquiry text includes:
calculating the similarity of any two pieces of inquiry data in the inquiry text;
if the similarity is greater than the preset similarity, simultaneously keeping any two inquiry data in the inquiry text;
and if the similarity is not greater than the preset similarity, deleting one inquiry data of any two inquiry data in the inquiry text.
Optionally, the identifying the disease entity in the standard text by using the pre-trained disease entity identification model includes:
carrying out position vector coding on characters in the standard sample by using a coding layer in the disease entity recognition model to generate a character vector;
extracting a characteristic sequence of the character vector by using a feedforward attention mechanism in the disease entity recognition model to obtain a characteristic sequence vector;
and carrying out disease entity identification on the characteristic sequence vector by using a disease entity identification module in the disease entity identification model to obtain a disease entity.
Optionally, the extracting a feature sequence of the character vector by using a feed-forward attention mechanism in the disease entity recognition model to obtain a feature sequence vector includes:
querying the character vector using a self-attention module in the feed-forward attention mechanism;
performing feature extraction on the inquired character vector by using a convolution module in the feedforward attention mechanism to obtain a feature character vector;
and extracting the information sequence of the characteristic character vector by using an encoder in the feedforward attention mechanism to obtain a characteristic sequence vector.
Optionally, constructing an entity relationship map of the identified disease entities comprises:
performing relation vector modeling on the identified disease entity by using a translation model to obtain an entity relation map vector space;
and converting the entity relationship map vector space into an entity relationship map of a visual interface to obtain the entity relationship map.
Optionally, the calculating the matching degree of the screened disease entity with a disease entity in a preset disease entity dictionary library includes:
calculating the matching degree by using the following method:
Figure BDA0003030763090000031
wherein T (x, y) represents a degree of matching, xiRepresenting the i-th disease entity, y, of said disease entities screenediRepresenting the ith disease entity in the disease entity dictionary library.
In order to solve the above problems, the present invention also provides a department recommendation device, comprising:
the cleaning module is used for cleaning the inquiry data in the inquiry text to obtain a standard text;
the screening module is used for identifying the disease entities in the standard text by using the pre-trained disease entity identification model, constructing an entity relation map for the identified disease entities, and screening the disease entities meeting preset conditions from the identified disease entities according to the entity relation map to obtain a first disease entity;
the selecting module is used for screening disease entities from the standard text by utilizing a pre-constructed disease entity regular expression, calculating the matching degree of the screened disease entities and the disease entities in a preset disease entity dictionary library, and selecting the disease entities with the matching degree larger than a preset threshold value from the screened disease entities to obtain second disease entities;
the summarizing module is used for respectively reducing dimensions of the first disease entity and the second disease entity, summarizing the first disease entity and the second disease entity after dimension reduction to obtain a target disease entity;
and the calculation module is used for calculating the association degree of the target disease entity and departments in a pre-constructed medical department library, and selecting the departments with the association degree larger than the preset association degree from the medical departments to obtain the target departments.
In order to solve the above problem, the present invention also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to implement the department recommendation method described above.
In order to solve the above problem, the present invention also provides a computer-readable storage medium having at least one computer program stored therein, the at least one computer program being executed by a processor in an electronic device to implement the department recommendation method described above.
According to the embodiment of the invention, firstly, the data in the obtained inquiry text is cleaned to obtain the standard text, so that the processing speed of the data in the subsequent inquiry text can be improved; secondly, the disease entities are respectively screened from the standard text by utilizing the pre-trained disease entity recognition model and the disease entity regular expression, so that the comprehensiveness of the disease entity acquisition is guaranteed, the problems that medical information is not matched in the disease entity process and noise data in the text is difficult to distinguish are solved, and the recommendation accuracy of an inquiry department is improved; furthermore, the embodiment of the invention improves the speed of subsequent calculation by performing dimension reduction on the disease entity, and selects departments with the association degree greater than the preset association degree from the medical departments according to the association degree of the target disease entity and the departments in the medical department library, so as to further improve the accuracy of the recommendation of the inquiry department. Therefore, the department recommendation method, the department recommendation device, the electronic equipment and the storage medium provided by the invention can reduce the difficulty of department recommendation.
Drawings
Fig. 1 is a schematic flow chart of a department recommendation method according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of one step of the department recommendation method provided in FIG. 1 according to a first embodiment of the present invention;
FIG. 3 is a block diagram of a department recommendation device according to an embodiment of the present invention;
fig. 4 is a schematic internal structural diagram of an electronic device for implementing a department recommendation method according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a department recommending method. The execution subject of the department recommendation method includes, but is not limited to, at least one of the electronic devices that can be configured to execute the method provided by the embodiment of the present application, such as a server, a terminal, and the like. In other words, the department recommendation method may be performed by software or hardware installed in the terminal device or the server device, and the software may be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Fig. 1 is a schematic flow chart of a department recommendation method according to an embodiment of the present invention. In an embodiment of the present invention, the department recommendation method includes:
and S1, cleaning the inquiry data in the inquiry text to obtain a standard text.
In this embodiment of the present invention, the inquiry text may be understood as a summary of data generated in a business scenario, for example, a summary of basic data and behavior data of a user in a medical inquiry scenario, where the inquiry data refers to medical data input by the user and needs to be consulted, and includes: disease symptoms, disease category, and disease name, among others. Further, it should be understood that data generated in an actual service scene are complex and large in data amount, and in order to better analyze and process the inquiry text, the inquiry data in the inquiry text is cleaned by the method, so that useless data of the inquiry text are screened out, and the efficiency of subsequent text processing is improved.
In detail, the cleaning of the inquiry data in the inquiry text to obtain a standard text includes: performing duplication removal operation on the inquiry data in the inquiry text, and detecting whether a data missing value exists in the inquiry text after duplication removal; if no data missing value exists, the query text after duplication removal is used as a standard text; and if the data missing value exists, performing data filling on the data missing value to obtain a standard text.
In detail, the performing a deduplication operation on the inquiry data in the inquiry text includes: and calculating the similarity of any two pieces of inquiry data in the inquiry text, if the similarity is greater than the preset similarity, simultaneously keeping any two pieces of inquiry data in the inquiry text, and if the similarity is not greater than the preset similarity, deleting one piece of inquiry data of any two pieces of inquiry data in the inquiry text.
It should be noted that, before calculating the similarity between any two pieces of inquiry data in the inquiry text, the embodiment of the present invention further includes: and converting the inquiry data in the inquiry text into a corresponding hash value by using a hash algorithm so as to realize the calculation of the similarity of the subsequent inquiry data.
In an alternative embodiment, the similarity between any two pieces of inquiry data in the inquiry text is calculated by the following method:
Figure BDA0003030763090000051
wherein d represents the similarity of any two inquiry data in the inquiry text, and w1jAnd w2jRepresenting the hash value of any two pieces of interrogation data in the interrogation text.
Further, it should be understood that in an actual service scenario, when a user performs medical consultation, there may be a situation that input data is missing, for example, one or more identity cards or mobile phone numbers of the user are missing, which causes incomplete user information, and thus affects the integrity of the whole inquiry text.
In an alternative embodiment, the detection of the missing data value may be implemented by a detection function in a currently known missing data value detection tool, such as a mismap function detection function in an Amelia package tool.
In an optional embodiment, the populating the data missing value includes: acquiring a missing position of data to be filled, presetting a filling parameter at the missing position, calculating the missing value probability of the filling parameter, and obtaining a data missing value corresponding to filling according to the missing position, the filling parameter and the missing value probability. Optionally, the missing data value is filled by using the following formula:
Figure BDA0003030763090000061
wherein L (θ) represents a filled data missing value, xiIndicating the missing position of the ith missing data value, theta indicating the filling parameter corresponding to the filled missing data value, n indicating the number of the inquiry data in the inquiry text after the duplication removal, and p (x)i| θ) represents the missing value probability of the padding parameter.
S2, recognizing the disease entities in the standard text by using the pre-trained disease entity recognition model, constructing an entity relation map for the recognized disease entities, and screening the recognized disease entities to obtain the first disease entity, wherein the disease entities meet preset conditions according to the entity relation map.
In an embodiment of the present invention, the disease entity identification model includes a BERT neural network, configured to identify a disease entity in the standard text, where the disease entity refers to a disease name and a disease symptom in the inquiry text, and the disease name includes: gallstones, pulmonary nodules, cold, fever, and the like, including disease symptoms; nausea, dizziness, and weakness. In order to better understand the target departments to be queried in the inquiry text, the embodiment of the invention identifies the disease entities in the standard text through the pre-trained disease entity identification model so as to guarantee the premise of matching of the subsequent target departments.
In detail, referring to fig. 2, the identifying the disease entity in the standard text by using the pre-trained disease entity identification model includes:
s20, carrying out position vector coding on the characters in the standard sample by using a coding layer in the disease entity recognition model to generate a character vector;
s21, extracting a characteristic sequence of the character vector by using a feedforward attention mechanism in the disease entity recognition model to obtain a characteristic sequence vector;
and S22, carrying out disease entity recognition on the characteristic sequence vector by using a disease entity recognition module in the disease entity recognition model to obtain a disease entity.
In an alternative embodiment, the encoding layer includes Embedding, and the S20 includes: index coding is carried out on the characters in the standard sample by utilizing the coding layer to obtain a character coding index; converting the characters into corresponding character vectors by utilizing the coding layer to obtain initial character vectors; and combining the character coding index and the character vector to generate a character vector.
In an alternative embodiment, the feed forward attention mechanism comprises: a self-attention module, a convolution module, and an encoder, the S21 including: and querying the character vector by using a self-attention module in the feedforward attention mechanism, performing feature extraction on the queried character vector by using a convolution module in the feedforward attention mechanism to obtain a feature character vector, and extracting an information sequence of the feature character vector by using an encoder in the feedforward attention mechanism to obtain a feature sequence vector.
In an alternative embodiment, the disease entity identification module comprises: a full connectivity layer and an activation function, the S22 including: and detecting disease entity position information in the characteristic sequence vector by using the full connection layer, and outputting the disease entity position information by using the activation function to obtain the disease entity.
It should be noted that the training process of the disease entity recognition model belongs to the current mature technology, and is not further described here.
Further, it should be understood that, in the identified disease entities, certain entity relationships may exist, such as correspondence between disease symptoms and disease names (for example, cold contains weakness), and in order to more intuitively understand the relationships between the identified disease entities, the embodiment of the present invention constructs an entity relationship map for the identified disease entities, and in detail, the constructing an entity relationship map for the identified disease entities includes: performing relation vector modeling on the identified disease entity by using a translation model to obtain an entity relation map vector space; and converting the entity relationship map vector space into an entity relationship map of a visual interface to obtain the entity relationship map.
Wherein the utilizing translation model (Trans) comprises: multivariate relational data embedding (TransE for short), knowledge embedding into a hyperplane (TransH for short), entity and relationship separate embedding (TransR), embedding through a dynamic mapping matrix (TransD), and adaptive metric function (TransA). It should be noted that the implementation of entity-relationship vector modeling using the Trans is a current mature technology and is not further described here.
In an alternative embodiment, the transformation of the visualization interface of the entity relationship graph vector space is implemented by the currently known TensorBoard tool.
Further, in the embodiment of the present invention, the association relationship between disease entities may be determined through the entity relationship map, so that in the embodiment of the present invention, a disease entity meeting a preset condition is screened from the identified disease entities according to the entity relationship map, and the first disease entity is obtained. The preset condition may be set according to an actual service scenario, for example, whether a disease entity has two or more associated disease entities is set, and if so, the corresponding disease entity is screened out to generate the first disease.
In an optional embodiment, the screening of the disease entity may be implemented by a currently preset entity screening script, and the preset entity screening script may be compiled by a currently known JavaScript scripting language.
S3, screening disease entities from the standard text by using the pre-constructed regular expression of the disease entities, calculating the matching degree of the screened disease entities and the disease entities in a preset disease entity dictionary library, and selecting the disease entities with the matching degree larger than a preset threshold value from the screened disease entities to obtain second disease entities.
In the embodiment of the present invention, the pre-constructed regular expression of the disease Entity may be constructed by a currently known Entity naming Recognition (NER) tool, for example, words describing a main disease Entity with high frequency are found according to statistical analysis or a disease Entity automatically selected by a user at the front end of the system is found.
Further, it should be understood that in an actual service scenario, due to different factors such as different expression habits of users, the disease entities extracted through the regular expression of the disease entities do not meet the disease entities of the standard in the industry, and therefore, in the embodiment of the present invention, the second disease entity is obtained by calculating the matching degree between the screened disease entities and the disease entities in the preset disease entity dictionary library, and selecting the disease entities with the matching degree greater than the preset threshold value from the screened disease entities, so as to ensure the extraction accuracy of the disease entities. Optionally, the disease entity dictionary database is constructed by a database and is used for realizing rapid storage and reading of data.
In an alternative embodiment, the matching degree of the screened disease entity with the disease entity in the preset disease entity dictionary library is calculated by the following method:
Figure BDA0003030763090000081
wherein T (x, y) represents a degree of matching, xiRepresenting the i-th disease entity, y, of said disease entities screenediRepresenting the ith disease entity in the disease entity dictionary library.
In an optional embodiment, the preset threshold is 0.9, and may also be set according to an actual service scenario.
S4, performing dimensionality reduction on the first disease entity and the second disease entity respectively, and summarizing the first disease entity and the second disease entity subjected to dimensionality reduction to obtain a target disease entity.
In an embodiment of the present invention, dimension reduction is performed on the first disease entity and the second disease entity to map the first disease entity and the second disease entity into an interval [0,1], so as to increase the processing speed of subsequent disease entities.
In an alternative embodiment, the dimension reduction of the first disease entity is performed using the following method:
x'=(X-X_min)/(X_max-X_min)
wherein X' represents the first disease entity after dimensionality reduction, X represents the first disease entity, X _ max represents the largest-dimensional disease entity of the first disease entities, and X _ min represents the smallest-dimensional disease entity of the first disease entities.
Further, the dimension reduction method of the second disease entity may refer to the dimension reduction method of the first disease entity, which is not further described herein.
Further, the embodiment of the invention summarizes the first disease entity and the second disease entity after dimensionality reduction to obtain a target disease entity, so as to ensure information comprehensiveness of the disease entity when subsequently matched with a target department, and improve accuracy of matching of the target department.
Further, to ensure reusability and privacy of the target disease entity, the target disease entity may also be stored in a blockchain node.
S5, calculating the association degree of the target disease entity and departments in a pre-constructed medical department library, and selecting the departments with the association degree larger than the preset association degree from the medical departments to obtain the target departments.
In an embodiment of the present invention, the department in the medical department library refers to doctor diagnosis and treatment position information in the medical field, for example: skin department, chest examination department, electrocardiogram department, etc., the medical department library is also constructed based on the database, which facilitates the rapid access of data.
Further, in the embodiment of the present invention, the target department is obtained by calculating the association degree between the target disease entity and the departments in the medical department library, and selecting the department with the association degree greater than the preset association degree from the medical departments, so as to realize the target department matching of the disease entity. The calculation method of the association degree may refer to the calculation method of the matching degree in S3, which is not further described herein, and the optional preset association degree is 0.85, which may also be set according to an actual service scenario.
According to the embodiment of the invention, firstly, the data in the obtained inquiry text is cleaned to obtain the standard text, so that the processing speed of the data in the subsequent inquiry text can be improved; secondly, the disease entities are respectively screened from the standard text by utilizing the pre-trained disease entity recognition model and the disease entity regular expression, so that the comprehensiveness of the disease entity acquisition is guaranteed, the problems that medical information is not matched in the disease entity process and noise data in the text is difficult to distinguish are solved, and the recommendation accuracy of an inquiry department is improved; furthermore, the embodiment of the invention improves the speed of subsequent calculation by performing dimension reduction on the disease entity, and selects departments with the association degree greater than the preset association degree from the medical departments according to the association degree of the target disease entity and the departments in the medical department library, so as to further improve the accuracy of the recommendation of the inquiry department. Therefore, the department recommendation method, the department recommendation device, the electronic equipment and the storage medium provided by the invention can reduce the difficulty of department recommendation.
Fig. 3 is a functional block diagram of the department recommendation device of the present invention.
The department recommendation device 100 of the present invention can be installed in an electronic device. According to the realized functions, the department recommending device can comprise a cleaning module 101, a screening module 102, a selecting module 103, a summarizing module 104 and a calculating module 105. A module according to the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the cleaning module 101 is configured to clean the inquiry data in the inquiry text to obtain a standard text;
the screening module 102 is configured to identify a disease entity in the standard text by using a pre-trained disease entity identification model, construct an entity relationship map for the identified disease entity, and screen a disease entity meeting a preset condition from the identified disease entity according to the entity relationship map to obtain a first disease entity;
the selecting module 103 is configured to screen disease entities from the standard text by using a pre-constructed disease entity regular expression, calculate matching degrees between the screened disease entities and disease entities in a preset disease entity dictionary library, and select a disease entity with the matching degree greater than a preset threshold value from the screened disease entities to obtain a second disease entity;
the summarizing module 104 is configured to perform dimension reduction on the first disease entity and the second disease entity respectively, and summarize the dimension-reduced first disease entity and second disease entity to obtain a target disease entity;
the calculating module 105 is configured to calculate a degree of association between the target disease entity and departments in a pre-constructed medical department library, and select a department with the degree of association greater than a preset degree of association from the medical departments to obtain a target department.
In detail, when the department recommending device 100 in the embodiment of the present invention is used, the same technical means as the department recommending method described in fig. 1 and fig. 2 are used, and the same technical effects can be produced, which is not described herein again.
Fig. 4 is a schematic structural diagram of an electronic device for implementing a department recommendation method according to the present invention.
The electronic device 1 may comprise a processor 10, a memory 11 and a bus, and may further comprise a computer program, such as a department recommendation program 12, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes of the department recommendation program 12, but also to temporarily store data that has been output or is to be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., executing a department recommendation program 12, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 4 only shows an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 4 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The department recommendation program 12 stored in the memory 11 of the electronic device 1 is a combination of a plurality of programs, which when executed in the processor 10, may implement:
cleaning the inquiry data in the inquiry text to obtain a standard text;
recognizing the disease entities in the standard text by using a pre-trained disease entity recognition model, constructing an entity relation map for the recognized disease entities, and screening the recognized disease entities to obtain a first disease entity, wherein the disease entities meet preset conditions;
screening disease entities from the standard text by using a pre-constructed disease entity regular expression, calculating the matching degree of the screened disease entities and the disease entities in a preset disease entity dictionary library, and selecting the disease entities with the matching degree larger than a preset threshold value from the screened disease entities to obtain second disease entities;
respectively reducing the dimensionality of the first disease entity and the second disease entity, and summarizing the first disease entity and the second disease entity subjected to dimensionality reduction to obtain a target disease entity;
and calculating the association degree of the target disease entity and departments in a pre-constructed medical department library, and selecting the departments with the association degree larger than the preset association degree from the medical departments to obtain the target departments.
Specifically, the processor 10 may refer to the description of the relevant steps in the embodiment corresponding to fig. 1 for a specific implementation method of the foregoing program, which is not described herein again.
Further, the integrated modules/units of the electronic device 1, if implemented in the form of software functional units and sold or used as separate products, may be stored in a non-volatile computer-readable storage medium. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
cleaning the inquiry data in the inquiry text to obtain a standard text;
recognizing the disease entities in the standard text by using a pre-trained disease entity recognition model, constructing an entity relation map for the recognized disease entities, and screening the recognized disease entities to obtain a first disease entity, wherein the disease entities meet preset conditions;
screening disease entities from the standard text by using a pre-constructed disease entity regular expression, calculating the matching degree of the screened disease entities and the disease entities in a preset disease entity dictionary library, and selecting the disease entities with the matching degree larger than a preset threshold value from the screened disease entities to obtain second disease entities;
respectively reducing the dimensionality of the first disease entity and the second disease entity, and summarizing the first disease entity and the second disease entity subjected to dimensionality reduction to obtain a target disease entity;
and calculating the association degree of the target disease entity and departments in a pre-constructed medical department library, and selecting the departments with the association degree larger than the preset association degree from the medical departments to obtain the target departments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A department recommendation method, the method comprising:
cleaning the inquiry data in the inquiry text to obtain a standard text;
recognizing the disease entities in the standard text by using a pre-trained disease entity recognition model, constructing an entity relation map for the recognized disease entities, and screening the recognized disease entities to obtain a first disease entity, wherein the disease entities meet preset conditions;
screening disease entities from the standard text by using a pre-constructed disease entity regular expression, calculating the matching degree of the screened disease entities and the disease entities in a preset disease entity dictionary library, and selecting the disease entities with the matching degree larger than a preset threshold value from the screened disease entities to obtain second disease entities;
respectively reducing the dimensionality of the first disease entity and the second disease entity, and summarizing the first disease entity and the second disease entity subjected to dimensionality reduction to obtain a target disease entity;
and calculating the association degree of the target disease entity and departments in a pre-constructed medical department library, and selecting the departments with the association degree larger than the preset association degree from the medical departments to obtain the target departments.
2. The department recommendation method of claim 1, wherein said cleaning the inquiry data in said inquiry text to obtain a standard text comprises:
performing duplication removal operation on the inquiry data in the inquiry text, and detecting whether a data missing value exists in the inquiry text after duplication removal;
if no data missing value exists, the query sentence subjected to duplication removal is used as a standard text;
and if the data missing value exists, performing data filling on the data missing value to obtain a standard text.
3. The department recommendation method of claim 2, wherein said performing deduplication operations on the interrogation data in the interrogation text comprises:
calculating the similarity of any two pieces of inquiry data in the inquiry text;
if the similarity is greater than the preset similarity, simultaneously keeping any two inquiry data in the inquiry text;
and if the similarity is not greater than the preset similarity, deleting one inquiry data of any two inquiry data in the inquiry text.
4. The department recommendation method of claim 1, wherein said identifying disease entities in said standard text using a pre-trained disease entity recognition model comprises:
carrying out position vector coding on characters in the standard sample by using a coding layer in the disease entity recognition model to generate a character vector;
extracting a characteristic sequence of the character vector by using a feedforward attention mechanism in the disease entity recognition model to obtain a characteristic sequence vector;
and carrying out disease entity identification on the characteristic sequence vector by using a disease entity identification module in the disease entity identification model to obtain a disease entity.
5. The departmental recommendation method of claim 4, wherein said extracting feature sequences from said character vectors using a feed forward attention mechanism in said disease entity recognition model to obtain feature sequence vectors comprises:
querying the character vector using a self-attention module in the feed-forward attention mechanism;
performing feature extraction on the inquired character vector by using a convolution module in the feedforward attention mechanism to obtain a feature character vector;
and extracting the information sequence of the characteristic character vector by using an encoder in the feedforward attention mechanism to obtain a characteristic sequence vector.
6. The department recommendation method of any of claims 1-5, wherein said constructing an entity relationship map of said identified disease entities comprises:
performing relation vector modeling on the identified disease entity by using a translation model to obtain an entity relation map vector space;
and converting the entity relationship map vector space into an entity relationship map of a visual interface to obtain the entity relationship map.
7. The department recommendation method of claim 1, wherein said calculating a match between said screened disease entity and a disease entity in a predetermined dictionary of disease entities comprises:
calculating the matching degree by using the following method:
Figure FDA0003030763080000021
wherein T (x, y) represents a degree of matching, xiRepresenting the i-th disease entity, y, of said disease entities screenediRepresenting the ith disease entity in the disease entity dictionary library.
8. A department recommendation device, the device comprising:
the cleaning module is used for cleaning the inquiry data in the inquiry text to obtain a standard text;
the screening module is used for identifying the disease entities in the standard text by using the pre-trained disease entity identification model, constructing an entity relation map for the identified disease entities, and screening the disease entities meeting preset conditions from the identified disease entities according to the entity relation map to obtain a first disease entity;
the selecting module is used for screening disease entities from the standard text by utilizing a pre-constructed disease entity regular expression, calculating the matching degree of the screened disease entities and the disease entities in a preset disease entity dictionary library, and selecting the disease entities with the matching degree larger than a preset threshold value from the screened disease entities to obtain second disease entities;
the summarizing module is used for respectively reducing dimensions of the first disease entity and the second disease entity, summarizing the first disease entity and the second disease entity after dimension reduction to obtain a target disease entity;
and the calculation module is used for calculating the association degree of the target disease entity and departments in a pre-constructed medical department library, and selecting the departments with the association degree larger than the preset association degree from the medical departments to obtain the target departments.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the department recommendation method of any one of claims 1-7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the department recommendation method of any one of claims 1 to 7.
CN202110429296.9A2021-04-212021-04-21Department recommendation method and device, electronic equipment and storage mediumPendingCN113111162A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202110429296.9ACN113111162A (en)2021-04-212021-04-21Department recommendation method and device, electronic equipment and storage medium
PCT/CN2022/087819WO2022222943A1 (en)2021-04-212022-04-20Department recommendation method and apparatus, electronic device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110429296.9ACN113111162A (en)2021-04-212021-04-21Department recommendation method and device, electronic equipment and storage medium

Publications (1)

Publication NumberPublication Date
CN113111162Atrue CN113111162A (en)2021-07-13

Family

ID=76719376

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110429296.9APendingCN113111162A (en)2021-04-212021-04-21Department recommendation method and device, electronic equipment and storage medium

Country Status (2)

CountryLink
CN (1)CN113111162A (en)
WO (1)WO2022222943A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113488159A (en)*2021-08-112021-10-08中国医学科学院阜外医院Medical department recommendation method and device based on neural network
CN113642312A (en)*2021-08-192021-11-12平安医疗健康管理股份有限公司 Medical examination data processing method, device, equipment and storage medium
CN113782189A (en)*2021-09-162021-12-10平安国际智慧城市科技股份有限公司 Intelligent assisted diagnosis and treatment method and device based on regional disease atlas
CN114566295A (en)*2022-03-042022-05-31康键信息技术(深圳)有限公司Online inquiry method, device, equipment and storage medium
CN114596958A (en)*2022-03-152022-06-07平安科技(深圳)有限公司Pathological data classification method, device, equipment and medium based on cascade classification
WO2022222943A1 (en)*2021-04-212022-10-27康键信息技术(深圳)有限公司Department recommendation method and apparatus, electronic device and storage medium
CN115274086A (en)*2022-09-272022-11-01无码科技(杭州)有限公司Intelligent diagnosis guiding method and system
CN116130072A (en)*2023-02-142023-05-16平安科技(深圳)有限公司 Department recommended methods, devices, equipment and storage media
CN117216355A (en)*2022-05-312023-12-12腾讯科技(武汉)有限公司Determination method of target recommendation information, information recommendation method, device and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109036545A (en)*2018-05-312018-12-18平安医疗科技有限公司Medical information processing method, device, computer equipment and storage medium
CN109817312A (en)*2018-12-132019-05-28平安科技(深圳)有限公司 A kind of medical treatment guidance method and computer equipment
CN110648754A (en)*2018-06-272020-01-03北京百度网讯科技有限公司 Methods, devices and equipment recommended by the department
CN111403011A (en)*2020-03-122020-07-10腾讯科技(深圳)有限公司Registered department pushing method, device and system, electronic equipment and storage medium
CN111785385A (en)*2020-06-292020-10-16微医云(杭州)控股有限公司Disease classification method, device, equipment and storage medium
CN111816301A (en)*2020-07-072020-10-23平安科技(深圳)有限公司Medical inquiry assisting method, device, electronic equipment and medium
CN111897967A (en)*2020-07-062020-11-06北京大学 A medical consultation recommendation method based on knowledge graph and social media
CN112001177A (en)*2020-08-242020-11-27浪潮云信息技术股份公司Electronic medical record named entity identification method and system integrating deep learning and rules

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106557653B (en)*2016-11-152017-09-22合肥工业大学A kind of portable medical intelligent medical guide system and method
CN110085307B (en)*2019-04-042023-02-03华东理工大学Intelligent diagnosis guiding method and system based on multi-source knowledge graph fusion
CN113111162A (en)*2021-04-212021-07-13康键信息技术(深圳)有限公司Department recommendation method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109036545A (en)*2018-05-312018-12-18平安医疗科技有限公司Medical information processing method, device, computer equipment and storage medium
CN110648754A (en)*2018-06-272020-01-03北京百度网讯科技有限公司 Methods, devices and equipment recommended by the department
CN109817312A (en)*2018-12-132019-05-28平安科技(深圳)有限公司 A kind of medical treatment guidance method and computer equipment
CN111403011A (en)*2020-03-122020-07-10腾讯科技(深圳)有限公司Registered department pushing method, device and system, electronic equipment and storage medium
CN111785385A (en)*2020-06-292020-10-16微医云(杭州)控股有限公司Disease classification method, device, equipment and storage medium
CN111897967A (en)*2020-07-062020-11-06北京大学 A medical consultation recommendation method based on knowledge graph and social media
CN111816301A (en)*2020-07-072020-10-23平安科技(深圳)有限公司Medical inquiry assisting method, device, electronic equipment and medium
CN112001177A (en)*2020-08-242020-11-27浪潮云信息技术股份公司Electronic medical record named entity identification method and system integrating deep learning and rules

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2022222943A1 (en)*2021-04-212022-10-27康键信息技术(深圳)有限公司Department recommendation method and apparatus, electronic device and storage medium
CN113488159A (en)*2021-08-112021-10-08中国医学科学院阜外医院Medical department recommendation method and device based on neural network
CN113642312A (en)*2021-08-192021-11-12平安医疗健康管理股份有限公司 Medical examination data processing method, device, equipment and storage medium
CN113782189A (en)*2021-09-162021-12-10平安国际智慧城市科技股份有限公司 Intelligent assisted diagnosis and treatment method and device based on regional disease atlas
CN114566295A (en)*2022-03-042022-05-31康键信息技术(深圳)有限公司Online inquiry method, device, equipment and storage medium
CN114596958A (en)*2022-03-152022-06-07平安科技(深圳)有限公司Pathological data classification method, device, equipment and medium based on cascade classification
CN114596958B (en)*2022-03-152024-03-19平安科技(深圳)有限公司Pathological data classification method, device, equipment and medium based on cascade classification
CN117216355A (en)*2022-05-312023-12-12腾讯科技(武汉)有限公司Determination method of target recommendation information, information recommendation method, device and equipment
CN115274086A (en)*2022-09-272022-11-01无码科技(杭州)有限公司Intelligent diagnosis guiding method and system
CN116130072A (en)*2023-02-142023-05-16平安科技(深圳)有限公司 Department recommended methods, devices, equipment and storage media

Also Published As

Publication numberPublication date
WO2022222943A1 (en)2022-10-27

Similar Documents

PublicationPublication DateTitle
CN113111162A (en)Department recommendation method and device, electronic equipment and storage medium
CN113707303A (en)Method, device, equipment and medium for solving medical problems based on knowledge graph
CN113449187A (en)Product recommendation method, device and equipment based on double portraits and storage medium
CN113111159A (en)Question and answer record generation method and device, electronic equipment and storage medium
CN110265098A (en)A kind of case management method, apparatus, computer equipment and readable storage medium storing program for executing
CN113590845B (en)Knowledge graph-based document retrieval method and device, electronic equipment and medium
CN113157739A (en)Cross-modal retrieval method and device, electronic equipment and storage medium
CN115146052A (en)Information retrieval method, device and equipment based on knowledge graph and storage medium
CN114138784A (en)Information tracing method and device based on storage library, electronic equipment and medium
CN113886708A (en)Product recommendation method, device, equipment and storage medium based on user information
CN111738005B (en) Named entity alignment method, device, electronic device and readable storage medium
CN116578704A (en)Text emotion classification method, device, equipment and computer readable medium
CN116486972A (en)Electronic medical record generation method, device, equipment and storage medium
CN116737947A (en) Entity relationship diagram construction method, device, equipment and storage medium
CN115238670A (en)Information text extraction method, device, equipment and storage medium
CN113921097A (en)Medical data integration method and device, electronic equipment and storage medium
CN114220536A (en)Disease analysis method, device, equipment and storage medium based on machine learning
CN115409041B (en)Unstructured data extraction method, device, equipment and storage medium
CN118211102A (en)Intelligent disease category analysis method and device, electronic equipment and storage medium
CN116702776A (en)Multi-task semantic division method, device, equipment and medium based on cross-Chinese and western medicine
CN116741358A (en)Inquiry registration recommendation method, inquiry registration recommendation device, inquiry registration recommendation equipment and storage medium
CN116844711A (en)Disease auxiliary identification method and device based on deep learning
CN116739001A (en)Text relation extraction method, device, equipment and medium based on contrast learning
CN114610854A (en) Intelligent question answering method, device, equipment and storage medium
CN114864032A (en)Clinical data acquisition method and device based on HIS (Hospital information System)

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20210713


[8]ページ先頭

©2009-2025 Movatter.jp