CN109299913B - Employee salary scheme generation method and device - Google Patents

Employee salary scheme generation method and device Download PDF

Info

Publication number
CN109299913B
CN109299913B CN201810983084.3A CN201810983084A CN109299913B CN 109299913 B CN109299913 B CN 109299913B CN 201810983084 A CN201810983084 A CN 201810983084A CN 109299913 B CN109299913 B CN 109299913B
Authority
CN
China
Prior art keywords
salary
project
target
employee
payroll
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810983084.3A
Other languages
Chinese (zh)
Other versions
CN109299913A (en
Inventor
马振国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin ByteDance Technology Co Ltd
Original Assignee
Tianjin ByteDance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin ByteDance Technology Co Ltd filed Critical Tianjin ByteDance Technology Co Ltd
Priority to CN201810983084.3A priority Critical patent/CN109299913B/en
Publication of CN109299913A publication Critical patent/CN109299913A/en
Application granted granted Critical
Publication of CN109299913B publication Critical patent/CN109299913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/105Human resources
    • G06Q10/1053Employment or hiring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a method and a device for generating an employee salary scheme, wherein the method for generating the employee salary scheme comprises the following steps: receiving an employee salary scheme creation request sent by a user, and outputting an employee salary scheme template, wherein the employee salary scheme template comprises a plurality of salary projects; acquiring a target salary project selected by a user from a plurality of salary projects; acquiring configuration item parameters configured for a target salary project by a user; and generating an employee salary scheme according to the configuration item parameters of the target salary project. The employee salary scheme generation method and the employee salary scheme generation device provided by the invention enable a user to set the employee salary scheme meeting enterprise requirements on the basis of the employee salary scheme template provided according to requirements, thereby facilitating the user to set the requirements of the employee salary scheme in a personalized manner according to the enterprise requirements and improving the user experience.

Description

Employee salary scheme generation method and device
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for generating an employee salary scheme.
Background
With the diversified development of terminal technologies, application software is often used for managing personnel data and calculating personnel salaries. The software is used for salary calculation, so that errors in manual calculation can be reduced, time is saved compared with manual calculation, and therefore, different salary calculation software is developed by an operator to meet personnel requirements of various industries.
With the continuous development of social economy, the scale of enterprises is also getting bigger, the types of employees in the enterprises are increased differently, and the salary structures and salary calculation modes of different employees are different. However, because the types of the employee salary schemes in the employee salary template pool provided in the related salary calculation software are limited, in the process that the enterprise financial staff uses the salary calculation software, sometimes the employee salary schemes in the employee salary template pool are not suitable for the enterprise employees, and at this time, in order to calculate the salaries of the related staff, the user needs more operations in the salary calculation software, so that the user experience is not ideal.
Disclosure of Invention
The invention provides a method and a device for generating a staff salary scheme, which can solve the problem that a user cannot freely set the staff salary scheme according to enterprise requirements.
An embodiment of a first aspect of the present invention provides a method for generating an employee payroll scheme, including: receiving an employee salary scheme creation request sent by a user, and outputting an employee salary scheme template, wherein the employee salary scheme template comprises a plurality of salary projects; acquiring a target salary project selected by the user from a plurality of salary projects; acquiring configuration item parameters configured for the target salary project by the user; and generating an employee salary scheme according to the configuration item parameters of the target salary project.
In an embodiment of the present invention, the configuration item parameters include a first salary item and calculation logic between the target salary item and the first salary item, and before the obtaining of the configuration item parameters configured by the user for the target salary item, the method further includes:
outputting the invokable salary project according to the target salary project; and acquiring the first salary project selected by the user from the invokable salary projects.
In an embodiment of the present invention, the number of target salary items in the staff salary scheme is N, where N is a positive integer greater than 1; the method further comprises the following steps: determining the calculation sequence of the N target salary projects; and sequentially executing the configuration item parameters of the N target salary items according to the calculation sequence, and calculating corresponding staff salaries.
In an embodiment of the present invention, the determining a calculation order of the N target payroll items includes: determining the dependency relationship of N target salary projects according to the calculation logic of the N target salary projects; and determining the calculation sequence of the N target salary projects according to the dependency relationship of the N target salary projects.
In an embodiment of the present invention, the providing a payroll item that can be invoked by the target payroll item includes: acquiring a salary project dependency relationship diagram, wherein nodes in the salary project dependency relationship diagram are salary projects, and the direction of an associated edge between each node represents the salary project depended on when calculating the corresponding salary project; determining a second salary project which the target salary project depends on according to the salary project dependency graph; determining whether an interdependence relationship exists between the target salary project and the second salary project according to the salary project dependency relationship diagram; if the target salary project and the second salary project are determined not to have the interdependency relationship, further determining whether calculating the second salary project is indirectly or directly dependent on the target salary project; and if the second salary project is determined not to be dependent on the target salary project, taking the second salary project as the salary project which can be called by the target salary project.
The employee salary scheme generating method of the embodiment of the invention outputs an employee salary scheme template according to an employee salary scheme creating request of a user, determines a target salary project in the employee salary scheme to be created according to the selection of the user, acquires a configuration item parameter configured for the target salary project by the user, and generates the employee salary scheme according to the configuration item parameter of the target salary project. Therefore, the user can set the employee salary scheme meeting the enterprise requirements on the basis of the employee salary scheme template provided by the user according to the requirements, the user can conveniently set the requirements of the employee salary scheme according to the enterprise requirements in an individualized manner, and the user experience degree is improved.
In order to achieve the above object, an embodiment of a second aspect of the present invention provides an employee salary scheme generating apparatus, including: the system comprises a first providing module, a second providing module and a third providing module, wherein the first providing module is used for receiving an employee salary scheme creating request sent by a user and outputting an employee salary scheme template, and the employee salary scheme template comprises a plurality of salary items; the first acquisition module is used for acquiring a target salary project selected from a plurality of salary projects by the user; the second acquisition module is used for acquiring configuration item parameters configured by the user for the target salary project; and the processing module is used for generating an employee salary scheme according to the configuration item parameters of the target salary project.
In one embodiment of the present invention, the configuration item parameters include a first payroll item and calculation logic between the target payroll item and the first payroll item, further comprising: the second providing module is used for outputting the invokable salary project according to the target salary project; and the third acquisition module is used for acquiring the first salary project selected by the user from the invokable salary projects.
In an embodiment of the present invention, the number of target salary items in the staff salary scheme is N, where N is a positive integer greater than 1; the device further comprises: the determining module is used for determining the calculation sequence of the N target salary projects; and the calculation module is used for sequentially executing the configuration item parameters of the N target salary items according to the calculation sequence and calculating corresponding staff salary.
In an embodiment of the present invention, the determining module is specifically configured to: determining the dependency relationship of N target salary projects according to the calculation logic of the N target salary projects; and determining the calculation sequence of the N target salary projects according to the dependency relationship of the N target salary projects.
In one embodiment of the present invention, the second providing module includes: the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a salary project dependency relationship diagram, nodes in the salary project dependency relationship diagram are salary projects, and the directions of associated edges among the nodes represent the salary projects depended on when corresponding salary projects are calculated; the first determination unit is used for determining a second salary project which the target salary project depends on according to the salary project dependency graph; the first judgment unit is used for determining whether the target salary project and the second salary project have mutual dependency relationship according to the salary project dependency relationship diagram; a second determining unit, configured to further determine whether calculating the second payroll item indirectly or directly depends on the target payroll item if it is determined that there is no interdependence between the target payroll item and the second payroll item; and the determining unit is used for taking the second salary item as the salary item which can be called by the target salary item if the second salary item is determined to be not dependent on the target salary item.
The employee salary scheme generating device of the embodiment of the invention outputs the employee salary scheme template according to the employee salary scheme creating request of the user, determines a target salary project in the employee salary scheme to be created according to the selection of the user, acquires the configuration item parameter configured by the user for the target salary project, and generates the employee salary scheme according to the configuration item parameter of the target salary project. Therefore, the user can set the employee salary scheme meeting the enterprise requirements on the basis of the employee salary scheme template provided by the user according to the requirements, the user can conveniently set the requirements of the employee salary scheme according to the enterprise requirements in an individualized manner, and the user experience degree is improved.
To achieve the above object, a third aspect of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to:
receiving an employee salary scheme creation request sent by a user, and outputting an employee salary scheme template, wherein the employee salary scheme template comprises a plurality of salary projects; acquiring a target salary project selected by the user from a plurality of salary projects; acquiring configuration item parameters configured for the target salary project by the user; and generating an employee salary scheme according to the configuration item parameters of the target salary project.
To achieve the above object, a fourth aspect of the present invention provides a non-transitory computer-readable storage medium having stored thereon a computer program, the program being executed by a processor to:
receiving an employee salary scheme creation request sent by a user, and outputting an employee salary scheme template, wherein the employee salary scheme template comprises a plurality of salary projects; acquiring a target salary project selected by the user from a plurality of salary projects; acquiring configuration item parameters configured for the target salary project by the user; and generating an employee salary scheme according to the configuration item parameters of the target salary project.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a method for generating an employee payroll scheme according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a detailed flow of a payroll project that may be invoked to provide a target payroll project;
FIG. 3 is a first salary item dependency diagram;
FIG. 4 is a salary project dependency diagram two;
FIG. 5 is a schematic flow chart illustrating another employee payroll scheme generation method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an employee salary scheme generating apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another employee payroll scheme generating apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another employee salary scheme generating apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another employee payroll scheme generating apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device for executing the employee salary scheme generating method according to the embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The employee salary scheme generation method and apparatus according to the embodiment of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of an employee salary scheme generation method according to an embodiment of the present invention.
As shown in fig. 1, the employee payroll scheme generation method includes the following steps:
step 101, receiving an employee salary scheme creation request sent by a user, and outputting an employee salary scheme template, wherein the employee salary scheme template comprises a plurality of salary projects.
It should be noted that the employee salary scheme generation method according to the embodiment of the present invention is applied to an electronic device.
Wherein, the electronic equipment is provided with software for calculating salary of staff.
The electronic device may include, but is not limited to, a computer, a smart phone, a tablet phone, and other hardware devices with various operating systems, and the embodiment does not limit the electronic device.
As an exemplary embodiment, when a financial staff of an enterprise needs to add a new employee salary scheme, a user may input a request for creating the employee salary scheme through an electronic device, and correspondingly, the electronic device receives the request for creating the employee salary scheme input by the user and outputs an employee salary scheme template for the user according to the request for creating.
The employee payroll scheme template may include a plurality of different types of payroll projects.
The salary items can be divided into four categories, namely basic salary, bonus, long-term incentive and summary.
Basic salaries may include, but are not limited to, basic salaries, post performance, basic salaries, and target monthly performance, among others.
Wherein, the bonus category can include but is not limited to target annual final bonus month number, target quarterly bonus month number, and annual future month number.
The long-term incentive categories may include, but are not limited to, cash, stock, and the like.
Wherein, the summary class may include but is not limited to annual salary, annual cash integration, annual long-term incentive revenue, etc.
Step 102, obtaining a target salary project selected by a user from a plurality of salary projects.
After obtaining the output employee payroll scheme template, the user may select a target payroll item required by the employee payroll scheme to be created by selecting a corresponding payroll item, or select a target payroll item required by the employee payroll scheme to be created by deleting an unnecessary payroll item in the employee payroll scheme template.
The employee payroll scheme template in the user interface containing the employee payroll scheme template comprises a plurality of payroll items, each payroll item is provided with a deletion option and an editing option, and a user can delete unnecessary payroll items through the deletion option according to the requirement of the employee payroll scheme to be created so as to obtain a target payroll item required by the employee payroll scheme to be created, wherein it needs to be noted that the user can also configure the configuration item of the corresponding payroll item through the editing option in the user interface.
And 103, acquiring configuration item parameters configured for the target salary item by the user.
The configuration parameters of the target payroll project may include, but are not limited to, the first payroll project and the calculation logic between the target payroll project and the first payroll project.
The configuration parameters of the target salary project can also comprise data attributes and calculation attributes of the target salary project.
The data attributes may include, but are not limited to, a salary class, a numeric class, and a string class.
The calculation attribute may include, but is not limited to, a user input class, a formula calculation class.
It should be understood that, when the calculation attribute of the target salary project is the user input class, that is, when the user inputs the calculation logic of the target salary project by means of manual input, the user knows the salary project to be referred to when calculating the target salary project. Thus, at this point, the payroll item entered by the user may be unconditionally referenced by other payroll items.
In an embodiment of the present invention, in the process of calculating salary projects, a reference relationship may exist between salary projects, and in order to avoid a situation that a target salary project cannot be calculated due to a mutual dependency relationship between salary projects, as an exemplary implementation manner, before acquiring configuration item parameters configured for the target salary project by a user, an invokable salary project may be output according to the target salary project; and acquiring a first salary project selected by a user from the invokable salary projects.
It should be noted that, according to different scenes, there are various ways of providing payroll projects that can be called by a target payroll project, for example, as follows:
as one example, payroll projects that may be invoked by a target payroll project may be determined based on pre-saved interdependencies between payroll projects.
It should be noted that, if there is a mutual dependency relationship between two payroll projects, there is a cyclic dependency problem in the formula for calculating the two payroll projects. For example, there is a correlation between the salary project a and the salary project B, that is, there is a salary project B in the formula for calculating the salary project a, and there is a salary project a in the formula for calculating the salary project B, that is, when calculating the salary project a, it depends on the salary project B, when calculating the salary project B, it depends on the salary project a, and because there is a formula cycle dependency problem in the salary project a and the salary project B, at this time, it is impossible to calculate the salary project a and the salary project B.
As another example, in this example, as shown in FIG. 2, providing a payroll item that may be invoked by a target payroll item may include:
step 301, obtaining a salary project dependency relationship diagram, where nodes in the salary project dependency relationship diagram are salary projects, and directions of associated edges between the nodes represent salary projects relied on when calculating corresponding salary projects.
Step 302, determining a second salary project which the target salary project depends on according to the salary project dependency graph.
Step 303, determining whether there is a mutual dependency relationship between the target salary project and the second salary project according to the salary project dependency relationship diagram.
Step 304, if it is determined that the target payroll item and the second payroll item do not have an interdependence relationship, further determining whether calculating the second payroll item is indirectly or directly dependent on the target payroll item.
Step 305, if it is determined that the calculation of the second payroll item is not dependent on the target payroll item, the second payroll item is used as a payroll item that can be invoked by the target payroll item.
For example, assume that the employee payroll scheme includes four payroll items: A. b, C, D, a payroll item dependency graph, as shown in fig. 3, it can be seen from fig. 3 that the payroll item a needs to depend on payroll items B and C, while the payroll item B depends on D, and the payroll item D depends on the payroll item C. Thus, payroll projects that payroll project a may invoke are payroll projects B, C and D.
As another example, assume that four payroll items are included in the employee payroll schema: A. b, C, D, E and F, a payroll item dependency relationship diagram, as shown in FIG. 4, because the payroll item A needs to depend on payroll items B and C, and the payroll item C needs to calculate payroll item A, at this time, there is a formula cycle dependency problem when calculating payroll item A and payroll item B, and when the target payroll item is A, the target payroll item A can not call the payroll item C. In addition, because the salary project B depends on D, and the salary project D is calculated depends on the salary project C, the salary project A is required for the salary project C. Therefore, target payroll project a may not invoke payroll project B either. Through the analysis of the payroll project dependency graph, payroll projects which can be invoked by the target payroll project A can be determined as a payroll project E and a payroll project F.
It should be noted that, in the process of configuring the target salary project, the user may also perform the employee information and the built-in function on the target salary project in order to facilitate the user to quickly calculate the corresponding employee salary through the employee salary scheme in the following process. Related service functions, and the like.
Built-in functions may include, but are not limited to, a hundred rounding, a legal number of days of the month, etc.
The related business functions can be the employee departure date and the calculation mode of the departure compensation.
As an example, when a company pays, the amount value converted according to the formula may have more decimal places, and at this time, the user may normalize the value through a built-in function to facilitate subsequent statistics.
As an example, the business function mainly facilitates the calculation mode that a user can quickly acquire the number of days of employment, the date of departure and compensation of a certain employee.
Wherein, the 'ABC' configuration item in the user interface containing the configuration item of the target salary item represents that the character string is used for inputting the character string, and the '123' is used for inputting the number (including the floating point number). In the process of configuring the staff salary scheme, the user can set the staff conditions suitable for the target salary project through the staff information.
For example, assuming that the target salary project is basic salary, the calculation method uses a formula to calculate, and if the post performance is greater than 1500, then 20000 is set, otherwise 17000 ends. When the formula calculation logic is configured for basic salaries, a user can submit the configuration information of the basic salaries through a submission option in the configuration interface.
After the user submits the configuration content of the target salary project through the configuration interface, the background analyzes and generates a text meeting the custom grammar rule, which is exemplified as follows:
["IF","${2-595}",">","#{1500}","THEN","#{13000}","ELSE","#{17000}","ENDIF"]。
it should be understood that, when the basic salary is calculated subsequently, in the calculation process, first go through $ {2-595}, and analyze and convert it into a value in the corresponding system, assuming that a is a. Then, traverse # 1500, which is a constant, i.e., 1500. And traversing '>', judging A >1500, if the judgment is true, taking the logic of the THEN branch to obtain a constant 20000, otherwise, taking the logic of the ELSE to obtain a constant 17000.
And 104, generating an employee salary scheme according to the configuration item parameters of the target salary project.
The employee salary scheme generating method of the embodiment of the invention outputs an employee salary scheme template according to an employee salary scheme creating request of a user, determines a target salary project in the employee salary scheme to be created according to the selection of the user, acquires a configuration item parameter configured for the target salary project by the user, and generates the employee salary scheme according to the configuration item parameter of the target salary project. Therefore, the user can set the employee salary scheme meeting the enterprise requirements on the basis of the employee salary scheme template provided by the user according to the requirements, the user can conveniently set the requirements of the employee salary scheme according to the enterprise requirements in an individualized manner, and the user experience degree is improved.
Based on the above embodiment, after the employee salary scheme is generated, the user may name the newly created employee salary scheme according to the applicable rules of the employee salary scheme to facilitate the subsequent user to pay for the new employee or adjust the salary scheme for the old employee, in order to facilitate the subsequent use.
It should be understood that the number of target payroll items in the employee payroll scheme may be one or more, and the user may select the target payroll item according to actual needs, which is not limited in this embodiment.
In one embodiment of the invention, the number of target salary items in the staff salary scheme is N, where N is a positive integer greater than 1. On the basis of the above embodiment, as shown in fig. 5, the method may further include:
step 801, determining a calculation order of the N target payroll items.
It should be noted that, according to different application scenarios, the calculation order of the N target salary items may be determined in different manners. Examples are as follows:
as an example, target salary projects in the employee salary project may be obtained, and the calculation order of the N target salary projects may be determined according to the pre-saved dependencies between the salary projects.
For example, the employee payroll scheme includes four target payroll items: A. b, C, D, according to the pre-saved dependence relationship between the salary projects, determining whether to depend on the target salary project B when calculating the target salary project A, depend on the target salary project D when calculating the target salary project B, and depend on the target salary project C when calculating the target salary project D. At this time, after the employee salary scheme is distributed to the corresponding employee, when the corresponding employee salary is subsequently calculated, the calculation sequence of the target salary project is as follows: the target salary project C is calculated first, then the target salary project D is calculated, then the target salary project B is calculated, and finally the target salary project A is calculated.
As another example, determining a calculation order for N target payroll items may include: determining the dependency relationship of the N target salary projects according to the calculation logic of the N target salary projects; and determining the calculation sequence of the N target salary projects according to the dependency relationship of the N target salary projects.
As another example, a payroll item dependency graph may be obtained, and the dependencies of the N target payroll items may be determined according to the payroll item dependency graph, and the calculation order of the N target payroll items may be determined according to the dependencies of the N target payroll items.
The nodes in the salary project dependency relationship graph are salary projects, and the directions of the associated edges among the nodes represent the salary projects depended on when the corresponding salary projects are calculated.
And step 802, sequentially executing configuration item parameters of the N target salary items according to the calculation sequence, and calculating corresponding staff salaries.
In this example, the calculation order of the N target salary projects is determined, and the configuration item parameters of the N target salary projects are sequentially executed according to the calculation order of the target salary projects, so as to calculate corresponding employee salaries. Therefore, corresponding staff salaries can be calculated quickly, efficiency of corresponding staff salaries is improved, and user experience is improved.
The embodiment of the invention also provides a device for generating the staff salary scheme.
Fig. 6 is a schematic structural diagram of an employee salary scheme generating apparatus according to an embodiment of the present invention.
As shown in fig. 6, the employee payroll scheme generating apparatus includes: a first providing module 110, a first obtaining module 120, a second obtaining module 130, and a processing module 140, wherein:
the first providing module 110 is configured to receive an employee salary plan creating request sent by a user, and output an employee salary plan template, where the employee salary plan template includes a plurality of salary projects.
The first obtaining module 120 is configured to obtain a target salary item selected by a user from a plurality of salary items.
And a second obtaining module 130, configured to obtain configuration item parameters configured by the user for the target salary project.
And the processing module 140 is configured to generate an employee salary scheme according to the configuration item parameters of the target salary project.
The configuration item parameters may include, but are not limited to, a first payroll item and computational logic between a target payroll item and the first payroll item.
The configuration parameters of the target salary project can also comprise data attributes and calculation attributes of the target salary project.
The data attributes may include, but are not limited to, a salary class, a numeric class, and a string class.
The calculation attribute may include, but is not limited to, a user input class, a formula calculation class.
It should be understood that, when the calculation attribute of the target salary project is the user input class, that is, when the user inputs the calculation logic of the target salary project by means of manual input, the user knows the salary project to be referred to when calculating the target salary project. Thus, at this point, the payroll item entered by the user may be unconditionally referenced by other payroll items.
In an embodiment of the present invention, on the basis of fig. 6, as shown in fig. 7, the apparatus may further include:
and a second providing module 150 for outputting the invokable payroll project according to the target payroll project.
A third obtaining module 160, configured to obtain the first salary item selected by the user from the invokable salary items.
The target salary items in the employee salary scheme are N, and N is a positive integer greater than 1.
In an embodiment of the present invention, on the basis of fig. 6, as shown in fig. 8, the apparatus may further include:
a determining module 170 for determining a calculation order of the N target payroll items.
And the calculating module 180 is used for sequentially executing the configuration item parameters of the N target salary items according to the calculating sequence and calculating corresponding staff salary.
It should be noted that, the structures of the determining module 170 and the calculating module 180 in the apparatus embodiment shown in fig. 8 may also be included in the structure shown in fig. 7, and this embodiment is not limited to this.
In an embodiment of the present invention, the determining module 170 is specifically configured to: determining the dependency relationship of the N target salary projects according to the calculation logic of the N target salary projects; and determining the calculation sequence of the N target salary projects according to the dependency relationship of the N target salary projects.
In an embodiment of the present invention, on the basis of fig. 7, as shown in fig. 9, the second providing module 150 may include:
the first obtaining unit 151 is configured to obtain a salary project dependency graph, where nodes in the salary project dependency graph are salary projects, and directions of associated edges between the nodes represent salary projects relied on when calculating corresponding salary projects.
The first determining unit 152 is configured to determine, according to the salary item dependency graph, a second salary item on which the target salary item depends.
The first judging unit 153 is configured to determine whether there is an interdependence relationship between the target salary item and the second salary item according to the salary item dependency relationship diagram.
A second determining unit 154, configured to further determine whether to calculate the second salary item indirectly or directly depends on the target salary item if it is determined that there is no interdependency between the target salary item and the second salary item.
And the determining unit 155 is configured to take the second payroll item as a payroll item that can be invoked by the target payroll item if it is determined that the calculation of the second payroll item does not depend on the target payroll item.
It should be noted that the explanation of the embodiment of the employee payroll scheme generation method is also applicable to the employee payroll scheme generation apparatus of the embodiment, and is not described herein again.
The employee salary scheme generating device of the embodiment of the invention outputs the employee salary scheme template according to the employee salary scheme creating request of the user, determines a target salary project in the employee salary scheme to be created according to the selection of the user, acquires the configuration item parameter configured by the user for the target salary project, and generates the employee salary scheme according to the configuration item parameter of the target salary project. Therefore, the user can set the employee salary scheme meeting the enterprise requirements on the basis of the employee salary scheme template provided by the user according to the requirements, the user can conveniently set the requirements of the employee salary scheme according to the enterprise requirements in an individualized manner, and the user experience degree is improved.
In order to implement the foregoing embodiments, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to:
receiving an employee salary scheme creation request sent by a user, and outputting an employee salary scheme template, wherein the employee salary scheme template comprises a plurality of salary projects; acquiring a target salary project selected by the user from a plurality of salary projects; acquiring configuration item parameters configured for the target salary project by the user; and generating an employee salary scheme according to the configuration item parameters of the target salary project.
To achieve the above embodiments, an embodiment of the present invention further proposes a non-transitory computer-readable storage medium having stored thereon a computer program, which is executed by a processor to:
receiving an employee salary scheme creation request sent by a user, and outputting an employee salary scheme template, wherein the employee salary scheme template comprises a plurality of salary projects; acquiring a target salary project selected by the user from a plurality of salary projects; acquiring configuration item parameters configured for the target salary project by the user; and generating an employee salary scheme according to the configuration item parameters of the target salary project.
Fig. 10 is a schematic hardware structure diagram of an electronic device for executing a method for generating an employee salary scheme according to an embodiment of the present invention, and as shown in fig. 10, the electronic device includes:
one or more processors 1310 and a memory 1320, one processor 1310 being illustrated in fig. 10.
The electronic device may further include: an input device 1330 and an output device 1340.
The processor 1310, the memory 1320, the input device 1330, and the output device 1340 may be connected by a bus or other means, such as by a bus in FIG. 10.
The memory 1320 may be used as a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the employee payroll scheme generation method in the embodiment of the present application (for example, the first providing module 110, the first obtaining module 120, the second obtaining module 130, and the processing module 140 shown in fig. 6). The processor 1310 executes various functional applications of the server and data processing by running non-transitory software programs, instructions and modules stored in the memory 1320, namely, implementing the employee salary scheme generation method in the above method embodiment.
The memory 1320 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the employee payroll scheme generation apparatus, and the like. Further, the memory 1320 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 1320 may optionally include memory located remotely from processor 1310, which may be connected to the employee payroll scheme generation apparatus via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 1330 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the employee payroll scheme generating device. The output device 1340 may include a display device such as a display screen.
One or more modules are stored in the memory 1320 that, when executed by the one or more processors 1310, perform the employee payroll scheme generation method in any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The electronic device of embodiments of the present invention exists in a variety of forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game players, electronic books, and smart toys and portable car-mounted devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM), and so on, and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A staff salary scheme generation method is characterized by comprising the following steps:
receiving an employee salary scheme creation request sent by a user, and outputting an employee salary scheme template, wherein the employee salary scheme template comprises a plurality of salary projects;
acquiring a target salary project selected by the user from a plurality of salary projects;
acquiring configuration item parameters configured for the target salary project by the user;
generating an employee salary scheme according to the configuration item parameters of the target salary project;
wherein, the configuration item parameters include a first payroll item and calculation logic between the target payroll item and the first payroll item, and before the obtaining of the configuration item parameters configured by the user for the target payroll item, the method further includes:
outputting the invokable salary project according to the target salary project;
acquiring the first salary project selected by the user from the invokable salary projects;
outputting the invokable salary project according to the target salary project, comprising:
acquiring a salary project dependency relationship diagram, wherein nodes in the salary project dependency relationship diagram are salary projects, and the direction of an associated edge between each node represents the salary project depended on when calculating the corresponding salary project;
determining a second salary project which the target salary project depends on according to the salary project dependency graph;
determining whether an interdependence relationship exists between the target salary project and the second salary project according to the salary project dependency relationship diagram;
if the target salary project and the second salary project are determined not to have the interdependency relationship, further determining whether calculating the second salary project is indirectly or directly dependent on the target salary project;
and if the second salary project is determined not to be dependent on the target salary project, taking the second salary project as the salary project which can be called by the target salary project.
2. The method of claim 1, wherein the target payroll items in the employee payroll scheme are N, N being a positive integer greater than 1;
the method further comprises the following steps:
determining the calculation sequence of the N target salary projects;
and sequentially executing the configuration item parameters of the N target salary items according to the calculation sequence, and calculating corresponding staff salaries.
3. The method of claim 2, wherein said determining a calculation order for the N target payroll items comprises:
determining the dependency relationship of N target salary projects according to the calculation logic of the N target salary projects;
and determining the calculation sequence of the N target salary projects according to the dependency relationship of the N target salary projects.
4. An employee payroll scheme generation apparatus, comprising:
the system comprises a first providing module, a second providing module and a third providing module, wherein the first providing module is used for receiving an employee salary scheme creating request sent by a user and outputting an employee salary scheme template, and the employee salary scheme template comprises a plurality of salary items;
the first acquisition module is used for acquiring a target salary project selected from a plurality of salary projects by the user;
the second acquisition module is used for acquiring configuration item parameters configured by the user for the target salary project;
the processing module is used for generating an employee salary scheme according to the configuration item parameters of the target salary project;
wherein the configuration item parameters include a first payroll item and calculation logic between the target payroll item and the first payroll item, and further comprising:
the second providing module is used for outputting the invokable salary project according to the target salary project;
a third obtaining module, configured to obtain the first salary project selected by the user from the invokable salary projects;
the second providing module includes:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a salary project dependency relationship diagram, nodes in the salary project dependency relationship diagram are salary projects, and the directions of associated edges among the nodes represent the salary projects depended on when corresponding salary projects are calculated;
the first determination unit is used for determining a second salary project which the target salary project depends on according to the salary project dependency graph;
the first judgment unit is used for determining whether the target salary project and the second salary project have mutual dependency relationship according to the salary project dependency relationship diagram;
a second determining unit, configured to further determine whether calculating the second payroll item indirectly or directly depends on the target payroll item if it is determined that there is no interdependence between the target payroll item and the second payroll item;
and the determining unit is used for taking the second salary item as the salary item which can be called by the target salary item if the second salary item is determined to be not dependent on the target salary item.
5. An electronic device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the instructions being configured to perform the employee payroll scheme generation method of any one of the preceding claims 1-3.
6. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the employee payroll scheme generation method of any one of claims 1-3.
CN201810983084.3A 2018-08-27 2018-08-27 Employee salary scheme generation method and device Active CN109299913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810983084.3A CN109299913B (en) 2018-08-27 2018-08-27 Employee salary scheme generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810983084.3A CN109299913B (en) 2018-08-27 2018-08-27 Employee salary scheme generation method and device

Publications (2)

Publication Number Publication Date
CN109299913A CN109299913A (en) 2019-02-01
CN109299913B true CN109299913B (en) 2021-03-05

Family

ID=65165422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810983084.3A Active CN109299913B (en) 2018-08-27 2018-08-27 Employee salary scheme generation method and device

Country Status (1)

Country Link
CN (1) CN109299913B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098701B (en) * 2019-12-23 2022-12-27 阿里巴巴(北京)软件服务有限公司 Data processing method and device and electronic equipment
CN111415136A (en) * 2020-03-20 2020-07-14 用友网络科技股份有限公司 Task processing method, system, terminal and storage medium
CN113095925A (en) * 2021-04-19 2021-07-09 乐才(北京)科技有限公司 Salary management method and device, computer readable storage medium and server
CN113326042B (en) * 2021-06-28 2023-05-26 上海致景信息科技有限公司 Method, device, storage medium and processor for visual configuration salary

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474323A (en) * 2002-08-09 2004-02-11 英新达股份有限公司 Salary setting system and method
CN101582138A (en) * 2009-06-23 2009-11-18 用友软件股份有限公司 Dynamic business processing system and method
US9842312B1 (en) * 2010-02-19 2017-12-12 Upwork Global Inc. Digital workroom
CN104346555A (en) * 2014-10-31 2015-02-11 深圳市东信时代信息技术有限公司 Salary calculation formula editing and verifying system and method
CN107908480A (en) * 2017-10-13 2018-04-13 平安科技(深圳)有限公司 Wages computational methods, application server and computer-readable recording medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Mining Approximate Temporal Functional Dependencies Based on Pure Temporal Grouping";Carlo Combi; Paolo Parise; Pietro Sala; Giuseppe Pozzi;《2013 IEEE 13th International Conference on Data Mining Workshops》;20140306;全文 *
程龙." 某大型保险集团薪资***的设计与实现".《中国优秀硕士学位论文全文数据库 信息科技辑》.2017, *

Also Published As

Publication number Publication date
CN109299913A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
US10839011B2 (en) Application programing interface document generator
CN109299913B (en) Employee salary scheme generation method and device
US11797273B2 (en) System and method for enhancing component based development models with auto-wiring
US11941068B2 (en) Case leaf nodes pointing to business objects or document types
CN106796526A (en) JSON Stylesheet Language Transformations
US10846644B2 (en) Cognitive process learning
US11704680B2 (en) Detecting fraudulent user accounts using graphs
CN111427971B (en) Business modeling method, device, system and medium for computer system
US20180357587A1 (en) Analyzing data management-related and/or contract management-related operations of an organization
CN111125064B (en) Method and device for generating database schema definition statement
CN115993966B (en) Application development system and method
US20210124752A1 (en) System for Data Collection, Aggregation, Storage, Verification and Analytics with User Interface
US10505873B2 (en) Streamlining end-to-end flow of business-to-business integration processes
CN111125594A (en) Method and system for managing a large number of task input parameters in distributed system
CN115543428A (en) Simulated data generation method and device based on strategy template
CN115391343A (en) Bill data processing method and device, electronic equipment and storage medium
CN115408009A (en) Code file generation method, device, equipment and storage medium
CN114816361A (en) Method, device, equipment, medium and program product for generating splicing project
US11222133B1 (en) User programmatic interface for supporting data access control in a database system
US20140089207A1 (en) System and method for providing high level view tracking of changes in sca artifacts
CN110991923B (en) Architecture construction method and device, electronic equipment and medium
US20230113287A1 (en) Techniques for determining cross-validation parameters for time series forecasting
US20230230324A1 (en) Method, System, Equipment and Medium for Modifying the Layering Layer Information of Finite Element Model Unit
KR102449831B1 (en) Electronic device for providing information regarding new text, server for identifying new text and operation method thereof
CN116820565A (en) Source code processing method, device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant