Method and device for monitoring disease public opinion
By using disease knowledge graphs and similarity algorithms, we solve the problem of unsatisfactory disease monitoring in existing technologies, achieve efficient monitoring and early warning of epidemic and infectious diseases, and reduce the cost of diseases to society.
Patent Information
- Application Number
- CN202010972725.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-16
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-09-16
AI Technical Summary
Existing technologies are unsatisfactory in monitoring epidemic and infectious diseases and cannot provide effective early warning, resulting in huge losses to society caused by the disease.
Use the pre-constructed disease knowledge map and similarity algorithm to obtain disease query information within a preset time, summarize and generate a query information set, determine the hit disease information, aggregate different categories of disease information, generate a monitoring list, and implement disease based on this list Monitoring and early warning of public opinion.
It improves the accuracy and early warning efficiency of disease public opinion monitoring and can effectively reduce the impact of the disease on society.
Smart Images

Figure CN112100498B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, specifically to the fields of artificial intelligence technology, data processing technology, public opinion monitoring technology and disease early warning technology, and in particular to a method, device, electronic device and computer-readable storage medium for monitoring disease public opinion. Background Art
[0002] Because the outbreak of epidemic and infectious diseases often brings huge losses to human society, people hope to have a clear understanding of the information and risks of epidemic and infectious diseases. Therefore, research on diseases can not only effectively help everyone understand the diseases, but also provide early warnings for diseases with the risk of outbreaks, effectively reducing the impact of diseases on life.
[0003] In the prior art, models can only be built based on user search data and historical data of disease control, and then the acquired models can be used to monitor epidemic and infectious diseases. However, this method is not ideal for monitoring epidemic and infectious diseases. Summary of the invention
[0004] The present application provides a disease public opinion monitoring method, device, electronic device and storage medium.
[0005] In the first aspect, an embodiment of the present application provides a method for monitoring disease public opinion, including: obtaining disease query information within a preset time, and aggregating to generate a query information set; determining a set of disease information hits in the query information set based on a pre-constructed disease knowledge graph; aggregating different categories of disease information in the disease information set using a predetermined similarity algorithm to obtain multiple classified disease information; and generating a monitoring list based on the number of times each of the multiple classified disease information is hit in the query information set.
[0006] In the second aspect, an embodiment of the present application provides a device for monitoring disease public opinion, including: a query information acquisition unit, configured to acquire disease query information within a preset time, and aggregate and generate a query information set; a disease information determination unit, configured to determine the disease information set that hits the query information set based on a pre-constructed disease knowledge graph; a disease information aggregation unit, configured to use a predetermined similarity algorithm to aggregate different categories of disease information in the disease information set to obtain multiple classified disease information; a monitoring list generation unit, configured to generate a monitoring list based on the number of times each of the multiple classified disease information is hit in the query information set.
[0007] In a third aspect, an embodiment of the present application provides an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for monitoring disease public opinion as described in any implementation method in the first aspect.
[0008] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions, including: the computer instructions are used to enable the computer to execute the method for monitoring disease public opinion as described in any implementation method in the first aspect.
[0009] After obtaining disease query information within a preset time, this application aggregates and generates a query information set, determines the set of disease information hit in the query information set based on a pre-constructed disease knowledge graph, and uses a predetermined similarity algorithm to aggregate different categories of disease information in the disease information set to obtain multiple classified disease information, and generates a monitoring list based on the number of times each of the multiple classified disease information is hit in the query information set. In this application, the disease knowledge graph is used to determine the disease information present in the disease query information, and the disease public opinion monitoring and disease early warning are realized based on the disease query information.
[0010] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present application.
[0012] Figure 1 is an exemplary system architecture in which embodiments of the present application may be applied;
[0013] Figure 2 is a flow chart of an embodiment of a method for monitoring disease public opinion according to the present application;
[0014] Figure 3 It is a flowchart of an embodiment of a method for monitoring disease public opinion according to the present application for pre-constructing a disease knowledge graph;
[0015] Figure 4 It is a structural schematic diagram of an embodiment of a device for monitoring disease public opinion according to the present application;
[0016] Figure 5 It is a block diagram of an electronic device suitable for implementing the disease public opinion monitoring method of the embodiment of the present application. DETAILED DESCRIPTION
[0017] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0018] It should be understood that the disease public opinion monitoring method disclosed in this application not only involves technical fields such as computer technology, artificial intelligence technology, data processing technology, public opinion monitoring technology and disease early warning technology, but can also be adaptably used in technical fields that support the monitoring method, and this application does not limit this.
[0019] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0020] Figure 1 An exemplary system architecture 100 is shown to which an embodiment of the disease public opinion monitoring method, apparatus, electronic device, and computer-readable storage medium of the present application can be applied.
[0021] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0022] The user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to send disease query information, etc. The terminal devices 101, 102, 103 can be installed with various applications that can provide disease information search services, such as public service applications, encyclopedia search applications, diagnosis applications, etc.
[0023] Terminal devices 101, 102, 103 can be hardware or software. When it is hardware, it can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, etc. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (such as sending disease query information, etc.), or it can be implemented as a single software or software module. No specific limitation is made here.
[0024] Server 105 can be a server that provides various services, such as a server that provides disease query results to terminal devices 101, 102, and 103, or a server that obtains disease query information sent by terminal devices 101, 102, and 103. For example, after obtaining disease query information within a preset time, a query information set is generated by summarizing; based on a pre-constructed disease knowledge graph, a set of disease information hits in the query information set is determined; a predetermined similarity algorithm is used to aggregate different categories of disease information in the disease information set to obtain multiple classified disease information; based on the number of times each of the multiple classified disease information is hit in the query information set, a monitoring list is generated. It should be noted that the disease public opinion monitoring method provided in the embodiments of the present application is generally executed by server 105, and accordingly, the disease public opinion monitoring device is generally provided in server 105.
[0025] It should be noted that the server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules for providing distributed services, or it can be implemented as a single software or software module. No specific limitation is made here.
[0026] In addition, the disease public opinion monitoring method can also be executed by the terminal devices 101, 102, 103, and accordingly, the disease public opinion monitoring device can also be set in the terminal devices 101, 102, 103. At this time, the exemplary system architecture 100 may also not include the server 105 and the network 104.
[0027] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0028] Continue to refer Figure 2 , which shows a process 200 of an embodiment of a method for monitoring disease public opinion according to the present application. The method for monitoring disease public opinion includes the following steps:
[0029] Step 201, obtaining disease query information within a preset time, and summarizing and generating a query information set.
[0030] In this embodiment, the execution subject of the disease public opinion monitoring method (for example Figure 1 The server 105 shown in the figure can be used from a local or non-local human-computer interaction device (e.g. Figure 1 The terminal devices 101, 102, 103 shown in the figure can obtain disease queries in historical data, or directly obtain disease queries from other human-computer interaction devices (such as Figure 1 The terminal devices 101, 102, 103) shown in the figure directly obtain the disease query information sent by the user, and this application does not limit this.
[0031] It should be understood that disease query information refers to various query information sent by users. The expression of disease query information is only for the convenience of representing the query information sent by users in this application and should not be regarded as a limitation on the content of the query information sent by users.
[0032] When the above-mentioned execution entity obtains query information, certain acquisition conditions can be set to filter the scope of the query information. For example, a time condition can be set in advance. When obtaining query information from historical data, one or more time intervals can be preset according to needs to obtain query information within the preset time interval; when obtaining directly received queries, one or more time intervals can also be preset to obtain query information within the preset time interval.
[0033] After obtaining multiple disease query information continuously within a preset time, the obtained disease query information is summarized to generate a query information set. In actual situations, a large amount of disease query information is usually obtained to improve the monitoring effect. Therefore, in the aggregation process, big data tools are usually used to achieve aggregation, such as remote dictionary service tools (Redis), enterprise-level search application server (Solr) tools, Hadoop tools, etc.
[0034] After the disease query information is aggregated to generate a query set, the query information set can be protected in a local or non-local storage medium, or saved in a database for subsequent retrieval, such as in an ES (elasticsearch) database.
[0035] In some optional implementations of this embodiment, the query information is aggregated using a Haidup tool to determine the query information set.
[0036] Specifically, the Hadoop tool refers to a distributed system infrastructure. Distributed programs can be developed without understanding the underlying details of the distribution. The power of the cluster can be fully utilized for high-speed computing and storage. Hadoop implements a distributed file system (Hadoop Distributed File System), one of which is HDFS. HDFS has the characteristics of high fault tolerance and is designed to be deployed on low-cost hardware; it also provides high throughput to access application data, which is suitable for applications with large data sets. HDFS can access data in the file system in the form of streams. The Hadoop tool provides a reliable, efficient, and scalable way to process data to achieve reliable and efficient aggregation of disease query information.
[0037] Step 202, based on the pre-constructed disease knowledge graph, determine the disease information set that hits the query information set.
[0038] In this embodiment, the query information set is screened through a pre-constructed disease knowledge graph to determine the disease information set present in the information set determined in the above step 201. The pre-constructed disease knowledge graph usually records the name information, symptom information and other information related to the disease content, so as to determine the hit disease information according to the content in the disease query information, and determine the disease information set based on the hit disease information. For example, if a disease query information is "dizziness, fatigue, erythema and lumps on the body", then according to the "urticaria: a localized edema reaction caused by dilation and increased permeability of small blood vessels in the skin and mucous membranes" recorded in the disease knowledge graph, it is determined that the hit disease information in the disease query information is a skin disease, urticaria.
[0039] It should be understood that the disease information obtained may be different depending on the constructed disease knowledge graph, because the disease information can be specific disease name information, pathological classification information of the disease, or symptom classification information, which is not limited in this application.
[0040] Step 203, using a predetermined similarity algorithm to aggregate disease information of different categories in the disease information set to obtain a plurality of classified disease information.
[0041] In this embodiment, a predetermined similarity algorithm is used to aggregate different categories of disease information in the acquired disease information set, for example, using aggregation algorithms such as word2vec word vector aggregation algorithm, relative entropy aggregation algorithm, dictionary tree query algorithm, etc.
[0042] The categories of disease information can be classified based on classification criteria such as pathological characteristics, onset parts, and harmfulness of the disease to obtain multiple disease classification information.
[0043] It should be understood that the category of disease information is usually related to the information used in the above-mentioned pre-constructed disease knowledge graph, that is, the content of the disease information set finally generated by the disease knowledge graph. For example, the recognition results may be urticaria, chickenpox, ringworm, kerion, hepatitis A, and AIDS, which can be correspondingly classified as skin diseases: urticaria, chickenpox, ringworm, kerion, and infectious diseases: hepatitis A, AIDS, kerion, and chickenpox.
[0044] In some optional implementations of this embodiment, using a predetermined similarity algorithm to aggregate different categories of disease information in the acquired disease information set includes: using a dictionary tree query algorithm to aggregate different categories of disease information in the disease information set.
[0045] Specifically, the dictionary tree, also known as the word search tree, Trie tree, is a tree structure, a variant of the hash table. It is used to count, sort and save a large number of strings (it can also save them). The advantage is that it uses common prefixes to save storage space. Here is a simple example: let's say we want to store three words, nyist, nyistacm, nyisttc. If we just store them according to the previous idea of character array storage, then we need to define three string arrays. But if we use a dictionary tree, we only need to define one tree. Therefore, through the dictionary tree query algorithm, similar disease information can be aggregated, such as skin redness, skin rash, skin cracking, etc., which can be clustered into skin diseases, so as to achieve accurate and efficient aggregation of disease information of the same category.
[0046] Step 204: Generate a monitoring list based on the number of times each of the multiple classified disease information is hit in the query information set.
[0047] In this embodiment, the classified disease information is obtained by aggregating disease information of different categories in the disease information set through the predetermined similarity algorithm in the above step 203, so each piece of classified disease information corresponds to at least one piece of disease information.
[0048] On this basis, based on the number of times all disease information corresponding to the classified disease information is hit, an appropriate number of classified disease information is selected according to monitoring requirements to generate a monitoring list.
[0049] Among them, monitoring needs can be heat demand, comprehensive survey demand, disease geographical range monitoring demand, disease time range monitoring, etc.
[0050] In some optional implementations of the present embodiment, the generation of a monitoring list based on the number of times that multiple classified disease information are each hit in the query information set includes: in response to determining that the number of times that the classified disease information is hit in the query information set meets a predetermined threshold condition, marking the classified disease information as valid disease type information; and determining the monitoring list based on the valid disease type information.
[0051] Specifically, in order to improve the quality of the classified disease information in the acquired monitoring list, some interfering disease query information with fewer hit times in the query information set is eliminated, and a suitable query number threshold condition is pre-determined. In response to determining that the total number of hit times of the disease information in the query information set corresponding to the classified disease information meets the predetermined threshold condition, that is, the number of disease query information existing in the query information set is large enough and does not belong to the above-mentioned interfering information with fewer hit times, the classified disease information is marked as valid disease type information, and the monitoring list is determined based on the valid disease type information to ensure the quality of the determined monitoring list.
[0052] In some optional implementations of this embodiment, the disease query information includes: the geographic identification information and / or the time identification information when the disease query information is generated; and the monitoring list also includes: the geographic identification information and / or the time identification information corresponding to the classified disease information.
[0053] Specifically, when obtaining disease query information, the geographic identification information and / or time identification information when the query information was generated, that is, the geographic location information and query time information of the user who issued the disease query information, can be obtained simultaneously or in batches, and when the monitoring list is subsequently generated, the geographic identification information and / or time identification information is added therein accordingly, so that the location of the user who issued the disease query information and the time of the disease query can be determined based on the information. This not only realizes regional disease public opinion monitoring and time segment public opinion monitoring, but also can determine regional disease risks and / or temporal disease risks based on the monitoring results.
[0054] In some optional implementations of the present embodiment, determining the monitoring list based on the number of times the classified disease information is hit in the query information set includes: obtaining the number of times the classified disease information of different categories is hit in the query information set, and generating a hit count sequence list; determining the monitoring list based on the order of the hit counts of the classified disease information in the hit count sequence list.
[0055] Specifically, the number of times the classified disease information of different categories is hit in the query information set is obtained, and a corresponding hit count sequence list is generated. Then, a suitable preset number is determined based on monitoring requirements, and a preset number of classified disease information is extracted from the sequence list to generate a monitoring list. The monitoring list is generated according to the popularity of the disease information to improve the effectiveness of the information in the monitoring list.
[0056] In some optional implementations of the present embodiment, the method for monitoring disease public opinion further includes: selecting a preset number of classified disease information in the monitoring list according to the sorting order of the number of times the classified disease information is hit, and generating a disease popularity information list.
[0057] Specifically, the number of times the classified disease information of different categories is hit in the query information set is obtained, and a corresponding sequence list of the hit times is generated. A predetermined number of classified disease information is selected from the sequence list to generate a disease popularity information list, so as to feedback the information with higher popularity based on the disease popularity information list, so as to understand the disease information that the current user is concerned about and analyze the disease occurrence trend.
[0058] In some optional implementations of this embodiment, the method for monitoring disease public opinion also includes: generating disease warning information based on the monitoring list; and outputting the disease warning information.
[0059] Specifically, after determining the monitoring list, the possible outbreak of diseases is determined based on the disease information appearing in the monitoring list, and corresponding disease warning information is generated. The disease warning information is output to appropriate entities, such as the operator of the above-mentioned execution entity, the health department and / or the user of the disease query information, etc., so as to facilitate subsequent warning of the disease based on the disease warning information and reduce losses caused by sudden outbreaks of diseases.
[0060] It should be understood that, in the absence of conflict, the features in the above implementations can be combined with each other to combine the effects brought by each part and achieve a better effect.
[0061] The method for monitoring disease public opinion provided in the embodiment of the present application, after obtaining disease query information within a preset time, summarizes and generates a query information set, determines the set of disease information hit in the query information set based on a pre-constructed disease knowledge graph, and uses a predetermined similarity algorithm to aggregate different categories of disease information in the disease information set to obtain multiple classified disease information, and generates a monitoring list based on the number of times each of the multiple classified disease information is hit in the query information set. In the present application, the disease knowledge graph is used to determine the disease information existing in the disease query information, and the disease public opinion monitoring and disease early warning are realized based on the disease query information.
[0062] To better understand the construction steps of the pre-constructed disease knowledge graph, refer to Figure 3 , which shows a process 300 of an embodiment for pre-constructing a disease knowledge graph in a disease public opinion monitoring method according to the present application. Specifically, it includes:
[0063] Step 301, obtaining a disease information set from historical data.
[0064] Specifically, a disease information set is obtained based on the information in the historical data, and the disease information set includes at least the disease name and symptom information, so as to facilitate the subsequent use of the constructed disease knowledge graph to match the disease-related content contained in the query information and obtain disease information with reference value.
[0065] Step 302, generating serialized data according to the disease information set.
[0066] Specifically, the disease information set collected in the above step 301 is obtained, and the content in the disease information set is generated into serialized data. Serialization is the process of converting the state information of an object into a form that can be stored or transmitted. During serialization, the object writes its current state to a temporary or persistent storage area. Later, the object can be recreated by reading or deserializing the state of the object from the storage area. For example, the content in the disease information set is organized into data in JSON (JavaScript Object Notation) format, CSV (Comma-Separated Values) format, YAML (YAML Ain't Markup Language) format, and other formats.
[0067] Step 303, based on the serialized data, use the graph database to build a disease information disease knowledge graph.
[0068] Specifically, after obtaining the serialized data obtained in the above step 302, a graph database is used to construct a disease information disease knowledge graph, for example, a neo4j graph database, a relational database management system (MySQL) graph database, or a titan graph database.
[0069] It should be understood that the selection of the graph database is related to the format of the serialized data obtained in the above step 302 and the amount of the serialized data.
[0070] The method for constructing a pre-constructed disease knowledge graph in the disease public opinion monitoring method provided in the embodiment of the present application can obtain a disease information set based on information in historical data and complete the construction of the disease knowledge graph, so as to facilitate the subsequent use of the constructed disease knowledge graph to match the disease-related content contained in the query information, thereby determining the disease information set.
[0071] In some optional implementations of this embodiment, the disease information set also includes at least one of disease infectiousness information, morbidity information, and cure method information.
[0072] Specifically, when obtaining a disease information set for pre-constructing a disease knowledge graph, one or more of disease infectiousness information, incidence information, and cure method information can also be obtained to increase the information content existing in the pre-constructed disease knowledge graph, making it easier to use the disease knowledge graph to better determine the hit disease information set from the query information set, thereby improving the quality of monitoring disease public opinion.
[0073] To deepen understanding, this application also provides a specific implementation scheme in combination with a specific application scenario. In this specific application scenario, the disease query information obtained is: "cough, sore throat" for Nanchang users, "fever" for Jiujiang users, "bird flu" for Anhui users, "skin rash" for Beijing users, "skin acne, fever" for Beijing users, and "restaurant recommendations in Beijing".
[0074] The query information set is generated by aggregation, and the hit disease information set in the query set A includes "pneumonia", "chickenpox", "avian influenza", and "urticaria" based on the pre-constructed disease knowledge graph.
[0075] The disease information in the disease information set is clustered using a predetermined similarity algorithm to obtain two classified disease information of "skin disease" and "pneumonia".
[0076] A monitoring list is generated based on "cough, sore throat", "fever", and "bird flu" corresponding to "pneumonia", and "skin rash", "skin acne, fever" corresponding to "skin disease", wherein the monitoring list is generated based on the fact that "pneumonia" is hit 3 times in the query set summary, and "skin disease" is hit 2 times in the query set summary, as well as the geographic identification information in the query information.
[0077] Disease warning information about pneumonia can also be generated based on the geographic identification information in the monitoring list, and the disease warning information can be output to user groups in Jiangxi area.
[0078] Through this application scenario, it can be seen that the disease public opinion monitoring method in this application obtains disease query information within a preset time, and aggregates and generates a query information set, determines the disease information set that hits in the query information set based on a pre-constructed disease knowledge graph, and uses a predetermined similarity algorithm to aggregate different categories of disease information in the disease information set to obtain multiple classified disease information, and generates a monitoring list based on the number of times each of the multiple classified disease information is hit in the query information set. In this application, the disease knowledge graph is used to determine the disease information that exists in the disease query information, and the disease public opinion monitoring and disease early warning are realized based on the disease query information.
[0079] like Figure 4 As shown, the disease public opinion monitoring device 400 of this embodiment may include: a query information acquisition unit 401, configured to acquire disease query information within a preset time, and aggregate to generate a query information set; a disease information determination unit 402, configured to determine the disease information set hit in the query information set based on a pre-constructed disease knowledge graph; a disease information aggregation unit 403, configured to aggregate different categories of disease information in the disease information set using a predetermined similarity algorithm to obtain multiple classified disease information; a monitoring list generation unit 404, configured to generate a monitoring list based on the number of times each of the multiple classified disease information is hit in the query information set.
[0080] In some optional implementations of this embodiment, the disease information determination unit 402 also includes: a disease knowledge graph construction subunit, configured to construct the pre-constructed disease knowledge graph based on the following steps: obtaining a disease information set from historical data; wherein the disease information set includes at least disease name information and disease symptom information; generating serialized data based on the disease information set; and constructing a disease information disease knowledge graph using a graph database based on the serialized data.
[0081] In some optional implementations of this embodiment, the disease information set also includes at least one of disease infectiousness information, morbidity information, and cure method information.
[0082] In some optional implementations of this embodiment, the query information acquisition unit 401 aggregates and generates the query information set, including: aggregating the query information using a HiDUP tool to determine the query information set.
[0083] In some optional implementations of this embodiment, the disease information aggregation unit 403 uses a predetermined similarity algorithm to aggregate different categories of disease information in the disease information set, including: using a dictionary tree query algorithm to aggregate different categories of disease information in the disease information set.
[0084] In some optional implementations of this embodiment, the monitoring list generation unit 404 also includes: a valid disease type information marking unit, configured to mark the classified disease information as valid disease type information in response to determining that the number of times the classified disease information is hit in the query information set meets a predetermined threshold condition; and the monitoring list generation 404 unit, further configured to determine the monitoring list based on the valid disease type information.
[0085] In some optional implementations of this embodiment, the query information acquisition unit 401 also includes: a geographic identification acquisition subunit, configured to acquire the geographic identification information when the disease query information is generated; and / or a time identification acquisition subunit, configured to acquire the time identification information when the disease query information is generated; and the monitoring list generation unit 404 is further configured to, when generating the monitoring list, add the geographic identification information and / or the time identification information corresponding to the classified disease information to the monitoring list.
[0086] In some optional implementations of the present embodiment, the monitoring list generation unit 404 also includes: a hit count sequence statistics subunit, configured to obtain the number of times the classified disease information of different categories is hit in the query information set, and generate a hit count sequence list; and the monitoring list generation unit 404 is further configured to determine the monitoring list based on the order of the hit counts of the classified disease information in the hit count sequence list.
[0087] In some optional implementations of this embodiment, the above-mentioned device 400 also includes a heat information generation unit, which is configured to select a preset number of classified disease information from the monitoring list according to the order of the number of times the classified disease information is hit, and generate a disease heat information list.
[0088] In some optional implementations of this embodiment, the above-mentioned device 400 also includes a warning information generation unit, which is configured to generate disease warning information based on the monitoring list; and a warning information output unit, which is configured to output the disease warning information.
[0089] This embodiment exists as a device embodiment corresponding to the above method embodiment. For the same content, refer to the description of the above method embodiment, and no further description is given. Through the disease public opinion monitoring device provided by the embodiment of this application, the disease knowledge graph can be used to determine the disease information existing in the disease query information, and the disease public opinion monitoring and disease early warning can be realized based on the disease query information.
[0090] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
[0091] like Figure 5 , is a block diagram of an electronic device according to a method for monitoring disease public opinion according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, 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, 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 application described and / or required herein.
[0092] like Figure 5 As shown, the electronic device includes: one or more processors 501, a memory 502, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 501 is taken as an example.
[0093] The memory 502 is a non-transitory computer-readable storage medium provided in this application. The memory stores instructions executable by at least one processor to enable the at least one processor to execute the disease public opinion monitoring method provided in this application. The non-transitory computer-readable storage medium of this application stores computer instructions, which are used to enable a computer to execute the disease public opinion monitoring method provided in this application.
[0094] The memory 502 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the disease public opinion monitoring method in the embodiment of the present application (for example, Figure 4The processor 501 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 502, that is, the monitoring method of disease public opinion in the above method embodiment is implemented.
[0095] The memory 502 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device for monitoring disease public opinion, etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 502 may optionally include a memory remotely disposed relative to the processor 501, and these remote memories may be connected to the electronic device for monitoring disease public opinion via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0096] The electronic device of the disease public opinion monitoring method may further include: an input device 503 and an output device 504. The processor 501, the memory 502, the input device 503 and the output device 504 may be connected via a bus or other means. Figure 5 The example of connecting through bus is taken in the following.
[0097] The input device 503 can receive input digital or character information, and generate key signal input related to user settings and function control of the monitoring electronic device of disease public opinion, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 504 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.
[0098] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations may 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 above storage system, the above at least one input device, and the above at least one output device.
[0099] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0100] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer 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 pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0101] The systems and techniques described herein may be implemented in a computing system that includes back-end 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 front-end 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 back-end components, middleware components, or front-end 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), and the Internet.
[0102] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
[0103] According to the technical solution of the embodiment of the present application, disease query information within a preset time is obtained, and a query information set is generated by aggregation. Based on the pre-constructed disease knowledge graph, the set of disease information hit in the query information set is determined, and a predetermined similarity algorithm is used to aggregate different categories of disease information in the disease information set to obtain multiple classified disease information. Based on the number of times each of the multiple classified disease information is hit in the query information set, a monitoring list is generated. In this application, the disease knowledge graph is used to determine the disease information present in the disease query information, and the disease public opinion monitoring and disease early warning are realized based on the disease query information.
[0104] 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 recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0105] The above specific implementations do not constitute a limitation on the protection scope of this application. 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 modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A method for monitoring disease public opinion, comprising: Obtain disease query information within a preset time and aggregate and generate a query information set; Based on a pre-constructed disease knowledge graph, determining a set of disease information that is hit in the query information set; Aggregating disease information of different categories in the disease information set using a predetermined similarity algorithm to obtain a plurality of classified disease information; Based on the number of times that multiple classified disease information are each hit in the query information set, a monitoring list is generated, including: in response to determining that the number of times the classified disease information is hit in the query information set meets a predetermined threshold condition, marking the classified disease information as valid disease type information; generating the monitoring list based on the valid disease type information.
2. The method according to claim 1, wherein: The pre-constructed disease knowledge graph is determined based on the following steps: Acquire a disease information set from historical data; wherein the disease information set includes at least disease name information and disease symptom information; Generate serialized data according to the disease information set; Based on the serialized data, a disease information disease knowledge graph is constructed using a graph database.
3. The method according to claim 2, wherein: The disease information set also includes at least one of disease infectiousness information, morbidity information and cure method information.
4. The method according to claim 1, wherein: The query information set generated by aggregation includes: The query information is aggregated using a Haidup tool to determine the query information set.
5. The method according to claim 1, wherein: The method of aggregating different categories of disease information in the disease information set by using a predetermined similarity algorithm includes: A dictionary tree query algorithm is used to aggregate different categories of disease information in the disease information set.
6. The method according to claim 1, wherein: The disease query information includes: Geographic identification information and / or time identification information when the disease query information is generated; and The monitoring list also includes: The geographical identification information and / or the time identification information corresponding to the classified disease information.
7. The method according to claim 1, wherein: The determining of the monitoring list based on the number of times the classified disease information is hit in the query information set includes: Obtaining the number of hits of the classified disease information of different categories in the query information set, and generating a hit number sequence list; The monitoring list is determined based on the order of the hit times of the classified disease information in the hit times sequence list.
8. The method according to claim 7, further comprising: A preset number of classified disease information is selected from the monitoring list according to the order in which the classified disease information is hit, and a disease fever information list is generated.
9. The method according to any one of claims 1 to 8, further comprising: Based on the monitoring list, generating disease warning information; The disease warning information is output.
10. A device for monitoring disease public opinion, comprising: A query information acquisition unit is configured to acquire disease query information within a preset time and aggregate and generate a query information set; A disease information determination unit is configured to determine a set of disease information hit in the query information set based on a pre-constructed disease knowledge graph; a disease information aggregation unit, configured to aggregate disease information of different categories in the disease information set using a predetermined similarity algorithm to obtain a plurality of classified disease information; A monitoring list generating unit is configured to generate a monitoring list based on the number of times each of a plurality of classified disease information is hit in the query information set, and the monitoring list generating unit comprises: a valid disease type information marking subunit, configured to mark the classified disease information as valid disease type information in response to determining that the number of times the classified disease information is hit in the query information set satisfies a predetermined threshold condition; and the monitoring list generating unit is further configured to generate the monitoring list based on the valid disease type information.
11. The device according to claim 10, wherein: The disease information determination unit further includes: The disease knowledge graph construction subunit is configured to construct the pre-constructed disease knowledge graph based on the following steps: obtaining a disease information set from historical data; wherein the disease information set includes at least disease name information and disease symptom information; Generate serialized data according to the disease information set; Based on the serialized data, a disease information disease knowledge graph is constructed using a graph database.
12. The device according to claim 11, wherein The disease information set also includes at least one of disease infectiousness information, morbidity information and cure method information.
13. The device according to claim 10, wherein: The query information acquisition unit aggregates and generates a query information set, including: The query information is aggregated using a Haidup tool to determine the query information set.
14. The device according to claim 10, wherein: The method of aggregating different types of disease information in the disease information set by using a predetermined similarity algorithm in the disease information aggregation unit includes: A dictionary tree query algorithm is used to aggregate different categories of disease information in the disease information set.
15. The device according to claim 10, wherein: The query information acquisition unit also includes: A geographic identification acquisition subunit, configured to acquire the geographic identification information when the disease query information is generated; and / or A time identification acquisition subunit is configured to acquire time identification information when the disease query information is generated; And the monitoring list generating unit is further configured to, when generating the monitoring list, add the geographical identification information and / or the time identification information corresponding to the classified disease information to the monitoring list.
16. The device according to claim 10, wherein: The monitoring list generating unit also includes: A hit count sequence statistics subunit is configured to obtain the hit counts of the classified disease information of different categories in the query information set, and generate a hit count sequence list; The monitoring list generating unit is further configured to determine the monitoring list based on the order of the hit times of the classified disease information in the hit times sequence list.
17. The apparatus according to claim 16, further comprising: The heat information generating unit is configured to select a preset number of classified disease information from the monitoring list according to the sorting order of the number of hits of the classified disease information, and generate a disease heat information list.
18. The device according to any one of claims 10 to 17, further comprising: an early warning information generating unit, configured to generate disease early warning information based on the monitoring list; The warning information output unit is configured to output the disease warning information.
19. An electronic device comprising: at least one processor; as well as A memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor so that the at least one processor can execute the method of any one of claims 1-9.
20. A non-transitory computer-readable storage medium storing computer instructions, comprising: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 9.
