Text processing method and device, equipment and storage medium
By obtaining and filtering the revenue and expenditure structure data of the contract text, and using the decision tree to evaluate the project benefit level, the problem of low efficiency and accuracy of benefit accounting in the existing technology is solved, and the enterprise's decision support in project management is improved.
Patent Information
- Application Number
- CN202410690933.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-10-18
AI Technical Summary
In the existing technology, the efficiency of benefit accounting of project contracts is low, and the accuracy of benefit accounting is low, which leads to the enterprise's benefit pre-assessment, monitoring and accounting process during project establishment, delivery and completion to be too extensive. Multi-party data does not support business decisions insufficient.
By obtaining the revenue and expenditure structure data of the target contract text, use natural language processing technology or user input to parse and filter, perform data processing based on matching configuration rules, enter a decision tree to obtain the project benefit level, and perform reminder operations to improve benefit accounting. efficiency and accuracy.
It realizes the automatic acquisition of project benefit levels, improves the efficiency and accuracy of benefit accounting, and supports enterprises to make more refined and accurate business decisions in project management.
Smart Images

Figure CN118798708A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to a text processing method, device, equipment and storage medium. Background Art
[0002] There are serious silos between the production management processes of domestic enterprise projects and the contract and financial benefit evaluation information, that is, business and financial information are separated. Project information and contract information cannot form effective input for specific benefit evaluation, resulting in overly extensive processes such as benefit pre-assessment before project initiation, benefit monitoring during project delivery, and benefit accounting after project delivery. The support of multi-party data for the enterprise's business decision-making process is relatively weak, and data acquisition, preprocessing, data analysis, and automatic alarms have not been diversified, rationalized, and automated.
[0003] At present, the efficiency and accuracy of benefit accounting for project contracts are low. Summary of the invention
[0004] The present disclosure provides a text processing method, device, equipment and storage medium to at least solve the problem of low efficiency and low accuracy of benefit accounting of existing project contracts.
[0005] The technical solution of the present disclosure is as follows:
[0006] The present disclosure provides a text processing method, including:
[0007] Obtain the income and expenditure structure data of the target contract text;
[0008] According to the income and expenditure matching configuration rule, the income and expenditure structure data is filtered to obtain filtered income and expenditure structure data;
[0009] Input the revenue and expenditure structure data into the constructed decision tree to obtain the project benefit level;
[0010] According to the project benefit level, a reminder operation is performed.
[0011] Optionally, the obtaining of the income and expenditure structure data of the target contract text includes:
[0012] Using natural language processing technology to parse the target contract text to obtain the income and expenditure structure data; or,
[0013] In response to a user input operation, the income and expenditure structure data is acquired.
[0014] Optionally, filtering the income and expenditure structure data according to the income and expenditure matching configuration rule to obtain the filtered income and expenditure structure data includes:
[0015] Reading the expense item category of the expenditure content of the expenditure details according to the income and expenditure structure data to see whether it is consistent with the expense item category of the income associated with the expenditure content;
[0016] In the case where the expense item category of the expenditure content of the expenditure details is consistent with the expense item category of the income associated with the expenditure content, determining whether the sum of the expenditures of the target income is greater than the target income;
[0017] When the sum of the expenditures of the target income is greater than the target income, the target income and the expenditures corresponding to the target income are filtered to obtain filtered income and expenditure structure data.
[0018] Optionally, the project benefit level includes: a first benefit level, a second benefit level and a third benefit level, the first benefit level is higher than the second benefit level, and the second benefit level is higher than the third benefit level; the inputting the revenue and expenditure structure data into the constructed decision tree to obtain the project benefit level includes:
[0019] Input the revenue and expenditure structure data into the constructed decision tree to obtain the net present value rate, project type and total project revenue profit rate;
[0020] When the net present value rate is a positive number, the project type meets the set conditions, and the total income profit rate of the project is greater than or equal to the set profit rate threshold, the project benefit level is the first benefit level;
[0021] If any two of the following conditions are met: the net present value rate is a positive number, the project type meets the set conditions, and the project total income profit rate is greater than or equal to the set profit rate threshold, the project benefit level is the second benefit level;
[0022] When neither of the following two conditions is true: the net present value rate is positive, the project type satisfies the set conditions, and the project total revenue profit rate is greater than or equal to the set profit rate threshold, the project benefit level is the third benefit level.
[0023] Optionally, the project type meets the set conditions, including:
[0024] In the case where the project type is an information technology project, the static payback period is less than the first payback period threshold and the static payback period is less than the contract period, or the cash flows are all positive;
[0025] When the project type is a communications technology project, the dynamic payback period is less than the second payback period threshold and the dynamic payback period is less than the contract period, and the internal rate of return is greater than or equal to the set rate of return threshold, or the cash flows are all positive and the net cash flows are all positive.
[0026] Optionally, the project benefit level includes: a first benefit level, a second benefit level and a third benefit level, the first benefit level is higher than the second benefit level, and the second benefit level is higher than the third benefit level; performing the reminder operation according to the project benefit level includes:
[0027] When the project benefit level is the second benefit level or the third benefit level, the project benefit level is sent to the target terminal.
[0028] The present disclosure also provides a text processing device, including:
[0029] An acquisition module, used to acquire the income and expenditure structure data of the target contract text;
[0030] A filtering module, used to filter the income and expenditure structure data according to the income and expenditure matching configuration rules to obtain filtered income and expenditure structure data;
[0031] A decision tree module is used to input the revenue and expenditure structure data into the constructed decision tree to obtain the project benefit level;
[0032] The execution module is used to execute the reminder operation according to the project benefit level.
[0033] Optionally, when acquiring the income and expenditure structure data of the target contract text, the acquisition module is used to:
[0034] Using natural language processing technology to parse the target contract text to obtain the income and expenditure structure data; or,
[0035] In response to a user input operation, the income and expenditure structure data is acquired.
[0036] Optionally, when the filtering module filters the income and expenditure structure data according to the income and expenditure matching configuration rule to obtain the filtered income and expenditure structure data, it is used to:
[0037] Reading the expense item category of the expenditure content of the expenditure details according to the income and expenditure structure data to see whether it is consistent with the expense item category of the income associated with the expenditure content;
[0038] In the case where the expense item category of the expenditure content of the expenditure details is consistent with the expense item category of the income associated with the expenditure content, determining whether the sum of the expenditures of the target income is greater than the target income;
[0039] When the sum of the expenditures of the target income is greater than the target income, the target income and the expenditures corresponding to the target income are filtered to obtain filtered income and expenditure structure data.
[0040] Optionally, the project benefit level includes: a first benefit level, a second benefit level and a third benefit level, the first benefit level is higher than the second benefit level, and the second benefit level is higher than the third benefit level; when the decision tree module inputs the revenue and expenditure structure data into the constructed decision tree to obtain the project benefit level, it is used to:
[0041] Input the revenue and expenditure structure data into the constructed decision tree to obtain the net present value rate, project type and total project revenue profit rate;
[0042] When the net present value rate is a positive number, the project type meets the set conditions, and the total income profit rate of the project is greater than or equal to the set profit rate threshold, the project benefit level is the first benefit level;
[0043] If any two of the following conditions are met: the net present value rate is a positive number, the project type meets the set conditions, and the project total income profit rate is greater than or equal to the set profit rate threshold, the project benefit level is the second benefit level;
[0044] When neither of the following two conditions is true: the net present value rate is positive, the project type satisfies the set conditions, and the project total revenue profit rate is greater than or equal to the set profit rate threshold, the project benefit level is the third benefit level.
[0045] Optionally, the project type meets the set conditions, including:
[0046] In the case where the project type is an information technology project, the static payback period is less than the first payback period threshold and the static payback period is less than the contract period, or the cash flows are all positive;
[0047] When the project type is a communications technology project, the dynamic payback period is less than the second payback period threshold and the dynamic payback period is less than the contract period, and the internal rate of return is greater than or equal to the set rate of return threshold, or the cash flows are all positive and the net cash flows are all positive.
[0048] Optionally, the project benefit level includes: a first benefit level, a second benefit level and a third benefit level, the first benefit level is higher than the second benefit level, and the second benefit level is higher than the third benefit level; when the execution module performs the reminder operation according to the project benefit level, it is used to:
[0049] When the project benefit level is the second benefit level or the third benefit level, the project benefit level is sent to the target terminal.
[0050] The present disclosure also provides an electronic device, including:
[0051] processor;
[0052] a memory for storing instructions executable by the processor;
[0053] The processor is configured to execute the instructions to implement each step in the above method.
[0054] The embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each step in the above method is implemented.
[0055] The embodiment of the present disclosure further provides a computer program product, including a computer program / instruction, which implements each step of the above method when executed by a processor.
[0056] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0057] In some embodiments of the present disclosure, the income and expenditure structure data of the target contract text is obtained; according to the income and expenditure matching configuration rules, the income and expenditure structure data is filtered to obtain the filtered income and expenditure structure data; the income and expenditure structure data is input into the already constructed decision tree to obtain the project benefit level; according to the project benefit level, a reminder operation is performed; the present disclosure automatically obtains the project efficiency level corresponding to the target contract text based on the income and expenditure structure data of the target contract text, and performs subsequent reminder operations, thereby improving the efficiency of benefit accounting and improving the accuracy of benefit accounting.
[0058] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0060] Figure 1 A flowchart of a text processing method provided for an exemplary embodiment of the present disclosure;
[0061] Figure 2 A flowchart of a matching rule provided for an exemplary embodiment of the present disclosure;
[0062] Figure 3 A schematic diagram of a decision tree structure provided for an exemplary embodiment of the present disclosure;
[0063] Figure 4 A structural schematic diagram of a text processing device provided for an exemplary embodiment of the present disclosure;
[0064] Figure 5 A schematic structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0065] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0066] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure.
[0067] It should be noted that the user information involved in this disclosure includes but is not limited to: user device information and user personal information; the collection, storage, use, processing, transmission, provision and disclosure of user information in this disclosure comply with the relevant laws and regulations and do not violate public order and good morals.
[0068] The recent development of domestic information technology and communication technology has promoted the rapid development of digital business of various public cloud, dedicated line and Internet of Things communication technology infrastructure service companies. In this process, for these information communication technology service providers, comprehensive project management has become a key action in the management of enterprise production processes. And with the development of information and communication technology and the increasing urgency of domestic enterprises' demand for digital transformation, the domestic information and communication business market has gradually matured, especially the ToG and ToB (hereinafter referred to as government and enterprise or government and enterprise business) market segments have the most vigorous demand.
[0069] However, there are serious silos between domestic enterprise project and other production management processes and contract and financial benefit evaluation information, that is, business and financial information are separated, and project information and contract information cannot form effective input for specific benefit evaluation, resulting in the company's benefit pre-assessment before project initiation, benefit monitoring during project delivery, and benefit accounting after project delivery being too extensive, and the support of multi-party data for the company's business decision-making process is relatively weak.
[0070] In response to the above technical problems, in some embodiments of the present disclosure, the income and expenditure structure data of the target contract text is obtained; according to the income and expenditure matching configuration rules, the income and expenditure structure data is filtered to obtain the filtered income and expenditure structure data; the income and expenditure structure data is input into the already constructed decision tree to obtain the project benefit level; according to the project benefit level, a reminder operation is performed; the present disclosure automatically obtains the project efficiency level corresponding to the target contract text based on the income and expenditure structure data of the target contract text, and performs subsequent reminder operations, thereby improving the efficiency of benefit accounting and improving the accuracy of benefit accounting.
[0071] The technical solutions provided by various embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings.
[0072] Figure 1 The flowchart of a text processing method provided by the exemplary embodiment of the present disclosure is as follows. Figure 1 As shown, the method includes:
[0073] S101: Acquire the income and expenditure structure data of the target contract text;
[0074] S102: filtering the income and expenditure structure data according to the income and expenditure matching configuration rule to obtain filtered income and expenditure structure data;
[0075] S103: Input the revenue and expenditure structure data into the constructed decision tree to obtain the project benefit level;
[0076] S104: Execute reminder operation according to the project benefit level.
[0077] In this embodiment, the execution subject of the above method is a terminal device or a server.
[0078] Among them, the terminal device includes but is not limited to a mobile station (MS), a mobile terminal, a mobile phone, a handset and a portable equipment, etc. The terminal device can communicate with one or more core networks via a radio access network (RAN). For example, the terminal device can be a mobile phone (or a "cellular" phone), a computer with a wireless communication function, etc. The terminal device can also be a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an AR terminal device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc., and the operating system installed on the terminal device includes but is not limited to: IOS, Android, windows, linux, Mac OS and other operating systems. In different networks, the terminal may be called different names, such as user equipment, mobile station, subscriber unit, station, cellular phone, personal digital assistant, wireless modem, wireless communication device, handheld device, laptop computer, cordless phone, wireless local loop station, television, etc. For the convenience of description, it is referred to as terminal equipment in this embodiment.
[0079] In this embodiment, the implementation form of the server is not limited. For example, the server can be a conventional server, a cloud server, a cloud host, a virtual center, or other server devices. The server mainly includes a processor, a hard disk, a memory, a system bus, etc., and a general computer architecture type.
[0080] In this embodiment, the income and expenditure structure data of the target contract text is obtained; according to the income and expenditure matching configuration rules, the income and expenditure structure data is filtered to obtain the filtered income and expenditure structure data; the income and expenditure structure data is input into the already constructed decision tree to obtain the project benefit level; according to the project benefit level, a reminder operation is performed; the present disclosure automatically obtains the project efficiency level corresponding to the target contract text based on the income and expenditure structure data of the target contract text, and performs subsequent reminder operations, thereby improving the efficiency of benefit accounting and improving the accuracy of benefit accounting.
[0081] In some embodiments of the present disclosure, the income and expenditure structure data of the target contract text is obtained, including but not limited to the following centralized acquisition methods:
[0082] Acquisition method 1: Use natural language processing technology to parse the target contract text and obtain the income and expenditure structure data;
[0083] Acquisition method two: Responding to user input operations, acquiring income and expenditure structure data.
[0084] In the above-mentioned acquisition method 1, natural language processing technology is used, and its goal is to enable computers to understand and process text like humans. The platform converts "text" into "formatted information" by capturing descriptions such as the income and expenditure structure, income and expenditure amount, and income and expenditure progress in the contract text. At the same time, it verifies the compliance of income and expenditure matching, supports front-end modification and addition, reduces manual intervention, and improves submission accuracy and efficiency.
[0085] In the above-mentioned acquisition method 2, in addition to attachment parsing, for contracts whose income and expenditure structure cannot be parsed, a front-end function is made based on the income and expenditure matching rules to support manual entry of income and expenditure data and verify the compliance of income and expenditure matching, which is compatible with the difficulties of attachment data format and income and expenditure structure that cannot be parsed by AI.
[0086] In some embodiments of the present disclosure, according to the configured rules of income and expenditure matching, the income and expenditure structure data is filtered to obtain the filtered income and expenditure structure data. One achievable method is to read whether the expense item category of the expenditure content of the expenditure details is consistent with the expense item category of the income associated with the expenditure content according to the income and expenditure structure data; if the expense item category of the expenditure content of the expenditure details is consistent with the expense item category of the income associated with the expenditure content, determine whether the sum of the expenditure of the target income is greater than the target income; if the sum of the expenditure of the target income is greater than the target income, filter the target income and the expenditure corresponding to the target income to obtain the filtered income and expenditure structure data.
[0087] For example, the verification configuration of the income and expenditure stage: read the expense category corresponding to the configuration table according to the expenditure content, and verify that the expenditure content of the expenditure details corresponds to the expense category of the associated income, otherwise the match is not allowed. After the data is read, filter out unnecessary data and clean the useful data according to the configuration rules. The configuration rules are divided into processing of individual content and post-processing of comparative analysis of global data.
[0088] Figure 2 A flow chart of a matching rule provided by an exemplary embodiment of the present disclosure. Figure 2 As shown, different from the income and expenditure matching rules of other provinces, refined management and control have been implemented. The total expenditure in the same stage cannot be greater than the income, and the maximum payment amount of each expenditure depends on the progress of the associated single income, and no longer the overall income progress in the same stage.
[0089] In some embodiments of the present disclosure, the income progress calculation is based on the actual payment amount, but the actual payment data of the income will not be returned until the beginning of the next month. Therefore, after the system income payment synchronization is successful, the payment data of this month that has been successfully synchronized can be used to calculate the income progress, so that the payment of this month can be reported this month.
[0090] In some embodiments of the present disclosure, the project benefit level includes: a first benefit level, a second benefit level and a third benefit level, the first benefit level is higher than the second benefit level, and the second benefit level is higher than the third benefit level. Input the revenue and expenditure structure data into the decision tree that has been constructed to obtain the project benefit level. One achievable method is to input the revenue and expenditure structure data into the decision tree that has been constructed to obtain the net present value rate, the project type and the project total income profit rate; when the net present value rate is positive, the project type meets the set conditions and the project total income profit rate is greater than or equal to the set profit rate threshold, the project benefit level is the first benefit level; when any two of the net present value rate is positive, the project type meets the set conditions and the project total income profit rate is greater than or equal to the set profit rate threshold are established, the project benefit level is the second benefit level; when any two of the net present value rate is positive, the project type meets the set conditions and the project total income profit rate is greater than or equal to the set profit rate threshold are not established, the project benefit level is the third benefit level.
[0091] In this embodiment, there are many indicators that determine the overall situation of enterprise project benefits, such as the static payback period, dynamic payback period, net profit margin, internal rate of return, cash flow, contract period, project strategy level, etc. of a specific project. In order to efficiently complete the overall evaluation of enterprise project benefits, it is planned to use a decision tree to assess the enterprise benefit level and guide the enterprise to optimize its business activities.
[0092] Figure 3 A schematic diagram of a decision tree structure provided by an exemplary embodiment of the present disclosure. Figure 3 As shown, decision tree, also known as determination tree, is an important classification and regression method in data mining technology. It is a predictive analysis model expressed in the form of a tree structure, including a binary tree and a multi-branch tree.
[0093] Basic principle: Divide and conquer from top to bottom, a recursive process from root to leaf, looking for a "partition" attribute at each intermediate node.
[0094] (1) Start: Build a root node; all training data are placed in the root node, select an optimal feature, and divide the training data set into subsets based on this feature and enter the child nodes.
[0095] (2) All subsets are recursively split according to the attributes of internal nodes.
[0096] (3) If these subsets can be basically classified correctly, then construct leaf nodes and assign these subsets to the corresponding leaf nodes.
[0097] (4) Each subset is assigned to a leaf node, that is, it has a clear class, thus generating a decision tree.
[0098] Algorithm formula:
[0099] H(X)=–∑P(x)log[P(x)]H(x): represents entropy P(x): represents the probability of event x occurring.
[0100] To evaluate the financial benefits of each project, the steps are as follows:
[0101] 1. Data preparation: First, data preparation is required. This includes obtaining data sets containing information such as the static payback period, dynamic payback period, net profit margin, internal rate of return, cash flow, contract period, and project strategic level of existing projects from databases or other sources.
[0102] 2. Data cleaning: During the data preparation phase, some errors or abnormal data may be found. In order to ensure the accuracy of the decision tree, the data needs to be cleaned, for example, deleting duplicate data, correcting erroneous data, etc.
[0103] 3. Data standardization: Since different financial indicators may have different dimensions and ranges, in order for the decision tree to more accurately evaluate the financial benefits of the project, the data needs to be standardized. This can be achieved by converting the value of each indicator to a value between 0 and 1 or converting them to the same scale.
[0104] 4. Feature selection: Before building a decision tree, we need to select the most important features from all financial indicators. This can be achieved through methods such as statistical methods, expert consultation, or machine learning algorithms. For example, methods such as chi-square test or information gain can be used to select features with the greatest discriminatory power.
[0105] 5. Build a decision tree: After selecting the most important features, we can start building a decision tree. First, we select a feature as the root node and create child nodes based on the different values of the feature. Then, for each child node, we continue to split the data according to the value of its feature until the stopping condition is reached (for example, the purity of the child node reaches a certain threshold or the size of the node is less than a certain threshold). Finally, the resulting tree structure is our decision tree.
[0106] 6. Decision tree pruning: In order to avoid overfitting of decision trees, decision trees need to be pruned. This can be achieved by setting parameters such as the maximum depth of the tree and the minimum leaf node size. In addition, techniques such as cross-validation can be used to evaluate the performance of the pruned decision tree.
[0107] 7. Model evaluation: A test set is needed to evaluate the performance of the decision tree. The effect of the decision tree can be evaluated by calculating the accuracy, precision, recall and other indicators of the decision tree. If the effect is not satisfactory, the parameters of the decision tree can be adjusted or other algorithms can be used to optimize the performance of the model.
[0108] Through the above steps, the financial indicators of existing projects can be used to construct a decision tree that can evaluate the financial benefits of projects, so that enterprises can complete the project economic benefit evaluation through decision-making.
[0109] The benefit evaluation level is judged as follows: if the following three conditions are met, it is the first benefit level A; if two of the following conditions are met, it is the second benefit level B; otherwise, it is the third benefit level C. Condition 1: the net present value rate must be greater than 0%; Condition 2: the project type meets the set conditions; Condition 3: the profit rate in the total project income is greater than or equal to 8%. Among them, information investment and communication investment, if the sum is 0, it is considered as cost, otherwise it is considered as investment.
[0110] In the above embodiment, the project type meets the set conditions. Optionally, when the project type is an information technology project, the static payback period is less than the first payback period threshold and the static payback period is less than the contract period, or the cash flows are all positive; when the project type is a communication technology project, the dynamic payback period is less than the second payback period threshold and the dynamic payback period is less than the contract period, and the internal rate of return is greater than or equal to the set rate of return threshold, or the cash flows are all positive and the net cash flows are all positive.
[0111] For example, if the project type is an information technology project, the static payback period is determined. The static payback period < 5 and the static payback period < the contract period, or the cash flows are all positive.
[0112] If the project type is a communication technology project, the dynamic payback period and internal rate of return are determined. The dynamic payback period < 5 and the dynamic payback period < the contract period and the internal rate of return > = 5.5%, or the cash flow present value is all positive and the net cash flow is all positive.
[0113] In some embodiments of the present disclosure, a reminder operation is performed according to the project benefit level. One achievable method is to send the project benefit level to the target terminal when the project benefit level is the second benefit level or the third benefit level. The present disclosure does not limit the specific display of the project benefit level by the target terminal, and adjustments can be made according to actual conditions.
[0114] For example, the system background custom task monitors the project evaluation level in real time. If it is detected that it is not the first benefit level A, a text message or reminder is sent to the creator of the corresponding project. The content displays the non-first benefit level A projects, the unmet conditions and improvement measures.
[0115] The present disclosure has the following technical effects: Diversified data preprocessing: AI parsing of attachments and manual online filling can be used in actual production. After the data is acquired, it is cleaned and filtered according to the income and expenditure matching rules. Advance reimbursement: The income progress calculation is based on the actual amount of billing, but the actual billing data of this month's income will not be returned until the beginning of next month. Therefore, after the system income and billing are successfully synchronized, the successful synchronization of this month's billing data can be used to calculate the income progress, so that the billing can be reimbursed this month. Benefit evaluation indicator monitoring: The uniqueness of the project benefit grade rule, the analysis method based on the decision tree predicts the project benefit grade, and then if a non-A grade project is monitored, a text message or reminder is sent to inform the remaining conditions and improvement measures that do not reach the A grade. In summary, the embodiment of the present disclosure has technical advantages in data preprocessing, data analysis, monitoring and other aspects. It can realize the refined management and monitoring of the income and expenditure matching of the project.
[0116] In the above method embodiment of the present disclosure, the income and expenditure structure data of the target contract text is obtained; according to the income and expenditure matching configuration rules, the income and expenditure structure data is filtered to obtain the filtered income and expenditure structure data; the income and expenditure structure data is input into the already constructed decision tree to obtain the project benefit level; according to the project benefit level, a reminder operation is performed; the present disclosure automatically obtains the project efficiency level corresponding to the target contract text based on the income and expenditure structure data of the target contract text, and performs subsequent reminder operations, thereby improving the efficiency of benefit accounting and improving the accuracy of benefit accounting.
[0117] Figure 4 FIG. 4 is a schematic diagram of a text processing device 40 provided by an exemplary embodiment of the present disclosure. Figure 4 As shown, the text processing device 40 includes: an acquisition module 41, a filtering module 42, a decision tree module 43 and an execution module 44.
[0118] Wherein, the acquisition module 41 is used to acquire the income and expenditure structure data of the target contract text;
[0119] A filtering module 42, for filtering the income and expenditure structure data according to the income and expenditure matching configuration rules to obtain filtered income and expenditure structure data;
[0120] The decision tree module 43 is used to input the revenue and expenditure structure data into the constructed decision tree to obtain the project benefit level;
[0121] The execution module 44 is used to execute a reminder operation according to the project benefit level.
[0122] Optionally, when acquiring the income and expenditure structure data of the target contract text, the acquisition module 41 is used to:
[0123] Use natural language processing technology to parse the target contract text and obtain the income and expenditure structure data; or
[0124] In response to a user input operation, income and expenditure structure data is acquired.
[0125] Optionally, when filtering the income and expenditure structure data according to the income and expenditure matching configuration rule to obtain the filtered income and expenditure structure data, the filtering module 42 is used to:
[0126] Based on the income and expenditure structure data, check whether the expense item category of the expenditure content in the expenditure details is consistent with the expense item category of the income associated with the expenditure content;
[0127] When the expense item category of the expenditure content of the expenditure details is consistent with the expense item category of the income associated with the expenditure content, determine whether the sum of the expenditure of the target income is greater than the target income;
[0128] When the sum of the expenditures of the target income is greater than the target income, the target income and the expenditures corresponding to the target income are filtered to obtain filtered income and expenditure structure data.
[0129] Optionally, the project benefit level includes: a first benefit level, a second benefit level and a third benefit level, the first benefit level is higher than the second benefit level, and the second benefit level is higher than the third benefit level; when the decision tree module 43 inputs the revenue and expenditure structure data into the constructed decision tree to obtain the project benefit level, it is used to:
[0130] Input the revenue and expenditure structure data into the constructed decision tree to obtain the net present value rate, project type and project total revenue profit rate;
[0131] When the net present value rate is positive, the project type meets the set conditions, and the project's total revenue profit rate is greater than or equal to the set profit rate threshold, the project benefit level is the first benefit level;
[0132] If any two of the following conditions are met: the net present value rate is positive, the project type meets the set conditions, and the project total revenue profit rate is greater than or equal to the set profit rate threshold, the project benefit level is the second benefit level;
[0133] If neither of the following two conditions holds true: the net present value rate is positive, the project type meets the set conditions, and the project's total revenue profit margin is greater than or equal to the set profit margin threshold, the project benefit level is the third benefit level.
[0134] Optionally, the project type meets set conditions, including:
[0135] In the case of an information technology project, the static payback period is less than the first payback period threshold and the static payback period is less than the contract period, or the cash flows are all positive;
[0136] When the project type is a communications technology project, the dynamic payback period is less than the second payback period threshold and the dynamic payback period is less than the contract period, and the internal rate of return is greater than or equal to the set rate of return threshold, or, all cash flows are positive and all net cash flows are positive.
[0137] Optionally, the project benefit level includes: a first benefit level, a second benefit level and a third benefit level, the first benefit level is higher than the second benefit level, and the second benefit level is higher than the third benefit level; when the execution module 44 executes the reminder operation according to the project benefit level, it is used to:
[0138] When the project benefit level is the second benefit level or the third benefit level, the project benefit level is sent to the target terminal.
[0139] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0140] Figure 5 FIG. 1 is a schematic diagram of a structure of an electronic device provided by an exemplary embodiment of the present disclosure. Figure 5 As shown, the electronic device includes: a memory 51 and a processor 52. In addition, the electronic device also includes a power supply component 53 and a communication component 54.
[0141] The memory 51 is used to store computer programs and can be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application program or method operating on the electronic device.
[0142] The memory 51 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0143] The communication component 54 is used for data transmission with other devices.
[0144] The processor 52 can execute computer instructions stored in the memory 51 to: obtain the income and expenditure structure data of the target contract text; filter the income and expenditure structure data according to the income and expenditure matching configuration rules to obtain the filtered income and expenditure structure data; input the income and expenditure structure data into the decision tree that has been constructed to obtain the project benefit level; and perform a reminder operation according to the project benefit level.
[0145] Optionally, when acquiring the income and expenditure structure data of the target contract text, the processor 52 is used to:
[0146] Use natural language processing technology to parse the target contract text and obtain the income and expenditure structure data; or
[0147] In response to a user input operation, income and expenditure structure data is acquired.
[0148] Optionally, when the processor 52 filters the income and expenditure structure data according to the income and expenditure matching configuration rule to obtain the filtered income and expenditure structure data, it is used to:
[0149] Based on the income and expenditure structure data, check whether the expense item category of the expenditure content in the expenditure details is consistent with the expense item category of the income associated with the expenditure content;
[0150] When the expense item category of the expenditure content of the expenditure details is consistent with the expense item category of the income associated with the expenditure content, determine whether the sum of the expenditure of the target income is greater than the target income;
[0151] When the sum of the expenditures of the target income is greater than the target income, the target income and the expenditures corresponding to the target income are filtered to obtain filtered income and expenditure structure data.
[0152] Optionally, the project benefit level includes: a first benefit level, a second benefit level and a third benefit level, the first benefit level is higher than the second benefit level, and the second benefit level is higher than the third benefit level; when the processor 52 inputs the revenue and expenditure structure data into the constructed decision tree to obtain the project benefit level, it is used to:
[0153] Input the revenue and expenditure structure data into the constructed decision tree to obtain the net present value rate, project type and project total revenue profit rate;
[0154] When the net present value rate is positive, the project type meets the set conditions, and the project's total revenue profit rate is greater than or equal to the set profit rate threshold, the project benefit level is the first benefit level;
[0155] If any two of the following conditions are met: the net present value rate is positive, the project type meets the set conditions, and the project total revenue profit rate is greater than or equal to the set profit rate threshold, the project benefit level is the second benefit level;
[0156] If neither of the following two conditions holds true: the net present value rate is positive, the project type meets the set conditions, and the project's total revenue profit margin is greater than or equal to the set profit margin threshold, the project benefit level is the third benefit level.
[0157] Optionally, the project type meets set conditions, including:
[0158] In the case of an information technology project, the static payback period is less than the first payback period threshold and the static payback period is less than the contract period, or the cash flows are all positive;
[0159] When the project type is a communications technology project, the dynamic payback period is less than the second payback period threshold and the dynamic payback period is less than the contract period, and the internal rate of return is greater than or equal to the set rate of return threshold, or, all cash flows are positive and all net cash flows are positive.
[0160] Optionally, the project benefit level includes: a first benefit level, a second benefit level and a third benefit level, the first benefit level is higher than the second benefit level, and the second benefit level is higher than the third benefit level; when the processor 52 performs the reminder operation according to the project benefit level, it is used to:
[0161] When the project benefit level is the second benefit level or the third benefit level, the project benefit level is sent to the target terminal.
[0162] Accordingly, the present disclosure also provides a computer-readable storage medium storing a computer program. When the computer-readable storage medium stores the computer program and the computer program is executed by one or more processors, the one or more processors execute Figure 1 Each step in the method embodiment.
[0163] Accordingly, the present disclosure also provides a computer program product, the computer program product includes a computer program / instruction, the computer program / instruction is executed by a processor Figure 1 Each step in the method embodiment.
[0164] Above Figure 5The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0165] Above Figure 5 The power supply component in the device provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.
[0166] The electronic device also includes a display screen and an audio component.
[0167] The display screen includes a screen, and the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0168] The audio component may be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.
[0169] In the above-mentioned device, equipment, storage medium and computer program product embodiments of the present disclosure, the income and expenditure structure data of the target contract text is obtained; according to the income and expenditure matching configuration rules, the income and expenditure structure data is filtered to obtain the filtered income and expenditure structure data; the income and expenditure structure data is input into the already constructed decision tree to obtain the project benefit level; according to the project benefit level, a reminder operation is performed; the present disclosure automatically obtains the project efficiency level corresponding to the target contract text based on the income and expenditure structure data of the target contract text, and performs subsequent reminder operations, thereby improving the efficiency of benefit accounting and improving the accuracy of benefit accounting.
[0170] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0171] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0172] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0173] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0174] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0175] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0176] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0177] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0178] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A text processing method, It is characterized in that include: Obtain the income and expenditure structure data of the target contract text; According to the income and expenditure matching configuration rule, the income and expenditure structure data is filtered to obtain filtered income and expenditure structure data; Input the revenue and expenditure structure data into the constructed decision tree to obtain the project benefit level; According to the project benefit level, a reminder operation is performed.
2. The method according to claim 1, It is characterized in that The step of obtaining the income and expenditure structure data of the target contract text includes: Using natural language processing technology to parse the target contract text to obtain the income and expenditure structure data; or, In response to a user input operation, the income and expenditure structure data is acquired.
3. The method according to claim 1, It is characterized in that The filtering of the income and expenditure structure data according to the income and expenditure matching configuration rule to obtain the filtered income and expenditure structure data includes: Reading the expense item category of the expenditure content of the expenditure details according to the income and expenditure structure data to see whether it is consistent with the expense item category of the income associated with the expenditure content; In the case where the expense item category of the expenditure content of the expenditure details is consistent with the expense item category of the income associated with the expenditure content, determining whether the sum of the expenditures of the target income is greater than the target income; When the sum of the expenditures of the target income is greater than the target income, the target income and the expenditures corresponding to the target income are filtered to obtain filtered income and expenditure structure data.
4. The method according to claim 1, It is characterized in that The project benefit level includes: a first benefit level, a second benefit level and a third benefit level, wherein the first benefit level is higher than the second benefit level, and the second benefit level is higher than the third benefit level; the inputting of the revenue and expenditure structure data into the constructed decision tree to obtain the project benefit level includes: Input the revenue and expenditure structure data into the constructed decision tree to obtain the net present value rate, project type and total project revenue profit rate; When the net present value rate is a positive number, the project type meets the set conditions, and the total income profit rate of the project is greater than or equal to the set profit rate threshold, the project benefit level is the first benefit level; If any two of the following conditions are met: the net present value rate is a positive number, the project type meets the set conditions, and the project total income profit rate is greater than or equal to the set profit rate threshold, the project benefit level is the second benefit level; When neither of the following two conditions is true: the net present value rate is positive, the project type satisfies the set conditions, and the project total revenue profit rate is greater than or equal to the set profit rate threshold, the project benefit level is the third benefit level.
5. The method according to claim 4, It is characterized in that The project type meets the set conditions, including: In the case where the project type is an information technology project, the static payback period is less than the first payback period threshold and the static payback period is less than the contract period, or the cash flows are all positive; When the project type is a communications technology project, the dynamic payback period is less than the second payback period threshold and the dynamic payback period is less than the contract period, and the internal rate of return is greater than or equal to the set rate of return threshold, or the cash flows are all positive and the net cash flows are all positive.
6. The method according to claim 4, It is characterized in that The project benefit level includes: a first benefit level, a second benefit level and a third benefit level, the first benefit level is higher than the second benefit level, and the second benefit level is higher than the third benefit level; performing the reminder operation according to the project benefit level includes: When the project benefit level is the second benefit level or the third benefit level, the project benefit level is sent to the target terminal.
7. A text processing device, It is characterized in that include: An acquisition module, used to acquire the income and expenditure structure data of the target contract text; A filtering module, used to filter the income and expenditure structure data according to the income and expenditure matching configuration rules to obtain filtered income and expenditure structure data; A decision tree module is used to input the revenue and expenditure structure data into the constructed decision tree to obtain the project benefit level; The execution module is used to execute the reminder operation according to the project benefit level.
8. An electronic device, It is characterized in that include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement each step in the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, each step of the method according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
