CN113689207B - Monovalent form switching method and device and electronic equipment - Google Patents
Monovalent form switching method and device and electronic equipment Download PDFInfo
- Publication number
- CN113689207B CN113689207B CN202110890722.9A CN202110890722A CN113689207B CN 113689207 B CN113689207 B CN 113689207B CN 202110890722 A CN202110890722 A CN 202110890722A CN 113689207 B CN113689207 B CN 113689207B
- Authority
- CN
- China
- Prior art keywords
- template
- monovalent
- current
- monovalent form
- switching
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000015654 memory Effects 0.000 claims description 30
- 238000004891 communication Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 9
- 238000010276 construction Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 239000000203 mixture Substances 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/14—Payment architectures specially adapted for billing systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of data processing, in particular to a monovalent form switching method, a monovalent form switching device and electronic equipment, wherein the switching method comprises the step of backing up the cost information of the current monovalent form; acquiring a target monovalent form template and switching the current monovalent form template to the target monovalent form template; a unit price in the template of the target unit price form is determined based on the cost information of the current unit price form. The template forms represent each monovalent form, the switching of the monovalent forms can be corresponding to the switching of the templates, and the unit price of the template after the switching is determined based on the cost information of the current monovalent form, so that the automatic switching of the template and the cost information is realized, the problem of accuracy caused by manual switching is avoided, and the switching accuracy is improved.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a monovalent form switching method and apparatus, and an electronic device.
Background
The monovalent forms can be classified into non-full-cost comprehensive monovalent forms and full-cost comprehensive monovalent forms. Wherein the unit price of the non-full-cost integrated unit price form is the sum of the inventory integrated unit price as a labor cost, a material cost, a mechanical cost, a management cost and a profit; the unit price of the full-cost integrated unit price form is the sum of the list integrated unit price which is the artificial fee, the material fee, the mechanical fee, the management fee, the profit, the total price measure, the regulation fee and the tax.
In the pricing process, the conversion of full-fee labor Cheng Yufei to full-fee engineering is usually required. For example, in the case of cost measurement or index analysis, it is required to provide a full cost project file again. Or in the actual engineering process, the first party firstly requires to use comprehensive price bidding with full fees, and in the process, price change is required to occur, and non-comprehensive price is required to be used.
However, existing pricing software typically performs the monovalent form switching by re-creating the project, copying and pasting the original project data, and adjusting the template rate. The switching mode needs to be manually switched, and is easy to make mistakes due to the fact that the complex flow data size is large, so that the switching accuracy is low.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide a monovalent form switching method, a monovalent form switching device, and an electronic device, so as to solve the problem of low switching accuracy.
According to a first aspect, an embodiment of the present invention provides a monovalent form switching method, including:
backing up the cost information in the current monovalent form;
acquiring a target monovalent form template and switching the current monovalent form template to the target monovalent form template;
a unit price in the template of the target unit price form is determined based on the cost information of the current unit price form.
According to the method for switching the monovalent forms, each monovalent form is represented through the template form, the switching of the monovalent form can be corresponding to the switching of the template, and the unit price of the template after the switching is determined based on the cost information of the current monovalent form, so that the automatic switching of the template and the cost information is realized, the problem of accuracy caused by manual switching is avoided, and the switching accuracy is improved.
With reference to the first aspect, in a first implementation manner of the first aspect, the backup of the current monovalent form of the fee information includes:
Analyzing the template of the current monovalent form to obtain expense information of the current monovalent form, wherein the expense information comprises rates and corresponding categories;
and storing the cost information to backup the cost information in the current monovalent form.
According to the method for switching the monovalent form, provided by the embodiment of the invention, the rate and the corresponding category are backed up simultaneously when the cost information of the current monovalent form is backed up, so that the rate can be conveniently corresponding to the switched template in the follow-up process, and the switching accuracy is ensured.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the parsing the template of the current monovalent form to obtain the cost information of the current monovalent form includes:
obtaining each engineering template used in the current engineering, wherein the engineering templates comprise each monovalent form template;
and respectively analyzing the templates of the current monovalent forms in the engineering templates to obtain the cost information of the current monovalent forms corresponding to the templates of the current monovalent forms in the engineering templates.
According to the method for switching the monovalent forms, provided by the embodiment of the invention, a plurality of engineering templates are used in the current engineering, the templates of the current monovalent forms in the engineering templates are analyzed, and the cost information of the current monovalent forms in the engineering templates can be determined, so that the templates of the current monovalent forms in the engineering templates can be conveniently switched subsequently, and accurate cost information can be determined.
With reference to the first aspect, or the first implementation manner or the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the backing up the current monovalent form of the fee information further includes:
responsive to a switching operation on the monovalent form;
and backing up the cost information of the current monovalent form.
According to the monovalent form switching method provided by the embodiment of the invention, the monovalent form is switched in a one-key switching mode by a user, so that the monovalent form can be automatically switched without additional operation for the user, and the switching efficiency is improved.
With reference to the first aspect, in a fourth implementation manner of the first aspect, the fee information includes a fee rate and a corresponding category, and the determining, based on the fee information of the current monovalent form, a unit price in a template of the target monovalent form includes:
matching the fee items in the target monovalent form template by using the categories in the fee information to obtain a match Fei Yongxiang;
Refreshing the rate corresponding to the category to the rate corresponding to the matched cost item, and determining the unit price in the template of the target unit price form.
According to the method for switching the monovalent form, provided by the embodiment of the invention, the corresponding relation between the fee item in the template of the target monovalent form and the category in the fee information is utilized to refresh the fee rate to the fee rate corresponding to the matched fee item, so that the unit price in the template of the target monovalent form can be determined, and the fee rate before and after switching can be kept unchanged.
With reference to the first aspect, in a fifth implementation manner of the first aspect, the obtaining a target monovalent form of the template and switching the current monovalent form of the template to the target monovalent form of the template includes:
Searching a template storage library by utilizing the target monovalent forms, and determining templates of the target monovalent forms, wherein the template storage library is used for storing templates of various monovalent forms;
and switching the template of the current monovalent form to the template of the target monovalent form.
According to the monovalent form switching method provided by the embodiment of the invention, templates of all the monovalent forms are stored by using the template storage library, so that the templates can be conveniently searched, and the monovalent form switching efficiency is improved.
With reference to the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the searching the template repository using the target monovalent form to determine the template of the target monovalent form includes:
acquiring the corresponding relation between each engineering template used in the current engineering and each template in the monovalent form, wherein the engineering template comprises the templates in the monovalent form;
And determining the target monovalent form template in each engineering template in the template storage library by utilizing the corresponding relation.
According to the method for switching the monovalent forms, provided by the embodiment of the invention, the template of the target monovalent form is determined by utilizing the corresponding relation between the engineering template and the templates of the monovalent forms, so that the accuracy of the template of the target monovalent form in each determined engineering template can be ensured.
According to a second aspect, an embodiment of the present invention further provides a monovalent form switching device, including:
The backup module is used for backing up the cost information of the current monovalent form;
A switching module for acquiring a target monovalent form of the template and switching the current monovalent form of the template to the target monovalent form of the template;
a determining module for determining a unit price in the template of the target unit price form based on the cost information of the current unit price form.
According to the unit price form switching device provided by the embodiment of the invention, each unit price form is represented by the template form, the unit price form switching can be corresponding to the switching of the template, and the unit price of the template after the switching is determined based on the cost information of the current unit price form, so that the automatic switching of the template and the cost information is realized, the problem of accuracy caused by manual switching is avoided, and the switching accuracy is improved. According to a third aspect, an embodiment of the present invention provides an electronic device, including: the switching device comprises a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions, so as to execute the switching method of the first aspect or any implementation manner of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions for causing the computer to perform the method of switching between monovalent forms as described in the first aspect or any one of the embodiments of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of switching monovalent forms according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of switching monovalent forms according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a monovalent form of a switching architecture according to an embodiment of the present invention;
FIG. 4 is a flow chart of a method of switching monovalent forms according to an embodiment of the present invention;
Fig. 5 is a block diagram of a construction of a switching device of a monovalent form according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The monovalent form may be switched from the full-cost integrated monovalent form to the non-full-cost integrated monovalent form, or may be switched from the non-full-cost integrated monovalent form to the full-cost total monovalent form in the embodiment of the present invention. The corresponding processing can be performed according to actual situations, and the application scenario is not limited.
According to an embodiment of the present invention, there is provided a monovalent form of the switching method embodiment, it being noted that the steps shown in the flowchart of the drawings may be performed in a computer system, such as a set of computer executable instructions, and that, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order other than that shown or described herein.
In this embodiment, a monovalent form switching method is provided, which may be used in an electronic device, such as a computer, a mobile phone, a tablet computer, etc., fig. 1 is a flowchart of a monovalent form switching method according to an embodiment of the present invention, and as shown in fig. 1, the flowchart includes the following steps:
s11, backing up the cost information of the current monovalent form.
The current unit price form can be a full-cost comprehensive unit price form or a non-full-cost comprehensive unit price form, and the corresponding setting can be carried out according to actual conditions.
When the electronic device backs up the cost information in the current monovalent form, each piece of cost information can be extracted from the template in the current monovalent form, and the cost information can be stored according to a preset rule. For example, the fee information may be stored using an identification of the fee information, or may be stored using a location of each fee information in a template, or the like. The electronic device may be considered to have backed up the current monovalent form of the cost information after storing the current monovalent form of the cost information.
This step will be described in detail later in detail.
S12, acquiring the template of the target monovalent form and switching the template of the current monovalent form to the template of the target monovalent form.
Templates of various monovalent forms are stored in the electronic device, and when switching of the monovalent forms is required, a template of a target monovalent form is extracted from the stored templates. For example, if the current monovalent form is a full-cost integrated unit price, the corresponding target monovalent form is a non-full-cost integrated unit price; if the current unit price form is a non-full cost integrated unit price, the corresponding target unit price form is a full cost sum unit price.
The electronic equipment can determine the target monovalent form according to the current monovalent form, and extracts the corresponding template of the target monovalent form from the corresponding storage space. After the target monovalent form template is extracted, the current monovalent form template is switched to the target monovalent form template.
S13, determining the unit price in the template of the target unit price form based on the cost information of the current unit price form.
Since the fee information in the template before switching is also restored to the default value in the template of the target monovalent form along with the switching of the template after switching the template of the current monovalent form to the template of the target monovalent form. Therefore, the electronic device needs to import the fee information backed up in S11 into the target monovalent form template to determine the unit price in the target monovalent form template.
Specifically, after determining the template of the target monovalent form, the electronic device may import the backed-up fee information into the template of the target monovalent form according to the storage manner of the fee information. For example, the fee information may be directly imported in the form of a template, or the fee information may be imported in the form of an identification of the fee information, or the like.
This step will be described specifically below.
According to the method for switching the monovalent forms, each monovalent form is represented through the template form, the switching of the monovalent form can be corresponding to the switching of the template, and the unit price of the template after the switching is determined based on the cost information of the current monovalent form, so that the automatic switching of the template and the cost information is realized, the problem of accuracy caused by manual switching is avoided, and the switching accuracy is improved.
In this embodiment, a monovalent form switching method is provided, which may be used in an electronic device, such as a computer, a mobile phone, a tablet computer, etc., fig. 2 is a flowchart of a monovalent form switching method according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
s21, backing up the cost information of the current monovalent form.
Specifically, the step S21 may include the following steps:
S211, analyzing the template of the current monovalent form to obtain the cost information of the current monovalent form.
Wherein the fee information includes rates and corresponding categories.
The electronic equipment analyzes the template in the current monovalent form and extracts the cost information in the template. In the extracting of the fee information, the extracting rate and the corresponding category may be used. For example, the category is manual and the rate is 35%. Wherein, the categories can be distinguished by words, marks and the like, and each category has unique identification information when the identification distinction is adopted.
In some optional implementations of this embodiment, as shown in fig. 3, the step S211 may include the following steps:
(1) And obtaining each engineering template used by the current engineering.
Wherein the engineering templates comprise individual monovalent form templates.
After the new construction of the current project is completed, templates used in the current project are loaded into the project in the new construction process, and rate information of each project template is also stored in the project template. Further, in the process of setting the price of the engineering, the user can make certain adjustment on the rate in the engineering template to obtain the cost information of the current monovalent form.
As shown in fig. 3, the engineering templates used for the current engineering include a measure item template, a fee summary template, and a unit price composition template. Under each engineering template, a plurality of templates can be provided according to different fee taking professions. Taking the example of the unit price construction template, the construction template can be further divided into a building template, an installation template or a municipal template and the like according to the difference of the charge taking profession, and the unit price form of the building template can be divided into a full charge comprehensive unit price form and a non-full charge comprehensive unit price form. For each engineering template, it is not a single template, but a set of templates. The monovalent forms used in the set of templates are identical, and if a monovalent form switch is desired, then all of the templates in the set of templates need to be switched.
(2) And respectively analyzing the templates of the current monovalent forms in the engineering templates to obtain the cost information of the current monovalent forms corresponding to the templates of the current monovalent forms in the engineering templates.
After the electronic equipment acquires each engineering template of the current engineering, analyzing each engineering template to obtain the cost information of the current monovalent form corresponding to the template of the current monovalent form in each engineering template.
For example, as shown in fig. 3, corresponding to the measure item template, the fee information obtained by the electronic device analyzing the measure item template is: measure category and rate;
corresponding to the expense summarizing template, the expense information obtained by the electronic equipment analyzing the expense summarizing template is as follows: the category and rate of the fee;
And the cost information obtained by analyzing the cost information by the electronic equipment is a cost category and a rate corresponding to the unit price composition template.
And a plurality of engineering templates are used in the current engineering, the templates of the current monovalent forms in the engineering templates are analyzed, and the cost information of the current monovalent forms in the engineering templates can be determined, so that the templates of the current monovalent forms in the engineering templates can be switched conveniently, and accurate cost information can be determined.
S212, storing the cost information to backup the cost information in the current monovalent form.
After analyzing and obtaining the cost information of each template, the electronic equipment stores the cost information of each template, so that the backup of the cost information in the current monovalent form is realized. The fee information may be stored in the form of a key-value pair, wherein the category is used as a key in the key-value pair and the rate is used as a value in the key-value pair.
With continued reference to FIG. 3, corresponding to the measure cost template, the cost information may be stored as follows, keys: measure category, value: a rate;
corresponding to the fee aggregation template, the fee information may be stored as follows, keys: cost category, value: a rate;
corresponding to the monovalent constituent templates, the fee information may be stored as follows, keys: cost category, value: rate.
In other optional implementation manners of this embodiment, S21 may further include:
(1) In response to a switching operation on a monovalent form.
The switching of the monovalent form may be user-triggered, e.g., the electronic device provides a monovalent form switching interface on which the user performs a switching operation, and the electronic device responds to the user's switching operation of the monovalent form accordingly.
(2) The cost information in the current monovalent form is backed up.
After the electronic device responds to the switching operation of the user on the monovalent form, the automatic switching of the monovalent form can be automatically performed. That is, the cost information of the current monovalent form is backed up before the template is switched.
The switching method provides a one-key switching mode for the user to switch the unit price form, so that the user can realize automatic switching of the unit price form without additional operation, and the switching efficiency is improved.
S22, acquiring the template of the target monovalent form and switching the template of the current monovalent form to the template of the target monovalent form.
Please refer to the embodiment S12 shown in fig. 1 in detail, which is not described herein.
S23, determining the unit price in the template of the target unit price form based on the cost information of the current unit price form.
Specifically, the step S23 may include the following steps:
s231, matching the cost items in the target monovalent form template by using the categories in the cost information to obtain matched cost items.
After the electronic device switches the template of the current monovalent form to the template of the target monovalent form, since the rate displayed by the template of the target monovalent form is the rate default value, the cost information backed up in S21 needs to be imported into the template of the target monovalent form.
Specifically, the electronic device performs matching using the categories, and can sequentially match the fee items corresponding to the categories in the fee information in the template of the target unit price form, and confirm the fee items as matching fee items.
S232, refreshing the rates corresponding to the categories to the rates corresponding to the matched fee items, and determining the unit price in the template of the target unit price form.
After determining the matched cost item, refreshing the rate corresponding to the matched cost item in the cost information to the rate corresponding to the matched cost item, so that the unit price in the target unit price form template can be determined.
According to the monovalent form switching method provided by the embodiment, when the cost information of the current monovalent form is backed up, the rate and the corresponding category are backed up at the same time, so that the rate can be conveniently corresponding to the switched template in the follow-up process, and the switching accuracy is ensured; further, the price in the target monovalent form template can be determined by refreshing the price to the price corresponding to the matched price item by using the corresponding relation between the price item in the target monovalent form template and the category in the price information, so that the price before and after switching can be kept unchanged.
In this embodiment, a monovalent form switching method is provided, which may be used in an electronic device, such as a computer, a mobile phone, a tablet computer, etc., fig. 4 is a flowchart of a monovalent form switching method according to an embodiment of the present invention, and as shown in fig. 4, the flowchart includes the following steps:
s31, backing up the cost information of the current monovalent form.
Please refer to the embodiment S21 shown in fig. 2 in detail, which is not described herein.
S32, acquiring the template of the target monovalent form and switching the template of the current monovalent form to the template of the target monovalent form.
Specifically, the step S32 may include the following steps:
S321, searching a template storage library by utilizing the target monovalent form, and determining the template of the target monovalent form.
Wherein the template repository is for storing templates of respective monovalent forms.
The electronic device stores templates of various monovalent forms in a template library, and can find the corresponding template of the target monovalent form from the template storage library by using the target monovalent form.
In some optional implementations of this embodiment, the step S321 may include the following steps:
(1) And obtaining the corresponding relation between each engineering template used in the current engineering and each template in the monovalent form, wherein the engineering templates comprise templates in the monovalent forms.
As described above, the electronic device is loaded with the project template used in the project after the project creation is completed. The electronic equipment can acquire information such as a list library, a list specialty, a quota library, a quota specialty, a tax calculating mode and the like stored in new construction in engineering. The corresponding relation between each engineering template used by the current engineering and each template in the monovalent form can be stored in a guide file, wherein the guide file is stored in a quota library and is released along with the quota library. Specifically, template positions of comprehensive unit price forms of all the professions and comprehensive unit price forms of non-all the fees are stored in the quota library.
(2) And determining the target monovalent form template in each engineering template in the template storage library by using the corresponding relation.
The electronic device can determine the corresponding relation by searching the guide file in the quota library, and the template of the target unit price form in each engineering template can be determined in the template storage library by utilizing the corresponding relation.
And determining the template of the target monovalent form by utilizing the corresponding relation between the engineering template and the templates of the monovalent forms, so that the accuracy of the template of the target monovalent form in each determined engineering template can be ensured.
S322, switching the template of the current monovalent form to the template of the target monovalent form.
As shown in fig. 3, the electronic device determines the template of the target unit price form in each engineering template by using the guide file, and loads the determined template to obtain a new template of the measure project, a new template of the expense summary and a new template of the unit price composition respectively.
S33, determining the unit price in the template of the target unit price form based on the cost information of the current unit price form.
Please refer to the embodiment S23 shown in fig. 2 in detail, which is not described herein.
According to the monovalent form switching method provided by the embodiment, templates of all the monovalent forms are stored by using the template storage library, so that the templates can be conveniently searched, and the monovalent form switching efficiency is improved.
In some optional implementations of this embodiment, the electronic device may make a corresponding flag for the project after the project switch is completed, e.g., a full cost project, a comprehensive unit price project. That is, by switching templates, two types of project files in monovalent form can be obtained corresponding to the same project.
The monovalent form switching method described in this embodiment can realize one-key mutual switching of full-cost engineering Cheng Yufei, for example, one-key switching can be performed to full-cost engineering through existing non-full-cost engineering, and one-key switching can be performed to non-full-cost engineering through existing full-cost engineering. Automatic matching of the rates is realized in the switched engineering templates, and no adjustment is needed for the users in the whole process. Specifically, a rate backup and recovery technology is adopted, so that the automatic flow of each template rate of engineering in the switching process is realized; the automatic template matching technology is adopted, so that the automatic matching of each engineering template into a template after switching in the switching process is realized; furthermore, the unit engineering caching technology is adopted, so that one-key switching of all unit engineering of the whole project is realized.
In this embodiment, a monovalent switching device is also provided, and this device is used to implement the foregoing embodiments and preferred embodiments, and will not be described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The present embodiment provides a monovalent form switching device, as shown in fig. 5, including:
a backup module 41 that backs up the cost information of the current monovalent form;
a switching module 42 for acquiring a target monovalent form of a template and switching the current monovalent form of the template to the target monovalent form of the template;
A determining module 43 for determining a unit price in the template of the target unit price form based on the cost information of the current unit price form.
According to the unit price form switching device provided by the embodiment, each unit price form is represented by the template form, the unit price form switching can be corresponding to the switching of the template, and the unit price of the template after the switching is determined based on the cost information of the current unit price form, so that the automatic switching of the template and the cost information is realized, the problem of accuracy caused by manual switching is avoided, and the switching accuracy is improved.
The switching means in the monovalent form in this embodiment are presented in the form of functional units, where a unit refers to an ASIC circuit, a processor and a memory executing one or more software or fixed programs, and/or other devices that can provide the above described functionality.
Further functional descriptions of the above respective modules are the same as those of the above corresponding embodiments, and are not repeated here.
The embodiment of the invention also provides electronic equipment, which is provided with the monovalent switching device shown in the figure 5.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an alternative embodiment of the present invention, as shown in fig. 6, the electronic device may include: at least one processor 51, such as a CPU (Central Processing Unit ), at least one communication interface 53, a memory 54, at least one communication bus 52. Wherein the communication bus 52 is used to enable connected communication between these components. The communication interface 53 may include a Display screen (Display) and a Keyboard (Keyboard), and the selectable communication interface 53 may further include a standard wired interface and a wireless interface. The memory 54 may be a high-speed RAM memory (Random Access Memory, volatile random access memory) or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 54 may alternatively be at least one memory device located remotely from the aforementioned processor 51. Wherein the processor 51 may be in conjunction with the apparatus described in fig. 5, the memory 54 stores an application program, and the processor 51 invokes the program code stored in the memory 54 for performing any of the method steps described above.
The communication bus 52 may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, an extended industry standard architecture (extended industry standard architecture, EISA) bus, or the like. The communication bus 52 may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, only one thick line is shown in fig. 6, but not only one bus or one type of bus.
Wherein the memory 54 may include volatile memory (english) such as random-access memory (RAM); the memory may also include a nonvolatile memory (English: non-volatile memory), such as a flash memory (English: flash memory), a hard disk (English: HARD DISK DRIVE, abbreviation: HDD) or a solid state disk (English: solid-STATE DRIVE, abbreviation: SSD); memory 54 may also include a combination of the types of memory described above.
The processor 51 may be a central processor (English: central processing unit, abbreviated: CPU), a network processor (English: network processor, abbreviated: NP) or a combination of CPU and NP.
The processor 51 may further include a hardware chip, among others. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof (English: programmable logic device). The PLD may be a complex programmable logic device (English: complex programmable logic device, abbreviated: CPLD), a field-programmable gate array (English: field-programmable GATE ARRAY, abbreviated: FPGA), a general-purpose array logic (English: GENERIC ARRAY logic, abbreviated: GAL), or any combination thereof.
Optionally, the memory 54 is also used for storing program instructions. The processor 51 may invoke program instructions to implement the monovalent form switching method as shown in the embodiments of fig. 1,2 and 4 of the present application.
The present invention also provides a non-transitory computer storage medium storing computer executable instructions that can perform the monovalent form switching method of any of the method embodiments described above. Wherein the storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a hard disk (HARD DISK DRIVE, abbreviated as HDD), a Solid state disk (Solid-state-STATE DRIVE, SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.
Claims (9)
1. A method of switching a monovalent form, comprising:
backing up the cost information in the current monovalent form;
acquiring a target monovalent form template and switching the current monovalent form template to the target monovalent form template;
determining a unit price in a template of the target unit price form based on the cost information of the current unit price form;
The cost information includes rates and corresponding categories, and the determining a unit price in the template of the target unit price form based on the current unit price form cost information includes:
matching the fee items in the target monovalent form template by using the categories in the fee information to obtain a match Fei Yongxiang;
Refreshing the rate corresponding to the category to the rate corresponding to the matched cost item, and determining the unit price in the template of the target unit price form.
2. The switching method according to claim 1, wherein the backup of the current monovalent form of the fee information includes:
Analyzing the template of the current monovalent form to obtain expense information of the current monovalent form, wherein the expense information comprises rates and corresponding categories;
and storing the cost information to backup the cost information in the current monovalent form.
3. The switching method according to claim 2, wherein said parsing the template of the current monovalent form to obtain cost information of the current monovalent form includes:
obtaining each engineering template used in the current engineering, wherein the engineering templates comprise each monovalent form template;
and respectively analyzing the templates of the current monovalent forms in the engineering templates to obtain the cost information of the current monovalent forms corresponding to the templates of the current monovalent forms in the engineering templates.
4. A switching method according to any one of claims 1-3, wherein the backing up the cost information of the current monovalent form further comprises:
responsive to a switching operation on the monovalent form;
and backing up the cost information of the current monovalent form.
5. The switching method according to claim 1, wherein the acquiring a target monovalent form of the template and switching the current monovalent form of the template to the target monovalent form of the template includes:
Searching a template storage library by utilizing the target monovalent forms, and determining templates of the target monovalent forms, wherein the template storage library is used for storing templates of various monovalent forms;
and switching the template of the current monovalent form to the template of the target monovalent form.
6. The method of switching of claim 5, wherein said using said target monovalent form to find a template repository, determining a template for said target monovalent form, comprises:
acquiring the corresponding relation between each engineering template used in the current engineering and each template in the monovalent form, wherein the engineering template comprises the templates in the monovalent form;
And determining the target monovalent form template in each engineering template in the template storage library by utilizing the corresponding relation.
7. A monovalent form switching device, comprising:
The backup module is used for backing up the cost information of the current monovalent form;
A switching module for acquiring a target monovalent form of the template and switching the current monovalent form of the template to the target monovalent form of the template;
A determining module for determining a unit price in the template of the target unit price form based on the cost information of the current unit price form;
wherein the cost information includes a rate and a corresponding category, and the determining a unit price in the template of the target unit price form based on the cost information of the current unit price form includes:
matching the fee items in the target monovalent form template by using the categories in the fee information to obtain a match Fei Yongxiang;
Refreshing the rate corresponding to the category to the rate corresponding to the matched cost item, and determining the unit price in the template of the target unit price form.
8. An electronic device, comprising:
A memory and a processor in communication with each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the monovalent form switching method according to any one of claims 1-6.
9. A computer-readable storage medium storing computer instructions for causing a computer to perform the monovalent form switching method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110890722.9A CN113689207B (en) | 2021-08-04 | 2021-08-04 | Monovalent form switching method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110890722.9A CN113689207B (en) | 2021-08-04 | 2021-08-04 | Monovalent form switching method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113689207A CN113689207A (en) | 2021-11-23 |
CN113689207B true CN113689207B (en) | 2024-04-26 |
Family
ID=78578706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110890722.9A Active CN113689207B (en) | 2021-08-04 | 2021-08-04 | Monovalent form switching method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113689207B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107563828A (en) * | 2017-07-11 | 2018-01-09 | 北京海数宝科技有限公司 | Full statement of expense generation method, device, storage medium and computer equipment |
CN110532534A (en) * | 2019-08-28 | 2019-12-03 | 广联达科技股份有限公司 | The method and apparatus for generating engineering value document |
CN112328671A (en) * | 2020-11-03 | 2021-02-05 | 北京思特奇信息技术股份有限公司 | A data format conversion method, system, storage medium and device |
CN112395271A (en) * | 2020-12-02 | 2021-02-23 | 上海三稻智能科技有限公司 | One-key conversion method, system and storage medium for breaking through multi-form barrier |
CN112671734A (en) * | 2020-12-16 | 2021-04-16 | 中国平安人寿保险股份有限公司 | Message processing method facing multiple data sources and related equipment thereof |
-
2021
- 2021-08-04 CN CN202110890722.9A patent/CN113689207B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107563828A (en) * | 2017-07-11 | 2018-01-09 | 北京海数宝科技有限公司 | Full statement of expense generation method, device, storage medium and computer equipment |
CN110532534A (en) * | 2019-08-28 | 2019-12-03 | 广联达科技股份有限公司 | The method and apparatus for generating engineering value document |
CN112328671A (en) * | 2020-11-03 | 2021-02-05 | 北京思特奇信息技术股份有限公司 | A data format conversion method, system, storage medium and device |
CN112395271A (en) * | 2020-12-02 | 2021-02-23 | 上海三稻智能科技有限公司 | One-key conversion method, system and storage medium for breaking through multi-form barrier |
CN112671734A (en) * | 2020-12-16 | 2021-04-16 | 中国平安人寿保险股份有限公司 | Message processing method facing multiple data sources and related equipment thereof |
Also Published As
Publication number | Publication date |
---|---|
CN113689207A (en) | 2021-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021082484A1 (en) | Awr report automatic acquisition method and apparatus, electronic device, and storage medium | |
WO2022037299A1 (en) | Abnormal behavior detection method and apparatus, and electronic device and computer-readable storage medium | |
CN111290956A (en) | Brain graph-based testing method and device, electronic equipment and storage medium | |
US20200286100A1 (en) | Payment complaint method, device, server and readable storage medium | |
CN112818937B (en) | Excel file identification method and device, electronic equipment and readable storage medium | |
CN109684309A (en) | A kind of quality of data evaluating method and device, computer equipment and storage medium | |
CN113051183B (en) | A test data recommendation method, system, electronic device and storage medium | |
CN107766316B (en) | Evaluation data analysis method, device and system | |
CN117875288A (en) | Form page generation method and device and electronic equipment | |
US10824803B2 (en) | System and method for logical identification of differences between spreadsheets | |
CN107729541A (en) | A kind of data processing method, device and computer-readable recording medium | |
CN110780970A (en) | Data screening method, apparatus, device, and computer-readable storage medium | |
CN113689207B (en) | Monovalent form switching method and device and electronic equipment | |
US20240231978A1 (en) | Systems, apparatuses, and methods for assessing recovery viability of backup databases | |
CN113448754A (en) | Account checking method and device and electronic equipment | |
CN111045983A (en) | Nuclear power station electronic file management method and device, terminal equipment and medium | |
CN114415911B (en) | Data entry method and device | |
CN116795694A (en) | Application page detection method and device, computer equipment and storage medium | |
CN115687603A (en) | Presentation generation method and device, electronic equipment and storage medium | |
CN110781142B (en) | Data import method and device, server and storage medium | |
CN110674386B (en) | Resource recommendation method, device and storage medium | |
CN112507677A (en) | Method and device for inputting and displaying electronic form | |
CN112231111A (en) | Data pasting method and device, electronic equipment and storage medium | |
CN112966764B (en) | Pattern comparison method and device | |
CN111399832A (en) | Page editing method and device |
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 |