Quota application method and device, electronic equipment and storage medium
By conducting coverage analysis and similarity calculation on the target list and historical list in the project cost, the application of quota information is automatically solved, and the problem of low quota application efficiency in the existing technology is solved, and more efficient quota matching and application is achieved.
Patent Information
- Application Number
- CN202510043289.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-10
- Publication Date
- 2025-05-13
AI Technical Summary
The existing engineering cost pricing method relies too much on labor, which consumes a lot of manpower and time to apply the quota.
By obtaining the target list and multiple historical lists, perform coverage analysis for each project content, calculate the similarity between the historical list and the target list, and apply the quota information based on the similarity.
It improves the efficiency of quota application and can more accurately match the degree of matching between the target list and the historical list, thereby quickly determining the most suitable quota information.
Smart Images

Figure CN119990515A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of engineering cost technology, and in particular to a quota application method, device, electronic equipment and storage medium. Background Art
[0002] In the related art, the existing pricing method is that the project cost personnel apply the relevant quotas according to the characteristics of the list items in the project cost list file. However, the existing pricing method is too dependent on manual work, requiring a large number of manual workers to understand the characteristics of the project list and query the quotas, which consumes a lot of manpower and time. Summary of the invention
[0003] The main purpose of the embodiments of the present application is to propose a quota application method, device, electronic device and storage medium, aiming to improve the efficiency of quota application.
[0004] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a quota application method, comprising the following steps: Acquire a target list and a plurality of historical lists in a preset database, wherein the target list includes a plurality of first item contents, the historical list includes a plurality of second item contents, and the historical list is associated with quota information; For each of the historical lists, based on the plurality of second item contents and the plurality of first item contents in the historical list, a list similarity analysis is performed on the coverage of each of the first item contents for each of the second item contents, so as to obtain the similarity between the historical list and the target list; According to the similarity corresponding to each of the historical lists, one of the multiple quota information is applied to the target list.
[0005] In one embodiment, the target list includes a first code and a first item name, the first item content includes a first feature name and a plurality of first feature values, the history list includes a second code and a second item name, the second item content includes a second feature name and a plurality of second feature values; The performing a list similarity analysis on the coverage of each first item content for each second item content according to the plurality of second item contents and the plurality of first item contents in the history list to obtain the similarity between the history list and the target list includes: In the case where the history list is a target history list, for each first feature name, coverage analysis is performed according to a plurality of first feature values corresponding to the first feature name and a plurality of second feature values corresponding to a target second feature name identical to the first feature name in the history list, to obtain the coverage of the first feature name for the target second feature name, wherein the second code of the target history list is identical to the first code, and the second feature name is identical to the first feature name; The similarity between the history list and the target list is determined according to the coverage corresponding to each of the first feature names.
[0006] In one embodiment, the quota information includes quota pricing information associated with each second item content in the historical list, and the quota pricing information is associated with one or more target feature values among a plurality of second feature values in the corresponding second item content; The performing coverage analysis according to the plurality of first feature values corresponding to the first feature name and the plurality of second feature values corresponding to the target second feature name identical to the first feature name in the history list to obtain the coverage of the first feature name for the target second feature name includes: Determine the target feature value included in a plurality of second feature values corresponding to the target second feature name; Perform coverage analysis based on the first feature values corresponding to the first feature name and the target feature value corresponding to the target second feature name to obtain target coverage of the first feature values for the target feature value corresponding to the target second feature name; The coverage is determined according to the target coverage.
[0007] In one embodiment, applying one of the plurality of quota information to the target list according to the similarity corresponding to each of the historical lists includes: Associating the quota information associated with the historical list with the greatest similarity among the plurality of historical lists with the target list; The target list is compiled according to the multiple quota pricing information in the quota information associated with the target list.
[0008] In one embodiment, the quota information includes quota version information; The step of associating the quota information associated with the historical list with the greatest similarity among the plurality of historical lists with the target list includes: Obtain target quota version information of the target list; The quota information associated with the target history list with the greatest similarity among multiple target history lists is associated with the target list, wherein the quota version information corresponding to the target history list is the same as the target quota version information.
[0009] In one embodiment, the step of compiling the target list according to the plurality of quota pricing information in the quota information associated with the target list includes: For each of the first item contents, if the coverage of the first item content for the target second item content in the historical list with the maximum similarity is not less than a preset coverage threshold, the flat rate pricing information corresponding to the target second item content in the historical list with the maximum similarity will be applied to the first item content.
[0010] In one embodiment, the database includes historical usage phase information of each of the historical lists; The process of obtaining the plurality of history lists includes: Obtaining usage phase information of the target list; The history list corresponding to the historical usage phase information which is the same as the usage phase information is acquired from the database.
[0011] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides a quota application device, comprising: A list acquisition module, used to acquire a target list and a plurality of historical lists in a preset database, wherein the target list includes a plurality of first item contents, the historical list includes a plurality of second item contents, and the historical list is associated with quota information; a similarity acquisition module, configured to perform a list similarity analysis on each of the history lists according to the plurality of second item contents and the plurality of first item contents in the history list, targeting at the coverage of each of the first item contents for each of the second item contents, so as to obtain the similarity between the history list and the target list; The quota application processing module is used to apply one of the multiple quota information to the target list according to the similarity corresponding to each of the historical lists.
[0012] To achieve the above objectives, a third aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in the first aspect is implemented.
[0013] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0014] The present application proposes a quota application method, device, electronic device and storage medium, the method comprising: obtaining a target list and multiple historical lists in a preset database, wherein the target list includes multiple first item contents, the historical list includes multiple second item contents, and the historical list is associated with quota information; for each of the historical lists, according to the multiple second item contents and the multiple first item contents of the historical list, a list similarity analysis is performed on the coverage of each first item content for each second item content, so as to obtain the similarity between the historical list and the target list; according to the similarity corresponding to each of the historical lists, one of the multiple quota information is applied to the target list. By performing a list similarity analysis on the coverage of each first item content for each second item content, the similarity associated with the coverage of the item contents of the historical list and the target list can be determined, so that the matching degree between the target list and the historical list can be more accurately evaluated through the similarity, and then the quota information most suitable for the target list can be quickly determined according to the matching degree, so that the quota application of the target list can be quickly completed according to this quota information, which is helpful to improve the quota application efficiency of the target list. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is a flow chart of a quota application method provided by an embodiment of the present application; Figure 2 It is a schematic diagram of a quota application template provided by an embodiment of the present application; Figure 3 It is a flow chart of a quota application method for adding unit engineering association provided by an embodiment of the present application; Figure 4 It is a flow chart of a quota application method for a second target unit project that has no corresponding source file provided by an embodiment of the present application; Figure 5 yes Figure 4 The process of a sub-step embodiment of step 420; Figure 6 yes Figure 1 A flowchart of an embodiment of a sub-step of step 110; Figure 7 It is a structural schematic diagram of a quota application device provided in an embodiment of the present application; Figure 8It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0016] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0017] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0019] In the related art, the existing pricing method is that the project cost personnel apply the relevant quotas according to the characteristics of the list items in the project cost list file. However, the existing pricing method is too dependent on manual work, requiring a large number of manual workers to understand the characteristics of the project list and query the quotas, which consumes a lot of manpower and time.
[0020] In order to improve the efficiency of quota application, an embodiment of the present application provides a quota application method, a quota application device, an electronic device and a computer-readable storage medium, the method comprising: obtaining a target list and multiple historical lists in a preset database, wherein the target list includes multiple first item contents, the historical list includes multiple second item contents, and the historical list is associated with quota information; for each historical list, based on the multiple second item contents and the multiple first item contents of the historical list, a list similarity analysis is performed on the coverage of each first item content for each second item content to obtain the similarity between the historical list and the target list; based on the corresponding similarity of each historical list, one of the multiple quota information is applied to the target list. By conducting a list similarity analysis on the coverage of each first item content for each second item content, the similarity between the historical list and the target list based on the coverage of their item contents can be determined. Therefore, the degree of match between the target list and the historical list can be more accurately evaluated through the similarity, and the quota information most suitable for the target list can be quickly determined based on the degree of match. Therefore, the quota application to the target list can be quickly completed based on this quota information, which helps to improve the efficiency of quota application to the target list.
[0021] A quota application method, device, electronic device and storage medium provided in the embodiments of the present application are specifically illustrated through the following embodiments. First, the quota application method in the embodiments of the present application is described.
[0022] The quota application method provided in the embodiments of the present application can be applied to the terminal, can be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the quota application method, etc., but is not limited to the above forms.
[0023] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0024] See also Figure 1 , Figure 1 The flowchart of a quota application method provided by an embodiment of the present application is shown. In the embodiment of the present application, the quota application method may include steps 110 to 130.
[0025] Step 110: Acquire a target list and a plurality of historical lists in a preset database, wherein the target list includes a plurality of first item contents, the historical list includes a plurality of second item contents, and the historical list is associated with quota information; Step 120: for each historical list, based on the plurality of second item contents and the plurality of first item contents of the historical list, perform a list similarity analysis on the coverage of each first item content for each second item content, and obtain the similarity between the historical list and the target list; Step 130: Apply one of the multiple quota information to the target list according to the similarity corresponding to each historical list.
[0026] In one embodiment, the target list refers to the list to be associated with the quota information. The quota information refers to the information used to calculate the cost for each item in the list. The quota information may include the quota code, quota name, reference quota library name, unit, unit price, etc., which are not limited here. In addition, for the list, the list is provided with the unit, unit price, etc. in the quota information that are specifically used to participate in the cost data calculation. In one embodiment, in addition to storing multiple historical lists, the database may also store information on the content overview of each historical list, information on the engineering project to which each historical list belongs, information on the stage at which each historical list is in the engineering project to which it belongs, etc., which are not specifically limited here. The quota information may be stored in the same database as the historical lists, or may be distributed in different databases, which are not specifically limited here.
[0027] In one embodiment, the first item content refers to information used to represent a sub-item in a certain overall item targeted by the target list. The first item content may include a sub-item code (hereinafter referred to as the first code), a name of an item feature (hereinafter referred to as the first feature name), and an item feature value (hereinafter referred to as the first feature value).
[0028] In one embodiment, the second project content refers to a project feature information for representing a sub-project in a completed overall project targeted by the history list. The second project content may include a sub-project code (also referred to as the second code below), a project feature name (also referred to as the second feature name below), and a project feature value (also referred to as the second feature value below).
[0029] In one embodiment, performing a list similarity analysis for the coverage of each first item content for each second item content means first determining, for each first item content, whether the first item content is included in multiple second item contents, then determining the coverage of multiple second item contents for multiple first item contents by the fact that multiple second item contents include each first item content, and then determining the similarity between the target list and the historical list according to the coverage. The inclusion here refers to whether multiple second item contents include second item contents that are similar or identical to the first item content.
[0030] In one embodiment, in the process of performing a list similarity analysis for the coverage of each first item content for each second item content, specifically, for each first item content, multiple second item contents can be traversed to determine whether there is a second item content that is strictly identical to the first item content in text among the multiple second item contents, and then, according to the number of second item contents that are strictly identical to the multiple first item contents in text among the multiple second item contents, the coverage of the multiple second item contents for the multiple first item contents is determined. Among them, strictly identical in text means that the text is exactly the same. For example, one item content says "equal" and the other item content says "equivalent". Although "equal" and "equivalent" have the same semantics, they are different in text, so the two do not contain each other.
[0031] In one embodiment, in the process of performing a list similarity analysis for the coverage of each first item content for each second item content, specifically, for each first item content, multiple second item contents can be traversed to determine whether there are second item contents that are substantially identical to the first item content in semantics among the multiple second item contents, and then, according to the number of second item contents that are strictly identical to the multiple first item contents in text among the multiple second item contents, the coverage of the multiple second item contents for the multiple first item contents is determined. Among them, judging whether the semantics of a second item content and a first item content are identical can be determined based on a model such as a large language model (LLm), a convolutional neural network (CNN), or a semantic model obtained by network training, which is not specifically limited here.
[0032] In one embodiment, applying one of the multiple quota information to the target list according to the similarity corresponding to each historical list refers to determining a target historical list from multiple historical lists based on the similarity between each historical list and the target list, and applying the quota information associated with the target historical list to the target list. The target historical list may be a historical list with the greatest similarity among the multiple historical lists, or a list that meets a specific similarity condition, etc., which is not specifically limited here.
[0033] In one embodiment, in the process of determining the coverage of multiple second items of content to multiple first items according to the number of specific second items of content (that is, the content that is semantically substantially the same as a first item of content or strictly the same in text) included in multiple second items of content, the weight coefficient of each first item of content can be determined first, and then the target coverage of each first item of content can be determined according to the coverage and weight coefficient of each first item of content, and then the target coverage of each first item of content can be summed to obtain the similarity. In this way, the similarity can be adjusted according to the importance of each first item of content, so that the similarity can better meet the requirements.
[0034] See also Figure 2 , Figure 2 Shows Figure 1 In the process of a sub-step embodiment of step 120 in the embodiment, in one embodiment, the target list includes a first code and a first project name, the first project content includes a first feature name and multiple first feature values, the history list includes a second code and a second project name, and the second project content includes a second feature name and multiple second feature values. Step 120 may include the following steps.
[0035] Step 210: When the history list is a target history list, for each first feature name, a coverage analysis is performed according to a plurality of first feature values corresponding to the first feature name and a plurality of second feature values corresponding to a target second feature name in the history list that is the same as the first feature name, to obtain coverage of the first feature name for the target second feature name, wherein the second code of the target history list is the same as the first code, and the second feature name is the same as the first feature name; Step 220: Determine the similarity between the history list and the target list according to the coverage corresponding to each first feature name.
[0036] In one embodiment, a coverage analysis is performed based on multiple first feature values corresponding to the first feature name and multiple second feature values corresponding to the target second feature name that is the same as the first feature name in the history list to obtain the coverage of the first feature name for the target second feature name, which means first determining the target second feature name that is the same as the current first feature name from the multiple second feature names in the current history list, then, for each first feature value of the current first feature name, determining whether the multiple second feature values of the target second feature name include the first feature value, and then determining the coverage of the current first feature name for the target second feature name by the number of multiple second feature values that include the multiple first feature values. Among them, one of the multiple second feature values of the target second feature name can be the same as one of the multiple first feature values, and the multiple second feature values of the target second item content can also be different from any first feature value, which is not specifically limited here.
[0037] In one embodiment, in the process of performing coverage analysis based on multiple first feature values corresponding to the first feature name and multiple second feature values corresponding to the target second feature name that is the same as the first feature name in the history list to obtain the coverage of the first feature name for the target second feature name, specifically, for each first feature value, the multiple second feature values of the target second feature name can be traversed to determine whether there is a second feature value in the multiple second feature values that is strictly identical to the first feature value in text; then, based on the number of second feature values in the multiple second feature values that are strictly identical to the multiple first feature values in text, the coverage of the current first feature name for the target second feature name can be determined.
[0038] In one embodiment, in the process of performing coverage analysis based on multiple first feature values corresponding to the first feature name and multiple second feature values corresponding to the target second feature name that is the same as the first feature name in the history list to obtain the coverage of the first feature name for the target second feature name, specifically, for each first feature value, multiple second feature values of the target second feature name can be traversed to determine whether there is a second feature value that is semantically substantially the same as the first feature value in the multiple second feature values, and then, according to the number of second feature values that are textually strictly the same as the multiple first feature values in the multiple second feature values, the coverage of the target second feature name by the current first feature name is determined. Among them, judging whether the semantics of a second feature value and a first feature value are the same can be determined by a semantic model obtained by network training based on a large language model, a convolutional neural network (CNN), etc., and is not specifically limited here.
[0039] In one embodiment, step 220 can be expressed by the following formula (1).
[0040] (1) in, It can be used to indicate the similarity between the target list and the current history list; It can be used to indicate the number of target second feature names in the current history list; It can be used to indicate the number of specific second feature values in the target second feature name. The specific second feature value can be a second feature value that is strictly identical to one of the multiple first feature values of the current first feature name in terms of text or one of the second feature values that is substantially identical in terms of semantics. It is not specifically limited here. Can be used to indicate the number of second feature values in the target second feature name; It can be used to indicate the coverage corresponding to the current first feature name.
[0041] In one embodiment, when the history list is not the target history list, it is determined that the similarity between the current history list and the target list is 0.
[0042] Because engineers will compile the project content of the list based on their own compilation habits to a certain extent when compiling the list, the higher the coverage of the project content, the more similar the two are. This allows the coverage to reflect the information of the cost personnel's habit of compiling lists. To this end, the coverage of the feature values of each first feature name of the target list and the same second feature name of the target historical list is analyzed. In this way, in the process of determining the similarity between the target list and the target historical list, the similarity in the list compilation habits between the cost personnel of the target list and the cost personnel of the target historical list can be taken into account, so that the similarity can reflect the information of the list compilation habits, and then more accurately determine the target historical list that is more similar to the list compilation habits of the cost personnel of the target list.
[0043] See also Figure 3 , Figure 3 Shows Figure 2 In one embodiment, the quota information may include quota pricing information corresponding to each second item content in the associated historical list, and the quota pricing information is associated with one or more target feature values among the plurality of second feature values in the corresponding second item content. Step 210 may include the following steps.
[0044] Step 310: Determine a target feature value included in a plurality of second feature values corresponding to a target second feature name; Step 320: Perform coverage analysis based on the multiple first feature values corresponding to the first feature name and the target feature value corresponding to the target second feature name to obtain target coverage of the multiple first project feature values for the target feature value corresponding to the target second feature name; Step 330: Determine coverage according to target coverage.
[0045] In one embodiment, the fixed price pricing information refers to information used to indicate the calculation of a specific project content. The fixed price pricing information may include pricing unit price, unit and other information, which is not specifically limited here.
[0046] In one embodiment, the target characteristic value refers to a characteristic value that can be associated with the quota pricing information. Specifically, when compiling a list, for a project name, some cost estimators will habitually add some note characteristic values in the characteristic value, and these characteristic values have nothing to do with pricing. Other cost estimators cannot determine what pricing unit price, unit and other information the project name needs to use through the characteristic values, and these are not the so-called target characteristic values. On the contrary, other cost estimators can determine what pricing unit price, unit and other information the project name needs to use through some characteristic values, and these characteristic values are the target characteristic values.
[0047] In one embodiment, coverage analysis is performed based on multiple first feature values corresponding to the first feature name and the target feature value corresponding to the target second feature name to obtain target coverage of multiple first project feature values for the target feature value corresponding to the target second feature name, which means first determining, for each first feature value of the current first feature name, whether multiple target feature values of the target second feature name include the first feature value, and then determining the target coverage by the number of multiple target feature values including the first feature value. Among them, determining whether multiple target feature values of the target second feature name include the first feature value can be determined by one of two judgment criteria: whether the text is strictly the same or whether the semantics are substantially the same, which is not specifically limited here.
[0048] In one embodiment, in the process of determining the coverage according to the target coverage, the target coverage can be directly determined as the coverage between the first feature name and the target second feature name.
[0049] In one embodiment, in the process of determining coverage based on target coverage, coverage analysis can be performed based on multiple first feature values corresponding to the first feature name and non-target feature values other than the target feature values included in multiple second feature values corresponding to the target second feature name to obtain non-target coverage of multiple first project feature values for the non-target feature values corresponding to the target second feature name, and then determine the weight coefficients corresponding to the target coverage and non-target coverage, respectively. Then, based on the target coverage, the weight coefficient corresponding to the target coverage, the non-target coverage, and the weight coefficient corresponding to the non-target coverage, the coverage between the first feature name and the target second feature name is determined.
[0050] By determining the target feature value corresponding to the second feature name of the current target, and performing coverage analysis based on these feature values and multiple first feature values corresponding to the same first feature name, the coverage between the second feature name of the current target and the same first feature name can be calculated through the feature value directly related to the unit price information, so that the coverage can better reflect the degree of application and matching of the first feature name and the unit price information associated with the second feature name of the current target, thereby improving the accuracy of the unit price information applied by the first feature name.
[0051] See also Figure 4 , Figure 4 Shows Figure 1 In the process of a sub-step embodiment of step 130, in one embodiment, step 130 may include the following steps.
[0052] Step 410: Associating the quota information associated with the historical list with the greatest similarity among the multiple historical lists with the target list; Step 420: compile a list for the target list based on multiple quota pricing information in the quota information associated with the target list.
[0053] In one embodiment, in the process of associating the quota information associated with the historical list with the greatest similarity among multiple historical lists with the target list, specifically, the multiple target second feature names of the historical list with the greatest similarity can be first determined according to the correspondence of the multiple first feature names, and then, for each first feature name, the quota pricing information associated with the second item content to which the corresponding target second feature name belongs is associated to the first item content to which the current first feature name belongs. Among them, the quota pricing information will not be disassociated from the second feature name in the process of associating the first feature name. In addition, the multiple first feature names corresponding one-to-one to the multiple target second feature names of the historical list with the greatest similarity can be all the first feature names in the target list, or can be part of the first feature names in the target list, which is not specifically limited here. In addition, the association between the first feature name and the quota pricing information can be formed by forming a foreign key association through a data table, or by filling the identification information of the quota pricing information into the corresponding position in the target list to form an association, and so on, which is not specifically limited here.
[0054] In one embodiment, in the process of compiling the target list based on multiple quota pricing information in the quota information associated with the target list, the quota pricing information associated with each first feature name can be first filled into a row where each first feature name is located in the target list, and then the cost of each first item content is calculated based on each quota pricing information.
[0055] By associating the quota information associated with the historical list with the greatest similarity with the target list, and compiling the list based on the associated quota information, after querying the historical list with the most similarity, the target list can be automatically compiled according to the most similar historical list, making the process of applying the quota information to compile the target list more convenient, thereby greatly improving the efficiency of list compilation.
[0056] In one embodiment, in the process of compiling the target list based on multiple quota pricing information in the quota information associated with the target list, for each first item content, if the coverage of the first item content for the target second item content in the historical list with maximum similarity is not less than a preset coverage threshold, the quota pricing information corresponding to the target second item content in the historical list with maximum similarity may be applied to the first item content.
[0057] Since the similarity between lists is determined based on the similarity between the item contents in the two lists, there will be a situation where the similarity between some item contents in the two lists is high, and the similarity between some item contents is low. This means that the fixed-rate pricing information associated with the target second feature name corresponding to a certain first feature name may not be applicable to the first item content where the first feature name is located. To this end, for each first item content, the coverage of the current first item content and the target second item content in the historical list with the maximum similarity can be compared with a preset coverage threshold, and the coverage threshold can characterize the similarity between the feature values in the current first item content and the corresponding target second item content. When the coverage is not less than the coverage threshold, it can be considered that the first item content is the same as the corresponding target second item content, so the fixed-rate pricing information used by the corresponding target second item content can be applied, thereby reducing the situation where the fixed-rate pricing information is not applicable and improving the accuracy of fixed-rate application.
[0058] In one embodiment, if the coverage of the first item content to the target second item content in the history list with maximum similarity is less than a preset coverage threshold, the fixed-rate pricing information corresponding to the target second item content in the history list with maximum similarity is not applied.
[0059] See also Figure 5 , Figure 5 Shows Figure 4 In the process of a sub-step embodiment of step 420, in one embodiment, step 420 may include the following steps.
[0060] Step 510: Obtain target quota version information of the target list; Step 520: Associating the quota information associated with the target history list with the greatest similarity among the multiple target history lists with the target list, wherein the quota version information corresponding to the target history list is the same as the target quota version information.
[0061] In one embodiment, the target quota version information refers to information used to indicate the version of the quota information to be used in the target list. Specifically, since information such as unit price will change in different time periods, multiple different versions of quota information will be formed, and different versions of quota information are specified by setting a quota version information. In this way, the same project content can correspond to different versions of quota information, thereby forming multiple substantially different historical lists for application. Among them, the target quota version information can be recorded in the target list, or it can be compiled by the engineering cost personnel, etc., which is not specifically limited here.
[0062] In one embodiment, associating the quota information associated with a target historical list with the greatest similarity among multiple target historical lists with the target list means first traversing the quota version information of each historical list according to the target quota version information, determining multiple target historical lists from each historical list, and then associating the quota information associated with the target historical list with the greatest similarity with the target list.
[0063] In one embodiment, in the process of associating the quota information associated with the target history list with the greatest similarity among multiple target history lists with the target list, specifically, multiple target second feature names of the target history list with the greatest similarity can be determined based on the corresponding multiple first feature names, and then, for each first feature name, the quota pricing information associated with the second item content to which the corresponding target second feature name belongs can be associated with the first item content to which the current first feature name belongs.
[0064] In one embodiment, when there is only one target history list, the similarity between the target history list and the target list is compared with a preset similarity threshold. When the similarity is not less than the similarity threshold, the quota information associated with the target history list is associated with the target list, otherwise it is not associated.
[0065] In one embodiment, when the target history list is not present, the quota information in any history list is not associated with the target list.
[0066] The quota version information can reflect the quota requirements of the list. The target historical list with the greatest similarity is selected from multiple target historical lists through the target quota version information. In this way, the target historical list that matches the quota requirements of the target list and is most similar to the target list can be selected according to the current quota requirements of the target list. This improves the accuracy of the precision of the query for the historical list that is most similar to the target list, thereby making the quota information retrieved through the target historical list more consistent with the target list.
[0067] See also Figure 6 , Figure 6 Shows Figure 1 In the process of a sub-step embodiment of step 110, in one embodiment, the database includes historical usage stage information of each historical list, and step 110 may include the following steps.
[0068] Step 610: Obtain usage phase information of the target list; Step 620: Obtain from the database a history list corresponding to the historical usage phase information that is the same as the usage phase information.
[0069] In one embodiment, the historical use stage information refers to information used to indicate the historical use stage of the historical list in the overall project to which it belongs. The historical use stage may be one of the stages of estimation, budget, budget, contract preparation, and final settlement in the completed overall project, which is not specifically limited here.
[0070] In one embodiment, the use stage information refers to information used to indicate the use stage of the target list in the overall project to which it belongs. The use stage can be one of the stages of estimation, budget, budget, contract preparation, completion settlement, etc. in the overall project to which the target list belongs, and is not specifically limited here.
[0071] By using stage information to perform similarity comparisons using specific historical lists, when searching for similar historical lists, it is possible to take into account the impact of the compilation habits of the target list compilers during the current target list usage phase on the similarity analysis, thereby making the applied quota information more in line with the compilation habits of the target list compilers during the current target list usage phase.
[0072] See also Figure 7 The embodiment of the present application further provides a quota application device, which can implement the quota application method of the first aspect. The quota application device 700 includes: The list acquisition module 710 may be used to acquire a target list and a plurality of historical lists in a preset database, wherein the target list includes a plurality of first item contents, the historical list includes a plurality of second item contents, and the historical list is associated with quota information; The similarity acquisition module 720 may be used to perform a list similarity analysis on each history list based on the multiple second item contents and the multiple first item contents of the history list, aiming at the coverage of each first item content for each second item content, and obtain the similarity between the history list and the target list; The quota application processing module 730 can be used to apply one of the multiple quota information to the target list according to the similarity corresponding to each historical list.
[0073] The specific implementation of the quota application device is basically the same as the specific implementation of the quota application method described above, and will not be repeated here.
[0074] The embodiment of the present application also provides an electronic device, which may include a memory and a processor, wherein the memory stores a computer program, and the processor implements the above quota application method when executing the computer program. The electronic device may be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.
[0075] See also Figure 8 , Figure 8The hardware structure of an electronic device of another embodiment is illustrated. The electronic device 800 includes: The processor 801 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application; The memory 802 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 802 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 802, and the processor 801 calls and executes the quota application method of the embodiment of this application; Input / output interface 803, used to implement information input and output; The communication interface 804 is used to realize the communication interaction between the device and other devices. The communication can be realized through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.); A bus 805 that transmits information between various components of the device (e.g., the processor 801, the memory 802, the input / output interface 803, and the communication interface 804); The processor 801 , the memory 802 , the input / output interface 803 and the communication interface 804 are connected to each other in communication within the device via a bus 805 .
[0076] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned quota application method is implemented.
[0077] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0078] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0079] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0080] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0081] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0082] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application 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 application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0083] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0084] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0085] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0086] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0088] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A quota application method, characterized in that: The following steps are involved: Acquire a target list and a plurality of historical lists in a preset database, wherein the target list includes a plurality of first item contents, the historical list includes a plurality of second item contents, and the historical list is associated with quota information; For each of the historical lists, based on the plurality of second item contents and the plurality of first item contents in the historical list, a list similarity analysis is performed on the coverage of each of the first item contents for each of the second item contents, so as to obtain the similarity between the historical list and the target list; According to the similarity corresponding to each of the historical lists, one of the multiple quota information is applied to the target list.
2. The method according to claim 1, characterized in that The target list includes a first code and a first item name, the first item content includes a first feature name and a plurality of first feature values, the history list includes a second code and a second item name, the second item content includes a second feature name and a plurality of second feature values; The performing a list similarity analysis on the coverage of each first item content for each second item content according to the plurality of second item contents and the plurality of first item contents in the history list to obtain the similarity between the history list and the target list includes: In the case where the history list is a target history list, for each first feature name, coverage analysis is performed according to a plurality of first feature values corresponding to the first feature name and a plurality of second feature values corresponding to a target second feature name identical to the first feature name in the history list, to obtain the coverage of the first feature name for the target second feature name, wherein the second code of the target history list is identical to the first code, and the second feature name is identical to the first feature name; The similarity between the history list and the target list is determined according to the coverage corresponding to each of the first feature names.
3. The method according to claim 2, characterized in that The quota information includes quota pricing information corresponding to each second item content in the historical list, and the quota pricing information is associated with one or more target feature values among a plurality of second feature values in the corresponding second item content; The performing coverage analysis according to the plurality of first feature values corresponding to the first feature name and the plurality of second feature values corresponding to the target second feature name identical to the first feature name in the history list to obtain the coverage of the first feature name for the target second feature name includes: Determine the target feature value included in a plurality of second feature values corresponding to the target second feature name; Perform coverage analysis based on the first feature values corresponding to the first feature name and the target feature value corresponding to the target second feature name to obtain target coverage of the first feature values for the target feature value corresponding to the target second feature name; The coverage is determined according to the target coverage.
4. The method according to claim 3, characterized in that The applying one of the plurality of quota information to the target list according to the similarity corresponding to each of the historical lists comprises: Associating the quota information associated with the historical list with the greatest similarity among the plurality of historical lists with the target list; The target list is compiled according to the multiple quota pricing information in the quota information associated with the target list.
5. The method according to claim 4, characterized in that The quota information includes quota version information; The step of associating the quota information associated with the historical list with the greatest similarity among the plurality of historical lists with the target list includes: Obtain target quota version information of the target list; The quota information associated with the target history list with the greatest similarity among multiple target history lists is associated with the target list, wherein the quota version information corresponding to the target history list is the same as the target quota version information.
6. The method according to claim 4, characterized in that The step of compiling the target list according to the plurality of quota pricing information in the quota information associated with the target list includes: For each of the first item contents, if the coverage of the first item content for the target second item content in the historical list with the maximum similarity is not less than a preset coverage threshold, the flat rate pricing information corresponding to the target second item content in the historical list with the maximum similarity will be applied to the first item content.
7. The method according to claim 1, characterized in that The database includes historical usage phase information of each of the historical lists; The process of obtaining the plurality of history lists includes: Obtaining usage phase information of the target list; The history list corresponding to the historical usage phase information identical to the usage phase information is acquired from the database.
8. A quota application device, characterized in that: include: A list acquisition module, used to acquire a target list and a plurality of historical lists in a preset database, wherein the target list includes a plurality of first item contents, the historical list includes a plurality of second item contents, and the historical list is associated with quota information; a similarity acquisition module, configured to perform a list similarity analysis on each of the history lists according to the plurality of second item contents and the plurality of first item contents in the history list, targeting at the coverage of each of the first item contents for each of the second item contents, so as to obtain the similarity between the history list and the target list; The quota application processing module is used to apply one of the multiple quota information to the target list according to the similarity corresponding to each of the historical lists.
9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the quota application method described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the quota application method described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
An intelligent list price combining method based on private cloud
CN109903186A
Method and device, equipment for determining construction cost standard file of component, and storage medium
CN110473067A