Method, device and medium for generating scientific research data analysis response information

By constructing a reference data collection and semantic matching technology, scientific research data analysis response information is generated, which solves the problem of low efficiency and quality of response information generation in traditional methods, and realizes efficient and automated scientific research data analysis inquiry and response.

CN117171308BActive Publication Date: 2024-09-17SHANGHAI ORIGIMED CO LTD +1
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202310945983.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2024-09-17
Estimated Expiration
2043-07-28

AI Technical Summary

Technical Problem

The traditional method of generating response information for scientific research data analysis is difficult to achieve high-efficiency, high-quality, and automated output of response results for scientific research data analysis inquiry questions. It is limited by the diversity and irregularity of user input questions, as well as the professionalism of operators. Dependence on knowledge.

Method used

By constructing a reference data collection based on historical data and user data, the adjusted query statement is generated, and candidate project identifiers are determined through semantic matching. Combined with the LLM model to generate condition keywords and question keywords, response information is automatically generated to adapt to different responses. Information output type.

Benefits of technology

It achieves efficient, accurate, and automated response result output for scientific research data analysis and inquiry questions, reduces dependence on operator experience, and improves the quality and efficiency of response information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117171308B
    Figure CN117171308B
Patent Text Reader

Abstract

The present invention relates to a method, device and medium for generating scientific research data analysis response information. The method includes: constructing a reference data set based on a historical data set and / or a data set associated with a user; generating an adjusted query statement for a query record input by a user; matching the reference data set with the generated query statement to determine the candidate item identifier of the reference data set that matches the query statement; matching the generated adjusted query statement to a target response information output type to generate conditional keywords and question keywords based on the target response information output type and the candidate item identifier; and generating response information about the query record based on the target requirement type, conditional keywords and question keywords. The present invention can efficiently, high-quality and automatically realize the output of response results for scientific research data analysis query questions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to the processing of information interactions, and in particular, to methods, computing devices, and computer storage media for generating scientific research data analysis response information. Background Art

[0002] In the traditional method of providing scientific research data analysis response information, after obtaining the query questions input by the user in the field of scientific research data analysis (for example, medical scientific research data analysis), it is necessary to process them in multiple links, each link requires specific information processing tools, and the relevant operators are also required to have rich experience in processing each link. Because the original query questions input by the user in scientific research data analysis may have diverse expressions and non-standard expressions, it is difficult to accurately understand the true intention of the user's query questions, and thus the provided response information is not accurate and standardized. In addition, since it takes multiple links to process from understanding the intention of the user's query questions to the final output of the results for the query questions, and it is highly dependent on the professional knowledge and personal experience of the relevant operators, it is difficult to output the response information efficiently, with high quality, and automatically.

[0003] In summary, the shortcomings of the traditional method of providing scientific research data analysis response information are that it is difficult to output the response results for scientific research data analysis query questions efficiently, with high quality and automatically. Summary of the invention

[0004] The present invention provides a method, a computing device and a computer storage medium for generating scientific research data analysis response information, which can efficiently, high-quality and automatically output response results for scientific research data analysis query questions.

[0005] According to a first aspect of the present invention, a method for generating scientific research data analysis response information is provided. The method includes: constructing a reference data set based on a historical data set and / or a data set associated with a user, the reference data set including a plurality of project identifiers associated with clinical information and / or gene variation information and description information corresponding to the project identifiers; generating an adjusted query statement for a query record input by a user; matching the reference data set with the generated query statement to determine a candidate project identifier of the reference data set that matches the query statement; matching the generated adjusted query statement to a target response information output type to generate conditional keywords and question keywords based on the target response information output type and the candidate project identifiers; and generating response information about the query record based on the target requirement type, the conditional keywords and the question keywords.

[0006] According to a second aspect of the present invention, a computing device is also provided, comprising: a memory configured to store one or more computer programs; and a processor coupled to the memory and configured to execute the one or more programs so that the device performs the method of the first aspect of the present invention.

[0007] According to a third aspect of the present invention, a non-transitory computer-readable storage medium is further provided, wherein machine-executable instructions are stored on the non-transitory computer-readable storage medium, and when the machine-executable instructions are executed, the machine executes the method of the first aspect of the present invention.

[0008] In some embodiments, generating the adjusted query statement includes: acquiring a user's current query record and associated user's historical query records; and generating the adjusted query statement for the user's current query record and associated user's historical query records.

[0009] In some embodiments, generating an adjusted query statement includes: splicing the user's current query record and the associated user's historical query record into a query statement field, so that the query statement field includes multiple subfields separated by predetermined characters; then, for the multiple subfields, based on a prompt template, semantic merging and completion are performed to generate an adjusted query statement, and the parameters of the prompt template include: role, user and content.

[0010] In some embodiments, the method for generating scientific research data analysis response information also includes: presenting the generated adjusted query statement to the user; and presenting the generated response information about the query record to the user.

[0011] In some embodiments, determining candidate item identifiers of a reference data set that matches a query statement includes: vectorizing the item identifiers of the reference data set and the generated query statement for semantic matching; and obtaining candidate item identifiers of the reference data set that matches the query statement based on the result of the semantic matching.

[0012] In some embodiments, generating response information about an inquiry record includes: searching a reference data set based on conditional keywords; generating input parameters based on search results that match the conditional keywords; determining a matching predetermined program module based on a target response information output type and question keywords; and inputting the generated input parameters into the determined matching predetermined program module to generate response information about the inquiry record.

[0013] In some embodiments, the target response information output type is at least one of the following: a text output type, a table output type, and a graphic output type.

[0014] In some embodiments, clinical information includes: clinical information includes: cancer type information, target object attribute information, staging information, sampling site information, tumor mutation load status information, microsatellite instability status information, metastasis status information, treatment method type, and efficacy status information; gene mutation information includes: mutated genes, gene mutation forms, and annotation information on the occurrence of mutations.

[0015] In some embodiments, generating conditional keywords and question keywords includes: based on the LLM model, matching the generated adjusted query statement to the target response information output type, so as to generate conditional keywords and question keywords based on the target response information output type and the candidate item identifier.

[0016] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the invention, nor is it intended to limit the scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a system for generating scientific research data analysis response information according to an embodiment of the present invention is shown.

[0018] Figure 2 A flow chart of a method for generating scientific research data analysis response information according to an embodiment of the present invention is shown.

[0019] Figure 3 A flow chart of a method for generating response information about an inquiry record according to an embodiment of the present invention is shown.

[0020] Figure 4 Shown is a survival curve generated according to an embodiment of the present invention.

[0021] Figure 5 The block diagram of an electronic device suitable for implementing the embodiments of the present invention is schematically shown.

[0022] In the various drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0023] The preferred embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the preferred embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.

[0024] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or the same objects.

[0025] As described above, the traditional method of providing scientific research data analysis response information has the disadvantage that it is difficult to output the response results for scientific research data analysis query questions efficiently, with high quality and automatically.

[0026] In order to at least partially solve one or more of the above problems and other potential problems, an exemplary embodiment of the present invention proposes a method for generating scientific research data analysis response information. In this scheme, a reference data set is constructed based on a historical data set and / or a data set associated with a user; and an adjusted query statement is generated for the query record input by the user; and the reference data set and the generated query statement are matched to determine the candidate item identification of the matched reference data set; the present invention can make the adjusted query statement more accurately reflect the true intention of the user's query question without being limited by the non-standard original query record, and the determination of the candidate item identification comprehensively considers the matching of the adjusted query statement and the reference data set, so that the determined candidate item identification is more accurate. In addition, the present invention matches the generated adjusted query statement to the target response information output type, so as to generate conditional keywords and question keywords based on the target response information output type and the candidate item identification; and based on the target demand type, conditional keywords and question keywords, generate response information about the query record; the present invention can efficiently and automatically obtain the query result output without being limited by the personal experience of the relevant operator. Therefore, the present invention can efficiently, high-quality and automatically output the response results for scientific research data analysis query questions.

[0027] Figure 1 FIG. 1 is a schematic diagram of a system 100 for generating scientific research data analysis response information according to an embodiment of the present invention. Figure 1 As shown, the system 100 includes: a computing device 110, a network 140, a server 130, and a user terminal 150. In some embodiments, the computing device 110, the server 130, and the user terminal 150 perform data exchange via the network 140.

[0028] Regarding the server 130, it is used, for example, to provide a historical data set. The historical data set is, for example, but not limited to, a medical data set for scientific research purposes. The data of the historical data set includes, for example, information from databases such as NCBI, UCSC (Genome Browser), and clinical information of some target objects (such as patients). The server 130 can, for example, provide the historical data set to the computing device 110.

[0029] Regarding the user terminal 150, it is used to upload the user's clinical information and gene mutation information. The user terminal 150 is also used to obtain the user's current query record and the user's historical query record. The user's current query record and the user's historical query record can be text query records directly input by the user, or can be query records generated based on the user's voice input.

[0030] Regarding the computing device 110, it is used, for example, to generate response information about the query record input by the user. Specifically, the computing device 110 constructs a reference data set based on a historical data set and / or a data set associated with the user; generates an adjusted query statement for the query record input by the user; and determines the candidate item identifier of the reference data set that matches the query statement. The computing device 110 is also used to match the generated adjusted query statement to the target response information output type so as to generate conditional keywords and question keywords; and generate response information about the query record based on the target requirement type, conditional keywords and question keywords.

[0031] In some embodiments, the computing device 110 may have one or more processing units, including dedicated processing units such as GPU, FPGA and ASIC, and general processing units such as CPU. In addition, one or more virtual machines may also be running on each computing device. The computing device 110 includes, for example, a reference data set construction unit 112, an adjusted query statement generation unit 114, a candidate item identification determination unit 116, a conditional keyword and question keyword generation unit 118, and a response information generation unit 120. The reference data set construction unit 112, the adjusted query statement generation unit 114, the candidate item identification determination unit 116, the conditional keyword and question keyword generation unit 118, and the response information generation unit 120 may be configured on one or more computing devices 110.

[0032] Regarding the reference data set construction unit 112, it is used to construct a reference data set based on a historical data set and / or a data set associated with a user, wherein the reference data set includes multiple project identifiers associated with clinical information and / or gene variation information and descriptive information corresponding to the project identifiers.

[0033] The adjusted query statement generating unit 114 is used to generate an adjusted query statement according to the query record input by the user.

[0034] The candidate item identifier determining unit 116 is used to match the reference data set with the generated query statement, so as to determine the candidate item identifier of the reference data set that matches the query statement.

[0035] The conditional keyword and question keyword generating unit 118 is used to match the generated adjusted query sentence to the target response information output type, so as to generate conditional keywords and question keywords based on the target response information output type and the candidate item identifier.

[0036] The response information generating unit 120 is used to generate a response letter regarding the inquiry record based on the target requirement type, condition keywords and question keywords.

[0037] The following will be combined Figure 2 A method for generating scientific research data analysis response information according to an embodiment of the present invention is described. Figure 2 FIG. 2 is a flowchart of a method 200 for generating scientific research data analysis response information according to an embodiment of the present invention. It should be understood that the method 200 can be, for example, Figure 5 The electronic device 500 described above is executed. Figure 1 The method 200 is executed at the described computing device 110. It should be understood that the method 200 may also include additional actions not shown and / or may omit the actions shown, and the scope of the present invention is not limited in this respect.

[0038] At step 202 , the computing device 110 constructs a reference data set based on a historical data set and / or a data set associated with a user, wherein the reference data set includes a plurality of project identifiers associated with clinical information and / or gene variation information and description information corresponding to the project identifiers.

[0039] Regarding the historical data set, it is, for example, but not limited to, a medical field data set. For example, it is a data set including a data set for scientific research project analysis and a data set of clinical information of multiple target objects. Regarding the target object, it is, for example, but not limited to, a patient. An associated object is, for example, a doctor associated with the target object, such as a doctor who sent the patient for examination.

[0040] Regarding the data set associated with the user, it is, for example, but not limited to, a data set uploaded by the user. The data set uploaded by the user includes, for example, clinical information and / or gene mutation information. The clinical information includes: the clinical information includes: cancer type information, target object attribute information, staging information, sampling site information, TMB status information, microsatellite instability status information, metastasis status information, treatment method type, and multiple items of efficacy status information. The gene mutation information includes: mutated genes, gene mutation forms, and annotation information of mutation occurrence.

[0041] Regarding the reference data set, it includes multiple project identifiers associated with clinical information and / or gene variation information and description information corresponding to the project identifiers. In some embodiments, the project identifiers and corresponding description information included in the reference data set include text information and image information. For example, the following Table 1 exemplifies the project identifiers and corresponding description information of the text class.

[0042] Table 1

[0043]

[0044]

[0045] For the project identifiers of the text class and the corresponding description information. For the project identifier of tumor type, the corresponding description information includes non-small cell lung cancer (NSCLC), small cell lung cancer, hepatocellular carcinoma, gastric adenocarcinoma, etc. For the project identifier of stage, the corresponding description information includes, for example: primary lesion, metastatic lesion. For the project identifier of tumor mutational burden (TMB), the corresponding description information includes TMB low (ie, TMB Low), TMB high (ie, TMB High). For the project identifier of microsatellite instability (MSI) status (ie, MSI status), the corresponding description information includes: microsatellite stable (ie, MSS), MSI High. For the project identifier of programmed cell death-Ligand 1 (PD-L1), the corresponding description information includes: positive (positive), negative (negative). For the project identifier of report gene variation, the corresponding description information includes: one or more variation components. Each variation component includes, for example, gene name, cdot, pdot. Different variant components are separated by predetermined characters, such as but not limited to the symbol “;”.

[0046] The following is an exemplary description of the project identifiers and corresponding description information of the image category in conjunction with Table 2.

[0047] Table 2

[0048]

[0049] At step 204 , the computing device 110 generates an adjusted query statement for the query record input by the user.

[0050] Regarding the method for generating an adjusted query statement, it includes, for example: the computing device 110 obtains the user's current query record and the associated user's historical query record; and generates an adjusted query statement for the user's current query record and the associated user's historical query record.

[0051] Specifically, for example, the computing device 110 splices the user's current query record and the associated user's historical query record into a query statement field, so that the query statement field includes multiple subfields separated by predetermined characters; then, for the multiple subfields, based on the prompt template, semantic merging and completion are performed to generate an adjusted query statement, and the parameters of the prompt template include: role, user and content.

[0052] Regarding the associated user historical query record, it is, for example, a predetermined number of query records before the user's current query record. In some embodiments, the predetermined number of times is, for example, 3 times. For example, the user's current query record is: lung cancer patients, EGFR incidence. The first query record before the current query record is: NSCLC, non-small cell lung cancer. The second query record is: L858R. The third query record is: Asian population incidence. The computing device 110 splices the user's current query record and the previous three user historical query records into a query statement field, for example, 'Lung cancer patients, EGFR incidence #NSCLC non-small cell lung cancer #L858R #Asian population incidence'. Among them, the field in the single quotes '' is the original record of multiple query records, and each record is separated by, for example, a predetermined character "#" (it should be understood that the predetermined character "#" can be other characters such as "*", and the predetermined character is used to distinguish multiple different query records). Then, the computing device 110 performs semantic merging and completion based on the prompt templates for multiple query records separated by a predetermined character "#" to generate an adjusted query statement for output. For example, the adjusted query statement is "What is the incidence of EGFR L858R mutation in patients with non-small cell lung cancer in the Asian population?". Among them, the prompt template PromptTemplate includes a template string and a list variable (e.g., inputVariable) of the corresponding input parameter. For example, the computing device 110 generates corresponding different prompts according to the value of the list variable of the input parameter input by the user as the adjusted query statement for output. For example, the list variable of the input parameter included in the prompt template includes, for example: role (i.e., "role"), user (i.e., "user"), content (i.e., "content"). The following shows the relevant code for the list variable of the input parameter included in the prompt template.

[0053] const promptA=new PromptTemplate({template,inputVariables:["product"],["user"],["content"]}).

[0054] At step 206 , the computing device 110 matches the reference dataset with the generated query statement to determine candidate item identifiers of the reference dataset that match the query statement.

[0055] A method for determining candidate item identifiers of a reference data set that matches a query statement, comprising: vectorizing the item identifiers of the reference data set and the generated query statement for semantic matching; and obtaining candidate item identifiers of the reference data set that matches the query statement based on the result of the semantic matching. For example, via langChain, the column names of the reference data set and the generated query statement are vectorized. It should be understood that LangChain is a Python framework for building end-to-end language model applications based on a large language model (the large language model is, for example, but not limited to, a deep learning model based on the Transformer architecture). For example, using Langchain's default text segmenter RecursiveCharacterTextSplitter, special symbols are used as markers for segmenting text, and the item identifiers of the reference data set and the generated query statement are vectorized for semantic matching; and based on the result of the semantic matching, the candidate item identifiers of the reference data set that matches the query statement are obtained. In some embodiments, the candidate item identifiers may be one or more identifiers of the reference data set.

[0056] At step 208 , the computing device 110 matches the generated adjusted query statement to the target answer information output type, so as to generate conditional keywords and question keywords based on the target answer information output type and the candidate item identifiers.

[0057] Regarding conditional keywords and question keywords, they indicate the specific requirement details of the user's inquiry question. Regarding the method for generating conditional keywords and question keywords, it includes, for example: based on the LLM model, matching the generated adjusted inquiry statement to the target response information output type, so as to generate conditional keywords and question keywords based on the target response information output type and the candidate item identifier. Regarding the LLM model, it is, for example: a deep learning model based on the Transformer architecture, a generalized linear model (Generalized Linear Model, GLM) model, or a moss model. Regarding the target response information output type, it is, for example: one of a text output type, a table output type, and a graphic output type.

[0058] Different target response information output types have different corresponding project identifiers and description information corresponding to the project identifiers. The following Table 3 exemplarily shows project identifiers corresponding to text output types and description information corresponding to the project identifiers.

[0059] Table 3

[0060] For example, based on the adjusted query statement obtained at step 204, "What is the incidence of EGFR L858R mutation in patients with non-small cell lung cancer in the Asian population?" and the determined target response information output type of "text output type", the computing device 110 obtains the conditional keywords: "Tumor type: NSCLC; Report gene variation: EGFR, L858R", and the conditional key question keywords: "Question to be answered: frequency of occurrence".

[0061] Table 4 below exemplarily shows the project identifier corresponding to the graphic output type and the description information corresponding to the project identifier.

[0062] Table 4

[0063]

[0064] For example, the adjusted query statement obtained at step 204 is the target response information output type "Please help me draw the survival curves of NSCLC treatment method 1 and treatment method 2 based on the patients I sent for examination. My name is Wang Wu", and the conditional keywords obtained by the computing device 110 are: "Doctor submitting the examination: Wang Wu (or automatically matching the identity according to the account number) Tumor type: NSCLC; Treatment method: Method 1, Method 2"; the question keywords are: "Questions that need to be answered: survival curve (survival plot)".

[0065] At step 210 , the computing device 110 generates response information regarding the inquiry record based on the target requirement type, condition keywords, and question keywords.

[0066] The response information of the inquiry record may be in the form of text, table, or image. Figure 4 Survival curves are schematically shown for the image types used as response information.

[0067] Regarding the method for generating response information about the inquiry record, it includes, for example: the computing device 110 searches the reference data set based on the conditional keywords; generates input parameters based on the search results matching the conditional keywords; determines the matching predetermined program module based on the target response information output type and the question keywords; and inputs the generated input parameters into the determined matching predetermined program module to generate the response information about the inquiry record. Regarding the method for generating response information about the inquiry record, the following will be combined with Figure 3 This has been explained and I will not go into details here.

[0068] In the above scheme, the present invention can make the adjusted query statement more accurately reflect the true intention of the user's query question without being limited by the non-standard original query record, and the determination of the candidate project identification comprehensively considers the matching of the adjusted query statement and the reference data set, thereby making the determined candidate project identification more accurate. In addition, the present invention matches the generated adjusted query statement to the target response information output type, so as to generate conditional keywords and question keywords based on the target response information output type and the candidate project identification; and generates response information about the query record based on the target requirement type, conditional keywords and question keywords; the present invention can efficiently and automatically obtain the query result output without being limited by the personal experience of the relevant operators. Therefore, the present invention can efficiently, high-quality and automatically realize the output of response results for scientific research data analysis query questions.

[0069] The following will be combined Figure 3 A method for generating response information regarding an inquiry record according to an embodiment of the present invention is described. Figure 3 FIG. 3 is a flowchart of a method 300 for generating response information about an inquiry record according to an embodiment of the present invention. It should be understood that the method 300 may be implemented in Figure 5 The electronic device 500 described above is executed. Figure 1 The method 300 is executed at the described computing device 110. It should be understood that the method 300 may also include additional actions not shown and / or may omit the actions shown, and the scope of the present invention is not limited in this respect.

[0070] At step 302 , the computing device 110 searches a reference data set based on conditional keywords.

[0071] For example, the target response information output type is: text output type. The conditional keywords obtained through step 208 are: "Tumor type: NSCLC; Report gene mutation: EGFR, L858R"; the question keywords are: "Questions to be answered: Occurrence frequency". The computing device 110 directly searches the reference data set (for example, a reference data table) based on the conditional keywords "Tumor type: NSCLC; Report gene mutation: EGFR, L858R" to obtain search results matching the conditional keywords, for example, the count of patients with tumor type NSCLC and the count of patients with tumor type NSCLC and Report gene mutation EGFR, L858R.

[0072] For another example, the target response information output type is: graphic output type. The conditional keywords obtained through step 208 are: conditional keywords are: "Doctor submitting the examination: Wang Wu; tumor type: NSCLC; treatment method: method 1, method 2"; question keywords are: "Question to be answered: survival curve (survival plot)". Then the computing device 110 directly searches the reference data set based on the conditional keywords "Doctor submitting the examination: Wang Wu; tumor type: NSCLC; treatment method: method 1, method 2", and obtains the search results matching the conditional keywords, for example, obtaining patient information that meets the conditions (tumor type is NSCLC, treatment method is method 1, method 2).

[0073] At step 304 , the computing device 110 generates input parameters based on the search results that match the conditional keyword.

[0074] For example, the computing device generates input parameters based on the search results matching the conditional keywords "Tumor Type: NSCLC; Report Gene Variation: EGFR, L858R": patient counts of NSCLC, and patient counts of NSCLC&EGFR, L858R.

[0075] For another example, the computing device extracts the values ​​of three columns, namely, the patient's efficacy status, PFS (month), and the patient's survival status, based on the retrieval results that match the conditional keywords "Doctor submitting the sample: Wang Wu; Tumor type: NSCLC; Treatment methods: Method 1, Method 2", that is, patient information that meets the conditions, to generate input parameters.

[0076] At step 306 , the computing device 110 determines a matching predetermined program module based on the target response information output type and the question keywords.

[0077] For example, the computing device 110 determines that the matching predetermined program module is a predetermined program module for calculating the "occurrence frequency" based on the target response information output type of "text output type" and the question keyword of "occurrence frequency".

[0078] For another example, the computing device determines that the matching predetermined program module is an R code for generating a survival curve based on the target response information output type of "graphic output type" and the question keyword "survival plot".

[0079] At step 308 , the computing device 110 inputs the generated input parameters into the determined matching predetermined program module to generate response information regarding the query record.

[0080] For example, the computing device uses the patient count of NSCLC&EGFR, L858R as the numerator and the patient count of NSCLC as the denominator, and inputs them into a predetermined program module for calculating the "occurrence frequency" to calculate the ratio of the numerator to the denominator, thereby obtaining the response information that the "occurrence frequency" is 20.3%.

[0081] For another example, the computing device 110 stores the determined input parameters, such as the patient's efficacy status, PFS (month), and the patient's survival status, in the data frame data matrix of lung, so as to input the R code for generating the survival curve survival, so as to generate the response information about the inquiry record, for example, to generate Figure 4 Survival curves are shown.

[0082] The following schematically shows a schematic program code of the R code for generating the survival curve survival.

[0083]

[0084]

[0085] It should be understood that both the predetermined program module for calculating the "occurrence frequency" for the text output type and the R code for generating the survival curve survival for the graphic output type are exemplary. It should be understood that the predetermined program module can also be a pre-compiled program module of other functions, for example, a predetermined code for generating a table based on the column name and the value corresponding to the column name, and a code for generating other images, etc.

[0086] By adopting the above-mentioned means, the present invention can automatically generate response information about scientific research data analysis inquiry questions.

[0087] Figure 5 The block diagram of an electronic device 500 suitable for implementing an embodiment of the present invention is schematically shown. The electronic device 500 may be a device for implementing Figures 2 to 3 The method 200 to 300 shown. Figure 5 As shown, the electronic device 500 includes a central processing unit (i.e., CPU 501), which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (i.e., ROM 502) or loaded from a storage unit 508 to a random access memory (i.e., RAM 503). In RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. CPU 501, ROM 502 and RAM 503 are connected to each other via a bus 504. An input / output interface (i.e., I / O interface 505) is also connected to the bus 504.

[0088] Multiple components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, an output unit 507, and a storage unit 508. The CPU 501 performs the various methods and processes described above, such as performing methods 200 to 500. For example, in some embodiments, methods 200 to 500 may be implemented as a computer software program, which is stored in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the CPU 501, one or more operations of the methods 200 to 500 described above may be performed. Alternatively, in other embodiments, the CPU 501 may be configured to perform one or more actions of the methods 200 to 500 by any other appropriate means (e.g., by means of firmware).

[0089] It should be further noted that the present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.

[0090] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination thereof. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0091] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0092] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0093] Here, various aspects of the present invention are described with reference to the flow chart and / or block diagram of the method, device (system), and computer program product according to an embodiment of the present invention. It should be understood that each square frame of the flow chart and / or block diagram and the combination of each square frame in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0094] These computer-readable program instructions can be provided to a processor in a voice interaction device, a general-purpose computer, a special-purpose computer, or a processing unit of other programmable data processing devices, thereby producing a machine, so that when these instructions are executed by a processing unit of a computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions enable the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0095] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0096] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the equipment, method and computer program product according to multiple embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of this module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0097] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

[0098] The above are only optional embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for generating scientific research data analysis response information, characterized in that: include: Constructing a reference data set based on the historical data set and / or the data set associated with the user, wherein the reference data set includes a plurality of project identifiers associated with the clinical information and / or the gene variation information and description information corresponding to the project identifiers; Generate an adjusted query statement for the query record input by the user; Matching the reference data set with the generated query statement to determine candidate item identifiers of the reference data set that match the query statement; Matching the generated adjusted query statement to the target response information output type, so as to generate conditional keywords and question keywords based on the target response information output type and the candidate item identifier; as well as Based on the target response information output type, conditional keywords and question keywords, response information about the inquiry record is generated, wherein generating the response information about the inquiry record includes searching a reference data set based on the conditional keywords, generating input parameters based on the search results matching the conditional keywords, determining a matching predetermined program module based on the target response information output type and the question keywords, and inputting the generated input parameters into the determined matching predetermined program module to generate the response information about the inquiry record.

2. The method according to claim 1, characterized in that The generated adjusted query statement includes: Obtain the user's current query record and associated user historical query records; and Generate an adjusted query statement based on the user's current query record and the associated user's historical query records.

3. The method according to claim 2, characterized in that The generated adjusted query statement includes: splicing the user's current query record and the associated user's historical query record into a query statement field, so that the query statement field includes a plurality of subfields separated by predetermined characters; Then, semantic merging and completion are performed on the multiple sub-fields based on a prompt template to generate an adjusted query statement, wherein the parameters of the prompt template include: role, user, and content.

4. The method according to claim 1, characterized in that: Also includes: Presenting the generated adjusted query statement to the user; as well as The generated response information about the inquiry record is presented to the user.

5. The method according to claim 1, characterized in that The candidate item identifiers of the reference data set that match the query statement include: Decomposing the item identifiers of the reference data set and the generated query statements into vectors for semantic matching; and Based on the result of the semantic matching, the candidate item identifiers of the reference data set matching the query statement are obtained.

6. The method according to claim 1, characterized in that The target response information output type is at least one of the following: a text output type, a table output type, and a graphic output type.

7. The method according to claim 1, characterized in that Clinical information includes: cancer type information, target object attribute information, staging information, sampling site information, tumor mutation load status information, microsatellite instability status information, metastasis status information, treatment method type, and efficacy status information. Gene mutation information includes: mutated genes, gene mutation forms, and annotation information on the occurrence of mutations.

8. The method according to claim 1, characterized in that Generate conditional keywords and question keywords including: Based on the LLM model, the generated adjusted query statement is matched to the target response information output type, so as to generate conditional keywords and question keywords based on the target response information output type and the candidate item identifier.

9. A computing device, characterized in that include: at least one processing unit; At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the device to perform the steps of the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: A computer program is stored on a computer-readable storage medium, and when the computer program is executed by a machine, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Automatic question-answering system and method

    CN104598445A

  • A data interaction method and system based on intelligent speech recognition

    CN109710733A

  • Intelligent customer service response method, equipment, storage medium and device

    CN109947909A

  • Automatic dialogue reply method and device, storage medium and computer equipment

    CN111324713A

  • User report generation method and terminal equipment

    CN111694940A