CN110378776A - Distribution method, device, computer equipment and the storage medium of account resource - Google Patents

Distribution method, device, computer equipment and the storage medium of account resource Download PDF

Info

Publication number
CN110378776A
CN110378776A CN201910522402.0A CN201910522402A CN110378776A CN 110378776 A CN110378776 A CN 110378776A CN 201910522402 A CN201910522402 A CN 201910522402A CN 110378776 A CN110378776 A CN 110378776A
Authority
CN
China
Prior art keywords
resource
data
employee
resource data
target
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
Application number
CN201910522402.0A
Other languages
Chinese (zh)
Inventor
谭利志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN201910522402.0A priority Critical patent/CN110378776A/en
Publication of CN110378776A publication Critical patent/CN110378776A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/273Asynchronous replication or reconciliation
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of distribution methods of account resource, device, computer equipment and storage medium, the described method includes: obtaining service data information, and determine additional resource data, obtain each basic resource data, and according to additional resource data and basic resource data, determine target resource data, and then it generates resource and provides report, and examination & approval processing is carried out to report, when audit passes through, generate Approval Report, and granting state is set to available mode, simultaneously, current time is monitored, reach default resource Time Of Release in current time, and provide state be available mode when, carry out resource data granting processing, the present invention avoids each mechanism from carrying out resource data calculating alone, and carry out data inspection, ensure the accuracy of resource data, simultaneously, the calculating and granting of data resource of the present invention are in server-side It executes, reduces resource data caused by excessive network data is transmitted and be intercepted and distort risk, improve the safety of resource data granting.

Description

Distribution method, device, computer equipment and the storage medium of account resource
Technical field
The present invention relates to data processing field more particularly to a kind of distribution methods of account resource, device, computer equipment And storage medium.
Background technique
With advances in technology with economic rapid development, the scale of group company is increasing, and operation expanding is also more next It is wider, personnel amount and number of services it is huge so that the transfer of account resource data becomes comparatively laborious, for example, group is public The emolument distributing service of department includes multiple subservice companies, often relates to the emolument meter of tens of thousands of employees in some group companies It calculates, this tens of thousands of employee is divided into a variety of different positions again, and the corresponding amount of money award of different business difference position is also different, no Also different with the corresponding amount of money award of the same business of position, this makes the calculating of emolument and granting become complex.
Current, the financial system for mainly passing through each subservice company carries out the account resource data meter of subservice company It calculates, and then is aggregated into resource providing gear in the form of statements, then same granting is carried out by resource providing gear, due to data volume Larger, resource providing gear will not verify the legitimacy of specific resource data in real time, but in each season or annual clearing When, core inspection of checking account just is carried out, when there is data careless mistake or calculates mistake in the financial system calculating of some subservice companies, meeting Lead to the account resource data inaccuracy in report and is unable to learn in time, meanwhile, it is also likely to be present in report transmission process Report data, which is intercepted, to be distorted, and these problems cause the safety of resource data granting lower.
Summary of the invention
The embodiment of the present invention provides distribution method, device, computer equipment and the storage medium of a kind of account resource, with solution The certainly lower problem of the safety of Current resource data granting.
A kind of distribution method of account resource, comprising:
By big data platform, the service data information of each employee is obtained from distributed memory system, and according to institute Service data information is stated, determines the additional resource data of each employee, wherein the service data information is marked comprising employee Know;
The corresponding basic resource data of each employee identification are obtained, and according to the additional resource data and the base Plinth resource data determines the target resource data of the corresponding employee of each employee identification;
According to the target resource data of each employee, generates resource and provide report;
Using the test mode of data consistency and file consistence, report is provided to the resource and carries out examination & approval processing, Obtain approval results;
If the approval results are that audit passes through, report and preset approval form template are provided according to the resource, it is raw Available mode is set at Approval Report, and by granting state;
Current time is monitored by preset timing script, if the current time reaches the granting of default resource Between, and the granting state is available mode, then is handled according to the granting that the Approval Report carries out resource data.
A kind of dispensing apparatus of account resource, comprising:
Data acquisition module, for obtaining the business of each employee from distributed memory system by big data platform Data information, and according to the service data information, determine the additional resource data of each employee, wherein the business Data information includes employee identification;
Data determining module, for obtaining the corresponding basic resource data of each employee identification, and according to described attached Add resource data and the basic resource data, determines the target resource number of the corresponding employee of each employee identification According to;
First report generation module generates resource granting for the target resource data according to each employee Report;
Report-ratified module, for the test mode using data consistency and file consistence, to the resource granting Report carries out examination & approval processing, obtains approval results;
Second report generation module provides report according to the resource if being that audit passes through for the approval results With preset approval form template, Approval Report is generated, and granting state is set to available mode;
Resource data provides module, for being monitored by preset timing script to current time, if described current Time reaches default resource Time Of Release, and the granting state is available mode, then is provided according to the Approval Report The granting of source data is handled.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing The computer program run on device, the processor realize the distribution method of above-mentioned account resource when executing the computer program The step of.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter Calculation machine program realizes the step of distribution method of above-mentioned account resource when being executed by processor.
Distribution method, device, computer equipment and the storage medium of account resource provided in an embodiment of the present invention, by big Data platform obtains the service data information of each employee from distributed memory system, and according to service data information, determines The additional resource data of each employee, wherein the service data information of employee includes employee identification, and then obtains each employee's mark Know corresponding basic resource data, and according to additional resource data and basic resource data, determines each employee identification person of correspondence The target resource data of work generate resource and provide report, using data consistency further according to the target resource data of each employee With the test mode of file consistence, report is provided to resource and carries out examination & approval processing, approval results is obtained, is careful in approval results When core passes through, report and preset approval form template are provided according to resource, generate Approval Report, and granting state is set to available State, meanwhile, current time is monitored by preset timing script, if current time reaches the granting of default resource Between, and providing state is available mode, then is handled according to the granting that Approval Report carries out resource data, the present invention avoids each machine Structure carries out alone computing resource data, and after obtaining target resource data, carries out data consistency and file consistence inspection, Ensure the accuracy of resource data, meanwhile, the calculating and granting of data resource of the present invention are executed in server-side, are reduced excessive Resource data caused by network data is transmitted is intercepted and distorts risk, improves the safety of resource data granting.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the application environment schematic diagram of the distribution method of account resource provided in an embodiment of the present invention;
Fig. 2 is the implementation flow chart of the distribution method of account resource provided in an embodiment of the present invention;
Fig. 3 is the implementation flow chart of step S10 in the distribution method of account resource provided in an embodiment of the present invention;
Fig. 4 is the implementation flow chart of step S20 in the distribution method of account resource provided in an embodiment of the present invention;
Fig. 5 be account resource provided in an embodiment of the present invention distribution method in provide according to client submit check Request carries out the implementation flow chart of passive self-test;
Fig. 6 is the schematic diagram of the dispensing apparatus of account resource provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 shows the application environment of the distribution method of account resource provided in an embodiment of the present invention.The account The distribution method of family resource is applied in the granting scene of employee's account resource of group company.The granting scene of account resource Including server-side, client and management end, wherein pass through network between server-side and management end, between server-side and client It is attached, server-side calculates target resource data by collecting basic business data, generates further according to target resource data Report, and then report is examined, the granting of account resource is carried out after examination & approval pass through, client is provided by server-side Visual page carries out personal target resource data query, and in target resource data, there are send to check to server-side when objection Request, so that server-side carries out passive self-test according to the request for review, management end is deposited when abnormal in environment, thinks that server-side is sent Pause sends instruction, so that server-side resets granting state.Client and management end specifically can be, but not limited to be intelligent movable Equipment, personal computer, portable computer and wearable smart machine etc., server-side can specifically use independent server Or the server cluster of multiple server compositions is realized.
Referring to Fig. 2, being answered in this way Fig. 2 shows a kind of distribution method of account resource provided in an embodiment of the present invention It is illustrated for the server-side in Fig. 1, details are as follows:
S10: by big data platform, the service data information of each employee, and root are obtained from distributed memory system According to service data information, the additional resource data of each employee are determined, wherein service data information includes employee identification.
Specifically, by big data platform, all service data informations of each employee are obtained, and are directed to each employee, According to every kind of employee service data information, the additional resource data of the employee are calculated, to obtain the additional of each employee Resource data.
Wherein, additional resource data refer to the corresponding resource bonus data of each business of the employee, such as jackpot data.
Wherein, service data information includes the portfolio that the type of business and the employee complete each type of business.
It is worth noting that since headcount and type of business are more, in the business datum storage for carrying out employee, one As stored using distributed memory system, since the rate of broadband transmission is excessively slow, so that data acquisition efficiency is low, or number When according to measuring too big, so that data acquisition channel congestion, or even paralysis, thus, in the present embodiment, using big data platform, from In distributed memory system, the business datum of employee is acquired, which can influence network bandwidth minimum In the case where collect required data.
Preferably, the present embodiment uses big data platform for big data computing engines Spark platform, big data computing engines Spark platform enables memory distributed data collection, and other than being capable of providing interactive inquiry, it can be worked negative with Optimized Iterative It carries.
For the account resource data distributing service of group, it is more to be related to headcount, for example, in a specific embodiment In, there are 3 subsidiaries under group, each subsidiary includes 4 kinds of positions, the corresponding a kind of position of each employee, due to headcount It is more, so that employee's data information is larger, thus when carrying out the storage of employee's service data information, generally deposited using distribution Storage, in the present embodiment, counts the service data information of each employee by big data computing engines Spark platform And additional resource data calculating is carried out, the calculating speed of additional resource data can be effectively promoted, is conducive to improve account resource hair Send efficiency.
S20: the corresponding basic resource data of each employee identification are obtained, and according to additional resource data and basic resource number According to determining the target resource data of the corresponding employee of each employee identification.
Specifically, in distributed storage system, it is previously stored with the corresponding basis money of employee identification of each employee Source data by way of data query, inquires the basis of the employee for each employee from distributed storage system Resource data, and according to basic resource data and additional resource data, determine the target resource data of each employee.
Wherein, target resource data refer to and employee is practical provides the relevant data of resource data, such as: card number, basis Resource data, deducts resource data, should actually send out resource data and employee identification etc. additional resource data.
It should be noted that the present embodiment provides visualization WWW (World Wide Web, a WEB) page, user The target resource data of oneself can be inquired by the Client browse visualization WEB page.
S30: it according to the target resource data of each employee, generates resource and provides report.
Specifically, by preset report generation script or third party's report tool, the target money based on each employee Source data generates resource and provides report.
Wherein, preset report generation script mainly passes through the target that each employee is first extracted from distributed storage device Resource data, and then according to preset data item logical operation, the association of each data in target resource data is obtained, and then pass through Preset template or preceding table frame generate resource and provide report.
Wherein, third party's report tool includes but is not limited to: abridged table (JOR), RDP report tool and think of matt report tool Deng.
Wherein, resource provides all data in target resource data of the report for recording each employee, and generates phase The illustrative words of data are closed, all data includes but is not limited to: basic resource data, additional resource data and deduction number of resources According to etc..
S40: using the test mode of data consistency and file consistence, providing report to resource and carry out examination & approval processing, Obtain approval results.
Specifically, it after generating resource and providing report, needs resource granting report being submitted to approval system and examine Batch, approval results are obtained, are after examination & approval pass through, to carry out the granting of account resource data in approval results.
Wherein, approval system is the data content and the auditing system that is checked of format for providing resource report, Such as EOA system.
In the present embodiment, approval system is associated after receiving resource and providing report according to employee identification automatically, And using target resource data as attachment, report is provided to resource and executes approval process, checks data consistency and text in report Part consistency, to prevent data file to be tampered.
Wherein, the inspection of data consistency is carried out, the data content in report mainly is provided to resource and carries out data model The inspection with data format is enclosed, mainly realizes process are as follows:
A) all data in report is extracted by character cutted function, as basic data, wherein character cutted function (String Intercept function) refers to the function for being used to carry out string processing in programming language, common character Cutted function includes but is not limited to: InStr, InStrRev, InStrB, Mid, Right and Left etc.;
B) the corresponding data standard of each basic data is obtained, data standard includes data area and data type;
C) data type of the basic data is checked using the matched mode of canonical for each basic data It is whether consistent with the data type in data standard, and judge whether the basic data is in data mark using Beteeen function In quasi- data area;
If d) data type of the basic data is consistent with the data type in data standard, and the basic data is in In the data area of data standard, it is determined that the resource provides the requirement that report meets data consistency, otherwise, it determines the resource Provide the requirement that report is unsatisfactory for data consistency.
Wherein, file consistence inspection is carried out, mainly according to preset file template, judges that resource provides report and pre- If the consistency of file template, configured with that must fill out data item and data item is filled out in choosing, check resource in preset file template Provide report whether include it is all must fill out data item, if it includes that all must fill out data item that resource, which provides report, it is determined that the resource Provide the requirement that report meets file consistence.
S50: if approval results are that audit passes through, report and preset approval form template is provided according to resource, generates and examines Report is criticized, and granting state is set to available mode.
Specifically, when auditing result is that audit passes through, according to preset approval form template, it is raw that report is provided according to resource Available mode is set at approval form, and by granting state.
Wherein, granting state is the triggering state for controlling whether progress resource data granting, and state of providing includes can With state and stop granting state, when the state of granting is to stop granting state, the resource of server-side provide module be prohibited into The granting of row resource data.
S60: being monitored current time by preset timing script, if current time reaches the granting of default resource Between, and providing state is available mode, then is handled according to the granting that Approval Report carries out resource data.
Specifically, the present embodiment is previously provided with timing script, which is monitored current time, current When time reaches default resource Time Of Release, granting state is checked, if granting state at this time is available mode, examined according to this The granting processing that the attachment in report and Approval Report carries out account resource data is criticized, if granting state at this time is to stop granting State then sends the prompting message of pause resource data granting to management end.
Wherein, presetting resource Time Of Release can be configured according to the actual situation, for example, No. 15 of every month.
It should be noted that in view of group company's headcount is more, resource data in the Approval Report of generation compared with It greatly, is the robustness for improving transmitting efficiency and transmission process, the present embodiment carries out account resource data hair using distributed type assemblies It send, that is, the resource data in Approval Report is carried out data fragmentation, and the resource data after slice is distributed in cluster Each node server is sent, and buffer data size is larger to bring load to server, improves resource transmitting efficiency.
In the present embodiment, by big data platform, the business datum of each employee is obtained from distributed memory system Information, and according to service data information, determine the additional resource data of each employee, wherein the service data information packet of employee Containing employee identification, and then the corresponding basic resource data of each employee identification are obtained, and provide according to additional resource data and basis Source data determines that each employee identification corresponds to the target resource data of employee, raw further according to the target resource data of each employee Report is provided at resource, using the test mode of data consistency and file consistence, report is provided to resource and is carried out at examination & approval Reason, obtains approval results, when approval results are that audit passes through, provides report and preset approval form template according to resource, raw It is set to available mode at Approval Report, and by granting state, meanwhile, current time is supervised by preset timing script Control, if current time reaches default resource Time Of Release, and providing state is available mode, then carries out resource according to Approval Report The granting of data is handled, and the present invention avoids each mechanism from carrying out computing resource data alone, and after obtaining target resource data, Carry out data consistency and file consistence inspection, it is ensured that the accuracy of resource data, meanwhile, the calculating of data resource of the present invention It is executed in server-side with providing, reduces resource data caused by excessive network data is transmitted and be intercepted and distort risk, mention The high safety of resource data granting.
On the basis of the corresponding embodiment of Fig. 2, below by a specific embodiment come to being mentioned in step S10 And by big data platform, obtained from distributed memory system the concrete methods of realizing of the service data information of each employee into Row is described in detail.
Referring to Fig. 3, Fig. 3 shows the specific implementation flow of step S10 provided in an embodiment of the present invention, details are as follows:
S11: basic data information is obtained from distributed memory system, wherein every basic data information includes employee Mark, type of business and the corresponding portfolio of type of business.
Specifically, server-side acquires basic data information from distributed memory system by big data platform, mainly logical It crosses between each distributed storage server and run time infrastructure (Real Time Integration, RTI) plus one layer is remembered Interface is recorded, member is first coupled record interface, by record interface by after data record, relays to when sending data to RTI RTI, this avoid redundant datas in transmission over networks, greatly reduces data between the net on network, while also eliminating and being System bottleneck.
Wherein, basic resource data are group data set conjunction, including but not limited to: employee identification, type of business and business The corresponding portfolio of type.
For example, in a specific embodiment, the one group of basic resource information got are as follows: " XS1036, CX, 63 ", In, " SC1036 " is employee identification, and " CX " is type of business, and " 63 " are the corresponding portfolio of type of business.
S12: the basic business information with same employee identification, the number of targets as the corresponding employee of employee identification are obtained It is believed that breath.
Specifically, acquisition includes the basic business information of identical employee identification, will include the base of identical employee identification Plinth business information is as the corresponding target data information of the employee identification.
For example, in a specific embodiment, having 3 groups of basic business information includes same employee identification, respectively " XS1036, CX, 63 ", " SC1036, YWX, 11 ", " SC1036, YWX, 23 " are marked this three groups of basic business information as employee Know " XS1036 " corresponding target data information.
S13: obtain target data information in identical type of business, and to the corresponding portfolio of identical type of business into Row merges aggregation process, obtains the service data information of each employee.
Specifically, identical type of business in target data information is obtained, and to the corresponding business of identical type of business Amount merges aggregation process, obtains the service data information of each employee.
Continue by taking the example in step S12 as an example, in target data information, " SC1036, YWX, 11 ", " SC1036, YWX, 23 " types of business " YWX " having the same, thus, the corresponding portfolio of the type of business is merged and is summarized, is obtained " SC1036, YWX, 34 ", will " XS1036, CX, 63 " and " service data information of SC1036, YWX, 34 " as the employee.
In the present embodiment, basic data information is obtained from distributed memory system, and obtaining, there is same employee to mark The basic business information of knowledge as the target data information of the corresponding employee of employee identification, and then obtains in target data information Identical type of business, and aggregation process is merged to the corresponding portfolio of identical type of business, obtain each employee's Service data information realizes the service data information for quick and precisely obtaining each employee, is conducive to improve the granting of account resource Efficiency.
On the basis of the corresponding embodiment of Fig. 2, below by a specific embodiment come to being mentioned in step S10 And according to service data information, determine that the concrete methods of realizing of the additional resource data of each employee is described in detail, in detail It states as follows:
The additional resource data of the corresponding employee of each employee identification are calculated by following formula:
Wherein, Preward(j)For the additional resource data of the corresponding employee of employee identification, j is employee identification, GjFor employee's mark Know corresponding default hierarchical resource, i is i-th kind of business, SiFor the corresponding standard bonus materials of i-th kind of business, MiFor i-th kind of business Standard volume, miFor the portfolio of i-th kind of business of the corresponding employee of employee identification, i and n are positive integer, and i≤n.
Specifically, the present embodiment is provided with the corresponding standard bonus materials of business for every kind of business and every kind of business is corresponding Standard volume, the portfolio standard volume corresponding with business which is completed according to the corresponding employee of employee identification Relationship is weighted according to the formula, obtains the resource data of this business, and by the corresponding every kind of business of employee identification Corresponding resource data is summarized, and multiplied by the corresponding default hierarchical resource of employee identification, it is corresponding to obtain the employee identification The additional resource data of employee.
In the present embodiment, it is counted by additional resource data of the weighted formula to the corresponding employee of each employee identification It calculates, it is ensured that the reasonability of the corresponding additional resource data of employee identification.
On the basis of the corresponding embodiment of Fig. 2, below by a specific embodiment come to being mentioned in step S20 And according to additional resource data and basic resource data, determine the target resource data of the corresponding employee of each employee identification Concrete methods of realizing is described in detail.
Referring to Fig. 4, Fig. 4 shows the specific implementation flow of step S20 provided in an embodiment of the present invention, details are as follows:
S21: according to additional resource data and basic resource data, accumulative resource data is determined.
Specifically, according to the additional resource data and basic resource data got, accumulative resource data is determined.
Wherein, accumulative resource data is the data after additional resource data and basic resource aggregation of data, specifically may be used To be the sum of additional resource data and basic resource data, it is also possible to add additional resource data and basic resource data The data of cumulative acquisition are carried out after power.
For example, in a specific embodiment, the basic resource data of an employee are 3000, and additional resource data are 2000, after carrying out synthesis, obtaining accumulative resource data is 5000.
S22: it obtains the corresponding tax of accumulative resource data and deducts mode, and mode is deducted according to the tax, calculate accumulative money The corresponding deduction resource data of source data.
Specifically, the corresponding tax of accumulative resource data that server-side is preset with different range deducts mode, and it is tired to obtain this The tax for counting resource data enemy camp deducts mode, and deducts mode using the tax, calculates the accumulative corresponding button of resource data Except resource data.
Continue by taking the example in step S21 as an example, by inquiry, get range be (4000,6000] the tax deduct Mode deducts mode as the accumulative corresponding tax of resource data 5000, deducts mode according to the tax and is calculated, is detained Except resource data is 150.
S23: using accumulative resource data and the corresponding deduction resource data of accumulative resource data, target resource number is determined According to.
Specifically, using accumulative resource data and the corresponding deduction resource data of accumulative resource data, target resource is determined Data.
In the present embodiment, it according to additional resource data and basic resource data, determines accumulative resource data, and then obtains Add up the corresponding tax of resource data and deduct mode, and mode is deducted according to the tax, calculates the accumulative corresponding deduction of resource data Resource data reuses accumulative resource data and the corresponding deduction resource data of accumulative resource data, determines target resource data, The reasonability for improving the calculating of target resource data is conducive to subsequent according to target resource data generation resource granting report.
In one embodiment, after step S20, and the distribution method of account resource also wraps before step S30 It includes and passive self-test is carried out according to the request for review that client is submitted.
It is carried out passively referring to Fig. 5, Fig. 5 shows the request for review provided in an embodiment of the present invention submitted according to client The specific implementation flow of self-test, details are as follows:
S71: if receiving the request for review for target resource data that employee is sent by client, check is obtained The employee identification for including in request, as target employee identification.
Specifically, in step S20, visualization WEB interface is provided, user can pass through the Client browse visualization WEB page inquires the target resource data of oneself, when target resource data of the user to oneself are not accepted, can pass through client The request for review for being directed to the target resource data is sent to server-side, server-side receives the check by the network transmission protocol and asks It asks, and obtains the employee identification for including in request for review, as target employee identification.
Wherein, the network transmission protocol includes but is not limited to: Internet Control Message agreement (Internet Control Message Protocol, ICMP), address resolution protocol (ARP Address Resolution Protocol, ARP) and text Part transport protocol (File Transfer Protocol, FTP) etc..
S72: the corresponding target resource data of target employee identification are obtained, and to the corresponding target resource of target employee identification Data are calculated, and obtain calculating result.
Specifically, the corresponding target resource data of target employee identification are obtained, and to the corresponding target of target employee identification Resource data is calculated, and obtains calculating result.
It should be noted that the calculation process and step S10 to step S20 of the corresponding target resource data of employee identification Calculating process it is identical, in step slo, be acquired using service data information of the big data platform to all users, by In the larger uncertainty with network transmission of data volume, it is understood that there may be the case where data omit or acquire data exception, thus, In the present embodiment, visual WEB page is provided, so that user can according to need the target resource information progress to itself Confirmation, there are objection, by sending request for review, target resource of the triggering server-side to the user to server-side Information carries out passive self-test, it is ensured that the correctness of user data.
S73: if calculating result is that the corresponding target resource data of target employee identification are wrong, by target employee identification and The corresponding target resource data of target employee identification are sent to management end, so that management end is to the corresponding target of target employee identification Resource data is updated.
Specifically, when calculating result is that the corresponding target resource data of target employee identification are wrong, target employee is marked Know target resource data corresponding with target employee identification and be sent to management end, so that management end is corresponding to target employee identification Target resource data are updated.
In the present embodiment, by being asked by the check for target resource data that client is sent receiving employee When asking, the employee identification for including in request for review is obtained, as target employee identification, obtains the corresponding target of target employee identification Resource data, and the corresponding target resource data of target employee identification are calculated, it is calculated as a result, being if calculating result The corresponding target resource data of target employee identification are wrong, then provide target employee identification and the corresponding target of target employee identification Source data is sent to management end, so that management end is updated the corresponding target resource data of target employee identification, realization person Work sends request for review by client to carry out passive self-test, is conducive to the accuracy rate for improving target resource data.
In one embodiment, after the step s 40, the distribution method of account resource further include:
If approval results are that audit does not pass through, granting state is set to and stops granting state, and return step S30 continues It executes.
It specifically, is obstructed out-of-date in approval results, that is, the resource generated, which provides report, does not meet preset examination & approval item When part, granting state is set to and stops granting state, avoiding the resource of mistake from providing report causes account resource to provide abnormal belt Carry out financial losses, meanwhile, return step S30 re-starts resource and provides report generation.
It is worth noting that reaching preset times regenerating resource granting report, approval results are still not pass through When, exception record information is generated, and send the exception record information to management end, so that management end is according to the exception management information Report is provided to the resource to check.
In the present embodiment, it is that audit is obstructed out-of-date in approval results, granting state is set to and stops granting state, and is returned The target resource data according to each employee are returned, the step of resource provides report is generated and continues to execute, it is ensured that resource provides report Accuracy.
In one embodiment, the distribution method of account resource further include:
If instruction is provided in the pause for receiving management end transmission, granting state is set to and stops granting state.
Specifically, in the calculating and distribution process of target resource data, the abnormal ring such as process or data exception if it exists Border, then the user of management end sends pause to server-side and sends instruction by management end, will after server-side receives the instruction Granting state, which is set to, stops granting state, leads to the inaccurate of resource granting to avoid the granting of account resource is carried out in environmental abnormality Really, meanwhile, maintenance update is carried out to existing exception again, it is ensured that account resource granting it is legitimate.
When in the present embodiment, by providing instruction in the pause for receiving management end transmission, granting state is set to and is stopped State is only provided, so that can provide instruction in environmental abnormality by pause, control granting state, avoid in environmental abnormality Carrying out the granting of account resource leads to the inaccuracy of resource granting, improves the safety of resource granting.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Fig. 6 shows the original with the dispensing apparatus of the one-to-one account resource of the distribution method of above-described embodiment account resource Manage block diagram.As shown in fig. 6, the dispensing apparatus of account resource includes data acquisition module 10, the report of data determining module 20, first Table generation module 30, Report-ratified module 40, the second report generation module 50 and resource data provide module 60.Each functional module Detailed description are as follows:
Data acquisition module 10, for obtaining the industry of each employee from distributed memory system by big data platform Business data information, and according to service data information, determine the additional resource data of each employee, wherein service data information packet Containing employee identification;
Data determining module 20, for obtaining the corresponding basic resource data of each employee identification, and according to additional resource Data and basic resource data determine the target resource data of the corresponding employee of each employee identification;
First report generation module 30 generates resource and provides report for the target resource data according to each employee;
Report-ratified module 40, for the test mode using data consistency and file consistence, to resource granting report Table carries out examination & approval processing, obtains approval results;
Second report generation module 50 is provided report according to resource and is preset if being that audit passes through for approval results Approval form template, generate Approval Report, and granting state be set to available mode;
Resource data provides module 60, for being monitored by preset timing script to current time, if when current Between reach default resource Time Of Release, and provide state be available mode, then according to Approval Report carry out resource data hair Put processing.
Further, data acquisition module 10 includes:
Basic data acquiring unit 11, for obtaining basic data information from distributed memory system, wherein every base Plinth data information includes employee identification, type of business and the corresponding portfolio of type of business;
Data extracting unit 12, for obtaining the basic business information with same employee identification, as employee identification pair The target data information of the employee answered;
Merge collection unit 13, for obtaining identical type of business in target data information, and to identical business kind The corresponding portfolio of class merges aggregation process, obtains the service data information of each employee.
Further, data acquisition module 10 further include:
Data Computation Unit 14, for calculating the additional resource number of the corresponding employee of each employee identification by following formula According to:
Wherein, Preward(j)For the additional resource data of the corresponding employee of employee identification, j is employee identification, GjFor employee's mark Know corresponding default hierarchical resource, i is i-th kind of business, SiFor the corresponding standard bonus materials of i-th kind of business, MiFor i-th kind of business Standard volume, miFor the portfolio of i-th kind of business of the corresponding employee of employee identification, i and n are positive integer, and i≤n.
Further, data determining module 20 includes:
Cumulative data determination unit 21, for determining accumulative number of resources according to additional resource data and basic resource data According to;
Data Computation Unit 22 is deducted, deducts mode for obtaining the corresponding tax of accumulative resource data, and according to the tax Deduction mode calculates the accumulative corresponding deduction resource data of resource data;
Target data determination unit 23, for using accumulative resource data and the corresponding deduction number of resources of accumulative resource data According to determining target resource data.
The distribution method of account resource further include:
Request module 71, if the check for target resource data sent for receiving employee by client Request, then obtain the employee identification for including in request for review, as target employee identification;
Data calculate module 72, mark for obtaining the corresponding target resource data of target employee identification, and to target employee Know corresponding target resource data to be calculated, obtains calculating result;
Data update module 73, if being that the corresponding target resource data of target employee identification are wrong for calculating result, Target employee identification and the corresponding target resource data of target employee identification are sent to management end, so that management end is to target person Work identifies corresponding target resource data and is updated.
The distribution method of account resource further include:
First state resets module 80, if being that audit does not pass through for approval results, granting state is set to stopping hair State is put, and returns to the target resource data according to each employee, the step of resource provides report is generated and continues to execute.
The distribution method of account resource further include:
Second state resets module 90, if instruction is provided in the pause for receiving management end transmission, will provide state It is set to and stops granting state.
The specific of dispensing apparatus about account resource limits the distribution method that may refer to above for account resource Restriction, details are not described herein.Modules in the dispensing apparatus of above-mentioned account resource can be fully or partially through software, hard Part and combinations thereof is realized.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, It can also be stored in a software form in the memory in computer equipment, execute the above modules in order to which processor calls Corresponding operation.
Fig. 7 is the schematic diagram for the computer equipment that one embodiment of the invention provides.The computer equipment can be server-side, Its internal structure chart can be as shown in Figure 7.The computer equipment includes processor, the memory, net connected by system bus Network interface and database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment Memory includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer journey Sequence and database.The built-in storage provides ring for the operation of operating system and computer program in non-volatile memory medium Border.The database of the computer equipment is for storing basic data information.The network interface of the computer equipment is used for and outside Terminal by network connection communication.A kind of issuer of account resource is realized when the computer program is executed by processor Method.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor realize above-described embodiment account resource when executing computer program The step of distribution method, such as step S10 shown in Fig. 2 to step S60.Alternatively, processor is realized when executing computer program The function of each module/unit of the dispensing apparatus of above-described embodiment account resource, such as module shown in fig. 6 10 is to module 60 Function.To avoid repeating, which is not described herein again.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.
In one embodiment, a computer readable storage medium is provided, meter is stored on the computer readable storage medium The step of calculation machine program, which realizes the distribution method of above-described embodiment account resource when being executed by processor, or Person, the computer program realize each module/unit in the dispensing apparatus of above-described embodiment account resource when being executed by processor Function.To avoid repeating, which is not described herein again.
It is to be appreciated that the computer readable storage medium may include: that can carry the computer program code Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electric carrier signal and Telecommunication signal etc..
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of distribution method of account resource, which is characterized in that the distribution method of the account resource includes:
By big data platform, the service data information of each employee is obtained from distributed memory system, and according to the industry Business data information, determines the additional resource data of each employee, wherein the service data information includes employee identification;
The corresponding basic resource data of each employee identification are obtained, and are provided according to the additional resource data and the basis Source data determines the target resource data of the corresponding employee of each employee identification;
According to the target resource data of each employee, generates resource and provide report;
Using the test mode of data consistency and file consistence, report is provided to the resource and carries out examination & approval processing, is obtained Approval results;
If the approval results are that audit passes through, report and preset approval form template are provided according to the resource, generates and examines Report is criticized, and granting state is set to available mode;
Current time is monitored by preset timing script, if the current time reaches default resource Time Of Release, And the granting state is available mode, then is handled according to the granting that the Approval Report carries out resource data.
2. the distribution method of account resource as described in claim 1, which is characterized in that it is described by big data platform, from point The service data information that each employee is obtained in cloth storage system includes:
Basic data information is obtained from distributed memory system, wherein every basic data information includes the employee Mark, type of business and the corresponding portfolio of the type of business;
The basic business information with the same employee identification is obtained, as the corresponding employee of the employee identification Target data information;
Obtain identical type of business in the target data information, and to the corresponding portfolio of the identical type of business into Row merges aggregation process, obtains the service data information of each employee.
3. the distribution method of account resource as claimed in claim 2, which is characterized in that described to be believed according to the business datum Breath, determines that the additional resource data of each employee include:
The additional resource data of the corresponding employee of each employee identification are calculated by following formula:
Wherein, Preward(j)For the additional resource data of the corresponding employee of the employee identification, j is employee mark Know, GjFor the corresponding default hierarchical resource of the employee identification, i is i-th kind of business, SiFor the corresponding standard of i-th kind of business Reward, MiFor the standard volume of i-th kind of business, miFor i-th kind of industry of the corresponding employee of the employee identification The portfolio of business, i and n are positive integer, and i≤n.
4. the distribution method of account resource as described in claim 1, which is characterized in that described according to the additional resource data With the basic resource data, determine that the target resource data of the corresponding employee of each employee identification include:
According to the additional resource data and the basic resource data, accumulative resource data is determined;
It obtains the corresponding tax of the accumulative resource data and deducts mode, and mode is deducted according to the tax, calculate described tired Count the corresponding deduction resource data of resource data;
Using the accumulative resource data and the corresponding deduction resource data of the accumulative resource data, the target resource is determined Data.
5. the distribution method of account resource as described in claim 1, which is characterized in that obtain each employee identification pair described The basic resource data answered, and according to the additional resource data and the basic resource data, determine each employee's mark After the target resource data for knowing the corresponding employee, and in the target resource number according to each employee According to, before generating resource granting report, the distribution method of the account resource further include:
If receiving the request for review for the target resource data that the employee is sent by client, described in acquisition The employee identification for including in request for review, as target employee identification;
The corresponding target resource data of the target employee identification are obtained, and to the corresponding target of the target employee identification Resource data is calculated, and obtains calculating result;
If the accounting result is that the corresponding target resource data of the target employee identification are wrong, by the target person Work identifies the target resource data corresponding with the target employee identification and is sent to management end, so that the management end is to institute The corresponding target resource data of target employee identification are stated to be updated.
6. the distribution method of account resource as described in claim 1, which is characterized in that use data consistency and text described The test mode of part consistency provides report to the resource and carries out examination & approval processing, after obtaining approval results, and described Current time is monitored by preset timing script, if the current time reaches default resource Time Of Release, and The granting state is available mode, then before the granting processing for carrying out resource data according to the Approval Report, the account The distribution method of resource further include:
If the approval results are that audit does not pass through, the granting state is set to and stops granting state, and returns to described According to the target resource data of each employee, generates the step of resource provides report and continue to execute.
7. such as the distribution method of account resource as claimed in any one of claims 1 to 6, which is characterized in that the account resource Distribution method further include:
If receiving the pause that the management end is sent provides instruction, the granting state is set to the stopping and provides shape State.
8. a kind of dispensing apparatus of account resource, which is characterized in that the dispensing apparatus of the account resource includes:
Data acquisition module, for obtaining the business datum of each employee from distributed memory system by big data platform Information, and according to the service data information, determine the additional resource data of each employee, wherein the business datum Information includes employee identification;
Data determining module, for obtaining the corresponding basic resource data of each employee identification, and according to the additional money Source data and the basic resource data, determine the target resource data of the corresponding employee of each employee identification;
First report generation module generates resource and provides report for the target resource data according to each employee;
Report-ratified module provides report to the resource for the test mode using data consistency and file consistence Examination & approval processing is carried out, approval results are obtained;
Second report generation module, if being that audit passes through for the approval results, according to resource granting report and in advance If approval form template, generate Approval Report, and granting state be set to available mode;
Resource data provides module, for being monitored by preset timing script to current time, if the current time Reach default resource Time Of Release, and the granting state is available mode, then carries out number of resources according to the Approval Report According to granting processing.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to The distribution method of 7 described in any item account resources.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the computer program realizes the issuer of account resource as described in any one of claim 1 to 7 when being executed by processor Method.
CN201910522402.0A 2019-06-17 2019-06-17 Distribution method, device, computer equipment and the storage medium of account resource Pending CN110378776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910522402.0A CN110378776A (en) 2019-06-17 2019-06-17 Distribution method, device, computer equipment and the storage medium of account resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910522402.0A CN110378776A (en) 2019-06-17 2019-06-17 Distribution method, device, computer equipment and the storage medium of account resource

Publications (1)

Publication Number Publication Date
CN110378776A true CN110378776A (en) 2019-10-25

Family

ID=68249030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910522402.0A Pending CN110378776A (en) 2019-06-17 2019-06-17 Distribution method, device, computer equipment and the storage medium of account resource

Country Status (1)

Country Link
CN (1) CN110378776A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107146070A (en) * 2017-05-02 2017-09-08 广东网金云计算有限公司 A kind of intelligent delivery system of wage and method
CN107657519A (en) * 2017-09-06 2018-02-02 深圳市恒创智达信息技术有限公司 Emolument calculating, delivery system and its method
CN109472544A (en) * 2018-09-27 2019-03-15 平安科技(深圳)有限公司 Compensation data processing method, device, computer equipment and storage medium
CN109658050A (en) * 2018-11-12 2019-04-19 深圳壹账通智能科技有限公司 A kind of management method and equipment of wage report
CN109685450A (en) * 2018-12-01 2019-04-26 河南中欧企业咨询有限公司 A kind of employee's wage and salary administration system based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107146070A (en) * 2017-05-02 2017-09-08 广东网金云计算有限公司 A kind of intelligent delivery system of wage and method
CN107657519A (en) * 2017-09-06 2018-02-02 深圳市恒创智达信息技术有限公司 Emolument calculating, delivery system and its method
CN109472544A (en) * 2018-09-27 2019-03-15 平安科技(深圳)有限公司 Compensation data processing method, device, computer equipment and storage medium
CN109658050A (en) * 2018-11-12 2019-04-19 深圳壹账通智能科技有限公司 A kind of management method and equipment of wage report
CN109685450A (en) * 2018-12-01 2019-04-26 河南中欧企业咨询有限公司 A kind of employee's wage and salary administration system based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
传智播客高教产品研发部: "《PHP程序设计基础教程》", 31 August 2014, 中国铁道出版社, pages: 201 *

Similar Documents

Publication Publication Date Title
CN104993946B (en) Appraisal procedure, the device and system of gray scale publication
CN102244594B (en) At the networks simulation technology manually and in automatic testing instrument
CN109034660A (en) Based on the determination method and relevant apparatus of the risk control strategy of prediction model
CN110290189A (en) A kind of container cluster management method, apparatus and system
CN100428168C (en) Method, system and program product for capturing central processing unit (CPU) utilization for a virtual machine
US8156172B2 (en) Monitoring and reporting enterprise data using a message-based data exchange
CN109409953A (en) A kind of marketing cost settlement system and method based on block chain
CN110417671A (en) The current-limiting method and server of data transmission
CN106708818A (en) Pressure testing method and system
CN108920965A (en) A kind of block chain deposits card method and device
CN107851105A (en) Distributed memory system with locations of copies selection
CN111309594A (en) System testing method, device, equipment and storage medium
CN106412975B (en) A kind of test method and device of content charging loophole
CN109643269A (en) The monitoring of network operation application program
CN106487603A (en) A kind of response test method and device
CN108898440A (en) Flow exchanging method and device
CN107895324A (en) Insurance examination & verification apparatus and method
CN108319550A (en) A kind of test system and test method
CN108880934A (en) A kind of data flow statistic method and device based on block chain
EP2090089B1 (en) Method and system for monitoring traffic revenue flows for communications companies
CN110188132A (en) A kind of method for interchanging data and system
CN111966585A (en) Test task execution method, device, equipment and system
CN111768174A (en) Activity management method, apparatus, device and medium
CN107924345A (en) Data storage area for the polymerization measurement result of measurement
CN107609792A (en) Worker based on big data algorithm assesses labor service resource allocation method and system

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