CN108921459B - Index generation method and device, computer equipment and storage medium - Google Patents

Index generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN108921459B
CN108921459B CN201811009696.9A CN201811009696A CN108921459B CN 108921459 B CN108921459 B CN 108921459B CN 201811009696 A CN201811009696 A CN 201811009696A CN 108921459 B CN108921459 B CN 108921459B
Authority
CN
China
Prior art keywords
index
list
indexes
initial
subdirectory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
CN201811009696.9A
Other languages
Chinese (zh)
Other versions
CN108921459A (en
Inventor
刘石磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Haishubao Technology Co ltd
Original Assignee
Beijing Haishubao Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=64408027&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=CN108921459(B) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Beijing Haishubao Technology Co ltd filed Critical Beijing Haishubao Technology Co ltd
Priority to CN201811009696.9A priority Critical patent/CN108921459B/en
Publication of CN108921459A publication Critical patent/CN108921459A/en
Application granted granted Critical
Publication of CN108921459B publication Critical patent/CN108921459B/en
Ceased legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/08Construction

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Theoretical Computer Science (AREA)
  • Educational Administration (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to an index generation method, an index generation device, computer equipment and a computer readable storage medium. The method comprises the following steps: when an index generation instruction is received, identifying an index generation rule contained in the index generation instruction; acquiring a list subdirectory contained in a target engineering quantity list, and obtaining an initial index corresponding to the list subdirectory based on an index parameter corresponding to the list subdirectory; and generating a target index corresponding to the target engineering quantity list based on the index generation rule and the initial index corresponding to the list subdirectory. By adopting the method, various indexes can be quickly and accurately generated according to the requirements of users.

Description

Index generation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of building engineering data processing, and in particular, to an index generation method, apparatus, computer device, and computer-readable storage medium.
Background
In the technical field of construction engineering, a project amount list is a collection of all work contents of a project, but data information required to be counted is huge for a project, a manager needs to have an intuitive judgment basis in order to better know the state of the project, and the traditional method is to record materials required in the project and required construction cost by using the project amount list.
However, in the conventional processing mode, due to the huge engineering quantity, the data information required to be recorded is too huge, so that when the target index needs to be checked, the list subdirectories in the engineering quantity list need to be classified first, and then the corresponding target index can be obtained after the corresponding calculation formula is set for calculation, and the accuracy of the result information cannot be guaranteed.
Disclosure of Invention
In view of the above, it is necessary to provide an index generating method, apparatus, computer device and computer readable storage medium capable of automatically generating various indexes accurately and quickly.
An index generation method, the method comprising:
when an index generation instruction is received, identifying an index generation rule contained in the index generation instruction;
acquiring a list subdirectory contained in a target engineering quantity list, and obtaining an initial index corresponding to the list subdirectory based on an index parameter corresponding to the list subdirectory;
and generating a target index corresponding to the target engineering quantity list based on the index generation rule and the initial index corresponding to the list subdirectory.
In one embodiment, the method further comprises the following steps:
acquiring a list subdirectory contained in a target engineering quantity list, and acquiring index parameters corresponding to the list subdirectory, wherein the index parameters comprise a first index parameter and a second index parameter;
and calculating based on the index parameters to obtain initial indexes corresponding to the list subdirectories, wherein the initial indexes are positively correlated with the first index parameters and negatively correlated with the second index parameters.
In one embodiment, the method further comprises the following steps:
determining whether the index parameter is a standard index parameter;
and when the index parameter is determined to be a standard index parameter, calculating according to the index parameter to obtain an initial index corresponding to the list subdirectory.
In one embodiment, the method further comprises the following steps:
when the index parameter is determined not to be the standard index parameter, acquiring a conversion parameter corresponding to the index parameter;
converting the index parameters into corresponding standard index parameters based on the conversion parameters;
and calculating based on the standard index parameters to obtain initial indexes corresponding to the list subdirectories.
In one embodiment, the method further comprises the following steps:
when the generation rule is the generation of category indexes, the category indexes corresponding to the categories are obtained by classifying the list subdirectories;
and when the generation rule is the generation of the comprehensive index, obtaining the comprehensive index based on a preset rule.
In one embodiment, the method further comprises the following steps:
when the generation rule is generated for the category index, identifying the category attribute contained in the attribute identification of the list subdirectory;
classifying the list subdirectories based on the category attribute;
and summing the initial indexes of the list subdirectories contained in each category obtained by classification processing to obtain the category indexes respectively corresponding to the categories.
In one embodiment, the method further comprises the following steps:
and when the index generation rule is the generation of the comprehensive index, summing the initial indexes of the list subdirectories to obtain the comprehensive index of the list subdirectory.
An index generation apparatus, the apparatus comprising:
the rule identification module is used for identifying an index generation rule contained in an index generation instruction when the index generation instruction is received;
the information acquisition module is used for acquiring a list subdirectory contained in a target engineering quantity list and obtaining an initial index corresponding to the list subdirectory based on an index parameter corresponding to the list subdirectory;
and the index generation module is used for generating a target index corresponding to the target engineering quantity list based on the index generation rule and the initial index corresponding to the list subdirectory.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
when an index generation instruction is received, identifying an index generation rule contained in the index generation instruction;
acquiring a list subdirectory contained in a target engineering quantity list, and obtaining an initial index corresponding to the list subdirectory based on an index parameter corresponding to the list subdirectory;
and generating a target index corresponding to the target engineering quantity list based on the index generation rule and the initial index corresponding to the list subdirectory.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
when an index generation instruction is received, identifying an index generation rule contained in the index generation instruction;
acquiring a list subdirectory contained in a target engineering quantity list, and obtaining an initial index corresponding to the list subdirectory based on an index parameter corresponding to the list subdirectory;
and generating a target index corresponding to the target engineering quantity list based on the index generation rule and the initial index corresponding to the list subdirectory.
According to the index generation method, the index generation device, the computer equipment and the computer lesson storage medium, when an index generation instruction is received, the index generation instruction is firstly identified to obtain an index generation rule contained in the index generation instruction, then a target engineering quantity list is obtained, list subdirectories contained in the engineering quantity list are read, initial indexes corresponding to the list subdirectories are obtained according to index parameters corresponding to the list subdirectories, and finally a target index corresponding to the target engineering quantity list is obtained according to the obtained index generation rule. The target index meeting the requirements of the workers is obtained according to the requirements of the workers.
Drawings
FIG. 1 is a diagram of an application environment of a method for generating an index in one embodiment;
FIG. 2 is a schematic flow chart diagram of a method for generating an indicator in one embodiment;
FIG. 3 is a flowchart illustrating the step of obtaining an initial indicator for a manifest subdirectory in one embodiment;
FIG. 4 is a flowchart illustrating the steps of performing initial indicator calculations in one embodiment;
FIG. 5 is a flowchart illustrating the steps of calculating an initial indicator based on non-standard indicator parameters according to one embodiment;
FIG. 6 is a flowchart illustrating steps for generating category indicators in one embodiment;
FIG. 7 is a block diagram showing the structure of an index generating apparatus according to an embodiment;
FIG. 8 is a block diagram of an information acquisition module in one embodiment;
FIG. 9 is a block diagram of a computing module in one embodiment;
FIG. 10 is a block diagram of a computing module in another embodiment;
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The index generation method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. When an index generation instruction input by a user is received at a receiving end of the terminal 102, an index generation rule included in the index generation instruction is firstly identified, then a target engineering quantity list needing index generation is obtained from the server 104, list subdirectories included in the engineering quantity list are read, then an initial index of each list subdirectory is obtained according to a preset initial index calculation rule, and finally a required index is obtained according to the index generation rule. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, an index generating method is provided, which is described by taking the example that the method is applied to the terminal in fig. 1, and includes the following steps:
step 202, when receiving the index generation instruction, identifies the index generation rule contained in the index generation instruction.
Specifically, when an index generation instruction input by a user is received, the received index generation instruction is identified to obtain an index generation rule contained in the index generation instruction.
In this embodiment, when a user performs index generation of a project amount list, the user performs a corresponding operation by using the terminal to send an index generation instruction to the terminal, and when the user performs the corresponding operation, the user mainly needs to determine an object for performing the index generation and a generation manner, where the object refers to which project amount list, and the generation manner refers to a type of the index generation and a corresponding index generation rule. In the actual application process, when the indexes of the engineering quantity list are checked, objects and modes to be checked are different according to different requirements at that time, for example, when the indexes of a single project in the engineering quantity list need to be checked, data information needs to be classified and summarized, then the indexes are generated, and for example, when the indexes of the whole engineering quantity list need to be obtained, the indexes of the whole engineering quantity list need to be calculated. Obviously, since index generation rules corresponding to different requirements are different, when a user needs to generate an index for an operation, it is necessary to determine a rule for generating an index at that time.
The index generation instruction may also be triggered and generated automatically when the user creates the engineering quantity list, and further, the index corresponding to the engineering quantity list is generated automatically when the engineering quantity list is created.
And 204, acquiring a list sub-directory contained in the target engineering quantity list, and obtaining an initial index corresponding to the list sub-directory based on the index parameter corresponding to the list sub-directory.
The list subdirectory is a general name of each item of information in the engineering quantity list, the engineering quantity list generally comprises a sub-item engineering quantity list, a measure item list, other item lists and a fee-planning tax list, and each row in the engineering quantity list is the list subdirectory. The initial indicator is a name that is uniformly called for the indicator of each listing sub-category.
Specifically, a target engineering quantity list generated by the current index is determined based on the operation of the user, then a list subdirectory included in the target engineering quantity list is obtained, and further an initial index corresponding to the list subdirectory is obtained according to an index parameter corresponding to the list subdirectory. In fact, there are a plurality of list subdirectories included in one engineering quantity list, and when the initial index of the list subdirectory is obtained, the initial index of all the list subdirectories is calculated. It should be noted that the index calculation formula is set according to the actual application requirements, and at least includes technical indexes and economic indexes.
In the practical application process, each list sub-category in the engineering quantity list has different meanings, and each list sub-category also has different functions in the engineering quantity list, so each list sub-category has a corresponding initial index. Because the engineering quantity list is formed by combining all the partial projects of the whole engineering project, the quantity of the list subdirectories contained in one engineering quantity list is multiple, and simultaneously, for one engineering quantity list, a plurality of initial indexes are obtained and respectively correspond to different list subdirectories.
And step 206, generating a target index corresponding to the target engineering quantity list based on the index generation rule and the initial index corresponding to the list subdirectory.
Wherein, the target indexes at least comprise category indexes and comprehensive indexes.
Specifically, when the initial index corresponding to the list subdirectory is obtained through calculation, the index corresponding to the engineering quantity list is generated according to the obtained index generation rule and the initial index, and the indexes obtained by different index generation rules are different.
In this embodiment, first, the initial indexes of all the inventory subdirectories in the engineering quantity inventory are calculated, and then different indexes are obtained according to different requirements, that is, different indexes are obtained according to different index generation rules. In practical application, a plurality of list subdirectories are contained in one engineering quantity list, and the corresponding category information of different list subdirectories is different, so that when the indexes are required to be obtained, the initial indexes of different list subdirectories can be checked, the whole indexes of the list subdirectories in the same category are required to be checked in most cases, or the comprehensive indexes of the whole engineering quantity are required to be checked, and at the moment, the corresponding index generation rule is obtained according to the indexes required to be checked, so that the indexes required by the staff are generated.
In the index generation method, when an index generation instruction is received, the index generation instruction is firstly identified to obtain an index generation rule contained in the index generation instruction, then a target engineering quantity list is obtained, list subdirectories contained in the engineering quantity list are read, calculation is further carried out according to a preset initial index calculation formula to obtain an initial index corresponding to the list subdirectories, and finally an index corresponding to the target engineering quantity list is obtained according to the previously obtained index generation rule. After the engineering quantity list is created, index calculation is automatically carried out according to the requirements of workers, so that the target index meeting the requirements of the workers is obtained.
In an embodiment, as shown in fig. 3, in step 204, acquiring a list sub-category included in a target engineering quantity list, and obtaining an initial index corresponding to the list sub-category based on a preset initial index calculation rule corresponding to the list sub-category, the method includes:
step 302, a list sub-category included in the target engineering quantity list is obtained, and index parameters corresponding to the list sub-category are obtained, wherein the index parameters include a first index parameter and a second index parameter.
The index parameters are data required for calculating the initial indexes of the list subdirectory and are required to be determined when the engineering quantity list is created in advance, and the index parameters comprise a first index parameter and a second index parameter.
Specifically, when the target engineering quantity list is obtained, list subdirectories included in the target engineering quantity list are obtained, and index parameters corresponding to the list subdirectories are determined, and actually, each list subdirectory uniquely corresponds to a corresponding index parameter, but the number of the index parameters is not limited, and is specifically determined according to a calculation mode of an initial index, and when the index parameters of the list subdirectories in the engineering quantity list are obtained, the index parameters corresponding to the list subdirectories are obtained.
And 304, calculating based on the index parameters to obtain initial indexes corresponding to the list subdirectories, wherein the initial indexes are positively correlated with the first index parameters and negatively correlated with the second index parameters.
Specifically, when the index parameters of the list subdirectory in the target engineering quantity list are obtained, a preset initial index calculation formula is obtained, and then the initial index of the list subdirectory is calculated according to the index parameters and the initial index calculation formula, so as to obtain the initial index of the list subdirectory. For an engineering quantity list, a plurality of list subdirectories are included, so that the obtained initial indexes are a plurality of, and the specific number of the initial indexes is the same as the number of the list subdirectories.
In practical applications, the conventional initial indicators include a technical indicator and an economic indicator, and in this embodiment, when the technical indicator and the economic indicator are calculated, the conventional calculation formula is set as: the technical index is engineering quantity/calculation base number, the economic index is total price/calculation base number, wherein the engineering quantity is the man-machine consumption required when the list subdirectory is completed, the total price is the cost required when the list subdirectory is completed, the engineering quantity, the calculation base number and the total price are index parameters, the engineering quantity and the total price are first index parameters, and the calculation base number is a second index parameter. Therefore, when the initial index is obtained, the technical index and the economic index of the single item list subdirectory are obtained.
In an embodiment, as shown in fig. 4, in step 304, calculating to obtain an initial indicator corresponding to the listing sub-category based on the indicator parameter includes:
step 402, determining whether the index parameter is a standard index parameter.
Wherein the standard index parameter is index parameter of standard unit in data unit, and the standard unit is most commonly used measurement unit of category corresponding to the list subdirectory, such as concrete in m3The unit is cubic meter, and the unit is t (ton) of the steel bar.
In particular, in actual construction engineering, even the measurement units used by the same class of materials in different application scenarios may be different, such as concrete indexes: wall, column, beam gaugingThe unit is m3The unit of measurement of the stairs is m2For example, when steel bars are bound, besides the steel bars needed for the conventional construction of beam, plate and column, other small components need to use the steel bars, such as a steel split heads, at this time, when the list subdirectory is recorded in the project quantity list, the steel split heads are counted according to the number, the standard measurement unit of the steel bars is t, namely, the measurement unit is different from the standard measurement unit. Therefore, when acquiring the index parameter of the list sub-purpose, it is necessary to determine whether the index parameter is a standard index parameter. Wherein, regarding the index parameters measured by adopting non-standard measurement units as the non-standard index parameters, the index parameters cannot be directly used for calculating the initial index; the index parameters measured by the standard measurement units are regarded as standard index parameters, and the standard index parameters can be directly calculated by using an initial index calculation formula.
And 404, when the index parameter is determined to be the standard index parameter, calculating according to the index parameter to obtain an initial index corresponding to the list subdirectory.
Specifically, when the index parameter is determined to be the standard index parameter, calculation is directly performed according to the index parameter to obtain the initial index of the corresponding list subdirectory. In this embodiment, whether the index parameter is a standard index parameter is determined by obtaining a measurement unit corresponding to the index parameter, and when the index parameter is a standard index parameter, the index parameter is directly brought into a corresponding calculation formula for calculation.
In one embodiment, as shown in fig. 5, after determining whether the index parameter is the standard index parameter, step 402 further includes:
step 502, when the index parameter is determined not to be the standard index parameter, a conversion parameter corresponding to the index parameter is obtained.
The conversion parameter is a conversion coefficient for converting the non-standard index parameter into the standard index parameter, and the conversion coefficients of different measurement units are different.
Specifically, when the index parameter is determined not to be the standard index parameter, the conversion parameter corresponding to the index parameter is obtained. In practical application, a certain conversion relationship exists between different measurement units, so that when the obtained index parameter is not the standard index parameter using the standard measurement unit, the conversion parameter between the measurement unit of the index parameter and the standard measurement unit is obtained, and then the index parameter is converted into the standard index parameter by using the conversion parameter.
Step 504, converting the index parameter into a corresponding standard index parameter based on the conversion parameter.
Specifically, when the conversion parameter is obtained, the index parameter is converted according to the conversion parameter to obtain a standard index parameter corresponding to the index parameter. In practical application, the conversion parameters are different among different measurement units, for example, the measurement unit of concrete index, wall, column and beam is m3The unit of measurement of the stairs is m2When the stairs need a conversion parameter m2Conversion to m3The conversion parameter at this time is 0.213, i.e. the index parameter is 100m if the stairs are at this time2At this time, the standard unit m is converted into3The result was 100 × 0.213 ═ 21.3m3Then, in making the calculation, the standard index parameter 21.3m will be used3And (6) performing calculation. For another example, when the steel bars are bound, the steel bars are needed to be used, and other components need to use the steel bars, such as the iron split heads, at this time, when the list subdirectory is recorded in the engineering quantity list, the iron split heads are counted according to the number, so that the conversion parameter at this time is the weight of a single iron split head, that is, at this time, the number of the iron split heads needs to be multiplied by the single weight during the conversion, so as to obtain the weight of the corresponding iron split head.
Similarly, in the above description, the non-standard index parameter is exemplified by calculating the technical index, and the economic index is also calculated by determining whether the index parameter is the standard index parameter, and usually, the general price unit is the element, but the use of other currencies is not excluded, and at this time, the non-renminbi is converted into the renminbi according to the real-time exchange rate relationship to be used as the standard index parameter for calculating the economic index.
Step 506, calculating based on the standard index parameters to obtain the initial index corresponding to the list subdirectory.
Specifically, after the index parameters are converted into the standard index parameters, the initial index is calculated according to the initial index calculation formula and the obtained standard calculation formula, so as to obtain the initial indexes of the corresponding list subdirectory.
In the embodiment, the index parameters of the inventory subdirectory are subjected to standardized conversion, so that when the engineering quantity inventory is created, a worker does not need to actively convert non-standard data into standard data. And meanwhile, when the indexes are generated, the non-standard index parameters are automatically converted into standard index parameters, and then the initial indexes corresponding to the list subdirectories are obtained according to the obtained standard index parameters.
In one embodiment, in step 206, generating an index corresponding to the target engineering quantity list based on an index generation rule and an initial index corresponding to the list sub-category includes:
step a, when the index generation rule is the generation of category indexes, the list subdirectories are classified to obtain the category indexes respectively corresponding to the categories.
And b, when the index generation rule is the generation of the comprehensive index, obtaining the comprehensive index based on a preset rule.
Wherein, the category index is the index sum of the list subdirectories contained in the same category; the comprehensive index is the sum of indexes of the whole project amount list.
Specifically, after initial indexes of the list sub-categories are obtained, corresponding indexes are obtained according to pre-obtained index generation rules, the indexes obtained by different index generation rules are different, wherein the index generation rules at least comprise category index generation and comprehensive index generation, when the index generation rules are the category index generation, firstly, the list sub-categories need to be classified, and then the initial indexes of the list sub-categories contained in each category are respectively calculated to obtain the category indexes corresponding to each category; when the index generation rule is the generation of the comprehensive index, the comprehensive index of the engineering quantity list is obtained by directly calculating according to a preset rule, and particularly, the comprehensive index of the engineering quantity list is obtained by summing all the initial indexes. It should be noted that, when the comprehensive index of the engineering quantity list is obtained, the initial indexes of all the list objectives are directly added and calculated to obtain the comprehensive index of the whole engineering.
When the category indexes are generated, different generation modes are correspondingly provided according to different operations of workers, and when the category indexes of all categories are required to be obtained, the category indexes of different categories can be directly obtained; when the category index of a specific category needs to be acquired, a worker can acquire the category index corresponding to the category information by inputting the specific category information.
Further, as shown in fig. 6, in step a, when the index generation rule is the category index generation, the classifying process is performed on the list sub-categories, and the category indexes respectively corresponding to the categories are obtained based on the first calculation formula, including:
step 602, when the index generation rule is the generation of the category index, identifying the category attribute identifier of the list subdirectory.
And step 604, classifying the list subdirectories based on the category attribute identification.
And 606, summing the initial indexes of the list subdirectories contained in each category obtained by classification processing to obtain the category indexes corresponding to each category.
The category attribute identifier is an attribute feature of the list subdirectory, the same category attribute may include a plurality of list subdirectories, and the category attribute identifier may be a character, a number, a serial number, or the like.
Specifically, when the index generation rule is the generation of a category index, the category attribute identifiers of the list subdirectory are identified, then the list subdirectory is classified according to the category attribute identifiers to obtain categories corresponding to different category attribute identifiers, and finally, the initial indexes of the list subdirectory contained in different categories are added and calculated to obtain the category indexes corresponding to the categories. In this embodiment, the list subdirectories are correspondingly marked with corresponding category attribute identifiers, when performing classification, the list subdirectories with the same category attribute identifier are divided into a category, and then the initial indexes of the list subdirectories included in the category are summed to obtain the category indexes of the category. Due to the setting and the requirement of the working personnel, a plurality of initial indexes of the list object can be provided, for example, the initial indexes comprise technical indexes and economic indexes, when the addition calculation is carried out, the technical indexes in the initial indexes are added and calculated to obtain the technical indexes in the category indexes of the objects, the economic indexes are added and calculated to obtain the economic indexes in the category indexes of the objects, and the economic indexes form the category indexes.
In practical application, an index which a worker may need to check is an index of a specific category, so that the worker can determine category information of the index which needs to be generated, such as a category attribute identifier, when inputting an index generation instruction, then obtain a list subdirectory corresponding to the category attribute identifier from a target engineering quantity list according to the category attribute identifier input by the worker, further obtain an initial index of each list subdirectory according to an initial index calculation formula, finally obtain a corresponding category index through the summation of the initial indexes, and perform no operation treatment on the list subdirectory which does not belong to the category attribute identifier, so that the subdirectory can be automatically classified according to the actual requirement of the worker to obtain a result meeting the requirement of the worker.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided an index generating apparatus 700 including: a rule identification module 720, an information acquisition module 740, and an index generation module 760, wherein:
a rule identifying module 720, configured to identify an index generation rule included in an index generation instruction when the index generation instruction is received;
the information acquisition module 740 is configured to acquire a list subdirectory included in the target engineering quantity list, and obtain an initial index corresponding to the list subdirectory based on an index parameter corresponding to the list subdirectory;
and the index generation module 760 generates a target index corresponding to the target engineering quantity list based on the index generation rule and the initial index corresponding to the list subdirectory.
In one embodiment, as shown in fig. 8, the information obtaining module 740 includes:
a parameter obtaining module 742, configured to obtain a list sub-category included in a target engineering quantity list, and obtain an index parameter corresponding to the list sub-category, where the index parameter includes a first index parameter and a second index parameter;
a calculating module 744 for calculating an initial index corresponding to the list subdirectory based on the index parameter, wherein the initial index is positively correlated with the first index parameter and negatively correlated with the second index parameter
In one embodiment, as shown in FIG. 9, the calculation module 744 comprises:
a judging unit 7442, configured to determine whether the index parameter is a standard index parameter;
a calculating unit 7444, configured to, when it is determined that the index parameter is a standard index parameter, calculate according to the index parameter to obtain an initial index corresponding to the list sub-category.
In one embodiment, as shown in fig. 10, the calculation module 744 further comprises:
an obtaining unit 7446, configured to obtain a conversion parameter corresponding to the index parameter when it is determined that the index parameter is not a standard index parameter;
a conversion unit 7448, configured to convert the index parameter into a corresponding standard index parameter based on the conversion parameter;
the calculating unit 7444 is further configured to calculate based on the standard index parameter to obtain an initial index corresponding to the list sub-category.
For specific limitations of the index generation device, reference may be made to the above limitations of the index generation method, which are not described herein again. The modules in the index generating device may be wholly or partially implemented by software, hardware, or a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an index generation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
when an index generation instruction is received, identifying an index generation rule contained in the index generation instruction;
acquiring a list subdirectory contained in a target engineering quantity list, and obtaining an initial index corresponding to the list subdirectory based on an index parameter corresponding to the list subdirectory;
and generating a target index corresponding to the target engineering quantity list based on the index generation rule and the initial index corresponding to the list subdirectory.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring a list subdirectory contained in a target engineering quantity list, and acquiring index parameters corresponding to the list subdirectory, wherein the index parameters comprise a first index parameter and a second index parameter;
and calculating based on the index parameters to obtain initial indexes corresponding to the list subdirectories, wherein the initial indexes are positively correlated with the first index parameters and negatively correlated with the second index parameters.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining whether the index parameter is a standard index parameter;
and when the index parameter is determined to be a standard index parameter, calculating according to the index parameter to obtain an initial index corresponding to the list subdirectory.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when the index parameter is determined not to be the standard index parameter, acquiring a conversion parameter corresponding to the index parameter;
converting the index parameters into corresponding standard index parameters based on the conversion parameters;
and calculating based on the standard index parameters to obtain initial indexes corresponding to the list subdirectories.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when the generation rule is the generation of category indexes, the category indexes corresponding to the categories are obtained by classifying the list subdirectories;
and when the generation rule is the generation of the comprehensive index, obtaining the comprehensive index based on a preset rule.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when the generation rule is generated for the category index, identifying the category attribute contained in the attribute identification of the list subdirectory;
classifying the list subdirectories based on the category attribute;
and summing the initial indexes of the list subdirectories contained in each category obtained by classification processing to obtain the category indexes respectively corresponding to the categories.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and when the index generation rule is the generation of the comprehensive index, summing the initial indexes of the list subdirectories to obtain the comprehensive index of the list subdirectory.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
when an index generation instruction is received, identifying an index generation rule contained in the index generation instruction;
acquiring a list subdirectory contained in a target engineering quantity list, and obtaining an initial index corresponding to the list subdirectory based on an index parameter corresponding to the list subdirectory;
and generating a target index corresponding to the target engineering quantity list based on the index generation rule and the initial index corresponding to the list subdirectory.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a list subdirectory contained in a target engineering quantity list, and acquiring index parameters corresponding to the list subdirectory, wherein the index parameters comprise a first index parameter and a second index parameter;
and calculating based on the index parameters to obtain initial indexes corresponding to the list subdirectories, wherein the initial indexes are positively correlated with the first index parameters and negatively correlated with the second index parameters.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining whether the index parameter is a standard index parameter;
and when the index parameter is determined to be a standard index parameter, calculating according to the index parameter to obtain an initial index corresponding to the list subdirectory.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the index parameter is determined not to be the standard index parameter, acquiring a conversion parameter corresponding to the index parameter;
converting the index parameters into corresponding standard index parameters based on the conversion parameters;
and calculating based on the standard index parameters to obtain initial indexes corresponding to the list subdirectories.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the generation rule is the generation of category indexes, the category indexes corresponding to the categories are obtained by classifying the list subdirectories;
and when the generation rule is the generation of the comprehensive index, obtaining the comprehensive index based on a preset rule.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the generation rule is generated for the category index, identifying the category attribute contained in the attribute identification of the list subdirectory;
classifying the list subdirectories based on the category attribute;
and summing the initial indexes of the list subdirectories contained in each category obtained by classification processing to obtain the category indexes respectively corresponding to the categories.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and when the index generation rule is the generation of the comprehensive index, summing the initial indexes of the list subdirectories to obtain the comprehensive index of the list subdirectory.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An index generation method, characterized in that the method comprises:
when an index generation instruction is received, identifying an index generation rule contained in the index generation instruction; the index generation rule comprises an object for generating the index, the type for generating the index and a corresponding index generation rule;
acquiring the list subdirectories contained in a target engineering quantity list and a preset initial index generation rule, and calculating index parameters corresponding to the list subdirectories based on the initial index generation rule to obtain an initial index corresponding to each list subdirectory contained in the target engineering quantity list; the initial indexes at least comprise technical indexes and economic indexes;
generating a target index corresponding to the target engineering quantity list based on the object generated by the index, the type generated by the index, the corresponding index generation rule and the initial index corresponding to each list subdirectory; the target indexes at least comprise category indexes and comprehensive indexes, wherein the category indexes are initial indexes corresponding to the list subdirectories according to objects generated by the indexes, the type generated by the indexes, corresponding index generation rules and each list subdirectory, and the list subdirectories contained in the target engineering quantity list are classified to obtain the category indexes corresponding to the categories respectively; and the comprehensive index is obtained by summing the initial indexes of the list subdirectories contained in the target engineering quantity list according to the object generated by the index, the type generated by the index, the corresponding index generation rule and the initial index corresponding to each list subdirectory.
2. The index generation method according to claim 1, wherein the step of obtaining the inventory subdirectory included in the target engineering quantity inventory and obtaining the initial index corresponding to each inventory subdirectory based on the index parameter corresponding to the inventory subdirectory comprises:
acquiring a list subdirectory contained in a target engineering quantity list, and acquiring index parameters corresponding to the list subdirectory, wherein the index parameters comprise a first index parameter and a second index parameter;
and calculating based on the index parameters to obtain initial indexes corresponding to the list subdirectories, wherein the initial indexes are positively correlated with the first index parameters and negatively correlated with the second index parameters.
3. The index generation method according to claim 2, wherein the step of calculating based on the index parameter to obtain the initial index corresponding to the list subdirectory includes:
determining whether the index parameter is a standard index parameter;
and when the index parameter is determined to be a standard index parameter, calculating according to the index parameter to obtain an initial index corresponding to the list subdirectory.
4. The index generation method according to claim 3, wherein the step of determining whether the index parameter is a standard index parameter further includes:
when the index parameter is determined not to be the standard index parameter, acquiring a conversion parameter corresponding to the index parameter;
converting the index parameters into corresponding standard index parameters based on the conversion parameters;
and calculating based on the standard index parameters to obtain initial indexes corresponding to the list subdirectories.
5. The index generation method according to claim 4, wherein the step of generating the target index corresponding to the target engineering quantity list based on the index generation rule and the initial index corresponding to the list subdirectory comprises:
when the generation rule is the generation of category indexes, the category indexes corresponding to the categories are obtained by classifying the list subdirectories;
and when the generation rule is the generation of the comprehensive index, obtaining the comprehensive index based on a preset rule.
6. The method according to claim 5, wherein when the index generation rule is a category index generation rule, the step of classifying the list subdirectories to obtain category indexes corresponding to each category comprises:
when the generation rule is generated for the category index, identifying the category attribute contained in the attribute identification of the list subdirectory;
classifying the list subdirectories based on the category attribute;
and summing the initial indexes of the list subdirectories contained in each category obtained by classification processing to obtain the category indexes respectively corresponding to the categories.
7. An index generation apparatus, characterized in that the apparatus comprises:
the rule identification module is used for identifying an index generation rule contained in an index generation instruction when the index generation instruction is received; the index generation rule comprises an object for generating the index, the type for generating the index and a corresponding index generation rule;
the information acquisition module is used for acquiring the list subdirectories contained in the target engineering quantity list and a preset initial index generation rule, and calculating the index parameters corresponding to the list subdirectories based on the initial index generation rule to obtain the initial index corresponding to each list subdirectory contained in the target engineering quantity list; the initial indexes at least comprise technical indexes and economic indexes;
the index generation module is used for generating a target index corresponding to the target engineering quantity list based on the object generated by the index, the type generated by the index, the corresponding index generation rule and the initial index corresponding to each list subdirectory; the target indexes at least comprise category indexes and comprehensive indexes, wherein the category indexes are initial indexes corresponding to the list subdirectories according to objects generated by the indexes, the type generated by the indexes, corresponding index generation rules and each list subdirectory, and the list subdirectories contained in the target engineering quantity list are classified to obtain the category indexes corresponding to the categories respectively; and the comprehensive index is obtained by summing the initial indexes of the list subdirectories contained in the target engineering quantity list according to the object generated by the index, the type generated by the index, the corresponding index generation rule and the initial index corresponding to each list subdirectory.
8. The index generation apparatus according to claim 7, characterized by further comprising:
the information acquisition module is used for acquiring a list subdirectory contained in a target engineering quantity list and acquiring index parameters corresponding to the list subdirectory, wherein the index parameters comprise a first index parameter and a second index parameter; and calculating based on the index parameters to obtain initial indexes corresponding to the list subdirectories, wherein the initial indexes are positively correlated with the first index parameters and negatively correlated with the second index parameters.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201811009696.9A 2018-08-31 2018-08-31 Index generation method and device, computer equipment and storage medium Ceased CN108921459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811009696.9A CN108921459B (en) 2018-08-31 2018-08-31 Index generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811009696.9A CN108921459B (en) 2018-08-31 2018-08-31 Index generation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108921459A CN108921459A (en) 2018-11-30
CN108921459B true CN108921459B (en) 2020-12-11

Family

ID=64408027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811009696.9A Ceased CN108921459B (en) 2018-08-31 2018-08-31 Index generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108921459B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287243B (en) * 2019-06-28 2022-01-18 重庆回形针信息技术有限公司 Distributed data real-time acquisition and display system and method
CN112883698B (en) * 2021-03-22 2024-02-06 京东科技控股股份有限公司 Chart generation method, apparatus, computer device and storage medium
CN115860846B (en) * 2023-02-20 2023-05-23 山东铁路投资控股集团有限公司 Construction cost calculation method, system, equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104504028A (en) * 2014-12-15 2015-04-08 浪潮通用软件有限公司 Method, device and system for calculating index value
CN104978307A (en) * 2015-06-25 2015-10-14 中铁四局集团有限公司 List processing method and apparatus
CN106373036A (en) * 2016-09-21 2017-02-01 广东中建普联科技股份有限公司 Construction project data automatic recognition and analysis method and system
CN107168942A (en) * 2017-06-09 2017-09-15 江苏软开信息科技有限公司 A kind of autoreport generation method and its device
CN107526935A (en) * 2017-09-08 2017-12-29 新屿信息科技(上海)有限公司 A kind of data statistical approach and device
CN107578212A (en) * 2017-08-15 2018-01-12 广联达科技股份有限公司 The rational detection method of bill of quantities comprehensive unit price, detecting system
CN107705146A (en) * 2017-09-06 2018-02-16 北京海数宝科技有限公司 Data processing method, device, storage medium and the computer equipment of subdivisional work

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100088240A1 (en) * 2008-07-01 2010-04-08 Ely Andrew J Construction cost estimating and scheduling system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104504028A (en) * 2014-12-15 2015-04-08 浪潮通用软件有限公司 Method, device and system for calculating index value
CN104978307A (en) * 2015-06-25 2015-10-14 中铁四局集团有限公司 List processing method and apparatus
CN106373036A (en) * 2016-09-21 2017-02-01 广东中建普联科技股份有限公司 Construction project data automatic recognition and analysis method and system
CN107168942A (en) * 2017-06-09 2017-09-15 江苏软开信息科技有限公司 A kind of autoreport generation method and its device
CN107578212A (en) * 2017-08-15 2018-01-12 广联达科技股份有限公司 The rational detection method of bill of quantities comprehensive unit price, detecting system
CN107705146A (en) * 2017-09-06 2018-02-16 北京海数宝科技有限公司 Data processing method, device, storage medium and the computer equipment of subdivisional work
CN107526935A (en) * 2017-09-08 2017-12-29 新屿信息科技(上海)有限公司 A kind of data statistical approach and device

Also Published As

Publication number Publication date
CN108921459A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108921459B (en) Index generation method and device, computer equipment and storage medium
CN109783697B (en) Data processing method, data processing device, computer equipment and storage medium
CN110888625B (en) Method for controlling code quality based on demand change and project risk
CN111444692A (en) Intelligent environment experiment comprehensive control method, system, computer and storage medium
CN115237710A (en) Server temperature prediction method and device, computer equipment and storage medium
CN111026647A (en) Code coverage rate obtaining method and device, computer equipment and storage medium
CN110442852B (en) Target cost compiling method, storage medium and intelligent terminal thereof
JP2006244342A (en) Project plan calculation method and system
CN109542962B (en) Data processing method, data processing device, computer equipment and storage medium
CN107885913B (en) Feasibility judgment method and device for radiation field shielding scheme, computer equipment and storage medium
CN111914101A (en) Abnormal identification method and device for file association relationship and computer equipment
CN116610583A (en) SCA tool maturity evaluation method, SCA tool maturity evaluation device, SCA tool maturity evaluation equipment, SCA tool maturity evaluation medium and SCA tool maturity evaluation product
CN110659517A (en) Data verification method and device, computer equipment and storage medium
CN113837467B (en) Point-to-point energy project evaluation method and device, computer equipment and storage medium
KR101927273B1 (en) Risk value evaluating system for unclaimed construction and risk value evaluating apparatus for unclaimed construction
CN109299300B (en) Method and device for generating inventory subdirectories, computer equipment and storage medium
CN111141981B (en) Line loss point inspection method and device, computer equipment and storage medium
CN109471840B (en) File viewing method and device, computer equipment and storage medium
JP2013037478A (en) Work man-hour calculation device, work man-hour calculation method, and program
CN112711605A (en) Fault analysis method and device, computer equipment and storage medium
CN112101852A (en) Method, device, equipment and medium for recommending material sending batches of nuclear power station materials
CN113515277A (en) Visual display method, device and equipment for buried point data and storage medium
CN113256407A (en) Risk prediction method and device, electronic equipment and storage medium
CN111428182A (en) Evaluation index processing method and device, computer equipment and storage medium
CN111273338A (en) Method and system for detecting radiation instrument, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
IW01 Full invalidation of patent right
IW01 Full invalidation of patent right

Decision date of declaring invalidation: 20230901

Decision number of declaring invalidation: 562460

Granted publication date: 20201211