WO2019080503A1 - 薪资中间指标的计算方法、应用服务器及计算机可存储介质 - Google Patents

薪资中间指标的计算方法、应用服务器及计算机可存储介质

Info

Publication number
WO2019080503A1
WO2019080503A1 PCT/CN2018/089702 CN2018089702W WO2019080503A1 WO 2019080503 A1 WO2019080503 A1 WO 2019080503A1 CN 2018089702 W CN2018089702 W CN 2018089702W WO 2019080503 A1 WO2019080503 A1 WO 2019080503A1
Authority
WO
WIPO (PCT)
Prior art keywords
indicator
employee
definition
salary
execution engine
Prior art date
Application number
PCT/CN2018/089702
Other languages
English (en)
French (fr)
Inventor
黄平根
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019080503A1 publication Critical patent/WO2019080503A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a method for calculating an intermediate salary indicator, an application server, and a computer storable medium.
  • the current channel salary calculation involves the calculation of a large number of intermediate indicators, which are the basis for the calculation of the final salary. It is also the basis for the user to check and track the salary.
  • the current channel salary has formed the index data of tens of millions per month. The number of indicators is counted in thousands. At present, a large amount of calculation logic is distributed in various corners, and at different time periods, the same indicator has multiple calculation versions, and the code is not readable.
  • the present application proposes a calculation method of an intermediate salary indicator, an application server, and a computer storable medium.
  • the present application provides an application server, where the application server includes a memory and a processor, where the memory stores a calculation program of an intermediate salary indicator that can be run on the processor, and the salary is The calculation procedure of the intermediate indicator is implemented by the processor to implement the following steps:
  • the present application further provides a method for calculating an intermediate salary indicator, the method is applied to an application server, and the method includes the following steps:
  • the present application further provides a computer readable storage medium, where the computer readable storage medium stores a calculation program of a salary intermediate indicator, and the calculation program of the salary intermediate indicator may be at least one processor. Executing to cause the at least one processor to perform the steps of the calculation method of the salary intermediate indicator as described above.
  • the application server, the calculation method of the salary intermediate indicator and the computer readable storage medium proposed by the present application firstly construct an indicator execution engine and initialize the execution engine of the indicator; secondly, generate an indicator definition And generating a definition table according to the indicator definition; again, obtaining an employee parameter from the employee database according to the user input information; and then running the indicator execution engine according to the indicator definition in the definition table and the employee parameter; and finally, Obtain an intermediate indicator of the running calculation of the indicator execution engine.
  • the large amount of calculation logic in the prior art is distributed in various corners, and the same indicator has multiple calculation versions in different time periods, and the code is not readable. It is also possible to greatly improve readability and maintainability by maintaining the indicator calculation method and description into the definition table.
  • a dedicated indicator execution engine a large number of switching codes can be saved and the amount of development can be reduced.
  • 1 is a schematic diagram of an optional hardware architecture of an application server of the present application
  • FIG. 2 is a program block diagram of a first embodiment of a calculation procedure of the salary intermediate indicator of the present application
  • FIG. 3 is a program block diagram of a second embodiment of a calculation procedure of the salary intermediate indicator of the present application
  • FIG. 4 is a flow chart of a first embodiment of a method for calculating a salary intermediate indicator according to the present application
  • FIG. 5 is a flowchart of a second embodiment of a method for calculating a salary intermediate indicator according to the present application.
  • FIG. 6 is a flowchart of a third embodiment of a method for calculating an intermediate salary indicator of the present application
  • FIG. 7 is a flowchart of a fourth embodiment of a method for calculating a salary intermediate indicator according to the present application.
  • FIG. 1 it is a schematic diagram of an optional hardware architecture of the application server 1.
  • the application server 1 may be a computing device such as a rack server, a blade server, a tower server, or a rack server.
  • the application server 1 may be a stand-alone server or a server cluster composed of multiple servers.
  • the application server 1 may include, but is not limited to, the memory 11, the processor 12, and the network interface 13 being communicably connected to each other through a system bus.
  • the application server 1 connects to the network through the network interface 13 to obtain information.
  • the network may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, or a 5G network.
  • Wireless or wired networks such as networks, Bluetooth, Wi-Fi, and call networks.
  • Figure 1 only shows the application server 1 with components 11-13, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
  • the memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), and a random access memory (RAM). , static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 11 may be an internal storage unit of the application server 1, such as a hard disk or memory of the application server 1.
  • the memory 11 may also be an external storage device of the application server 1, such as a plug-in hard disk equipped with the application server 1, a smart memory card (SMC), and a secure digital ( Secure Digital, SD) cards, flash cards, etc.
  • the memory 11 can also include both the internal storage unit of the application server 1 and its external storage device.
  • the memory 11 is generally used to store an operating system installed in the application server 1 and various types of application software, such as program codes of the calculation program 200 of the salary intermediate indicator. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 12 is typically used to control the overall operation of the application server 1, such as performing data interaction or communication related control and processing, and the like.
  • the processor 12 is configured to run program code or processing data stored in the memory 11, such as the calculation program 200 that runs the salary intermediate indicator.
  • the network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the application server 1 and other electronic devices.
  • the application server 1 installs and runs a calculation program 200 with a salary intermediate indicator.
  • the application server 1 constructs an indicator execution engine, and The indicator execution engine performs initialization; generates an indicator definition, and generates a definition table according to the indicator definition; acquires an employee parameter from the employee database according to the user input information; and runs the indicator according to the indicator definition in the definition table and the employee parameter Execution engine; obtains an intermediate indicator of the running calculation of the indicator execution engine.
  • the present application proposes a calculation procedure 200 for an intermediate salary indicator.
  • FIG. 2 it is a program block diagram of the first embodiment of the calculation program 200 of the salary intermediate indicator of the present application.
  • the salary intermediate indicator calculation program 200 includes a series of computer program instructions stored in the memory 11, and when the computer program instructions are executed by the processor 12, the salary of the embodiments of the present application can be implemented.
  • the salary intermediate indicator calculation program 200 can be divided into one or more modules based on the particular operations implemented by the various portions of the computer program instructions. For example, in FIG. 2, the calculation program 200 of the salary intermediate indicator may be divided into a construction module 201, a generation module 202, an acquisition module 203, and an execution module 204. among them:
  • the building module 201 is configured to construct an indicator execution engine and initialize the indicator execution engine.
  • the building module 201 performs the execution engine construction according to the JBoss Drools 5.1.1 version.
  • JBoss Drools 5.1.1 is a rules engine that introduces a business logic integration platform that provides a unified, integrated platform for supporting rules, workflow, and event processing.
  • JBoss Drools 5.1.1 can be divided into four main sub-projects: Guvnor (BRMS/BPMS), Expert (rule engine), Flow (processing/workflow), and Fusion (cep/temporal reasoning).
  • the building module 201 constructs an indicator execution engine according to the sub-project Expert (Rules Engine) of JBoss Drools 5.1.1.
  • the generating module 202 is configured to generate an indicator definition, and generate a definition table according to the indicator definition.
  • the generating module 202 presents an editing window through a web page of the mobile terminal, and the user inputs the indicator definition through the editing window at the client of the mobile terminal.
  • the mobile terminal may be a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and a car.
  • a mobile device such as a device, and a fixed terminal such as a digital TV, a desktop computer, a notebook, a server, and the like.
  • the manner in which the generating module 202 generates the indicator definition further includes: modifying the existing indicator definition to generate a new indicator definition.
  • the indicator definition includes an indicator calculation method code and a description.
  • the obtaining module 203 is configured to obtain employee parameters from the employee database according to the user input information.
  • the obtaining module 203 receives the employee identity information input by the user through the web interface of the mobile terminal, and then indexes the employee database by using the employee identity information; and finally obtains the employee parameter that matches the employee identity information.
  • the employee identity information includes an ID, an ID number, a social security number, and the like that uniquely register the employee identity information.
  • a mapping relationship table between employee identity information and employee information is stored in the database, and the obtaining module 203 can obtain employee information, for example, salary information, by indexing the database with the employee identity information.
  • the executing module 204 is configured to run the indicator execution engine according to the indicator definition and the employee parameter in the definition table; and obtain an intermediate indicator of the running calculation of the indicator execution engine.
  • the execution module 204 replaces the parameter placeholder in the pointer calculation method code in the indicator definition with the employee parameter. And before the step of replacing the parameter placeholder in the pointer calculation method code in the indicator definition with the employee parameter, the execution module 204 is further configured to write the employee parameter into the cache.
  • the execution module 204 is further configured to perform employee data in the cache. Erase.
  • the intermediate indicator refers to the intermediate data generated in the salary calculation item in order to generate the final salary data.
  • the intermediate indicators that may be involved include the first year. Commissions, continuing service commissions or indirect commissions, and the calculation of these intermediate indicators, commissions, requires writing code to assign parameters to calculate acquisitions.
  • the calculation codes are the same for the same or similar intermediate indicators in different projects, but only result in different calculation results according to the different parameters given.
  • the execution module 204 Based on the above characteristics, the execution module 204 generates a definition table or a definition library by using the code of the intermediate indicator in the form of the indicator definition. In the process of calculating different salary items, only the index is needed to obtain the indicator from the definition library. Then, the corresponding parameters can be obtained, and it is not necessary to perform the preparation of the intermediate indicator code and the substitution of the parameters each time the intermediate indicator is needed. That is, through the unified management of the intermediate indicator code to increase the efficiency and maintainability of salary calculation.
  • the calculation program 200 of the salary intermediate indicator proposed by the present application firstly constructs an indicator execution engine and initializes the indicator execution engine; secondly, generates an indicator definition, and defines according to the indicator Generating a definition table; again, obtaining an employee parameter from the employee database according to the user input information; and then running the indicator execution engine according to the indicator definition and the employee parameter in the definition table; and finally, acquiring the indicator execution engine Run the intermediate indicator of the calculation.
  • the large amount of calculation logic in the prior art is distributed in various corners, and the same indicator has multiple calculation versions in different time periods, and the code is not readable. It is also possible to greatly improve readability and maintainability by maintaining the indicator calculation method and description into the definition table.
  • a dedicated indicator execution engine a large number of switching codes can be saved and the amount of development can be reduced.
  • the calculation program 200 of the salary intermediate indicator further includes an interface definition module 205.
  • the calculation program 200 of the salary intermediate indicator further includes an interface definition module 205.
  • the interface definition module 205 is configured to provide a specific interface to the definition table, where the special interface is used to modify, delete, and classify the indicator definitions in the definition table.
  • the calculation program 200 of the salary intermediate indicator proposed by the present application can conveniently switch the version of the index calculation method by updating the definition table data by using the special interface of the definition table.
  • the present application also proposes a method for calculating the intermediate salary indicator.
  • FIG. 4 it is a schematic flowchart of the implementation of the first embodiment of the method for calculating the salary intermediate index of the present application.
  • the order of execution of the steps in the flowchart shown in FIG. 4 may be changed according to different requirements, and some steps may be omitted.
  • step S401 an indicator execution engine is constructed, and the indicator execution engine is initialized.
  • the application server 1 performs the execution engine construction according to the JBoss Drools 5.1.1 version.
  • JBoss Drools 5.1.1 is a rules engine that introduces a business logic integration platform that provides a unified, integrated platform for supporting rules, workflow, and event processing.
  • JBoss Drools 5.1.1 can be divided into four main sub-projects: Guvnor (BRMS/BPMS), Expert (rule engine), Flow (processing/workflow), and Fusion (cep/temporal reasoning).
  • the application server 1 constructs an indicator execution engine according to the sub-project Expert (Rules Engine) of JBoss Drools 5.1.1.
  • Step S402 generating an indicator definition, and generating a definition table according to the indicator definition.
  • the application server 1 presents an editing window through a web page of the mobile terminal, and the user inputs the indicator definition through the editing window at the client of the mobile terminal.
  • the mobile terminal may be a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and a car.
  • a mobile device such as a device, and a fixed terminal such as a digital TV, a desktop computer, a notebook, a server, and the like.
  • the manner of generating the indicator definition further includes: modifying an existing indicator definition to generate a new indicator definition.
  • the indicator definition includes an indicator calculation method code and a description.
  • Step S403 obtaining employee parameters from the employee database according to the user input information.
  • the step of obtaining employee parameters from the employee database based on the user input information will be detailed in the third embodiment ( FIG. 6 ) of the salary intermediate indicator calculation method of the present application.
  • Step S404 running the indicator execution engine according to the indicator definition in the definition table and the employee parameter.
  • the step of executing the indicator execution engine according to the indicator definition in the definition table and the employee parameter will be detailed in the fourth embodiment ( FIG. 7 ) of the salary intermediate indicator calculation method of the present application.
  • Step S405 Acquire an intermediate indicator of the running calculation of the indicator execution engine.
  • the intermediate indicator refers to the intermediate data generated in the salary calculation item in order to generate the final salary data.
  • the intermediate indicators that may be involved include the first year. Commissions, continuing service commissions or indirect commissions, and the calculation of these intermediate indicators, commissions, requires writing code to assign parameters to calculate acquisitions.
  • the calculation codes are the same for the same or similar intermediate indicators in different projects, but only result in different calculation results according to the different parameters given.
  • the application server 1 Based on the above characteristics, the application server 1 generates a definition table or a definition library by using the code of the intermediate indicator in the form of the indicator definition. In the process of calculating different salary items, it is only necessary to retrieve the indicator from the definition library for obtaining the intermediate indicator.
  • the corresponding parameters can be obtained by obtaining the corresponding parameters, and it is not necessary to perform the preparation of the intermediate indicator code and the substitution of the parameters each time the intermediate indicator is needed. That is, through the unified management of the intermediate indicator code to increase the efficiency and maintainability of salary calculation.
  • the application server 1 constructs an indicator execution engine, and initializes the indicator execution engine; secondly, generates an indicator definition, and according to the The indicator definition generation generation definition table; again, the employee parameter is obtained from the employee database according to the user input information; then, the indicator execution engine is executed according to the indicator definition in the definition table and the employee parameter; and finally, the indicator is obtained An intermediate indicator of the execution calculation of the execution engine.
  • the application server 1 constructs an indicator execution engine, and initializes the indicator execution engine; secondly, generates an indicator definition, and according to the The indicator definition generation generation definition table; again, the employee parameter is obtained from the employee database according to the user input information; then, the indicator execution engine is executed according to the indicator definition in the definition table and the employee parameter; and finally, the indicator is obtained An intermediate indicator of the execution calculation of the execution engine.
  • the application server 1 constructs an indicator execution engine, and initializes the indicator execution engine; secondly, generates an indicator definition, and according to the The indicator definition generation generation definition table; again, the employee parameter is obtained from the
  • FIG. 5 it is a schematic diagram of the implementation process of the second embodiment of the calculation method of the salary intermediate indicator of the present application.
  • the order of execution of the steps in the flowchart shown in FIG. 5 may be changed according to different requirements, and some steps may be omitted.
  • step S501 an indicator execution engine is constructed, and the indicator execution engine is initialized.
  • the application server 1 performs the execution engine construction according to the JBoss Drools 5.1.1 version.
  • JBoss Drools 5.1.1 is a rules engine that introduces a business logic integration platform that provides a unified, integrated platform for supporting rules, workflow, and event processing.
  • JBoss Drools 5.1.1 can be divided into four main sub-projects: Guvnor (BRMS/BPMS), Expert (rule engine), Flow (processing/workflow), and Fusion (cep/temporal reasoning).
  • the application server 1 constructs an indicator execution engine according to the sub-project Expert (Rules Engine) of JBoss Drools 5.1.1.
  • Step S502 generating an indicator definition, and generating a definition table according to the indicator definition.
  • the application server 1 presents an editing window through a web page of the mobile terminal, and the user inputs the indicator definition through the editing window at the client of the mobile terminal.
  • the mobile terminal may be a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and a car.
  • a mobile device such as a device, and a fixed terminal such as a digital TV, a desktop computer, a notebook, a server, and the like.
  • the manner of generating the indicator definition further includes: modifying an existing indicator definition to generate a new indicator definition.
  • the indicator definition includes an indicator calculation method code and a description.
  • Step S503 obtaining employee parameters from the employee database according to the user input information.
  • the step of obtaining employee parameters from the employee database based on the user input information will be detailed in the third embodiment ( FIG. 6 ) of the salary intermediate indicator calculation method of the present application.
  • Step S504 running the indicator execution engine according to the indicator definition in the definition table and the employee parameter.
  • the step of executing the indicator execution engine according to the indicator definition in the definition table and the employee parameter will be detailed in the fourth embodiment ( FIG. 7 ) of the salary intermediate indicator calculation method of the present application.
  • Step S505 Acquire an intermediate indicator of the running calculation of the indicator execution engine.
  • the intermediate indicator refers to the intermediate data generated in the salary calculation item in order to generate the final salary data.
  • the intermediate indicators that may be involved include the first year. Commissions, continuing service commissions or indirect commissions, and the calculation of these intermediate indicators, commissions, requires writing code to assign parameters to calculate acquisitions.
  • the calculation codes are the same for the same or similar intermediate indicators in different projects, but only result in different calculation results according to the different parameters given.
  • Step S506 providing a special interface to the definition table, where the special interface is used to modify, delete, and classify the indicator definitions in the definition table. In this way, only the modification, deletion and classification of the indicator definitions in the definition table are performed, and the overall code does not need to be modified to reduce the development amount.
  • the calculation method of the salary intermediate indicator proposed by the present application can greatly improve readability and maintainability by maintaining the index calculation method and description into the definition table. And through the dedicated indicator execution engine, you can save a lot of switching code and reduce the amount of development. At the same time, by using the special interface of the definition table, the version of the index calculation method can be conveniently switched by updating the definition table data.
  • the step of obtaining employee parameters from the employee database according to the user input information includes:
  • Step S601 receiving employee identity information input by the user through a web interface.
  • the employee identity information includes an ID, an ID number, a social security number, and the like that uniquely register the employee identity information.
  • Step S602 indexing the employee database by the employee identity information.
  • a mapping relationship table between employee identity information and employee information is stored in the database, and the application server 2 can obtain employee information, for example, salary information, by indexing the database with the employee identity information.
  • Step S603 obtaining employee parameters that match the employee identity information.
  • the application server 1 receives the employee identity information input by the user through the web interface of the mobile terminal, and then indexes the employee database with the employee identity information; and finally obtains the employee parameter that matches the employee identity information.
  • the calculation method of the salary intermediate indicator proposed by the present application can obtain the employee parameter through the web interface user input information.
  • the step of executing the engine according to the indicator definition in the definition table and the employee parameter specifically includes:
  • Step S701 the employee parameter is written into the cache. In this way, preventing the execution of the indicator execution engine causes the employee parameters to be lost, thereby re-acquiring the employee parameters, thus affecting the efficiency of the calculation process of the intermediate salary indicator.
  • Step S702 replacing the parameter placeholder in the pointer calculation method code in the indicator definition with the employee parameter.
  • Step S703 erasing the employee data in the cache. Further, the execution efficiency of the calculation of the intermediate salary indicator can be improved.
  • the method for calculating the salary intermediate indicator proposed by the present application may execute the indicator execution engine according to the indicator definition in the definition table and the employee parameter.
  • the present application further provides a computer readable storage medium, where the computer readable storage medium stores a calculation program of a salary intermediate indicator, and the calculation program of the salary intermediate indicator may be at least one processor. Executing to cause the at least one processor to perform the steps of the calculation method of the salary intermediate indicator as described above.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本申请公开了一种薪资中间指标的计算方法,所述方法包括:构建指标执行引擎,并对所述指标执行引擎进行初始化;生成指标定义,并根据所述指标定义生成定义表;根据用户输入信息从员工数据库中获取员工参数;根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎;及获取所述指标执行引擎的运行计算的中间指标。本申请还提供一种应用服务器及计算机可存储介质。本申请提供的薪资中间指标的计算方法、应用服务器及计算机可存储介质,通过将指标计算方法和描述维护到定义表中,可以大幅提升可读性和可维护性。同时通过专门的指标执行引擎,可以省去大量的开关代码,减少开发量。

Description

薪资中间指标的计算方法、应用服务器及计算机可存储介质
本申请要求于2017年10月23日提交中国专利局、申请号为201710995661.6、发明名称为“薪资中间指标的计算方法、应用服务器及计算机可存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种薪资中间指标的计算方法、应用服务器及计算机可存储介质。
背景技术
随着企业的发展,各种渠道机构逐渐复杂化,而相应渠道的薪资计算也随之复杂化。当前渠道薪资计算涉及到大量中间指标的计算,这些中间指标是最终形成薪资的计算基础,同时也是用户进行薪资核对及追踪的依据,当前渠道薪资每个月形成的指标数据达到千万级,而指标的种类合计数千个。当前大量的计算逻辑分布在各个角落,而且在不同时间段,同一个指标有多个计算版本,代码可读性不佳。
发明内容
有鉴于此,本申请提出一种薪资中间指标的计算方法、应用服务器及计算机可存储介质,通过将指标计算方法和描述维护到定义表中,可以大幅提升可读性和可维护性。同时通过专门的指标执行引擎,可以省去大量的开关代码,减少开发量。
首先,为实现上述目的,本申请提出一种应用服务器,所述应用服务器包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的薪资中 间指标的计算程序,所述薪资中间指标的计算程序被所述处理器执行时实现如下步骤:
构建指标执行引擎,并对所述指标执行引擎进行初始化;
生成指标定义,并根据所述指标定义生成定义表;
根据用户输入信息从员工数据库中获取员工参数;
根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎;及
获取所述指标执行引擎的运行计算的中间指标。
此外,为实现上述目的,本申请还提供一种薪资中间指标的计算方法,该方法应用于应用服务器,所述方法包括步骤:
构建指标执行引擎,并对所述指标执行引擎进行初始化;
生成指标定义,并根据所述指标定义生成定义表;
根据用户输入信息从员工数据库中获取员工参数;
根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎;及
获取所述指标执行引擎的运行计算的中间指标。
进一步地,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有薪资中间指标的计算程序,所述薪资中间指标的计算程序可被至少一个处理器执行,以使所述至少一个处理器执行如上述的薪资中间指标的计算方法的步骤。
相较于现有技术,本申请所提出的应用服务器、薪资中间指标的计算方法及计算机可读存储介质,首先,构建指标执行引擎,并对所述指标执行引擎进行初始化;其次,生成指标定义,并根据所述指标定义生成定义表;再次,根据用户输入信息从员工数据库中获取员工参数;然后,根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎;最后,获取所述指标执行引擎的运行计算的中间指标。这样,既可以避免现有技术中大量的计 算逻辑分布在各个角落,在不同时间段,同一个指标有多个计算版本,代码可读性不佳的弊端。又能够通过将指标计算方法和描述维护到定义表中,可以大幅提升可读性和可维护性。同时通过专门的指标执行引擎,可以省去大量的开关代码,减少开发量。
附图说明
图1是本申请应用服务器一可选的硬件架构的示意图;
图2是本申请薪资中间指标的计算程序第一实施例的程序模块图;
图3是本申请薪资中间指标的计算程序第二实施例的程序模块图;
图4为本申请薪资中间指标的计算方法第一实施例的流程图;
图5为本申请薪资中间指标的计算方法第二实施例的流程图;
图6为本申请薪资中间指标的计算方法第三实施例的流程图;
图7为本申请薪资中间指标的计算方法第四实施例的流程图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领 域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。
参阅图1所示,是应用服务器1一可选的硬件架构的示意图。
所述应用服务器1可以是机架式服务器、刀片式服务器、塔式服务器或机柜式服务器等计算设备,该应用服务器1可以是独立的服务器,也可以是多个服务器所组成的服务器集群。
本实施例中,所述应用服务器1可包括,但不仅限于,可通过系统总线相互通信连接存储器11、处理器12、网络接口13。
所述应用服务器1通过网络接口13连接网络,获取资讯。所述网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi、通话网络等无线或有线网络。
需要指出的是,图1仅示出了具有组件11-13的应用服务器1,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。
其中,所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器11可以是所述应用服务器1的内部存储单元,例如该应用服务器1的硬盘或内存。在另一些实施例中,所述存储器11也可以是所述应用服务器1的外部存储设备,例如该应用服务器1配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器11还可以既包括所述应用服务器1的内部存储单元也包括其外部存储设备。本实 施例中,所述存储器11通常用于存储安装于所述应用服务器1的操作系统和各类应用软件,例如所述薪资中间指标的计算程序200的程序代码等。此外,所述存储器11还可以用于暂时地存储已经输出或者将要输出的各类数据。
所述处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12通常用于控制所述应用服务器1的总体操作,例如执行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器12用于运行所述存储器11中存储的程序代码或者处理数据,例如运行所述的薪资中间指标的计算程序200等。
所述网络接口13可包括无线网络接口或有线网络接口,该网络接口13通常用于在所述应用服务器1与其他电子设备之间建立通信连接。
本实施例中,所述应用服务器1内安装并运行有薪资中间指标的计算程序200,当所述薪资中间指标的计算程序200运行时,所述应用服务器1构建指标执行引擎,并对所述指标执行引擎进行初始化;生成指标定义,并根据所述指标定义生成定义表;根据用户输入信息从员工数据库中获取员工参数;根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎;获取所述指标执行引擎的运行计算的中间指标。这样,既可以避免现有技术中大量的计算逻辑分布在各个角落,在不同时间段,同一个指标有多个计算版本,代码可读性不佳的弊端。又能够通过将指标计算方法和描述维护到定义表中,可以大幅提升可读性和可维护性。同时通过专门的指标执行引擎,可以省去大量的开关代码,减少开发量。
至此,己经详细介绍了本申请各个实施例的应用环境和相关设备的硬件结构和功能。下面,将基于上述应用环境和相关设备,提出本申请的各个实施例。
首先,本申请提出一种薪资中间指标的计算程序200。
参阅图2所示,是本申请薪资中间指标的计算程序200第一实施例的程序 模块图。
本实施例中,所述的薪资中间指标的计算程序200包括一系列的存储于存储器11上的计算机程序指令,当该计算机程序指令被处理器12执行时,可以实现本申请各实施例的薪资中间指标的计算操作。在一些实施例中,基于该计算机程序指令各部分所实现的特定的操作,所述薪资中间指标的计算程序200可以被划分为一个或多个模块。例如,在图2中,所述的薪资中间指标的计算程序200可以被分割成构建模块201、生成模块202、获取模块203及执行模块204。其中:
所述构建模块201,用于构建指标执行引擎,并对所述指标执行引擎进行初始化。本实施例中,所述构建模块201根据JBoss Drools5.1.1版本进行执行引擎的构建。
JBoss Drools5.1.1是一款规则引擎,它引入了业务逻辑集成平台,它提供了支持规则、工作流和事件处理的统一、集成的平台。JBoss Drools5.1.1可以分成4个主要的子项目:Guvnor(BRMS/BPMS)、Expert(规则引擎)、Flow(处理/工作流)、Fusion(cep/temporal reasoning)。本实施例中,所述构建模块201就是根据JBoss Drools5.1.1的子项目Expert(规则引擎)构建指标执行引擎的。
所述生成模块202,用于生成指标定义,并根据所述指标定义生成定义表。
本实施例中,所述生成模块202通过移动终端的web页面呈现编辑窗口,用户在移动终端的客户端通过所述编辑窗口进行指标定义的输入。本实施例中,所述移动终端可以是移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置、车载装置等等的可移动设备,以及诸如数字TV、台式计算机、笔记本、服务器等等的固定终端。
另外,所述生成模块202生成指标定义的方式还包括:对已有的指标定义进行修改以生成新的指标定义。
具体地,所述指标定义包括指标计算方法代码及描述。
所述获取模块203,用于根据用户输入信息从员工数据库中获取员工参数。
具体地,所述获取模块203通过移动终端的web界面接收用户输入的员工身份信息,然后以所述员工身份信息索引所述员工数据库;最后获取与所述员工身份信息相匹配的员工参数。
具体地,所述员工身份信息包括工号、身份证号、社保号等唯一报名该员工身份信息的标识。数据库中存储有员工身份信息与员工信息的映射关系表,所述获取模块203通过以所述员工身份信息索引数据库,即可获得员工信息,例如,薪资信息等。
所述执行模块204,用于根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎;及获取所述指标执行引擎的运行计算的中间指标。
具体地,所述执行模块204将所述指标定义中的指针计算方法代码中的参数占位符替换为所述员工参数。且在将所述指标定义中的指针计算方法代码中的参数占位符替换为所述员工参数的步骤之前,所述执行模块204还用于将所述员工参数写入缓存。
进一步地,在所述将所述指标定义中的指针计算方法代码中的参数占位符替换为所述员工参数的步骤之后,所述执行模块204还用于将所述缓存中的员工数据进行擦除。
在本实施例中,中间指标指的是在薪资计算项目中为了生成最终的薪资数据而产生的中间数据,比如在业务员的薪资计算的某一项目过程中,可能涉及的中间指标包括首年佣金、继续服务佣金或者间接佣金,而这些中间指标即佣金的计算需要编写代码赋予参数来计算获取。目前的薪资计算过程中,对于不同项目中相同或者相似的中间指标,其计算代码都相同,只是根据赋予的不同参数最后导致不同的计算结果。
基于上述特性,所述执行模块204,通过将中间指标的代码以指标定义的 形式生成定义表或定义库,在不同的薪资项目计算过程中,对于获取中间指标,只需要从定义库调取指标,再赋予相应的参数即可获取,而不需要在每次需要中间指标时,都进行一次中间指标代码的编写以及参数的代入。即通过中间指标代码的统一管理调配以增加薪资计算的效率和高维护性。
通过上述程序模块201-204,本申请所提出的薪资中间指标的计算程序200,首先,构建指标执行引擎,并对所述指标执行引擎进行初始化;其次,生成指标定义,并根据所述指标定义生成定义表;再次,根据用户输入信息从员工数据库中获取员工参数;然后,根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎;最后,获取所述指标执行引擎的运行计算的中间指标。这样,既可以避免现有技术中大量的计算逻辑分布在各个角落,在不同时间段,同一个指标有多个计算版本,代码可读性不佳的弊端。又能够通过将指标计算方法和描述维护到定义表中,可以大幅提升可读性和可维护性。同时通过专门的指标执行引擎,可以省去大量的开关代码,减少开发量。
进一步地,基于本申请薪资中间指标的计算程序200的上述第一实施例,提出本申请的第二实施例(如图3所示)。所述薪资中间指标的计算程序200还包括接口定义模块205。本实施例中:
所述接口定义模块205用于对所述定义表提供一专门接口,所述专门接口用于对所述定义表中的指标定义进行修改、删除和分类。
通过上述程序模块205,本申请所提出的薪资中间指标的计算程序200利用定义表的专门接口,可以通过更新定义表数据对指标计算方法的版本进行方便的切换。
此外,本申请还提出一种薪资中间指标的计算方法。
参阅图4所示,是本申请薪资中间指标计算方法第一实施例的实施流程示意图。在本实施例中,根据不同的需求,图4所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。
步骤S401,构建指标执行引擎,并对所述指标执行引擎进行初始化。本实施例中,所述应用服务器1根据JBoss Drools5.1.1版本进行执行引擎的构建。
JBoss Drools5.1.1是一款规则引擎,它引入了业务逻辑集成平台,它提供了支持规则、工作流和事件处理的统一、集成的平台。JBoss Drools5.1.1可以分成4个主要的子项目:Guvnor(BRMS/BPMS)、Expert(规则引擎)、Flow(处理/工作流)、Fusion(cep/temporal reasoning)。本实施例中,所述应用服务器1就是根据JBoss Drools5.1.1的子项目Expert(规则引擎)构建指标执行引擎的。
步骤S402,生成指标定义,并根据所述指标定义生成定义表。
本实施例中,所述应用服务器1通过移动终端的web页面呈现编辑窗口,用户在移动终端的客户端通过所述编辑窗口进行指标定义的输入。本实施例中,所述移动终端可以是移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置、车载装置等等的可移动设备,以及诸如数字TV、台式计算机、笔记本、服务器等等的固定终端。
另外,所述生成指标定义的方式还包括:对已有的指标定义进行修改以生成新的指标定义。
具体地,所述指标定义包括指标计算方法代码及描述。
步骤S403,根据用户输入信息从员工数据库中获取员工参数。所述根据用户输入信息从员工数据库中获取员工参数的步骤将在本申请薪资中间指标计算方法第三实施例(图6)中详述。
步骤S404,根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎。所述根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎的步骤将在本申请薪资中间指标计算方法第四实施例(图7)中详述。
步骤S405,获取所述指标执行引擎的运行计算的中间指标。
在本实施例中,中间指标指的是在薪资计算项目中为了生成最终的薪资 数据而产生的中间数据,比如在业务员的薪资计算的某一项目过程中,可能涉及的中间指标包括首年佣金、继续服务佣金或者间接佣金,而这些中间指标即佣金的计算需要编写代码赋予参数来计算获取。目前的薪资计算过程中,对于不同项目中相同或者相似的中间指标,其计算代码都相同,只是根据赋予的不同参数最后导致不同的计算结果。
基于上述特性,所述应用服务器1通过将中间指标的代码以指标定义的形式生成定义表或定义库,在不同的薪资项目计算过程中,对于获取中间指标,只需要从定义库调取指标,再赋予相应的参数即可获取,而不需要在每次需要中间指标时,都进行一次中间指标代码的编写以及参数的代入。即通过中间指标代码的统一管理调配以增加薪资计算的效率和高维护性。
通过上述步骤S401-405,本申请所提出的薪资中间指标的计算方法,首先,所述应用服务器1构建指标执行引擎,并对所述指标执行引擎进行初始化;其次,生成指标定义,并根据所述指标定义生成定义表;再次,根据用户输入信息从员工数据库中获取员工参数;然后,根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎;最后,获取所述指标执行引擎的运行计算的中间指标。这样,既可以避免现有技术中大量的计算逻辑分布在各个角落,在不同时间段,同一个指标有多个计算版本,代码可读性不佳的弊端。又能够通过将指标计算方法和描述维护到定义表中,可以大幅提升可读性和可维护性。同时通过专门的指标执行引擎,可以省去大量的开关代码,减少开发量。
参阅图5所示,是本申请薪资中间指标的计算方法第二实施例的实施流程示意图。在本实施例中,根据不同的需求,图5所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。
步骤S501,构建指标执行引擎,并对所述指标执行引擎进行初始化。本实施例中,所述应用服务器1根据JBoss Drools5.1.1版本进行执行引擎的构建。
JBoss Drools5.1.1是一款规则引擎,它引入了业务逻辑集成平台,它提供 了支持规则、工作流和事件处理的统一、集成的平台。JBoss Drools5.1.1可以分成4个主要的子项目:Guvnor(BRMS/BPMS)、Expert(规则引擎)、Flow(处理/工作流)、Fusion(cep/temporal reasoning)。本实施例中,所述应用服务器1就是根据JBoss Drools5.1.1的子项目Expert(规则引擎)构建指标执行引擎的。
步骤S502,生成指标定义,并根据所述指标定义生成定义表。
本实施例中,所述应用服务器1通过移动终端的web页面呈现编辑窗口,用户在移动终端的客户端通过所述编辑窗口进行指标定义的输入。本实施例中,所述移动终端可以是移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置、车载装置等等的可移动设备,以及诸如数字TV、台式计算机、笔记本、服务器等等的固定终端。
另外,所述生成指标定义的方式还包括:对已有的指标定义进行修改以生成新的指标定义。
具体地,所述指标定义包括指标计算方法代码及描述。
步骤S503,根据用户输入信息从员工数据库中获取员工参数。所述根据用户输入信息从员工数据库中获取员工参数的步骤将在本申请薪资中间指标计算方法第三实施例(图6)中详述。
步骤S504,根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎。所述根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎的步骤将在本申请薪资中间指标计算方法第四实施例(图7)中详述。
步骤S505,获取所述指标执行引擎的运行计算的中间指标。
在本实施例中,中间指标指的是在薪资计算项目中为了生成最终的薪资数据而产生的中间数据,比如在业务员的薪资计算的某一项目过程中,可能涉及的中间指标包括首年佣金、继续服务佣金或者间接佣金,而这些中间指标即佣金的计算需要编写代码赋予参数来计算获取。目前的薪资计算过程中, 对于不同项目中相同或者相似的中间指标,其计算代码都相同,只是根据赋予的不同参数最后导致不同的计算结果。
步骤S506,对所述定义表提供一专门接口,所述专门接口用于对所述定义表中的指标定义进行修改、删除和分类。这样,仅仅对所述定义表中的指标定义进行修改、删除和分类,不需要对整体代码进行修改,减少开发量。
通过上述步骤S501-506,本申请所提出的薪资中间指标的计算方法,能够通过将指标计算方法和描述维护到定义表中,可以大幅提升可读性和可维护性。而且通过专门的指标执行引擎,可以省去大量的开关代码,减少开发量。同时利用定义表的专门接口,可以通过更新定义表数据对指标计算方法的版本进行方便的切换。
参阅图6所示,是本申请薪资中间指标的计算方法第三实施例的实施流程示意图。在本实施例中,根据用户输入信息从员工数据库中获取员工参数的步骤,具体包括:
步骤S601,通过web界面接收用户输入的员工身份信息。具体地,所述员工身份信息包括工号、身份证号、社保号等唯一报名该员工身份信息的标识。
步骤S602,以所述员工身份信息索引所述员工数据库。数据库中存储有员工身份信息与员工信息的映射关系表,所述应用服务器2通过以所述员工身份信息索引数据库,即可获得员工信息,例如,薪资信息等。
步骤S603,获取与所述员工身份信息相匹配的员工参数。
具体地,所述应用服务器1通过移动终端的web界面接收用户输入的员工身份信息,然后以所述员工身份信息索引所述员工数据库;最后获取与所述员工身份信息相匹配的员工参数。
通过上述步骤S601-603,本申请所提出的薪资中间指标的计算方法,可以通过web界面用户输入信息获取员工参数。
参阅图7所示,是本申请薪资中间指标的计算方法第四实施例的实施流程示意图。在本实施例中,根据所述定义表中的指标定义和所述员工参数运 行所述指标执行引擎的步骤,具体包括:
步骤S701,将所述员工参数写入缓存。如此,防止指标执行引擎执行故障导致员工参数丢失,进而重新获取员工参数,如此影响薪资中间指标的计算流程效率。
步骤S702,将所述指标定义中的指针计算方法代码中的参数占位符替换为所述员工参数。
步骤S703,将所述缓存中的员工数据进行擦除。进而,可以提升薪资中间指标的计算的执行效率。
通过上述步骤S701-703,本申请所提出的薪资中间指标的计算方法,可以根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎。
进一步地,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有薪资中间指标的计算程序,所述薪资中间指标的计算程序可被至少一个处理器执行,以使所述至少一个处理器执行如上述的薪资中间指标的计算方法的步骤。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种薪资中间指标的计算方法,应用于应用服务器,其特征在于,所述方法包括步骤:
    构建指标执行引擎,并对所述指标执行引擎进行初始化;
    生成指标定义,并根据所述指标定义生成定义表;
    根据用户输入信息从员工数据库中获取员工参数;
    根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎;及
    获取所述指标执行引擎的运行计算的中间指标。
  2. 如权利要求1所述的薪资中间指标的计算方法,其特征在于,所述方法还包括步骤:
    对所述定义表提供一专门接口,所述专门接口用于对所述定义表中的指标定义进行修改、删除和分类。
  3. 如权利要求1所述的薪资中间指标的计算方法,其特征在于,所述构建指标执行引擎的步骤,包括:
    根据JBoss Drools5.1.1版本进行执行引擎的构建。
  4. 如权利要求1所述的薪资中间指标的计算方法,其特征在于,所述生成指标定义的步骤,包括:
    通过web页面呈现编辑窗口,用户通过所述编辑窗口进行指标定义的输入。
  5. 如权利要求1所述的薪资中间指标的计算方法,其特征在于,所述根据用户输入信息从员工数据库中获取员工参数的步骤,包括:
    通过web界面接收用户输入的员工身份信息;
    以所述员工身份信息索引所述员工数据库;及
    获取与所述员工身份信息相匹配的员工参数。
  6. 如权利要求1所述的薪资中间指标的计算方法,其特征在于,根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎的步骤,包括:
    将所述指标定义中的指针计算方法代码中的参数占位符替换为所述员工参数。
  7. 如权利要求6所述的薪资中间指标的计算方法,其特征在于,所述将所述指标定义中的指针计算方法代码中的参数占位符替换为所述员工参数的步骤之前,还包括步骤:
    将所述员工参数写入缓存。
  8. 如权利要求7所述的薪资中间指标的计算方法,其特征在于,在所述将所述指标定义中的指针计算方法代码中的参数占位符替换为所述员工参数的步骤之后,还包括步骤:
    将所述缓存中的员工数据进行擦除。
  9. 一种应用服务器,其特征在于,所述应用服务器包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的薪资中间指标的计算程序,所述薪资中间指标的计算程序被所述处理器执行时实现如下步骤:
    构建指标执行引擎,并对所述指标执行引擎进行初始化;
    生成指标定义,并根据所述指标定义生成定义表;
    根据用户输入信息从员工数据库中获取员工参数;
    根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎;及
    获取所述指标执行引擎的运行计算的中间指标。
  10. 如权利要求9所述的应用服务器,其特征在于,所述薪资中间指标的计算程序被所述处理器执行时还实现步骤:
    对所述定义表提供一专门接口,所述专门接口用于对所述定义表中的指标定义进行修改、删除和分类。
  11. 如权利要求9所述的应用服务器,其特征在于,所述构建指标执行引 擎的步骤,包括:
    根据JBoss Drools5.1.1版本进行执行引擎的构建。
  12. 如权利要求9所述的应用服务器,其特征在于,所述生成指标定义的步骤,包括:
    通过web页面呈现编辑窗口,用户通过所述编辑窗口进行指标定义的输入。
  13. 如权利要求9所述的应用服务器,其特征在于,所述根据用户输入信息从员工数据库中获取员工参数的步骤,包括:
    通过web界面接收用户输入的员工身份信息;
    以所述员工身份信息索引所述员工数据库;及
    获取与所述员工身份信息相匹配的员工参数。
  14. 如权利要求9所述的应用服务器,其特征在于,根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎的步骤,包括:
    将所述指标定义中的指针计算方法代码中的参数占位符替换为所述员工参数。
  15. 如权利要求14所述的应用服务器,其特征在于,所述将所述指标定义中的指针计算方法代码中的参数占位符替换为所述员工参数的步骤之前,还包括步骤:
    将所述员工参数写入缓存。
  16. 如权利要求15所述的应用服务器,其特征在于,在所述将所述指标定义中的指针计算方法代码中的参数占位符替换为所述员工参数的步骤之后,还包括步骤:
    将所述缓存中的员工数据进行擦除。
  17. 一种计算机可读存储介质,所述计算机可读存储介质存储有薪资中间指标的计算程序,所述薪资中间指标的计算程序可被至少一个处理器执行,以使所述至少一个处理器执行如下步骤:
    构建指标执行引擎,并对所述指标执行引擎进行初始化;
    生成指标定义,并根据所述指标定义生成定义表;
    根据用户输入信息从员工数据库中获取员工参数;
    根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎;及
    获取所述指标执行引擎的运行计算的中间指标。
  18. 如权利要求17所述的计算机可读存储介质,其特征在于,所述薪资中间指标的计算程序被所述处理器执行时还实现步骤:
    对所述定义表提供一专门接口,所述专门接口用于对所述定义表中的指标定义进行修改、删除和分类。
  19. 如权利要求17所述的计算机可读存储介质,其特征在于,所述根据用户输入信息从员工数据库中获取员工参数的步骤,包括:
    通过web界面接收用户输入的员工身份信息;
    以所述员工身份信息索引所述员工数据库;及
    获取与所述员工身份信息相匹配的员工参数。
  20. 如权利要求17所述的计算机可读存储介质,其特征在于,根据所述定义表中的指标定义和所述员工参数运行所述指标执行引擎的步骤,包括:
    将所述指标定义中的指针计算方法代码中的参数占位符替换为所述员工参数。
PCT/CN2018/089702 2017-10-23 2018-06-03 薪资中间指标的计算方法、应用服务器及计算机可存储介质 WO2019080503A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710995661.6A CN108415700A (zh) 2017-10-23 2017-10-23 薪资中间指标的计算方法、应用服务器及计算机可存储介质
CN201710995661.6 2017-10-23

Publications (1)

Publication Number Publication Date
WO2019080503A1 true WO2019080503A1 (zh) 2019-05-02

Family

ID=63125267

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089702 WO2019080503A1 (zh) 2017-10-23 2018-06-03 薪资中间指标的计算方法、应用服务器及计算机可存储介质

Country Status (2)

Country Link
CN (1) CN108415700A (zh)
WO (1) WO2019080503A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110264089A (zh) * 2019-06-24 2019-09-20 浪潮软件股份有限公司 一种基于富文本格式展现业务指标说明的方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123599A (zh) * 2014-08-12 2014-10-29 浪潮通用软件有限公司 一种基于指标定义的数据推演预测方法
CN104134127A (zh) * 2014-08-08 2014-11-05 平安养老保险股份有限公司 医疗服务提供方绩效管理系统及方法
CN107194593A (zh) * 2017-05-26 2017-09-22 湖南融安信息技术有限公司 银行绩效考核系统及其绩效考核方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9779078B2 (en) * 2004-11-05 2017-10-03 Automatic Data Processing, Inc. Payroll processor system and method
CN106096870A (zh) * 2016-07-21 2016-11-09 杭州迪脉信息科技有限公司 一种绩效数据处理方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104134127A (zh) * 2014-08-08 2014-11-05 平安养老保险股份有限公司 医疗服务提供方绩效管理系统及方法
CN104123599A (zh) * 2014-08-12 2014-10-29 浪潮通用软件有限公司 一种基于指标定义的数据推演预测方法
CN107194593A (zh) * 2017-05-26 2017-09-22 湖南融安信息技术有限公司 银行绩效考核系统及其绩效考核方法

Also Published As

Publication number Publication date
CN108415700A (zh) 2018-08-17

Similar Documents

Publication Publication Date Title
US10055455B2 (en) User driven business data aggregation and cross mapping framework
US20230401187A1 (en) Method and system for migrating content between enterprise content management systems
US9305176B2 (en) Database generation from a spreadsheet
US11709878B2 (en) Enterprise knowledge graph
AU2015347304B2 (en) Testing insecure computing environments using random data sets generated from characterizations of real data sets
WO2019134340A1 (zh) 薪资计算方法、应用服务器及计算机可读存储介质
US20180144061A1 (en) Edge store designs for graph databases
WO2019062021A1 (zh) 在应用程序中推送贷款广告的方法、电子装置及介质
WO2019062189A1 (zh) 电子装置、数据表归档处理的方法、系统及存储介质
WO2019085463A1 (zh) 部门需求的推荐方法、应用服务器及计算机可读存储介质
CN109522332A (zh) 客户信息数据合并方法、装置、设备及可读存储介质
US20180357330A1 (en) Compound indexes for graph databases
US11442953B2 (en) Methods and apparatuses for improved data ingestion using standardized plumbing fields
CN112464625A (zh) 单据生成方法、装置、计算机设备和存储介质
CN115544183A (zh) 数据可视化方法、装置、计算机设备和存储介质
WO2019071958A1 (zh) 基于云计算的薪资计算方法、应用服务器及计算机可读存储介质
US10169404B2 (en) Automatically aggregating data in database tables
US10185757B2 (en) Non-uniform multi-row text file loading
CN108108392B (zh) 商品数据管理方法、装置、计算机设备及存储介质
WO2019071964A1 (zh) 企业关系的建立方法及应用服务器
WO2019080503A1 (zh) 薪资中间指标的计算方法、应用服务器及计算机可存储介质
US20180144060A1 (en) Processing deleted edges in graph databases
US10956386B2 (en) Methods and apparatuses for automated performance tuning of a data modeling platform
US9026562B2 (en) Methods and systems for agnostic data storage
US10664501B2 (en) Deriving and interpreting users collective data asset use across analytic software systems

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: 18869483

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 23.09.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18869483

Country of ref document: EP

Kind code of ref document: A1