[go: up one dir, main page]

WO2019019789A1 - Parameter value calculation method and apparatus, storage medium and computer device - Google Patents

Parameter value calculation method and apparatus, storage medium and computer device Download PDF

Info

Publication number
WO2019019789A1
WO2019019789A1 PCT/CN2018/088564 CN2018088564W WO2019019789A1 WO 2019019789 A1 WO2019019789 A1 WO 2019019789A1 CN 2018088564 W CN2018088564 W CN 2018088564W WO 2019019789 A1 WO2019019789 A1 WO 2019019789A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
template file
name
calculated
calculation formula
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
PCT/CN2018/088564
Other languages
French (fr)
Chinese (zh)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2019019789A1 publication Critical patent/WO2019019789A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Definitions

  • the application relates to a parameter numerical calculation method, device, storage medium and computer device.
  • the traditional method of calculating the parameter values is for each product, and a set of calculation system is provided for its individual use. According to the corresponding product, the corresponding setting calculation system is selected, and the parameter value of the required calculation is calculated according to the calculation system.
  • the inventors realized that the more the product types and the calculation of the parameter values of the same product at different times, the more the calculation system required, the more the workload is. Less efficient.
  • a parameter numerical value calculation method is provided.
  • a parameter numerical calculation method includes: receiving a selection instruction of a business item to be processed, the selection instruction carrying a corresponding item identifier; acquiring a template file corresponding to the item identifier, where the template file includes a parameter to be calculated a parameter name, a calculation formula, and a parameter name of the basic parameter; obtaining a parameter value of the basic parameter according to the parameter name of the basic parameter; and writing the parameter value into the template file and the parameter name of the basic parameter The associated location of the location association in the template file; and calculating the parameter value of the parameter to be calculated in the template file according to the calculation formula and the parameter value.
  • a parameter value calculation device includes: a selection instruction receiving module, configured to receive a selection instruction of a business item to be processed, the selection instruction carrying a corresponding item identifier; and a template file obtaining module, configured to acquire the item identifier
  • the template file includes a parameter name of the parameter to be calculated, a calculation formula, and a parameter name of the basic parameter
  • the parameter value writing module is configured to acquire the parameter of the basic parameter according to the parameter name of the basic parameter a value
  • a parameter numerical calculation module for using the calculation formula and The parameter value is used to calculate the parameter value of the parameter to be calculated in the template file.
  • a computer device comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executable by the processor to cause the one or more processors to be implemented
  • the steps of the parameter numerical calculation method provided in any one of the embodiments of the present application.
  • One or more non-volatile storage media storing computer readable instructions, when executed by one or more processors, causing one or more processors to implement the parameters provided in any one embodiment of the present application The steps of the numerical calculation method.
  • 1 is an application environment diagram of a method for calculating a parameter value in one or more embodiments
  • FIG. 2 is a flow chart of a method for calculating a parameter value in one or more embodiments
  • 3 is a flow chart showing the steps of setting a template file in one or more embodiments
  • FIG. 4 is a schematic diagram of a setting interface of a template file in one or more embodiments
  • Figure 5 is a schematic illustration of some of the parameters of a template file in one or more embodiments
  • Figure 6 is a block diagram of a parameter value calculation device in one or more embodiments.
  • Figure 7 is a block diagram of a parameter value calculation device in another embodiment
  • Figure 8 is a block diagram of a parameter value calculation device in still another embodiment
  • FIG. 9 is a block diagram of a terminal in one or more embodiments.
  • the parameter numerical calculation method provided by the embodiment of the present application can be applied to the environment as shown in FIG. 1.
  • the terminal 110 and the server 120 are connected through a network, and the terminal 110 includes, but is not limited to, a mobile phone, a handheld game console, a tablet computer, a personal digital assistant, or a wearable device.
  • the terminal may receive a selection instruction of the business item to be processed, and the selection instruction carries a corresponding item identifier; and obtains a template file corresponding to the item identifier, where the template file includes a parameter name, a calculation formula, and a parameter name of the basic parameter.
  • the template file can be obtained locally from the terminal 110 and can also be obtained from the server 120.
  • the terminal 110 further obtains the parameter value of the basic parameter according to the parameter name of the basic parameter; and writes the parameter value into the associated position in the template file associated with the position of the parameter name of the basic parameter of the basic parameter in the template file; according to the calculation formula and The parameter value is used to calculate the parameter value of the parameter to be calculated in the template file, thereby realizing the calculation of the parameter value.
  • a calculation method of a parameter numerical value calculation method is provided, which can be applied to the terminal shown in FIG. 1 , and specifically includes the following steps:
  • Step S202 receiving a selection instruction of the business item to be processed, and the selection instruction carries a corresponding item identifier.
  • the terminal may display a selection interface of the business item to be processed, and detect a selection instruction triggered by the user to select one or more of the to-be-processed business items.
  • the business project is a portfolio of various financial products or a combination of financial products that require parameter numerical calculation.
  • the business project can be any financial product such as a bill of exchange, stocks, futures, bonds, insurance, and the like.
  • the item identifier is used to uniquely identify the corresponding business item, and can be composed of special characters such as letters, numbers or underscores of the preset number of digits.
  • the terminal may receive a login request of the user, where the login request carries login information such as a login account and a login password.
  • the service item associated with the login account may be obtained from the server.
  • brief information such as a project parameter name, a project number, and a project custodian of each business item can be displayed.
  • Step S204 Obtain a template file corresponding to the item identifier, where the template file includes a parameter name, a calculation formula, and a parameter name of the basic parameter.
  • a plurality of template files may be pre-stored, and a correspondence relationship between each item identifier and one of the template files may be set, thereby setting a corresponding template file for each business item.
  • the template file is a general-purpose file for writing calculation factors for a certain type or classes of business items and calculating parameter values.
  • a template file may correspond to a specific business item, and may also correspond to a plurality of similar business items, so that multiple similar items share the same template file.
  • the template file can be an Excel file, and the convenience of parameter numerical calculation in the template file can be improved by setting an Excel type template file.
  • the basic parameter is that the parameter value in the business item is an existing parameter, including the time class parameter, the interest rate class parameter, and the capital class parameter.
  • the basic parameters include the starting date of the accrual interval, the closing date of the accrual interval, the net asset value at the end of the period, the fixed management fee, the management fee cap, and the accrued performance remuneration. At the end of the period, the total amount should be calculated.
  • the parameter to be calculated refers to the parameter in the business project that needs to calculate the parameter value.
  • the calculation formula is a calculation formula for calculating the parameter value of the parameter to be calculated, and the calculation formula is used to characterize the logical relationship between each parameter to be calculated and one or more basic parameters, and the parameters of the calculation formula and the basic parameter are adopted.
  • the value can be used to calculate the parameter value corresponding to the parameter to be calculated.
  • the basic parameter and the number of parameters to be calculated may include multiple, and the basic parameters and the parameters to be calculated in different business items are not necessarily the same, and the corresponding calculation formulas are not necessarily the same.
  • the same parameter may be a basic parameter in one business project, but a parameter to be calculated in another business project.
  • the template file sets the name of the basic parameter of the corresponding business item, the name of the parameter to be calculated, and the calculation formula. According to the template file, the calculation of the parameter values of the parameters to be calculated of the corresponding business item can be realized without separately designing a calculation system of parameter values for each business item.
  • Step S206 Acquire a parameter value of the basic parameter according to the parameter name of the basic parameter.
  • the terminal directly receives the parameter value input by the user, identifies the parameter name of the basic parameter corresponding to the parameter value, and further sets the parameter value as the parameter value of the basic parameter.
  • the terminal may further query, according to the item identifier, the parameter value of the corresponding basic parameter from the item information of the corresponding business item according to the parameter name of the basic parameter in the selected business item.
  • Step S208 the parameter value is written into the template file at the associated position associated with the position of the parameter name of the basic parameter in the template file.
  • the relationship between the parameter name of each parameter and the position of the parameter value in the template file is set in advance.
  • the relationship between the locations may be a relative positional relationship, that is, the location of the parameter value of each parameter in the template file, and the location of the parameter name in the template file relative to the parameter is fixed.
  • the terminal may receive the parameter value writing instruction, and according to the parameter value writing instruction, obtain the position information of the parameter name of each basic parameter in the template file, and calculate the corresponding according to the association relationship.
  • the parameter value is the associated position in the template file and is written to the associated location.
  • the associated location is an adjacent location of the location of the parameter name corresponding to the base parameter in the template file.
  • the adjacent position may be any one of the front, rear, left, and right positions of the position where the parameter name is located. Specifically, it may be the position of the first cell in the template file to the right of the position where the parameter name is located.
  • Step S210 calculating a parameter value of the parameter to be calculated in the template file according to the calculation formula and the parameter value.
  • the terminal may invoke the logical operation function of the template file itself, identify the basic parameters involved in the calculation, and obtain the parameter values of the corresponding basic parameters, and use the calculation function carried by the template file according to the corresponding calculation.
  • the rule calculates the parameter value corresponding to the parameter to be calculated, and writes the parameter value into the template file, thereby realizing the calculation of the parameter value.
  • the Apache POI method may be invoked, the calculation formula is written into the cell containing the formula, and the sheet page where the template file is located executes the calculation formula to calculate the business. data.
  • POI is the open source library of Apache Software Foundation. POI provides API to Java program to read and write Microsoft Office format files.
  • the parameter numerical value calculation method receives the corresponding item identifier by receiving the selection instruction of the business item to be processed, and obtains a template file corresponding to the item identifier, where the template file includes the parameter name of the parameter to be calculated, Calculate the formula and the parameter name of the basic parameter; obtain the parameter value of the basic parameter; write the parameter value to the associated position of the template file associated with the position of the corresponding parameter name in the template file; and then according to the calculation formula and the parameter value, in the template
  • the parameter values of the parameters to be calculated are calculated in the file.
  • the template file includes the parameter name, the calculation formula and the parameter name of the basic parameter corresponding to the calculation parameter, so that after the parameter value of the basic parameter is obtained,
  • the parameter value of the parameter to be calculated can be calculated in the template file according to the calculation formula of the parameter to be calculated, the calculation of the parameter to be calculated corresponding to the selected business item is realized, and a set of independent setting for each business item is also avoided.
  • the calculation system reduces the workload of the system design and also improves the calculation efficiency of the parameter values of the parameters to be calculated.
  • the method further includes: generating a plan confirmation letter of the business item according to the parameter name of the basic parameter, the parameter value, and the parameter name and the parameter value of the parameter to be calculated.
  • the plan confirmation letter is a file for displaying brief information of a business item to a salesperson, an administrator, or a customer of a business item, and the brief information includes parameter information of the corresponding business item.
  • a template file corresponding to the plan confirmation function may be pre-stored in the terminal, and parameter information that needs to be loaded in the calculation confirmation function for each business item is further set, and the parameter information includes parameter names of one or more of the above basic parameters, The parameter value and the parameter name and parameter value of the parameter to be calculated.
  • the confirmation letter can be a PDF file.
  • the terminal may further receive a generation instruction for the plan confirmation letter, and generate the plan confirmation letter according to the generation instruction.
  • the terminal may provide a generation interface of the plan confirmation letter, and generate a generation confirmation instruction generating instruction by detecting an operation of generating a virtual key on the generation interface, a voice generated by a preset plan confirmation function, or a preset generation gesture.
  • reading the parameter information required for the corresponding business item writing each parameter information to the corresponding position in the plan confirmation letter, and generating a plan confirmation letter including the required parameter information.
  • the terminal may detect whether each parameter of the corresponding business item has a write flag that needs to be written into the plan confirmation function, and write the parameter name and parameter value that the presence of the write mark is detected into the plan confirmation letter.
  • the convenience of information management for the business item can be further improved.
  • step S204 includes: identifying an item category to which the item identifier belongs, and acquiring a template file corresponding to the belonging item category.
  • the item category is further preset, and the item category may include multiple types, such as the above-mentioned bills of exchange, stocks, futures, bonds, insurance, and the like, and each type of financial product may be further subdivided.
  • the item category is the category of the business item that is divided to share a template file.
  • the project category can be distinguished according to the project identifier.
  • the project identifier can identify the project category to which the project belongs, and then obtain the business item for which the parameter numerical calculation is required according to the corresponding relationship between the preset project category and the template file. Template file.
  • the foregoing method further includes: before step S204:
  • Step S302 Receive a parameter write instruction to the template file, where the parameter name including the parameter name of the basic parameter, the parameter name of the parameter to be calculated, and the parameter name of the basic parameter and the parameter name of the parameter to be calculated are set in the template file. Location information.
  • the terminal may further provide a setting interface of the template file, and receive parameter information of each parameter input by the user, and generate a parameter writing instruction when detecting an operation of writing a virtual button to a parameter acting on the interface.
  • the parameter write command contains parameter information of each parameter input by the user.
  • the parameter information includes a parameter name of the basic parameter, a parameter name of the parameter to be calculated, and a parameter name of the basic parameter and a position name of the parameter name of the parameter to be calculated set in the template file.
  • the location information includes the row and column where the parameter name is written to the cell in the template file.
  • FIG. 4 it is a schematic diagram of a setting interface of a template file in one embodiment.
  • the interface provides parameter names including a plurality of basic parameters and parameters to be calculated, and different parameters can be applied to one or several types of business items, so that the convenience of template file creation can be improved.
  • the terminal can receive location information of each parameter input by the user in the template file, such as the row and column in which the user input can be received. Further, an option for whether the parameters listed in the interface is necessary is also provided.
  • the user selects Yes, after receiving the click operation on the “OK” button, the corresponding parameter name is written into the template to be created. In the file, in the cell where the row and column are located.
  • Step S304 the parameter name of the basic parameter and the parameter name of the parameter to be calculated are written into the corresponding position in the template file associated with the item identification.
  • the corresponding location that is, the cell of the row and column that is set, can write the parameter name of the basic parameter and the parameter name of the parameter to be calculated into the template file, and set the corresponding row and column of the cell. .
  • FIG. 5 it is a schematic diagram of some parameters of a template file in one embodiment.
  • the parameter write command can be triggered after detecting a click operation on the "OK" button shown in FIG.
  • the name of the parameter to be written carried in the parameter write instruction is written into the template file. For example, at the corresponding position, write the “starting date of the accrual interval”, “the end date of the accrual interval”, “the net asset value at the end of the period”, “the fixed management fee has been accrued”, “the remuneration for the accrued performance”, and “the end of the period should be calculated”. Total amount”.
  • Step S306 Acquire a calculation formula of the parameter to be calculated associated with the item identifier; write the calculation formula into the template file.
  • the calculation formula may be a calculation formula edited by the user, and may also be a calculation formula included in the item information of the corresponding business item.
  • the terminal may also receive an editing operation of the calculation formula of the user to calculate the parameter, and parse the calculation formula set by the user.
  • the terminal may query whether there is information of the calculation formula in the project information, and if yes, directly obtain the calculation formula of the parameter to be calculated included in the project information.
  • the terminal may further identify a parameter of the calculation formula, where the parameter is a parameter to be calculated, and further load the calculation formula to a corresponding position in the template file.
  • the corresponding position may be an associated position of the position of the parameter name of the parameter to be calculated, such as at an adjacent position where the parameter name is located.
  • the location of the cell in which the calculation formula is written and/or the corresponding parameter to be calculated may be set, and the marker is used to identify the corresponding parameter as the parameter to be calculated.
  • the mark may be a color mark, such as a parameter name of the identified parameter to be calculated or a preset color of the cell mark in which the parameter value is located, so that the basic parameter and the to-be-calculated can be visually distinguished according to the marked color. parameter.
  • writing the calculation formula into the template file includes: converting the calculation formula into a calculation formula recognizable by the template file; and writing the converted calculation formula to a corresponding position in the template file.
  • the terminal may further parse the obtained calculation formula to detect whether the calculation formula is a calculation formula recognizable by the template file, and if not, perform the calculation formula obtained according to the calculation rule defined by the template file.
  • the conversion is converted into a recognizable calculation formula of the template file, and the converted calculation formula is written into the template file.
  • the template file is an Excel file
  • the calculation parameter in the obtained calculation formula is identified by a parameter name, or is identified by a parameter character for indicating the name of the parameter, and the calculation formula can be identified.
  • the original performance remuneration (the net asset value at the end of the period - the net value of the capital in and out according to the benchmark investment) * the proportion of the performance remuneration; or, in which, the parameter character A, B, C, and p represent the original performance remuneration, the net asset value at the end of the period, the capital inflow and out, the net investment value based on the benchmark, and the proportion of performance remuneration.
  • the server can separately obtain the position of the parameter original performance remuneration, the net asset value at the end of the period, the capital inflow and out of the base investment value, and the performance remuneration ratio in the cell of the template file, as shown in FIG. 4, and the calculation can be performed.
  • the convenience of template file creation can be improved, and the convenience of parameter value calculation of the parameters to be calculated of the business item can be improved.
  • a parameter value calculation device including:
  • the instruction receiving module 602 is configured to receive a selection instruction of the business item to be processed, and the selection instruction carries a corresponding item identifier;
  • the template file obtaining module 604 is configured to obtain a template file corresponding to the item identifier, where the template file includes a parameter name, a calculation formula, and a parameter name of the basic parameter.
  • the parameter value writing module 606 is configured to obtain the parameter value of the basic parameter according to the parameter name of the basic parameter; and write the parameter value into the associated position in the template file associated with the position of the parameter name of the basic parameter in the template file;
  • the parameter value calculation module 608 is configured to calculate a parameter value of the parameter to be calculated in the template file according to the calculation formula and the parameter value.
  • another parameter value calculation device including:
  • the plan confirmation function generating module 610 is configured to generate a plan confirmation letter of the business item according to the parameter name of the basic parameter, the parameter value, and the parameter name and the parameter value of the parameter to be calculated.
  • another parameter value calculation device including:
  • the template file setting module 601 is configured to receive a parameter write instruction to the template file, where the parameter write command includes a parameter name of the basic parameter, a parameter name of the parameter to be calculated, and a parameter name of the basic parameter and a parameter name of the parameter to be calculated are Setting position information in the template file; writing the parameter name of the basic parameter and the parameter name of the parameter to be calculated into the corresponding position in the template file associated with the item identification; obtaining a calculation formula of the parameter to be calculated associated with the item identification ; and write the calculation formula into the template file.
  • the template file setting module 601 is further configured to convert the calculation formula into a calculation formula recognizable by the template file; and write the converted calculation formula to a corresponding position in the template file.
  • the template file is an Excel template file
  • the associated location is an adjacent location of the location of the parameter name corresponding to the basic parameter in the template file.
  • Each of the above-described parameter numerical value calculation devices may be implemented in whole or in part by software, hardware, and combinations thereof.
  • the above modules may be embedded in the hardware in the terminal or in the memory in the terminal, or may be stored in the memory in the terminal in a software form, so that the processor calls the execution of the operations corresponding to the above modules.
  • the processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
  • a computer apparatus comprising a memory and one or more processors having stored therein computer readable instructions that, when executed by a processor, implement the steps of a parameter numerical calculation method provided in any one of the embodiments of the present application.
  • the computer device can be the terminal described above.
  • FIG. 9 it is a schematic diagram of the internal structure of the terminal in one embodiment.
  • the terminal includes a processor, a memory, a network interface, and a display connected through a system bus.
  • the processor is used to provide computing and control capabilities to support the operation of the entire terminal.
  • the memory includes a non-volatile storage medium and an internal memory. Non-volatile storage media stores operating systems, databases, and computer readable instructions.
  • the database stores data related to a parameter numerical calculation method provided by the above various embodiments, for example, a corresponding template file, user login data, and project information of a business item may be stored.
  • the computer readable instructions are executable by a processor for implementing a parameter value calculation method provided by the various embodiments above.
  • the internal memory in the terminal provides a cached operating environment for operating systems, databases, and computer readable instructions in a non-volatile storage medium.
  • the network interface can be an Ethernet card or a wireless network card, etc., for network communication with a server or other terminal.
  • the display screen can be a touch screen, such as a capacitive screen or an electronic screen, and a corresponding command can be generated by receiving a click operation of a control applied to the touch screen.
  • FIG. 9 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied.
  • the specific terminal may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
  • One or more non-volatile storage media storing computer readable instructions, when executed by one or more processors, causing one or more processors to implement the parameters provided in any one embodiment of the present application The steps of the numerical calculation method.
  • the computer readable storage medium when executed by the processor, implements the flow of an embodiment of the methods described above.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Educational Administration (AREA)
  • Technology Law (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种参数数值计算方法包括:接收对待处理的业务项目的选取指令,所述选取指令中携带相应的项目标识;获取与所述项目标识对应的模板文件,所述模板文件中包含待计算参数的参数名称、计算公式以及基本参数的参数名称;根据所述基本参数的参数名称获取所述基本参数的参数数值;将所述参数数值写入所述模板文件中与所述基本参数的参数名称在所述模板文件中的位置关联的关联位置处;及根据所述计算公式和参数数值,在模板文件中计算出与所述待计算参数的参数数值。A parameter numerical calculation method includes: receiving a selection instruction of a business item to be processed, the selection instruction carrying a corresponding item identifier; acquiring a template file corresponding to the item identifier, where the template file includes a parameter to be calculated a parameter name, a calculation formula, and a parameter name of the basic parameter; obtaining a parameter value of the basic parameter according to the parameter name of the basic parameter; and writing the parameter value into the template file and the parameter name of the basic parameter The associated location of the location association in the template file; and calculating the parameter value of the parameter to be calculated in the template file according to the calculation formula and the parameter value.

Description

参数数值计算方法、装置、存储介质和计算机设备Parameter numerical calculation method, device, storage medium and computer equipment

相关申请的交叉引用Cross-reference to related applications

本申请要求于2017年07月27日提交中国专利局,申请号为2017106262317,申请名称为“参数数值计算方法、装置、存储介质和计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application entitled "Parameter Value Calculation Method, Apparatus, Storage Medium, and Computer Equipment", filed on July 27, 2017, with the application number of 2017106262317, the entire contents of which are incorporated by reference. Combined in this application.

技术领域Technical field

本申请涉及一种参数数值计算方法、装置、存储介质和计算机设备。The application relates to a parameter numerical calculation method, device, storage medium and computer device.

背景技术Background technique

对于金融产品,比如保险、基金等,产品的种类众多,不同的产品的收益、报酬等参数数值的计算方式也都有一定的差别。难以形成一套通用的计算公式来计算这些产品的收益、管理费等需要计算的参数数值。For financial products, such as insurance, funds, etc., there are many types of products, and the calculation methods of the values such as returns and rewards of different products also have certain differences. It is difficult to form a common calculation formula to calculate the value of the parameters that need to be calculated, such as the revenue and management fees of these products.

因此,传统的参数数值的计算方法,都是针对每种产品,对应设置一套计算系统,以供其单独使用。按照相应的产品来选择对应设置的计算系统,根据该计算系统计算出所需计算的参数数值。然而,发明人意识到,当产品种类越多,且同一产品在不同的时期,其参数数值的计算方式也会有所变化,因此,所需设置的计算系统也越多,工作量也巨大,效率较低。Therefore, the traditional method of calculating the parameter values is for each product, and a set of calculation system is provided for its individual use. According to the corresponding product, the corresponding setting calculation system is selected, and the parameter value of the required calculation is calculated according to the calculation system. However, the inventors realized that the more the product types and the calculation of the parameter values of the same product at different times, the more the calculation system required, the more the workload is. Less efficient.

发明内容Summary of the invention

根据本申请公开的各种实施例,提供一种参数数值计算方法、装置、存储介质和计算机设备。According to various embodiments disclosed herein, a parameter numerical value calculation method, apparatus, storage medium, and computer apparatus are provided.

一种参数数值计算方法包括:接收对待处理的业务项目的选取指令,所述选取指令中携带相应的项目标识;获取与所述项目标识对应的模板文件,所述模板文件中包含待计算参数的参数名称、计算公式以及基本参数的参数 名称;根据所述基本参数的参数名称获取所述基本参数的参数数值;将所述参数数值写入所述模板文件中与所述基本参数的参数名称在所述模板文件中的位置关联的关联位置处;及根据所述计算公式和参数数值,在模板文件中计算出与所述待计算参数的参数数值。A parameter numerical calculation method includes: receiving a selection instruction of a business item to be processed, the selection instruction carrying a corresponding item identifier; acquiring a template file corresponding to the item identifier, where the template file includes a parameter to be calculated a parameter name, a calculation formula, and a parameter name of the basic parameter; obtaining a parameter value of the basic parameter according to the parameter name of the basic parameter; and writing the parameter value into the template file and the parameter name of the basic parameter The associated location of the location association in the template file; and calculating the parameter value of the parameter to be calculated in the template file according to the calculation formula and the parameter value.

一种参数数值计算装置,包括:选取指令接收模块,用于接收对待处理的业务项目的选取指令,所述选取指令中携带相应的项目标识;模板文件获取模块,用于获取与所述项目标识对应的模板文件,所述模板文件中包含待计算参数的参数名称、计算公式以及基本参数的参数名称;参数数值写入模块,用于根据所述基本参数的参数名称获取所述基本参数的参数数值;将所述参数数值写入所述模板文件中与所述基本参数的参数名称在所述模板文件中的位置关联的关联位置处;及参数数值计算模块,用于根据所述计算公式和参数数值,在模板文件中计算出与所述待计算参数的参数数值。A parameter value calculation device includes: a selection instruction receiving module, configured to receive a selection instruction of a business item to be processed, the selection instruction carrying a corresponding item identifier; and a template file obtaining module, configured to acquire the item identifier Corresponding template file, the template file includes a parameter name of the parameter to be calculated, a calculation formula, and a parameter name of the basic parameter; the parameter value writing module is configured to acquire the parameter of the basic parameter according to the parameter name of the basic parameter a value; writing the parameter value to an associated position in the template file associated with a location of the parameter name of the basic parameter in the template file; and a parameter numerical calculation module for using the calculation formula and The parameter value is used to calculate the parameter value of the parameter to be calculated in the template file.

一种计算机设备,包括存储器和一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器实现本申请任意一个实施例中提供的参数数值计算方法的步骤。A computer device comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executable by the processor to cause the one or more processors to be implemented The steps of the parameter numerical calculation method provided in any one of the embodiments of the present application.

一个或多个存储有计算机可读指令的非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的参数数值计算方法的步骤。One or more non-volatile storage media storing computer readable instructions, when executed by one or more processors, causing one or more processors to implement the parameters provided in any one embodiment of the present application The steps of the numerical calculation method.

本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。Details of one or more embodiments of the present application are set forth in the accompanying drawings and description below. Other features and advantages of the present invention will be apparent from the description, drawings and claims.

附图说明DRAWINGS

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only some embodiments of the present application, Those skilled in the art can also obtain other drawings based on these drawings without any creative work.

图1为一个或多个实施例中参数数值计算方法的应用环境图;1 is an application environment diagram of a method for calculating a parameter value in one or more embodiments;

图2为一个或多个实施例中参数数值计算方法的流程图;2 is a flow chart of a method for calculating a parameter value in one or more embodiments;

图3为一个或多个实施例中对模板文件的设置的步骤的流程图;3 is a flow chart showing the steps of setting a template file in one or more embodiments;

图4为一个或多个实施例中模板文件的设置界面的示意图;4 is a schematic diagram of a setting interface of a template file in one or more embodiments;

图5为一个或多个实施例中模板文件的部分参数的示意图;Figure 5 is a schematic illustration of some of the parameters of a template file in one or more embodiments;

图6为一个或多个实施例中参数数值计算装置的框图;Figure 6 is a block diagram of a parameter value calculation device in one or more embodiments;

图7为另一个实施例中参数数值计算装置的框图;Figure 7 is a block diagram of a parameter value calculation device in another embodiment;

图8为又一个实施例中参数数值计算装置的框图;Figure 8 is a block diagram of a parameter value calculation device in still another embodiment;

图9为一个或多个实施例中终端的框图。9 is a block diagram of a terminal in one or more embodiments.

具体实施方式Detailed ways

为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.

本申请实施例所提供的参数数值计算方法可应用于如图1所示的环境中。参考图1所示,终端110与服务器120通过网络连接,终端110包括但不限于手机、掌上游戏机、平板电脑、个人数字助理或穿戴设备等任意一种。终端可接收对待处理的业务项目的选取指令,选取指令中携带相应的项目标识;获取与项目标识对应的模板文件,模板文件中包含待计算参数的参数名称、计算公式以及基本参数的参数名称。该模板文件可从终端110本地获取,还可为从服务器120上获取。终端110还进一步根据基本参数的参数名称获取基本参数的参数数值;将参数数值写入模板文件中与基本参数的基本参数的参数名称在模板文件中的位置关联的关联位置处;根据计算公式和参数数值,在模板文件中计算出与待计算参数的参数数值,从而实现了对参数数值的计算。The parameter numerical calculation method provided by the embodiment of the present application can be applied to the environment as shown in FIG. 1. Referring to FIG. 1, the terminal 110 and the server 120 are connected through a network, and the terminal 110 includes, but is not limited to, a mobile phone, a handheld game console, a tablet computer, a personal digital assistant, or a wearable device. The terminal may receive a selection instruction of the business item to be processed, and the selection instruction carries a corresponding item identifier; and obtains a template file corresponding to the item identifier, where the template file includes a parameter name, a calculation formula, and a parameter name of the basic parameter. The template file can be obtained locally from the terminal 110 and can also be obtained from the server 120. The terminal 110 further obtains the parameter value of the basic parameter according to the parameter name of the basic parameter; and writes the parameter value into the associated position in the template file associated with the position of the parameter name of the basic parameter of the basic parameter in the template file; according to the calculation formula and The parameter value is used to calculate the parameter value of the parameter to be calculated in the template file, thereby realizing the calculation of the parameter value.

在其中一个实施例中,如图2所示,提供了一种参数数值计算方法的计算方法,该方法可应用于如图1所示的终端中,具体包括如下步骤:In one embodiment, as shown in FIG. 2, a calculation method of a parameter numerical value calculation method is provided, which can be applied to the terminal shown in FIG. 1 , and specifically includes the following steps:

步骤S202,接收对待处理的业务项目的选取指令,选取指令中携带相应的项目标识。Step S202, receiving a selection instruction of the business item to be processed, and the selection instruction carries a corresponding item identifier.

本实施例中,终端可展示待处理的业务项目的选取界面,并侦测用户对其中的一个或多个待处理的业务项目的选取操作而触发的选取指令。该业务项目为需要进行参数数值计算的各种金融产品,或者多个金融产品所组合成的投资组合。举例来说,该业务项目可为某种汇票、股票、期货、债券、保险等任意的金融产品。项目标识用于唯一标识对应业务项目,可由预设位数的字母、数字或下划线等特殊字符所构成。In this embodiment, the terminal may display a selection interface of the business item to be processed, and detect a selection instruction triggered by the user to select one or more of the to-be-processed business items. The business project is a portfolio of various financial products or a combination of financial products that require parameter numerical calculation. For example, the business project can be any financial product such as a bill of exchange, stocks, futures, bonds, insurance, and the like. The item identifier is used to uniquely identify the corresponding business item, and can be composed of special characters such as letters, numbers or underscores of the preset number of digits.

在其中一个实施例中,终端上可接收用户的登录请求,该登录请求中携带登录账号以及登录密码等登录信息,在验证登录成功后,可从服务器上获取与该登录账号相关联的业务项目,并在选取界面上展示所获取的待处理的业务项目,使得每个用户可对应处理其所负责的业务项目。具体地,可展示每个业务项目的项目参数名称、项目编号、项目托管人等简要信息。In one embodiment, the terminal may receive a login request of the user, where the login request carries login information such as a login account and a login password. After the login is successful, the service item associated with the login account may be obtained from the server. And displaying the acquired business items to be processed on the selection interface, so that each user can correspondingly handle the business items that he is responsible for. Specifically, brief information such as a project parameter name, a project number, and a project custodian of each business item can be displayed.

步骤S204,获取与项目标识对应的模板文件,模板文件中包含待计算参数的参数名称、计算公式以及基本参数的参数名称。Step S204: Obtain a template file corresponding to the item identifier, where the template file includes a parameter name, a calculation formula, and a parameter name of the basic parameter.

本实施例中,可预先存储了多个模板文件,并设置了每个项目标识与其中一个模板文件的对应关系,从而为每个业务项目设置对应的模板文件。该模板文件为用于写入某一类或多类业务项目的计算因子以及计算参数数值的通用文件。具体的,一个模板文件可对应于一个特定的业务项目,还可对应于多个相似的业务项目,使得多个相似的项目共用同一个模板文件。在其中一个实施例中,模板文件可为一个Excel文件,通过设置Excel类型的模板文件,可提高在模板文件中进行参数数值计算的便利性。In this embodiment, a plurality of template files may be pre-stored, and a correspondence relationship between each item identifier and one of the template files may be set, thereby setting a corresponding template file for each business item. The template file is a general-purpose file for writing calculation factors for a certain type or classes of business items and calculating parameter values. Specifically, a template file may correspond to a specific business item, and may also correspond to a plurality of similar business items, so that multiple similar items share the same template file. In one embodiment, the template file can be an Excel file, and the convenience of parameter numerical calculation in the template file can be improved by setting an Excel type template file.

基本参数为业务项目中的参数数值为已有的参数,包括时间类的参数、利率类的参数以及资金类的参数等。比如,针对某一基金或期货类的业务项目,其基本参数包括计提区间起始日、计提区间截止日、期末资产净值、已计提固定管理费、管理费上限、应计提业绩报酬、期末应计算金额合计等。待计算参数是指业务项目中需要计算出参数数值的参数。计算公式为用于计 算出待计算参数的参数数值的计算公式,该计算公式用于表征每个待计算参数和一个或多个基本参数之间的逻辑关系,通过该计算公式和基本参数的参数数值,可计算出对应待计算参数的参数数值。The basic parameter is that the parameter value in the business item is an existing parameter, including the time class parameter, the interest rate class parameter, and the capital class parameter. For example, for a fund or futures business, the basic parameters include the starting date of the accrual interval, the closing date of the accrual interval, the net asset value at the end of the period, the fixed management fee, the management fee cap, and the accrued performance remuneration. At the end of the period, the total amount should be calculated. The parameter to be calculated refers to the parameter in the business project that needs to calculate the parameter value. The calculation formula is a calculation formula for calculating the parameter value of the parameter to be calculated, and the calculation formula is used to characterize the logical relationship between each parameter to be calculated and one or more basic parameters, and the parameters of the calculation formula and the basic parameter are adopted. The value can be used to calculate the parameter value corresponding to the parameter to be calculated.

可以理解的,该基本参数和待计算参数的数量可包括多个,不同的业务项目中的基本参数和待计算参数不一定相同,相应的计算公式也不一定相同。相同的参数可能在某一业务项目中为基本参数,但在另一业务项目中则为待计算参数。It can be understood that the basic parameter and the number of parameters to be calculated may include multiple, and the basic parameters and the parameters to be calculated in different business items are not necessarily the same, and the corresponding calculation formulas are not necessarily the same. The same parameter may be a basic parameter in one business project, but a parameter to be calculated in another business project.

通过为每个项业务项目设置对应的模板文件,该模板文件中设置了对应的业务项目的基本参数的名称、待计算参数的名称以及计算公式。使得根据该模板文件即可实现对相应业务项目的待计算参数的参数数值的计算,而无需针对每种业务项目来独立设计一套参数数值的计算系统。By setting a corresponding template file for each item of the business item, the template file sets the name of the basic parameter of the corresponding business item, the name of the parameter to be calculated, and the calculation formula. According to the template file, the calculation of the parameter values of the parameters to be calculated of the corresponding business item can be realized without separately designing a calculation system of parameter values for each business item.

步骤S206,根据基本参数的参数名称获取基本参数的参数数值。Step S206: Acquire a parameter value of the basic parameter according to the parameter name of the basic parameter.

本实施例中,终端可直接接收用户输入的参数数值,识别该参数数值对应的基本参数的参数名称,进而将该参数数值设置为该基本参数的参数数值。或者终端还可根据该项目标识,按照选取的业务项目中的基本参数的参数名称,从对应业务项目的项目信息中查询出对应基本参数的参数数值。In this embodiment, the terminal directly receives the parameter value input by the user, identifies the parameter name of the basic parameter corresponding to the parameter value, and further sets the parameter value as the parameter value of the basic parameter. Alternatively, the terminal may further query, according to the item identifier, the parameter value of the corresponding basic parameter from the item information of the corresponding business item according to the parameter name of the basic parameter in the selected business item.

步骤S208,将参数数值写入模板文件中与基本参数的参数名称在模板文件中的位置关联的关联位置处。Step S208, the parameter value is written into the template file at the associated position associated with the position of the parameter name of the basic parameter in the template file.

本实施例中,预先设置了每个参数的参数名称和参数数值在模板文件中的位置的关联关系。具体地,该位置之间的关联关系可为相对位置关系,即每个参数的参数数值在模板文件中的位置,相对于该参数的参数名称在模板文件中的位置是固定的。在其中一个实施例中,终端可接收参数数值写入指令,根据该参数数值写入指令,获取每个基本参数的参数名称处于该模板文件中的位置信息,并按照该关联关系,计算出对应的参数数值在该模板文件中的关联位置,并写入该关联位置。通过这种位置之间的关联关系,在确定了参数名称的位置后,可确定相应的参数数值在模板文件中的位置,即上述的关联位置。In this embodiment, the relationship between the parameter name of each parameter and the position of the parameter value in the template file is set in advance. Specifically, the relationship between the locations may be a relative positional relationship, that is, the location of the parameter value of each parameter in the template file, and the location of the parameter name in the template file relative to the parameter is fixed. In one embodiment, the terminal may receive the parameter value writing instruction, and according to the parameter value writing instruction, obtain the position information of the parameter name of each basic parameter in the template file, and calculate the corresponding according to the association relationship. The parameter value is the associated position in the template file and is written to the associated location. Through the relationship between the positions, after the position of the parameter name is determined, the position of the corresponding parameter value in the template file, that is, the above-mentioned associated position, can be determined.

在其中一个实施例中,该关联位置为对应基本参数的参数名称在模板文件中的位置的相邻位置。其中,相邻位置可为参数名称所在位置的前后左右中的任一位置,具体地,可为模板文件中,参数名称所在位置之右的第一个单元格的位置。In one of the embodiments, the associated location is an adjacent location of the location of the parameter name corresponding to the base parameter in the template file. The adjacent position may be any one of the front, rear, left, and right positions of the position where the parameter name is located. Specifically, it may be the position of the first cell in the template file to the right of the position where the parameter name is located.

步骤S210,根据计算公式和参数数值,在模板文件中计算出与待计算参数的参数数值。Step S210, calculating a parameter value of the parameter to be calculated in the template file according to the calculation formula and the parameter value.

本实施例中,终端可调用模板文件自身的逻辑运算功能,识别其中所涉及的基本参数以及计算规则,获取相应基本参数的参数数值,并利用该模板文件自身携带的计算功能,按照对应的计算规则,计算出对应待计算参数的参数数值,将该参数数值写入该模板文件中,实现了对参数数值的计算。In this embodiment, the terminal may invoke the logical operation function of the template file itself, identify the basic parameters involved in the calculation, and obtain the parameter values of the corresponding basic parameters, and use the calculation function carried by the template file according to the corresponding calculation. The rule calculates the parameter value corresponding to the parameter to be calculated, and writes the parameter value into the template file, thereby realizing the calculation of the parameter value.

在其中一个实施例中,当该模板文件为Excel文件时,可调用Apache POI的方法,将计算公式写入含公式的单元格,让该模板文件所在的sheet页执行该计算公式,计算出业务数据。其中,POI是Apache软件基金会的开放源码函式库,POI提供API给Java程序对Microsoft Office格式档案读和写的功能。In one embodiment, when the template file is an Excel file, the Apache POI method may be invoked, the calculation formula is written into the cell containing the formula, and the sheet page where the template file is located executes the calculation formula to calculate the business. data. Among them, POI is the open source library of Apache Software Foundation. POI provides API to Java program to read and write Microsoft Office format files.

本实施例提供的参数数值计算方法,通过接收对待处理的业务项目的选取指令,选取指令中携带相应的项目标识;获取与项目标识对应的模板文件,模板文件中包含待计算参数的参数名称、计算公式以及基本参数的参数名称;获取基本参数的参数数值;将参数数值写入模板文件中与对应参数名称在模板文件中的位置关联的关联位置处;再根据计算公式和参数数值,在模板文件中计算出与待计算参数的参数数值。由于为每种业务项目设置了对应的模板文件,该模板文件中包含了对应的该计算参数的参数名称、计算公式以及基本参数的参数名称,从而可在获取了基本参数的参数数值后,则可按照待计算参数的计算公式在模板文件中计算出该待计算参数的参数数值,实现了对所选的业务项目对应的待计算参数的计算,也避免了针对每种业务项目独立设置一套计算系统,降低了系统设计的工作量,也提高了对待计算参数的参数数值的计算效率。The parameter numerical value calculation method provided by the embodiment receives the corresponding item identifier by receiving the selection instruction of the business item to be processed, and obtains a template file corresponding to the item identifier, where the template file includes the parameter name of the parameter to be calculated, Calculate the formula and the parameter name of the basic parameter; obtain the parameter value of the basic parameter; write the parameter value to the associated position of the template file associated with the position of the corresponding parameter name in the template file; and then according to the calculation formula and the parameter value, in the template The parameter values of the parameters to be calculated are calculated in the file. Since the corresponding template file is set for each business item, the template file includes the parameter name, the calculation formula and the parameter name of the basic parameter corresponding to the calculation parameter, so that after the parameter value of the basic parameter is obtained, The parameter value of the parameter to be calculated can be calculated in the template file according to the calculation formula of the parameter to be calculated, the calculation of the parameter to be calculated corresponding to the selected business item is realized, and a set of independent setting for each business item is also avoided. The calculation system reduces the workload of the system design and also improves the calculation efficiency of the parameter values of the parameters to be calculated.

在其中一个实施例中,在步骤S210之后,还包括:根据基本参数的参数 名称、参数数值以及待计算参数的参数名称、参数数值生成业务项目的计划确认函。In one embodiment, after step S210, the method further includes: generating a plan confirmation letter of the business item according to the parameter name of the basic parameter, the parameter value, and the parameter name and the parameter value of the parameter to be calculated.

本实施例中,计划确认函是用于向业务项目的业务员、管理员或者客户等相关人员进行业务项目的简要信息展示的文件,该简要信息包含对应业务项目的参数信息。终端中可预先存储了对应计划确认函的模板文件,并进一步设置了每种业务项目在计算确认函中所需加载的参数信息,该参数信息包括一个或多个上述的基本参数的参数名称、参数数值以及待计算参数的参数名称和参数数值。具体地,该确认函可为PDF文件。In this embodiment, the plan confirmation letter is a file for displaying brief information of a business item to a salesperson, an administrator, or a customer of a business item, and the brief information includes parameter information of the corresponding business item. A template file corresponding to the plan confirmation function may be pre-stored in the terminal, and parameter information that needs to be loaded in the calculation confirmation function for each business item is further set, and the parameter information includes parameter names of one or more of the above basic parameters, The parameter value and the parameter name and parameter value of the parameter to be calculated. Specifically, the confirmation letter can be a PDF file.

在其中一个实施例中,终端还可接收对计划确认函的生成指令,根据该生成指令来生成该计划确认函。终端可提供计划确认函的生成界面,通过检测作用于该生成界面上的生成虚拟按键的操作、预设的计划确认函生成的语音或预设的生成手势等生成计划确认函的生成指令。并根据该生成指令,读取对应业务项目所需的参数信息,将每个参数信息写入该计划确认函中的相应位置处,生成包含所需的参数信息的计划确认函。具体地,可针对每种业务项目的每个参数,设置该参数是否需要写入计划确认函的写入标记。终端可检测对应业务项目的每个参数是否存在需要写入计划确认函的写入标记,将检测到存在该写入标记的参数名称和参数数值写入该计划确认函。In one of the embodiments, the terminal may further receive a generation instruction for the plan confirmation letter, and generate the plan confirmation letter according to the generation instruction. The terminal may provide a generation interface of the plan confirmation letter, and generate a generation confirmation instruction generating instruction by detecting an operation of generating a virtual key on the generation interface, a voice generated by a preset plan confirmation function, or a preset generation gesture. And according to the generation instruction, reading the parameter information required for the corresponding business item, writing each parameter information to the corresponding position in the plan confirmation letter, and generating a plan confirmation letter including the required parameter information. Specifically, it is possible to set whether the parameter needs to be written to the write flag of the plan confirmation for each parameter of each business item. The terminal may detect whether each parameter of the corresponding business item has a write flag that needs to be written into the plan confirmation function, and write the parameter name and parameter value that the presence of the write mark is detected into the plan confirmation letter.

本实施例中,通过进一步生成计划确认函,可进一步提高对业务项目的信息管理的便利性。In the present embodiment, by further generating the plan confirmation letter, the convenience of information management for the business item can be further improved.

在其中一个实施例中,步骤S204包括:识别该项目标识所属的项目类别,获取与所属的项目类别所对应的模板文件。In one embodiment, step S204 includes: identifying an item category to which the item identifier belongs, and acquiring a template file corresponding to the belonging item category.

本实施例中,还进一步预设了项目类别,项目类别可包括多个,如上述的汇票、股票、期货、债券、保险等几大类型的金融产品,每种类型的金融产品可进一步细分成多种业务项目。该项目类别为被划分的可共用一个模板文件的业务项目的类别。项目类别可根据该项目标识进行区分,通过该项目标识可识别出该项目所属的项目类别,进而根据预设的项目类别与模板文件的对应关系,获取该所需进行参数数值计算的业务项目的模板文件。In this embodiment, the item category is further preset, and the item category may include multiple types, such as the above-mentioned bills of exchange, stocks, futures, bonds, insurance, and the like, and each type of financial product may be further subdivided. Into a variety of business projects. The item category is the category of the business item that is divided to share a template file. The project category can be distinguished according to the project identifier. The project identifier can identify the project category to which the project belongs, and then obtain the business item for which the parameter numerical calculation is required according to the corresponding relationship between the preset project category and the template file. Template file.

在其中一个实施例中,如图3所示,上述方法在步骤S204之前还包括:In one embodiment, as shown in FIG. 3, the foregoing method further includes: before step S204:

步骤S302,接收对模板文件的参数写入指令,参数写入指令中包括基本参数的参数名称、待计算参数的参数名称以及基本参数的参数名称和待计算参数的参数名称被设置在模板文件中的位置信息。Step S302: Receive a parameter write instruction to the template file, where the parameter name including the parameter name of the basic parameter, the parameter name of the parameter to be calculated, and the parameter name of the basic parameter and the parameter name of the parameter to be calculated are set in the template file. Location information.

本实施例中,终端可进一步提供模板文件的设置界面,并接收用户输入的每个参数的参数信息,在检测到作用于该界面上的参数写入虚拟按键的操作时,生成参数写入指令,该参数写入指令中包含用户所输入的每个参数的参数信息。具体地,该参数信息包括基本参数的参数名称、待计算参数的参数名称以及基本参数的参数名称和待计算参数的参数名称被设置在模板文件中的位置信息。其中,位置信息包括该参数名称被写入模板文件中的单元格所在的行和列。In this embodiment, the terminal may further provide a setting interface of the template file, and receive parameter information of each parameter input by the user, and generate a parameter writing instruction when detecting an operation of writing a virtual button to a parameter acting on the interface. The parameter write command contains parameter information of each parameter input by the user. Specifically, the parameter information includes a parameter name of the basic parameter, a parameter name of the parameter to be calculated, and a parameter name of the basic parameter and a position name of the parameter name of the parameter to be calculated set in the template file. The location information includes the row and column where the parameter name is written to the cell in the template file.

举例来说,如图4所示,为一个实施例中的模板文件的设置界面的示意图。该界面中提供了包含了多个基本参数和待计算参数的参数名称,不同的参数可适用于一种或几种类型的业务项目,使得可提高了模板文件制作的便利性。终端可接收用户输入的每个参数名称处于模板文件中的单元格的位置信息,如可接收用户输入的所处行和列。进一步地,还提供对界面所列参数是否为必须的选项,当用户选择为是时,则在接收到对该“确定”按钮的点击操作后,将该对应的参数名称写入待创建的模板文件中,所在行和列的位置上的单元格中。For example, as shown in FIG. 4, it is a schematic diagram of a setting interface of a template file in one embodiment. The interface provides parameter names including a plurality of basic parameters and parameters to be calculated, and different parameters can be applied to one or several types of business items, so that the convenience of template file creation can be improved. The terminal can receive location information of each parameter input by the user in the template file, such as the row and column in which the user input can be received. Further, an option for whether the parameters listed in the interface is necessary is also provided. When the user selects Yes, after receiving the click operation on the “OK” button, the corresponding parameter name is written into the template to be created. In the file, in the cell where the row and column are located.

步骤S304,将基本参数的参数名称和待计算参数的参数名称写入与项目标识相关联的模板文件中的对应位置。Step S304, the parameter name of the basic parameter and the parameter name of the parameter to be calculated are written into the corresponding position in the template file associated with the item identification.

具体地,该对应位置即所设置的所在行和列的单元格,可将该基本参数的参数名称和待计算参数的参数名称写入模板文件中,所设置的对应行和列的单元格中。Specifically, the corresponding location, that is, the cell of the row and column that is set, can write the parameter name of the basic parameter and the parameter name of the parameter to be calculated into the template file, and set the corresponding row and column of the cell. .

如图5所示,为一个实施例中模板文件的部分参数的示意图。可在侦测到对图4所示的“确定”按钮的点击操作后,触发参数写入指令。并将该参数写入指令中所携带的待写入的参数名称写入模板文件中。如在对应位置处 写入“计提区间起始日”、“计提区间截止日”、“期末资产净值”、“已计提固定管理费”、“计提业绩报酬”、“期末应计算金额合计”。As shown in FIG. 5, it is a schematic diagram of some parameters of a template file in one embodiment. The parameter write command can be triggered after detecting a click operation on the "OK" button shown in FIG. The name of the parameter to be written carried in the parameter write instruction is written into the template file. For example, at the corresponding position, write the “starting date of the accrual interval”, “the end date of the accrual interval”, “the net asset value at the end of the period”, “the fixed management fee has been accrued”, “the remuneration for the accrued performance”, and “the end of the period should be calculated”. Total amount".

步骤S306,获取与项目标识相关联的待计算参数的计算公式;将计算公式写入模板文件中。Step S306: Acquire a calculation formula of the parameter to be calculated associated with the item identifier; write the calculation formula into the template file.

具体地,该计算公式可为用户所编辑的计算公式,还可为对应业务项目的项目信息中所包含的计算公式。当为用户编辑的计算公式时,终端还可接收用户对待计算参数的计算公式的编辑操作,并解析用户所设置的计算公式。当为项目信息中所包含的计算公式时,终端可在项目信息中查询是否存在计算公式的信息,若存在,则可直接获取项目信息中所包含的该待计算参数的计算公式。终端可进一步识别该计算公式的参数,该参数即为待计算参数,并进一步将该计算公式加载至模板文件中的对应位置。该对应位置可为与待计算参数的参数名称所在位置的关联位置,如写在该参数名称所在位置的相邻位置处。Specifically, the calculation formula may be a calculation formula edited by the user, and may also be a calculation formula included in the item information of the corresponding business item. When the calculation formula is edited for the user, the terminal may also receive an editing operation of the calculation formula of the user to calculate the parameter, and parse the calculation formula set by the user. When the calculation formula is included in the project information, the terminal may query whether there is information of the calculation formula in the project information, and if yes, directly obtain the calculation formula of the parameter to be calculated included in the project information. The terminal may further identify a parameter of the calculation formula, where the parameter is a parameter to be calculated, and further load the calculation formula to a corresponding position in the template file. The corresponding position may be an associated position of the position of the parameter name of the parameter to be calculated, such as at an adjacent position where the parameter name is located.

在其中一个实施例中,可将被写入了计算公式的单元格和/或对应的待计算参数所在的位置设置标记,该标记用于标识出对应参数为待计算参数。具体地,该标记可为颜色标记,如将所识别出的待计算参数的参数名称或参数数值所在的单元格标记预设的颜色,使得可根据所标记的颜色直观区分出基本参数和待计算参数。In one of the embodiments, the location of the cell in which the calculation formula is written and/or the corresponding parameter to be calculated may be set, and the marker is used to identify the corresponding parameter as the parameter to be calculated. Specifically, the mark may be a color mark, such as a parameter name of the identified parameter to be calculated or a preset color of the cell mark in which the parameter value is located, so that the basic parameter and the to-be-calculated can be visually distinguished according to the marked color. parameter.

在其中一个实施例中,将计算公式写入模板文件中包括:将计算公式转换为模板文件可识别的计算公式;将转换后的计算公式写入模板文件中的对应位置。In one embodiment, writing the calculation formula into the template file includes: converting the calculation formula into a calculation formula recognizable by the template file; and writing the converted calculation formula to a corresponding position in the template file.

本实施例中,终端可进一步对所获取的计算公式进行解析,检测该计算公式是否为模板文件可识别的计算公式,若否,则按照模板文件所定义的计算规则对所获取的计算公式进行转化,以转化成该模板文件可识别的计算公式,将转换后的计算公式写入模板文件中。In this embodiment, the terminal may further parse the obtained calculation formula to detect whether the calculation formula is a calculation formula recognizable by the template file, and if not, perform the calculation formula obtained according to the calculation rule defined by the template file. The conversion is converted into a recognizable calculation formula of the template file, and the converted calculation formula is written into the template file.

举例来说,该模板文件为Excel文件,所获取的计算公式中计算参数是以参数名称来标识的,或者为用于表示该参数名称的参数字符所标识的,则 可识别出该计算公式中的待计算参数和/或基本参数的参数字符或参数名称所表示的参数后,计算出为该参数的参数数值所设置的位置信息,并以该位置信息替代该参数字符或者参数名称,并将该计算公式所表示的计算逻辑转换成Excel文件所能识别的计算逻辑,将转换后的计算公式写入该计算公式所对应的待计算参数的参数数值所在的单元格中,使得在该Excel在读取到计算公式所涉及的基本参数的数值后,按照该计算逻辑直接计算出待计算参数的参数数值。For example, the template file is an Excel file, and the calculation parameter in the obtained calculation formula is identified by a parameter name, or is identified by a parameter character for indicating the name of the parameter, and the calculation formula can be identified. After the parameter to be calculated and/or the parameter character of the basic parameter or the parameter represented by the parameter name, calculate the position information set for the parameter value of the parameter, and replace the parameter character or parameter name with the position information, and The calculation logic represented by the calculation formula is converted into calculation logic that can be recognized by the Excel file, and the converted calculation formula is written into the cell in which the parameter value of the parameter to be calculated corresponding to the calculation formula is located, so that the Excel is in the Excel After reading the value of the basic parameter involved in the calculation formula, the parameter value of the parameter to be calculated is directly calculated according to the calculation logic.

如针对某一业务项目,存在待计算参数原始业绩报酬的计算公式:原始业绩报酬=(期末资产净值-资金进出按基准投资净值)*业绩报酬计提比例;或者为,其中,参数字符A、B、C以及p分别表示原始业绩报酬、期末资产净值、资金进出按基准投资净值以及业绩报酬计提比例。则服务器可分别获取参数原始业绩报酬、期末资产净值、资金进出按基准投资净值以及业绩报酬计提比例的参数数值在模板文件的单元格中的位置,如图4所示,并可将该计算公式转换成“=(D5-F5)*D10”,并写入参数原始业绩报酬的参数数值所在的位置处,从而实现了将转换后的计算公式写入模板文件中,使得在获取到上述的期末资产净值、资金进出按基准投资净值以及业绩报酬计提比例的参数数值后,直接可利用该Excel文件自身的计算功能,计算出参数原始业绩报酬的参数数值。For example, for a certain business project, there is a calculation formula for the original performance remuneration of the parameters to be calculated: the original performance remuneration = (the net asset value at the end of the period - the net value of the capital in and out according to the benchmark investment) * the proportion of the performance remuneration; or, in which, the parameter character A, B, C, and p represent the original performance remuneration, the net asset value at the end of the period, the capital inflow and out, the net investment value based on the benchmark, and the proportion of performance remuneration. Then, the server can separately obtain the position of the parameter original performance remuneration, the net asset value at the end of the period, the capital inflow and out of the base investment value, and the performance remuneration ratio in the cell of the template file, as shown in FIG. 4, and the calculation can be performed. The formula is converted into "=(D5-F5)*D10", and is written at the position where the parameter value of the original performance reward of the parameter is located, thereby realizing that the converted calculation formula is written into the template file, so that the above-mentioned After the end of the net asset value, the capital in and out according to the benchmark investment net value and the performance of the proportion of the proportion of the parameter value, you can directly use the Excel file's own calculation function to calculate the parameter value of the original performance reward parameter.

在其中一个实施例中,可检测是否存在已经设置的与该项目标识相关联的模板文件,若是,则将该参数信息写入已存在的模板文件中,否则,可创建一个新的模板文件,并建立该模板文件与项目标识的关联关系,将该参数信息写入所创建的模板文件中。In one embodiment, it may be detected whether there is a template file associated with the item identifier that has been set, and if so, the parameter information is written into the existing template file; otherwise, a new template file may be created. And establishing an association relationship between the template file and the project identifier, and writing the parameter information into the created template file.

本实施例中,通过上述的步骤,可提高了模板文件制作的便利性,进而可提高对业务项目的待计算参数的参数数值计算的便利性。In this embodiment, by the above steps, the convenience of template file creation can be improved, and the convenience of parameter value calculation of the parameters to be calculated of the business item can be improved.

应该理解的是,虽然图2-3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其 它的顺序执行。而且,图2-3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of FIGS. 2-3 are sequentially displayed as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Except as expressly set forth herein, there is no strict ordering of the execution of these steps, which can be performed in other sequences. Moreover, at least some of the steps in Figures 2-3 may include a plurality of sub-steps or stages, which are not necessarily performed at the same time, but may be performed at different times, these sub-steps or stages The order of execution is not necessarily performed sequentially, but may be performed alternately or alternately with at least a portion of other steps or sub-steps or stages of other steps.

在其中一个实施例中,如图6所示,提供了一种参数数值计算装置,包括:In one embodiment, as shown in FIG. 6, a parameter value calculation device is provided, including:

选取指令接收模块602,用于接收对待处理的业务项目的选取指令,选取指令中携带相应的项目标识;The instruction receiving module 602 is configured to receive a selection instruction of the business item to be processed, and the selection instruction carries a corresponding item identifier;

模板文件获取模块604,用于获取与项目标识对应的模板文件,模板文件中包含待计算参数的参数名称、计算公式以及基本参数的参数名称;The template file obtaining module 604 is configured to obtain a template file corresponding to the item identifier, where the template file includes a parameter name, a calculation formula, and a parameter name of the basic parameter.

参数数值写入模块606,用于根据基本参数的参数名称获取基本参数的参数数值;将参数数值写入模板文件中与基本参数的参数名称在模板文件中的位置关联的关联位置处;及The parameter value writing module 606 is configured to obtain the parameter value of the basic parameter according to the parameter name of the basic parameter; and write the parameter value into the associated position in the template file associated with the position of the parameter name of the basic parameter in the template file;

参数数值计算模块608,用于根据计算公式和参数数值,在模板文件中计算出与待计算参数的参数数值。The parameter value calculation module 608 is configured to calculate a parameter value of the parameter to be calculated in the template file according to the calculation formula and the parameter value.

在其中一个实施例中,如图7所示,提供了另一种参数数值计算装置,包括:In one embodiment, as shown in FIG. 7, another parameter value calculation device is provided, including:

计划确认函生成模块610,用于根据基本参数的参数名称、参数数值以及待计算参数的参数名称、参数数值生成业务项目的计划确认函。The plan confirmation function generating module 610 is configured to generate a plan confirmation letter of the business item according to the parameter name of the basic parameter, the parameter value, and the parameter name and the parameter value of the parameter to be calculated.

在其中一个实施例中,如图8所示,提供了又一种参数数值计算装置,包括:In one embodiment, as shown in FIG. 8, another parameter value calculation device is provided, including:

模板文件设置模块601,用于接收对模板文件的参数写入指令,参数写入指令中包括基本参数的参数名称、待计算参数的参数名称以及基本参数的参数名称和待计算参数的参数名称被设置在模板文件中的位置信息;将基本参数的参数名称和待计算参数的参数名称写入与项目标识相关联的模板文件中的对应位置;获取与项目标识相关联的待计算参数的计算公式;及将计算 公式写入模板文件中。The template file setting module 601 is configured to receive a parameter write instruction to the template file, where the parameter write command includes a parameter name of the basic parameter, a parameter name of the parameter to be calculated, and a parameter name of the basic parameter and a parameter name of the parameter to be calculated are Setting position information in the template file; writing the parameter name of the basic parameter and the parameter name of the parameter to be calculated into the corresponding position in the template file associated with the item identification; obtaining a calculation formula of the parameter to be calculated associated with the item identification ; and write the calculation formula into the template file.

在其中一个实施例中,模板文件设置模块601还用于将计算公式转换为模板文件可识别的计算公式;及将转换后的计算公式写入模板文件中的对应位置。In one embodiment, the template file setting module 601 is further configured to convert the calculation formula into a calculation formula recognizable by the template file; and write the converted calculation formula to a corresponding position in the template file.

在其中一个实施例中,模板文件为Excel模板文件,关联位置为对应基本参数的参数名称在模板文件中的位置的相邻位置。In one embodiment, the template file is an Excel template file, and the associated location is an adjacent location of the location of the parameter name corresponding to the basic parameter in the template file.

上述参数数值计算装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于终端中的处理器中,也可以以软件形式存储于终端中的存储器中,以便于处理器调用执行以上各个模块对应的操作。该处理器可以为中央处理单元(CPU)、微处理器、单片机等。Each of the above-described parameter numerical value calculation devices may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in the hardware in the terminal or in the memory in the terminal, or may be stored in the memory in the terminal in a software form, so that the processor calls the execution of the operations corresponding to the above modules. The processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.

一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时实现本申请任意一个实施例中提供的参数数值计算方法的步骤。A computer apparatus comprising a memory and one or more processors having stored therein computer readable instructions that, when executed by a processor, implement the steps of a parameter numerical calculation method provided in any one of the embodiments of the present application.

具体地,该计算机设备可为上述的终端。如图9所示,为一个实施例中终端的内部结构示意图。该终端包括通过系统总线连接的处理器、存储器、网络接口以及显示屏。其中,该处理器用于提供计算和控制能力,支撑整个终端的运行。存储器包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统、数据库和计算机可读指令。该数据库中存储有用于实现以上各个实施例所提供的一种参数数值计算方法相关的数据,比如可存储有相应的模板文件、用户登录数据以及业务项目的项目信息等。该计算机可读指令可被处理器所执行,以用于实现以上各个实施例所提供的一种参数数值计算方法。终端中的内存储器为非易失性存储介质中的操作系统、数据库和计算机可读指令提供高速缓存的运行环境。网络接口可以是以太网卡或无线网卡等,用于与服务器或其它终端进行网络通信。显示屏可以是触摸屏,比如为电容屏或电子屏,可通过接收作用于该触摸屏上显示的控件的点击操作, 生成相应的指令。Specifically, the computer device can be the terminal described above. As shown in FIG. 9, it is a schematic diagram of the internal structure of the terminal in one embodiment. The terminal includes a processor, a memory, a network interface, and a display connected through a system bus. The processor is used to provide computing and control capabilities to support the operation of the entire terminal. The memory includes a non-volatile storage medium and an internal memory. Non-volatile storage media stores operating systems, databases, and computer readable instructions. The database stores data related to a parameter numerical calculation method provided by the above various embodiments, for example, a corresponding template file, user login data, and project information of a business item may be stored. The computer readable instructions are executable by a processor for implementing a parameter value calculation method provided by the various embodiments above. The internal memory in the terminal provides a cached operating environment for operating systems, databases, and computer readable instructions in a non-volatile storage medium. The network interface can be an Ethernet card or a wireless network card, etc., for network communication with a server or other terminal. The display screen can be a touch screen, such as a capacitive screen or an electronic screen, and a corresponding command can be generated by receiving a click operation of a control applied to the touch screen.

本领域技术人员可以理解,图9中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的终端的限定,具体的终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。It will be understood by those skilled in the art that the structure shown in FIG. 9 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal to which the solution of the present application is applied. The specific terminal may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.

一个或多个存储有计算机可读指令的非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的参数数值计算方法的步骤。One or more non-volatile storage media storing computer readable instructions, when executed by one or more processors, causing one or more processors to implement the parameters provided in any one embodiment of the present application The steps of the numerical calculation method.

本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在被处理器执行时,可实现如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。It will be understood by those skilled in the art that all or part of the processes in the above embodiments may be implemented by computer readable instructions, which may be stored in a non-volatile manner. The computer readable storage medium, when executed by the processor, implements the flow of an embodiment of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.

Claims (20)

一种参数数值计算方法,包括:A parameter numerical calculation method, comprising: 接收对待处理的业务项目的选取指令,所述选取指令中携带相应的项目标识;Receiving a selection instruction of the business item to be processed, where the selection instruction carries a corresponding item identifier; 获取与所述项目标识对应的模板文件,所述模板文件中包含待计算参数的参数名称、计算公式以及基本参数的参数名称;Obtaining a template file corresponding to the item identifier, where the template file includes a parameter name of the parameter to be calculated, a calculation formula, and a parameter name of the basic parameter; 根据所述基本参数的参数名称获取所述基本参数的参数数值;Obtaining a parameter value of the basic parameter according to the parameter name of the basic parameter; 将所述参数数值写入所述模板文件中与所述基本参数的参数名称在所述模板文件中的位置关联的关联位置处;及Writing the parameter value to an associated location in the template file associated with a location of the parameter name of the base parameter in the template file; and 根据所述计算公式和参数数值,在模板文件中计算出与所述待计算参数的参数数值。According to the calculation formula and the parameter value, the parameter value of the parameter to be calculated is calculated in the template file. 根据权利要求1所述的方法,其特征在于,在所述根据所述计算公式和参数数值,在模板文件中计算出与所述待计算参数的参数数值之后,还包括:The method according to claim 1, wherein after calculating the parameter value of the parameter to be calculated in the template file according to the calculation formula and the parameter value, the method further comprises: 根据所述基本参数的参数名称、参数数值以及待计算参数的参数名称、参数数值生成所述业务项目的计划确认函。Generating a plan confirmation letter of the business item according to the parameter name of the basic parameter, the parameter value, and the parameter name and parameter value of the parameter to be calculated. 根据权利要求1所述的方法,其特征在于,在所述获取与所述项目标识对应的模板文件之前,还包括:The method according to claim 1, wherein before the obtaining the template file corresponding to the item identifier, the method further comprises: 接收对模板文件的参数写入指令,所述参数写入指令中包括基本参数的参数名称、待计算参数的参数名称以及所述基本参数的参数名称和待计算参数的参数名称被设置在模板文件中的位置信息;Receiving a parameter write instruction to the template file, wherein the parameter write command includes a parameter name of the basic parameter, a parameter name of the parameter to be calculated, and a parameter name of the basic parameter and a parameter name of the parameter to be calculated are set in the template file. Location information in ; 将所述基本参数的参数名称和待计算参数的参数名称写入与所述项目标识相关联的模板文件中的对应位置;Writing a parameter name of the basic parameter and a parameter name of the parameter to be calculated into a corresponding position in a template file associated with the item identifier; 获取与所述项目标识相关联的待计算参数的计算公式;及Obtaining a calculation formula of the parameter to be calculated associated with the item identifier; and 将所述计算公式写入所述模板文件中。The calculation formula is written into the template file. 根据权利要求3所述的方法,其特征在于,所述将所述计算公式写入所述模板文件中,包括:The method according to claim 3, wherein the writing the calculation formula into the template file comprises: 将所述计算公式转换为所述模板文件可识别的计算公式;及Converting the calculation formula to a formula recognizable by the template file; and 将转换后的计算公式写入所述模板文件中的对应位置。The converted calculation formula is written to the corresponding position in the template file. 根据权利要求1所述的方法,其特征在于,所述模板文件为Excel模板文件,所述关联位置为对应基本参数的参数名称在所述模板文件中的位置的相邻位置。The method according to claim 1, wherein the template file is an Excel template file, and the associated location is an adjacent position of a location of the parameter name corresponding to the basic parameter in the template file. 一种参数数值计算装置,包括:A parameter numerical calculation device includes: 选取指令接收模块,用于接收对待处理的业务项目的选取指令,所述选取指令中携带相应的项目标识;The instruction receiving module is configured to receive a selection instruction of the business item to be processed, where the selection instruction carries a corresponding item identifier; 模板文件获取模块,用于获取与所述项目标识对应的模板文件,所述模板文件中包含待计算参数的参数名称、计算公式以及基本参数的参数名称;a template file obtaining module, configured to acquire a template file corresponding to the item identifier, where the template file includes a parameter name of the parameter to be calculated, a calculation formula, and a parameter name of the basic parameter; 参数数值写入模块,用于根据所述基本参数的参数名称获取所述基本参数的参数数值;将所述参数数值写入所述模板文件中与所述基本参数的参数名称在所述模板文件中的位置关联的关联位置处;及a parameter value writing module, configured to acquire a parameter value of the basic parameter according to a parameter name of the basic parameter; and writing the parameter value into the template file and a parameter name of the basic parameter in the template file The associated location in the location association; and 参数数值计算模块,用于根据所述计算公式和参数数值,在模板文件中计算出与所述待计算参数的参数数值。The parameter value calculation module is configured to calculate a parameter value of the parameter to be calculated in the template file according to the calculation formula and the parameter value. 根据权利要求6所述的装置,其特征在于,还包括:The device according to claim 6, further comprising: 计划确认函生成模块,用于根据所述基本参数的参数名称、参数数值以及待计算参数的参数名称、参数数值生成所述业务项目的计划确认函。The plan confirmation function generating module is configured to generate a plan confirmation letter of the business item according to the parameter name of the basic parameter, the parameter value, and the parameter name and the parameter value of the parameter to be calculated. 根据权利要求6所述的装置,其特征在于,还包括:The device according to claim 6, further comprising: 模板文件设置模块,用于接收对模板文件的参数写入指令,所述参数写入指令中包括基本参数的参数名称、待计算参数的参数名称以及所述基本参数的参数名称和待计算参数的参数名称被设置在模板文件中的位置信息;将所述基本参数的参数名称和待计算参数的参数名称写入与所述项目标识相关联的模板文件中的对应位置;获取与所述项目标识相关联的待计算参数的计算公式;及将所述计算公式写入所述模板文件中。a template file setting module, configured to receive a parameter write instruction to the template file, where the parameter write instruction includes a parameter name of the basic parameter, a parameter name of the parameter to be calculated, and a parameter name of the basic parameter and a parameter to be calculated The parameter name is set to location information in the template file; the parameter name of the basic parameter and the parameter name of the parameter to be calculated are written into a corresponding position in the template file associated with the item identifier; obtaining the item identifier a calculation formula of the associated parameter to be calculated; and writing the calculation formula into the template file. 根据权利要求8所述的装置,其特征在于,模板文件设置模块还用于将计算公式转换为模板文件可识别的计算公式;及将转换后的计算公式写入 模板文件中的对应位置。The apparatus according to claim 8, wherein the template file setting module is further configured to convert the calculation formula into a calculation formula recognizable by the template file; and write the converted calculation formula to a corresponding position in the template file. 根据权利要求6所述的装置,其特征在于,模板文件为Excel模板文件,关联位置为对应基本参数的参数名称在模板文件中的位置的相邻位置。The apparatus according to claim 6, wherein the template file is an Excel template file, and the associated position is an adjacent position of the position of the parameter name corresponding to the basic parameter in the template file. 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:A computer device comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executed by the one or more processors to cause the one or more The processors perform the following steps: 接收对待处理的业务项目的选取指令,所述选取指令中携带相应的项目标识;Receiving a selection instruction of the business item to be processed, where the selection instruction carries a corresponding item identifier; 获取与所述项目标识对应的模板文件,所述模板文件中包含待计算参数的参数名称、计算公式以及基本参数的参数名称;Obtaining a template file corresponding to the item identifier, where the template file includes a parameter name of the parameter to be calculated, a calculation formula, and a parameter name of the basic parameter; 根据所述基本参数的参数名称获取所述基本参数的参数数值;Obtaining a parameter value of the basic parameter according to the parameter name of the basic parameter; 将所述参数数值写入所述模板文件中与所述基本参数的参数名称在所述模板文件中的位置关联的关联位置处;及Writing the parameter value to an associated location in the template file associated with a location of the parameter name of the base parameter in the template file; and 根据所述计算公式和参数数值,在模板文件中计算出与所述待计算参数的参数数值。According to the calculation formula and the parameter value, the parameter value of the parameter to be calculated is calculated in the template file. 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer apparatus according to claim 11, wherein said processor further performs the following steps when said computer readable instructions are executed: 根据所述基本参数的参数名称、参数数值以及待计算参数的参数名称、参数数值生成所述业务项目的计划确认函。Generating a plan confirmation letter of the business item according to the parameter name of the basic parameter, the parameter value, and the parameter name and parameter value of the parameter to be calculated. 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer apparatus according to claim 11, wherein said processor further performs the following steps when said computer readable instructions are executed: 接收对模板文件的参数写入指令,所述参数写入指令中包括基本参数的参数名称、待计算参数的参数名称以及所述基本参数的参数名称和待计算参数的参数名称被设置在模板文件中的位置信息;Receiving a parameter write instruction to the template file, wherein the parameter write command includes a parameter name of the basic parameter, a parameter name of the parameter to be calculated, and a parameter name of the basic parameter and a parameter name of the parameter to be calculated are set in the template file. Location information in ; 将所述基本参数的参数名称和待计算参数的参数名称写入与所述项目标识相关联的模板文件中的对应位置;Writing a parameter name of the basic parameter and a parameter name of the parameter to be calculated into a corresponding position in a template file associated with the item identifier; 获取与所述项目标识相关联的待计算参数的计算公式;及Obtaining a calculation formula of the parameter to be calculated associated with the item identifier; and 将所述计算公式写入所述模板文件中。The calculation formula is written into the template file. 根据权利要求13所述的计算机设备,其特征在于,所述将所述计算公式写入所述模板文件中,包括:The computer device according to claim 13, wherein the writing the calculation formula into the template file comprises: 将所述计算公式转换为所述模板文件可识别的计算公式;及Converting the calculation formula to a formula recognizable by the template file; and 将转换后的计算公式写入所述模板文件中的对应位置。The converted calculation formula is written to the corresponding position in the template file. 根据权利要求11所述的计算机设备,其特征在于,所述模板文件为Excel模板文件,所述关联位置为对应基本参数的参数名称在所述模板文件中的位置的相邻位置。The computer device according to claim 11, wherein the template file is an Excel template file, and the associated location is an adjacent position of a location of the parameter name corresponding to the basic parameter in the template file. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:One or more non-transitory computer readable storage mediums storing computer readable instructions, when executed by one or more processors, cause the one or more processors to perform the following steps: 接收对待处理的业务项目的选取指令,所述选取指令中携带相应的项目标识;Receiving a selection instruction of the business item to be processed, where the selection instruction carries a corresponding item identifier; 获取与所述项目标识对应的模板文件,所述模板文件中包含待计算参数的参数名称、计算公式以及基本参数的参数名称;Obtaining a template file corresponding to the item identifier, where the template file includes a parameter name of the parameter to be calculated, a calculation formula, and a parameter name of the basic parameter; 根据所述基本参数的参数名称获取所述基本参数的参数数值;Obtaining a parameter value of the basic parameter according to the parameter name of the basic parameter; 将所述参数数值写入所述模板文件中与所述基本参数的参数名称在所述模板文件中的位置关联的关联位置处;及Writing the parameter value to an associated location in the template file associated with a location of the parameter name of the base parameter in the template file; and 根据所述计算公式和参数数值,在模板文件中计算出与所述待计算参数的参数数值。According to the calculation formula and the parameter value, the parameter value of the parameter to be calculated is calculated in the template file. 根据权利要求16所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium of claim 16 wherein said computer readable instructions are further executed by said processor to perform the following steps: 根据所述基本参数的参数名称、参数数值以及待计算参数的参数名称、参数数值生成所述业务项目的计划确认函。Generating a plan confirmation letter of the business item according to the parameter name of the basic parameter, the parameter value, and the parameter name and parameter value of the parameter to be calculated. 根据权利要求16所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium of claim 16 wherein said computer readable instructions are further executed by said processor to perform the following steps: 接收对模板文件的参数写入指令,所述参数写入指令中包括基本参数的 参数名称、待计算参数的参数名称以及所述基本参数的参数名称和待计算参数的参数名称被设置在模板文件中的位置信息;Receiving a parameter write instruction to the template file, wherein the parameter write command includes a parameter name of the basic parameter, a parameter name of the parameter to be calculated, and a parameter name of the basic parameter and a parameter name of the parameter to be calculated are set in the template file. Location information in ; 将所述基本参数的参数名称和待计算参数的参数名称写入与所述项目标识相关联的模板文件中的对应位置;Writing a parameter name of the basic parameter and a parameter name of the parameter to be calculated into a corresponding position in a template file associated with the item identifier; 获取与所述项目标识相关联的待计算参数的计算公式;及Obtaining a calculation formula of the parameter to be calculated associated with the item identifier; and 将所述计算公式写入所述模板文件中。The calculation formula is written into the template file. 根据权利要求18所述的存储介质,其特征在于,所述将所述计算公式写入所述模板文件中,包括:The storage medium according to claim 18, wherein the writing the calculation formula to the template file comprises: 将所述计算公式转换为所述模板文件可识别的计算公式;及Converting the calculation formula to a formula recognizable by the template file; and 将转换后的计算公式写入所述模板文件中的对应位置。The converted calculation formula is written to the corresponding position in the template file. 根据权利要求19所述的存储介质,其特征在于,所述模板文件为Excel模板文件,所述关联位置为对应基本参数的参数名称在所述模板文件中的位置的相邻位置。The storage medium according to claim 19, wherein the template file is an Excel template file, and the associated location is an adjacent position of a location of the parameter name corresponding to the basic parameter in the template file.
PCT/CN2018/088564 2017-07-27 2018-05-27 Parameter value calculation method and apparatus, storage medium and computer device Ceased WO2019019789A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710626231.7A CN107798459A (en) 2017-07-27 2017-07-27 Parameter values computational methods, device, storage medium and computer equipment
CN201710626231.7 2017-07-27

Publications (1)

Publication Number Publication Date
WO2019019789A1 true WO2019019789A1 (en) 2019-01-31

Family

ID=61531117

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/088564 Ceased WO2019019789A1 (en) 2017-07-27 2018-05-27 Parameter value calculation method and apparatus, storage medium and computer device

Country Status (2)

Country Link
CN (1) CN107798459A (en)
WO (1) WO2019019789A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107798459A (en) * 2017-07-27 2018-03-13 平安科技(深圳)有限公司 Parameter values computational methods, device, storage medium and computer equipment
CN108573453A (en) * 2018-03-30 2018-09-25 平安科技(深圳)有限公司 Configuration method, device, computer equipment and the storage medium of insurance products computation model
CN109255532A (en) * 2018-08-28 2019-01-22 平安科技(深圳)有限公司 Product construction method, device, computer equipment and storage medium based on chart
CN109343882A (en) * 2018-10-12 2019-02-15 上海庆科信息技术有限公司 A kind of equipment performance index update method and system
CN109976828B (en) * 2019-03-12 2022-04-22 北京奇艺世纪科技有限公司 Method and device for configuring file
CN113704561B (en) * 2021-03-19 2025-11-11 腾讯科技(深圳)有限公司 Data processing method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100107095A1 (en) * 2008-10-24 2010-04-29 Microsoft Corporation Template-based calculator application
CN104317477A (en) * 2014-09-26 2015-01-28 广州金山移动科技有限公司 Formula self-defining method and method employing self-defined formula
CN106874250A (en) * 2017-02-15 2017-06-20 中车株洲电机有限公司 A kind of automatic operation method and system based on word domains
CN107798459A (en) * 2017-07-27 2018-03-13 平安科技(深圳)有限公司 Parameter values computational methods, device, storage medium and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100107095A1 (en) * 2008-10-24 2010-04-29 Microsoft Corporation Template-based calculator application
CN104317477A (en) * 2014-09-26 2015-01-28 广州金山移动科技有限公司 Formula self-defining method and method employing self-defined formula
CN106874250A (en) * 2017-02-15 2017-06-20 中车株洲电机有限公司 A kind of automatic operation method and system based on word domains
CN107798459A (en) * 2017-07-27 2018-03-13 平安科技(深圳)有限公司 Parameter values computational methods, device, storage medium and computer equipment

Also Published As

Publication number Publication date
CN107798459A (en) 2018-03-13

Similar Documents

Publication Publication Date Title
WO2019019789A1 (en) Parameter value calculation method and apparatus, storage medium and computer device
US8217945B1 (en) Social annotation of a single evolving visual representation of a changing dataset
CN111367976A (en) Method and device for exporting EXCEL file data based on JAVA reflection mechanism
CN110362630B (en) Data management method, device, equipment and computer-readable storage medium
CN113205339A (en) Transaction query and transaction data processing method, device and equipment based on block chain
CN115544183B (en) Data visualization method, device, computer equipment and storage medium
CN110704519A (en) Business document conversion method and device, storage medium and computer equipment
CN110263316A (en) A kind of document handling method, device and computer equipment
CN105389184B (en) The configuration method and device of Product Interface information
CN110543450A (en) Electronic document generation method, device, computer equipment and storage medium
CN107562710B (en) A chart processing device and method
CN111950996A (en) Accounting processing method, device, equipment and medium
JP2017182316A (en) Sales analysis apparatus, sales analysis method, and sales analysis program
CN113157712A (en) Data processing method, system and related equipment
CN112528615B (en) Method, device and computer equipment for generating tax return form in tax system
CN112583603A (en) Visual signature method and device, electronic equipment and computer readable storage medium
CN118052218A (en) Electronic certificate data processing method, electronic certificate data processing device, computer equipment and storage medium
CN113362174A (en) Data comparison method, device, equipment and storage medium
CN116126697A (en) Test case generation method, device, equipment and computer readable storage medium
JP2010238167A (en) Information aggregation device, method, program, and recording medium
CN113741953A (en) Form processing method, apparatus, electronic device and computer storage medium
CN113570464A (en) Digital currency transaction community identification method, system, equipment and storage medium
CN113485963A (en) Information acquisition method and device and computer storage medium
JP6653604B2 (en) Information processing apparatus and information processing program
CN114461298B (en) A method and system for generating interface technology standard documents

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18839185

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18839185

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07/08/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18839185

Country of ref document: EP

Kind code of ref document: A1