Disease condition prediction method and device based on time sequence, electronic equipment and storage medium

Through the time-based disease prediction method, the dependence between disease events is extracted, the accuracy of disease event timing prediction is improved, and the problem of low accuracy of disease development trend prediction in the existing technology is solved, providing more accurate information for medical treatment and better treatment options.

CN119092126AActive Publication Date: 2024-12-06PING AN TECH (SHENZHEN) CO LTD

Patent Information

Application Number
CN202411204012.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-06
Estimated Expiration
2044-08-29

AI Technical Summary

Technical Problem

The current medical field has low accuracy in the timing prediction methods for disease events, mainly due to the lack of detection of dependencies between disease events.

Method used

A time-based disease prediction method is proposed. By obtaining current disease data, determining the disease type, screening the initial case sample data, performing time-series prediction of disease development, extracting disease trigger words, performing context feature extraction and feature calculation, and generating disease prediction time-series data , and then make predictions of the disease to improve the accuracy of prediction of the disease development trend.

Benefits of technology

Effectively extract the dependence relationship between disease events, improve the accuracy of predicting the development trend of the disease, provide doctors with more accurate disease prediction information, assist in formulating more accurate treatment plans, and reduce medical risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119092126A_ABST
    Figure CN119092126A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an illness state prediction method and device based on a time sequence, electronic equipment and a storage medium, and belongs to the technical field of artificial intelligence and medical treatment. The method comprises the following steps: acquiring current illness state data; wherein the current illness state data comprises a current illness state stage; determining a disease type based on the current illness state data; performing case screening on preset initial case sample data based on the disease type to obtain target case sample data; performing illness state development time sequence prediction on the current illness state data and the target case sample data to obtain illness state prediction time sequence data; performing illness state prediction based on the illness state prediction time sequence data and the target case sample data to obtain illness state prediction data; wherein the illness state prediction data comprises an illness state prediction stage, and the illness state prediction stage is after the current illness state stage. According to the embodiment of the invention, the dependency relationship between illness state events can be effectively extracted, and the accuracy of illness state development trend prediction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of artificial intelligence and medical technology, and in particular to a time series-based disease prediction method, device, electronic device and storage medium. Background Art

[0002] At present, in the medical field, statistical methods and machine learning models are mainly used to predict the time sequence of disease events, so as to predict the development trend of the disease. However, in actual application scenarios, due to the lack of detection of the dependency relationship between disease events, the accuracy of disease development trend prediction is low.

[0003] Therefore, how to improve the accuracy of predicting disease development trends has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] The main purpose of the embodiments of the present application is to propose a time-series-based disease prediction method, device, electronic device and storage medium, aiming to improve the accuracy of disease development trend prediction.

[0005] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a time series-based disease prediction method, the method comprising:

[0006] Acquire current condition data; wherein the current condition data includes the current condition stage;

[0007] Determine the disease type based on the current disease condition data;

[0008] Perform case screening on preset initial case sample data based on the disease type to obtain target case sample data;

[0009] Performing a time series prediction of the disease progression on the current disease data and the target case sample data to obtain disease prediction time series data;

[0010] The condition prediction is performed based on the condition prediction time series data and the target case sample data to obtain the condition prediction data; wherein the condition prediction data includes a condition prediction stage, and the condition prediction stage is after the current condition stage.

[0011] In some embodiments, the target case sample data includes disease stage record data, and the step of performing a disease progression time series prediction on the current disease data and the target case sample data to obtain disease prediction time series data includes:

[0012] Based on the disease type, a preset trigger word library is screened for trigger words to obtain condition trigger words; wherein the condition trigger words are used to assist in extracting context features;

[0013] Extracting context features from the current condition data according to the condition trigger words to obtain current condition feature data;

[0014] Extracting context features from each of the disease stage record data according to the emotional trigger words to obtain target case feature data;

[0015] Feature calculation is performed on the current condition feature data and the target case feature data to obtain the condition prediction time series data.

[0016] In some embodiments, extracting context features from the current condition data according to the condition trigger word to obtain current condition feature data includes:

[0017] Performing word segmentation processing on the current condition data to obtain word segmentation feature data;

[0018] Performing word vector conversion on the word segmentation feature data to obtain word vector embedding features;

[0019] Performing part-of-speech analysis on the word segmentation feature data to obtain part-of-speech embedding features;

[0020] Based on the disease condition trigger word, a grammar tree is constructed for the word segmentation feature data to obtain a disease condition grammar tree;

[0021] Extracting features from the disease syntax tree to obtain context-dependent embedding features;

[0022] Feature assembly is performed based on the word vector embedding feature, the part-of-speech embedding feature and the context-dependent embedding feature to obtain the current condition feature data.

[0023] In some embodiments, the performing feature assembly based on the word vector embedding feature, the part-of-speech embedding feature, and the context-dependent embedding feature to obtain the current condition feature data includes:

[0024] Performing feature concatenation on the word vector embedding feature, the part-of-speech embedding feature, and the context-dependent embedding feature to obtain case event feature data;

[0025] Feature calculation is performed on the condition trigger word and the case event feature data to obtain the current condition feature data.

[0026] In some embodiments, constructing a grammar tree for the word segmentation feature data based on the disease condition trigger word to obtain a disease condition grammar tree includes:

[0027] Perform a trigger word query on the word segmentation feature data based on the disease condition trigger word to obtain a target tree node;

[0028] Perform a forward search on the word segmentation feature data based on the target tree node to obtain a target root node;

[0029] Perform a backward search on the word segmentation feature data based on the target tree node to obtain a target leaf node;

[0030] The disease grammar tree is obtained by constructing according to the target tree node, the target root node and the target leaf node.

[0031] In some embodiments, the step of performing feature calculation on the current condition feature data and the target case feature data to obtain the condition prediction time series data includes:

[0032] Performing product processing on the current condition characteristic data and the target case characteristic data to obtain comprehensive time series characteristic data;

[0033] The comprehensive time series feature data is subjected to dimension transformation processing to obtain the disease condition prediction time series data.

[0034] In some embodiments, the step of performing disease prediction based on the disease prediction time series data and the target case sample data to obtain disease prediction data includes:

[0035] Performing binary classification processing on the disease prediction time series data to obtain disease progression characteristic data; wherein the disease progression characteristic data is used to characterize the stage sequence between the current disease data and each of the disease stage record data;

[0036] The disease stage record data is screened based on the disease progression characteristic data to obtain the disease prediction data.

[0037] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application proposes a disease prediction device based on time series, the device comprising:

[0038] A condition data acquisition module, used to acquire current condition data; wherein the current condition data includes the current condition stage;

[0039] A disease type determination module, used to determine the disease type based on the current condition data;

[0040] A case screening module, used to screen the preset initial case sample data based on the disease type to obtain target case sample data;

[0041] A disease progression time series prediction module is used to perform a disease progression time series prediction on the current disease progression data and the target case sample data to obtain disease progression prediction time series data;

[0042] The condition prediction module is used to perform condition prediction based on the condition prediction time series data and the target case sample data to obtain condition prediction data; wherein the condition prediction data includes a condition prediction stage, and the condition prediction stage is after the current condition stage.

[0043] To achieve the above objectives, a third aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in the first aspect is implemented.

[0044] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.

[0045] The time-series-based disease prediction method, device, electronic device and storage medium proposed in the present application obtain the patient's current disease data and determine the disease type, and screen the preset initial case sample data based on the disease type to obtain a typical case representing the disease type, that is, the target case sample data, and then perform a time-series prediction of the disease development on the current disease data and the target case sample data to obtain the disease prediction time-series data, which can effectively extract the dependency between disease events, and then perform a disease prediction based on the disease prediction time-series data and the target case sample data to obtain the disease prediction data that can characterize the disease development trend, thereby improving the accuracy of the disease development trend prediction. In addition, the disease prediction data can provide doctors with more accurate and reliable disease prediction information, thereby assisting doctors in formulating more accurate treatment plans, improving treatment effects, reducing medical risks, and providing better medical services to patients. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 is a flow chart of a time series-based disease prediction method provided in an embodiment of the present application;

[0047] Figure 2 yes Figure 1 Flow chart of step S104 in FIG.

[0048] Figure 3 yes Figure 2 Flow chart of step S202 in FIG.

[0049] Figure 4 yes Figure 3 Flow chart of step S304 in FIG.

[0050] Figure 5 yes Figure 3 Flow chart of step S306 in FIG.

[0051] Figure 6 yes Figure 2 Flow chart of step S204 in FIG.

[0052] Figure 7 yes Figure 1 Flow chart of step S105 in FIG.

[0053] Figure 8 is a schematic diagram of the structure of a time series-based disease prediction device provided in an embodiment of the present application;

[0054] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0056] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0058] First, some nouns involved in this application are analyzed:

[0059] Artificial intelligence (AI) is a branch of computer science. It attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence can simulate the information process of human consciousness and thinking, use digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, and develop theories, methods, technologies and application systems to perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0060] Natural language processing (NLP): NLP uses computers to process, understand and apply human languages ​​(such as Chinese and English). NLP is a branch of artificial intelligence and an interdisciplinary subject between computer science and linguistics. It is often referred to as computational linguistics. Natural language processing is commonly used in technical fields such as machine translation, handwritten and printed character recognition, speech recognition and text-to-speech conversion, information intent recognition, information extraction and filtering, text classification and clustering, public opinion analysis and opinion mining. It involves data mining related to language processing, machine learning, knowledge acquisition, knowledge engineering, artificial intelligence research, and linguistic research related to language computing.

[0061] Information Extraction: A text processing technology that extracts specified types of entity, relationship, event and other factual information from natural language text and forms structured data output. Information extraction is a technology that extracts specific information from text data. Text data is composed of some specific units, such as sentences, paragraphs, and chapters. Text information is composed of some small specific units, such as characters, words, phrases, sentences, paragraphs, or a combination of these specific units. Extracting noun phrases, names, place names, etc. from text data are all text information extraction. Of course, the information extracted by text information extraction technology can be various types of information.

[0062] Event chronology refers to the order and duration of events or things, that is, the position and changes of events on the timeline. Event chronology focuses on the temporal relationship between events and describes the development process of events through clear time clues. Event chronology has important applications and research value in many fields. It can be used to study the trend of change, observe the development process of events, and explore causal relationships.

[0063] Trigger words, also known as motivation words or event keywords, are words or phrases used in a text or context to indicate or trigger specific events, emotions or behaviors. Trigger words play an important role in many fields, especially in text analysis, sentiment computing, biomedical event detection and other fields. In medical condition texts, trigger words are often used to indicate the occurrence of events such as disease, treatment, and diagnosis. Event information related to disease, treatment, etc. can be detected and extracted based on trigger words.

[0064] Syntactic Dependency Tree, also known as dependency tree, is a structured representation used to analyze the semantic structure of text in natural language processing. Syntactic Dependency Tree is a directed acyclic graph that can clearly show the grammatical dependency relationship between each lexical unit (usually refers to words) in a sentence. The core idea of ​​grammatical dependency tree is to represent the structure of a sentence through the dependency relationship between words, rather than the phrase structure in traditional syntactic analysis. Each lexical unit in the grammatical dependency tree is regarded as a node, and the directed edges between nodes represent the dependency relationship between them. This dependency relationship can cover a variety of grammatical relationships in tasks such as part-of-speech tagging, named entity recognition, and syntactic analysis, such as subject-predicate relationship, verb-object relationship, attributive clause, etc. Through this representation method, the grammatical dependency tree can effectively capture the implicit meaning in the sentence and help the machine understand the text content more deeply.

[0065] At present, in the medical field, statistical methods and machine learning models are mainly used to predict the time series of disease events, such as ARIMA model, LSTM model, etc., so as to predict the development trend of the disease. However, in actual application scenarios, statistical methods and machine learning models have weak modeling capabilities for nonlinear relationships, poor processing capabilities for long-term dependencies, and lack of detection of dependencies between disease events, resulting in low accuracy in predicting the development trend of the disease.

[0066] Based on this, the embodiments of the present application provide a time-series-based disease prediction method, device, electronic device and storage medium, aiming to improve the accuracy of disease development trend prediction.

[0067] The time series-based disease prediction method, device, electronic device and storage medium provided in the embodiments of the present application are specifically illustrated through the following embodiments. First, the time series-based disease prediction method in the embodiments of the present application is described.

[0068] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0069] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0070] The time series-based disease prediction method provided in the embodiment of the present application relates to the field of artificial intelligence technology. The time series-based disease prediction method provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server side, and can also be software running in a terminal or a server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements a time series-based disease prediction method, etc., but is not limited to the above forms.

[0071] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0072] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.

[0073] Figure 1 is an optional flow chart of the time series-based disease prediction method provided in an embodiment of the present application. Figure 1The method may include but is not limited to steps S101 to S105.

[0074] Step S101, obtaining current condition data; wherein the current condition data includes the current condition stage;

[0075] Step S102, determining the disease type based on the current disease condition data;

[0076] Step S103, screening the preset initial case sample data based on the disease type to obtain target case sample data;

[0077] Step S104, performing a time series prediction of the disease progression on the current disease data and the target case sample data to obtain disease prediction time series data;

[0078] Step S105, performing condition prediction based on the condition prediction time series data and the target case sample data to obtain condition prediction data; wherein the condition prediction data includes a condition prediction stage, and the condition prediction stage is after the current condition stage.

[0079] Steps S101 to S105 shown in the embodiment of the present application, by obtaining the patient's current condition data and determining the disease type, perform case screening on the preset initial case sample data based on the disease type to obtain typical cases representing the disease type, i.e., target case sample data, and then perform a time series prediction of the disease development on the current condition data and the target case sample data to obtain condition prediction time series data, which can effectively extract the dependency relationship between condition events, and then perform condition prediction based on the condition prediction time series data and the target case sample data to obtain condition prediction data that can characterize the disease development trend, thereby improving the accuracy of the disease development trend prediction.

[0080] In addition, disease prediction data can provide doctors with more accurate and reliable disease prediction information, thereby assisting doctors in formulating more precise treatment plans, improving treatment effects, reducing medical risks, and providing better medical services to patients.

[0081] In step S101 of some embodiments, the current condition data is the patient's condition data, which can be obtained from the patient's medical record and desensitized to obtain the current condition data; wherein, the current condition data includes the current condition stage, and the previous condition stage is used to characterize the patient's current health status and disease progression, and assist the doctor in assessing the severity of the patient's condition.

[0082] The disease progression stage may include but is not limited to: the initial stage of the disease, the stable stage of the disease, the worsening stage of the disease, the recovery stage, etc.

[0083] It should be noted that the specific division of the disease development stages needs to be set according to the disease type and clinical diagnosis experience, and the division criteria for different diseases may not be the same.

[0084] For example:

[0085] The development stages of the common cold can be divided into: initial stage, stable stage, worsening stage, and recovery stage;

[0086] The stages of cancer development can be divided into:

[0087] The early stage of the disease (stage I, cancer cells are confined to the primary site and have not spread to surrounding tissues or other organs);

[0088] The disease spreads (stage II, cancer cells begin to spread to surrounding tissues but have not yet affected distant organs or tissues);

[0089] The disease is more advanced (stage III, when cancer has spread to nearby lymph nodes and organs but has not yet affected other parts of the body);

[0090] Advanced stage of the disease (stage IV, cancer cells have spread to other parts of the body or organs);

[0091] Recovery stage (inhibiting the spread of cancer cells through chemotherapy / radiotherapy).

[0092] It should be emphasized that the above examples are for illustrative purposes only and do not represent actual disease treatment solutions, nor are they intended to limit this application.

[0093] In step S102 of some embodiments, by analyzing the current disease data to determine the patient's disease type, support can be provided for the doctor's diagnosis and treatment decisions, thereby providing the patient with a targeted diagnosis and treatment plan.

[0094] It should be noted that the preset initial case sample data can be the data collected, desensitized and processed by doctors and technicians from hospitals, research institutes and other institutions, which contains multiple typical case sample data and covers various disease types as comprehensively as possible, thereby improving the accuracy of disease prediction.

[0095] In step S103 of some embodiments, case screening is performed on preset initial case sample data based on the disease type to obtain target case sample data; wherein the target case sample data is typical case sample data corresponding to the disease type.

[0096] In some embodiments, the target case sample data includes multiple disease stage record data, each disease stage record data corresponds to a disease development stage, and records detailed disease information at that disease development stage, including but not limited to symptom description, examination results (data, images, etc.), preliminary diagnosis / evaluation results, treatment plan, medication status, treatment effect, etc., which need to be set in combination with the actual disease condition, but are not limited to this.

[0097] See also Figure 2 In some embodiments, step S104 may include but is not limited to steps S201 to S204:

[0098] Step S201, based on the disease type, a preset trigger word library is screened for trigger words to obtain disease condition trigger words; wherein the disease condition trigger words are used to assist in extracting context features;

[0099] Step S202, extracting context features from the current condition data according to the condition trigger words to obtain current condition feature data;

[0100] Step S203, extracting context features from each disease stage record data according to the emotional trigger words to obtain target case feature data;

[0101] Step S204, performing feature calculation on the current disease characteristic data and the target case characteristic data to obtain disease prediction time series data.

[0102] In steps S201 to S204 shown in the embodiment of the present application, trigger words are screened from a preset trigger word library based on the disease type to obtain trigger words closely related to the disease type; wherein the condition trigger words are used to assist in extracting context features from the current condition data and the condition stage record data; then, the condition trigger words are used to extract context features from the current condition data and each condition stage record data to obtain current condition feature data and target case feature data, and then feature calculations are performed on the current condition feature data and the target case feature data to obtain condition prediction time series data, and accurate context feature extraction and comparative analysis are used to achieve accurate prediction of the condition development trend, thereby providing doctors with more accurate and reliable condition prediction information.

[0103] It should be noted that the disease trigger words are used to construct a grammatical dependency tree, and then extract context features from the grammatical dependency tree.

[0104] See also Figure 3 In some embodiments, step S202 may include but is not limited to steps S301 to S306:

[0105] Step S301, performing word segmentation processing on the current condition data to obtain word segmentation feature data;

[0106] Step S302, performing word vector conversion on the word segmentation feature data to obtain word vector embedding features;

[0107] Step S303, performing part-of-speech analysis on the word segmentation feature data to obtain part-of-speech embedding features;

[0108] Step S304, constructing a grammar tree for the word segmentation feature data based on the disease condition trigger word to obtain a disease condition grammar tree;

[0109] Step S305, extracting features from the disease syntax tree to obtain context-dependent embedding features;

[0110] Step S306, assembling features based on word vector embedding features, part-of-speech embedding features and context-dependent embedding features to obtain current condition feature data.

[0111] In steps S301 to S306 shown in the embodiment of the present application, by performing word segmentation processing on the current medical condition data, word segmentation feature data can be obtained, and the word segmentation feature data is converted into a word vector to obtain a word vector embedding feature; part-of-speech analysis is performed on the word segmentation feature data to obtain a part-of-speech embedding feature; a medical condition grammar tree constructed based on the segmentation feature data of the medical condition trigger word pair can express the grammatical structure within the sentence, and feature extraction is performed on the medical condition grammar tree to obtain a context-dependent embedding feature that can characterize the dependency relationship between words in the sentence; feature assembly is performed based on word vector embedding features, part-of-speech embedding features and context-dependent embedding features to obtain current medical condition feature data, which can comprehensively and meticulously describe the information in the medical condition data, especially the grammatical structure and context dependency relationship, so as to more accurately predict the development trend of the disease and provide a more scientific and reliable basis for medical diagnosis and treatment.

[0112] It should be noted that both the current medical condition data and the medical condition stage record data are stored in text form on the computer. Therefore, a third-party word segmentation tool can be called to perform word segmentation processing on the current medical condition data according to certain word segmentation rules, such as Jieba, pkuseg, etc.

[0113] In step S302 of some embodiments, each word feature in the word segmentation feature data can be converted into a word vector using a pre-trained RoBERTa model to obtain a word vector embedding feature; in addition, word vector conversion can also be performed using models such as the BERT model and the ALBERT model, but is not limited to this.

[0114] In step S303 of some embodiments, the pre-trained BERT part-of-speech detection model can be used to perform part-of-speech analysis on each word feature in the word segmentation feature data to obtain a part-of-speech embedding feature; in addition, word vector conversion can also be performed through models such as the RoBERTa model and the ALBERT model, but is not limited to this.

[0115] See also Figure 4 In some embodiments, step S304 may include but is not limited to steps S401 to S404:

[0116] Step S401, performing a trigger word query on the segmentation feature data based on the condition trigger word to obtain a target tree node;

[0117] Step S402, forward search the word segmentation feature data based on the target tree node to obtain the target root node;

[0118] Step S403, performing a backward search on the word segmentation feature data based on the target tree node to obtain a target leaf node;

[0119] Step S404, constructing according to the target tree node, the target root node and the target leaf node to obtain the disease syntax tree.

[0120] Steps S401 to S404 shown in the embodiment of the present application can quickly locate the target tree node where the disease trigger word is located by accurately querying the disease trigger word in the word segmentation feature data. Subsequently, forward search and backward search are performed on the word segmentation feature based on the target tree node until all target root nodes and target leaf nodes are determined, and a disease syntax tree is constructed based on the target tree node, target root node and target leaf node, thereby clearly showing the internal logic of the disease evolution, and being able to accurately and efficiently capture the timeline and key points of the disease development, thereby providing doctors with more intuitive and detailed disease prediction results.

[0121] In step S401 of some embodiments, it is necessary to use a preset trigger to perform a trigger word query on the segmentation feature data based on the disease trigger word, construct a syntax tree, and obtain a disease syntax tree; wherein the preset trigger is used to analyze the segmentation feature data to facilitate the construction of the syntax tree.

[0122] It should be noted that the number of disease trigger words is at least one, and the trigger is used to query the disease trigger words one by one on the word segmentation feature data. If there is a corresponding disease trigger word on the word segmentation feature data, the word segmentation feature data corresponding to the disease trigger word is determined as the target node.

[0123] In some embodiments, forward search and backward search can be performed using methods such as depth-first search algorithm (DFS) and breadth-first search algorithm (BFS), thereby traversing and searching the word segmentation feature data to obtain a target root node and a target tree node.

[0124] It should be noted that the disease grammar tree is a pruned grammar dependency tree.

[0125] When there are multiple disease trigger words, there will be multiple target tree nodes, but in the disease syntax tree finally constructed, multiple target tree nodes will be linked together to form a complete disease syntax tree.

[0126] In step S305 of some embodiments, the disease grammar tree can be feature extracted through the pre-trained BERT grammar detection model to obtain context-dependent embedded features; in addition, the disease grammar tree can also be feature extracted through models such as the RoBERTa model and the ALBERT model, but is not limited to this.

[0127] See also Figure 5 In some embodiments, step S306 may also include but is not limited to steps S501 to S502:

[0128] Step S501, performing feature concatenation on word vector embedding features, part-of-speech embedding features, and context-dependent embedding features to obtain case event feature data;

[0129] Step S502, performing feature calculation on the condition trigger word and the case event feature data to obtain current condition feature data.

[0130] Steps S501 to S502 shown in the embodiment of the present application perform feature splicing on word vector embedding features, part-of-speech embedding features and context-dependent embedding features to obtain case event feature data, and perform feature calculation on the condition trigger words and case event feature data to obtain current condition feature data. This can more accurately extract feature data closely related to the current condition, more comprehensively understand the contextual information of the case, improve the accuracy of condition prediction, and provide doctors with more reliable and effective basis for diagnosis and treatment.

[0131] In step S501 of some embodiments, the word vector embedding feature is recorded as The part-of-speech embedding feature is recorded as The context-dependent embedding feature is denoted as The specific process of feature splicing is shown in formula (1):

[0132]

[0133] Among them, the case event characteristic data is recorded as vi , Represents a feature concatenation operation.

[0134] In step S502 of some embodiments, feature calculation is performed on the condition trigger word and the case event feature data. The specific process of feature calculation is shown in formula (2):

[0135]

[0136] Among them, E di is the current disease feature data, with a dimension of k*H, where k represents the number of disease trigger words in the current disease data, and H represents the vector length, which is equal to the case event feature data V token The length of the vector;

[0137] V trigger is the embedded feature data of the disease trigger word, with a dimension of k*H;

[0138] V token is the case event feature data, with a dimension of n*H, where n represents the number of word vector embedding features in the current condition data;

[0139] V hidden is the hidden layer vector, which is composed of the case event feature data V token After being processed by a fully connected layer, it is obtained with a dimension of n*H.

[0140] It can be understood that the embodiment of the present application also performs feature calculation on the embedded feature data of the disease trigger words, which can extract the implicit information of the disease trigger words, and then more accurately refine the feature data closely related to the current disease, more comprehensively understand the contextual information of the case, and improve the accuracy of disease prediction.

[0141] In step S203 of some embodiments, the target case sample data includes multiple disease stage record data, and each disease stage record data is recorded on the computer as text information. Therefore, it is necessary to extract context features of each disease stage record data respectively, and finally obtain the target case feature data;

[0142] In some embodiments, step S203 includes but is not limited to the following steps:

[0143] Perform word segmentation processing on the disease stage record data to obtain word segmentation feature data;

[0144] Perform word vector conversion on word segmentation feature data to obtain word vector embedding features;

[0145] Perform part-of-speech analysis on the word segmentation feature data to obtain part-of-speech embedding features;

[0146] Based on the disease condition trigger word, the segmentation feature data is queried for the trigger word to obtain the target tree node;

[0147] Perform a forward search on the word segmentation feature data based on the target tree node to obtain the target root node;

[0148] Perform a backward search on the word segmentation feature data based on the target tree node to obtain the target leaf node;

[0149] Construct according to the target tree node, target root node and target leaf node to obtain the disease syntax tree;

[0150] Extract features from the disease syntax tree to obtain context-dependent embedding features;

[0151] Perform feature concatenation on word vector embedding features, part-of-speech embedding features, and context-dependent embedding features to obtain case event feature data;

[0152] Feature calculation is performed on the disease trigger words and case event feature data to obtain the target case feature data.

[0153] It should be noted that the specific implementation of the above embodiment is the same as the specific implementation of steps S301 to S306, steps S401 to S404, and steps S501 to S502 of the embodiment of the present application, and will not be repeated here.

[0154] It is understandable that in order to distinguish the current condition data from the condition stage record data, "first" or "second" can be added before the features "word feature data, word vector embedding feature, part-of-speech embedding feature, target tree node, target root node, target leaf node, condition grammar tree, context dependency embedding feature, case event feature data" to distinguish them;

[0155] Among them, “first word feature data, first word vector embedding feature, first part-of-speech embedding feature, first target tree node, first target root node, first target leaf node, first condition grammar tree, first context dependency embedding feature, first case event feature data” corresponds to the current condition data;

[0156] Among them, “second word feature data, second word vector embedding feature, second part-of-speech embedding feature, second target tree node, second target root node, second target leaf node, second condition grammar tree, second context dependency embedding feature, second case event feature data” corresponds to the condition stage record data;

[0157] See also Figure 6 In some embodiments, step S204 includes but is not limited to steps S601 to S602:

[0158] Step S601, multiplying the current condition characteristic data and the target case characteristic data to obtain comprehensive time series characteristic data;

[0159] Step S602, performing dimension transformation processing on the comprehensive time series feature data to obtain disease prediction time series data.

[0160] Steps S601 to S602 shown in the embodiment of the present application can effectively fuse the information of the current disease characteristic data and the target case characteristic data by multiplying them, and obtain comprehensive time series characteristic data reflecting the disease evolution process; then, the comprehensive time series characteristic data is dimensional transformed, and the high-dimensional data can be mapped to a low-dimensional space that is easier to understand and analyze, while retaining the main features and time series information of the data, thereby generating disease prediction time series data. While maintaining the richness and accuracy of the data, it is possible to reduce the complexity of data processing, improve the efficiency and accuracy of the prediction model, and provide doctors with clearer and more reliable disease development trend prediction results, which helps them make more accurate diagnoses and formulate more effective treatment plans.

[0161] It should be noted that the number of target case characteristic data corresponds to the number of disease stage record data, and the target case characteristic data and the disease stage record data are in a corresponding relationship.

[0162] Therefore, for each target case characteristic data, the target case characteristic data is multiplied with the current condition characteristic data. The specific process of the product processing is shown in formula (3):

[0163]

[0164] in, is the comprehensive time series feature data, with a dimension of k*k, E d1 is the current disease characteristic data, E d2 The target case characteristic data.

[0165] In step S602 of some embodiments, the comprehensive time series feature data with dimension k*k is Convert it into a one-dimensional linear form to obtain the disease prediction time series data.

[0166] For example: there is a comprehensive time series feature data A = [[1,2,3], [4,5,6], [7,8,9]], then after the dimension transformation processing, the obtained disease prediction time series data is [1,2,3,4,5,6,7,8,9].

[0167] See also Figure 7 In some embodiments, step S105 may include but is not limited to steps S701 to S702:

[0168] Step S701, performing binary classification processing on the disease prediction time series data to obtain disease progression characteristic data; wherein the disease progression characteristic data is used to characterize the stage sequence between the current disease data and each disease stage record data;

[0169] Step S702, based on the disease progression characteristic data, the disease stage record data is screened to obtain disease prediction data.

[0170] Steps S701 to S702 shown in the embodiment of the present application, by subjecting the disease prediction time series data to binary classification, can clearly identify the sequence between the current disease data and the data recorded at each disease stage, thereby forming disease progression characteristic data; then, based on these disease progression characteristic data, the disease stage record data is targetedly screened to obtain accurate disease prediction data, which can clearly and unambiguously reveal the stages and trends of disease progression, and provide doctors with more accurate and reliable disease prediction information.

[0171] In step S701 of some embodiments, binary classification processing can be achieved through a MLP layer with a softmax activation function, a MLP layer with a Sigmoid activation function, or a MLP layer with a Tanh activation function, but is not limited thereto.

[0172] In some embodiments, the disease progression characteristic data is used to characterize the sequence of stages between the current disease progression data and each disease progression record data; specifically, the value range of the disease progression characteristic data can be recorded as [0, 1]. When the value of the disease progression characteristic data is in [0, 0.5), it indicates that the disease progression record data occurs before the current disease progression data occurs;

[0173] When the value of the disease progression characteristic data is 0.5, it indicates that the disease stage record data and the current disease stage data are at the same stage;

[0174] When the value of the disease progression characteristic data is in (0.5,1], it indicates that the data recorded at this disease stage occurs after the current disease data occurs;

[0175] For example, there is current condition data A and a condition stage record data B. The condition development characteristic data of the current condition data A and the condition stage record data B is 0.85, which means that the condition stage record data B occurs after the current condition data A, that is, it can be understood that the condition stage record data B is the predicted disease development trend of the patient;

[0176] Similarly, if there are multiple disease stage record data, multiple disease progression characteristic data are obtained by performing binary classification processing on the current disease stage data A and the disease prediction time series data of each disease stage record data; thereby, based on the multiple disease progression characteristic data, it is determined which disease stage record data occur after the current disease stage data A, and complete disease prediction data are obtained.

[0177] It can be understood that the disease development stage predicted in the condition prediction data may include the next disease development stage of the patient in the current condition data; it may also include all possible disease development stages of the patient after the current condition data, and sort the data from large to small according to the numerical size of the disease stage record, thereby generating a possible disease development stage sequence.

[0178] That is, it can be understood as: inserting the current condition data into the target case sample data, all the condition stage record data after the current condition data can be used as condition prediction data.

[0179] See also Figure 8 The embodiment of the present application further provides a time series-based disease prediction device, which can implement the above-mentioned time series-based disease prediction method, and the device includes:

[0180] The condition data acquisition module 801 is used to acquire current condition data; wherein the current condition data includes the current condition stage;

[0181] The disease type determination module 802 is used to determine the disease type based on the current condition data;

[0182] The case screening module 803 is used to screen the preset initial case sample data based on the disease type to obtain the target case sample data;

[0183] The disease progression time series prediction module 804 is used to perform a disease progression time series prediction on the current disease progression data and the target case sample data to obtain disease progression prediction time series data;

[0184] The condition prediction module 805 is used to perform condition prediction based on the condition prediction time series data and the target case sample data to obtain condition prediction data; wherein the condition prediction data includes a condition prediction stage, and the condition prediction stage is after the current condition stage.

[0185] In some embodiments, the disease progression time series prediction module 804 further includes:

[0186] The trigger word screening submodule is used to screen the trigger words in the preset trigger word library based on the disease type to obtain the disease condition trigger words; wherein the disease condition trigger words are used to assist in extracting context features;

[0187] The first context feature extraction submodule is used to extract context features of the current condition data according to the condition trigger word to obtain the current condition feature data;

[0188] The second context feature extraction submodule is used to extract context features of each disease stage record data according to the emotional trigger words to obtain target case feature data;

[0189] The feature calculation submodule is used to perform feature calculation on the current disease characteristic data and the target case characteristic data to obtain disease prediction time series data.

[0190] In the first context feature extraction submodule of some embodiments, the first context feature extraction submodule further includes:

[0191] A word segmentation processing unit, used to perform word segmentation processing on the current condition data to obtain word segmentation feature data;

[0192] A word vector conversion unit is used to convert word segmentation feature data into word vectors to obtain word vector embedding features;

[0193] A part-of-speech analysis unit is used to perform part-of-speech analysis on the word segmentation feature data to obtain part-of-speech embedding features;

[0194] A syntax tree construction unit, used to construct a syntax tree for the word segmentation feature data based on the disease condition trigger word to obtain a disease condition syntax tree;

[0195] A context-dependent feature extraction unit is used to extract features from the disease syntax tree to obtain context-dependent embedding features;

[0196] The feature assembly unit is used to assemble features based on word vector embedding features, part-of-speech embedding features and context-dependent embedding features to obtain current disease condition feature data.

[0197] In the syntax tree construction unit of some embodiments, the syntax tree construction unit further includes:

[0198] A trigger word query subunit is used to perform a trigger word query on the word segmentation feature data based on the condition trigger word to obtain a target tree node;

[0199] A forward search subunit, used to perform a forward search on the word segmentation feature data based on the target tree node to obtain a target root node;

[0200] A backward search subunit, used to perform a backward search on the word segmentation feature data based on the target tree node to obtain a target leaf node;

[0201] The construction subunit is used to construct according to the target tree node, the target root node and the target leaf node to obtain the disease syntax tree.

[0202] In some embodiments of the feature assembly unit, the feature assembly unit further comprises:

[0203] A feature concatenation subunit is used to concatenate word vector embedding features, part-of-speech embedding features, and context-dependent embedding features to obtain case event feature data;

[0204] The feature processing subunit is used to perform feature calculation on the disease trigger words and case event feature data to obtain the current disease feature data.

[0205] In the feature calculation submodule of some embodiments, the feature calculation submodule further includes:

[0206] A product calculation unit, used for performing product processing on the current disease characteristic data and the target case characteristic data to obtain comprehensive time series characteristic data;

[0207] The dimension transformation unit is used to perform dimension transformation processing on the comprehensive time series feature data to obtain disease prediction time series data.

[0208] In some embodiments of the condition prediction module 805, the condition prediction module 805 further includes:

[0209] The binary classification processing submodule is used to perform binary classification processing on the disease prediction time series data to obtain disease progression characteristic data; wherein the disease progression characteristic data is used to characterize the stage sequence between the current disease data and each disease stage record data;

[0210] The stage screening submodule is used to screen the disease stage record data based on the disease progression characteristic data to obtain disease prediction data.

[0211] The specific implementation of the time series-based disease prediction device is basically the same as the specific implementation of the time series-based disease prediction method described above, and will not be repeated here.

[0212] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned time series-based disease prediction method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0213] See also Fig. 9 , Fig. 9 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0214] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0215] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the time series-based disease prediction method of the embodiment of this application;

[0216] Input / output interface 903, used to implement information input and output;

[0217] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0218] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);

[0219] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0220] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned time series-based disease prediction method is implemented.

[0221] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory 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 may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor 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.

[0222] The time-series-based disease prediction method, device, electronic device and storage medium provided in the embodiments of the present application obtain the patient's current disease data and determine the disease type, perform case screening on the preset initial case sample data based on the disease type, obtain typical cases representing the disease type, namely, target case sample data, and then perform a time-series prediction of the disease development on the current disease data and the target case sample data to obtain disease prediction time-series data. The method can effectively extract the dependency relationship between disease events, and then perform a disease prediction based on the disease prediction time-series data and the target case sample data to obtain disease prediction data that can characterize the disease development trend, thereby improving the accuracy of the disease development trend prediction.

[0223] In addition, disease prediction data can provide doctors with more accurate and reliable disease prediction information, thereby assisting doctors in formulating more precise treatment plans, improving treatment effects, reducing medical risks, and providing better medical services to patients.

[0224] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0225] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0226] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0227] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

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

[0229] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0230] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0231] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0232] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0233] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0234] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A disease prediction method based on time series, characterized in that: The method comprises: Acquire current condition data; wherein the current condition data includes the current condition stage; Determine the disease type based on the current disease condition data; Perform case screening on preset initial case sample data based on the disease type to obtain target case sample data; Performing a time series prediction of the disease progression on the current disease data and the target case sample data to obtain disease prediction time series data; The condition prediction is performed based on the condition prediction time series data and the target case sample data to obtain the condition prediction data; wherein the condition prediction data includes a condition prediction stage, and the condition prediction stage is after the current condition stage.

2. The method according to claim 1, characterized in that The target case sample data includes disease stage record data, and the disease progression time series prediction is performed on the current disease data and the target case sample data to obtain disease prediction time series data, including: Based on the disease type, a preset trigger word library is screened for trigger words to obtain condition trigger words; wherein the condition trigger words are used to assist in extracting context features; Extracting context features from the current condition data according to the condition trigger words to obtain current condition feature data; Extracting context features from each of the disease stage record data according to the emotional trigger words to obtain target case feature data; Feature calculation is performed on the current condition feature data and the target case feature data to obtain the condition prediction time series data.

3. The method according to claim 2, characterized in that The extracting context features of the current condition data according to the condition trigger word to obtain current condition feature data includes: Performing word segmentation processing on the current condition data to obtain word segmentation feature data; Performing word vector conversion on the word segmentation feature data to obtain word vector embedding features; Performing part-of-speech analysis on the word segmentation feature data to obtain part-of-speech embedding features; Based on the disease condition trigger word, a grammar tree is constructed for the word segmentation feature data to obtain a disease condition grammar tree; Extracting features from the disease syntax tree to obtain context-dependent embedding features; Feature assembly is performed based on the word vector embedding feature, the part-of-speech embedding feature and the context-dependent embedding feature to obtain the current condition feature data.

4. The method according to claim 3, characterized in that The step of performing feature assembly based on the word vector embedding feature, the part-of-speech embedding feature and the context-dependent embedding feature to obtain the current condition feature data includes: Performing feature concatenation on the word vector embedding feature, the part-of-speech embedding feature, and the context-dependent embedding feature to obtain case event feature data; Feature calculation is performed on the condition trigger word and the case event feature data to obtain the current condition feature data.

5. The method according to claim 3, characterized in that: The step of constructing a grammar tree for the word segmentation feature data based on the disease condition trigger word to obtain a disease condition grammar tree includes: Perform a trigger word query on the word segmentation feature data based on the disease condition trigger word to obtain a target tree node; Perform a forward search on the word segmentation feature data based on the target tree node to obtain a target root node; Perform a backward search on the word segmentation feature data based on the target tree node to obtain a target leaf node; The disease grammar tree is obtained by constructing according to the target tree node, the target root node and the target leaf node.

6. The method according to claim 2, characterized in that The step of performing feature calculation on the current condition feature data and the target case feature data to obtain the condition prediction time series data includes: Performing product processing on the current condition characteristic data and the target case characteristic data to obtain comprehensive time series characteristic data; The comprehensive time series feature data is subjected to dimension transformation processing to obtain the disease condition prediction time series data.

7. The method according to any one of claims 2 to 6, characterized in that: The step of performing disease prediction based on the disease prediction time series data and the target case sample data to obtain disease prediction data includes: Performing binary classification processing on the disease prediction time series data to obtain disease progression characteristic data; wherein the disease progression characteristic data is used to characterize the stage sequence between the current disease data and each of the disease stage record data; The disease stage record data is screened based on the disease progression characteristic data to obtain the disease prediction data.

8. A disease prediction device based on time series, characterized in that: The device comprises: A condition data acquisition module, used to acquire current condition data; wherein the current condition data includes the current condition stage; A disease type determination module, used to determine the disease type based on the current condition data; A case screening module, used to screen the preset initial case sample data based on the disease type to obtain target case sample data; A disease progression time series prediction module is used to perform a disease progression time series prediction on the current disease progression data and the target case sample data to obtain disease progression prediction time series data; The condition prediction module is used to perform condition prediction based on the condition prediction time series data and the target case sample data to obtain condition prediction data; wherein the condition prediction data includes a condition prediction stage, and the condition prediction stage is after the current condition stage.

9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the time series-based disease prediction method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for predicting a disease based on time series according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Disease prediction method and system based on multi-granularity feature fusion

    CN112331332A

  • Disease cognition calculation model establishment method based on time sequence similarity and application

    CN116864135A

  • Treatment portrait generation method and system for chemotherapy preparation stage

    CN117038010A

  • Cosmetic composition including hempseed-oil and manufacturing method thereof

    KR1020240175769A

  • Sensor-based leading indicators in a personal area network; systems, methods, and apparatus

    US11881315B1

Cited By

  • Rare disease development trend prediction method and device, electronic equipment and medium

    CN120072318A