Requirement Resource Determination Method, Apparatus, Electronic Device, and Storage Medium
Through the identification model and evaluation model, the problem of low efficiency and accuracy of demand resource determination is solved, efficient and accurate demand resource evaluation is achieved, and labor costs are reduced.
Patent Information
- Application Number
- CN202410383207.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2044-03-29
AI Technical Summary
In product delivery scenarios, the efficiency and accuracy of the resource determination in the prior art are low, resulting in high cost and insufficient accuracy of manual evaluation.
By identifying models and evaluating models, the deviation functions in the pending document are automatically identified, and the resources required are determined based on the complexity and relevance of the deviation functions, and the accuracy and efficiency of identification and evaluation are improved.
It realizes intelligent identification of deviated functions and efficient and accurate assessment of required resources, reduces labor costs, and improves the accuracy and efficiency of required resources determination.
Smart Images

Figure CN118152539B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, especially in the field of artificial intelligence such as deep learning and natural language processing. Specifically, it relates to a method, device, electronic device and storage medium for determining required resources. Background Art
[0002] In the product delivery scenario, determining the required resources for requirements occupies an important part of the delivery scenario, and this stage can be called the pre-sales evaluation stage. The efficiency and accuracy of determining required resources will affect the decisions and investment costs of the product side. Summary of the Invention
[0003] This application provides a method, device, electronic device and storage medium for determining required resources.
[0004] According to one aspect of this application, a method for determining required resources is provided, including:
[0005] In response to receiving a deviation function recognition request for a document to be processed sent by a client, perform deviation function recognition on the document to be processed to determine the deviation function corresponding to the document to be processed; wherein, the deviation function refers to a new function described in the document to be processed compared with the basic function of the target product;
[0006] Send the deviation function to the client;
[0007] Receive a required resource determination request for the deviation function sent by the client;
[0008] Perform required resource determination on the deviation function to determine a first required resource determination result for the deviation function;
[0009] Send the first required resource determination result to the client.
[0010] According to another aspect of this application, a method for determining required resources is provided, including:
[0011] In response to detecting a trigger operation on a deviation function recognition control for a document to be processed, send a deviation function recognition request for the document to be processed to a server;
[0012] Receive the deviation function corresponding to the document to be processed sent by the server and display the deviation function;
[0013] In response to detecting a trigger operation on an evaluation control for the deviation function, send a required resource determination request to the server;
[0014] Receive the first requirement resource determination result of the deviation function sent by the server, and display the first requirement resource determination result.
[0015] According to one aspect of the present application, a requirement resource determination device is provided, including:
[0016] An identification module, configured to, in response to receiving a deviation function identification request for a document to be processed sent by a client, perform deviation function identification on the document to be processed to determine the deviation function corresponding to the document to be processed; wherein, the deviation function refers to a new function described in the document to be processed compared with the basic function of the target product;
[0017] A sending module, configured to send the deviation function to the client;
[0018] A receiving module, configured to receive a requirement resource determination request for the deviation function sent by the client;
[0019] An evaluation module, configured to perform requirement resource determination on the deviation function to determine the first requirement resource determination result of the deviation function;
[0020] The sending module is further configured to send the first requirement resource determination result to the client.
[0021] According to one aspect of the present application, a requirement resource determination device is provided, including:
[0022] A sending module, configured to, in response to detecting a trigger operation of a deviation function identification control for a document to be processed, send a deviation function identification request for the document to be processed to the server;
[0023] A receiving module, configured to receive the deviation function corresponding to the document to be processed sent by the server;
[0024] A display module, configured to display the deviation function;
[0025] The sending module is further configured to, in response to detecting a trigger operation of an evaluation control for the deviation function, send a requirement resource determination request to the server;
[0026] The receiving module is further configured to receive the first requirement resource determination result of the deviation function sent by the server;
[0027] The display module is further configured to display the first requirement resource determination result.
[0028] According to another aspect of the present application, an electronic device is provided, including:
[0029] At least one processor; and
[0030] A memory communicatively connected to the at least one processor; wherein,
[0031] The memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to execute the method described in the above embodiments.
[0032] According to another aspect of the present application, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method described in the above embodiments.
[0033] According to another aspect of the present application, there is provided a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the method described in the above embodiments are implemented.
[0034] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become easily understandable through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The drawings are used to better understand the solution and do not constitute a limitation to the present application. Among them:
[0036] Figure 1 It is a schematic flowchart of a method for determining required resources provided by an embodiment of the present application;
[0037] Figure 2 It is a schematic flowchart of a method for determining required resources provided by another embodiment of the present application;
[0038] Figure 3 It is a schematic flowchart of a method for determining required resources provided by another embodiment of the present application;
[0039] Figure 4 It is a schematic flowchart of a method for determining required resources provided by another embodiment of the present application;
[0040] Figure 5 It is a schematic structural diagram of a required resource evaluation system provided by an embodiment of the present application;
[0041] Figure 6 It is a schematic operation flowchart of a required resource evaluation system provided by an embodiment of the present application;
[0042] Figure 7 It is a schematic diagram of the training process of an identification model provided by an embodiment of the present application;
[0043] Figure 8Schematic structural diagram of a demand resource determination device provided by an embodiment of the present application;
[0044] Figure 9 Schematic structural diagram of a demand resource determination device provided by another embodiment of the present application;
[0045] Figure 10 It is a block diagram of an electronic device used to implement the demand resource determination method of the embodiment of the present application. Detailed implementation manners
[0046] The following describes exemplary embodiments of the present application with reference to the accompanying drawings. Various details of the embodiments of the present application are included to facilitate understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted below.
[0047] The following describes the demand resource determination method, device, electronic device, and storage medium of the embodiments of the present application with reference to the accompanying drawings.
[0048] In actual applications, companies often have mature standard products, but the real usage requirements or real technical protocol requirements of customers may be personalized, and the requirements often deviate from the basic functions of the standard products.
[0049] In some embodiments, the functions deviating from the standard products can be identified manually. It is necessary for humans to lead the reading of contract documents or technical requirement documents to identify the deviating functions, and conduct demand resource evaluation based on personal experience and cognition.
[0050] Since the specific deviating functions and the amount of demand resources are all evaluated by humans based on experience, the accuracy and efficiency of this deviating function identification method and demand resource determination method are relatively low.
[0051] Figure 1 Flow chart of a demand resource determination method provided by an embodiment of the present application.
[0052] The demand resource determination method of the embodiment of the present application can be executed by the demand resource determination device of the embodiment of the present application. This device can be configured in an electronic device and can be executed by the server to implement the evaluation function of the demand resources for the deviating functions.
[0053] Among them, the electronic device can be any device with computing capabilities, such as a personal computer, a mobile terminal, a server, etc. The mobile terminal can be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, etc., which are hardware devices with various operating systems, touch screens, and / or display screens.
[0054] As Figure 1 shown, the method for determining required resources includes:
[0055] Step 101, in response to receiving a deviation function recognition request for a document to be processed sent by a client, perform deviation function recognition on the document to be processed to determine the deviation function corresponding to the document to be processed.
[0056] Among them, the document to be processed can be a technical requirement document provided by a customer, or a technical protocol document, or a contract document, etc., and there is no limitation on this.
[0057] In practical applications, usually a company has mature standard products, but the real usage requirements of customers or the requirements of real technical protocols may be personalized and often deviate from the basic functions of the standard products.
[0058] In this application, the user can upload the document to be processed on the cost evaluation client and trigger the deviation function recognition control for the document to be processed. If the client detects the trigger operation of the user on the deviation function recognition control for the document to be processed, it can send a deviation function recognition request to the server, and thus the server can obtain the deviation function recognition request for the document to be processed.
[0059] Among them, the deviation function recognition request may include the identifier of the document to be processed. The identifier of the document to be processed can be, for example, the name of the document to be processed, or other identifiers that can uniquely identify the document to be processed, etc.
[0060] The server can perform deviation function recognition on the document to be processed according to the deviation function recognition request to determine the deviation function corresponding to the document to be processed.
[0061] Among them, the deviation function corresponding to the document to be processed may refer to the new function described in the document to be processed compared with the basic function of the target product. That is to say, the deviation function corresponding to the document to be processed refers to the new function required by the customer compared with the basic function of the target product. Here, the target product can refer to the standard product.
[0062] It can be understood that the deviation function corresponding to the document to be processed is the function described in the document to be processed but not possessed by the target product.
[0063] It should be noted that the deviation function can be one or more, and there is no limitation on this.
[0064] In this application, the server can obtain the basic functions of the target product, extract the required functions of the customer from the document to be processed, and determine the deviated functions based on the differences between the required functions and the basic functions. For example, the deviated functions can be determined by comparing the required functions with the basic functions. Thus, by comparing the basic functions of the target product with the functions required by the customer, the deviated functions in the functions required by the customer from the basic functions of the target product can be determined, thereby enriching the method for identifying deviated functions.
[0065] Exemplarily, based on the technical document of the target product, the basic functions of the target product can be obtained. Or, based on the function introduction of the target product, the basic functions of the target product can be obtained. Or, they can also be obtained by other means, which is not limited herein.
[0066] Exemplarily, the keywords related to function descriptions in the document to be processed can be identified, and the required functions of the customer can be extracted from the document to be processed based on the keywords. For example, the keywords can be "implement the following functions", "functions include", etc.
[0067] Exemplarily, the similarity between the required functions and the basic functions can be calculated. If the similarity is less than the preset threshold, the required function can be determined as a deviated function.
[0068] Step 102: Send the deviated functions to the client.
[0069] In this application, the server can send the deviated functions to the client, and the client can display the deviated functions.
[0070] Exemplarily, the server can generate a deviated function list according to the deviated functions and send the deviated function list to the client, so that the client can display the deviated function list in the form of a list. Among them, the deviated function list can include the deviated functions and the identifiers of the deviated functions. Among them, the identifier of the deviated function can be the number of the deviated function, or other identifiers that can uniquely identify the deviated function, which is not limited herein.
[0071] Exemplarily, if there are multiple deviated functions, the priorities of the multiple deviated functions can be determined, and a deviated function list can be generated according to the order of the priorities from high to low. Among them, the deviated function list can include the deviated functions, the identifiers of the deviated functions, etc., and can also include the priority information of the deviated functions.
[0072] Step 103: Receive the request for determining the required resources for the deviated functions sent by the client.
[0073] For the deviated functions, it is necessary to invest manpower in development based on the target product to meet the personalized requirements of the customer for the functions of the target product.
[0074] In this application, the user can trigger a requirement resource evaluation control corresponding to the deviation function on the client side. If the client detects an operation to trigger the evaluation control for the deviation function, it can send a requirement resource determination request to the server, and thus the server can receive the requirement resource determination request for the deviation function sent by the client.
[0075] Among them, the requirement resource determination request is used to request an evaluation of the requirement resources required for developing the deviation function, and the requirement resource determination request may include an identifier of the deviation function.
[0076] Step 104: Determine the requirement resources for the deviation function to obtain a first requirement resource determination result for the deviation function.
[0077] Among them, the first requirement resource determination result may include the resources required to complete the development of the deviation function.
[0078] In this application, the requirement resources for the deviation function may refer to the resources required to complete the development of the deviation function. Exemplarily, the requirement resources may be in person-days or person-hours levels, etc. For example, how many personnel and how many days are required to complete the development of the deviation function, or the labor cost can be further calculated based on the cost of personnel and the required duration, and the labor cost can be used as the requirement resources, etc., and this is not limited.
[0079] In addition, for personnel with different ability levels, the duration required to complete the development of the deviation function may be different. The requirement resources for a deviation function may include the number of personnel at different levels and the required duration, so as to be available for the user to select.
[0080] It should be noted that the level of the duration in the requirement resources may be in month level, day level, hour level, etc., or may be other time levels, and this is not limited.
[0081] In this application, the complexity of the deviation function can be determined according to the degree of association between the deviation function and the basic function of the target product, and the development difficulty of the deviation function can be determined according to the complexity of the deviation function. According to the development difficulty, the first requirement resource determination result of the deviation function can be determined. Among them, the greater the development difficulty, the greater the requirement resources.
[0082] For example, deviation function A may be a further improvement of the basic function of the target product, while deviation function B is a brand-new function. Then the complexity of deviation function B is higher than that of deviation function A. It can be considered that the development difficulty of deviation function B is higher than that of deviation function A, and thus the requirement resources of deviation function B are higher than those of deviation function A.
[0083] In this application, if there are multiple deviation functions, the demand resources for each deviation function can be determined one by one to obtain the demand resource determination results for each deviation function, or the demand resources for multiple deviation functions can also be determined in parallel. There is no limitation on this.
[0084] Step 105: Send the first demand resource determination result to the client.
[0085] In this application, the first demand resource determination result of the deviation function can be sent to the client, and the client can display the first demand resource determination result of the deviation function.
[0086] Exemplarily, the first demand resource determination result of the deviation function can be sent to the client in the form of a list, and thus the client can display the list of demand resource determination results.
[0087] In the embodiments of this application, when receiving a deviation function recognition request for a document to be processed, the deviation function of the document to be processed can be recognized to determine the deviation function corresponding to the document to be processed, and when receiving a demand resource determination request for the deviation function, the demand resources of the deviation function are determined to obtain the demand resource determination result of the deviation function, so that the deviation function can be intelligently recognized and the demand resources of the deviation function can be evaluated, improving the accuracy and efficiency of the deviation function and demand resource determination and reducing the labor cost.
[0088] Figure 2 It is a schematic flowchart of a demand resource determination method provided by another embodiment of this application. This demand resource determination method can be executed by the server.
[0089] As Figure 2 shown, this demand resource determination method includes:
[0090] Step 201: In response to receiving a deviation function recognition request for a document to be processed sent by the client, use an identification model to perform deviation function recognition on the document to be processed to determine the deviation function corresponding to the document to be processed.
[0091] In this application, the document to be processed can be input into the identification model to obtain the deviation function output by the identification model, so as to obtain the deviation function corresponding to the document to be processed.
[0092] In this application, a second data set can be obtained, where the second data set can include at least one sample document. The sample document is input into the initial identification model to obtain the estimated deviation function corresponding to the sample document, and according to the difference between the estimated deviation function and the actual deviation function corresponding to the sample document, the model loss is determined, and the initial identification model is trained according to the model loss until the identification model training end condition is met to obtain the evaluation model.
[0093] Among them, the sample document can be a technical document of a new product that has been developed based on the target product, or a technical requirement document or contract document provided by the customer to which the new product belongs, etc.
[0094] Among them, the actual deviation function can refer to the actually newly added function described in the sample document compared with the basic function of the target product.
[0095] Among them, the end condition for training the recognition model can be that the loss of the recognition model is less than the first preset threshold, or the number of training times of the recognition model is reached, or other conditions, which are not limited herein. Among them, the first preset threshold can be set according to actual needs, which is not limited herein.
[0096] Thus, a recognition model that can be used to recognize deviation functions can be obtained through training using the sample document.
[0097] Exemplarily, the recognition model can be a model adopting a Transformer architecture. Since the Transformer architecture has achieved great success in natural language processing, because it can process problem and context information simultaneously, thereby improving the efficiency of parallel computing.
[0098] Exemplarily, the sample document can be preprocessed, such as data cleaning, standardization, word segmentation, etc., to obtain data that meets the model input requirements, which can improve the training efficiency of the model.
[0099] Step 202: Send the deviation function to the client.
[0100] In this application, step 202 can adopt any implementation manner in the embodiments of this application, so it will not be elaborated herein.
[0101] Step 203: Receive a request for determining demand resources for the deviation function sent by the client.
[0102] In this application, step 203 can adopt any implementation manner in the embodiments of this application, so it will not be elaborated herein.
[0103] In this application, the client can display the deviation function returned by the server through a pop-up window. When the user triggers the deviation function confirmation control, the client can detect the trigger operation on the deviation function confirmation control and send a deviation function confirmation request to the server. The server receives the deviation function confirmation request and updates the deviation function predicted by the recognition model according to the deviation function to be confirmed in the deviation function confirmation request, so that the deviation function confirmed by the user can be saved in a timely manner.
[0104] Among them, the deviation function confirmation request can include the deviation function to be confirmed, the identifier of the deviation function to be confirmed, etc.
[0105] Exemplarily, the deviation function to be confirmed may be a deviation function sent by the server to the client, or a deviation function obtained by deleting, adding, or modifying the deviation function returned by the server, etc., which is not limited herein.
[0106] After the user completes the confirmation of the deviation function through the deviation function confirmation control, the user can trigger the requirement resource evaluation control corresponding to the deviation function. When the client detects the trigger operation on the deviation function confirmation control, the client sends a requirement resource determination request to the server. Thus, the server can receive the requirement resource determination request for the confirmed deviation function. Among them, the requirement resource determination request may include the identifier of the confirmed deviation function.
[0107] Thus, after the user completes the confirmation of the deviation function, the user can trigger the requirement resource evaluation control corresponding to the deviation function, so that the server can determine the requirement resources for the deviation function confirmed by the user, improving the accuracy of the requirement resource determination result.
[0108] Step 204: Determine the requirement resources for the deviation function to obtain the first requirement resource determination result of the deviation function.
[0109] In this application, step 204 may adopt any implementation manner in the embodiments of this application, so it will not be elaborated herein.
[0110] Step 205: Send the first requirement resource determination result to the client.
[0111] In this application, step 205 may adopt any implementation manner in the embodiments of this application, so it will not be elaborated herein.
[0112] In the embodiments of this application, by using an identification model to identify the deviation function in the document to be processed, the deviation function in the document to be processed can be automatically identified, which can improve the identification efficiency and accuracy and reduce the labor cost.
[0113] Figure 3 FIG. is a schematic flowchart of a requirement resource determination method provided in another embodiment of this application. This requirement resource determination method can be executed by the server.
[0114] As Figure 3 shown, this requirement resource determination method includes:
[0115] Step 301: In response to receiving a deviation function identification request for a document to be processed sent by the client, identify the deviation function in the document to be processed to determine the deviation function corresponding to the document to be processed.
[0116] In this application, step 301 may adopt any implementation manner in the embodiments of this application, so it will not be elaborated herein.
[0117] Step 302: Send the deviation function to the client.
[0118] In this application, step 302 can adopt any implementation manner in the various embodiments of this application, so it will not be elaborated here.
[0119] Step 303: Receive the request for determining the required resources for the deviation function sent by the client.
[0120] In this application, step 303 can adopt any implementation manner in the various embodiments of this application, so it will not be elaborated here.
[0121] Step 304: Use the evaluation model to determine the required resources for the deviation function to obtain the first result of determining the required resources for the deviation function.
[0122] In this application, a pre-trained evaluation model can be obtained, and the description information of the deviation function is input into the evaluation model to determine the required resources, so as to obtain the first result of determining the required resources for the deviation function output by the evaluation model.
[0123] Among them, the description information of the deviation function may refer to the text content describing the deviation function.
[0124] In this application, a first data set can be obtained. The first data set may include the description information of multiple basic functions of the target product, and the description information of the basic functions is input into the initial evaluation model to determine the required resources, so as to obtain the second result of determining the required resources for the basic functions. According to the difference between the second result of determining the required resources and the actual required resources of the basic functions, the model loss is determined. According to the model loss, the initial evaluation model is trained until the training end condition of the evaluation model is met to obtain the evaluation model.
[0125] Among them, the description information of the basic functions may refer to the text content describing the basic functions.
[0126] Exemplarily, based on the product function introduction document of the target product, a first data set can be obtained. For example, the description information of the basic functions of the target product can be obtained from the product function introduction document.
[0127] Among them, the product function introduction document may include, but is not limited to, the standard document of the target product, the function document of the target product, the detailed design document of the target product, the requirements specification of the target product, the operation manual of the target product, the training materials of the target product, the internal maintenance document of the target product, the historical project delivery document of the target product, etc.
[0128] Exemplarily, the training end condition of the evaluation model may be that the model loss of the evaluation model is less than a second preset threshold, or the number of training times of the evaluation model is reached, or other conditions, which are not limited herein. Among them, the second preset threshold can be set according to actual needs, which is not limited herein.
[0129] Thus, the basic functions of the target product can be utilized to obtain an evaluation model through training, which can be used to evaluate the resources deviating from the functional requirements.
[0130] Step 305: Send the first requirement resource determination result to the client.
[0131] In this application, step 305 can adopt any implementation manner in the embodiments of this application, so it will not be elaborated herein.
[0132] In the embodiments of this application, an evaluation model can be used to determine the requirement resources for the deviation function, so as to automatically evaluate the requirement resources for the deviation function, improve the efficiency of requirement resource determination, and make the requirement resource determination result more objective, thereby improving the accuracy of the requirement resource determination result.
[0133] In an embodiment of this application, the deviation function can be matched with the content in the document to be processed to determine the position information of the deviation function in the document to be processed, and the deviation function can be marked in the document to be processed according to the position information of the deviation function to obtain the marked document. Among them, the deviation function can be marked in a preset manner, such as bolding the deviation function or highlighting the deviation function with a specified color, etc.
[0134] Thus, by marking the deviation function in the document to be processed, it is convenient for the user to quickly find the deviation function from the document to be processed according to the mark.
[0135] Optionally, the user can download the marked document by triggering the document download control on the client. When the client detects the triggering operation on the document download control, it sends a document download request to the server. Thus, the server can receive the document download request and send the marked document to the client according to the document identifier in the document download request.
[0136] In an embodiment of this application, the user can modify or correct the deviation function displayed on the client. Then, when the client detects the editing operation of the user on any deviation function, it can obtain the first correction content of any deviation function. If it detects the triggering operation on the save control corresponding to the deviation function, it can send a first save request to the server. The server can receive the first save request and update any deviation function according to the first correction content in the first save request to save the modified deviation function.
[0137] Among them, the first save request may include the identifier of any deviation function, the first correction content, etc. Here, the first correction content may be the modified deviation function corresponding to any deviation function, or the content of the modified part of any deviation function, etc.
[0138] Thus, when the user saves the modified deviation function, the server can update the deviation function in a timely manner according to the correction content to save the latest deviation function, thereby ensuring the accuracy of the deviation function saved by the server.
[0139] In an embodiment of the present application, the user can modify or correct the determination result of the first requirement resources of the deviation function displayed on the client. Then, when the client detects an editing operation on the determination result of the first requirement resources of any deviation function, it can obtain the second correction content of the determination result of the first requirement resources of any deviation function. If it detects a trigger operation on the save control for the determination result of the requirement resources corresponding to any deviation function, it can send a second save request to the server. Thus, the server can receive the second save request and update the determination result of the first requirement resources of any deviation function according to the second correction content to save the modified determination result of the requirement resources of any deviation function.
[0140] Among them, the second save request may include the identifier of any deviation function, the second correction content, etc. Here, the second correction content may be the modified determination result of the requirement resources, or the content of the modified part in the first determination result of the requirement resources, etc.
[0141] For example, the determination result of the first requirement resources of a certain deviation function may include the number of personnel and the number of days required to complete the development of the deviation function, and the second correction content may be the modified number of days.
[0142] Thus, when the user saves the modified determination result of the requirement resources of the deviation function, the server can update the determination result of the requirement resources in a timely manner according to the correction content corresponding to the determination result of the requirement resources to save the latest determination result of the requirement resources, thereby improving the accuracy of the determination result of the requirement resources saved by the server.
[0143] In an embodiment of the present application, the client can display the determination result of the requirement resources of the deviation function returned by the server through a pop-up window. When the user triggers the requirement resource confirmation control, the client can detect the trigger operation on the requirement resource confirmation control and send a requirement resource confirmation request to the server. The server receives the requirement resource confirmation request and updates the stored requirement resources according to the requirement resources to be confirmed in the requirement resource confirmation request, thereby enabling the timely saving of the requirement resources confirmed by the user.
[0144] Among them, the requirement resource confirmation request may include an identifier of a deviated function, requirement resources to be confirmed, etc.
[0145] Exemplarily, the requirement resources to be confirmed may be the determined result of the requirement resources to be confirmed sent by the server to the client, or the requirement resources after deleting, adding, or modifying the determined result of the requirement resources returned by the server, etc., which are not limited thereto.
[0146] The user can confirm the determined result of the requirement resources through the requirement resource confirmation control, and thus the server can save the confirmed requirement resources in a timely manner.
[0147] In an embodiment of the present application, in response to detecting a trigger operation on the download control corresponding to the determined result of the requirement resources, the client may send a request for downloading the determined result of the requirement resources to the server. The server receives the request for downloading the determined result of the requirement resources, and obtains the determined result of the requirement resources of the deviated function according to the identifier of the deviated function in the request for downloading the determined result of the requirement resources, and sends the determined result of the requirement resources to the client.
[0148] Thus, the user can download the determined result of the requirement resources through the download control of the determined result of the requirement resources.
[0149] Figure 4 It is a schematic flowchart of a method for determining requirement resources provided in another embodiment of the present application.
[0150] The method for determining requirement resources in the embodiment of the present application may be executed by the requirement resource determination device in the embodiment of the present application. The device may be configured in an electronic device and may be executed by the client.
[0151] Among them, the electronic device may be any device with computing capabilities, such as a personal computer, a mobile terminal, etc. The mobile terminal may be a hardware device such as a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, etc. with various operating systems, touch screens, and / or display screens.
[0152] As Figure 4 shown, the method for determining requirement resources includes:
[0153] Step 401, in response to detecting a trigger operation on the deviated function identification control for the document to be processed, send a deviated function identification request for the document to be processed to the server.
[0154] Among them, the document to be processed may be a technical requirement document provided by a customer, or a technical protocol document, or a contract document, etc., which are not limited thereto.
[0155] In this application, the user can upload a document to be processed on the cost assessment client and trigger a deviation function recognition control for the document to be processed. If the client detects the triggering operation of the deviation function recognition control for the document to be processed, it can send a deviation function recognition request to the server.
[0156] Among them, the deviation function recognition request may include the identifier of the document to be processed. The identifier of the document to be processed may be, for example, the name of the document to be processed, or other identifiers that can uniquely identify the document to be processed, etc.
[0157] Step 402: Receive the deviation function corresponding to the document to be processed sent by the server and display the deviation function.
[0158] Exemplarily, the client can receive a list of deviation functions sent by the server and thus display the deviation functions in the form of a list.
[0159] Among them, the list of deviation functions may include the deviation function and the identifier of the deviation function. Among them, the identifier of the deviation function may be the number of the deviation function, or other identifiers that can uniquely identify the deviation function, which is not limited herein.
[0160] Exemplarily, the list of deviation functions may be generated by the server according to the priority order of multiple deviation functions. Then, the list of deviation functions may include the deviation function, the identifier of the deviation function, etc., and may also include the priority information of the deviation function. Thus, the client can also display the priority information of the deviation function. Thus, in the subsequent development stage, it is convenient for developers to develop the deviation functions according to the priority order of the deviation functions.
[0161] Step 403: In response to detecting the triggering operation of the evaluation control for the deviation function, send a request for determining required resources to the server.
[0162] In this application, the user can trigger a required resource evaluation control corresponding to the deviation function on the client. If the client detects the triggering operation of the evaluation control for the deviation function, it can send a request for determining required resources to the server.
[0163] Among them, the request for determining required resources is used to request an evaluation of the required resources to be invested in developing the deviation function. The request for determining required resources may include the identifier of the deviation function.
[0164] Optionally, the client can display the deviation function returned by the server through a pop-up window. When the user triggers the deviation function confirmation control, the client can detect the triggering operation of the deviation function confirmation control and send a deviation function confirmation request to the server so that the server can save the deviation function to be confirmed.
[0165] The deviation function confirmation request may include the deviation function to be confirmed, the identifier of the deviation function to be confirmed, etc.
[0166] Exemplarily, the deviation function to be confirmed may be the deviation function received from the server, or the deviation function received from the server after deletion, addition, or modification, etc., which is not limited thereto.
[0167] After the user completes the confirmation of the deviation function through the deviation function confirmation control, the user can trigger the demand resource evaluation control corresponding to the deviation function. When the client detects the trigger operation of the deviation function confirmation control, it sends a demand resource determination request to the server.
[0168] Therefore, after the user confirms the deviation function, he can trigger the demand resource evaluation control corresponding to the deviation function, so that the server can determine the demand resources for the deviation function confirmed by the user, thereby improving the accuracy of the demand resource determination result.
[0169] Step 404: receiving the first required resource determination result of the deviation function sent by the server, and displaying the first required resource determination result.
[0170] The first required resource determination result may include required resources required to complete the development of the deviated function.
[0171] In this application, the required resources for the deviated function may refer to the work costs required to complete the development of the deviated function. Exemplarily, the required resources may be at the man-day level or man-hour level, such as how many people and how many days are required to complete the development of the deviated function, or the work cost may be further calculated based on the cost of the personnel and the required time, and the work cost may be used as the required resources, etc., without limitation.
[0172] In addition, different levels of personnel may require different lengths of time to complete the development of a deviation function. The required resources for a deviation function may include the number of personnel at different levels and the length of time required, so that users can choose.
[0173] It should be noted that the level of duration in the demand resources can be the month level, day level, hour level, etc., or can be other time levels, and there is no limitation on this.
[0174] Exemplarily, the client may receive a list of required resource determination results sent by the server, and display the list of required resource determination results, so that the client may display the required resource determination results in the form of a list.
[0175] In an embodiment of the present application, if the client detects a trigger operation on the deviation function recognition control for the document to be processed, it sends a deviation function recognition request for the document to be processed to the server, enabling the server to recognize the deviation function of the document to be processed, and receives the deviation function corresponding to the document to be processed sent by the server, and displays the deviation function. If a trigger operation on the evaluation control for the deviation function is detected, a demand resource determination request can be sent to the server, so that the server determines the demand resources for the deviation function, and receives and displays the demand resource determination result sent by the server. Thus, the user can trigger the recognition control to enable the server to recognize the deviation function of the document to be processed, and trigger the evaluation control to enable the server to determine the demand resources for the deviation function, improving the efficiency and accuracy of deviation function and demand resource determination, and the operation is simple and convenient, reducing the labor cost.
[0176] In an embodiment of the present application, the user can perform operations such as adding, deleting, modifying, and viewing the deviation function returned by the server on the client.
[0177] Exemplarily, if a trigger operation on the first operation control corresponding to any deviation function is detected, a first target operation matching the first operation control is performed on any deviation function.
[0178] Wherein, the first operation control can be a delete control, or a modify control, or a view control, etc., and the first target operation can include any one of the following: delete, modify, view.
[0179] For example, if a trigger operation on the delete control corresponding to a deviation function by the user is detected, then the deviation function can be deleted.
[0180] Again, for example, if a trigger operation on the edit control corresponding to a deviation function by the user is detected, the deviation function can be modified to obtain the modified deviation function.
[0181] Again, for example, if a trigger operation on the view control corresponding to a deviation function by the user is detected, the detailed content of the deviation function can be displayed, so as to facilitate the user to view the specific content of the deviation function.
[0182] Thus, the user can delete, modify, and view the deviation function, thereby meeting the user's personalized operation requirements for the deviation function, and deleting and modifying the inaccurately recognized deviation function can improve the accuracy of the deviation function.
[0183] Exemplarily, if a trigger operation on the deviation function addition control is detected, the newly added deviation function is obtained. Thus, for the deviation function missed by the server in recognition, the user can add the deviation function on the client, improving the accuracy of the deviation function.
[0184] In one embodiment of the present application, the user can modify, view, and perform other operations on the client side on the result of determining the required resources of the deviation function returned by the server side.
[0185] Exemplarily, if a trigger operation of a second operating control corresponding to a required resource determination result of a deviating function is detected, a second target operation matching the operating control is performed on the first required resource determination result.
[0186] The second operation control may be a modification control, a viewing control, etc.; the second target operation may include any one of the following: modification, viewing.
[0187] For example, if a user triggering operation on a modification control corresponding to a demand resource determination result of a deviating function is detected, the first demand resource determination result of the deviating function may be modified to obtain the modified demand resource determination result.
[0188] For example, if a user trigger operation on a view control corresponding to a requirement resource determination result of a deviation function is detected, the detailed content of the first requirement resource determination result of the deviation function can be displayed, so that the user can view the specific content of the requirement resource determination result.
[0189] Therefore, users can modify, view, etc. the demand resource determination results that deviate from the function, thereby meeting the user's personalized operation needs for the demand resource determination results, and modifying the inaccurately evaluated demand resource determination results can improve the accuracy of the demand resource determination results.
[0190] In one embodiment of the present application, a user can modify or correct a deviating function displayed by the client. When the client detects an editing operation of the user on any deviating function, the client can obtain the first correction content of any deviating function. If a trigger operation of a save control corresponding to the deviating function is detected, a first save request can be sent to the server to enable the server to save the modified deviating function.
[0191] The first save request may include an identifier of any deviating function, first correction content, etc. The first correction content may be a modified deviating function corresponding to any deviating function, or a modified portion of any deviating function, etc.
[0192] Therefore, the user can modify or correct the deviation function displayed by the client, and can trigger the corresponding save control to enable the server to update the deviation function in time to ensure the accuracy of the deviation function.
[0193] In one embodiment of the present application, the user can modify or correct the determination result of the first demand resource of the deviation function displayed on the client. Then, when the client detects an editing operation on the determination result of the first demand resource of any deviation function, it can obtain the second correction content of the determination result of the first demand resource of any deviation function. If a trigger operation on the save control corresponding to the determination result of the demand resource of any deviation function is detected, it can send a second save request to the server so that the server saves the modified determination result of the demand resource.
[0194] Among them, the second save request may include the identifier of any deviation function, the second correction content, etc. Here, the second correction content may be the modified determination result of the demand resource, or the content of the modified part in the first determination result of the demand resource, etc.
[0195] Thus, the user can modify or correct the determination result of the first demand resource of the deviation function displayed on the client, and can trigger the corresponding save control to enable the server to update the determination result of the demand resource in a timely manner, ensuring the accuracy of the determination result of the demand resource.
[0196] In one embodiment of the present application, when the client detects a trigger operation on the download control corresponding to the determination result of the demand resource, it can send a download request for the determination result of the demand resource to the server. The server receives the download request for the determination result of the demand resource, and obtains the determination result of the demand resource of the deviation function according to the identifier of the deviation function in the download request for the determination result of the demand resource, and sends the determination result of the demand resource to the client.
[0197] Thus, the user can download the determination result of the demand resource through the download control of the determination result of the demand resource.
[0198] To implement the above embodiments, the embodiments of the present application also propose a demand resource evaluation system. Among them, the demand resource evaluation system may include a client and a server. Among them, the client can be used to execute the method for determining the demand resource of the deviation function on the client side, and the server can be used to execute the method for determining the demand resource of the deviation function on the server side.
[0199] To facilitate understanding of the method for determining the demand resource of the present application, the following is combined with Figure 5 、 Figure 6 and Figure 7 for description. Figure 5 FIG. is a schematic structural diagram of a demand resource evaluation system provided by an embodiment of the present application. Figure 6 FIG. is a schematic operation flow diagram of a demand resource evaluation system provided by an embodiment of the present application. Figure 7 FIG. is a schematic diagram of the training process of an identification model provided by an embodiment of the present application.
[0200] As Figure 5 shown, the structure of the demand resource evaluation system includes a document data part, a deviation function intelligent recognition part, a demand resource determination part, and a scoring feedback part.
[0201] Among them, the document data part: mainly realizes data collection functions such as uploading user's to-be-processed document data and uploading valuable information documents of the system.
[0202] The deviation function intelligent recognition part: can perform operations such as adding, deleting, modifying, and viewing on the recognized deviation function list, so as to facilitate users to perform operations such as manual maintenance, correction, deviation correction, and confirmation. For example, through intelligent question and answer, use the recognition model to identify the deviation function of the document.
[0203] The demand resource evaluation part: according to the deviation function list confirmed by the user, through the evaluation model, give suggestions on the working cost item by item. For example, through intelligent question and answer, use the evaluation model to evaluate the demand resources of the deviation function.
[0204] The scoring feedback part: can perform operations such as adding, deleting, modifying, and viewing on the cost evaluation results, and users can perform operations such as demand resource maintenance, correction, deviation correction, and confirmation.
[0205] Among them, model feedback can be understood as that users can correct the deviation functions, and can adjust the model according to the deviation functions identified by the model and the deviation functions after user correction, and users can also correct the demand resource determination results of the deviation functions, and can adjust the model according to the work evaluated by the model and the demand resources after user correction.
[0206] The demand resource evaluation system can achieve the following functions:
[0207] 1. Based on the contract document or technical agreement document given by the customer, upload it to the system;
[0208] 2. Perform intelligent recognition on this document, obtain the deviation functions that do not meet the standard product functions in the uploaded document through the recognition model trained inside the system, and mark them on this document. The marked document can be downloaded;
[0209] 3. The system can generate a deviation function list and display it in the system. The interface function of the cost evaluation system can perform operations such as adding, deleting, modifying, and viewing on the recognized deviation function list, and perform operations such as manual maintenance, correction, deviation correction, and confirmation;
[0210] 4. For the confirmed deviation function list, you can click the demand resource determination function button, and the system will give suggestions on the working cost item by item for the deviation function list through the internal evaluation model;
[0211] 5. Similarly, for the list of determined demand resources, operations such as addition, deletion, modification, and viewing can also be performed. Users can perform operations such as demand resource maintenance, correction, deviation rectification, and confirmation. This list of determined demand resources can have the function of downloading in a target format document, such as supporting the download function of csv format documents.
[0212] As Figure 6 shown, the operation process of the demand resource evaluation system is as follows:
[0213] Step 601, upload the document to be processed.
[0214] Step 602, perform intelligent identification, analysis, and annotation of the deviation function.
[0215] Step 603, the user checks and confirms the list of deviation functions.
[0216] Step 604, determine the demand resources based on the confirmed list of deviation functions.
[0217] Step 605, the user checks and confirms the list of demand resources.
[0218] Step 606, download the list of demand resources.
[0219] Describe the operation process of using the demand resource evaluation system once from the user's perspective:
[0220] 1. Upload the document to be processed;
[0221] 2. Click the deviation function recognition button to start document recognition and wait for the system to return the recognition result.
[0222] 3. After obtaining the recognition result returned by the system, perform result checking, confirmation, and deviation rectification feedback on the system interface.
[0223] 4. Based on the system recognition result confirmed by the deviation function, click the demand resource evaluation function button to perform intelligent evaluation of demand resources.
[0224] 5. After obtaining the determined result of demand resources returned by the system, the user performs result checking, confirmation, and deviation rectification feedback on the system interface.
[0225] 6. Download the determined result of demand resources, thus completing a complete usage and feedback process.
[0226] As Figure 7 shown, the training process of the recognition model can include the following steps:
[0227] Step 701, problem definition.
[0228] Define the tasks and goals of the recognition model, such as text recognition and images, that is, it can recognize the content for specific documents.
[0229] Step 702, data collection.
[0230] Establish goals, such as implementing a recognition model for a certain product in a ToB (To Business) scenario.
[0231] Start collecting data related to the model tasks. The initial data collection sources can be document data on product function introductions that can be found, such as the standard documents of the product, the functional documents of the product, the detailed design documents of the product, the requirements specification documents of the product, the operation manuals of the product, the training materials of the product, the internal maintenance documents of the product, the historical project delivery documents of the product, etc.
[0232] Step 703, data preprocessing.
[0233] Preprocess the collected data, including operations such as data cleaning, standardization, word segmentation (for text data), image preprocessing (for image data), feature extraction, etc.
[0234] The purpose of preprocessing is to make the data suitable for the input of the model and improve the training effect of the model.
[0235] Step 704, model selection.
[0236] Adopt a model based on the Transformer architecture. The Transformer architecture has achieved great success in natural language processing tasks, especially in handling long-distance dependencies. This architecture is suitable for question-and-answer tasks because it can handle both questions and context information simultaneously without using a recurrent structure, thus improving the efficiency of parallel computing.
[0237] Step 705, model training.
[0238] The training process usually involves inputting data into the model, and the model adjusts its own parameters to minimize the error between the prediction result and the actual label. The training process can be iterated multiple times until the model reaches a satisfactory performance level.
[0239] Step 706, model evaluation.
[0240] An independent test set can be used to evaluate the trained model to evaluate the performance and generalization ability of the model. The evaluation metrics can vary according to different tasks, such as accuracy, recall rate, etc.
[0241] Step 707, parameter tuning and optimization.
[0242] Optimize the model's parameters based on the evaluation results to further improve the model's performance. The parameter tuning process may involve adjusting the model architecture, optimization algorithms, regularization parameters, etc.
[0243] Step 708, deploy the application.
[0244] After completing the model training and evaluation, deploy the trained model to the actual application so that users can use it.
[0245] To implement the above embodiments, an embodiment of the present application also proposes a device for determining demand resources. Figure 8 It is a schematic structural diagram of the device for determining demand resources provided by an embodiment of the present application.
[0246] As Figure 8 shown, the device 800 for determining demand resources includes:
[0247] An identification module 810, configured to perform a deviation function identification on a document to be processed in response to a deviation function identification request sent by a client for the document to be processed, so as to determine the deviation function corresponding to the document to be processed; wherein, the deviation function refers to a new function described in the document to be processed compared with the basic function of the target product;
[0248] A sending module 820, configured to send the deviation function to the client;
[0249] A receiving module 830, configured to receive a demand resource determination request sent by the client for the deviation function;
[0250] An evaluation module 840, configured to perform demand resource determination on the deviation function to determine a first demand resource determination result of the deviation function;
[0251] The sending module 820 is further configured to send the first demand resource determination result to the client.
[0252] Optionally, the evaluation module 840 is configured to:
[0253] Obtain an evaluation model; wherein, the identification model is used to evaluate the resources that need to be invested to complete the deviation function;
[0254] Use the evaluation model to perform demand resource determination on the deviation function to obtain a first demand resource determination result output by the evaluation model.
[0255] Optionally, the device may further include:
[0256] A first acquisition module, configured to acquire a first data set; wherein, the first data set includes description information of multiple basic functions of the target product;
[0257] A second acquisition module, configured to input the description information of the basic function into the initial evaluation model for requirement resource determination, so as to obtain a second requirement resource determination result of the basic function;
[0258] A first training module, configured to train the initial evaluation model according to the difference between the second requirement resource determination result and the actual requirement resources of the basic function, so as to obtain an evaluation model.
[0259] Optionally, an identification module 810, configured to:
[0260] Obtain an identification model; wherein, the identification model is used to identify deviation functions;
[0261] Adopt the identification model to identify deviation functions in the document to be processed, so as to obtain deviation functions.
[0262] Optionally, the device may further include:
[0263] A third acquisition module, configured to obtain a second data set; wherein, the second data set includes at least one sample document;
[0264] A fourth acquisition module, configured to input the sample document into the initial identification model for deviation function identification, so as to obtain an estimated deviation function corresponding to the sample document;
[0265] A second training module, configured to train the initial evaluation model according to the difference between the estimated deviation function and the actual deviation function corresponding to the sample document, so as to obtain an evaluation model; wherein, the actual deviation function refers to the actually newly added function described in the sample document compared with the basic function of the target product.
[0266] Optionally, an identification module 810, configured to:
[0267] Obtain the basic function of the target product;
[0268] Extract the requirement function from the document to be processed;
[0269] Determine the deviation function according to the difference between the basic function and the requirement function.
[0270] Optionally, the device may further include:
[0271] A determination module, configured to determine the position information of the deviation function in the document to be processed;
[0272] A marking module, configured to mark the deviation function in the document to be processed according to the position information, so as to obtain a marked document.
[0273] Optionally, the receiving module 830 is further configured to receive a first save request sent by a client; wherein, the first save request includes an identifier of any deviation function and first correction content of any deviation function;
[0274] The apparatus may further include:
[0275] A first update module, configured to update any deviation function according to the first correction content.
[0276] Optionally, the receiving module is further configured to receive a second save request sent by a client; wherein, the second save request includes an identifier of any deviation function and second correction content of a determination result of first required resources of any deviation function;
[0277] The apparatus may further include:
[0278] A second update module, configured to update the determination result of the first required resources of any deviation function according to the second correction content.
[0279] It should be noted that the explanations of the foregoing embodiments of the required resource determination method are also applicable to the required resource determination apparatus of this embodiment, and thus will not be elaborated herein.
[0280] In the embodiment of the present application, when a deviation function recognition request for a document to be processed is received, the deviation function of the function to be processed may be recognized to determine the deviation function corresponding to the document to be processed, and when a required resource determination request for the deviation function is received, the required resources of the deviation function are determined to obtain a determination result of the required resources of the deviation function, so that the deviation function can be intelligently recognized and the required resources of the deviation function can be evaluated, improving the accuracy and efficiency of the determination of the deviation function and the required resources, and reducing the labor cost.
[0281] To implement the above embodiments, the embodiment of the present application further provides a required resource determination apparatus. Figure 9 It is a schematic structural diagram of a required resource determination apparatus provided in another embodiment of the present application.
[0282] As Figure 9 shown, the required resource determination apparatus 900 includes:
[0283] A sending module 910, configured to send a deviation function recognition request for a document to be processed to a server in response to detecting a trigger operation on a deviation function recognition control for the document to be processed;
[0284] A receiving module 920, configured to receive the deviation function corresponding to the document to be processed sent by the server;
[0285] A display module 930, configured to display the deviation function;
[0286] The sending module 910 is further configured to send a request for determining required resources to the server in response to detecting a triggering operation on the evaluation control for the deviation function;
[0287] The receiving module 920 is further configured to receive the first result of determining the required resources for the deviation function sent by the server;
[0288] The display module 930 is further configured to display the first result of determining the required resources.
[0289] Optionally, the device may further include:
[0290] The first execution module is configured to perform a first target operation matching the first operation control on any deviation function in response to detecting a triggering operation on the first operation control corresponding to any deviation function;
[0291] Wherein, the first target operation includes any one of the following: delete, modify, view.
[0292] Optionally, the device may further include: a first obtaining module, configured to obtain a newly added deviation function in response to detecting a triggering operation on the control for adding a deviation function.
[0293] Optionally, the device may further include:
[0294] The second execution module is configured to perform a second target operation matching the operation control on the first result of determining the required resources for the deviation function in response to detecting a triggering operation on the second operation control corresponding to the result of determining the required resources for the deviation function;
[0295] Wherein, the second target operation includes any one of the following: modify, view.
[0296] Optionally, the device may further include:
[0297] The second obtaining module is configured to obtain the first correction content of any deviation function in response to detecting an editing operation on any deviation function;
[0298] The sending module is further configured to send a first save request to the server in response to detecting a triggering operation on the save control corresponding to the deviation function; wherein, the first save request includes the identifier of any deviation function and the first correction content.
[0299] Optionally, the device may further include:
[0300] The third obtaining module is configured to obtain the second correction content of the first result of determining the required resources for any deviation function in response to detecting an editing operation on the first result of determining the required resources for any deviation function;
[0301] The sending module is further configured to, in response to detecting a triggering operation on the result saving control for determining the required resources corresponding to any deviation function, send a second saving request to the server; wherein, the second saving request includes the identifier of any deviation function and the second correction content.
[0302] It should be noted that the explanations of the foregoing embodiments of the required resource determination method are also applicable to the required resource determination device of this embodiment, and thus will not be elaborated herein.
[0303] In the embodiment of the present application, if the client detects a triggering operation on the deviation function recognition control for the document to be processed, it sends a deviation function recognition request for the document to be processed to the server, enabling the server to recognize the deviation function of the document to be processed, and receiving the deviation function corresponding to the document to be processed sent by the server and displaying the deviation function. If it detects a triggering operation on the evaluation control for the deviation function, it can send a required resource determination request to the server, enabling the server to determine the required resources for the deviation function, and receiving and displaying the required resource determination result sent by the server. Thus, the user can trigger the recognition control to enable the server to recognize the deviation function of the document to be processed, and trigger the evaluation control to enable the server to determine the required resources for the deviation function, improving the efficiency and accuracy of deviation function and required resource determination, and being simple and convenient to operate, reducing the labor cost.
[0304] According to the embodiments of the present application, the present application also provides an electronic device, a readable storage medium, and a computer program product.
[0305] Figure 10 FIG. shows a schematic block diagram of an exemplary electronic device 1000 that can be used to implement the embodiments of the present application. The electronic device is intended to represent various forms of digital computers, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.
[0306] As Figure 10As shown, device 1000 includes a computing unit 1001, which can perform various appropriate actions and processes according to computer programs stored in a ROM (Read-Only Memory) 1002 or computer programs loaded from a storage unit 1008 into a RAM (Random Access Memory) 1003. In the RAM 1003, various programs and data required for the operation of the device 1000 can also be stored. The computing unit 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An I / O (Input / Output) interface 1005 is also connected to the bus 1004.
[0307] Multiple components in the device 1000 are connected to the I / O interface 1005, including: an input unit 1006, such as a keyboard, a mouse, etc.; an output unit 1007, such as various types of displays, speakers, etc.; a storage unit 1008, such as a magnetic disk, an optical disc, etc.; and a communication unit 1009, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1009 allows the device 1000 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0308] The computing unit 1001 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1001 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 1001 executes the various methods and processes described above, such as the demand resource determination method. For example, in some embodiments, the demand resource determination method can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 1008. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 1000 via the ROM 1002 and / or the communication unit 1009. When the computer program is loaded into the RAM 1003 and executed by the computing unit 1001, one or more steps of the demand resource determination method described above can be executed. Alternatively, in other embodiments, the computing unit 1001 can be configured to execute the demand resource determination method by any other appropriate means (e.g., by means of firmware).
[0309] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SoCs (System On Chip), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.
[0310] The program code for implementing the methods of this application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that the program codes, when executed by the processor or controller, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine, or entirely on a remote machine or server.
[0311] In the context of this application, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a RAM, a ROM, an EPROM (Electrically Programmable Read-Only Memory), or a flash memory, an optical fiber, a CD-ROM (Compact Disc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0312] In order to provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or an LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).
[0313] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, and a blockchain network.
[0314] A computer system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The relationship between the client and the server is generated by computer programs running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services (Virtual Private Server). The server may also be a server of a distributed system or a server combined with a blockchain.
[0315] According to an embodiment of the present application, the present application also provides a computer program product, which, when executed by an instruction processor in the computer program product, executes the resource requirement determination method proposed in the above embodiments of the present application.
[0316] It should be understood that various forms of the processes shown above can be used, steps can be reordered, added or deleted. For example, the steps described in the present application can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and no limitation is made herein.
[0317] The above specific embodiments do not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present application shall be included within the protection scope of the present application.
Claims
1. A method for determining required resources, characterized in that, The method includes: In response to receiving a deviation function recognition request for a document to be processed sent by a client, performing deviation function recognition on the document to be processed to determine the deviation function corresponding to the document to be processed; wherein, the deviation function refers to a new function described in the document to be processed compared with the basic function of the target product; Sending the deviation function to the client; Receiving a requirement resource determination request for the deviation function sent by the client; Performing requirement resource determination on the deviation function to determine a first requirement resource determination result of the deviation function; Sending the first requirement resource determination result to the client; The performing requirement resource determination on the deviation function to determine a first requirement resource determination result of the deviation function includes: Obtaining an evaluation model; wherein, the evaluation model is used to evaluate the resources required to complete the deviation function; Using the evaluation model to perform requirement resource determination on the deviation function to obtain the first requirement resource determination result output by the evaluation model.
2. The method according to claim 1, wherein The evaluation model is obtained through the following steps of training: Obtaining a first data set; wherein, the first data set includes description information of multiple basic functions of the target product; Inputting the description information of the basic functions into an initial evaluation model to perform requirement resource determination to obtain a second requirement resource determination result of the basic functions; Training the initial evaluation model according to the difference between the second requirement resource determination result and the actual requirement resources of the basic functions to obtain the evaluation model.
3. The method according to claim 1, wherein The performing deviation function recognition on the document to be processed to determine the deviation function corresponding to the document to be processed includes: Obtaining a recognition model; wherein, the recognition model is used to recognize deviation functions; Using the recognition model to perform deviation function recognition on the document to be processed to obtain the deviation function.
4. The method according to claim 3, wherein, The recognition model is obtained through the following steps of training: Obtaining a second data set; wherein, the second data set includes at least one sample document; Inputting the sample document into an initial evaluation model to perform deviation function recognition to obtain a predicted deviation function corresponding to the sample document; Training the initial evaluation model according to the difference between the predicted deviation function and the actual deviation function corresponding to the sample document to obtain the evaluation model; wherein, the actual deviation function refers to the actually newly added function described in the sample document compared with the basic function of the target product.
5. The method according to claim 1, wherein, The performing deviation function recognition on the document to be processed to determine the deviation function corresponding to the document to be processed includes: Obtaining the basic function of the target product; Extracting requirement functions from the document to be processed; Determining the deviation function according to the difference between the basic function and the requirement functions.
6. The method according to any one of claims 1-5, further includes: Determining the position information of the deviation function in the document to be processed; Marking the deviation function in the document to be processed according to the position information to obtain a marked document.
7. The method according to any one of claims 1-5 further includes: Receiving a first save request sent by the client; wherein, the first save request includes an identifier of any deviation function and first correction content of the any deviation function; Updating the any deviation function according to the first correction content.
8. The method according to any one of claims 1-5 further includes: Receiving a second save request sent by the client; wherein, the second save request includes an identifier of any deviation function and second correction content of a first demand resource determination result of the any deviation function; Updating the first demand resource determination result of the any deviation function according to the second correction content.
9. A method for determining required resources, characterized in that, The method includes: In response to detecting a trigger operation on a deviation function identification control for a document to be processed, sending a deviation function identification request for the document to be processed to the server; Receiving the deviation function corresponding to the document to be processed sent by the server, and displaying the deviation function, where the deviation function refers to a new function described in the document to be processed compared with the basic function of the target product; In response to detecting a trigger operation on an evaluation control for the deviation function, sending a demand resource determination request to the server; Receiving a first demand resource determination result of the deviation function sent by the server, and displaying the first demand resource determination result, where the first demand resource determination result is obtained by the server using an evaluation model to determine demand resources for the deviation function, and the evaluation model is used to evaluate the resources required to complete the deviation function.
10. The method according to claim 9 further includes: In response to detecting a trigger operation on a first operation control corresponding to any deviation function, performing a first target operation matching the first operation control on the any deviation function; Wherein, the first target operation includes any one of the following: delete, modify, view.
11. The method according to claim 9 further includes: In response to detecting a trigger operation on a deviation function addition control, obtaining a newly added deviation function.
12. The method according to claim 9 further includes: In response to detecting a trigger operation on a second operation control corresponding to the demand resource determination result of the deviation function, performing a second target operation matching the operation control on the first demand resource determination result; Wherein, the second target operation includes any one of the following: modify, view.
13. The method according to claim 9 further includes: In response to detecting an edit operation on any deviation function, obtaining first correction content of the any deviation function; In response to detecting a trigger operation on a save control corresponding to the deviation function, sending a first save request to the server; wherein, the first save request includes an identifier of the any deviation function and the first correction content.
14. The method according to claim 9 further includes: In response to detecting an edit operation on a first demand resource determination result of any deviation function, obtaining second correction content of the first demand resource determination result of the any deviation function; In response to detecting a trigger operation on the result saving control for the demand resource determination corresponding to any of the deviation functions, send a second saving request to the server; wherein, the second saving request includes the identifier of any of the deviation functions and the second correction content.
15. A demand resource determination device, characterized in that, The device includes: An identification module, configured to, in response to receiving a deviation function identification request for a document to be processed sent by a client, perform deviation function identification on the document to be processed to determine the deviation function corresponding to the document to be processed; wherein, the deviation function refers to a new function described in the document to be processed compared with the basic function of the target product. A sending module, configured to send the deviation function to the client. A receiving module, configured to receive a demand resource determination request for the deviation function sent by the client. An evaluation module, configured to perform demand resource determination on the deviation function to determine a first demand resource determination result of the deviation function. The sending module is further configured to send the first demand resource determination result to the client. The evaluation module is configured to: Obtain an evaluation model; wherein, the evaluation model is used to evaluate the resources required to complete the deviation function. Use the evaluation model to perform demand resource determination on the deviation function to obtain the first demand resource determination result output by the evaluation model.
16. The device according to claim 15, further comprising: A first obtaining module, configured to obtain a first data set; wherein, the first data set includes description information of a plurality of basic functions of the target product. A second obtaining module, configured to input the description information of the basic function into an initial evaluation model to perform demand resource determination to obtain a second demand resource determination result of the basic function. A first training module, configured to train the initial evaluation model according to the difference between the second demand resource determination result and the actual demand resources of the basic function to obtain the evaluation model.
17. The device according to claim 15, wherein, The identification module is configured to: Obtain an identification model; wherein, the identification model is used to identify deviation functions. Use the identification model to perform deviation function identification on the document to be processed to obtain the deviation function.
18. The device according to claim 17, further comprising: A third obtaining module, configured to obtain a second data set; wherein, the second data set includes at least one sample document. A fourth obtaining module, configured to input the sample document into an initial evaluation model to perform deviation function identification to obtain a predicted deviation function corresponding to the sample document. A second training module, configured to train the initial evaluation model according to the difference between the predicted deviation function and the actual deviation function corresponding to the sample document to obtain the evaluation model; wherein, the actual deviation function refers to the actually newly added function described in the sample document compared with the basic function of the target product.
19. The device according to claim 15, wherein, The identification module is configured to: Obtain the basic function of the target product. Extract demand functions from the document to be processed. Determine the deviation function according to the difference between the basic function and the demand function.
20. The device according to any one of claims 15-19, further comprising: a determination module, configured to determine the location information of the deviation function in the document to be processed; a marking module, configured to mark the deviation function in the document to be processed according to the location information, so as to obtain a marked document.
21. The device according to any one of claims 15-19, wherein the receiving module is further configured to receive a first save request sent by the client; wherein, The first save request includes an identifier of any deviation function and first correction content of the any deviation function; The device further comprises: a first update module, configured to update the any deviation function according to the first correction content.
22. The device according to any one of claims 15-19, The receiving module is further configured to receive a second saving request sent by the client; wherein, The second save request includes an identifier of any deviation function and second correction content of the first demand resource determination result of the any deviation function; The device further comprises: a second update module, configured to update the first demand resource determination result of the any deviation function according to the second correction content.
23. A demand resource determination device, characterized in that, The device comprises: a sending module, configured to send a deviation function identification request for the document to be processed to the server in response to detecting a trigger operation on a deviation function identification control for the document to be processed; a receiving module, configured to receive the deviation function corresponding to the document to be processed sent by the server, where the deviation function refers to a new function described in the document to be processed compared with the basic function of the target product; a display module, configured to display the deviation function; The sending module is further configured to send a demand resource determination request to the server in response to detecting a trigger operation on an evaluation control for the deviation function; The receiving module is further configured to receive the first demand resource determination result of the deviation function sent by the server, where the first demand resource determination result is obtained by the server using an evaluation model to determine the demand resources for the deviation function, and the evaluation model is used to evaluate the resources required to complete the deviation function; The display module is further configured to display the first demand resource determination result.
24. The device according to claim 23, further comprising: a first execution module, configured to perform a first target operation matching the first operation control on the any deviation function in response to detecting a trigger operation on a first operation control corresponding to the any deviation function; wherein the first target operation includes any one of the following: deletion, modification, viewing.
25. The device according to claim 23, further comprising: a first acquisition module, configured to acquire a newly added deviation function in response to detecting a trigger operation on a deviation function addition control.
26. The device according to claim 23, further comprising: a second execution module, configured to perform a second target operation matching the operation control on the first demand resource determination result in response to detecting a trigger operation on a second operation control corresponding to the demand resource determination result of the deviation function; wherein the second target operation includes any one of the following: modification, viewing.
27. The device according to claim 23, further comprising: A second acquisition module, configured to acquire first correction content of any one of the deviation functions in response to detecting an editing operation on any one of the deviation functions; The sending module is further configured to send a first save request to the server in response to detecting a trigger operation on the save control corresponding to the deviation function; wherein, the first save request includes an identifier of any one of the deviation functions and the first correction content.
28. The apparatus according to claim 23, further comprising: A third acquisition module, configured to acquire second correction content of the first demand resource determination result of any one of the deviation functions in response to detecting an editing operation on the first demand resource determination result of any one of the deviation functions; The sending module is further configured to send a second save request to the server in response to detecting a trigger operation on the demand resource determination result save control corresponding to any one of the deviation functions; wherein, the second save request includes an identifier of any one of the deviation functions and the second correction content.
29. An electronic device, comprising: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1-8, or can execute the method according to any one of claims 9-14.
30. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8, or to execute the method according to any one of claims 9-14.
31. A computer program product, comprising a computer program which, when executed by a processor, implements the steps of the method according to any one of claims 1-8, or implements the steps of the method according to any one of claims 9-14.
Citation Information
Patent Citations
Transaction type function point structured extraction method and system of software requirement document
CN112817561A
Resource processing method and device, electronic equipment and storage medium
CN117407565A