WO2019071957A1 - Salary calculation method, application server and computer-readable storage medium - Google Patents
Salary calculation method, application server and computer-readable storage medium Download PDFInfo
- Publication number
- WO2019071957A1 WO2019071957A1 PCT/CN2018/089350 CN2018089350W WO2019071957A1 WO 2019071957 A1 WO2019071957 A1 WO 2019071957A1 CN 2018089350 W CN2018089350 W CN 2018089350W WO 2019071957 A1 WO2019071957 A1 WO 2019071957A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- salary
- task
- calculation
- parent
- salary calculation
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/105—Human resources
- G06Q10/1057—Benefits or employee welfare, e.g. insurance, holiday or retirement packages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/125—Finance or payroll
Definitions
- the present application relates to the field of salary management technologies, and in particular, to a salary calculation method, an application server, and a computer readable storage medium.
- the salary management system database usually sets salary accounting subjects, basic salary, overtime, late arrival, absenteeism, etc., where the salary accounting subjects usually reserve some blank fields to meet the needs of various industries, so that they can set themselves.
- the salary account field, and each subject field will set the relevant calculation formula by means of calculating parameters.
- Each salary account field can be further divided into basic salary, salary plus account and salary reduction account, and the basic salary includes Basic salary, overtime work, etc., salary plus subjects include job allowances, bonuses and other subjects, while deductions include late, leave, insurance deduction and other subjects, while company personnel set the required according to the nature of the job, position, etc.
- the salary subject in conjunction with the basic salary of the staff plus the salary plus account and the deduction of the salary reduction account, the salary income of the person.
- the system integrates relevant personnel data and calculates the results, and achieves the purpose of using the system for personnel salary management.
- the existing salary management system basically inputs information by hand, and according to the different situations of employees at different levels, the basis of performance comparison is different, and thus the parameter standards of performance such as bonuses are also different.
- the employees The level and number are getting larger and larger, and the number of salary calculations is becoming more and more huge, which makes the salary calculation process time-consuming and labor-efficient.
- the purpose of the present application is to provide a salary calculation method, an application server, and a computer readable storage medium to solve the problem that the salary calculation process is time-consuming, labor-intensive, and inefficient.
- the present application provides a salary calculation method, the method comprising the steps of:
- Parallel calculation of the salary of the person corresponding to the same task is performed according to the parameter information corresponding to the plurality of parent tasks and the plurality of subtasks in combination with the preset calculation formula.
- the present application further provides an application server, where the application server includes a memory and a processor, where the memory stores a salary calculation system executable on the processor, and the salary calculation system
- the application server includes a memory and a processor, where the memory stores a salary calculation system executable on the processor, and the salary calculation system
- Parallel calculation of the salary of the person corresponding to the same task is performed according to the parameter information corresponding to the plurality of parent tasks and the plurality of subtasks in combination with the preset calculation formula.
- the present application further provides a computer readable storage medium storing a salary calculation system, the salary calculation system being executable by at least one processor to enable the at least one A processor executes the steps of the salary calculation method described above.
- the salary calculation method, the application server and the computer readable storage medium proposed by the application by creating a salary calculation task, analyze and disassemble the salary calculation task in the background, to perform task decomposition, integrate multiple parent tasks and multiple subtasks According to the parameter information corresponding to each task and the preset salary calculation formula, the salary of the person corresponding to the subtask is calculated in parallel, and the salary of the corresponding task of the parent task is calculated according to the salary result of the subtask personnel.
- the salary calculation method of the embodiment makes full use of the CPU resources, improves the salary calculation efficiency, and effectively reduces the error rate.
- FIG. 1 is a schematic diagram of an optional application environment of each embodiment of the present application.
- FIG. 2 is a schematic diagram of an optional hardware architecture of the application server of FIG. 1;
- FIG. 3 is a schematic block diagram of a salary calculation system according to a first embodiment of the present application.
- FIG. 5 is a flowchart of a salary calculation method according to a third embodiment of the present application.
- FIG. 6 is a flowchart of a salary calculation method according to a fourth embodiment of the present application.
- first, second and the like in the present application are for the purpose of description only, and are not to be understood as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. .
- features defining “first” and “second” may include at least one of the features, either explicitly or implicitly.
- the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
- FIG. 1 it is a schematic diagram of an optional application environment of each embodiment of the present application.
- the present application is applicable to an application environment including, but not limited to, the attendance device 1, the application server 2, and the network 3.
- the attendance device 1 can be a device for recording attendance information, such as a card attendance machine, a fingerprint attendance machine, a face recognition attendance machine, a mobile phone, a notebook computer, a computer, and the like.
- the application server 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server.
- the application server 2 may be a stand-alone server or a server cluster composed of multiple servers.
- the network 3 may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, Wireless or wired networks such as 5G networks, Bluetooth, Wi-Fi, and call networks.
- GSM Global System of Mobile communication
- WCDMA Wideband Code Division Multiple Access
- the application server 2 is respectively connected to one or more of the attendance devices 1 through the network 3 for data transmission and interaction.
- the application server 2 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. It is to be noted that FIG. 2 only shows the application server 2 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 2, such as a hard disk or memory of the application server 2.
- the memory 11 may also be an external storage device of the application server 2, such as a plug-in hard disk equipped on the application server 2, a smart memory card (SMC), and a secure digital number. (Secure Digital, SD) card, flash card, etc.
- the memory 11 can also include both the internal storage unit of the application server 2 and its external storage device.
- the memory 11 is generally used to store an operating system installed on the application server 2 and various types of application software, such as program codes of the salary calculation system 300. 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 2, such as performing control and processing related to data interaction or communication with the attendance device 1.
- the processor 12 is configured to run program code or process data stored in the memory 11, such as running the salary calculation system 300 and the like.
- 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 2 and other electronic devices.
- the network interface 13 is mainly used to connect the application server 2 to one or more of the attendance devices 1 through the network 3, and the application server 2 and the one or more attendances. A data transmission channel and a communication connection are established between the devices 1.
- the present application provides a salary calculation system 300 including a series of computer program instructions stored in the memory 11, and when the computer program instructions are executed by the processor 12, the embodiments of the present application can be implemented. Payroll calculation operation.
- the payroll computing system 300 can be partitioned into one or more modules based on the particular operations implemented by the various portions of the computer program instructions.
- the salary calculation system 300 can be divided into: a creation module 310, a parsing module 320, a task disassembly module 330, an integration module 340, a calculation module 350, a determination module 360, and a payroll issuance module 370. among them:
- a module 310 is created for creating a salary calculation task.
- the parsing module 320 is configured to parse the salary calculation task.
- the task disassembly module 330 is configured to disassemble the salary calculation task into a plurality of parent tasks and a plurality of child tasks, wherein the parent task is a superior of the corresponding child tasks.
- the integration module 340 is configured to integrate the plurality of parent tasks and subtasks, and output a task list.
- the calculating module 360 is configured to perform parallel calculation on the salary of the personnel corresponding to the same task according to the parameter information corresponding to the multiple parent tasks and the plurality of subtasks in combination with the preset calculation formula.
- the creating module 310 pre-sets basic information of each employee, the organizational structure and post level of the employee, and assigns different parameter information to personnel of different organizational structures and post levels.
- This parameter information corresponds to different salary standards.
- the basic information includes name, gender, job number, age, ancestral home, place of residence, marriage status, and child status.
- the overall organization frame may be divided by regions, such as: South China, North China, and the like.
- Each organizational frame is set to multiple parents and children corresponding to the parent.
- South China District is divided into regional managers, multiple deputy managers, and a number of ministers under each deputy manager.
- Each minister has multiple team leaders and each team leader has multiple positions.
- Staff Furthermore, for the deputy manager, the regional manager is the parent and the minister is the child.
- the deputy manager is the parent and the leader is the child. In other words, the parent and child are the corresponding relationships.
- the payroll calculation system 300 is communicatively coupled to the attendance system via a network communication system.
- the attendance system receives the attendance data imported by the employee from the attendance device 1 such as the card attendance machine daily to learn the attendance of the employee's attendance, overtime and vacation.
- the attendance system transmits the attendance to the salary calculation system 300 through the network communication system.
- a salary calculation task is created according to the user's operation.
- Salary calculation tasks include: region, rank, commission month, and so on.
- the user selects information of the South China area and the second-level personnel to create a salary calculation task, and sends it to the parsing module 320 in the form of a message packet.
- the salary calculation task of this embodiment is a database-based calculation task.
- the database can be an Oracle database (Oracle Database, Oracle), Oracle database is a closed parameter database database management system of Oracle, the system is portable, easy to use, powerful, suitable for all types of large , medium, small, computer environment.
- Oracle database is a closed parameter database database management system of Oracle, the system is portable, easy to use, powerful, suitable for all types of large , medium, small, computer environment.
- the parsing module 320 receives the message package including the salary calculation task, and parses the salary calculation task according to the created salary calculation task, that is, parses the salary commission that needs to be calculated. For example, the South China District and the second-level personnel are analyzed from the salary calculation task as a task to be calculated.
- the task disassembly module 330 disassembles the salary calculation task according to the organizational structure, first decomposes according to the personnel level, specifically splits it into multiple parent tasks and multiple subtasks, and the parent task corresponds to the parent information, and the subtask Corresponds to the information of the child, and the parent task is the superior of the child task.
- the manager of the regional manager of South China is A
- the deputy manager is B and C
- the ministers under B are D and E
- the ministers under C are F
- the members of D are G and H.
- Split into AH's salary calculation task and divide the AH hierarchical relationship.
- the integration module 340 integrates the plurality of parent tasks and subtasks split by the task disassembly module 330, and outputs the task list.
- the task list records the profile of each subtask and the parent task and the corresponding salary list to be calculated.
- the salary list includes the first commission, renewal commission, rank allowance, team performance, and so on.
- calculation module 350 is specifically configured to:
- the calculation program of the calculation module 350 each time calculating the salary includes calculating the salary of the subtask in parallel according to the task list of each employee and the preset salary calculation formula.
- each employee's salary distribution project set the specific salary item to be issued this time, and calculate the salary and special salary of some fixed items according to the preset salary calculation formula for different employees.
- Set different parameter information such as different parameters of different ranks, different performance parameters of different ranks. If there is a situation where the formula cannot be used, for the employee, enter the salary items and amounts that are issued this time but the system cannot calculate, to make up for the incompleteness of the system formula.
- the parallel calculation of the salary of the subtasks simplifies the salary calculation process and improves the overall calculation efficiency.
- the salary of the parent corresponding to the parent task is calculated according to the above process, and so on.
- the salary information of the employee can be calculated because the parameter information of the basic salary, the tax and the fee benchmark of the same level is the same, and the parameter information of each level is substituted into the preset formula.
- parameter information can be customized, and the customized parameter information can be higher or lower than the ordinary parameter information to distinguish employees with different performances.
- step B is performed after step A, if the salary and subtask of the parent corresponding to the parent task If the corresponding personnel salary result is irrelevant, step B may be omitted, and the salary calculation process corresponding to the parent task is the same as the salary process corresponding to the calculation of the sub-task in step A.
- the determining module 360 is configured to determine whether the salary calculation result is passed through the audit. If so, the payroll issuance module 370 is triggered.
- the salary issuance module 370 is configured to perform an actual salary payment operation according to the confirmed amount, and complete the salary payment of the employee.
- the task list and the amount of the issuance are sent to the supervisor for review.
- the judgment module 360 judges that the audit is passed, the fund is issued, and if the judgment module 360 judges that the audit has not passed. , then adjust its salary data again and submit it until the audit department approves the salary calculation result and completes the confirmation of the project and the amount.
- the salary calculation system 300 createds a salary calculation task through the creation module 310, and the task disassembly module 330 and the integration module 340 perform background analysis and disassemble the salary calculation task to perform task decomposition and integration.
- the parent task and the plurality of subtasks, the calculation module 350 calculates the salary of the child corresponding to the subtask in parallel according to the parameter information corresponding to each task and the preset salary calculation formula, and then calculates the personnel corresponding to the parent task according to the salary result of the subtask personnel.
- Salary This embodiment makes full use of the CPU resources, improves the salary calculation efficiency, and effectively reduces the error rate.
- the second embodiment of the present application proposes a salary calculation method.
- 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.
- the method includes the following steps:
- step 410 a salary calculation task is created.
- Step 420 Disassemble the salary calculation task into a plurality of parent tasks and a plurality of child tasks, wherein the parent task is a superior of the corresponding child tasks.
- Step 430 Perform parallel calculation on the salary of the personnel corresponding to the same task according to the parameter information corresponding to the multiple parent tasks and the plurality of subtasks in combination with the preset calculation formula.
- step 410 the basic information of each employee, the organizational structure and the post level of each employee are set in advance, and different parameter information is assigned to personnel of different organizational structures and post levels.
- This parameter information corresponds to different salary standards.
- the basic information includes name, gender, job number, age, ancestral home, place of residence, marriage status, and child status.
- the overall organization frame may be divided by regions, such as: South China, North China, and the like.
- Each organizational frame is set to multiple parents and children corresponding to the parent.
- South China District is divided into regional managers, multiple deputy managers, and a number of ministers under each deputy manager.
- Each minister has multiple team leaders and each team leader has multiple positions.
- Staff Furthermore, for the deputy manager, the regional manager is the parent and the minister is the child.
- the deputy manager is the parent and the leader is the child. In other words, the parent and child are the corresponding relationships.
- the application server 2 receives the attendance data imported by the attendance device 1 such as the card attendance machine from the employee through the network communication system to learn the attendance of the employee's attendance, overtime and vacation. Based on the previously preset parameter information, a salary calculation task is created according to the user's operation. Salary calculation tasks include: region, rank, commission month, and so on. For example, in the operation interface of the salary calculation system 300, the user selects the information of the South China area and the second-level personnel to create a salary calculation task, and sends it in the form of a message packet.
- the salary calculation task of this embodiment is a database-based calculation task.
- the database can be an Oracle database (Oracle Database, Oracle), Oracle database is a closed parameter database database management system of Oracle, the system is portable, easy to use, powerful, suitable for all types of large , medium, small, computer environment.
- Oracle database is a closed parameter database database management system of Oracle, the system is portable, easy to use, powerful, suitable for all types of large , medium, small, computer environment.
- the salary calculation task is disassembled, firstly decomposed according to the personnel level, and specifically split into multiple parent tasks and multiple subtasks, the parent task corresponds to the parent information, and the subtask Corresponds to the information of the child, and the parent task is the superior of the child task.
- the manager of the regional manager of South China is A
- the deputy manager is B and C
- the ministers under B are D and E
- the ministers under C are F
- the members of D are G and H.
- Split into AH's salary calculation task and divide the AH hierarchical relationship.
- performing parallel calculation on the salary of the person corresponding to the same task in step 430 further includes:
- each time the job program for calculating the salary includes calculating the salary of the subtask in parallel according to the task list of each employee and the preset salary calculation formula.
- each employee's salary distribution project set the specific salary item to be issued this time, and calculate the salary and special salary of some fixed items according to the preset salary calculation formula for different employees.
- Set different parameter information such as different parameters of different ranks, different performance parameters of different ranks. If there is a situation where the formula cannot be used, for the employee, enter the salary items and amounts that are issued this time but the system cannot calculate, to make up for the incompleteness of the system formula.
- the parallel calculation of the salary of the subtasks simplifies the salary calculation process and improves the overall calculation efficiency.
- the salary of the parent corresponding to the parent task is calculated according to the above process, and so on.
- the salary information of the employee can be calculated because the parameter information of the basic salary, the tax and the fee benchmark of the same level is the same, and the parameter information of each level is substituted into the preset formula.
- parameter information can be customized, and the customized parameter information can be higher or lower than the ordinary parameter information to distinguish employees with different performances.
- step B is performed after step A, if the salary and subtask of the parent corresponding to the parent task If the corresponding personnel salary result is irrelevant, step B may be omitted, and the salary calculation process corresponding to the parent task is the same as the salary process corresponding to the calculation of the sub-task in step A.
- the salary calculation method provided in this embodiment, by creating a salary calculation task, analyzes and disassembles the salary calculation task in the background, performs task decomposition, integrates multiple parent tasks and multiple subtasks, and according to parameters corresponding to each task.
- the information and the preset salary calculation formula calculate the salary of the personnel corresponding to the subtask in parallel, and then calculate the salary of the corresponding task of the parent task according to the salary result of the subtask personnel.
- the salary calculation method of the embodiment makes full use of the CPU resources, improves the salary calculation efficiency, and effectively reduces the error rate.
- the third embodiment of the present application proposes a salary calculation method.
- 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.
- the method includes the following steps:
- step 510 a salary calculation task is created.
- Step 520 parsing the salary calculation task.
- Step 530 According to the parsing result, the salary calculation task is disassembled into a plurality of parent tasks and a plurality of subtasks, wherein the parent task is a superior of the corresponding subtasks.
- Step 540 Integrate the plurality of parent tasks and subtasks, and output a task list.
- Step 550 Perform parallel calculation on the salary of the personnel corresponding to the same task according to the parameter information corresponding to the multiple parent tasks and the plurality of subtasks in combination with the preset calculation formula.
- the basic information of each employee, the organizational structure and the post level of each employee are preset in the salary calculation system, and different parameter information is assigned to personnel of different organizational structures and post levels.
- This parameter information corresponds to different salary standards.
- the basic information includes name, gender, job number, age, ancestral home, place of residence, marriage status, and child status.
- the overall organization frame may be divided by regions, such as: South China, North China, and the like.
- Each organizational frame is set to multiple parents and children corresponding to the parent.
- South China District is divided into regional managers, multiple deputy managers, and a number of ministers under each deputy manager.
- Each minister has multiple team leaders and each team leader has multiple positions.
- Staff Furthermore, for the deputy manager, the regional manager is the parent and the minister is the child.
- the deputy manager is the parent and the leader is the child. In other words, the parent and child are the corresponding relationships.
- the application server 2 receives the attendance data imported by the attendance device 1 such as the card attendance machine from the employee through the network communication system to learn the attendance of the employee's attendance, overtime and vacation. Based on the previously preset parameter information, a salary calculation task is created according to the user's operation. Salary calculation tasks include: region, rank, commission month, and so on. For example, in the operation interface of the salary calculation system, the user selects information of the South China and the second-level personnel to create a salary calculation task, and sends the message in the form of a message packet.
- the salary calculation task of this embodiment is a database-based calculation task.
- the database can be an Oracle database.
- the Oracle database is a closed parameter database management system of Oracle Corporation. The system is portable, easy to use, and powerful. It is suitable for all kinds of large, medium, small, and micro computers. surroundings.
- step 520 a message package including a salary calculation task is received, and the salary calculation task is parsed according to the created salary calculation task, that is, the salary commission that needs to be calculated is parsed.
- the salary calculation task is parsed according to the created salary calculation task, that is, the salary commission that needs to be calculated is parsed.
- the South China District and the second-level personnel are analyzed from the salary calculation task as a task to be calculated.
- the salary calculation task is disassembled, firstly decomposed according to the personnel level, and specifically split into multiple parent tasks and multiple subtasks, the parent task and The information of the parent corresponds to the subtask corresponding to the information of the subordinate, and the parent task is the superior of the subtask.
- the manager of the regional manager of South China is A
- the deputy manager is B and C
- the ministers under B are D and E
- the ministers under C are F
- the members of D are G and H.
- Split into AH's salary calculation task and divide the AH hierarchical relationship.
- step 540 the plurality of parent tasks and subtasks split in step 530 are integrated to output a task list.
- the task list records the profile of each subtask and the parent task and the corresponding salary list to be calculated.
- the salary list includes the first commission, renewal commission, rank allowance, team performance, and so on.
- step 550 further includes:
- step 550 each time the salary calculation program is calculated, the salary of the subtask is calculated in parallel according to each employee's task list and a preset salary calculation formula.
- each employee's salary distribution project set the specific salary item to be issued this time, and calculate the salary and special salary of some fixed items according to the preset salary calculation formula for different employees.
- Set different parameter information such as different parameters of different ranks, different performance parameters of different ranks. If there is a situation where the formula cannot be used, for the employee, enter the salary items and amounts that are issued this time but the system cannot calculate, to make up for the incompleteness of the system formula.
- the parallel calculation of the salary of the subtasks simplifies the salary calculation process and improves the overall calculation efficiency.
- the salary of the parent corresponding to the parent task is calculated according to the above process, and so on.
- the salary information of the employee can be calculated because the parameter information of the basic salary, the tax and the fee benchmark of the same level is the same, and the parameter information of each level is substituted into the preset formula.
- parameter information can be customized, and the customized parameter information can be higher or lower than the ordinary parameter information to distinguish employees with different performances.
- step B is performed after step A, if the salary and subtask of the parent corresponding to the parent task If the corresponding personnel salary result is irrelevant, step B may be omitted, and the salary calculation process corresponding to the parent task is the same as the salary process corresponding to the calculation of the sub-task in step A.
- the salary calculation method analyzes the salary calculation task, integrates multiple parent tasks and sub-tasks, and then outputs the task list, thereby fully utilizing the processor resources of the system, improving the salary calculation efficiency, and effectively Reduced error rates.
- the fourth embodiment of the present application further provides a salary calculation method.
- the salary calculation method is based on the second embodiment or the third embodiment. Further improvement, the only difference is that the method further includes:
- step 610 it is determined whether the salary calculation result is passed through the audit. If yes, go to step 620. If no, the flow ends.
- step 620 according to the confirmed amount, the actual salary issuance operation is performed, and the salary payment of the employee is completed.
- the task list and the amount of the issuance will be sent to the supervisor for review.
- the supervisor According to the audit results of the salary items and the amount of the supervisor, if the approval is passed, the funds will be released. If the audit fails, the salary data will be adjusted again. And submit it until the audit department approves the salary calculation result and completes the confirmation of the release project and the amount.
- the salary calculation method provided by the embodiment of the present application determines whether the salary calculation result is passed through the examination, and when the approval is passed, the actual salary payment operation is performed, and the whole process from the salary calculation to the salary payment is completed.
- the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and can also be implemented by hardware, but in many cases, the former is A better implementation.
- 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)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Development Economics (AREA)
- General Engineering & Computer Science (AREA)
- Technology Law (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Disclosed are a salary calculation method, an application server and a computer-readable storage medium. The method comprises: creating a salary calculation task; dividing the salary calculation task into multiple parent tasks and multiple child tasks; and according to parameter information corresponding to the multiple parent tasks and the multiple child tasks and in conjunction with a pre-set calculation formula, conducting parallel calculation on personnel salaries corresponding to the same task. The salary calculation method, the application server and the computer-readable storage medium of the present application make full use of CPU resources, thus improving the efficiency of salary calculation, and effectively reducing the error rate.
Description
优先权申明Priority claim
本申请要求于2017年10月13日提交中国专利局、申请号为201710951691.7,发明名称为“薪资计算方法、应用服务器及计算机可读存储介质”的中国专利申请的优先权,其内容全部通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201710951691.7, entitled "Payment Calculation Method, Application Server and Computer Readable Storage Medium", which is filed on October 13, 2017, the entire contents of which are hereby incorporated by reference. Combined in this application.
本申请涉及薪资管理技术领域,尤其涉及一种薪资计算方法、应用服务器及计算机可读存储介质。The present application relates to the field of salary management technologies, and in particular, to a salary calculation method, an application server, and a computer readable storage medium.
薪资管理系统的数据库通常会设定薪资会计科目、人员基本薪资、加班、迟到、缺勤等等资料,其中薪资会计科目为符合各种行业需求通常多预留一些空白栏位,以可自行设定薪资科目栏位,且各个科目栏位会以计算参数的方式,设定相关的计算公式,各薪资科目栏位又可区分成基本薪资、薪资加项科目以及薪资减项科目,该基本薪资包括底薪、加班等等,薪资加项科目包括职务津贴、奖金等科目,而减项科目则包括迟到、请假、保险抵扣等科目,而公司人员则依据工作性质、职位等分别设定所需的薪资科目,配合人员基本薪资加上薪资加项科目并减除薪资减项科目,即得该人员的薪资所得。由系统整合相关人事资料并计算结果,达成利用系统作人事薪资管理的目的。The salary management system database usually sets salary accounting subjects, basic salary, overtime, late arrival, absenteeism, etc., where the salary accounting subjects usually reserve some blank fields to meet the needs of various industries, so that they can set themselves. The salary account field, and each subject field will set the relevant calculation formula by means of calculating parameters. Each salary account field can be further divided into basic salary, salary plus account and salary reduction account, and the basic salary includes Basic salary, overtime work, etc., salary plus subjects include job allowances, bonuses and other subjects, while deductions include late, leave, insurance deduction and other subjects, while company personnel set the required according to the nature of the job, position, etc. The salary subject, in conjunction with the basic salary of the staff plus the salary plus account and the deduction of the salary reduction account, the salary income of the person. The system integrates relevant personnel data and calculates the results, and achieves the purpose of using the system for personnel salary management.
然而,现有的薪资管理系统基本通过人工录入信息,而且根据不同层级员工的不同情况,其绩效比较的基础也不同,进而使得奖金等绩效的参数标准也不同,随着企业的壮大,员工的等级和数量越来越庞大,薪资计算涉及的数量也变得愈发巨大,造成薪资计算过程费时费力,效率较低。However, the existing salary management system basically inputs information by hand, and according to the different situations of employees at different levels, the basis of performance comparison is different, and thus the parameter standards of performance such as bonuses are also different. As the enterprise grows, the employees The level and number are getting larger and larger, and the number of salary calculations is becoming more and more huge, which makes the salary calculation process time-consuming and labor-efficient.
发明内容Summary of the invention
有鉴于此,本申请的目的在于提供一种薪资计算方法、应用服务器及计算机可读存储介质,以解决薪资计算过程费时费力、效率较低的问题。In view of this, the purpose of the present application is to provide a salary calculation method, an application server, and a computer readable storage medium to solve the problem that the salary calculation process is time-consuming, labor-intensive, and inefficient.
为实现上述目的,本申请提供一种薪资计算方法,该方法包括步骤:To achieve the above object, the present application provides a salary calculation method, the method comprising the steps of:
创建薪资计算任务;Create a salary calculation task;
将所述薪资计算任务拆解为多个父任务和多个子任务,其中,所述父任务是对应子任务的上级;Dissolving the salary calculation task into a plurality of parent tasks and a plurality of child tasks, wherein the parent tasks are upper levels of the corresponding child tasks;
根据所述多个父任务和多个子任务对应的参数信息并结合预设的计算公式,对相同任务对应的人员薪资进行并行计算。Parallel calculation of the salary of the person corresponding to the same task is performed according to the parameter information corresponding to the plurality of parent tasks and the plurality of subtasks in combination with the preset calculation formula.
此外,为实现上述目的,本申请还提供一种应用服务器,所述应用服务器包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的薪资计算系统,所述薪资计算系统被所述处理器执行时实现如下步骤:In addition, in order to achieve the above object, the present application further provides an application server, where the application server includes a memory and a processor, where the memory stores a salary calculation system executable on the processor, and the salary calculation system The following steps are implemented when executed by the processor:
创建薪资计算任务;Create a salary calculation task;
将所述薪资计算任务拆解为多个父任务和多个子任务,其中,所述父任务是对应子任务的上级;Dissolving the salary calculation task into a plurality of parent tasks and a plurality of child tasks, wherein the parent tasks are upper levels of the corresponding child tasks;
根据所述多个父任务和多个子任务对应的参数信息并结合预设的计算公式,对相同任务对应的人员薪资进行并行计算。Parallel calculation of the salary of the person corresponding to the same task is performed according to the parameter information corresponding to the plurality of parent tasks and the plurality of subtasks in combination with the preset calculation formula.
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有薪资计算系统,所述薪资计算系统可被至少一个处理器执行,以使所述至少一个处理器执行上述的薪资计算方法的步骤。Moreover, in order to achieve the above object, the present application further provides a computer readable storage medium storing a salary calculation system, the salary calculation system being executable by at least one processor to enable the at least one A processor executes the steps of the salary calculation method described above.
本申请提出的薪资计算方法、应用服务器及计算机可读存储介质,通过创建薪资计算任务,由后台分析、拆解该薪资计算任务,以对其进行任务分解、整合多个父任务和多个子任务,根据每个任务对应的参数信息和预设的薪资计算公式,并行计算子任务对应的人员薪资,再根据子任务人员的薪资结果计算得到父任务对应的人员薪资。本实施例的薪资计算方法充分利用了CPU资源,提升了薪资计算效率,并且有效降低了出错率。The salary calculation method, the application server and the computer readable storage medium proposed by the application, by creating a salary calculation task, analyze and disassemble the salary calculation task in the background, to perform task decomposition, integrate multiple parent tasks and multiple subtasks According to the parameter information corresponding to each task and the preset salary calculation formula, the salary of the person corresponding to the subtask is calculated in parallel, and the salary of the corresponding task of the parent task is calculated according to the salary result of the subtask personnel. The salary calculation method of the embodiment makes full use of the CPU resources, improves the salary calculation efficiency, and effectively reduces the error rate.
图1是本申请各个实施例一可选的应用环境示意图;1 is a schematic diagram of an optional application environment of each embodiment of the present application;
图2是图1中应用服务器一可选的硬件架构的示意图;2 is a schematic diagram of an optional hardware architecture of the application server of FIG. 1;
图3为本申请第一实施例提出的薪资计算系统的模块示意图;3 is a schematic block diagram of a salary calculation system according to a first embodiment of the present application;
图4为本申请第二实施例提出的薪资计算方法的流程图;4 is a flowchart of a salary calculation method according to a second embodiment of the present application;
图5为本申请第三实施例提出的薪资计算方法的流程图;FIG. 5 is a flowchart of a salary calculation method according to a third embodiment of the present application; FIG.
图6为本申请第四实施例提出的薪资计算方法的流程图。FIG. 6 is a flowchart of a salary calculation method according to a fourth embodiment of the present application.
本申请目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The object of the present application, the features and advantages of the present application will be further described with reference to the accompanying drawings.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, 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. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的, 而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions of "first", "second" and the like in the present application are for the purpose of description only, and are not to be understood as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. . Thus, features defining "first" and "second" may include at least one of the features, either explicitly or implicitly. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
参阅图1所示,是本申请各个实施例一可选的应用环境示意图。Referring to FIG. 1 , it is a schematic diagram of an optional application environment of each embodiment of the present application.
在本实施例中,本申请可应用于包括,但不仅限于,考勤装置1、应用服务器2、网络3的应用环境中。其中,所述考勤装置1可以是刷卡考勤机、指纹考勤机、人脸识别考勤机、手机、笔记本电脑、计算机等可以进行考勤信息录入的装置。所述应用服务器2可以是机架式服务器、刀片式服务器、塔式服务器或机柜式服务器等计算设备,该应用服务器2可以是独立的服务器,也可以是多个服务器所组成的服务器集群。所述网络3可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi、通话网络等无线或有线网络。In this embodiment, the present application is applicable to an application environment including, but not limited to, the attendance device 1, the application server 2, and the network 3. The attendance device 1 can be a device for recording attendance information, such as a card attendance machine, a fingerprint attendance machine, a face recognition attendance machine, a mobile phone, a notebook computer, a computer, and the like. The application server 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server. The application server 2 may be a stand-alone server or a server cluster composed of multiple servers. The network 3 may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, Wireless or wired networks such as 5G networks, Bluetooth, Wi-Fi, and call networks.
其中,所述应用服务器2中通过所述网络3分别与一个或多个所述考勤装置1通信连接,以进行数据传输和交互。The application server 2 is respectively connected to one or more of the attendance devices 1 through the network 3 for data transmission and interaction.
参阅图2所示,是图1中应用服务器2一可选的硬件架构的示意图。本实施例中,所述应用服务器2可包括,但不仅限于,可通过系统总线相互通信连接存储器11、处理器12、网络接口13。需要指出的是,图2仅示出了具有组件11-13的应用服务器2,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。Referring to FIG. 2, it is a schematic diagram of an optional hardware architecture of the application server 2 in FIG. In this embodiment, the application server 2 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. It is to be noted that FIG. 2 only shows the application server 2 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.
其中,所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器11可以是所述应用服务器2的内部存储单元,例如该应用服务器2的硬盘或内存。在另一些实施例中,所述存储器11也可以是所述应用服务器2的外部存储设备,例如该应用服务器2上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器11还可以既包括所述应用服务器2的内部存储单元也包括其外部存储设备。本实施例中,所述存储器11通常用于存储安装于所述应用服务器2的操作系统和各类应用软件,例如所述薪资计算系统300的程序代码等。此外,所述存储器11还可以用于暂时地存储已经输出或者将要输出的各类数据。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. In some embodiments, the memory 11 may be an internal storage unit of the application server 2, such as a hard disk or memory of the application server 2. In other embodiments, the memory 11 may also be an external storage device of the application server 2, such as a plug-in hard disk equipped on the application server 2, a smart memory card (SMC), and a secure digital number. (Secure Digital, SD) card, flash card, etc. Of course, the memory 11 can also include both the internal storage unit of the application server 2 and its external storage device. In this embodiment, the memory 11 is generally used to store an operating system installed on the application server 2 and various types of application software, such as program codes of the salary calculation system 300. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
所述处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12通常用于控制所述应用服务器2的总体操作,例如执行与所述考勤装置1进行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器12用于运行所述存储器11中存储的程序代码或者处理数据,例如运行所述的薪资计算系统300等。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 2, such as performing control and processing related to data interaction or communication with the attendance device 1. In this embodiment, the processor 12 is configured to run program code or process data stored in the memory 11, such as running the salary calculation system 300 and the like.
所述网络接口13可包括无线网络接口或有线网络接口,该网络接口13通常用于在所述应用服务器2与其他电子设备之间建立通信连接。本实施例中,所述网络接口13主要用于通过所述网络3将所述应用服务器2与一个或多个所述考勤装置1相连,在所述应用服务器2与所述一个或多个考勤装置1之间的建立数据传输通道和通信连接。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 2 and other electronic devices. In this embodiment, the network interface 13 is mainly used to connect the application server 2 to one or more of the attendance devices 1 through the network 3, and the application server 2 and the one or more attendances. A data transmission channel and a communication connection are established between the devices 1.
至此,己经详细介绍了本申请各个实施例的应用环境和相关设备的硬件结构和功能。下面,将基于上述应用环境和相关设备,提出本申请的各个实施例。So far, the application environment of the various embodiments of the present application and the hardware structure and functions of related devices have been described in detail. Hereinafter, various embodiments of the present application will be proposed based on the above-described application environment and related devices.
第一实施例First embodiment
如图3所示,本申请提供一种薪资计算系统300,包括一系列的存储于存储器11上的计算机程序指令,当该计算机程序指令被处理器12执行时,可以实现本申请各实施例的薪资计算操作。在一些实施例中,基于该计算机程序指令各部分所实现的特定的操作,薪资计算系统300可以被分割成一个或多个模块。例如,在图3中,所述的薪资计算系统300可以被分割成:创建模块310、解析模块320、任务拆解模块330、整合模块340、计算模块350、判断模块360以及薪资发放模块370。其中:As shown in FIG. 3, the present application provides a salary calculation system 300 including a series of computer program instructions stored in the memory 11, and when the computer program instructions are executed by the processor 12, the embodiments of the present application can be implemented. Payroll calculation operation. In some embodiments, the payroll computing system 300 can be partitioned into one or more modules based on the particular operations implemented by the various portions of the computer program instructions. For example, in FIG. 3, the salary calculation system 300 can be divided into: a creation module 310, a parsing module 320, a task disassembly module 330, an integration module 340, a calculation module 350, a determination module 360, and a payroll issuance module 370. among them:
创建模块310,用于创建薪资计算任务。A module 310 is created for creating a salary calculation task.
解析模块320,用于解析所述薪资计算任务。The parsing module 320 is configured to parse the salary calculation task.
任务拆解模块330,用于将所述薪资计算任务拆解为多个父任务和多个子任务,其中,所述父任务是对应子任务的上级。The task disassembly module 330 is configured to disassemble the salary calculation task into a plurality of parent tasks and a plurality of child tasks, wherein the parent task is a superior of the corresponding child tasks.
整合模块340,用于整合所述多个父任务和子任务,并输出任务列表。The integration module 340 is configured to integrate the plurality of parent tasks and subtasks, and output a task list.
计算模块360,用于根据所述多个父任务和多个子任务对应的参数信息并结合预设的计算公式,对相同任务对应的人员薪资进行并行计算。The calculating module 360 is configured to perform parallel calculation on the salary of the personnel corresponding to the same task according to the parameter information corresponding to the multiple parent tasks and the plurality of subtasks in combination with the preset calculation formula.
具体的,创建模块310预先设置每个员工的基本信息、所在的组织架构和岗位级别,并对不同组织架构和岗位级别的人员分配不同的参数信息。该参数信息对应不同的薪资标准。基本信息包括姓名、性别、工号、年龄、祖籍、居住地、婚配情况、子女情况等。Specifically, the creating module 310 pre-sets basic information of each employee, the organizational structure and post level of the employee, and assigns different parameter information to personnel of different organizational structures and post levels. This parameter information corresponds to different salary standards. The basic information includes name, gender, job number, age, ancestral home, place of residence, marriage status, and child status.
在本实施例中,可以以区域划分整体组织框架,如:华南区、华北区等。每个组织框架设为多个父级、以及与父级对应的子级。例如,华南区按职位 等级由高到低分为大区经理、多名副经理、每个副经理下设多名部长、每个部长下设多名组长、每个组长下设多名员工。进而,对于副经理来说,大区经理是父级、部长是其子级,对于部长来说,副经理是父级、组长是其子级。也就是说,父级与子级是对应的关系。In this embodiment, the overall organization frame may be divided by regions, such as: South China, North China, and the like. Each organizational frame is set to multiple parents and children corresponding to the parent. For example, South China District is divided into regional managers, multiple deputy managers, and a number of ministers under each deputy manager. Each minister has multiple team leaders and each team leader has multiple positions. Staff. Furthermore, for the deputy manager, the regional manager is the parent and the minister is the child. For the minister, the deputy manager is the parent and the leader is the child. In other words, the parent and child are the corresponding relationships.
薪资计算系统300通过网络通讯系统与考勤系统通信连接。考勤系统接收员工每日由刷卡考勤机等考勤装置1导入的考勤资料,以得知员工的出勤、加班及休假等考勤情况。考勤系统通过网络通讯系统将考勤情况传送到薪资计算系统300中。The payroll calculation system 300 is communicatively coupled to the attendance system via a network communication system. The attendance system receives the attendance data imported by the employee from the attendance device 1 such as the card attendance machine daily to learn the attendance of the employee's attendance, overtime and vacation. The attendance system transmits the attendance to the salary calculation system 300 through the network communication system.
在薪资计算系统300中,基于先前预设的参数信息,根据使用者的操作,创建薪资计算任务。薪资计算任务包括:区域、职级、佣金月份等。例如,在薪资计算系统300的操作界面中,使用者选择华南区、二级人员的信息,以创建薪资计算任务,并以消息包的形式发送至解析模块320。In the salary calculation system 300, based on the previously preset parameter information, a salary calculation task is created according to the user's operation. Salary calculation tasks include: region, rank, commission month, and so on. For example, in the operation interface of the salary calculation system 300, the user selects information of the South China area and the second-level personnel to create a salary calculation task, and sends it to the parsing module 320 in the form of a message packet.
本实施例的薪资计算任务是基于数据库的计算任务。The salary calculation task of this embodiment is a database-based calculation task.
可选的,数据库可以采用Oracle数据库(Oracle Database,Oracle),Oracle数据库是甲骨文公司的一款关参数信息据库管理系统,该系统可移植性好、使用方便、功能强,适用于各类大、中、小、微机环境。Optionally, the database can be an Oracle database (Oracle Database, Oracle), Oracle database is a closed parameter database database management system of Oracle, the system is portable, easy to use, powerful, suitable for all types of large , medium, small, computer environment.
解析模块320接收包括薪资计算任务的消息包,并根据创建的薪资计算任务,对该薪资计算任务进行解析,即解析出需要计算的薪资佣金。例如,从薪资计算任务中解析出华南区、二级人员,作为待计算佣金的任务。The parsing module 320 receives the message package including the salary calculation task, and parses the salary calculation task according to the created salary calculation task, that is, parses the salary commission that needs to be calculated. For example, the South China District and the second-level personnel are analyzed from the salary calculation task as a task to be calculated.
任务拆解模块330根据组织架构,对薪资计算任务进行拆解,首先根据人员等级进行分解,具体将其拆分为多个父任务和多个子任务,父任务与父级的信息对应,子任务与子级的信息对应,且父任务是子任务的上级。例如,华南区的大区经理为A、副经理为B和C,B下设的部长为D和E,C下设的部长为F,D的组员为G和H,则将薪资计算任务拆分为A-H的薪资计算任务,并划分A-H的层级关系。The task disassembly module 330 disassembles the salary calculation task according to the organizational structure, first decomposes according to the personnel level, specifically splits it into multiple parent tasks and multiple subtasks, and the parent task corresponds to the parent information, and the subtask Corresponds to the information of the child, and the parent task is the superior of the child task. For example, the manager of the regional manager of South China is A, the deputy manager is B and C, the ministers under B are D and E, the ministers under C are F, and the members of D are G and H. Split into AH's salary calculation task, and divide the AH hierarchical relationship.
整合模块340将任务拆解模块330拆分的多个父任务和子任务进行整合,输出任务列表。该任务列表中记录每个子任务和父任务对应的人员简介及其对应的需要计算的薪资清单,该薪资清单包括首期佣金、续期佣金、职级津贴、团队绩效等。The integration module 340 integrates the plurality of parent tasks and subtasks split by the task disassembly module 330, and outputs the task list. The task list records the profile of each subtask and the parent task and the corresponding salary list to be calculated. The salary list includes the first commission, renewal commission, rank allowance, team performance, and so on.
进一步的,计算模块350具体用于:Further, the calculation module 350 is specifically configured to:
A.对所述子任务对应的人员薪资进行并行计算;A. Perform parallel calculation on the salary of the personnel corresponding to the subtask;
B.根据所述子任务人员的薪资计算结果,计算所述子任务对应的父任务对应的人员薪资。B. Calculate the salary of the person corresponding to the parent task corresponding to the sub-task according to the salary calculation result of the sub-task.
计算模块350每次计算薪资的作业程序包括依据每个员工的任务列表和预设的薪资计算公式,并行计算子任务的人员薪资。The calculation program of the calculation module 350 each time calculating the salary includes calculating the salary of the subtask in parallel according to the task list of each employee and the preset salary calculation formula.
更具体地,首先,依据每个员工的薪资发放项目,设定其本次欲发放的 特定薪资项目,以预设的薪资计算公式,计算一些固定项目的发放薪资和特别薪资,对于不同的员工设置不同的参数信息,如不同职级的参数不同,相同职级不同绩效的参数不同。若存在无法利用公式计算的情况时,针对该员工,输入本次发放但系统无法计算的薪资项目及金额,以补足系统公式的不完备之处。More specifically, firstly, according to each employee's salary distribution project, set the specific salary item to be issued this time, and calculate the salary and special salary of some fixed items according to the preset salary calculation formula for different employees. Set different parameter information, such as different parameters of different ranks, different performance parameters of different ranks. If there is a situation where the formula cannot be used, for the employee, enter the salary items and amounts that are issued this time but the system cannot calculate, to make up for the incompleteness of the system formula.
将子任务的薪资进行并行计算,简化了薪资计算程序,提高了整体计算效率。待相同等级的子任务对应的人员薪资计算完成之后,再按照上述过程计算其父任务对应的人员薪资,以此类推。The parallel calculation of the salary of the subtasks simplifies the salary calculation process and improves the overall calculation efficiency. After the salary calculation of the corresponding sub-task is completed, the salary of the parent corresponding to the parent task is calculated according to the above process, and so on.
根据本实施例,一旦将人员层级明确,由于相同层级人员的底薪、税费基准等参数信息相同,并将每个层级的参数信息代入预设的公式中即可计算该员工的薪资。对于相同层级中的特殊人员,可以自定义参数信息,自定义参数信息可以比普通参数信息高或低,以区分不同绩效的员工。According to the embodiment, once the level of the personnel is clear, the salary information of the employee can be calculated because the parameter information of the basic salary, the tax and the fee benchmark of the same level is the same, and the parameter information of each level is substituted into the preset formula. For special personnel in the same level, parameter information can be customized, and the customized parameter information can be higher or lower than the ordinary parameter information to distinguish employees with different performances.
进一步的,本领域技术人员可以理解的是,若父任务对应的人员薪资是基于子任务对应的人员薪资结果计算的,则步骤B在步骤A之后进行,若父任务对应的人员薪资与子任务对应的人员薪资结果无关,则可以省略步骤B,且父任务对应的人员薪资计算过程与步骤A中计算子任务对应的人员薪资过程相同。Further, those skilled in the art can understand that if the salary of the corresponding task of the parent task is calculated based on the salary result of the child corresponding to the child task, step B is performed after step A, if the salary and subtask of the parent corresponding to the parent task If the corresponding personnel salary result is irrelevant, step B may be omitted, and the salary calculation process corresponding to the parent task is the same as the salary process corresponding to the calculation of the sub-task in step A.
进一步的,判断模块360,用于判断是否通过审核通过薪资计算结果。若是,则触发薪资发放模块370。Further, the determining module 360 is configured to determine whether the salary calculation result is passed through the audit. If so, the payroll issuance module 370 is triggered.
薪资发放模块370,用于根据确认的金额,进行实际的薪资发放作业,并完成本次员工薪资发放。The salary issuance module 370 is configured to perform an actual salary payment operation according to the confirmed amount, and complete the salary payment of the employee.
具体的,将本次发放的任务列表及金额,送交主管审核,依据主管所作的薪资项目及金额的审核结果,若判断模块360判断审核通过则进行资金发放,若判断模块360判断审核未通过,则再次加以调整其薪资数据并递交,直至审核部门对薪资计算结果审核通过,而完成此次发放项目及金额的确认。Specifically, the task list and the amount of the issuance are sent to the supervisor for review. According to the audit result of the salary item and the amount made by the supervisor, if the judgment module 360 judges that the audit is passed, the fund is issued, and if the judgment module 360 judges that the audit has not passed. , then adjust its salary data again and submit it until the audit department approves the salary calculation result and completes the confirmation of the project and the amount.
本实施例提供的薪资计算系统300,通过创建模块310创建薪资计算任务,由任务拆解模块330和整合模块340进行后台分析、拆解该薪资计算任务,以对其进行任务分解、整合多个父任务和多个子任务,计算模块350根据每个任务对应的参数信息和预设的薪资计算公式,并行计算子任务对应的人员薪资,再根据子任务人员的薪资结果计算得到父任务对应的人员薪资。本实施例充分利用了CPU资源,提升了薪资计算效率,并且有效降低了出错率。The salary calculation system 300 provided in this embodiment creates a salary calculation task through the creation module 310, and the task disassembly module 330 and the integration module 340 perform background analysis and disassemble the salary calculation task to perform task decomposition and integration. The parent task and the plurality of subtasks, the calculation module 350 calculates the salary of the child corresponding to the subtask in parallel according to the parameter information corresponding to each task and the preset salary calculation formula, and then calculates the personnel corresponding to the parent task according to the salary result of the subtask personnel. Salary. This embodiment makes full use of the CPU resources, improves the salary calculation efficiency, and effectively reduces the error rate.
第二实施例Second embodiment
如图4所示,本申请第二实施例提出一种薪资计算方法。在本实施例中,根据不同的需求,图4所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。该方法包括以下步骤:As shown in FIG. 4, the second embodiment of the present application proposes a salary calculation method. In this embodiment, 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. The method includes the following steps:
步骤410,创建薪资计算任务。In step 410, a salary calculation task is created.
步骤420,将所述薪资计算任务拆解为多个父任务和多个子任务,其中,所述父任务是对应子任务的上级。Step 420: Disassemble the salary calculation task into a plurality of parent tasks and a plurality of child tasks, wherein the parent task is a superior of the corresponding child tasks.
步骤430,根据所述多个父任务和多个子任务对应的参数信息并结合预设的计算公式,对相同任务对应的人员薪资进行并行计算。Step 430: Perform parallel calculation on the salary of the personnel corresponding to the same task according to the parameter information corresponding to the multiple parent tasks and the plurality of subtasks in combination with the preset calculation formula.
具体的,在步骤410中,预先设置每个员工的基本信息、所在的组织架构和岗位级别,并对不同组织架构和岗位级别的人员分配不同的参数信息。该参数信息对应不同的薪资标准。基本信息包括姓名、性别、工号、年龄、祖籍、居住地、婚配情况、子女情况等。Specifically, in step 410, the basic information of each employee, the organizational structure and the post level of each employee are set in advance, and different parameter information is assigned to personnel of different organizational structures and post levels. This parameter information corresponds to different salary standards. The basic information includes name, gender, job number, age, ancestral home, place of residence, marriage status, and child status.
在本实施例中,可以以区域划分整体组织框架,如:华南区、华北区等。每个组织框架设为多个父级、以及与父级对应的子级。例如,华南区按职位等级由高到低分为大区经理、多名副经理、每个副经理下设多名部长、每个部长下设多名组长、每个组长下设多名员工。进而,对于副经理来说,大区经理是父级、部长是其子级,对于部长来说,副经理是父级、组长是其子级。也就是说,父级与子级是对应的关系。In this embodiment, the overall organization frame may be divided by regions, such as: South China, North China, and the like. Each organizational frame is set to multiple parents and children corresponding to the parent. For example, South China District is divided into regional managers, multiple deputy managers, and a number of ministers under each deputy manager. Each minister has multiple team leaders and each team leader has multiple positions. Staff. Furthermore, for the deputy manager, the regional manager is the parent and the minister is the child. For the minister, the deputy manager is the parent and the leader is the child. In other words, the parent and child are the corresponding relationships.
应用服务器2通过网络通讯系统接收员工每日由刷卡考勤机等考勤装置1导入的考勤资料,以得知员工的出勤、加班及休假等考勤情况。基于先前预设的参数信息,根据使用者的操作,创建薪资计算任务。薪资计算任务包括:区域、职级、佣金月份等。例如,在薪资计算系统300的操作界面中,使用者选择华南区、二级人员的信息,以创建薪资计算任务,并以消息包的形式进行发送。The application server 2 receives the attendance data imported by the attendance device 1 such as the card attendance machine from the employee through the network communication system to learn the attendance of the employee's attendance, overtime and vacation. Based on the previously preset parameter information, a salary calculation task is created according to the user's operation. Salary calculation tasks include: region, rank, commission month, and so on. For example, in the operation interface of the salary calculation system 300, the user selects the information of the South China area and the second-level personnel to create a salary calculation task, and sends it in the form of a message packet.
本实施例的薪资计算任务是基于数据库的计算任务。The salary calculation task of this embodiment is a database-based calculation task.
可选的,数据库可以采用Oracle数据库(Oracle Database,Oracle),Oracle数据库是甲骨文公司的一款关参数信息据库管理系统,该系统可移植性好、使用方便、功能强,适用于各类大、中、小、微机环境。Optionally, the database can be an Oracle database (Oracle Database, Oracle), Oracle database is a closed parameter database database management system of Oracle, the system is portable, easy to use, powerful, suitable for all types of large , medium, small, computer environment.
在步骤420中,根据组织架构,对薪资计算任务进行拆解,首先根据人员等级进行分解,具体将其拆分为多个父任务和多个子任务,父任务与父级的信息对应,子任务与子级的信息对应,且父任务是子任务的上级。例如,华南区的大区经理为A、副经理为B和C,B下设的部长为D和E,C下设的部长为F,D的组员为G和H,则将薪资计算任务拆分为A-H的薪资计算任务,并划分A-H的层级关系。In step 420, according to the organizational structure, the salary calculation task is disassembled, firstly decomposed according to the personnel level, and specifically split into multiple parent tasks and multiple subtasks, the parent task corresponds to the parent information, and the subtask Corresponds to the information of the child, and the parent task is the superior of the child task. For example, the manager of the regional manager of South China is A, the deputy manager is B and C, the ministers under B are D and E, the ministers under C are F, and the members of D are G and H. Split into AH's salary calculation task, and divide the AH hierarchical relationship.
进一步的,步骤430中的对相同任务对应的人员薪资进行并行计算进一步包括:Further, performing parallel calculation on the salary of the person corresponding to the same task in step 430 further includes:
A.对所述子任务对应的人员薪资进行并行计算;A. Perform parallel calculation on the salary of the personnel corresponding to the subtask;
B.根据所述子任务人员的薪资计算结果,计算所述子任务对应的父任务对应的人员薪资。B. Calculate the salary of the person corresponding to the parent task corresponding to the sub-task according to the salary calculation result of the sub-task.
在步骤430中,每次计算薪资的作业程序包括依据每个员工的任务列表和预设的薪资计算公式,并行计算子任务的人员薪资。In step 430, each time the job program for calculating the salary includes calculating the salary of the subtask in parallel according to the task list of each employee and the preset salary calculation formula.
更具体地,首先,依据每个员工的薪资发放项目,设定其本次欲发放的特定薪资项目,以预设的薪资计算公式,计算一些固定项目的发放薪资和特别薪资,对于不同的员工设置不同的参数信息,如不同职级的参数不同,相同职级不同绩效的参数不同。若存在无法利用公式计算的情况时,针对该员工,输入本次发放但系统无法计算的薪资项目及金额,以补足系统公式的不完备之处。More specifically, firstly, according to each employee's salary distribution project, set the specific salary item to be issued this time, and calculate the salary and special salary of some fixed items according to the preset salary calculation formula for different employees. Set different parameter information, such as different parameters of different ranks, different performance parameters of different ranks. If there is a situation where the formula cannot be used, for the employee, enter the salary items and amounts that are issued this time but the system cannot calculate, to make up for the incompleteness of the system formula.
将子任务的薪资进行并行计算,简化了薪资计算程序,提高了整体计算效率。待相同等级的子任务对应的人员薪资计算完成之后,再按照上述过程计算其父任务对应的人员薪资,以此类推。The parallel calculation of the salary of the subtasks simplifies the salary calculation process and improves the overall calculation efficiency. After the salary calculation of the corresponding sub-task is completed, the salary of the parent corresponding to the parent task is calculated according to the above process, and so on.
根据本实施例,一旦将人员层级明确,由于相同层级人员的底薪、税费基准等参数信息相同,并将每个层级的参数信息代入预设的公式中即可计算该员工的薪资。对于相同层级中的特殊人员,可以自定义参数信息,自定义参数信息可以比普通参数信息高或低,以区分不同绩效的员工。According to the embodiment, once the level of the personnel is clear, the salary information of the employee can be calculated because the parameter information of the basic salary, the tax and the fee benchmark of the same level is the same, and the parameter information of each level is substituted into the preset formula. For special personnel in the same level, parameter information can be customized, and the customized parameter information can be higher or lower than the ordinary parameter information to distinguish employees with different performances.
进一步的,本领域技术人员可以理解的是,若父任务对应的人员薪资是基于子任务对应的人员薪资结果计算的,则步骤B在步骤A之后进行,若父任务对应的人员薪资与子任务对应的人员薪资结果无关,则可以省略步骤B,且父任务对应的人员薪资计算过程与步骤A中计算子任务对应的人员薪资过程相同。Further, those skilled in the art can understand that if the salary of the corresponding task of the parent task is calculated based on the salary result of the child corresponding to the child task, step B is performed after step A, if the salary and subtask of the parent corresponding to the parent task If the corresponding personnel salary result is irrelevant, step B may be omitted, and the salary calculation process corresponding to the parent task is the same as the salary process corresponding to the calculation of the sub-task in step A.
本实施例提供的薪资计算方法,通过创建薪资计算任务,由后台分析、拆解该薪资计算任务,以对其进行任务分解、整合多个父任务和多个子任务,根据每个任务对应的参数信息和预设的薪资计算公式,并行计算子任务对应的人员薪资,再根据子任务人员的薪资结果计算得到父任务对应的人员薪资。本实施例的薪资计算方法充分利用了CPU资源,提升了薪资计算效率,并且有效降低了出错率。The salary calculation method provided in this embodiment, by creating a salary calculation task, analyzes and disassembles the salary calculation task in the background, performs task decomposition, integrates multiple parent tasks and multiple subtasks, and according to parameters corresponding to each task. The information and the preset salary calculation formula calculate the salary of the personnel corresponding to the subtask in parallel, and then calculate the salary of the corresponding task of the parent task according to the salary result of the subtask personnel. The salary calculation method of the embodiment makes full use of the CPU resources, improves the salary calculation efficiency, and effectively reduces the error rate.
第三实施例Third embodiment
如图5所示,本申请第三实施例提出一种薪资计算方法。在本实施例中,根据不同的需求,图5所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。该方法包括以下步骤:As shown in FIG. 5, the third embodiment of the present application proposes a salary calculation method. In this embodiment, 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. The method includes the following steps:
步骤510,创建薪资计算任务。In step 510, a salary calculation task is created.
步骤520,解析所述薪资计算任务。 Step 520, parsing the salary calculation task.
步骤530,根据解析结果,将所述薪资计算任务拆解为多个父任务和多个子任务,其中,所述父任务是对应子任务的上级。Step 530: According to the parsing result, the salary calculation task is disassembled into a plurality of parent tasks and a plurality of subtasks, wherein the parent task is a superior of the corresponding subtasks.
步骤540,整合所述多个父任务和子任务,并输出任务列表。Step 540: Integrate the plurality of parent tasks and subtasks, and output a task list.
步骤550,根据所述多个父任务和多个子任务对应的参数信息并结合预设的计算公式,对相同任务对应的人员薪资进行并行计算。Step 550: Perform parallel calculation on the salary of the personnel corresponding to the same task according to the parameter information corresponding to the multiple parent tasks and the plurality of subtasks in combination with the preset calculation formula.
具体的,在步骤510中,在薪资计算系统中预先设置每个员工的基本信息、所在的组织架构和岗位级别,并对不同组织架构和岗位级别的人员分配不同的参数信息。该参数信息对应不同的薪资标准。基本信息包括姓名、性别、工号、年龄、祖籍、居住地、婚配情况、子女情况等。Specifically, in step 510, the basic information of each employee, the organizational structure and the post level of each employee are preset in the salary calculation system, and different parameter information is assigned to personnel of different organizational structures and post levels. This parameter information corresponds to different salary standards. The basic information includes name, gender, job number, age, ancestral home, place of residence, marriage status, and child status.
在本实施例中,可以以区域划分整体组织框架,如:华南区、华北区等。每个组织框架设为多个父级、以及与父级对应的子级。例如,华南区按职位等级由高到低分为大区经理、多名副经理、每个副经理下设多名部长、每个部长下设多名组长、每个组长下设多名员工。进而,对于副经理来说,大区经理是父级、部长是其子级,对于部长来说,副经理是父级、组长是其子级。也就是说,父级与子级是对应的关系。In this embodiment, the overall organization frame may be divided by regions, such as: South China, North China, and the like. Each organizational frame is set to multiple parents and children corresponding to the parent. For example, South China District is divided into regional managers, multiple deputy managers, and a number of ministers under each deputy manager. Each minister has multiple team leaders and each team leader has multiple positions. Staff. Furthermore, for the deputy manager, the regional manager is the parent and the minister is the child. For the minister, the deputy manager is the parent and the leader is the child. In other words, the parent and child are the corresponding relationships.
应用服务器2通过网络通讯系统接收员工每日由刷卡考勤机等考勤装置1导入的考勤资料,以得知员工的出勤、加班及休假等考勤情况。基于先前预设的参数信息,根据使用者的操作,创建薪资计算任务。薪资计算任务包括:区域、职级、佣金月份等。例如,在薪资计算系统的操作界面中,使用者选择华南区、二级人员的信息,以创建薪资计算任务,并以消息包的形式进行发送。The application server 2 receives the attendance data imported by the attendance device 1 such as the card attendance machine from the employee through the network communication system to learn the attendance of the employee's attendance, overtime and vacation. Based on the previously preset parameter information, a salary calculation task is created according to the user's operation. Salary calculation tasks include: region, rank, commission month, and so on. For example, in the operation interface of the salary calculation system, the user selects information of the South China and the second-level personnel to create a salary calculation task, and sends the message in the form of a message packet.
本实施例的薪资计算任务是基于数据库的计算任务。The salary calculation task of this embodiment is a database-based calculation task.
可选的,数据库可以采用Oracle数据库,Oracle数据库是甲骨文公司的一款关参数信息据库管理系统,该系统可移植性好、使用方便、功能强,适用于各类大、中、小、微机环境。Optionally, the database can be an Oracle database. The Oracle database is a closed parameter database management system of Oracle Corporation. The system is portable, easy to use, and powerful. It is suitable for all kinds of large, medium, small, and micro computers. surroundings.
在步骤520中,接收包括薪资计算任务的消息包,并根据创建的薪资计算任务,对该薪资计算任务进行解析,即解析出需要计算的薪资佣金。例如,从薪资计算任务中解析出华南区、二级人员,作为待计算佣金的任务。In step 520, a message package including a salary calculation task is received, and the salary calculation task is parsed according to the created salary calculation task, that is, the salary commission that needs to be calculated is parsed. For example, the South China District and the second-level personnel are analyzed from the salary calculation task as a task to be calculated.
在步骤530中,根据组织架构和对薪资计算任务的解析结果,对薪资计算任务进行拆解,首先根据人员等级进行分解,具体将其拆分为多个父任务和多个子任务,父任务与父级的信息对应,子任务与子级的信息对应,且父任务是子任务的上级。例如,华南区的大区经理为A、副经理为B和C,B下设的部长为D和E,C下设的部长为F,D的组员为G和H,则将薪资计算任务拆分为A-H的薪资计算任务,并划分A-H的层级关系。In step 530, according to the organizational structure and the analysis result of the salary calculation task, the salary calculation task is disassembled, firstly decomposed according to the personnel level, and specifically split into multiple parent tasks and multiple subtasks, the parent task and The information of the parent corresponds to the subtask corresponding to the information of the subordinate, and the parent task is the superior of the subtask. For example, the manager of the regional manager of South China is A, the deputy manager is B and C, the ministers under B are D and E, the ministers under C are F, and the members of D are G and H. Split into AH's salary calculation task, and divide the AH hierarchical relationship.
在步骤540中,将步骤530中拆分的多个父任务和子任务进行整合,输出任务列表。该任务列表中记录每个子任务和父任务对应的人员简介及其对应的需要计算的薪资清单,该薪资清单包括首期佣金、续期佣金、职级津贴、团队绩效等。In step 540, the plurality of parent tasks and subtasks split in step 530 are integrated to output a task list. The task list records the profile of each subtask and the parent task and the corresponding salary list to be calculated. The salary list includes the first commission, renewal commission, rank allowance, team performance, and so on.
进一步的,步骤550中的对相同任务对应的人员薪资进行并行计算进一步包括:Further, the parallel calculation of the salary of the person corresponding to the same task in step 550 further includes:
A.对所述子任务对应的人员薪资进行并行计算;A. Perform parallel calculation on the salary of the personnel corresponding to the subtask;
B.根据所述子任务人员的薪资计算结果,计算所述子任务对应的父任务对应的人员薪资。B. Calculate the salary of the person corresponding to the parent task corresponding to the sub-task according to the salary calculation result of the sub-task.
在步骤550中,每次计算薪资的作业程序包括依据每个员工的任务列表和预设的薪资计算公式,并行计算子任务的人员薪资。In step 550, each time the salary calculation program is calculated, the salary of the subtask is calculated in parallel according to each employee's task list and a preset salary calculation formula.
更具体地,首先,依据每个员工的薪资发放项目,设定其本次欲发放的特定薪资项目,以预设的薪资计算公式,计算一些固定项目的发放薪资和特别薪资,对于不同的员工设置不同的参数信息,如不同职级的参数不同,相同职级不同绩效的参数不同。若存在无法利用公式计算的情况时,针对该员工,输入本次发放但系统无法计算的薪资项目及金额,以补足系统公式的不完备之处。More specifically, firstly, according to each employee's salary distribution project, set the specific salary item to be issued this time, and calculate the salary and special salary of some fixed items according to the preset salary calculation formula for different employees. Set different parameter information, such as different parameters of different ranks, different performance parameters of different ranks. If there is a situation where the formula cannot be used, for the employee, enter the salary items and amounts that are issued this time but the system cannot calculate, to make up for the incompleteness of the system formula.
将子任务的薪资进行并行计算,简化了薪资计算程序,提高了整体计算效率。待相同等级的子任务对应的人员薪资计算完成之后,再按照上述过程计算其父任务对应的人员薪资,以此类推。The parallel calculation of the salary of the subtasks simplifies the salary calculation process and improves the overall calculation efficiency. After the salary calculation of the corresponding sub-task is completed, the salary of the parent corresponding to the parent task is calculated according to the above process, and so on.
根据本实施例,一旦将人员层级明确,由于相同层级人员的底薪、税费基准等参数信息相同,并将每个层级的参数信息代入预设的公式中即可计算该员工的薪资。对于相同层级中的特殊人员,可以自定义参数信息,自定义参数信息可以比普通参数信息高或低,以区分不同绩效的员工。According to the embodiment, once the level of the personnel is clear, the salary information of the employee can be calculated because the parameter information of the basic salary, the tax and the fee benchmark of the same level is the same, and the parameter information of each level is substituted into the preset formula. For special personnel in the same level, parameter information can be customized, and the customized parameter information can be higher or lower than the ordinary parameter information to distinguish employees with different performances.
进一步的,本领域技术人员可以理解的是,若父任务对应的人员薪资是基于子任务对应的人员薪资结果计算的,则步骤B在步骤A之后进行,若父任务对应的人员薪资与子任务对应的人员薪资结果无关,则可以省略步骤B,且父任务对应的人员薪资计算过程与步骤A中计算子任务对应的人员薪资过程相同。Further, those skilled in the art can understand that if the salary of the corresponding task of the parent task is calculated based on the salary result of the child corresponding to the child task, step B is performed after step A, if the salary and subtask of the parent corresponding to the parent task If the corresponding personnel salary result is irrelevant, step B may be omitted, and the salary calculation process corresponding to the parent task is the same as the salary process corresponding to the calculation of the sub-task in step A.
本实施例提供的薪资计算方法,通过解析所述薪资计算任务,并整合,多个父任务和子任务,进而输出任务列表,从而充分利用了系统的处理器资源,提升了薪资计算效率,并且有效降低了出错率。The salary calculation method provided in this embodiment analyzes the salary calculation task, integrates multiple parent tasks and sub-tasks, and then outputs the task list, thereby fully utilizing the processor resources of the system, improving the salary calculation efficiency, and effectively Reduced error rates.
第四实施例Fourth embodiment
如图6所示,本申请第四实施例进一步提供一种薪资计算方法,在第四实施例中,所示薪资计算方法是在第二实施例或者第三实施例的基础上所做出的进一步改进,区别仅在于,所述方法还包括:As shown in FIG. 6, the fourth embodiment of the present application further provides a salary calculation method. In the fourth embodiment, the salary calculation method is based on the second embodiment or the third embodiment. Further improvement, the only difference is that the method further includes:
步骤610,判断是否通过审核通过薪资计算结果。若是,则进入步骤620,若否,则流程结束。In step 610, it is determined whether the salary calculation result is passed through the audit. If yes, go to step 620. If no, the flow ends.
步骤620,根据确认的金额,进行实际的薪资发放作业,并完成本次员工薪资发放。In step 620, according to the confirmed amount, the actual salary issuance operation is performed, and the salary payment of the employee is completed.
具体的,将本次发放的任务列表及金额,送交主管审核,依据主管所作 的薪资项目及金额的审核结果,若审核通过则进行资金发放,若审核未通过,则再次加以调整其薪资数据并递交,直至审核部门对薪资计算结果审核通过,而完成此次发放项目及金额的确认。Specifically, the task list and the amount of the issuance will be sent to the supervisor for review. According to the audit results of the salary items and the amount of the supervisor, if the approval is passed, the funds will be released. If the audit fails, the salary data will be adjusted again. And submit it until the audit department approves the salary calculation result and completes the confirmation of the release project and the amount.
本申请实施例提供的薪资计算方法,通过判断是否通过审核通过薪资计算结果,当审核通过时,进行实际的薪资发放作业,完善了由薪资计算至薪资发放的全过程。The salary calculation method provided by the embodiment of the present application determines whether the salary calculation result is passed through the examination, and when the approval is passed, the actual salary payment operation is performed, and the whole process from the salary calculation to the salary payment is completed.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件来实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and can also be implemented by hardware, but in many cases, the former is A 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.
以上参照附图说明了本申请的优选实施例,并非因此局限本申请的权利范围。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。另外,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The preferred embodiments of the present application have been described above with reference to the drawings, and are not intended to limit the scope of the application. The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments. Additionally, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本领域技术人员不脱离本申请的范围和实质,可以有多种变型方案实现本申请,比如作为一个实施例的特征可用于另一实施例而得到又一实施例。凡在运用本申请的技术构思之内所作的任何修改、等同替换和改进,均应在本申请的权利范围之内。A person skilled in the art can implement the present application in various variants without departing from the scope and spirit of the present application. For example, the features of one embodiment can be used in another embodiment to obtain another embodiment. Any modifications, equivalent substitutions and improvements made within the technical concept of the application should be within the scope of the application.
Claims (20)
- 一种薪资计算方法,其特征在于,该方法包括步骤:A salary calculation method, characterized in that the method comprises the steps of:创建薪资计算任务;Create a salary calculation task;将所述薪资计算任务拆解为多个父任务和多个子任务,其中,所述父任务是对应子任务的上级;Dissolving the salary calculation task into a plurality of parent tasks and a plurality of child tasks, wherein the parent tasks are upper levels of the corresponding child tasks;根据所述多个父任务和多个子任务对应的参数信息并结合预设的计算公式,对相同任务对应的人员薪资进行并行计算。Parallel calculation of the salary of the person corresponding to the same task is performed according to the parameter information corresponding to the plurality of parent tasks and the plurality of subtasks in combination with the preset calculation formula.
- 根据权利要求1所述的薪资计算方法,其特征在于,对相同任务对应的人员薪资进行并行计算,包括:The salary calculation method according to claim 1, wherein the parallel calculation of the salary of the person corresponding to the same task comprises:对所述子任务对应的人员薪资进行并行计算;Performing parallel calculations on the salary of the personnel corresponding to the subtask;根据所述子任务人员的薪资计算结果,计算所述子任务对应的父任务对应的人员薪资。Calculating the salary of the person corresponding to the parent task corresponding to the subtask according to the salary calculation result of the subtask personnel.
- 根据权利要求2所述的薪资计算方法,其特征在于,在创建薪资计算任务之后,所述方法还包括:解析所述薪资计算任务,以确定待计算薪资的任务。The salary calculation method according to claim 2, wherein after the salary calculation task is created, the method further comprises: parsing the salary calculation task to determine a task to calculate the salary.
- 根据权利要求3所述的薪资计算方法,其特征在于,在将所述薪资计算任务拆解为多个父任务和多个子任务之后,所述方法还包括:整合所述多个父任务和子任务,并输出任务列表,所述任务列表中记录每个子任务和父任务对应的人员简介及其对应的需要计算的薪资清单。The salary calculation method according to claim 3, wherein after the salary calculation task is disassembled into a plurality of parent tasks and a plurality of subtasks, the method further comprises: integrating the plurality of parent tasks and subtasks And outputting a task list, where the task profile corresponding to each sub-task and the parent task and the corresponding salary list to be calculated are recorded.
- 根据权利要求4所述的薪资计算方法,其特征在于,所述薪资计算任务为基于数据库的计算任务。The salary calculation method according to claim 4, wherein the salary calculation task is a database-based calculation task.
- 根据权利要求1所述的薪资计算方法,其特征在于,所述方法还包括:The salary calculation method according to claim 1, wherein the method further comprises:判断是否通过审核通过薪资计算结果;Determine whether the salary calculation result is passed through the audit;若是,则根据确认的金额,进行实际的薪资发放作业,并完成本次员工薪资发放。If yes, the actual salary is paid according to the confirmed amount, and the employee's salary is paid.
- 根据权利要求1所述的薪资计算方法,其特征在于,所述方法还包括:The salary calculation method according to claim 1, wherein the method further comprises:判断是否通过审核通过薪资计算结果;Determine whether the salary calculation result is passed through the audit;若否,则调整薪资数据,重新判断是否通过审核通过薪资计算结果,直至通过审核。If not, adjust the salary data and re-evaluate whether the salary calculation result is passed through the audit until it is approved.
- 一种应用服务器,其特征在于,所述应用服务器包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的薪资计算系统,所述薪资计算系统被所述处理器执行时实现如下步骤:An application server, comprising: a memory, a processor, wherein the memory stores a salary calculation system operable on the processor, when the salary calculation system is executed by the processor Implement the following steps:创建薪资计算任务;Create a salary calculation task;将所述薪资计算任务拆解为多个父任务和多个子任务,其中,所述父任务是对应子任务的上级;Dissolving the salary calculation task into a plurality of parent tasks and a plurality of child tasks, wherein the parent tasks are upper levels of the corresponding child tasks;根据所述多个父任务和多个子任务对应的参数信息并结合预设的计算公 式,对相同任务对应的人员薪资进行并行计算。Parallel calculation of the salary of the person corresponding to the same task is performed according to the parameter information corresponding to the plurality of parent tasks and the plurality of subtasks in combination with the preset calculation formula.
- 根据权利要求8所述的应用服务器,其特征在于,对相同任务对应的人员薪资进行并行计算,包括:The application server according to claim 8, wherein the parallel calculation of the salary of the person corresponding to the same task comprises:对所述子任务对应的人员薪资进行并行计算;Performing parallel calculations on the salary of the personnel corresponding to the subtask;根据所述子任务人员的薪资计算结果,计算所述子任务对应的父任务对应的人员薪资。Calculating the salary of the person corresponding to the parent task corresponding to the subtask according to the salary calculation result of the subtask personnel.
- 根据权利要求9所述的应用服务器,其特征在于,在创建薪资计算任务之后,还包括:解析所述薪资计算任务,以确定待计算薪资的任务;The application server according to claim 9, wherein after the salary calculation task is created, the method further comprises: parsing the salary calculation task to determine a task to calculate the salary;
- 根据权利要求10所述的应用服务器,其特征在于,在将所述薪资计算任务拆解为多个父任务和多个子任务之后,还包括:整合所述多个父任务和子任务,并输出任务列表,所述任务列表中记录每个子任务和父任务对应的人员简介及其对应的需要计算的薪资清单。The application server according to claim 10, after the disassembling the salary calculation task into a plurality of parent tasks and a plurality of subtasks, further comprising: integrating the plurality of parent tasks and subtasks, and outputting the tasks A list of personnel records corresponding to each subtask and parent task and a corresponding salary list to be calculated are recorded in the task list.
- 根据权利要求11所述的应用服务器,其特征在于,所述薪资计算任务为基于数据库的计算任务。The application server of claim 11, wherein the salary calculation task is a database-based computing task.
- 根据权利要求8所述的应用服务器,其特征在于,所述处理器还用于执行所述薪资计算系统,以实现以下步骤:The application server according to claim 8, wherein the processor is further configured to execute the salary calculation system to implement the following steps:判断是否通过审核通过薪资计算结果;Determine whether the salary calculation result is passed through the audit;若是,则根据确认的金额,进行实际的薪资发放作业,并完成本次员工薪资发放。If yes, the actual salary is paid according to the confirmed amount, and the employee's salary is paid.
- 根据权利要求8所述的应用服务器,其特征在于,所述处理器还用于执行所述薪资计算系统,以实现以下步骤:The application server according to claim 8, wherein the processor is further configured to execute the salary calculation system to implement the following steps:判断是否通过审核通过薪资计算结果;Determine whether the salary calculation result is passed through the audit;若否,则调整薪资数据,重新判断是否通过审核通过薪资计算结果,直至通过审核。If not, adjust the salary data and re-evaluate whether the salary calculation result is passed through the audit until it is approved.
- 一种计算机可读存储介质,所述计算机可读存储介质存储有薪资计算系统,所述薪资计算系统可被至少一个处理器执行,以使所述至少一个处理器执行如下步骤:A computer readable storage medium storing a payroll computing system, the payroll computing system being executable by at least one processor to cause the at least one processor to perform the following steps:创建薪资计算任务;Create a salary calculation task;将所述薪资计算任务拆解为多个父任务和多个子任务,其中,所述父任务是对应子任务的上级;Dissolving the salary calculation task into a plurality of parent tasks and a plurality of child tasks, wherein the parent tasks are upper levels of the corresponding child tasks;根据所述多个父任务和多个子任务对应的参数信息并结合预设的计算公式,对相同任务对应的人员薪资进行并行计算。Parallel calculation of the salary of the person corresponding to the same task is performed according to the parameter information corresponding to the plurality of parent tasks and the plurality of subtasks in combination with the preset calculation formula.
- 根据权利要求15所述的计算机可读存储介质,其特征在于,对相同任务对应的人员薪资进行并行计算,包括:The computer readable storage medium according to claim 15, wherein the parallel calculation of the salary of the person corresponding to the same task comprises:对所述子任务对应的人员薪资进行并行计算;Performing parallel calculations on the salary of the personnel corresponding to the subtask;根据所述子任务人员的薪资计算结果,计算所述子任务对应的父任务对应的人员薪资。Calculating the salary of the person corresponding to the parent task corresponding to the subtask according to the salary calculation result of the subtask personnel.
- 根据权利要求16所述的计算机可读存储介质,其特征在于,在创建薪资计算任务之后,还包括:解析所述薪资计算任务,以确定待计算薪资的 任务;The computer readable storage medium of claim 16, wherein after the salary calculation task is created, further comprising: parsing the salary calculation task to determine a task to calculate salary;
- 根据权利要求17所述的计算机可读存储介质,其特征在于,在将所述薪资计算任务拆解为多个父任务和多个子任务之后,还包括:整合所述多个父任务和子任务,并输出任务列表,所述任务列表中记录每个子任务和父任务对应的人员简介及其对应的需要计算的薪资清单。The computer readable storage medium according to claim 17, wherein after the dissolving the salary calculation task into a plurality of parent tasks and a plurality of subtasks, the method further comprises: integrating the plurality of parent tasks and subtasks, And outputting a task list, where the task list corresponding to each sub-task and the parent task and the corresponding salary list to be calculated are recorded.
- 根据权利要求18所述的计算机可读存储介质,其特征在于,所述薪资计算任务为基于数据库的计算任务。The computer readable storage medium of claim 18, wherein the payroll computing task is a database based computing task.
- 根据权利要求15所述的计算机可读存储介质,其特征在于,所述处理器还用于执行所述薪资计算系统,以实现以下步骤:The computer readable storage medium of claim 15, wherein the processor is further configured to execute the salary calculation system to implement the following steps:判断是否通过审核通过薪资计算结果;Determine whether the salary calculation result is passed through the audit;若是,则根据确认的金额,进行实际的薪资发放作业,并完成本次员工薪资发放。If yes, the actual salary is paid according to the confirmed amount, and the employee's salary is paid.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710951691.7 | 2017-10-13 | ||
CN201710951691.7A CN108241529B (en) | 2017-10-13 | 2017-10-13 | Salary calculation method, application server and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019071957A1 true WO2019071957A1 (en) | 2019-04-18 |
Family
ID=62700834
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/089350 WO2019071957A1 (en) | 2017-10-13 | 2018-05-31 | Salary calculation method, application server and computer-readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108241529B (en) |
WO (1) | WO2019071957A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427254A (en) * | 2019-07-05 | 2019-11-08 | 深圳壹账通智能科技有限公司 | Task processing method, device, equipment and computer readable storage medium |
CN112507675A (en) * | 2020-11-05 | 2021-03-16 | 社宝信息科技(上海)有限公司 | Intelligent salary calculation and real-time salary issuing system and method |
CN113256270A (en) * | 2021-06-23 | 2021-08-13 | 金蝶软件(中国)有限公司 | Data processing method, data processing device, data processing apparatus, and storage medium |
CN116308225A (en) * | 2023-01-16 | 2023-06-23 | 深圳市润迅数智科技有限公司 | Human resource management system and method with intelligent accounting salary |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111369334B (en) * | 2020-03-09 | 2023-08-29 | 阳光人寿保险股份有限公司 | Salary calculation method and system |
CN113095925A (en) * | 2021-04-19 | 2021-07-09 | 乐才(北京)科技有限公司 | Salary management method and device, computer readable storage medium and server |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1542644A (en) * | 2003-04-28 | 2004-11-03 | 威盛电子股份有限公司 | Salary paying system and payment method thereof |
CN101510276A (en) * | 2009-02-20 | 2009-08-19 | 浪潮集团山东通用软件有限公司 | Payroll computation method adapting multi-valuta and multi-time-interval |
US20160140520A1 (en) * | 2014-11-18 | 2016-05-19 | Adp, Llc | Real time funding solution for miscellaneous income |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7739131B1 (en) * | 2002-08-16 | 2010-06-15 | Timothy J. Luedtke | Method and system for implementing a consumer-driven health care program for employees |
US9672573B2 (en) * | 2013-03-15 | 2017-06-06 | Perkins Coie LLP | Graphical user interface for facilitating allocation of variable compensation |
CN103942098A (en) * | 2014-04-29 | 2014-07-23 | 国家电网公司 | System and method for task processing |
CN105243514A (en) * | 2015-11-09 | 2016-01-13 | 浙江中之杰软件技术有限公司 | Salary management system |
-
2017
- 2017-10-13 CN CN201710951691.7A patent/CN108241529B/en active Active
-
2018
- 2018-05-31 WO PCT/CN2018/089350 patent/WO2019071957A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1542644A (en) * | 2003-04-28 | 2004-11-03 | 威盛电子股份有限公司 | Salary paying system and payment method thereof |
CN101510276A (en) * | 2009-02-20 | 2009-08-19 | 浪潮集团山东通用软件有限公司 | Payroll computation method adapting multi-valuta and multi-time-interval |
US20160140520A1 (en) * | 2014-11-18 | 2016-05-19 | Adp, Llc | Real time funding solution for miscellaneous income |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427254A (en) * | 2019-07-05 | 2019-11-08 | 深圳壹账通智能科技有限公司 | Task processing method, device, equipment and computer readable storage medium |
CN112507675A (en) * | 2020-11-05 | 2021-03-16 | 社宝信息科技(上海)有限公司 | Intelligent salary calculation and real-time salary issuing system and method |
CN113256270A (en) * | 2021-06-23 | 2021-08-13 | 金蝶软件(中国)有限公司 | Data processing method, data processing device, data processing apparatus, and storage medium |
CN116308225A (en) * | 2023-01-16 | 2023-06-23 | 深圳市润迅数智科技有限公司 | Human resource management system and method with intelligent accounting salary |
CN116308225B (en) * | 2023-01-16 | 2024-04-16 | 深圳市润迅数智科技有限公司 | Human resource management system and method with intelligent accounting salary |
Also Published As
Publication number | Publication date |
---|---|
CN108241529A (en) | 2018-07-03 |
CN108241529B (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019071957A1 (en) | Salary calculation method, application server and computer-readable storage medium | |
US8612479B2 (en) | Systems and methods for monitoring and detecting fraudulent uses of business applications | |
US8812752B1 (en) | Connector interface for data pipeline | |
US9037960B2 (en) | Monitoring and tracking application usage | |
US10380528B2 (en) | Interactive approach for managing risk and transparency | |
US8165994B2 (en) | Integrated governance and version audit logging | |
US20220172300A1 (en) | Systems and method for combined account reconciliation and variance/flux analysis | |
KR20060043629A (en) | Project time and expense | |
US20130085799A1 (en) | Method and apparatus for improving business process management systems | |
WO2008018939A2 (en) | Systems and methods for monitoring and detecting fraudulent uses of business applications | |
US10404526B2 (en) | Method and system for generating recommendations associated with client process execution in an organization | |
US9607432B2 (en) | Systems and methods for hybrid process mining and manual modeling with integrated continuous monitoring | |
US9978031B2 (en) | Systems and methods for monitoring and detecting fraudulent uses of business applications | |
US20070282622A1 (en) | Method and system for developing an accurate skills inventory using data from delivery operations | |
CN109299074B (en) | Data verification method and system based on templated database view | |
US20140149470A1 (en) | Systems and methods for storing and populating forms | |
US20130091342A1 (en) | Tracing software execution of a business process | |
US20150120370A1 (en) | Advanced planning in a rapidly changing high technology electronics and computer industry through massively parallel processing of data using a distributed computing environment | |
CN112396397A (en) | Operation and maintenance affair collection and management system | |
BE1023269B1 (en) | COMPUTER IMPLEMENTED METHOD FOR COMPLEX DYNAMIC BUSINESS MANAGEMENT | |
Bahou et al. | Modeling the critical care pathway for cardiothoracic surgery | |
US20070239587A1 (en) | System and Method For Dynamically Utilizing and Managing Financial, Operational, and Compliance Data | |
Longo et al. | Fact–Centered ETL: A proposal for speeding business analytics up | |
Hu | Information lifecycle modeling framework for construction project lifecycle management | |
US20230099557A1 (en) | Rule evaluation for related data metrics in real-time data stream |
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: 18866228 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 25.09.2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18866228 Country of ref document: EP Kind code of ref document: A1 |