CN107908480A - Wages computational methods, application server and computer-readable recording medium - Google Patents
Wages computational methods, application server and computer-readable recording medium Download PDFInfo
- Publication number
- CN107908480A CN107908480A CN201710951692.1A CN201710951692A CN107908480A CN 107908480 A CN107908480 A CN 107908480A CN 201710951692 A CN201710951692 A CN 201710951692A CN 107908480 A CN107908480 A CN 107908480A
- Authority
- CN
- China
- Prior art keywords
- wages
- calculating
- business personnel
- corporate data
- calculating logic
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/54—Interprogram communication
- G06F9/544—Buffers; Shared memory; Pipes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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 OR CALCULATING; 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
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Development Economics (AREA)
- Technology Law (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a kind of wages computational methods, this method includes:Build the calculating logic of each commission project;Obtain the corporate data of each calculating logic;A memory headroom is set, stores the corporate data;When receiving the request of calculating business personnel's wages of mobile terminal transmission, the commission project that the business personnel includes is obtained;And the calculating logic of each commission project is performed, the corporate data is transferred from the memory space, and then calculate the wages of the business personnel.The present invention also provides a kind of application server and computer-readable recording medium.Application server, wages computational methods and computer-readable storage medium provided by the invention can independently calculate the commission of each project, when needing to change the calculating of a certain wages project, do not interfere with other wages projects and calculate.
Description
Technical field
The present invention relates to computer communication field, more particularly to a kind of wages computational methods, application server and computer
Readable storage medium storing program for executing.
Background technology
As social economy constantly develops, the scale of enterprise also goes from strength to strength, and the mechanism channel of enterprises is continuous
Increase, the variation of wages project.Therefore wages, which calculate, is related to the multiple wages projects of meter, and has shared number between each wages project
According to the part of read-write, in order to once complete the processing of this partial data, by the calculating logic of multiple wages projects it is crowded handle
In a calculating process, the calculating logic weave in of each wages project being caused so that wages calculating process is lengthy and tedious,
Especially when needing to change the calculating of a certain wages project, other wages projects can be influenced and calculated, brought to developer
Greatly inconvenience.
The content of the invention
In view of this, the present invention proposes a kind of wages computational methods, application server and computer-readable recording medium, energy
External data is enough loaded, wages calculate, and improve user experience.
First, to achieve the above object, the present invention provides a kind of wages computational methods, and this method is applied to application service
Device, the described method includes:
Build the calculating logic of each commission project;
Obtain the corporate data of each calculating logic;
A memory headroom is set, stores the corporate data;
When receiving the request of calculating business personnel's wages of mobile terminal transmission, the commission that the business personnel includes is obtained
Project;And
The calculating logic of each commission project is performed, the corporate data is transferred from the memory space, calculates the industry
The wages of business person.
Alternatively, the step of corporate data of each calculating logic of acquisition, specifically includes:
Parse the mark of the data of each calculating logic;
Obtain the data with identical mark.
Alternatively, the calculating logic for performing each commission project, the corporate data is transferred from the memory space,
Before the step of calculating the wages of the business personnel, following steps are further included:
Judge whether the calculating logic needs to use the corporate data of the memory headroom storage;
If judge that the calculating logic needs to use the corporate data, the common number is transferred from the memory space
According to;And
The salary calculation system also realizes following steps when being performed by the processor:
The corporate data of the calculating logic of each commission project and memory headroom storage is backed up into cloud disk.
Alternatively, when receiving the request of calculating business personnel's wages of mobile terminal transmission, business personnel's bag is obtained
The step of commission project contained, specifically include:
When server receives the request for calculating business personnel's wages, according to the personal information of the business personnel from employee's data
Storehouse obtains the details to match with the business personnel;And
The business item of the business personnel under one's name is inquired about according to the details, and then obtains commission project.
In addition, to achieve the above object, the present invention also proposes a kind of application server, the application server includes storage
Device, processor, the salary calculation system that can be run on the processor is stored with the memory, and the wages calculate system
System realizes following steps when being performed by the processor:
Build the calculating logic of each commission project;
Obtain the corporate data of each calculating logic;
A memory headroom is set, stores the corporate data;
When receiving the request of calculating business personnel's wages of mobile terminal transmission, the commission that the business personnel includes is obtained
Project;And
The calculating logic of each commission project is performed, the corporate data is transferred from the memory space, calculates the industry
The wages of business person.
Alternatively, the step of corporate data of each calculating logic of acquisition, specifically includes:
Parse the mark of the data of each calculating logic;And
Obtain the data with identical mark.
Alternatively, the calculating logic for performing each commission project, the corporate data is transferred from the memory space,
Before the step of calculating the wages of the business personnel, following steps are further included:
Judge whether the calculating logic needs to use the corporate data of the memory headroom storage;And
If judge that the calculating logic needs to use the corporate data, the common number is transferred from the memory space
According to.
Alternatively, when receiving the request of calculating business personnel's wages of mobile terminal transmission, business personnel's bag is obtained
The step of commission project contained, specifically include:
When server receives the request for calculating business personnel's wages, according to the personal information of the business personnel from employee's data
Storehouse obtains the details to match with the business personnel;
The business item of the business personnel under one's name is inquired about according to the details, and then obtains commission project.
Alternatively, following steps are also realized when the salary calculation system is performed by the processor:
The corporate data of the calculating logic of each commission project and memory headroom storage is backed up into cloud disk.
Further, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, the computer
Readable storage medium storing program for executing is stored with salary calculation system, and the salary calculation system can be performed by least one processor, so that institute
State the step of at least one processor performs wages computational methods described above.
Compared to the prior art, application server proposed by the invention, wages computational methods and computer-readable storage
Medium, builds the calculating logic of each commission project first;Then, by analyzing calculating logic, each calculating logic is obtained
Corporate data;Then, a memory headroom is set, stores the corporate data;And then when the meter for receiving mobile terminal transmission
When calculating the request of business personnel's wages, the commission project that the business personnel includes is obtained;Finally, the calculating of each commission project is performed
Logic, transfers the corporate data from the memory space, calculates the wages of the business personnel.In this way, both can be to avoid existing
In technology by the calculating logic of multiple wages projects it is crowded handle in a calculating process, each wages project will be caused
Calculating logic weave in so that the defects of wages calculating process is lengthy and tedious, can also independently calculate the commission of each project, when
When needing to change the calculating of a certain wages project, do not interfere with other wages projects and calculate, mitigate the pressure of developer.
Brief description of the drawings
Fig. 1 is each optional application environment schematic diagram of embodiment one of the present invention;
Fig. 2 is the schematic diagram of one optional hardware structure of application server in Fig. 1;
Fig. 3 is the program module schematic diagram of salary calculation system first embodiment of the present invention;
Fig. 4 is the program module schematic diagram of salary calculation system second embodiment of the present invention;
Fig. 5 is the program module schematic diagram of salary calculation system 3rd embodiment of the present invention;
Fig. 6 is the flow diagram of salary calculation system first embodiment of the present invention;
Fig. 7 is the flow diagram of wages computational methods first embodiment of the present invention;
Fig. 8 is the flow diagram of wages computational methods second embodiment of the present invention;
Fig. 9 is the flow diagram of wages computational methods 3rd embodiment of the present invention;
Figure 10 is the flow diagram of wages computational methods fourth embodiment of the present invention;
Reference numeral:
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not
For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before creative work is made
All other embodiments obtained are put, belong to the scope of protection of the invention.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is only used for description purpose, and cannot
It is interpreted as indicating or implies its relative importance or imply the quantity of the technical characteristic indicated by indicating.Thus, define " the
One ", at least one this feature can be expressed or be implicitly included to the feature of " second ".In addition, the skill between each embodiment
Art scheme can be combined with each other, but must can be implemented as basis with those of ordinary skill in the art, when technical solution
It will be understood that the combination of this technical solution is not present with reference to there is conflicting or can not realize when, also not in application claims
Protection domain within.
As shown in fig.1, it is each optional application environment schematic diagram of embodiment one of the present invention.
In the present embodiment, present invention can apply to include but not limited to, mobile terminal 1, application server 2, network
In 3 application environment.Wherein, the mobile terminal 1 can be that mobile phone, smart phone, laptop, digital broadcasting connect
Receive device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), guider etc. can
Mobile equipment, and such as fixed terminal of numeral TV, desktop computer, notebook, server etc..The application server
2 can be the computing devices such as rack-mount server, blade server, tower server or Cabinet-type server, the application clothes
Business device 2 can be the server cluster that independent server or multiple servers are formed.The network 3 can be
Intranet (Intranet), internet (Internet), global system for mobile communications (Global System of
Mobile communication, GSM), wideband code division multiple access (Wideband Code Division Multiple
Access, WCDMA), 4G networks, 5G networks, bluetooth (Bluetooth), the wirelessly or non-wirelessly network such as Wi-Fi.
Wherein, communicated respectively with one or more mobile terminals 1 by the network 3 in the application server 2
Connection, to carry out data transmission and interact.
In the present embodiment, the mobile terminal 1 is the corresponding mobile terminal 1 of enterprise customer.
As shown in fig.2, it is the schematic diagram of 2 one optional hardware structure of application server in Fig. 1.In the present embodiment, institute
Stating application server 2 may include, but be not limited only to, and connection memory 11, processor 12, net can be in communication with each other by system bus
Network interface 13.It is pointed out that Fig. 2 illustrate only the application server 2 with component 11-13, it should be understood that simultaneously
All components shown realistic are not applied, the more or less component of the implementation that can be substituted.
Wherein, the memory 11 includes at least a type of readable storage medium storing program for executing, and the readable storage medium storing program for executing includes
Flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), it is static with
Machine access memory (SRAM), read-only storage (ROM), electrically erasable programmable read-only memory (EEPROM), it is programmable only
Read memory (PROM), magnetic storage, disk, CD etc..In certain embodiments, the memory 11 can be described answers
With the hard disk or memory of the internal storage unit of server 2, such as the application server 2.In further embodiments, it is described to deposit
Reservoir 11 can also be that the plug-in type being equipped with the External memory equipment of the application server 2, such as the application server 2 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Certainly, the memory 11 can also both include the internal storage unit of the application server 2 or wrap
Include its External memory equipment.In the present embodiment, the memory 11 is installed on the behaviour of the application server 2 commonly used in storage
Make system and types of applications software, such as program code of the salary calculation system 200 etc..In addition, the memory 11 is also
It can be used for temporarily storing the Various types of data that has exported or will export.
The processor 12 can be in certain embodiments central processing unit (Central ProcessingUnit,
CPU), controller, microcontroller, microprocessor or other data processing chips.The processor 12 is answered commonly used in control is described
Data interaction or communicate relevant control and place are carried out with the overall operation of server 2, such as execution and the mobile terminal 1
Reason etc..In the present embodiment, the processor 12 is used to run the program code stored in the memory 11 or processing data,
Such as run described salary calculation system 200 etc..
The network interface 13 may include radio network interface or wired network interface, which is commonly used in
Communication connection is established between the application server 2 and other electronic equipments.In the present embodiment, the network interface 13 is mainly used
In the application server 2 is connected with one or more mobile terminals 1 by the network 3, in the application service
Data transmission channel and communication connection are established between device 2 and one or more of mobile terminals 1.
So far, oneself is through describing the application environment of each embodiment of the present invention and the hardware configuration and work(of relevant device in detail
Energy.In the following, above application environment and relevant device will be based on, each embodiment of the present invention is proposed.
First, the present invention proposes a kind of salary calculation system 200.
As shown in fig.3, it is the Program modual graph of 200 first embodiment of salary calculation system of the present invention.
In the present embodiment, the salary calculation system 200 includes a series of computer being stored on memory 11
Programmed instruction, when the computer program instructions are performed by processor 12, it is possible to achieve the wages of various embodiments of the present invention calculate
Operation.In certain embodiments, the specific operation realized based on the computer program instructions each several part, salary calculation system
200 can be divided into one or more modules.For example, in figure 3, the salary calculation system 200 can be divided into structure
Model block 201, acquisition module 202, setting module 203, computing module 204.Wherein:
The structure module 201, for building the calculating logic of each commission project.
In general, as the comprehensive of enterprises is opened up channel and constantly increased newly, the commission project of group membership's salary money also increases therewith
Add, and the commission project of each also has its different calculating logic, and have what shared data was read and write between each commission project
Part.In order to once complete the processing of this partial data, enterprise usually by the calculating logic of multiple wages projects it is crowded handle
In a calculating process, in this way, the calculating logic weave in that each wages project will be caused so that wages calculating process
It is lengthy and tedious.Especially, enterprise can adjust calculating or the increase commission project of commission project frequently to encourage employee, and working as needs
When changing the calculating of a certain wages project, other wages projects calculating can be influenced, it is necessary to rewrite wages calculating logic,
Come great inconvenience to developer.
Therefore, in order to improve the lengthy and tedious calculating of existing wages, in the present embodiment, the application server 2 passes through structure
Modeling block 201 builds the calculating logic of each commission project.Specifically, illustrate by taking insurance company business personnel as an example, business personnel can
To take over multiple business items such as production danger, endowment insurance, health insurance, life insurance at the same time, the wages of the business personnel are then by the multiple industry
The commission composition of business project, and the commission calculation of each business item is different, therefore build module 201 and build above-mentioned production
The calculating logic of the commission project such as danger, endowment insurance, health insurance and life insurance.It is understood that the calculating of each commission project is patrolled
Collect according to company's actual standard setting.
The acquisition module 202, for obtaining the corporate data of each calculating logic.
Specifically, the calculating logic of each commission project is different, but has mutual contact between each calculating logic,
As there is the data that common needs are read and write between each commission project, that is, its calculating logic has and is applied to common data.
The acquisition module 202 obtains the corporate data of each calculating logic by analyzing the composition of each calculating logic.For example, support
The commission of old danger business item is calculated as:It is the 3% of business personnel's base pay often to complete a single deduction, the servant of health insurance business item
Gold is calculated as:Often complete a single deduction and be similarly the 3% of base pay, then the corporate data being applied in calculating logic for base pay with
3%.It should be appreciated that it the above is only the restriction in order to more preferably explain technical scheme, being not intended as the present invention.
The setting module 203, for setting a memory headroom, stores the corporate data.
Specifically, a memory space is divided in the memory of the application server 2, for storing in the calculating logic
The corporate data of application.When performing above-mentioned calculating logic, if using corporate data, transferred from the memory headroom described
Corporate data so that whole wages calculating process is succinct.In the present embodiment, the setting module 203 also sets the memory
The access interface in space, the corporate data is transferred by access interface.
The acquisition module 202, is additionally operable to, when receiving the request of calculating business personnel's wages of mobile terminal transmission, obtain
Take the commission project that the business personnel includes.
Normally, the personal identifier of each employee is stored with the database in the application server 2, according to employee's
Different stage, different operating content default wages payment standard, include base time, basic wage, overtime pay, ask for leave
Withhold etc. data information, while be also stored with the related letter of the department described in each employee, post, business item under one's name etc.
Breath.
Specifically, when the application server 2 is received from the request for calculating business personnel's wages that mobile terminal is sent,
According to personal identifier's (for example, name, job number etc.) of business personnel from employee database obtain described in business personnel's phase
The details matched somebody with somebody.According to the details got, the business item of the business personnel under one's name is inquired about, so that it is determined that it includes
Commission project.
The computing module 204, for performing the calculating logic of each commission project, is transferred described from the memory space
Corporate data, calculates the wages of the business personnel.
Specifically, the commission project that the computing module 204 is got according to the acquisition module 202, performs each
The calculating logic of commission project, when the calculating logic needs to use above-mentioned corporate data, by access interface from described
Memory space transfers the corporate data.It is understood that the application server 2 is performing the meter of each commission project
When calculating logic, by adding up the result of calculation of each commission project, and then calculate described in the wages of the business personnel and then calculating
The wages of business personnel.In the present embodiment, the result of calculation of wages is also back to described mobile whole by the computing module 204
End.In other embodiments of the invention, the application server 2 also stores the wages result of calculation storage of the business personnel and arrives
In employee database, to facilitate administrator to inquire about.
By above procedure module 201-204, salary calculation system 200 proposed by the invention, first structure are each to hire
The calculating logic of golden project;Then, by analyzing calculating logic, the corporate data of each calculating logic is obtained;Then, one is set
A memory headroom, stores the corporate data;And then when the request for the calculating business personnel's wages for receiving mobile terminal transmission
When, obtain the commission project that the business personnel includes;Finally, the calculating logic of each commission project is performed, it is empty from the storage
Between transfer the corporate data, calculate the wages of the business personnel.In this way, both can be to avoid in the prior art by multiple wages items
Purpose calculating logic is handled in a calculating process crowdedly, and the calculating logic for causing each wages project is interweaved one
Rise so that the defects of wages calculating process is lengthy and tedious, can also independently calculate the commission of each project, when needing to change a certain wages
During the calculating of project, do not interfere with other wages projects and calculate, mitigate the pressure of developer.
Further, the above-mentioned first embodiment based on salary calculation system 200 of the present invention, proposes that the second of the present invention is real
Apply example (as shown in Figure 4).In the present embodiment, the salary calculation system 200 further includes parsing module 205, wherein:
The parsing module 205, the marking code of the data for parsing each calculating logic.
It will be recalled from above that in the first embodiment, the calculating logic of each commission project is different, but each calculate is patrolled
There is mutual contact between volume, as having the data that common needs are read and write, that is, its calculating logic between each commission project
Have and be applied to common data.In the present embodiment, the data in each calculating logic are both provided with marking code, different generations
The mark of code represents that different data types, such as base pay are represented with laborage marking codes, bonus bonus marking codes
Represent.The parsing module 205 parses the data in each calculating logic, and then obtains the mark of each data.
The acquisition module 202, is additionally operable to obtain the data with identical marking code.
Specifically, the acquisition module 202 analyzes the number of the obtained calculating logic according to the parsing module 205
According to mark, obtain with like-identified data.
By above procedure module 202 and 205, salary calculation system 200 proposed by the invention, can parse each meter
The mark of the data of logic is calculated, and then obtains the data with identical mark, so as to fulfill multiple calculating logic data are obtained.
Further, the above-mentioned first embodiment based on salary calculation system 200 of the present invention, proposes that the 3rd of the present invention is real
Apply example (as shown in Figure 5).The salary calculation system 200 further includes judgment module 206 and transfers module 207, wherein:
The judgment module 206, for judging whether the calculating logic needs to use being total to for the memory headroom storage
Same data.
Specifically, it will be recalled from above that in the first embodiment, the calculating logic of each commission project is different, but often
There is mutual contact between a calculating logic, as having the data that common needs are read and write between multiple commission projects, therefore it is described
Application server 2 first passes through judgment module 206 and judges whether the calculating logic needs when performing each commission calculating logic
Use the corporate data of 2 memory headroom of the application server storage, if judge that the corporate data need not be used, institute
State the calculating logic that application server 2 directly performs the commission project.
If when judging that the calculating logic needs to use the corporate data, the application server 2 passes through the tune
Modulus block 207 transfers the corporate data by access interface from the memory space.In the present embodiment, the access connects
Mouth is provided with access rights, when the module 207 of transferring transfers the corporate data by access interface from the memory space
When, it is necessary to which authentication information, ensures information security.
By above procedure module 206-207, salary calculation system 200 proposed by the invention, additionally it is possible to described in judgement
Whether calculating logic needs to use the corporate data of the memory headroom storage, if the meter of the commission project need not be performed directly
Logic is calculated, if transferring the corporate data from the memory space by access interface, further, the access interface is also set
Access rights are equipped with, authentication information is needed when transferring the corporate data, so simplify wages calculating process, at the same time also
It ensure that information security.
Further, the above-mentioned first embodiment based on salary calculation system 200 of the present invention, proposes that the 4th of the present invention is real
Apply example (as shown in Figure 6).In the present embodiment, the salary calculation system 200 further includes backup module 208, wherein
The backup module 208, it is common for the calculating logic of each commission project and memory headroom to be stored
Data backup is to cloud disk.
Specifically, the application server 2 breaks down in order to prevent, causes loss of data, causes unnecessary loss.
In the present embodiment, the application server 2 by backup module 208 by the calculating logic and memory headroom of each commission project
The corporate data of storage backs up to cloud disk, administrator can at any time from cloud disk download each commission project calculating logic and
The corporate data.
In other embodiments of the invention, administrator downloads calculating logic and the institute of each commission project from cloud disk
Corporate data is stated, it is necessary to carry out authentication, to ensure information security.
By above procedure module 208, salary calculation system 200 proposed by the invention, additionally it is possible to by each servant
The corporate data of calculating logic and the memory headroom storage of golden project backs up to cloud disk, to prevent the application server 2 from occurring
Failure, causes loss of data, causes unnecessary loss.
In addition, the present invention also proposes a kind of wages computational methods.
As shown in fig.7, it is the flow diagram of wages computational methods first embodiment of the present invention.In the present embodiment,
According to different demands, the execution sequence of the step in flow chart shown in Fig. 7 can change, and some steps can be omitted.
Step S301, builds the calculating logic of each commission project.
In general, as the comprehensive of enterprises is opened up channel and constantly increased newly, the commission project of group membership's salary money also increases therewith
Add, and the commission project of each also has its different calculating logic, and have what shared data was read and write between each commission project
Part.In order to once complete the processing of this partial data, enterprise usually by the calculating logic of multiple wages projects it is crowded handle
In a calculating process, in this way, the calculating logic weave in that each wages project will be caused so that wages calculating process
It is lengthy and tedious.Especially, enterprise can adjust calculating or the increase commission project of commission project frequently to encourage employee, and working as needs
When changing the calculating of a certain wages project, other wages projects calculating can be influenced, it is necessary to rewrite wages calculating logic,
Come great inconvenience to developer.
Therefore, in order to improve the lengthy and tedious calculating of existing wages, in the present embodiment, the application server 2 is built often
The calculating logic of a commission project.Specifically, illustrate by taking insurance company business personnel as an example, business personnel can take at the same time production danger,
Multiple business items such as endowment insurance, health insurance, life insurance, the wages of the business personnel are then by the commission group of the multiple business item
Into, and the commission calculation of each business item is different, therefore the application server 2 build above-mentioned production danger, endowment insurance,
The calculating logic of the commission project such as health insurance and life insurance.It is understood that the calculating logic of each commission project is according to company
Actual standard is set.
Step S302, obtains the corporate data of each calculating logic.
Specifically, the calculating logic of each commission project is different, but has mutual contact between each calculating logic,
As there is the data that common needs are read and write between each commission project, that is, its calculating logic has and is applied to common data.
The application server 2 obtains the corporate data of each calculating logic by analyzing the composition of each calculating logic.For example, support
The commission of old danger business item is calculated as:It is the 3% of business personnel's base pay often to complete a single deduction, the servant of health insurance business item
Gold is calculated as:Often complete a single deduction and be similarly the 3% of base pay, then the corporate data being applied in calculating logic for base pay with
3%.It should be appreciated that it the above is only the restriction in order to more preferably explain technical scheme, being not intended as the present invention.
Step S303, sets a memory headroom, stores the corporate data.
Specifically, a memory space is divided in the memory of the application server 2, for storing in the calculating logic
The corporate data of application.When performing above-mentioned calculating logic, if using corporate data, transferred from the memory headroom described
Corporate data so that whole wages calculating process is succinct.In the present embodiment, the application server 2 also sets the memory
The access interface in space, the corporate data is transferred by access interface.
Step S304, when receiving the request of calculating business personnel's wages of mobile terminal transmission, obtains the business personnel
Comprising commission project.
Normally, the personal identifier of each employee is stored with the database in the application server 2, according to employee's
Different stage, different operating content default wages payment standard, include base time, basic wage, overtime pay, ask for leave
Withhold etc. data information, while be also stored with the related letter of the department described in each employee, post, business item under one's name etc.
Breath.
Specifically, when the application server 2 is received from the request for calculating business personnel's wages that mobile terminal is sent,
According to personal identifier's (for example, name, job number etc.) of business personnel from employee database obtain described in business personnel's phase
The details matched somebody with somebody.According to the details got, the business item of the business personnel under one's name is inquired about, so that it is determined that it includes
Commission project.
Step S305, performs the calculating logic of each commission project, and the corporate data is transferred from the memory space, meter
Calculate the wages of the business personnel.
Specifically, commission project of the application server 2 according to the business personnel got under one's name, performs each
The calculating logic of commission project, when the calculating logic needs to use above-mentioned corporate data, by access interface from described
Memory space transfers the corporate data.It is understood that the application server 2 is performing the meter of each commission project
When calculating logic, by adding up the result of calculation of each commission project, and then the wages of the business personnel are calculated.In the present embodiment
In, the result of calculation of wages is also back to the mobile terminal by the application server 2.In the other embodiment of the present invention
In, the wages result of calculation that the application server 2 also stores the business personnel is stored into employee database, to facilitate management
Member's inquiry.
By above-mentioned steps S301-305, wages computational methods proposed by the invention, build each commission project first
Calculating logic;Then, by analyzing calculating logic, the corporate data of each calculating logic is obtained;Then, a memory is set
Space, stores the corporate data;And then when receiving the request of calculating business personnel's wages of mobile terminal transmission, obtain
The commission project that the business personnel includes;Finally, the calculating logic of each commission project is performed, institute is transferred from the memory space
Corporate data is stated, calculates the wages of the business personnel.In this way, both can be to avoid in the prior art by the calculating of multiple wages projects
Logic is handled in a calculating process crowdedly, will cause the calculating logic weave in of each wages project so that firewood
The defects of calculating process is lengthy and tedious is provided, can also independently calculate the commission of each project, when the meter for needing to change a certain wages project
During calculation, do not interfere with other wages projects and calculate, mitigate the pressure of developer.
Further, the above-mentioned first embodiment based on wages computational methods of the present invention, proposes wages calculating side of the present invention
The second embodiment of method method.
As shown in figure 8, it is the flow diagram of wages computational methods method second embodiment of the present invention.In the present embodiment
In, it is described obtain each calculating logic corporate data the step of, specifically comprise the following steps:
Step S401, parses the marking code of the data of each calculating logic.
It will be recalled from above that in the first embodiment, the calculating logic of each commission project is different, but each calculate is patrolled
There is mutual contact between volume, as having the data that common needs are read and write, that is, its calculating logic between each commission project
Have and be applied to common data.In the present embodiment, the data in each calculating logic are both provided with marking code, different generations
The mark of code represents that different data types, such as base pay are represented with laborage marking codes, bonus bonus marking codes
Represent.The application server 2 parses the data in each calculating logic, and then obtains the mark of each data.
Step S402, obtains the data with identical marking code.
Specifically, the application server 2 obtains tool according to the mark for the data for parsing the obtained calculating logic
There are the data of like-identified, and then obtain the corporate data.
By above-mentioned steps S401-S402, wages computational methods proposed by the invention, can parse each calculating logic
Data mark, and then the data with identical mark are obtained, so as to fulfill multiple calculating logic data are obtained.
Further, the above-mentioned first embodiment based on wages computational methods of the present invention, proposes wages calculating side of the present invention
The 3rd embodiment of method.
As shown in fig.9, it is the flow diagram of wages computational methods first embodiment of the present invention.In the present embodiment,
According to different demands, the execution sequence of the step in flow chart shown in Fig. 9 can change, and some steps can be omitted.
Step S501, builds the calculating logic of each commission project.
Step S502, obtains the corporate data of each calculating logic.
Step S503, sets a memory headroom, stores the corporate data.
Step S504, when receiving the request of calculating business personnel's wages of mobile terminal transmission, obtains the business personnel
Comprising commission project.
Step S505, performs the calculating logic of each commission project.
Step S506, judges whether the calculating logic needs to use the corporate data of the memory headroom storage, if sentencing
It is disconnected need not use the memory headroom storage corporate data when, return to step S505, if judging to need to use the memory
During the corporate data of space storage, step S507 is performed.
Specifically, it will be recalled from above that in the first embodiment, the calculating logic of each commission project is different, but often
There is mutual contact between a calculating logic, as having the data that common needs are read and write between multiple commission projects, therefore it is described
Application server 2 first judges whether the calculating logic needs to use the application clothes when performing each commission calculating logic
The corporate data of business device 2 memory headroom storage, if judge that the corporate data need not be used, the application server 2
Directly perform the calculating logic of the commission project.
Step S507, transfers the corporate data from the memory space, performs the calculating logic of commission project, Jin Erji
Calculate the wages of the business personnel.
Specifically, it is described to answer if the application server 2 judges that the calculating logic needs to use the corporate data
The corporate data is transferred from the memory space by access interface with server 2.In the present embodiment, the access connects
Mouth is provided with access rights, when the application server 2 transfers the corporate data by access interface from the memory space
When, it is necessary to which authentication information, ensures information security.
By above-mentioned steps S501-S507, wages computational methods proposed by the invention, additionally it is possible to judge that the calculating is patrolled
The corporate data for whether needing to use the memory headroom storage is collected, if the calculating that need not directly perform the commission project is patrolled
Volume, if transferring the corporate data from the memory space by access interface, further, the access interface is additionally provided with
Access rights, need authentication information when transferring the corporate data, so simplify wages calculating process, while also ensure
Information security.
Further, the above-mentioned first embodiment based on wages computational methods of the present invention, proposes wages calculating side of the present invention
The fourth embodiment of method.
As shown in fig.10, it is the flow diagram of wages computational methods first embodiment of the present invention.In the present embodiment,
According to different demands, the execution sequence of the step in flow chart shown in Figure 10 can change, and some steps can be omitted.
Step S601, builds the calculating logic of each commission project.
Step S602, obtains the corporate data of each calculating logic.
Step S603, sets a memory headroom, stores the corporate data.
Step S604, when receiving the request of calculating business personnel's wages of mobile terminal transmission, obtains the business personnel
Comprising commission project.
Step S605, performs the calculating logic of each commission project, and the corporate data is transferred from the memory space, meter
Calculate the wages of the business personnel.
Step S606, cloud is backed up to by the corporate data of the calculating logic of each commission project and memory headroom storage
Disk.
Specifically, the application server 2 breaks down in order to prevent, causes loss of data, causes unnecessary loss.
In the present embodiment, the corporate data that the application server 2 stores the calculating logic of each commission project and memory headroom
Cloud disk is backed up to, administrator can download the calculating logic of each commission project and the corporate data from cloud disk at any time.
In other embodiments of the invention, administrator downloads calculating logic and the institute of each commission project from cloud disk
Corporate data is stated, it is necessary to carry out authentication, to ensure information security.
By above-mentioned steps S601-606, wages computational methods proposed by the invention can also be by each commission item
Purpose calculating logic and the corporate data of memory headroom storage back up to cloud disk, to prevent the application server 2 from breaking down,
Cause loss of data, cause unnecessary loss.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, takes
Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made, is directly or indirectly used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
- A kind of 1. wages computational methods, applied to application server, it is characterised in that the described method includes:Build the calculating logic of each commission project;Obtain the corporate data of each calculating logic;A memory headroom is set, stores the corporate data;When receiving the request of calculating business personnel's wages of mobile terminal transmission, the commission item that the business personnel includes is obtained Mesh;AndThe calculating logic of each commission project is performed, the corporate data is transferred from the memory space, calculates the business personnel Wages.
- 2. wages computational methods as claimed in claim 1, it is characterised in that the corporate data for obtaining each calculating logic The step of, specifically include:Parse the mark of the data of each calculating logic;Obtain the data with identical mark.
- 3. wages computational methods as claimed in claim 1, it is characterised in that the calculating for performing each commission project is patrolled Before the step of collecting, transferring the corporate data from the memory space, calculate the wages of the business personnel, following step is further included Suddenly:Judge whether the calculating logic needs to use the corporate data of the memory headroom storage;If judge that the calculating logic needs to use the corporate data, the corporate data is transferred from the memory space.
- 4. wages computational methods as claimed in claim 1, it is characterised in that when the calculating business for receiving mobile terminal transmission During the request of member's wages, the step of obtaining the commission project that the business personnel includes, specifically include:When server receives the request for calculating business personnel's wages, obtained according to the personal information of the business personnel from employee database Take the details to match with the business personnel;AndThe business item of the business personnel under one's name is inquired about according to the details, and then obtains commission project.
- 5. application server as claimed in claim 1, it is characterised in that method further includes following steps:The corporate data of the calculating logic of each commission project and memory headroom storage is backed up into cloud disk.
- 6. a kind of application server, it is characterised in that the application server includes memory, processor, on the memory The salary calculation system that can be run on the processor is stored with, it is real when the salary calculation system is performed by the processor Existing following steps:Build the calculating logic of each commission project;Obtain the corporate data of each calculating logic;A memory headroom is set, stores the corporate data;When receiving the request of calculating business personnel's wages of mobile terminal transmission, the commission item that the business personnel includes is obtained Mesh;AndThe calculating logic of each commission project is performed, the corporate data is transferred from the memory space, calculates the business personnel Wages.
- 7. application server as claimed in claim 6, it is characterised in that the corporate data for obtaining each calculating logic Step, specifically includes:Parse the mark of the data of each calculating logic;AndObtain the data with identical mark.
- 8. application server as claimed in claim 6, it is characterised in that the calculating logic for performing each commission project, Before the step of transferring the corporate data from the memory space, calculate the wages of the business personnel, following steps are further included:Judge whether the calculating logic needs to use the corporate data of the memory headroom storage;AndIf judge that the calculating logic needs to use the corporate data, the corporate data is transferred from the memory space;The salary calculation system also realizes following steps when being performed by the processor:The corporate data of the calculating logic of each commission project and memory headroom storage is backed up into cloud disk.
- 9. application server as claimed in claim 6, it is characterised in that as the calculating business personnel for receiving mobile terminal transmission During the request of wages, the step of obtaining the commission project that the business personnel includes, specifically include:When server receives the request for calculating business personnel's wages, obtained according to the personal information of the business personnel from employee database Take the details to match with the business personnel;The business item of the business personnel under one's name is inquired about according to the details, and then obtains commission project.
- 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has salary calculation system, the firewood Money computing system can be performed by least one processor, so that at least one processor is performed as appointed in claim 1-5 The step of wages computational methods described in one.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710951692.1A CN107908480A (en) | 2017-10-13 | 2017-10-13 | Wages computational methods, application server and computer-readable recording medium |
| PCT/CN2018/089887 WO2019071968A1 (en) | 2017-10-13 | 2018-06-05 | Salary calculation method, application server, and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710951692.1A CN107908480A (en) | 2017-10-13 | 2017-10-13 | Wages computational methods, application server and computer-readable recording medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107908480A true CN107908480A (en) | 2018-04-13 |
Family
ID=61840561
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710951692.1A Pending CN107908480A (en) | 2017-10-13 | 2017-10-13 | Wages computational methods, application server and computer-readable recording medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107908480A (en) |
| WO (1) | WO2019071968A1 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108647936A (en) * | 2018-05-08 | 2018-10-12 | 中国平安人寿保险股份有限公司 | Commission distribution method, device, computer equipment and storage medium |
| CN109299913A (en) * | 2018-08-27 | 2019-02-01 | 天津字节跳动科技有限公司 | Employee's wages scheme generation method and device |
| CN109376979A (en) * | 2018-08-21 | 2019-02-22 | 中国平安财产保险股份有限公司 | Calculate method, apparatus, computer equipment and the storage medium of performance |
| WO2019071968A1 (en) * | 2017-10-13 | 2019-04-18 | 平安科技(深圳)有限公司 | Salary calculation method, application server, and computer readable storage medium |
| CN111415136A (en) * | 2020-03-20 | 2020-07-14 | 用友网络科技股份有限公司 | Task processing method, system, terminal and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101510276A (en) * | 2009-02-20 | 2009-08-19 | 浪潮集团山东通用软件有限公司 | Payroll computation method adapting multi-valuta and multi-time-interval |
| CN101714238A (en) * | 2003-06-13 | 2010-05-26 | 欧比克商务咨询有限公司 | Basic service processing system and basic service processing program |
| US20140025708A1 (en) * | 2012-07-20 | 2014-01-23 | Jan Finis | Indexing hierarchical data |
| CN106875110A (en) * | 2017-02-06 | 2017-06-20 | 泰康保险集团股份有限公司 | Business index layered calculation method and device, distributed calculation method and system |
| US20170243169A1 (en) * | 2002-08-16 | 2017-08-24 | Timothy J. Luedtke | Method and system for providing, administering, and coordinating, a dual-purpose profit sharing plan |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1542644A (en) * | 2003-04-28 | 2004-11-03 | 威盛电子股份有限公司 | Salary paying system and payment method thereof |
| CN101388110B (en) * | 2008-10-31 | 2011-08-17 | 深圳市同洲电子股份有限公司 | Data rapidly-reading method and apparatus |
| US10134016B2 (en) * | 2014-11-18 | 2018-11-20 | Adp, Llc | Real time funding solution for miscellaneous income |
| CN105719123A (en) * | 2016-01-15 | 2016-06-29 | 成都金万泰科技有限公司 | Performance management method and system within enterprise |
| CN107908480A (en) * | 2017-10-13 | 2018-04-13 | 平安科技(深圳)有限公司 | Wages computational methods, application server and computer-readable recording medium |
-
2017
- 2017-10-13 CN CN201710951692.1A patent/CN107908480A/en active Pending
-
2018
- 2018-06-05 WO PCT/CN2018/089887 patent/WO2019071968A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170243169A1 (en) * | 2002-08-16 | 2017-08-24 | Timothy J. Luedtke | Method and system for providing, administering, and coordinating, a dual-purpose profit sharing plan |
| CN101714238A (en) * | 2003-06-13 | 2010-05-26 | 欧比克商务咨询有限公司 | Basic service processing system and basic service processing program |
| CN101510276A (en) * | 2009-02-20 | 2009-08-19 | 浪潮集团山东通用软件有限公司 | Payroll computation method adapting multi-valuta and multi-time-interval |
| US20140025708A1 (en) * | 2012-07-20 | 2014-01-23 | Jan Finis | Indexing hierarchical data |
| CN106875110A (en) * | 2017-02-06 | 2017-06-20 | 泰康保险集团股份有限公司 | Business index layered calculation method and device, distributed calculation method and system |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019071968A1 (en) * | 2017-10-13 | 2019-04-18 | 平安科技(深圳)有限公司 | Salary calculation method, application server, and computer readable storage medium |
| CN108647936A (en) * | 2018-05-08 | 2018-10-12 | 中国平安人寿保险股份有限公司 | Commission distribution method, device, computer equipment and storage medium |
| CN109376979A (en) * | 2018-08-21 | 2019-02-22 | 中国平安财产保险股份有限公司 | Calculate method, apparatus, computer equipment and the storage medium of performance |
| CN109376979B (en) * | 2018-08-21 | 2023-12-01 | 中国平安财产保险股份有限公司 | Method, device, computer equipment and storage medium for measuring and calculating performance |
| CN109299913A (en) * | 2018-08-27 | 2019-02-01 | 天津字节跳动科技有限公司 | Employee's wages scheme generation method and device |
| CN111415136A (en) * | 2020-03-20 | 2020-07-14 | 用友网络科技股份有限公司 | Task processing method, system, terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2019071968A1 (en) | 2019-04-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107908480A (en) | Wages computational methods, application server and computer-readable recording medium | |
| CN108428104A (en) | Wages computational methods, application server and computer readable storage medium | |
| CN112463780B (en) | Data quality inspection method and device | |
| CN107908656A (en) | Increase channel method, application server and computer-readable recording medium | |
| CN108259553A (en) | The sending method and terminal device of business mail | |
| CN107885656A (en) | Product algorithm automated testing method and application server | |
| CN104268248B (en) | Recommendation method and device for application program and terminal | |
| CN107797923A (en) | Code coverage rate analysis method and application server | |
| CN108428099A (en) | Field personnel staff attendance management-control method, application server and computer readable storage medium | |
| CN110278143A (en) | E-mail data processing method, device, computer equipment and storage medium | |
| CN102999852A (en) | Electronic coupon data generation method and electronic coupon data generation device | |
| CN109544266A (en) | Product data method for pushing, device and computer readable storage medium | |
| CN113688923A (en) | Intelligent order abnormity detection method and device, electronic equipment and storage medium | |
| CN108021621A (en) | Database data acquisition method, application server and computer-readable recording medium | |
| CN112631884A (en) | Pressure measurement method and device based on data synchronization, computer equipment and storage medium | |
| CN108449313A (en) | Electronic device, Internet service system method for prewarning risk and storage medium | |
| CN108243254A (en) | Electronic device, the method and storage medium of the publication of application upgrade version | |
| CN107870980A (en) | Electronic installation, billing data processing method and computer-readable storage medium | |
| CN110458398A (en) | Project data monitoring method, server and storage medium | |
| CN108470305A (en) | Connected transaction recognition methods, device and storage medium | |
| CN107679991A (en) | Processing unit, method and the computer-readable recording medium of policy information | |
| CN103559464B (en) | Social security IC-card personalization method, Apparatus and system | |
| CN102779058B (en) | Interface data charger and interface data loading method | |
| CN108428174A (en) | Transaction funds method for early warning, server and storage medium | |
| CN109062870A (en) | The method and storage medium that server, business datum verify |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180413 |
|
| RJ01 | Rejection of invention patent application after publication |