Method, device, equipment and storage medium for creating water conservancy project pricing documents
By pre-setting the nested tables and configuration parameters of water conservancy projects, the problem of high professional level requirements and low efficiency in the process of creating pricing documents in the water conservancy industry is solved, and the rapid and automatic creation of pricing documents in water conservancy projects is realized, and the rapid and automatic creation of pricing documents in water conservancy projects is improved. Work efficiency.
Patent Information
- Application Number
- CN202110306270.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-23
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-03-23
AI Technical Summary
The new process of creating pricing documents in the existing water conservancy industry requires high professional level and low efficiency, lack of universality, which leads to time-consuming and labor-intensive.
By pre-setting multiple nested tables for water conservancy projects, the nested tables are automatically determined based on the configuration parameters of the water conservancy project carried in the received creation instructions, and a tree structure and pricing template files are constructed to realize the automatic creation of pricing files for water conservancy projects.
It greatly reduces repetitive labor, improves work efficiency, avoids the problems of high professional requirements for users and the time-consuming and troublesome construction of new work, and realizes the rapid creation of pricing documents.
Smart Images

Figure CN112883700B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and device for creating a water conservancy project pricing file, a computer device and a computer-readable storage medium. Background Art
[0002] The pricing file contains the total construction price of a project, that is, the total of all expected or actual costs. Pricing software is generally used to create pricing files.
[0003] like Figure 1 As shown in the figure, the current pricing software for the water conservancy industry (referred to as water conservancy software) includes three modules: water conservancy, water conservation and hydropower. Each module also includes different regions, such as Quantong Water Conservancy (National Water Conservancy), Liaoning Water Conservancy, Quantong Water Conservancy (National Water Conservancy) and Quantong Hydropower (National Hydropower). When users create a new pricing file in the water conservancy software, they usually need to manually enter a series of key parameters to complete the creation of the pricing file. For example, after selecting the module and region, users also need to manually enter the relevant single project and unit project.
[0004] However, the inventors have found that there are differences in the pricing files corresponding to different modules or regions in the water conservancy software. In the prior art, the creation of pricing files is achieved by users manually inputting key parameters, which requires a high level of professionalism from users, making the creation of pricing files not universal. In addition, manual input of key parameters makes the creation work time-consuming, labor-intensive and inefficient.
[0005] There is currently no effective solution to the technical problems that the existing pricing documents for the new water conservancy industry have high requirements on the professional level of users and are not universal, and that the new construction work is time-consuming, laborious and inefficient. Summary of the invention
[0006] The purpose of the present invention is to provide a method, device, computer equipment and computer-readable storage medium for creating water conservancy project pricing files, which can solve the technical problems in the prior art that the pricing files for newly built water conservancy industries have high requirements on the professional level of users and are not universal, and that the new construction work is time-consuming, laborious and inefficient.
[0007] One aspect of the present invention provides a method for creating a water conservancy project pricing file, the method comprising: receiving a creation instruction for creating a water conservancy project pricing file; obtaining the water conservancy project configuration parameters carried by the creation instruction; determining a water conservancy project nested table based on the water conservancy project configuration parameters, wherein the water conservancy project nested table is used to define a tree structure and pricing template file required to create the water conservancy project pricing file; and creating the water conservancy project pricing file based on the water conservancy project nested table.
[0008] Optionally, the water conservancy project nested table includes: a pricing unit used for water conservancy project pricing, a unit type to which the pricing unit belongs, and a template identifier of the pricing template file required by the pricing unit. Creating the water conservancy project pricing file based on the water conservancy project nested table includes: constructing a tree structure framework based on the unit type; using the pricing unit as the node name of the tree structure framework to generate the tree structure; obtaining the pricing template file pointed to by the template identifier; and in the tree structure, setting an association relationship between the pricing template file and the node whose node name is the corresponding pricing unit to create the water conservancy project pricing file.
[0009] Optionally, the unit types include: bidding section, single project and unit project; the tree structure framework includes: the bidding section is the parent node of the single project, and the single project is the parent node of the unit project; the pricing unit includes: bidding section name, single project name and unit project name.
[0010] Optionally, determining the water conservancy project nested table based on the water conservancy project configuration parameters includes: obtaining a pre-set water conservancy project configuration table, wherein the water conservancy project configuration table contains multiple water conservancy project configuration parameters, and each water conservancy project configuration parameter is associated with a water conservancy project nested table; filtering out water conservancy project configuration parameters that match the values of the water conservancy project configuration parameters carried by the creation instruction from the water conservancy project configuration table; and determining the water conservancy project nested table associated with the filtered water conservancy project configuration parameters.
[0011] Optionally, the water conservancy project configuration parameters include a pricing method, a quota sequence, a charging basis and the nature of the project. Before determining the water conservancy project nested table according to the water conservancy project configuration parameters, the method also includes: determining the pricing unit and the unit type according to the pricing method and the nature of the project; determining the pricing template file according to the pricing unit, the quota sequence and the charging basis; obtaining the template identifier of the pricing template file; and constructing the water conservancy project nested table according to the pricing unit, the unit type and the template identifier.
[0012] Optionally, when the pricing method is fixed-rate pricing, the value assigned to the charging basis is empty; when the pricing method is list pricing, the value assigned to the charging basis is not empty.
[0013] Optionally, constructing the nested table of water conservancy projects according to the pricing unit, the unit type and the template identifier includes: encrypting the pricing unit, the unit type and the template identifier respectively according to the DES algorithm; and constructing the nested table of water conservancy projects according to the encrypted pricing unit, the unit type and the template identifier.
[0014] Another aspect of the present invention provides a device for generating an engineering pricing file, the device comprising: a receiving module for receiving a creation instruction for creating a water conservancy project pricing file; an acquisition module for acquiring the water conservancy project configuration parameters carried by the creation instruction; a determination module for determining a water conservancy project nested table based on the water conservancy project configuration parameters, wherein the water conservancy project nested table is used to define a tree structure and pricing template file required to create the water conservancy project pricing file; and a creation module for creating the water conservancy project pricing file based on the water conservancy project nested table.
[0015] Another aspect of the present invention provides a computer device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for creating a water conservancy project pricing file as described in any of the above embodiments when executing the computer program.
[0016] Another aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for creating a water conservancy project pricing file described in any of the above embodiments is implemented.
[0017] The method for creating a water conservancy project pricing file provided by the present invention pre-sets multiple water conservancy project nested tables, each of which can be used to define the tree structure and pricing template file required for creating a water conservancy project pricing file, and different water conservancy project nested tables can be used to create different water conservancy project pricing files. When a creation instruction is received, a water conservancy project nested table can be uniquely determined according to the water conservancy project configuration parameters carried in the creation instruction, and the creation of this water conservancy project pricing file can be automatically completed according to the water conservancy project nested table. This embodiment can automatically complete the creation of the water conservancy project pricing file according to the preset water conservancy project nested table. When it is necessary to create multiple water conservancy project pricing files, it can greatly reduce repetitive work and improve work efficiency, avoiding the technical problems in the prior art that the pricing files for the newly created water conservancy industry have high requirements on the user's professional level and are not universal, and the new creation work is time-consuming, laborious and inefficient. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0019] Figure 1 A schematic diagram of creating a water industry pricing file provided by the prior art is shown;
[0020] Figure 2 A flow chart showing a method for creating a water conservancy project pricing file provided in the first embodiment of the present invention is shown;
[0021] Figure 3 A schematic diagram of an interface for creating a water conservancy project pricing file provided by the first embodiment of the present invention is shown;
[0022] Figure 4 A schematic diagram showing a created water conservancy project pricing file provided in the first embodiment of the present invention is shown;
[0023] Figure 5 A schematic diagram of the water conservancy project pricing software provided by the second embodiment of the present invention is shown;
[0024] Figure 6 A block diagram of a device for creating a water conservancy project pricing file provided in Embodiment 3 of the present invention is shown;
[0025] Figure 7 A block diagram of a computer device suitable for implementing a method for creating a water conservancy project pricing file provided in a fourth embodiment of the present invention is shown. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention 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 invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0027] It should be noted that, in this article, the terms "include", "comprises" or any other variations 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, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0028] Embodiment 1
[0029] The present embodiment can be applied to water conservancy project pricing software, which is used to create pricing files for the water conservancy industry. There are multiple water conservancy projects in the water conservancy industry. The water conservancy project described in the present embodiment is a general term, which may include water conservancy projects, hydropower projects and water conservation projects. Usually, there are differences in the pricing files of different projects for individual projects and / or unit projects. For example, when the pricing method is list pricing, there are differences in the unit projects in the pricing files of different projects; when the pricing method is quota pricing, there are differences in the tree structure (also known as project structure, project structure tree or project tree structure) in the pricing files of different projects, wherein the nodes of the tree structure include unit projects and individual projects. In addition, any project can be associated with multiple regions, and there may also be differences in the individual projects and / or unit projects in the pricing files of different regions associated with the same project. For example, there are differences between the pricing files of national hydropower projects and the pricing files of Sichuan hydropower projects. Taking the above differences into consideration, if the user manually inputs key parameters (such as single project and unit project) to create new pricing documents as in the prior art, the user is required to have a high level of professionalism, resulting in the non-universality of the new pricing document creation work. In addition, the manual input of key parameters makes the new creation work time-consuming, labor-intensive and inefficient. Based on this, the present embodiment pre-sets multiple water conservancy project nested tables, each of which can be used to define the tree structure and pricing template file required to create a water conservancy project pricing file. Different water conservancy project nested tables can be used to create different water conservancy project pricing files. When a creation instruction is received, a water conservancy project nested table can be uniquely determined according to the water conservancy project configuration parameters carried in the creation instruction. The creation of this water conservancy project pricing file can be automatically completed based on the water conservancy project nested table. The present embodiment can automatically complete the creation of the water conservancy project pricing file based on the preset water conservancy project nested table. When it is necessary to create multiple water conservancy project pricing files, it can greatly reduce repetitive work and improve work efficiency, avoiding the technical problems in the prior art that manual input of key parameters has high requirements on user professional level and is not universal, and that new creation work is time-consuming, laborious and inefficient.
[0030] Specifically, Figure 2 A flowchart of a method for creating a water conservancy project pricing file provided in the first embodiment of the present invention is shown. Figure 2 As shown, the method for creating the water conservancy project pricing file may include steps S1 to S4, wherein:
[0031] Step S1, receiving a creation instruction for creating a water conservancy project pricing file.
[0032] Step S2, obtaining the water conservancy project configuration parameters carried by the creation instruction.
[0033] As can be seen from the above description, water conservancy projects are a general term, including water conservancy projects, hydropower projects and water conservation projects; accordingly, water conservancy project pricing files may include water conservancy project pricing files, hydropower project pricing files and water conservation project pricing files. Regardless of which of the above pricing files, the new construction work can be completed by the method described in this embodiment.
[0034] like Figure 3 As shown, by receiving the user Figure 3 The parameters input / selected in the interface shown can generate a creation instruction, which carries the input / selected parameters, including water conservancy project configuration parameters. For example, after the user selects a water conservancy project and the national region associated with the water conservancy project in the water conservancy software, the water conservancy project pricing software presents Figure 3 The interface shown is as follows Figure 3 The "Quantong Water Conservancy" on the left refers to the national water conservancy. Figure 3 The parameters on the right are the parameters carried by the creation instruction, among which the creation instruction can be generated by receiving the completion button clicked by the user.
[0035] It should be noted that the configuration parameters of water conservancy projects include: pricing method, quota sequence, charging basis and project nature. Pricing methods include list pricing and quota pricing. The purposes of pricing documents generated by list pricing include bidding and tendering, and the purposes of pricing documents generated by quota pricing include budget and estimate. Quota sequence ( Figure 3 The quota standard in the project is used to define which quota to use, such as the quota of Quantong Water Conservancy 2002. The charging basis is used to define which compilation regulations to use, such as the compilation regulations 2014. The nature of the project is used to define the nature of the project to which the water conservancy project pricing document belongs, such as hub project, water diversion project, river project, ecological construction and / or development construction.
[0036] In addition, the creation instruction also includes the project name (i.e. the project name in 3) and project code (project code) of the project to which the water conservancy project pricing document belongs, as well as the tax calculation method (such as value-added tax) of the water conservancy project pricing document and the business tax-to-value-added tax document used (such as Office of Finance Letter
[2019] No. 448).
[0037] Step S3, determining a water conservancy project nested table according to the water conservancy project configuration parameters, wherein the water conservancy project nested table is used to define a tree structure and a pricing template file required for creating the water conservancy project pricing file.
[0038] Multiple water conservancy project nested tables are pre-set, and each water conservancy project nested table can be used to define the tree structure and pricing template file required to create a water conservancy project pricing file. Different water conservancy project nested tables can be used to create different water conservancy project pricing files. When a creation instruction is received, a water conservancy project nested table can be uniquely determined according to the water conservancy project configuration parameters carried in the creation instruction, that is, different water conservancy project configuration parameters with different assignments determine different water conservancy project nested tables.
[0039] Optionally, step S3 includes steps S31 to S33, wherein:
[0040] Step S31, obtaining a preset water conservancy project configuration table, wherein the water conservancy project configuration table includes a plurality of water conservancy project configuration parameters, and each of the water conservancy project configuration parameters is associated with a water conservancy project nested table;
[0041] Step S32, filtering out the water conservancy project configuration parameters that match the values of the water conservancy project configuration parameters carried by the creation instruction from the water conservancy project configuration table;
[0042] Step S33, determining the water conservancy project nested table associated with the screened water conservancy project configuration parameters.
[0043] A water conservancy project configuration table is preset, and the water conservancy project configuration table contains multiple water conservancy project configuration parameters. The values of any two water conservancy project configuration parameters are different. Specifically, the values of all parameters in the two water conservancy project configuration parameters are different, or the values of some parameters in the two water conservancy project configuration parameters are different. For example, as shown in Table 1 below, the water conservancy project configuration table is preset with 8 water conservancy project configuration parameters, and the values of each water conservancy project configuration parameter are different. Among them, the quota pricing method of labor and materials in Table 1 is referred to as quota pricing.
[0044] Table 1 Water conservancy project configuration table
[0045]
[0046] It should be noted that when the pricing method is fixed-price pricing, the value assigned to the basis for charging is empty; when the pricing method is list pricing, the value assigned to the basis for charging is not empty. Then, when the pricing method is fixed-price pricing, step S3 includes: determining the nested table of water conservancy projects according to the pricing method, fixed-price sequence and project nature; when the pricing method is list pricing, step S3 includes: determining the nested table of water conservancy projects according to the pricing method, fixed-price sequence, basis for charging and project nature.
[0047] In the water conservancy project configuration table, each water conservancy project configuration parameter is associated with a preset water conservancy project nested table, and the water conservancy project configuration parameters with different assignments are associated with different water conservancy project nested tables. When the water conservancy project configuration parameter in the creation instruction completely matches a water conservancy project configuration parameter in the water conservancy project configuration table, the water conservancy project nested table can be quickly located according to the preset association relationship. Among them, the water conservancy project nested table includes: a pricing unit for water conservancy project pricing, a unit type to which the pricing unit belongs, and a template identifier of the pricing template file required by the pricing unit. The unit types include: bid section, single project and unit project. The pricing unit includes the bid section name, single project name and unit project name. When the unit type of the pricing unit is a bid section or a single project, the pricing unit corresponds to a pricing template file. When the unit type of the pricing unit is a unit project, the pricing unit does not have a pricing template file. The template identifier can be the template name of the pricing template file or the template address (such as a hyperlink) of the pricing template file.
[0048] As shown in Table 2, the name in Table 2 is the pricing unit, the project type in Table 2 is the unit type, and the template file in Table 2 is the template name of the pricing template file. The pricing unit, unit type and pricing template file are required when creating a water conservancy project pricing file. The parameters such as the single item type, unit type and specialty in Table 2 can be used as software background data storage, which has no substantial impact on the construction of the water conservancy project pricing file. Optionally, these parameters may not be set in Table 2 in combination with user needs.
[0049] Table 2 Nested table of water conservancy projects
[0050]
[0051] Optionally, in the field of water conservancy projects, different pricing methods correspond to different tree structures, but all tree structures corresponding to list pricing have some commonalities, and all tree structures corresponding to quota pricing also have some commonalities. Based on the above characteristics, this embodiment pre-configures a nested table of water conservancy projects so that subsequent users can quickly complete the creation of water conservancy project pricing files. Specifically, before step S3, the method further includes steps A1 to A4, wherein:
[0052] Step A1, determining the pricing unit and the unit type according to the pricing method and the nature of the project;
[0053] Step A2, determining the pricing template file according to the pricing unit, the quota sequence and the charging basis;
[0054] Step A3, obtaining the template identifier of the pricing template file;
[0055] Step A4, constructing the water conservancy project nested table according to the pricing unit, the unit type and the template identifier.
[0056] Among them, the nature of the project is used to limit whether temporary construction works and independent expenses are included in the pricing unit. For example, if the nature of the project is A, the pricing unit includes temporary construction works and independent expenses, and if the nature of the project is B, the pricing unit does not include temporary construction works and independent expenses. Assuming that it is determined according to the pricing method that temporary construction works and independent expenses are included in the pricing unit, but the nature of the project is B at this time, it is finally determined that temporary construction works and independent expenses are not included in the pricing unit. Optionally, the single item type, unit type and specialty in Table 2 can also be determined according to the pricing method and the nature of the project.
[0057] The quota sequence and charging basis are used to determine which template file to use, and the pricing unit is used to determine which part of the template file to use, use that part as the pricing template file, and obtain the template identifier of the pricing template file.
[0058] The pricing unit, unit type and template identifier determined by each water conservancy project configuration parameter are stored in a water conservancy project nested table, multiple water conservancy project configuration parameters are stored in a water conservancy project configuration table, and then each water conservancy project configuration parameter in the water conservancy project configuration table is associated with the water conservancy project nested table determined by the water conservancy project configuration parameter, so that subsequent users can quickly complete the creation of water conservancy project pricing files.
[0059] Optionally, the water conservancy project configuration table and the water conservancy project nested table are stored in a database, which is encrypted and decrypted by a DES algorithm to ensure the accuracy and security of the data. Specifically, step A4 includes step A41 and step A42, wherein:
[0060] Step A41, encrypting the pricing unit, the unit type and the template identifier respectively according to the DES algorithm;
[0061] Step A42, constructing the water conservancy project nested table according to the encrypted pricing unit, the unit type and the template identifier.
[0062] The DES (Data Encryption Standard) algorithm encrypts plaintext by performing a series of permutations and substitutions on it. The security of the DES algorithm relies on false appearances, or in cryptographic terms, the principle of "chaos and diffusion". The purpose of chaos is to hide the relationship between any plaintext and ciphertext or key, while the purpose of diffusion is to make the valid bits in the plaintext and the key form as many ciphertexts as possible. The combination of the two makes security relatively high. Encryption based on DES makes it impossible for third parties to get involved, thus ensuring the security of data.
[0063] Step S4, creating the water conservancy project pricing file according to the water conservancy project nested table.
[0064] Specifically, a water conservancy project pricing file is created based on the tree structure defined by the water conservancy project nested table and the pricing template file.
[0065] Optionally, the step S4 includes steps S41 to S44, wherein:
[0066] Step S41, constructing a tree structure framework according to the unit type;
[0067] Step S42, using the pricing unit as a node name of the tree structure framework to generate the tree structure;
[0068] Step S43, obtaining the pricing template file pointed to by the template identifier;
[0069] Step S44, in the tree structure, an association relationship is set between the pricing template file and the node whose node name is the corresponding pricing unit to create the water conservancy project pricing file.
[0070] In this embodiment, a tree structure framework is constructed according to the unit type: the unit type of section is used as the root node, the unit type of single project is used as the child node of the section, and the unit project is used as the child node of the single project to form a tree structure framework, that is, the tree structure framework includes: the section is the parent node of the single project, and the single project is the parent node of the unit project. Among them, the node name of the tree structure framework has not been set. By using the pricing unit as the node name of the tree structure framework, a tree structure can be obtained. Furthermore, since the section and the single project also have their own pricing template files, the pricing template file can be obtained according to the template identifier, and then in the tree structure, the pricing template file is associated with the node whose node name is the corresponding pricing unit, and the creation of the water conservancy project pricing file can be completed.
[0071] like Figure 4As shown, the left side is a tree structure. When the node "Project 1" (i.e., the bid section name) of the tree structure is located, the pricing template file associated with Project 1 is displayed on the right side.
[0072] The method for creating a water conservancy project pricing file provided by the present invention pre-sets multiple water conservancy project nested tables, each of which can be used to define the tree structure and pricing template file required for creating a water conservancy project pricing file, and different water conservancy project nested tables can be used to create different water conservancy project pricing files. When a creation instruction is received, a water conservancy project nested table can be uniquely determined according to the water conservancy project configuration parameters carried in the creation instruction, and the creation of this water conservancy project pricing file can be automatically completed according to the water conservancy project nested table. This embodiment can automatically complete the creation of the water conservancy project pricing file according to the preset water conservancy project nested table. When it is necessary to create multiple water conservancy project pricing files, it can greatly reduce repetitive work and improve work efficiency, avoiding the technical problems in the prior art that the pricing files for the newly created water conservancy industry have high requirements on the user's professional level and are not universal, and the new creation work is time-consuming, laborious and inefficient.
[0073] Embodiment 2
[0074] Figure 5 FIG. 1 shows a schematic diagram of a water conservancy project pricing software provided by Embodiment 2 of the present invention, such as Figure 5 As shown, the water conservancy project pricing software includes a data storage module, a matching module, a new module and a display module. Among them, the data storage module is used to store and read data, such as storing water conservancy project configuration tables and water conservancy project nested tables; the matching module is used to match the water conservancy project nested table according to the water conservancy project configuration parameters; the new module is used to create a tree structure according to the matched water conservancy project nested table and associate the pricing template file with the corresponding node in the tree structure to create a water conservancy project pricing file; the display module is used to display the created water conservancy project pricing file on the software interface (see Figure 4 ).
[0075] Embodiment 3
[0076] Embodiment 3 of the present invention further provides a device for creating a water conservancy project pricing file, which corresponds to the method for creating a water conservancy project pricing file provided in the above embodiment 1. The corresponding technical features and technical effects are not described in detail in this embodiment, and the relevant parts can refer to the above embodiment 1. Specifically, Figure 6 FIG. 1 is a block diagram of a device for creating a water conservancy project pricing file provided by Embodiment 3 of the present invention. Figure 6 As shown, the water conservancy project pricing file creation device 600 includes a receiving module 601, an acquisition module 602, a determination module 603 and a creation module 604, wherein:
[0077] A receiving module 601 is used to receive a creation instruction for creating a water conservancy project pricing file;
[0078] An acquisition module 602 is used to acquire the water conservancy project configuration parameters carried by the creation instruction;
[0079] The determination module 603 is used to determine a water conservancy project nested table according to the water conservancy project configuration parameters, wherein the water conservancy project nested table is used to define a tree structure and a pricing template file required for creating the water conservancy project pricing file;
[0080] The creation module 604 is used to create the water conservancy project pricing file according to the water conservancy project nested table.
[0081] Optionally, the water conservancy project nested table includes: a pricing unit used for water conservancy project pricing, a unit type to which the pricing unit belongs, and a template identifier of the pricing template file required by the pricing unit, and the creation module is also used to: construct a tree structure framework based on the unit type; use the pricing unit as the node name of the tree structure framework to generate the tree structure; obtain the pricing template file pointed to by the template identifier; in the tree structure, set an association relationship between the pricing template file and the node whose node name is the corresponding pricing unit to create the water conservancy project pricing file.
[0082] Optionally, the unit types include: bidding section, single project and unit project; the tree structure framework includes: the bidding section is the parent node of the single project, and the single project is the parent node of the unit project; the pricing unit includes: bidding section name, single project name and unit project name.
[0083] Optionally, the determination module is also used to: obtain a pre-set water conservancy project configuration table, wherein the water conservancy project configuration table contains multiple water conservancy project configuration parameters, and each water conservancy project configuration parameter is associated with a water conservancy project nested table; filter out water conservancy project configuration parameters that match the values of the water conservancy project configuration parameters carried by the creation instruction from the water conservancy project configuration table; and determine the water conservancy project nested table associated with the filtered water conservancy project configuration parameters.
[0084] Optionally, the water conservancy project configuration parameters include a pricing method, a quota sequence, a charging basis and the nature of the project, and the device method also includes: a first processing module, used to determine the pricing unit and the unit type according to the pricing method and the nature of the project before determining the water conservancy project nested table according to the water conservancy project configuration parameters; a second processing module, used to determine the pricing template file according to the pricing unit, the quota sequence and the charging basis; a third processing module, used to obtain the template identifier of the pricing template file; a fourth processing module, used to construct the water conservancy project nested table according to the pricing unit, the unit type and the template identifier.
[0085] Optionally, when the pricing method is fixed-rate pricing, the value assigned to the charging basis is empty; when the pricing method is list pricing, the value assigned to the charging basis is not empty.
[0086] Optionally, the fourth processing module is further used to: encrypt the pricing unit, the unit type and the template identifier respectively according to the DES algorithm; and construct the water conservancy project nested table according to the encrypted pricing unit, the unit type and the template identifier.
[0087] Embodiment 4
[0088] Figure 7 The block diagram of a computer device suitable for implementing a method for creating a water conservancy project pricing file provided in the fourth embodiment of the present invention is shown. In this embodiment, the computer device 700 may be a smart phone, tablet computer, laptop computer, desktop computer, rack server, blade server, tower server or cabinet server (including an independent server or a server cluster composed of multiple servers) that executes a program. Figure 7 As shown, the computer device 700 of this embodiment includes at least but is not limited to: a memory 701, a processor 702, and a network interface 703 that can be interconnected through a system bus. It should be noted that Figure 7 Only computer device 700 having components 701 - 703 is shown, but it should be understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0089] In this embodiment, the memory 703 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 701 can be an internal storage unit of the computer device 700, such as a hard disk or memory of the computer device 700. In other embodiments, the memory 701 can also be an external storage device of the computer device 700, such as a plug-in hard disk equipped on the computer device 700, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 701 can also include both the internal storage unit of the computer device 700 and its external storage device. In this embodiment, the memory 701 is generally used to store an operating system and various application software installed in the computer device 700, such as program codes of a method for creating a water conservancy project pricing file.
[0090] In some embodiments, the processor 702 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 702 is generally used to control the overall operation of the computer device 700. For example, the processor 702 performs control and processing related to data interaction or communication with the computer device 700. In this embodiment, the processor 702 is used to run the program code of the steps of the method for creating a water conservancy project pricing file stored in the memory 701.
[0091] In this embodiment, the method for creating the water conservancy project pricing file stored in the memory 701 can also be divided into one or more program modules and executed by one or more processors (processor 702 in this embodiment) to complete the present invention.
[0092] The network interface 703 may include a wireless network interface or a wired network interface, and the network interface 703 is generally used to establish a communication link between the computer device 700 and other computer devices. For example, the network interface 703 is used to connect the computer device 700 to an external terminal through a network, and to establish a data transmission channel and a communication link between the computer device 700 and the external terminal. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, etc.
[0093] Embodiment 5
[0094] This embodiment five also provides a computer-readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, server, App application store, etc., on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for creating a water conservancy project pricing file are implemented.
[0095] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present invention are not limited to any specific combination of hardware and software.
[0096] It should be noted that the serial numbers of the embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0097] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.
[0098] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for creating a water conservancy project pricing file, characterized in that: The method comprises: Receiving a creation instruction for creating a water conservancy project pricing file; Obtaining the water conservancy project configuration parameters carried by the creation instruction; Determine a water conservancy project nested table according to the water conservancy project configuration parameters, wherein the water conservancy project nested table is used to define a tree structure and a pricing template file required for creating the water conservancy project pricing file; preset a water conservancy project configuration table, the water conservancy project configuration table includes a plurality of water conservancy project configuration parameters, and each water conservancy project configuration parameter is associated with a preset water conservancy project nested table; The water conservancy project pricing file is created according to the water conservancy project nested table.
2. The method according to claim 1, characterized in that: The water conservancy project nested table includes: a pricing unit for water conservancy project pricing, a unit type to which the pricing unit belongs, and a template identifier of the pricing template file required by the pricing unit. The water conservancy project pricing file is created according to the water conservancy project nested table, including: Constructing a tree structure framework according to the unit type; Using the pricing unit as a node name of the tree structure framework to generate the tree structure; Obtain the pricing template file pointed to by the template identifier; In the tree structure, an association relationship is set between the pricing template file and a node whose node name is a corresponding pricing unit to create the water conservancy project pricing file.
3. The method according to claim 2, characterized in that The unit types include: bidding section, single project and unit project; the tree structure framework includes: the bidding section is the parent node of the single project, and the single project is the parent node of the unit project; the pricing unit includes: bidding section name, single project name and unit project name.
4. The method according to claim 1, characterized in that: Determining the water conservancy project nested table according to the water conservancy project configuration parameters includes: Acquire a preset water conservancy project configuration table, wherein the water conservancy project configuration table includes a plurality of water conservancy project configuration parameters, and each of the water conservancy project configuration parameters is associated with a water conservancy project nested table; Filter out the water conservancy project configuration parameters that match the values of the water conservancy project configuration parameters carried by the creation instruction from the water conservancy project configuration table; Determine the water project nested table associated with the filtered water project configuration parameters.
5. The method according to claim 2, characterized in that: The water conservancy project configuration parameters include pricing methods, quota sequences, charging bases and project properties. Before determining the water conservancy project nested table according to the water conservancy project configuration parameters, the method further includes: Determine the pricing unit and the unit type according to the pricing method and the nature of the project; Determine the pricing template file according to the pricing unit, the quota sequence and the charging basis; Obtaining a template identifier of the pricing template file; The water conservancy project nested table is constructed according to the pricing unit, the unit type and the template identifier.
6. The method according to claim 5, characterized in that When the pricing method is fixed-rate pricing, the value assigned to the charging basis is empty; when the pricing method is list pricing, the value assigned to the charging basis is not empty.
7. The method according to claim 5, characterized in that The step of constructing the water conservancy project nested table according to the pricing unit, the unit type and the template identifier includes: Encrypting the pricing unit, the unit type and the template identifier respectively according to the DES algorithm; The water conservancy project nested table is constructed according to the encrypted pricing unit, the unit type and the template identifier.
8. A device for generating a project pricing document, characterized in that: The device comprises: A receiving module, used for receiving a creation instruction for creating a water conservancy project pricing file; An acquisition module, used to acquire the water conservancy project configuration parameters carried by the creation instruction; A determination module is used to determine a water conservancy project nested table according to the water conservancy project configuration parameters, wherein the water conservancy project nested table is used to define a tree structure and a pricing template file required for creating the water conservancy project pricing file; a water conservancy project configuration table is preset, and the water conservancy project configuration table includes multiple water conservancy project configuration parameters, and each water conservancy project configuration parameter is associated with a preset water conservancy project nested table; A creation module is used to create the water conservancy project pricing file according to the water conservancy project nested table.
9. A computer device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
