Interaction method and device, computer equipment, storage medium and program product
By identifying project association problems and obtaining the Gantt chart of the target project, combined with the subjective question-and-answer model, the problem of poor timeliness of data islands and information during project management interaction is solved, and efficient and accurate interaction effects are achieved.
Patent Information
- Application Number
- CN202411717399.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-02-25
AI Technical Summary
During the interaction process of project management, there are problems such as data silos, poor timeliness of project information and varying degree of visualization.
By obtaining the target problem and identifying the target problem as a project-related problem, determining the target project targeted by the target problem and the target project Gantt chart of the target project targeted by the target problem provides sufficient data support for accurate responses. Further, based on the subjective question-and-answer model, the response information corresponding to the target question is determined based on the target question and the Gantt chart of the target project.
Accurate reply information is realized, the problem of data silos and poor timeliness is solved, and the degree of visualization and accuracy of interaction is improved.
Smart Images

Figure CN119513270A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an interaction method, apparatus, computer equipment, storage medium and program product. Background Art
[0002] Project management is usually the primary control target during the construction period of a project. Currently, construction management has gradually adopted BIM (Building Information Modeling) information technology.
[0003] However, in the current interactive process of project management, there are still problems such as data silos, poor timeliness of project information and low degree of visualization. Summary of the invention
[0004] Based on this, it is necessary to provide an interactive method, device, computer equipment, storage medium computer program product to achieve good interactive effects in response to the above technical problems.
[0005] In a first aspect, the present application provides an interaction method, the method comprising:
[0006] Get the target question;
[0007] In the case where the target problem is identified as a project-related problem, determining the target project targeted by the target problem and the target project Gantt chart of the target project;
[0008] Based on the subjective question-answering model, the answer information corresponding to the target question is determined according to the target question and the target project Gantt chart.
[0009] In one embodiment, identifying the target problem as a project-related problem includes:
[0010] Perform word segmentation on the target question; input the word segmentation result into the random forest classifier to obtain the question type of the target question; when the question type is a subjective question, determine the target question to be a project-related question; when the question type is an objective question, determine the target question to be a non-project-related question.
[0011] In one embodiment, it includes:
[0012] When it is identified that the target question is a non-project related question, the target question is input into the objective question answering model to obtain the answer information corresponding to the target question.
[0013] In one embodiment, determining a target project targeted by a target problem and a target project Gantt chart of the target project includes:
[0014] The project corresponding to the project Gantt chart displayed on the current interface is taken as the target project; according to the target problem, the target project Gantt chart is selected from the project Gantt charts of the target project at different times stored in the database.
[0015] In one embodiment, it includes:
[0016] If the work summary of the project members of any project is obtained, the latest project Gantt chart of the project is obtained; the work summary is used to update the latest project Gantt chart.
[0017] In one embodiment, it includes:
[0018] When it is necessary to output a target work report for any project, obtain a project Gantt chart at the first time and a project Gantt chart at the second time according to the type of the target work report; input the project Gantt chart at the first time and the project Gantt chart at the second time into a work report generation model to obtain the target work report.
[0019] In a second aspect, the present application further provides an interactive device, the device comprising:
[0020] An acquisition module is used to obtain the target problem;
[0021] A determination module, for determining a target project targeted by the target problem and a target project Gantt chart of the target project when the target problem is identified as a project-related problem;
[0022] The information determination module is used to determine the answer information corresponding to the target question based on the subjective question-answering model, according to the target question and the target project Gantt chart.
[0023] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0024] Get the target question;
[0025] In the case where the target problem is identified as a project-related problem, determining the target project targeted by the target problem and the target project Gantt chart of the target project;
[0026] Based on the subjective question-answering model, the answer information corresponding to the target question is determined according to the target question and the target project Gantt chart.
[0027] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0028] Get the target question;
[0029] In the case where the target problem is identified as a project-related problem, determining the target project targeted by the target problem and the target project Gantt chart of the target project;
[0030] Based on the subjective question-answering model, the answer information corresponding to the target question is determined according to the target question and the target project Gantt chart.
[0031] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0032] Get the target question;
[0033] In the case where the target problem is identified as a project-related problem, determining the target project targeted by the target problem and the target project Gantt chart of the target project;
[0034] Based on the subjective question-answering model, the answer information corresponding to the target question is determined according to the target question and the target project Gantt chart.
[0035] The above-mentioned interactive method, device, computer equipment, storage medium and program product obtain the target question and, when the target question is identified as a project-related question, determine the target project targeted by the target question and the target project Gantt chart of the target project, thereby providing sufficient data support for accurate responses; further, based on the subjective question-answering model, the response information corresponding to the target question can be determined according to the target question and the target project Gantt chart, thereby providing ideas for obtaining objective and accurate response information. This solution accurately divides the target question by introducing project-related questions, thereby providing a prerequisite for making accurate responses; furthermore, by using the Gantt chart as a carrier for recording project information, it provides a way to quickly extract key project information; and by introducing the subjective question-answering model, it provides a tool for obtaining accurate response information, and finally achieves a good interactive effect by ensuring the accuracy of the response information. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] FIG1 is an application environment diagram of an interaction method provided in an embodiment of the present application;
[0038] FIG2 is a schematic diagram of an interactive process provided in an embodiment of the present application;
[0039] FIG3 is a schematic diagram of another interaction process provided in an embodiment of the present application;
[0040] FIG4 is a schematic diagram of a process for identifying project association problems provided in an embodiment of the present application;
[0041] FIG5 is a schematic diagram of a process for determining a target project provided in an embodiment of the present application;
[0042] FIG6 is a schematic diagram of an interactive interface provided in an embodiment of the present application;
[0043] FIG7 is a flow chart of another interactive method provided in an embodiment of the present application;
[0044] FIG8 is a structural block diagram of an interactive device provided in an embodiment of the present application;
[0045] FIG9 is a structural block diagram of an interactive device provided in an embodiment of the present application; FIG. 10 is an internal structure diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] 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.
[0047] The interactive method provided in the embodiment of the present application can be applied in the application environment shown in FIG. 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system (such as a database) can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The server 104 can obtain the target problem through the terminal 102; then, the target problem can be judged, and when it is judged that the target problem is a project-related problem, the target project targeted by the target problem and the target project Gantt chart of the target project can be further determined; then, the target problem and the target project Gantt chart can be input into the subjective question-answering model, and the answer information corresponding to the target problem is finally determined, and the answer information can be displayed through the terminal 102. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0048] In an exemplary embodiment, as shown in FIG. 2 , an interaction method is provided, which is described by taking the method applied to the server 104 in FIG. 1 as an example, and may include the following steps:
[0049] S201, obtaining the target question.
[0050] The target question can be any question raised by the user.
[0051] Optionally, the project types of the target questions may include project-related questions and non-project-related questions; wherein, project-related questions may represent subjective questions related to the project (such as the progress of project A), and non-project-related questions may represent objective questions unrelated to the project (such as what day of the week it is today).
[0052] Exemplarily, the user may raise a target question through the terminal 102; further, the terminal 102 may send the target question raised by the user to the server 104 through the communication unit; further, the server 104 may obtain the target question raised by the user through the terminal 102; for example, the terminal 102 may provide the user with an interactive chat interface (such as a question-and-answer window), and collect the user's target questions through the interactive chat interface, and may respond to the user through the interactive chat interface.
[0053] S202 , when it is identified that the target problem is a project-related problem, determining a target project targeted by the target problem and a target project Gantt chart of the target project.
[0054] Among them, the target project refers to the project involved in the target question raised by the user; the target project Gantt chart can display information related to the target project, such as the target project progress and target project time schedule; it should be noted that the Gantt chart can display the target project progress, time schedule and dependencies between tasks.
[0055] Optionally, in the process of identifying the target question, keywords of the target question can be extracted through natural language processing, and the extracted keywords can be classified and judged to determine the subjectivity and objectivity of the extracted keywords, as well as whether they are timely (such as what day of the week it is today, the question is an objective question and has timeliness). Finally, based on the results of the classification judgment, it is determined whether the target question is a project-related question or a non-project-related question.
[0056] Exemplarily, when the target question is a project-related question, the target project targeted by the target question is determined from the target question or the interaction process with the user; further, the target project Gantt chart corresponding to the target project can be obtained from the data storage system on the server 104.
[0057] It should be noted that, when the target question is identified as a non-project related question, the target question is input into the objective question answering model to obtain the answer information corresponding to the target question. Among them, the objective question answering model can determine the corresponding answer (i.e., answer information) from the objective question answering library based on the keywords corresponding to the target question for non-project related questions.
[0058] Optionally, the objective question-answering model may be updated regularly to make the time-sensitive keywords in the objective question-answering model more comprehensive, and ultimately make the response information more accurate.
[0059] For example, when the target question is a non-project related question, the objective question-answering model directly analyzes the target question and ultimately determines the answer information corresponding to the target question.
[0060] S203, based on the subjective question-answering model, according to the target question and the target project Gantt chart, determine the answer information corresponding to the target question.
[0061] Among them, the subjective question-answering model can analyze and predict projects for project-related issues based on the keywords corresponding to the target questions and the Gantt chart of the target project, and finally obtain the answer information corresponding to the target questions; the answer information can be divided into subjective answer information and objective answer information.
[0062] It should be noted that, as shown in Figure 3, the subjective question-and-answer model can be regularly updated based on sample data in the large model sample library (such as daily samples and weekly samples, etc.) and real-time shared Gantt charts (which can come from daily summary reports and weekly summary reports of project team members). It can also regularly send daily warning feedback and weekly warning feedback to users (such as project managers-supervisors) to remind users in a timely manner.
[0063] Optionally, the MOE (Mixture of Experts) big model can include a work report generation model and a subjective question-and-answer model, etc.; the sample data in the big model sample library can be updated synchronously with external samples (such as samples collected by various departments).
[0064] Exemplarily, the subjective question-answering model can filter out the information required for the target question from the target project Gantt chart based on the target question and the keywords corresponding to the target question, and organize the filtered confidence to determine the answer information corresponding to the target question.
[0065] The above-mentioned interactive method obtains the target question and, when the target question is identified as a project-related question, determines the target project targeted by the target question and the target project Gantt chart of the target project, providing sufficient data support for accurate responses; further, based on the subjective question-answering model, the response information corresponding to the target question can be determined according to the target question and the target project Gantt chart, providing ideas for obtaining objective and accurate response information. This solution introduces project-related questions to accurately divide the target questions, thereby providing a prerequisite for making accurate responses; furthermore, by using the Gantt chart as a carrier for recording project information, it provides a way to quickly extract key project information; and by introducing the subjective question-answering model, it provides a tool for obtaining accurate response information, and finally achieves a good interactive effect by ensuring the accuracy of the response information.
[0066] Based on the above embodiment, the present application embodiment explains the above embodiment S202 in detail. Specifically, the present application embodiment involves a process of identifying that the target problem is a project association problem, as shown in FIG4 , and specifically includes the following steps:
[0067] S401, performing word segmentation processing on the target question.
[0068] The word segmentation process refers to dividing a continuous natural language text into a semantically reasonable and complete word sequence. Optionally, it can be a dictionary-based word segmentation, a statistics-based word segmentation, or a comprehension-based word segmentation.
[0069] For example, a word segmenter (based on the word segmentation technology in natural language processing) can be used to perform natural language processing on the target question to extract keywords. Optionally, the word segmentation processing can be implemented by using the ElasticSearch tool.
[0070] S402, input the word segmentation processing result into the random forest classifier to obtain the question type of the target question.
[0071] Among them, the random forest classifier is an integrated learning method based on the decision tree. It combines multiple weak classifiers (i.e., decision tree, random forest-i) and obtains the final result (i.e., question type) by voting or taking the average. The question type can include subjective questions and objective questions.
[0072] Exemplarily, as shown in FIG5 , in a random forest classifier, the word segmentation processing result can be converted into (i.e., a format that can be understood by the random forest classifier, such as numerical data). Furthermore, the data can be analyzed and classified by multiple weak classifiers in the random forest classifier; and then, based on the prediction results of multiple weak classifiers, the problem type of the target problem can be finally obtained.
[0073] It should be noted that the random forest classifier is trained based on training samples; wherein the training samples may include feature vectors and corresponding labels (ie, question types).
[0074] S403: When the question type is a subjective question, determine that the target question is a project-related question.
[0075] It should be noted that the mapping relationship between the question type and the project type can be preset and saved in a mapping relationship table; further, after determining the question type of the target question, the project type of the target question can be determined by querying the mapping relationship table.
[0076] For example, subjective questions and project-related questions are mapped to each other. After determining that the target question is a subjective question, the target question can be directly determined to be a project-related question, or after determining that the target question is a project-related question, the target question can be directly determined to be a subjective question.
[0077] Furthermore, if the target question is a project-related question, the output result of the random forest classifier is input into the MOE big model, and the subjective question-answering model in the MOE big model further analyzes it and obtains subjective response information.
[0078] S404: When the question type is an objective question, determine that the target question is a non-project related question.
[0079] As in the above example, when objective problems and non-project-related problems are mapped to each other, after determining that the target problem is an objective problem, the target problem can be directly determined to be a non-project-related problem, or after determining that the target problem is a non-project-related problem, the target problem can be directly determined to be an objective problem.
[0080] Furthermore, if the target question is a non-project-related question, the output result of the random forest classifier is input into the objective question-answering model, which further analyzes it and obtains objective answer information.
[0081] It should be noted that both the objective question-answering model and the classifier can be implemented through ElasticSearch, which is a powerful search and analysis engine.
[0082] In the embodiment of the present application, by introducing the question type, a method is provided for determining whether the target question is a project-related question, and ultimately a foundation is laid for accurately determining the response information.
[0083] Based on the above embodiment, the embodiment of the present application explains the above embodiment S202 in detail. Specifically, the process of determining the target project targeted by the target problem and the target project Gantt chart of the target project in the embodiment of the present application, as shown in FIG6, specifically includes the following steps:
[0084] S601, taking the project corresponding to the project Gantt chart displayed on the current interface as the target project.
[0085] It should be noted that, as shown in FIG. 7 , the current interface may include an interactive chat interface (such as a question and answer window) and a project Gantt chart.
[0086] Optionally, the project information in the project Gantt chart in the current interface may be empty initially; optionally, the project name in the target question may be gradually determined based on the information in the interactive chat interface (if it is verified that the project does exist), and then the project name may be updated to the project Gantt chart in the current interface.
[0087] S602: According to the target problem, select a target project Gantt chart from project Gantt charts of target projects at different times stored in a database.
[0088] The database can store a large amount of structured and unstructured data; optionally, it can be a data storage system that stores the project Gantt charts corresponding to each project.
[0089] For example, according to the target problem or target project, the project Gantt charts of each time corresponding to the target project can be obtained from the database, and the latest updated project Gantt chart corresponding to the target project (i.e., the latest project Gantt chart) can be directly used as the target project Gantt chart, and the project Gantt chart displayed on the current interface can be supplemented. Optionally, the user can modify and update the project Gantt chart displayed on the current interface, and synchronize the modified and updated content to the database. For example, the Apache Flink (framework and distributed processing engine) framework can be used to implement real-time data updates of large data streams.
[0090] In the embodiment of the present application, by elaborating on the process of determining the target project Gantt chart, a basis is provided for obtaining the latest project data, and ultimately the most accurate answer is achieved.
[0091] Based on the above embodiments, the present application embodiment relates to a process of updating the latest project Gantt chart, which specifically includes:
[0092] If the work summary of the project members of any project is obtained, the latest project Gantt chart of the project is obtained; the work summary is used to update the latest project Gantt chart.
[0093] It should be noted that each project member will submit a work summary regularly (such as once a week) to grasp the overall progress of the project. Optionally, for different projects, members can submit work summaries at different times to facilitate batch viewing of project progress; members can also be sent reminders to fill in work summaries.
[0094] For example, for a certain project, after the work summary of the project is completed, the work summary of the project members and the latest project Gantt chart of the project can be directly obtained from the database, and the new project progress in the work summary can be updated to the project Gantt chart to update the latest project Gantt chart.
[0095] Optionally, users can also bind a git code repository and automatically synchronize the project code from the repository every day, so as to monitor the project progress and code volume. If it is found that the project does not meet the expected progress or the code volume is significantly different from the expectation, an email can be automatically sent to the project manager for warning.
[0096] In the embodiment of the present application, by updating the latest project Gantt chart based on the work summary, the real-time and comprehensiveness of the latest project Gantt chart is guaranteed, providing data support for making accurate responses.
[0097] Based on the above embodiments, the present application embodiment relates to a process of obtaining a target work report, which specifically includes:
[0098] When it is necessary to output a target work report for any project, obtain a project Gantt chart at the first time and a project Gantt chart at the second time according to the type of the target work report; input the project Gantt chart at the first time and the project Gantt chart at the second time into a work report generation model to obtain the target work report.
[0099] Among them, the target work report can represent the amount of work completed within a specific time period; the types of target work reports can include daily report type, weekly report type, monthly report type, quarterly report type and annual report type, etc.; the first time can represent the starting time of the target work report; the second time can represent the deadline of the target work report; the work report generation model is used to generate the target work report.
[0100] It should be noted that the work report generation model and the objective question-and-answer model can be built in the MOE large model, and both can obtain the required Gantt chart and other information from the OB (OceanBase) database; the work report generation model can also send the generated target work report to the email system to send the project progress or work status to the corresponding project members.
[0101] Exemplarily, when it is necessary to output the work report of a certain project in the past month (such as the current time reaches the work report output time of any project), the project Gantt chart of the project in the time period from M year N-1 month X day T hour S minute to this moment (M year N month X day T hour S minute) can be obtained from the database; the project Gantt chart closest to the time of M year N-1 month X day T hour S minute in this period is used as the project Gantt chart of the first time, and the project Gantt chart closest to this moment (M year N month X day T hour S minute) is used as the project Gantt chart of the second time; further, the project Gantt chart of the first time and the project Gantt chart of the second time can be directly input into the work report generation model, and the work report generation model calculates and analyzes them to obtain the target work report. For example, in the work report generation model, for all the same indicators in the project Gantt chart, the difference between the data of the indicator in the project Gantt chart of the second time and the data of the indicator in the project Gantt chart of the first time can be determined as the data of the indicator in the target work report.
[0102] In the embodiment of the present application, by introducing the types of target work reports, a method is provided for automatically generating target work reports according to different types, laying a foundation for achieving better interactive effects.
[0103] Based on the above embodiment, this embodiment provides an optional example of an interaction method. As shown in FIG8 , the specific implementation process is as follows:
[0104] S801, obtaining the target question.
[0105] Optionally, if a work summary of a project member of any project is obtained, the latest project Gantt chart of the project is obtained; and the latest project Gantt chart is updated using the work summary.
[0106] Optionally, when it is necessary to output the target work report of any project, obtain the project Gantt chart of the project at the first time and the project Gantt chart of the project at the second time according to the type of the target work report; input the project Gantt chart of the first time and the project Gantt chart of the second time into the work report generation model to obtain the target work report.
[0107] S802, performing word segmentation processing on the target question.
[0108] S803, input the word segmentation processing result into the random forest classifier to obtain the question type of the target question.
[0109] S804, determine whether the question type is a subjective question; if so, execute S805-S808; if not, execute S809-S810;
[0110] S805: Determine that the target problem is a project-related problem.
[0111] S806: The project corresponding to the project Gantt chart displayed on the current interface is used as the target project.
[0112] S807, according to the target problem, selecting a target project Gantt chart from project Gantt charts of target projects at different times stored in a database.
[0113] S808, based on the subjective question-answering model, according to the target question and the target project Gantt chart, determine the answer information corresponding to the target question.
[0114] S809, determining that the target problem is a non-project related problem.
[0115] S810, input the target question into the objective question-answering model to obtain answer information corresponding to the target question.
[0116] The specific process of the above S801-S810 can refer to the description of the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0117] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0118] Based on the same inventive concept, the embodiment of the present application also provides an interactive device for implementing the interactive method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more interactive device embodiments provided below can refer to the limitations on the interactive method above, and will not be repeated here.
[0119] In an exemplary embodiment, as shown in FIG9 , an interaction device 1 is provided, comprising: an acquisition module 10, a determination module 20 and an information determination module 30, wherein:
[0120] The acquisition module 10 is used to acquire the target question.
[0121] The determination module 20 is used to determine the target project targeted by the target problem and the target project Gantt chart of the target project when it is identified that the target problem is a project-related problem.
[0122] The information determination module 30 is used to determine the answer information corresponding to the target question based on the subjective question-answering model, according to the target question and the Gantt chart of the target project.
[0123] In one embodiment, the determination module 20 is specifically configured to:
[0124] Perform word segmentation on the target question; input the word segmentation result into the random forest classifier to obtain the question type of the target question; when the question type is a subjective question, determine the target question to be a project-related question; when the question type is an objective question, determine the target question to be a non-project-related question.
[0125] In one embodiment, the interaction device 1 specifically further includes:
[0126] The non-project-related module is used to input the target question into the objective question-answering model to obtain the answer information corresponding to the target question when the target question is identified as a non-project-related question.
[0127] In one embodiment, the determination module 20 is further configured to:
[0128] The project corresponding to the project Gantt chart displayed on the current interface is taken as the target project; according to the target problem, the target project Gantt chart is selected from the project Gantt charts of the target project at different times stored in the database.
[0129] In one embodiment, the interaction device 1 specifically further includes:
[0130] The update module is used to obtain the latest project Gantt chart of any project if the work summary of the project members of the project is obtained; and the latest project Gantt chart is updated using the work summary.
[0131] In one embodiment, the interaction device 1 specifically further includes:
[0132] The work report module is used to obtain the project Gantt chart of the project at the first time and the project Gantt chart of the project at the second time according to the type of the target work report when it is necessary to output the target work report of any project; the project Gantt chart of the first time and the project Gantt chart of the second time are input into the work report generation model to obtain the target work report.
[0133] Each module in the above-mentioned interactive device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.
[0134] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in FIG10. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store interactive data and project data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an interactive method is implemented.
[0135] Those skilled in the art will understand that the structure shown in FIG. 10 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0136] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0137] Get the target question;
[0138] In the case where the target problem is identified as a project-related problem, determining the target project targeted by the target problem and the target project Gantt chart of the target project;
[0139] Based on the subjective question-answering model, the answer information corresponding to the target question is determined according to the target question and the target project Gantt chart.
[0140] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0141] Perform word segmentation on the target question; input the word segmentation result into the random forest classifier to obtain the question type of the target question; when the question type is a subjective question, determine the target question to be a project-related question; when the question type is an objective question, determine the target question to be a non-project-related question.
[0142] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0143] When it is identified that the target question is a non-project related question, the target question is input into the objective question answering model to obtain the answer information corresponding to the target question.
[0144] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0145] The project corresponding to the project Gantt chart displayed on the current interface is taken as the target project; according to the target problem, the target project Gantt chart is selected from the project Gantt charts of the target project at different times stored in the database.
[0146] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0147] If the work summary of the project members of any project is obtained, the latest project Gantt chart of the project is obtained; the work summary is used to update the latest project Gantt chart.
[0148] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0149] When it is necessary to output a target work report for any project, obtain a project Gantt chart at the first time and a project Gantt chart at the second time according to the type of the target work report; input the project Gantt chart at the first time and the project Gantt chart at the second time into a work report generation model to obtain the target work report.
[0150] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0151] Get the target question;
[0152] In the case where the target problem is identified as a project-related problem, determining the target project targeted by the target problem and the target project Gantt chart of the target project;
[0153] Based on the subjective question-answering model, the answer information corresponding to the target question is determined according to the target question and the target project Gantt chart.
[0154] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0155] Perform word segmentation on the target question; input the word segmentation result into the random forest classifier to obtain the question type of the target question; when the question type is a subjective question, determine the target question to be a project-related question; when the question type is an objective question, determine the target question to be a non-project-related question.
[0156] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0157] When it is identified that the target question is a non-project related question, the target question is input into the objective question answering model to obtain the answer information corresponding to the target question.
[0158] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0159] The project corresponding to the project Gantt chart displayed on the current interface is taken as the target project; according to the target problem, the target project Gantt chart is selected from the project Gantt charts of the target project at different times stored in the database.
[0160] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0161] If the work summary of the project members of any project is obtained, the latest project Gantt chart of the project is obtained; the work summary is used to update the latest project Gantt chart.
[0162] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0163] When it is necessary to output a target work report for any project, obtain a project Gantt chart at the first time and a project Gantt chart at the second time according to the type of the target work report; input the project Gantt chart at the first time and the project Gantt chart at the second time into a work report generation model to obtain the target work report.
[0164] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0165] Get the target question;
[0166] In the case where the target problem is identified as a project-related problem, determining the target project targeted by the target problem and the target project Gantt chart of the target project;
[0167] Based on the subjective question-answering model, the answer information corresponding to the target question is determined according to the target question and the target project Gantt chart.
[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0169] Perform word segmentation on the target question; input the word segmentation result into the random forest classifier to obtain the question type of the target question; when the question type is a subjective question, determine the target question to be a project-related question; when the question type is an objective question, determine the target question to be a non-project-related question.
[0170] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0171] When it is identified that the target question is a non-project related question, the target question is input into the objective question answering model to obtain the answer information corresponding to the target question.
[0172] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0173] The project corresponding to the project Gantt chart displayed on the current interface is taken as the target project; according to the target problem, the target project Gantt chart is selected from the project Gantt charts of the target project at different times stored in the database.
[0174] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0175] If the work summary of the project members of any project is obtained, the latest project Gantt chart of the project is obtained; the work summary is used to update the latest project Gantt chart.
[0176] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0177] When it is necessary to output a target work report for any project, obtain a project Gantt chart at the first time and a project Gantt chart at the second time according to the type of the target work report; input the project Gantt chart at the first time and the project Gantt chart at the second time into a work report generation model to obtain the target work report.
[0178] It should be noted that the information (including but not limited to project information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0179] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0180] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0181] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An interactive method, characterized in that: The method comprises: Get the target question; In the case where the target problem is identified as a project-related problem, determining a target project targeted by the target problem and a target project Gantt chart of the target project; Based on the subjective question-answering model, answer information corresponding to the target question is determined according to the target question and the target project Gantt chart.
2. The method according to claim 1, characterized in that The identifying that the target problem is a project-related problem includes: Performing word segmentation processing on the target question; Input the word segmentation processing result into the random forest classifier to obtain the question type of the target question; In the case where the question type is a subjective question, determining that the target question is a project-related question; In the case where the question type is an objective question, the target question is determined to be a non-project related question.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: When it is identified that the target question is a non-project related question, the target question is input into the objective question answering model to obtain answer information corresponding to the target question.
4. The method according to claim 1, characterized in that Determine the target project targeted by the target problem and the target project Gantt chart of the target project, including: Set the project corresponding to the project Gantt chart displayed on the current interface as the target project; According to the target problem, a target project Gantt chart is selected from project Gantt charts of the target project at different times stored in a database.
5. The method according to claim 1, characterized in that The method further comprises: If the work summary of the project members of any project is obtained, the latest project Gantt chart of the project is obtained; The work summary is used to update the latest project Gantt chart.
6. The method according to claim 1, characterized in that The method further comprises: In the case where a target work report of any project needs to be output, obtaining a project Gantt chart of the project at a first time and a project Gantt chart of the project at a second time according to the type of the target work report; The project Gantt chart of the first time and the project Gantt chart of the second time are input into a work report generation model to obtain the target work report.
7. An interactive device, characterized in that: The device comprises: An acquisition module is used to obtain the target problem; A determination module, configured to determine a target project targeted by the target problem and a target project Gantt chart of the target project when the target problem is identified as a project-related problem; The information determination module is used to determine the answer information corresponding to the target question based on the subjective question-answering model, according to the target question and the Gantt chart of the target project.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.