Project automatic evaluation method, device and system
By using thread pools for parallel processing and pre-defined rules for evaluation, the problem of low efficiency and poor accuracy in traditional manual evaluation is solved, thus realizing an automated and efficient scoring process for project evaluation.
Patent Information
- Application Number
- CN202410936808.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-15
AI Technical Summary
Traditional project health rating relies on manual data collection and experience analysis, resulting in low efficiency and poor accuracy, making it difficult to meet enterprises' requirements for the timeliness and accuracy of project rating.
An automated project evaluation method is adopted, which processes project evaluation data in parallel through a thread pool, performs evaluation based on preset rules, including data transformation, preliminary evaluation, result filtering and comprehensive evaluation, and generates the final evaluation result.
It has automated the project evaluation process, improved evaluation efficiency and accuracy, and supports flexible adjustment of evaluation rules to meet the timeliness and accuracy requirements of enterprises for project health rating.
Smart Images

Figure CN118967010A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a project automatic evaluation method, device and system. Background Art
[0002] In the software industry project management, the assessment of project progress, project quality, project cost and overall project health during the project life cycle is an essential behavior. The traditional project health scoring method mainly uses manual data collection, empirical analysis and judgment to obtain the scores of various project indicators, and finally obtains the comprehensive score of the project based on the scores of various indicators. For example, manually collect data, fill in the corresponding spreadsheet, and then manually judge and score based on the spreadsheet to obtain the comprehensive score of the project.
[0003] This method is inefficient, the accuracy varies from person to person, and the scoring results are highly biased. In particular, as the number of projects increases, the scoring time becomes longer, the scoring rules become more and more sophisticated, and the rules change and adjust frequently, the shortcomings of the traditional project health scoring method become more and more obvious, and it is difficult to meet the timeliness and accuracy requirements of enterprises for project health scoring. Summary of the invention
[0004] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0005] In view of the shortcomings of the prior art mentioned above, the present invention discloses an automatic project evaluation method, device and system to solve the technical problems in the related technology that, due to reliance on manual project evaluation, the accuracy is low, the scoring results have large deviations, and it is difficult to meet the timeliness and accuracy requirements of enterprises for project health scoring.
[0006] The embodiment of the present invention discloses a project automatic evaluation method, the method comprising: in response to a project evaluation start instruction, obtaining project initial data of a project to be evaluated, and converting the project initial data of each project to be evaluated into project evaluation data; determining the number of core threads and the maximum number of threads according to the number of projects of the project to be evaluated, and creating and initializing a thread pool; after completing the creation and initialization of the thread pool, evaluating the project evaluation data of the project to be evaluated by threads in the thread pool based on a preset project evaluation rule, and obtaining a preliminary evaluation result of each project to be evaluated; filtering the preliminary evaluation result of a project to be evaluated according to a preset result filtering rule corresponding to the project to be evaluated, and obtaining an intermediate evaluation result of the project to be evaluated; comprehensively evaluating the intermediate evaluation result of the project to be evaluated, and obtaining a comprehensive evaluation result of the project to be evaluated, and then obtaining an intermediate evaluation result and a comprehensive evaluation result of each project to be evaluated; generating a final evaluation result of the project to be evaluated based on the comprehensive evaluation result and the intermediate evaluation result of the project to be evaluated, and then realizing automatic evaluation of each project to be evaluated.
[0007] In one embodiment of the present invention, after the thread pool is created and initialized, the method further includes: obtaining the current number of threads in the thread pool, creating a context environment for each of the projects to be evaluated corresponding to the current number of threads, and storing the project evaluation data in the corresponding project context environment respectively; and storing the preliminary evaluation results of the projects to be evaluated in the corresponding project context environment.
[0008] In one embodiment of the present invention, the project evaluation data of the project to be evaluated is evaluated based on preset project evaluation rules by the threads of the thread pool to obtain a preliminary evaluation result of each project to be evaluated, including: if the number of core threads is less than the number of projects, the project evaluation data of the projects to be evaluated of the number of core threads are respectively called by the threads in the thread pool, and the preset project evaluation rules are executed in parallel by multiple threads; when a thread completes the evaluation of a project to be evaluated, an idle thread is obtained, and the evaluation of the remaining unevaluated project to be evaluated is executed by the idle thread until all the projects to be evaluated are evaluated, so as to obtain a preliminary evaluation result of each project to be evaluated.
[0009] In one embodiment of the present invention, project evaluation data of a project to be evaluated is evaluated through a thread based on preset project evaluation rules to obtain a preliminary evaluation result of the project to be evaluated, including: performing project progress evaluation according to preset project progress evaluation rules based on the project real milestone data and project process data of the project to be evaluated to obtain a project progress evaluation result; performing project quality evaluation according to preset project quality evaluation rules based on the project quality evaluation data of the project to be evaluated to obtain a project quality evaluation result; performing project quality evaluation according to preset project cost evaluation rules based on the project cost evaluation data of the project to be evaluated to obtain a project cost evaluation result; determining the preliminary evaluation result of the project to be evaluated based on at least one of the project progress evaluation result, the project quality evaluation result and the project cost evaluation result; wherein the project evaluation data includes project real milestone data, project process data, project quality evaluation data and project cost evaluation data.
[0010] In one embodiment of the present invention, a preliminary evaluation result of a project to be evaluated is filtered according to a preset result filtering rule corresponding to the project to be evaluated to obtain an intermediate evaluation result of the project to be evaluated, including: matching the project to be evaluated to obtain a corresponding preset result filtering rule, wherein the preset result filtering rule is stored in a preconfigured data dictionary; and filtering the preliminary evaluation result according to the preset result filtering rule, and using the filtered preliminary evaluation result as the intermediate evaluation result of the project to be evaluated.
[0011] In one embodiment of the present invention, a comprehensive evaluation is performed on the intermediate evaluation result of the project to be evaluated to obtain the comprehensive evaluation result of the project to be evaluated, including: if at least one sub-result in the intermediate evaluation result is unqualified, the comprehensive evaluation result is determined to be unqualified; if at least one sub-result in the intermediate evaluation result is basically qualified, and there is no unqualified sub-result in the sub-results of the intermediate evaluation result, the comprehensive evaluation result is determined to be basically qualified.
[0012] In one embodiment of the present invention, a final evaluation result of a project to be evaluated is generated based on the comprehensive evaluation result and the intermediate evaluation result of the project to be evaluated, including: generating an evaluation result overview content according to the comprehensive evaluation result of the project to be evaluated and each sub-result in the intermediate evaluation result; determining abnormal items according to the sub-results in the intermediate evaluation result, and generating abnormal item description content of the abnormal items according to abnormal item description rules corresponding to the abnormal items; generating the final evaluation result of the project to be evaluated based on the evaluation result overview content and all abnormal item description contents.
[0013] In one embodiment of the present invention, after generating a final evaluation result of a project to be evaluated based on the comprehensive evaluation result and the intermediate evaluation result of the project to be evaluated, the method further includes: storing the final evaluation result of each project to be evaluated in a preset database for result display and / or result confirmation.
[0014] The embodiment of the present invention discloses an automatic project evaluation device, which includes: an acquisition module, which is used to respond to a project evaluation start instruction, acquire the project initial data of the project to be evaluated, and convert the project initial data of each project to be evaluated into project evaluation data; a thread creation module, which is used to determine the number of core threads and the maximum number of threads according to the number of projects of the project to be evaluated, and to create and initialize a thread pool; a task execution module, which is used to evaluate the project evaluation data of the project to be evaluated through threads in the thread pool based on preset project evaluation rules after completing the creation and initialization of the thread pool, so as to obtain a preliminary evaluation result of each project to be evaluated; an intermediate evaluation module, which is used to filter the preliminary evaluation result of a project to be evaluated according to the preset result filtering rule corresponding to the project to be evaluated, obtain the intermediate evaluation result of the project to be evaluated, perform comprehensive evaluation on the intermediate evaluation result of the project to be evaluated, obtain the comprehensive evaluation result of the project to be evaluated, and then obtain the intermediate evaluation result and comprehensive evaluation result of each project to be evaluated; and a final evaluation module, which is used to generate the final evaluation result of the project to be evaluated based on the comprehensive evaluation result and the intermediate evaluation result of the project to be evaluated, so as to realize automatic evaluation of each project to be evaluated.
[0015] The embodiment of the present invention discloses a project automatic evaluation system, which includes: a task scheduling center, which is used to configure a trigger time strategy of a project evaluation start instruction, so as to trigger the generation of the project evaluation start instruction according to the trigger time strategy, and send the generated project evaluation start instruction to a background server; a background service end, which includes a core background server, a custom rule engine, a task executor and a data integrator, wherein the task executor includes a context module, a data loader and a thread pool, wherein the data loader is used to receive the project evaluation start instruction, and in response to the project evaluation start instruction, obtain the project initial data of the project to be evaluated from a preset database, and convert the project initial data of each project to be evaluated into project evaluation data, and cache all the project evaluation data in the context module according to the project dimension; the thread pool determines the number of core threads and the maximum number of threads according to the number of projects of the project to be evaluated, and creates and initializes the thread pool. After the creation and initialization of the thread pool are completed, the project evaluation data of the project to be evaluated is evaluated by the threads in the thread pool based on the preset project evaluation rules of the custom rule engine to obtain the preliminary evaluation results of each project to be evaluated; the data integrator is used to The preliminary evaluation result of a project to be evaluated is filtered according to the preset result filtering rule corresponding to the project to be evaluated to obtain the intermediate evaluation result of the project to be evaluated; the intermediate evaluation result of the project to be evaluated is comprehensively evaluated to obtain the comprehensive evaluation result of the project to be evaluated, and then the intermediate evaluation result and the comprehensive evaluation result of each project to be evaluated are obtained; and the final evaluation result of the project to be evaluated is generated based on the comprehensive evaluation result and the intermediate evaluation result of the project to be evaluated to obtain the final evaluation result of each project to be evaluated, and the final evaluation result is stored in the preset database; the core background server is used to provide a service interface for the user management end, and based on at least one of the result query request, result confirmation request or result change request of the user management end, the final evaluation result of the project to be evaluated is obtained from the preset database and sent to the user management end; the user management end includes a result management module and / or a data dictionary management module, the result management module is used to perform at least one of result query, result confirmation or result change on the final evaluation result of the project to be evaluated, and the data dictionary management module is used to configure the preset result filtering rule corresponding to the project to be evaluated.
[0016] An embodiment of the present invention further discloses an electronic device, including: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the above method.
[0017] Beneficial effects of the present invention:
[0018] By responding to the project evaluation start instruction, the initial project data of the project to be evaluated is obtained and converted into project evaluation data, and then the thread pool is created and initialized. Based on the preset project evaluation rules, the project evaluation data of the project to be evaluated is evaluated by the threads in the thread pool to obtain the preliminary evaluation results of each project to be evaluated, and then the preliminary evaluation results are filtered according to the preset result filtering rules corresponding to the project to be evaluated to obtain the intermediate evaluation results, and then a comprehensive evaluation is performed to obtain the comprehensive evaluation results. In this way, the final evaluation results of each project to be evaluated that needs to be evaluated can be obtained, and the automatic evaluation of the project can be realized. It can support the automatic evaluation of multiple projects in batches. If the project health score of a large number of projects is automatically scored, the whole process from the initial data collection of the project to the preliminary evaluation of the project and then to the generation of the final evaluation result is realized. Automation, higher efficiency and better accuracy. The solution can also support flexible adjustment of preset project evaluation rules and preset result filtering rules. The rules are flexible and variable, and have strong scalability, which can meet the timeliness and accuracy requirements of enterprises for project health scoring and other project evaluations. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A schematic diagram of a process flow of an automatic project evaluation method in an embodiment of the present invention;
[0020] Figure 2 This is a flowchart of a specific example of an automatic project evaluation method according to an embodiment of the present invention;
[0021] Figure 3 It is a structural schematic diagram of a project automatic evaluation device in an embodiment of the present invention;
[0022] Figure 4 A schematic diagram of the structure of an automatic project evaluation system in an embodiment of the present invention;
[0023] Figure 5 A specific structural diagram of a project automatic evaluation system in an embodiment of the present invention;
[0024] Figure 6 FIG. 4 is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and sub-samples in the embodiments can be combined with each other without conflict.
[0026] It should be noted that the illustrations provided in the following embodiments are only used to illustrate the basic concept of the present invention in a schematic manner. Therefore, the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0027] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0028] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0029] Unless otherwise stated, the term "plurality" means two or more.
[0030] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0031] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0032] For ease of understanding, the terms involved in the embodiments of the present application are explained below:
[0033] Thread Pool is a common technology in concurrent programming, used to manage and reuse threads. It consists of a thread pool manager, a work queue, and thread pool threads. A certain number of threads are created when the application starts and saved in the thread pool. When a task needs to be executed, an idle thread is obtained from the thread pool and the task is assigned to the thread for execution. When the task is completed, the thread will be returned to the thread pool and can be reused by other tasks.
[0034] Core Pool Size: The minimum number of threads maintained by the thread pool. Core threads will not be recycled after they are created. However, through certain settings, idle core threads that exceed the inventory time can also be recycled.
[0035] Maximum Pool Size: The maximum number of threads allowed in the thread pool. When the task queue is full and all core threads are executing tasks, the thread pool will create new threads until the maximum number of threads is reached.
[0036] Combination Figure 1 As shown, Figure 1 FIG. 1 is a flow chart of a method for automatically evaluating a project in an embodiment of the present invention. Figure 1 As shown, the embodiment of the present disclosure provides a project automatic evaluation method, including:
[0037] Step S110 , in response to the project evaluation start instruction, obtaining the initial project data of the project to be evaluated, and converting the initial project data of each project to be evaluated into project evaluation data.
[0038] Among them, the project evaluation start instruction can be sent regularly or irregularly by those skilled in the art as needed, so that the project can be automatically evaluated regularly or when needed. The project evaluation start instruction can include the project identification that needs to be evaluated this time, which is convenient for the subsequent screening of project data. Each project evaluation start instruction can be an instruction to evaluate one or more projects. The number of projects specifically evaluated can be set by those skilled in the art as needed, and the projects to be evaluated can also be adjusted by those skilled in the art as needed, and the project identification of the project to be evaluated that needs to be added is added to the project evaluation start instruction, and the project identification of the project to be evaluated that needs to be deleted is deleted from the project evaluation start instruction.
[0039] The project to be evaluated may be a project set by a person skilled in the art, such as a delivery project or a research and development project.
[0040] The project initial data is pre-stored in a preset database. After receiving the project evaluation start instruction, it triggers the acquisition of the project initial data of the project to be evaluated from the database. The project initial data includes but is not limited to at least one of the project real milestone data, project process data, project quality evaluation data, project cost evaluation data, etc. The data range of the specific project initial data can be set by those skilled in the art. The project real milestone data can be the time node that characterizes the project plan, the project process data can be the time node that characterizes the actual execution of the project, the project quality evaluation data can be obtained by the relevant responsible personnel regularly maintaining the project quality score of each project to be evaluated in the database, and the project cost evaluation data can be the planned cost and actual expenditure cost of the project, etc. The above are only some examples of the project initial data, and those skilled in the art can also adjust the data range as needed.
[0041] In one embodiment, the initial project data of each project to be evaluated is converted into project evaluation data, including: extracting data and converting the data format of the initial project data of a project to be evaluated to obtain the project evaluation data of the project to be evaluated. That is, the initial project data may include noisy data, and at this time, data extraction can be performed by methods such as data cleaning to obtain relevant data that can be used for evaluation. Then, since the initial project data of different projects may have different formats, in order to make subsequent data processing more convenient, data format conversion can be performed to unify them into the same data format for easy subsequent processing.
[0042] In one embodiment, there may be a large number of projects to be evaluated at one time, and the evaluation needs to be performed in batches later. For example, the number of threads is 10, but the number of projects to be evaluated is 100. For such a situation, the acquisition of project initial data can be performed in batches, and the initial data of the projects to be evaluated that need to be evaluated is acquired first, and the acquisition and conversion of the initial data of the next batch of projects is performed when the evaluation of the next batch of projects to be evaluated is performed later. Of course, those skilled in the art can also adopt other data acquisition strategies, and the above is only an example.
[0043] Through the above method, it is possible to automatically acquire the initial project data and convert the scattered initial project data into project evaluation data that is convenient for subsequent analysis, so as to facilitate subsequent project evaluation and avoid the tediousness and trouble of manual data collection in the data acquisition stage.
[0044] Step S120, determining the number of core threads and the maximum number of threads according to the number of projects to be evaluated, and creating and initializing a thread pool.
[0045] Among them, according to the size of the number of projects, the maximum number of threads can be greater than or equal to the number of core threads, and the maximum number of threads can be greater than or equal to the number of projects.
[0046] When there are too many items to be evaluated, if a thread is created for each item to be evaluated, this will result in a large performance loss in creating and consuming threads. However, if an appropriate number of core threads is used and the items to be evaluated are evaluated in batches, a limited number of threads can be used to reduce performance loss and achieve better overall performance.
[0047] Based on this, the number of core threads and the maximum number of threads corresponding to different ranges of project numbers can be pre-set by those skilled in the art. For example, when the number of projects is greater than or equal to 100, the number of core threads is set to 10, and when the number of projects is less than 50 and greater than 10, the number of core threads is set to 6, etc. If the number of projects is less than or equal to 10, the number of core threads is equal to the number of projects. Through the pre-set thread number setting rules, the appropriate maximum number of threads and core threads can be matched according to the number of projects.
[0048] The thread pool may be created and initialized in a manner known to those skilled in the art, which will not be described in detail herein.
[0049] In one embodiment, after creating and initializing the thread pool, the method further includes: obtaining the current number of threads in the thread pool, creating a context environment for each project to be evaluated corresponding to the current number of threads, and storing the project evaluation data in the corresponding project context environment.
[0050] That is, if several projects to be evaluated need to be evaluated, a corresponding number of project context environments (that is, the number of threads in the current thread pool) are created, and the project evaluation data of a project to be evaluated is stored in a project context environment, so that each project to be evaluated creates a corresponding project context environment. When calling the project evaluation data later, the project evaluation data in the project context environment can be directly called.
[0051] By preloading data (obtaining initial project data), preprocessing data (converting it into project evaluation data), caching data (storing it in the project context), and task pooling (thread pool), batch concurrent execution of project evaluation can be achieved, so that the overall operating performance of the system is optimized.
[0052] Step S130, after the thread pool is created and initialized, the project evaluation data of the project to be evaluated is evaluated by the threads in the thread pool based on the preset project evaluation rules to obtain a preliminary evaluation result of each project to be evaluated.
[0053] When the number of threads is greater than or equal to the number of projects, the evaluation of all projects to be evaluated can be completed at one time. However, if the number of projects is very large and the number of threads is less than the number of projects, then the projects to be evaluated need to be sorted and evaluated in order through idle threads. A thread can only process the project evaluation data of one project to be evaluated at a time. Once the processing of the project evaluation data of the project to be evaluated is completed, the working state of the thread is set to idle, and the project evaluation data of the projects to be evaluated that have not yet been evaluated are processed through the idle thread. Until all the projects to be evaluated are evaluated.
[0054] In one embodiment, the method further includes: storing the preliminary evaluation results of the project to be evaluated in the corresponding project context environment, so that the preliminary evaluation results are convenient for subsequent processing (result screening, etc.).
[0055] In one embodiment, project evaluation data of projects to be evaluated are evaluated by threads of a thread pool based on preset project evaluation rules to obtain preliminary evaluation results of each project to be evaluated, including: if the number of core threads is less than the number of projects, project evaluation data of projects to be evaluated with the number of core threads are called separately by threads in the thread pool, and preset project evaluation rules are executed in parallel by multiple threads; when a thread completes the evaluation of a project to be evaluated, an idle thread is obtained, and the evaluation of the remaining unevaluated project to be evaluated is performed by the idle thread until the evaluation of all projects to be evaluated is completed to obtain preliminary evaluation results of each project to be evaluated.
[0056] As mentioned in the above embodiment, if the number of projects is too large, a thread can be created for each project to be evaluated, or fewer threads can be created, and then project evaluation is performed in sequence in the form of a queue. At this time, the number of core threads is less than the number of projects, that is, the evaluation of all projects to be evaluated cannot be completed at one time, and it is necessary to perform it in batches. Taking the number of core threads as N as an example and the number of projects as M as an example, at this time, the project evaluation data of N projects to be evaluated are first selected and input into the corresponding N threads respectively, and the execution speed of each thread may be different. Once a thread is executed, the idle number of threads is selected from the remaining (MN) projects to be evaluated and input into the idle thread, and the above steps are repeated until all projects to be evaluated have completed the evaluation. Such batch concurrent execution of project evaluation can improve system performance.
[0057] The preset project evaluation rules can be set by those skilled in the art as needed, such as through a custom rule engine, and the project evaluation data is subjected to rule determination by the custom rule engine to obtain a preliminary evaluation result. The rules in the custom rule engine can be implemented by those skilled in the art through custom rule implementation, and the custom rules (preset project evaluation rules) can be modified as needed later, thus achieving dynamic rule configurability and flexible rule expansion. Among them, the custom rules include but are not limited to project progress rules, project quality rules, project cost rules, and overall judgment rules, etc. The overall judgment rules are used for subsequent comprehensive evaluation. Of course, the custom rules can also include rules formulated by other technicians in this field, and the above are only examples.
[0058] As an example, a common preset project evaluation rule can be formulated for all the projects to be evaluated, and then a personalized evaluation can be performed through result filtering. It is also possible to formulate personalized preset project evaluation rules for different categories of projects or for individual projects, so that the preliminary evaluation results are closer to the final results, and then the results with obvious deviations can be removed through result filtering.
[0059] In one embodiment, project evaluation data of a project to be evaluated is evaluated through a thread based on preset project evaluation rules to obtain a preliminary evaluation result of the project to be evaluated, including: performing a project progress evaluation according to preset project progress evaluation rules based on real project milestone data and project process data of the project to be evaluated to obtain a project progress evaluation result; performing a project quality evaluation according to preset project quality evaluation rules based on project quality evaluation data of the project to be evaluated to obtain a project quality evaluation result; performing a project quality evaluation according to preset project cost evaluation rules based on project cost evaluation data of the project to be evaluated to obtain a project cost evaluation result; determining a preliminary evaluation result of the project to be evaluated based on at least one of the project progress evaluation result, the project quality evaluation result and the project cost evaluation result; wherein the project evaluation data at least includes real project milestone data, project process data, project quality evaluation data, project cost evaluation data, etc.
[0060] Step S140, filtering the preliminary evaluation result of a project to be evaluated according to a preset result filtering rule corresponding to the project to be evaluated to obtain an intermediate evaluation result of the project to be evaluated, performing a comprehensive evaluation on the intermediate evaluation result of the project to be evaluated to obtain a comprehensive evaluation result of the project to be evaluated, and further obtaining the intermediate evaluation result and comprehensive evaluation result of each project to be evaluated.
[0061] The intermediate evaluation results include sub-results that evaluate the project to be evaluated from multiple dimensions, and the comprehensive evaluation results can be the overall evaluation results of the project to be evaluated. The former is convenient for knowing the execution of the project in different dimensions, and the latter is convenient for overall control of the execution of the project. By setting the comprehensive evaluation results, when the comprehensive evaluation results are all qualified, you don’t have to worry about the specific execution of the project to be evaluated. This can make the management of multiple projects more convenient and targeted, and focus limited energy on projects with poor execution and comprehensive evaluation results of basically qualified or unqualified. The above project evaluation standards of all qualified, basically qualified, and unqualified are only an example. Technical personnel in this field can also set other project evaluation representation methods as needed, such as by lighting.
[0062] In one embodiment, a preliminary evaluation result of a project to be evaluated is filtered according to a preset result filtering rule corresponding to the project to be evaluated to obtain an intermediate evaluation result of the project to be evaluated, including: matching a project to be evaluated to obtain a corresponding preset result filtering rule, the preset result filtering rule being stored in a preconfigured data dictionary; filtering the preliminary evaluation result according to the preset result filtering rule, and using the filtered preliminary evaluation result as an intermediate evaluation result of a project to be evaluated.
[0063] In one embodiment, an intermediate evaluation result of a project to be evaluated is comprehensively evaluated to obtain a comprehensive evaluation result of the project to be evaluated, including: if at least one sub-result in the intermediate evaluation result is unqualified, the comprehensive evaluation result is determined to be unqualified; if at least one sub-result in the intermediate evaluation result is basically qualified, and there is no unqualified sub-result in the sub-results of the intermediate evaluation result, the comprehensive evaluation result is determined to be basically qualified.
[0064] The comprehensive evaluation can use the overall judgment rule in the above-mentioned custom rule engine. An example of the overall judgment rule is that if one sub-result is unqualified, then the overall result is unqualified; if the sub-results are basically qualified and fully qualified, and there is no unqualified, then the overall result is basically qualified; if all sub-results are fully qualified, then the overall result is fully qualified. It can be understood as "lower rather than higher". Of course, the overall judgment rule can also be set according to the needs of those skilled in the art. The above is only an example.
[0065] Step S150 , generating a final evaluation result of a project to be evaluated based on the comprehensive evaluation result and the intermediate evaluation result of the project to be evaluated, thereby realizing automatic evaluation of each project to be evaluated.
[0066] In one embodiment, a final evaluation result of a project to be evaluated is generated based on a comprehensive evaluation result and an intermediate evaluation result of the project to be evaluated, including: generating an evaluation result overview content according to the comprehensive evaluation result of the project to be evaluated and each sub-result in the intermediate evaluation result; determining abnormal items according to the sub-results in the intermediate evaluation result, and generating abnormal item description content of the abnormal items according to abnormal item description rules corresponding to the abnormal items; generating a final evaluation result of the project to be evaluated based on the evaluation result overview content and all abnormal item description contents.
[0067] The evaluation result overview can be a comprehensive display of all results, that is, there are comprehensive evaluation results and sub-results of each dimension in the intermediate evaluation results. Technical personnel in this field can use this overview to summarize the general execution of the project. Then, for the dimensions corresponding to the sub-results that are not all qualified, they are taken as abnormal items. Each type of abnormal item has a corresponding abnormal item description template (abnormal item description rule) set in advance. The abnormal item description content is obtained through the project evaluation content corresponding to the abnormal item, so as to know which specific sub-items of the project to be evaluated have what kind of abnormalities. This can save users' time and there is no need to get the source data for self-analysis.
[0068] In one embodiment, after generating a final evaluation result of a project to be evaluated based on a comprehensive evaluation result and an intermediate evaluation result of the project to be evaluated, the method further includes: storing the final evaluation result of each project to be evaluated in a preset database for result display and / or result confirmation.
[0069] A final evaluation result of a project to be evaluated is generated based on the comprehensive evaluation result and the intermediate evaluation result of a project to be evaluated, and then the final evaluation result of each project to be evaluated can be obtained based on the above rules.
[0070] The evaluation of the project to be evaluated can be relatively frequent, and the data can be persisted to facilitate subsequent viewing. Of course, sometimes there are deviations in the data on the system, or in actual execution, some can be resolved through offline reporting. At this time, the final evaluation results persisted in the database can be retrieved, modified, and then stored. In addition, sometimes users may not trust the final evaluation results automatically evaluated by the system. The final evaluation results can also be called and then stored as the final version after confirmation by the user.
[0071] Continuing from the above embodiment, the method further includes, in response to a user confirmation instruction, calling the final evaluation result of the project to be confirmed and displaying it, and after the user confirms, marking the final evaluation result for confirmation.
[0072] Continuing from the above embodiment, the method further includes, in response to a user modification instruction, calling and displaying the final evaluation result of the project to be modified, receiving a user modification instruction, modifying the final evaluation result, and storing the modified final evaluation result in a database as a final version.
[0073] The automatic project evaluation method provided in the above embodiment responds to the project evaluation start instruction, obtains the initial project data of the project to be evaluated and converts it into project evaluation data, then creates and initializes the thread pool, and evaluates the project evaluation data of the project to be evaluated based on the preset project evaluation rules through the threads in the thread pool to obtain the preliminary evaluation results of each project to be evaluated, and then filters the preliminary evaluation results according to the preset result filtering rules corresponding to the project to be evaluated to obtain intermediate evaluation results, and then performs comprehensive evaluation to obtain comprehensive evaluation results, so that the final evaluation results of each project to be evaluated that needs to be evaluated can be obtained, and the automatic evaluation of the project is realized, and the automation of the whole process from the collection of initial project data to the preliminary evaluation of the project to the generation of the final evaluation result is realized, and the automatic evaluation of the project in batches can be supported, which is more efficient and more accurate.
[0074] In addition, the solution supports flexible adjustment of preset project evaluation rules and preset result filtering rules. The rules are flexible and variable, with strong scalability, and can meet the company's requirements for timeliness and accuracy of project evaluations such as project health scores.
[0075] Through data preloading, data preprocessing, data caching, task pooling and other technologies, batch concurrent execution of running tasks (project evaluation) is achieved, and the overall operating performance of the system is optimized. It has shown significant advantages in performance, accuracy, adaptability, cost, user experience and security. These advantages enable better satisfaction of user needs.
[0076] The following is an illustrative example of the project automatic evaluation method provided in the above embodiment. Figure 2 , Figure 2 This is a flow chart of a specific example of a method for automatic project evaluation in an embodiment of the present invention, taking the form of project health scoring as an example, combined with Figure 2As shown in the figure, the project health scoring is initiated by triggering methods such as timed triggering, and the project evaluation start instruction is generated at this time. The task scheduling center periodically executes the project health scoring task according to the configured time, such as cyclic execution at 12 noon every Thursday. Then, initialize the loading of project data and data preprocessing. For example, all real data (project initial data) such as basic project information, milestone node execution status, project process, etc. are initialized from the database and preloaded into the memory, and the data is extracted and converted into data format to obtain project evaluation data, which is convenient for subsequent rule execution. Create a project context. Build a project context environment and put the preprocessed project data into the memory collection to provide data support for the running thread task. For example: Project name: Unified SMS service platform project; Project type: Delivery project; Milestone node information: Planned project establishment time: 2024-05-06, actual project establishment time: 2024-05-06, contract signing: 2024-05-20, actual project establishment time: 2024-05-30. Create a project thread pool according to the size of the number of projects (number of projects). Create and initialize a thread pool of the corresponding size according to the size of the number of projects, specify the number of core threads and the maximum number of threads, so as to reduce the performance consumption of frequent thread creation. For example, 100 projects = the thread pool initialization setting size is 100, 10 core threads = 10 project threads concurrently execute the running task. To execute the running task (project-level thread), you can use a multi-threaded approach, and multiple projects concurrently execute all the rules of the full health. For example: 10 core threads = 10 project threads concurrently execute the running task. After completing a project thread, an unexecuted project thread is automatically reallocated until all project threads are executed. After completing the running task, load the context data into the created project context, and then you can load the preliminary evaluation results into the project context environment. The execution of the running task through threads can include project progress rule determination, project quality rule determination, and project cost rule determination, and the final result returns the preliminary evaluation result. Among them, the project progress rule determination, for example, executes the project progress rule determination based on the real milestone data and process data of a single project to determine whether the progress is delayed. Project quality rule determination, for example, the person in charge regularly maintains the project quality score in the system, and executes the project quality rule determination based on the comprehensive quality management score of the individual project to determine whether the quality score meets the standard. Project cost rule determination can determine whether the actual cost exceeds the planned cost. For example, all process data of the current project is loaded from the context to execute project rule determination (cost, progress, quality, etc.). Running score result filtering can filter the results according to the enabled rules configured in the dictionary and retain the data of the enabled rules. For example, the progress rule is disabled and the results of rules that do not need to be executed are filtered out. Overall project rule determination, such as scoring the project progress based on the comprehensive progress, quality, and progress indicator scores. The overall project score = one yellow gets yellow, one red gets red.Comprehensively judge the sub-items of the rule. If a yellow light appears on the sub-item, the overall project will get a yellow light. If a red light appears on the sub-item, the overall project will get a red light. Assemble the project health result data, and assemble the results of the rule's abnormal items, abnormal descriptions, and lighted items. For example, the overall project score = red light, abnormal items = project progress - contract signing time extension, abnormal description = progress rule contract signing extension exceeds 5 natural days. An example data structure is as follows:.
[0077] Project Name: Unified SMS Service Platform Project
[0078] Running results: {Overall score code: red light, sub-item score code: {Progress code: red light, Quality code: green light, Cost code: green light}
[0079] Abnormal items: {Abnormal items: Project progress - contract signing time extension, abnormal item description: Progress rule contract signing extension exceeds 5 natural days}
[0080] Finally, the project health results are stored in the database, and the user management terminal displays the results and confirms them.
[0081] Here is an example scoring rule:
[0082] 1. Project progress
[0083] Milestone Extension
[0084] If there is a delay, is the delay at the current node only due to Party A's reasons?
[0085] ●If yes, project = green light
[0086] ●If no, item = yellow light
[0087] For example: If there is no delay in the current milestone node of the project, the green light is turned on. If the milestone is delayed, determine whether it is due to Party A. If so = green light, if not = yellow light
[0088] Contract signing time
[0089] If the contract signing time is not extended, the project = green light
[0090] ●Node extension, but no more than 5 calendar days (inclusive), project = yellow light
[0091] ● If the node is delayed for more than 5 calendar days (inclusive), the project will be in red.
[0092] 2. Is the project cost overrun?
[0093] The actual cost exceeds the planned cost
[0094] Yes = Red light
[0095] No = Green light
[0096] 3. Project quality rating:
[0097] ●Less than 60 points, item = red light
[0098] ●60≤n<80 points, item = yellow light
[0099] ●80 points or above, project = green light
[0100] 4. Other rules
[0101] The rules can be expanded and adjusted according to actual conditions, that is, the above-mentioned lighting methods, lighting colors, and specific scoring rules can be adjusted according to the needs of technical personnel in this field.
[0102] Combination Figure 3 As shown, Figure 3 304, an intermediate evaluation module 304, and a final evaluation module 305, wherein: the acquisition module 301 is used to respond to a project evaluation start instruction, obtain the project initial data of the project to be evaluated, and convert the project initial data of each project to be evaluated into project evaluation data; the thread creation module 302 is used to determine the number of core threads and the maximum number of threads according to the number of projects to be evaluated, and create and initialize a thread pool; the task execution module 303 is used to complete the creation and initialization of the thread pool, and then, based on a preset project evaluation rule, perform task execution. The project evaluation data of the project to be evaluated is evaluated by the threads in the thread pool to obtain a preliminary evaluation result of each project to be evaluated; the intermediate evaluation module 304 is used to filter the preliminary evaluation result of a project to be evaluated according to a preset result filtering rule corresponding to a project to be evaluated to obtain an intermediate evaluation result of the project to be evaluated, and to comprehensively evaluate the intermediate evaluation result of the project to be evaluated to obtain a comprehensive evaluation result of the project to be evaluated, thereby obtaining an intermediate evaluation result and a comprehensive evaluation result of each project to be evaluated; the final evaluation module 305 is used to generate a final evaluation result of a project to be evaluated based on the comprehensive evaluation result and the intermediate evaluation result of the project to be evaluated, thereby realizing automatic evaluation of each project to be evaluated.
[0103] In one embodiment, the device also includes a context creation module, which is used to obtain the current number of threads in the thread pool after creating and initializing the thread pool, create a context environment for each project to be evaluated corresponding to the current number of threads, and store the project evaluation data in the corresponding project context environment; and store the preliminary evaluation results of the project to be evaluated in the corresponding project context environment.
[0104] In one embodiment, the task execution module is configured as follows: if the number of core threads is less than the number of projects, the project evaluation data of the projects to be evaluated of the number of core threads are called separately through the threads in the thread pool, and the preset project evaluation rules are executed in parallel through multiple threads; when a thread completes the evaluation of a project to be evaluated, an idle thread is obtained, and the evaluation of the remaining unevaluated project to be evaluated is executed through the idle thread until the evaluation of all the projects to be evaluated is completed, so as to obtain the preliminary evaluation results of each project to be evaluated.
[0105] In one embodiment, the task execution module is further configured to: perform a project progress assessment according to preset project progress assessment rules based on the project real milestone data and project process data of a project to be assessed, and obtain a project progress assessment result; perform a project quality assessment according to preset project quality assessment rules based on the project quality evaluation data of a project to be assessed, and obtain a project quality assessment result; perform a project quality assessment according to preset project cost assessment rules based on the project cost evaluation data of a project to be assessed, and obtain a project cost assessment result; determine a preliminary assessment result of a project to be assessed based on at least one of the project progress assessment result, the project quality assessment result and the project cost assessment result; wherein the project assessment data includes the project real milestone data, the project process data, the project quality evaluation data, and the project cost evaluation data.
[0106] In one embodiment, the intermediate evaluation module is configured to: match a project to be evaluated to obtain a corresponding preset result filtering rule, where the preset result filtering rule is stored in a pre-configured data dictionary; filter the preliminary evaluation results according to the preset result filtering rule, and use the filtered preliminary evaluation results as the intermediate evaluation results of a project to be evaluated.
[0107] Continuing from the above embodiment, the intermediate evaluation module is further configured as follows: if at least one sub-result in the intermediate evaluation result is unqualified, the comprehensive evaluation result is determined to be unqualified; if at least one sub-result in the intermediate evaluation result is basically qualified, and there is no unqualified sub-result in the sub-results of the intermediate evaluation result, the comprehensive evaluation result is determined to be basically qualified.
[0108] In one embodiment, the final evaluation module is configured to generate an evaluation result overview content based on the comprehensive evaluation results of a project to be evaluated and each sub-result in the intermediate evaluation results; determine abnormal items based on the sub-results in the intermediate evaluation results, and generate abnormal item description content of the abnormal items based on the abnormal item description rules corresponding to the abnormal items; and generate a final evaluation result of a project to be evaluated based on the evaluation result overview content and all abnormal item description contents.
[0109] In one embodiment, the device also includes a storage module, which is used to generate a final evaluation result of a project to be evaluated based on a comprehensive evaluation result and an intermediate evaluation result of the project to be evaluated. After obtaining the final evaluation result of each project to be evaluated, the final evaluation result of each project to be evaluated is stored in a preset database for result display and / or result confirmation.
[0110] In one embodiment, the device further includes an account authorization center, which is used to enable the qualification of obtaining corresponding project initial data through a preliminary authorization operation before responding to the project evaluation start instruction.
[0111] The project automatic evaluation device provided by the embodiment of the present disclosure responds to the project evaluation start instruction, obtains the project initial data of the project to be evaluated and converts it into project evaluation data, then creates and initializes the thread pool, and evaluates the project evaluation data of the project to be evaluated through the threads in the thread pool based on the preset project evaluation rules to obtain the preliminary evaluation results of each project to be evaluated, and then filters the preliminary evaluation results according to the preset result filtering rules corresponding to the project to be evaluated to obtain intermediate evaluation results, and then performs comprehensive evaluation to obtain comprehensive evaluation results, so that the final evaluation results of each project to be evaluated that needs to be evaluated can be obtained, and the automatic evaluation of the project is realized, and the automation of the whole process from the collection of initial project data to the preliminary evaluation of the project to the generation of the final evaluation result is realized, and the automatic evaluation of the project in batches can be supported, which is more efficient and more accurate.
[0112] For the specific definition of the automatic project evaluation device, please refer to the definition of the automatic project evaluation method above, which will not be repeated here. Each module in the above-mentioned automatic project evaluation device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory in the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0113] In this embodiment, the project automatic evaluation device is essentially provided with multiple modules for executing the project automatic evaluation method in any of the above embodiments. The specific functions and technical effects can be referred to the above embodiments and will not be repeated here.
[0114] An embodiment of the present disclosure further provides an electronic device, including: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes a method provided in any of the above embodiments.
[0115] Combination Figure 4 As shown, Figure 4 The present invention is a structural diagram of a project automatic evaluation system in an embodiment of the present invention. The present invention discloses an automatic project evaluation system 400, including: a task scheduling center 401, which is used to configure the trigger time strategy of the project evaluation start instruction, so as to trigger the generation of the project evaluation start instruction according to the trigger time strategy, and send the generated project evaluation start instruction to the background server; a background server 402, including a core background server, a custom rule engine, a task executor and a data integrator, the task executor includes a context module, a data loader and a thread pool, the data loader is used to receive the project evaluation start instruction, and in response to the project evaluation start instruction, obtain the project initial data of the project to be evaluated from the preset database, and convert the project initial data of each project to be evaluated into project evaluation data, and cache all the project evaluation data in the context module according to the project dimension; the thread pool determines the core thread number and the maximum thread number according to the number of projects to be evaluated, and creates and initializes the thread pool. After the thread pool is created and initialized, the project evaluation data of the project to be evaluated is evaluated by the threads in the thread pool based on the preset project evaluation rules of the custom rule engine, and each project to be evaluated is obtained. The data integrator is used to filter the preliminary evaluation results of a project to be evaluated according to the preset result filtering rules corresponding to the project to be evaluated, obtain the intermediate evaluation results of the project to be evaluated, conduct comprehensive evaluation on the intermediate evaluation results of the project to be evaluated, obtain the comprehensive evaluation results of the project to be evaluated, and then obtain the intermediate evaluation results and comprehensive evaluation results of each project to be evaluated, and generate the final evaluation results of the project to be evaluated based on the comprehensive evaluation results and intermediate evaluation results of the project to be evaluated, obtain the final evaluation results of each project to be evaluated, and store the final evaluation results in a preset database; the core background server is used to provide a service interface for the user management end, and based on at least one of the result query request, result confirmation request or result change request of the user management end, obtain the final evaluation results of the project to be evaluated from the preset database and send it to the user management end; the user management end 403 includes a result management module and / or a data dictionary management module, the result management module is used to perform at least one of result query, result confirmation or result change on the final evaluation results of the project to be evaluated, and the data dictionary management module is used to configure the preset result filtering rules corresponding to the project to be evaluated.
[0116] For the specific definition of the automatic project evaluation system, please refer to the definition of the automatic project evaluation method above, which will not be repeated here. Each module in the above-mentioned automatic project evaluation system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory in the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0117] In this embodiment, the background server in the project automatic evaluation system is actually provided with multiple modules for executing the project automatic evaluation method in any of the above embodiments. The specific functions and technical effects can be referred to the above embodiments and will not be repeated here.
[0118] Combination Figure 5 As shown, Figure 5 FIG. 1 is a schematic diagram of a specific structure of an automatic project evaluation system in an embodiment of the present invention. Figure 5As shown, the system includes a task scheduling center, an account authority center, a user side (user management end), a background service and a database. The user side includes a WEB user management end, which includes a delivery project health list, a R&D project health list, and data dictionary management, which can be managed by at least one of the system administrator or PMO (Program Management Office). It can be used for the delivery / R&D project health management function to provide project health result query, result export, result confirmation, etc. (health result query, result confirmation & change). Data dictionary management (data dictionary configuration): Provide running score rule configuration and status (enable / disable). The above functions can be achieved by sending an http request to the core background service of the background service and the core background service feedback http response. The account authority center can authorize the background service to call data based on the authentication authorization of the user side. The task scheduling center can configure the time strategy and schedule the task executor to perform project evaluation. For example, the trigger time strategy of the project evaluation start instruction can be configured to trigger the generation of the project evaluation start instruction according to the trigger time strategy, and send the generated project evaluation start instruction to the background server. A centralized task scheduling service is implemented to periodically initiate scheduling and execution tasks according to the configured time strategy. For example: configure the delivery of project health scores on the management page at 12 noon every Thursday. The backend service (backend server) includes the core backend server, custom rule engine, task executor and data integrator. The task executor includes context module, data loader and thread pool. The task executor is implemented based on pooling technology (thread pool), context, data loader (preloading & preprocessing), project-level tasks (thread level) and other technologies. Upon receiving the task scheduling request (project evaluation start instruction) initiated by the task scheduling center, the data loader will query all project information (project initial data) from the database. The loaded data is preprocessed (the required data fields are loaded and converted according to the predetermined data format to obtain the project evaluation data), and cached in the context according to the project dimension to facilitate the rapid loading and use of subsequent business. The thread pool for project health scoring is dynamically created according to the number of projects to reduce the performance consumption of the system by creating and destroying threads for project health scoring tasks. Multiple projects can execute the scoring tasks in batches concurrently at the same time to improve the efficiency of the health scoring tasks. The project-level task thread is responsible for executing the health score calculation logic of a single project. The custom rule engine uses a high cohesion and low coupling design to build a service that focuses on rule execution judgment, separates the business and rules, and facilitates the flexible configuration and expansion of subsequent rules. The custom rule engine is mainly responsible for the three steps of data input, judgment, and result output. Enter the project process data (project evaluation data) and then make rule judgments based on custom rules to complete rule execution.The lighting situation is obtained based on the result of rule execution, and the lighting situation is output to the task executor. The custom rule engine is initialized in advance through custom rules, and the custom rules include but are not limited to project progress rules, project quality rules, project cost rules and overall judgment rules. Project progress rules, project quality rules, and project cost rules can be understood as detailed rules for rule judgment to generate sub-results. The overall judgment rules can be understood as overall rules for comprehensive evaluation. An example overall rule can be: yellow gets yellow, and red gets red. After the task executor obtains the output lighting situation (the judgment of this process can refer to the scoring rules of the example of the above embodiment, which will not be repeated here), the result is generated through the data integrator. Each rule will maintain a corresponding abnormal item dictionary configuration (data dictionary configuration) in the background. According to the running results of the project, the abnormal items and abnormal item description result data are dynamically assembled and the results are stored in the database. The data integrator loads the abnormal item dictionary configuration, and the database returns the result data, which includes the project health results assembled according to the rules + lighting results + dictionary configuration to obtain the final evaluation results. Then the data integrator returns the final evaluation results to the task executor, and the task executor stores the final evaluation results in the database (preset database) for result data storage. The preset database can include two independent sub-databases, one sub-database for storing initial project data, and one sub-database for storing project evaluation results such as final evaluation results. The preset database can be a database, and the initial project data and final evaluation results and other project evaluation results are stored in different tables. Data can be stored in the preset database through data caching and data persistence, and the two are in a two-way write relationship. The core background service is used for core business logic processing, providing service interfaces to the WEB user management end, logical control of the entire project health running process, etc., querying or persisting data from the database based on the request of the WEB user management end, and feeding back the request results to the WEB user management end. For example, if the WEB user management terminal sends a health result query request, then the database is queried to obtain the health result (final evaluation result), and the final evaluation result is fed back to the WEB user management terminal. If the WEB user management terminal sends a result confirmation and / or result change request, then the database is instructed to persist the data so that the final evaluation result is persistently stored.
[0119] The following is an exemplary application case combined with a specific application scenario. System administrator: Configure a delivery project health score task in the system management background, the time is 12:00 every Thursday. System background (also known as background service): The task scheduling center will automatically initiate a score task schedule at 12:00 every Thursday. After receiving the score task schedule, the task executor will first initiate a request to the data loader. The data loader will query the delivery project data (project initial data) required for health score from the database and format the data to obtain project evaluation data. Dynamically create a project context (Context) to store the pre-processed project evaluation data to provide support for subsequent scoring. Secondly, dynamically create a thread pool of project data size according to the number of queried projects. Each thread in the thread pool corresponds to a project-level health score task. For example: if 100 delivery projects are queried, the task executor will dynamically create a thread pool of 100. Secondly, execute all loaded delivery projects by traversal. Each health score task will fully execute the project cost, project quality, project progress and its sub-rules, and store the score results in the context. For example, an exemplary context data structure is as follows:
[0120] {
[0121] Project Name: Unified SMS Service Platform Project
[0122] Project Type: Delivery Project
[0123] Milestone node information:
[0124] {Planned project launch time: 2024-05-06, actual project launch time: 2024-05-06},
[0125] {Contract signing: 2024-05-20, actual project establishment time: 2024-05-30}
[0126] },
[0127] Project cost data:
[0128] Planned cost: 200,000 yuan, actual cost: 150,000 yuan
[0129] },
[0130] Project quality data:
[0131] GQC score: 60
[0132] }
[0133] }
[0134] An example of rule determination is as follows:
[0135] Project progress - Milestone node extension judgment: planned project launch time = actual project launch time, the judgment result is green light.
[0136] Project progress - Determination of contract signing time: If the contract signing time is less than the actual project establishment time and exceeds 5 working days, the judgment result is red light.
[0137] Project cost judgment: planned cost > actual cost, the judgment result is green light.
[0138] Project quality: GQC score = 60 points, the judgment result is yellow light.
[0139] Secondly, the result filtering task executor will filter the disabled rule results according to the global configuration of the background configuration. Since the background configuration disables the project quality scoring rule, the project quality scoring results are filtered out before the overall rule judgment. The overall rule judgment of the project level is executed according to all the rules, based on the rule judgment of one yellow gets yellow and one red gets red. For example, the project progress-contract signing extension score is red, so the overall health of the project is red.
[0140] An exemplary data structure for result assembly and storage is as follows:
[0141] Project Name: Unified SMS Service Platform Project
[0142] Running results: {Overall score code (ztdf): red light, sub-item score code: {Contract signing (htqy): red light, cost code (cb): green light}
[0143] Abnormal items: {Abnormal items: Project progress - contract signing time extension, abnormal item description: Progress rule contract signing time extension exceeds 5 natural days}.
[0144] Figure 6 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 6 The computer system 1000 of the electronic device shown is only an example and should not bring any limitation to the functions and application scope of the embodiments of the present application.
[0145] like Figure 6As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1002 or the program loaded from the storage part 1008 to the random access memory (RAM) 1003, such as executing the method in the above embodiment. In the RAM 1003, various programs and data required for system operation are also stored. The CPU 1001, the ROM 1002 and the RAM 1003 are connected to each other through the bus 1004. The I / O (Input / Output) interface 1005 is also connected to the bus 1004.
[0146] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.
[0147] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1009, and / or installed from a removable medium 1011. When the computer program is executed by a central processing unit (CPU) 1001, various functions defined in the system of the present application are executed.
[0148] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0149] The electronic device disclosed in this embodiment includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run the computer program so that the electronic device executes each step of the above method.
[0150] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0151] The above description and accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible changes only. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. Parts and subsamples of some embodiments may be included in or replace parts and subsamples of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of a stated sub-sample, whole, step, operation, element, and / or component, but do not exclude the presence or addition of one or more other sub-samples, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0152] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. Technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. Technicians can clearly understand that for the convenience and simplicity of description, the specific working process of the systems, devices and units described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0153] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some sub-samples can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0154] The flowchart and block diagram in the accompanying drawings show the possible architecture, functions and operations of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A project automatic evaluation method, characterized in that: The project automatic evaluation method comprises: In response to a project evaluation initiation instruction, obtaining initial project data of the project to be evaluated, and converting the initial project data of each project to be evaluated into project evaluation data; Determine the number of core threads and the maximum number of threads according to the number of projects to be evaluated, and create and initialize a thread pool; After the thread pool is created and initialized, the project evaluation data of the project to be evaluated is evaluated by the threads in the thread pool based on the preset project evaluation rules to obtain the preliminary evaluation results of each project to be evaluated; Filtering the preliminary evaluation results of a project to be evaluated according to a preset result filtering rule corresponding to the project to be evaluated to obtain an intermediate evaluation result of the project to be evaluated, performing a comprehensive evaluation on the intermediate evaluation results of the project to be evaluated to obtain a comprehensive evaluation result of the project to be evaluated, and further obtaining the intermediate evaluation results and comprehensive evaluation results of each project to be evaluated; A final evaluation result of a project to be evaluated is generated based on the comprehensive evaluation result and the intermediate evaluation result of the project to be evaluated, thereby realizing automatic evaluation of each project to be evaluated.
2. The project automatic evaluation method according to claim 1, characterized in that: After creating and initializing the thread pool, the method further includes: Obtaining the current number of threads in the thread pool, creating a context environment for each of the projects to be evaluated corresponding to the current number of threads, and storing the project evaluation data in the corresponding project context environment respectively; And, the preliminary evaluation result of the project to be evaluated is stored in the corresponding project context environment.
3. The project automatic evaluation method according to claim 1, characterized in that: Based on the preset project evaluation rules, the project evaluation data of the project to be evaluated is evaluated through the threads of the thread pool to obtain the preliminary evaluation results of each project to be evaluated, including: If the number of core threads is less than the number of projects, the project evaluation data of the projects to be evaluated of the number of core threads are respectively called through the threads in the thread pool, and the preset project evaluation rules are executed in parallel through multiple threads; When a thread completes the evaluation of an item to be evaluated, an idle thread is obtained, and the evaluation of the remaining unevaluated item to be evaluated is performed by the idle thread until all the items to be evaluated are evaluated, so as to obtain a preliminary evaluation result of each item to be evaluated.
4. The project automatic evaluation method according to claim 1, characterized in that: The project evaluation data of a project to be evaluated is evaluated through a thread based on a preset project evaluation rule to obtain a preliminary evaluation result of the project to be evaluated, including: Performing a project progress assessment according to the real project milestone data and project process data of the project to be assessed in accordance with a preset project progress assessment rule to obtain a project progress assessment result; Performing a project quality assessment according to the project quality assessment data of the project to be assessed and in accordance with a preset project quality assessment rule to obtain a project quality assessment result; Performing a project quality assessment according to the project cost assessment data of the project to be assessed and in accordance with a preset project cost assessment rule to obtain a project cost assessment result; Determine a preliminary evaluation result of the project to be evaluated based on at least one of the project progress evaluation result, the project quality evaluation result and the project cost evaluation result; The project evaluation data includes real project milestone data, project process data, project quality evaluation data, and project cost evaluation data.
5. The project automatic evaluation method according to claim 1, characterized in that: The preliminary evaluation result of a project to be evaluated is filtered according to a preset result filtering rule corresponding to the project to be evaluated to obtain an intermediate evaluation result of the project to be evaluated, including: Matching the one item to be evaluated to obtain a corresponding preset result filtering rule, wherein the preset result filtering rule is stored in a pre-configured data dictionary; The preliminary evaluation result is filtered according to the preset result filtering rule, and the filtered preliminary evaluation result is used as the intermediate evaluation result of the one to-be-evaluated project.
6. The project automatic evaluation method according to any one of claims 1 to 5, characterized in that: Comprehensively evaluating the intermediate evaluation results of the project to be evaluated to obtain a comprehensive evaluation result of the project to be evaluated, including: If at least one sub-result in the intermediate evaluation result is unqualified, the comprehensive evaluation result is determined to be unqualified; If at least one sub-result in the intermediate evaluation result is basically qualified, and there is no unqualified sub-result in the sub-results of the intermediate evaluation result, the comprehensive evaluation result is determined to be basically qualified.
7. The project automatic evaluation method according to any one of claims 1 to 5, characterized in that: Generating a final evaluation result of a project to be evaluated based on the comprehensive evaluation result and the intermediate evaluation result of the project to be evaluated includes: Generate an evaluation result overview content according to the comprehensive evaluation result of the project to be evaluated and each sub-result in the intermediate evaluation result; Determine an abnormal item according to the sub-results in the intermediate evaluation result, and generate abnormal item description content of the abnormal item according to an abnormal item description rule corresponding to the abnormal item; A final evaluation result of the item to be evaluated is generated based on the evaluation result overview content and all abnormal item description contents.
8. The project automatic evaluation method according to any one of claims 1 to 5, characterized in that: After generating a final evaluation result of a project to be evaluated based on the comprehensive evaluation result and the intermediate evaluation result of the project to be evaluated, the method further includes: The final evaluation results of each project to be evaluated are stored in a preset database for result display and / or result confirmation.
9. A project automatic evaluation device, characterized in that: The project automatic assessment device comprises: An acquisition module is used to acquire the initial project data of the project to be evaluated, and convert the initial project data of each project to be evaluated into project evaluation data; A thread creation module, used to determine the number of core threads and the maximum number of threads according to the number of projects to be evaluated, and to create and initialize a thread pool; The task execution module is used to complete the creation and initialization of the thread pool, and then evaluate the project evaluation data of the project to be evaluated through the threads in the thread pool based on the preset project evaluation rules to obtain the preliminary evaluation results of each project to be evaluated; An intermediate evaluation module is used to filter the preliminary evaluation results of a project to be evaluated according to a preset result filtering rule corresponding to the project to be evaluated to obtain an intermediate evaluation result of the project to be evaluated, perform a comprehensive evaluation on the intermediate evaluation results of the project to be evaluated to obtain a comprehensive evaluation result of the project to be evaluated, and further obtain an intermediate evaluation result and a comprehensive evaluation result of each project to be evaluated; The final evaluation module is used to generate a final evaluation result of a project to be evaluated based on the comprehensive evaluation result and the intermediate evaluation result of the project to be evaluated, so as to realize automatic evaluation of each project to be evaluated.
10. A project automatic evaluation system, characterized in that: The project automatic assessment system comprises: The task scheduling center is used to configure the trigger time strategy of the project evaluation start instruction, so as to trigger the generation of the project evaluation start instruction according to the trigger time strategy, and send the generated project evaluation start instruction to the background server; The backend service end includes a core backend server, a custom rule engine, a task executor and a data integrator. The task executor includes a context module, a data loader and a thread pool. The data loader is used to receive the project evaluation start instruction, and in response to the project evaluation start instruction, obtain the project initial data of the project to be evaluated from a preset database, and convert the project initial data of each project to be evaluated into project evaluation data, and cache all the project evaluation data in the context module according to the project dimension; the thread pool determines the number of core threads and the maximum number of threads according to the number of projects to be evaluated, and creates and initializes the thread pool. After the thread pool is created and initialized, the project evaluation data of the project to be evaluated is evaluated through the threads in the thread pool based on the preset project evaluation rules of the custom rule engine to obtain the preliminary evaluation results of each project to be evaluated; the data integrator is used to The preliminary evaluation results of the project to be evaluated are filtered according to the preset result filtering rules corresponding to the project to be evaluated to obtain the intermediate evaluation results of the project to be evaluated, the intermediate evaluation results of the project to be evaluated are comprehensively evaluated to obtain the comprehensive evaluation results of the project to be evaluated, and then the intermediate evaluation results and the comprehensive evaluation results of each project to be evaluated are obtained, and the final evaluation results of the project to be evaluated are generated based on the comprehensive evaluation results and the intermediate evaluation results of the project to be evaluated to obtain the final evaluation results of each project to be evaluated, and the final evaluation results are stored in the preset database; the core background server is used to provide a service interface for the user management terminal, and based on at least one of the result query request, result confirmation request or result change request of the user management terminal, the final evaluation result of the project to be evaluated is obtained from the preset database and sent to the user management terminal; The user management end includes a result management module and / or a data dictionary management module. The result management module is used to perform at least one of result query, result confirmation or result change on the final evaluation result of the evaluation project. The data dictionary management module is used to configure the preset result filtering rules corresponding to the evaluation project.
