CN111833015A - Resource distribution method and device - Google Patents
Resource distribution method and device Download PDFInfo
- Publication number
- CN111833015A CN111833015A CN202010611747.6A CN202010611747A CN111833015A CN 111833015 A CN111833015 A CN 111833015A CN 202010611747 A CN202010611747 A CN 202010611747A CN 111833015 A CN111833015 A CN 111833015A
- Authority
- CN
- China
- Prior art keywords
- resource distribution
- resource
- amount
- distribution
- user
- 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
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000000694 effects Effects 0.000 claims abstract description 52
- 238000004364 calculation method Methods 0.000 claims abstract description 23
- 238000012795 verification Methods 0.000 abstract description 5
- 238000012423 maintenance Methods 0.000 abstract description 3
- 230000000875 corresponding effect Effects 0.000 description 45
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000003442 weekly effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000013468 resource allocation Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000004080 punching Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/105—Human resources
- G06Q10/1053—Employment or hiring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/109—Time management, e.g. calendars, reminders, meetings or time accounting
- G06Q10/1091—Recording time for administrative or management purposes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
- G06Q40/125—Finance or payroll
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Theoretical Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Economics (AREA)
- Marketing (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Operations Research (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Data Mining & Analysis (AREA)
- Educational Administration (AREA)
- Development Economics (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a resource distribution method and a device, comprising the following steps: receiving resource distribution information, the resource distribution information comprising: the user identification, the resource type and the calculation unit corresponding to the resource distribution; acquiring user activity information associated with a user identifier; determining the amount to be distributed according to the user activity information and a calculation unit corresponding to resource distribution; and determining an actual distribution amount according to the resource type and the amount to be distributed, and sending the actual distribution amount to the active user corresponding to the resource distribution information. The resource distribution method and the resource distribution device provided by the invention check and verify the user activity information through the user identification, the resource type, the calculation unit corresponding to the resource distribution and the like, and directly send the distributed resource to the active user corresponding to the resource distribution information after the check and verification is passed, so that the information is not required to be checked and verified manually, the maintenance cost is reduced, the efficiency of distributing the resource is improved, the timeliness of the resource distribution of the user is ensured, and the accuracy of the resource distribution is also ensured.
Description
Technical Field
The present invention relates to the field of resource distribution technologies, and in particular, to a resource distribution method and apparatus.
Background
With the rapid development of computer and internet technologies, digitization is more popular, but some businesses cannot realize full digitization and also need a great deal of manual labor. For example: in the enterprise salary distribution, the staff card punching attendance and the like can be digitalized through the terminal, but the work information and the like of each staff still need to be checked manually to carry out the salary distribution. If one of the links is inconsistent or wrong, such as: when the information synchronization between the upstream and downstream companies is not timely in the labor dispatching process or the list provided by the enterprise is omitted, the workload of manual checking is greatly increased, and the accuracy of manual checking cannot be guaranteed.
Therefore, it is desirable to provide a scheme capable of reducing the workload of manual auditing during resource allocation and improving the accuracy of resource allocation.
Disclosure of Invention
In view of the foregoing problems in the prior art, an object of the present invention is to provide a resource distribution method and apparatus, which can reduce the workload of manual auditing during resource distribution, improve the accuracy of resource distribution, and improve the user's perception.
In order to solve the above technical problem, the present invention provides a resource distribution method, including:
receiving resource distribution information, wherein the resource distribution information comprises: the user identification, the resource type and the calculation unit corresponding to the resource distribution;
acquiring user activity information associated with the user identifier;
determining the amount to be distributed according to the user activity information and a calculation unit corresponding to the resource distribution;
and determining an actual distribution amount according to the resource type and the amount to be distributed, and sending the actual distribution amount to an active user corresponding to the resource distribution information.
In another aspect, the present invention provides a resource distribution apparatus, including:
a resource distribution information receiving module, configured to receive resource distribution information, where the resource distribution information includes: the user identification, the resource type and the calculation unit corresponding to the resource distribution;
the user activity information acquisition module is used for acquiring the user activity information associated with the user identifier;
the amount to be distributed determining module is used for determining the amount to be distributed according to the user activity information and the calculation unit corresponding to the resource distribution;
and the resource distribution module is used for determining the actual distribution amount according to the resource type and the amount to be distributed and sending the actual distribution amount to the active user corresponding to the resource distribution information.
In yet another aspect, the present invention provides an electronic device comprising a processor and a memory, wherein at least one instruction, at least one program, set of codes, or set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the resource distribution method according to any one of the above.
The resource distribution method and the resource distribution device provided by the invention have the following beneficial effects:
the resource distribution method provided by the invention checks and verifies the user activity information through the user identification, the resource type, the calculation unit corresponding to the resource distribution and the like, and directly sends the distributed resource to the active user corresponding to the resource distribution information after the checking and verification are passed, so that the information is not required to be checked and verified manually, the maintenance cost is reduced, the resource distribution efficiency is improved, the resource distribution timeliness of the user is ensured, and the resource distribution accuracy is also ensured.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description of the embodiment or the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the invention;
fig. 2 is a schematic flowchart of a resource distribution method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another resource distribution method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a resource distribution apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
The system comprises a resource distribution module 110, a resource distribution information receiving module 120, a user activity information acquisition module 130, a to-be-distributed amount determining module 140 and a resource distribution module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or device.
Referring to fig. 1 of the specification, a schematic diagram of an implementation environment provided by an embodiment of the present invention is shown, and as shown in fig. 1, the implementation environment may include at least a user terminal 110 and a server 120.
A client is operated in the user terminal 110. The user terminal 110 may be one or more smart phones, tablet computers, e-book readers, laptop portable computers, desktop computers, and the like. The client can be an application program provided for the user by the service provider, and can also be a webpage provided for the user by the service provider. The server 120 may be a server operating independently, a server cluster composed of a plurality of servers, or a cloud computing service center. The server 120 may include a network communication unit, a processor, a memory, and the like. The server 120 may establish a communication connection with the user terminal 110 through a wireless or wired network. The second server may establish a communication connection with the server 120 and the user terminal 110 through a wireless or wired network.
In the embodiment of the present invention, the client may be any client providing a service for a user. For example, the clients may be payment-type application clients, recruitment-type clients, shopping-type clients, and the like.
As shown in fig. 2, fig. 2 is a schematic flowchart of a resource distribution method according to an embodiment of the present invention, where the resource distribution method is provided in the present invention, an execution subject of the method is the server, and the method includes:
s102, receiving resource distribution information, wherein the resource distribution information comprises: and the user identification, the resource type and the calculation unit corresponding to the resource distribution.
Specifically, the server may receive resource distribution information input or uploaded by a user, where the resource distribution information at least includes: and the user identification, the resource type and the calculation unit corresponding to the resource distribution. Wherein, the user identification may include: identity card number, name, telephone number, job number and/or terminal number, etc. It is understood that the identification number may be included in the user identification as the identification number is unique. The resource type may be characterized as a category corresponding to resource distribution. It will be appreciated that a resource may represent an item or virtual product that represents a value, such as: currency, virtual currency, salaries, and the like.
It will be appreciated that the user who enters or uploads the resource distribution information may not be the same user to which the user identification corresponds.
Illustratively, the user a needs to explain to the user B who is responsible for counting attendance or allocating resources due to the omission of resource distribution, and after checking and confirming that the user a needs to reissue resources, the user B inputs or uploads the resource distribution information of the resources that the user a needs to reissue to the server.
S104, acquiring user activity information associated with the user identification;
specifically, the server may obtain, according to the user identifier in the resource distribution information, user activity information that is stored inside the server and is associated with the user identifier, where the user activity information may represent a historical activity condition of the user.
It can be understood that the user has registered and used the client corresponding to the server before the resource distribution, the user uploads the content such as the user identifier and the user activity information to the server by submitting the content, and the server stores the user identifier and the user activity information after the user identifier and the user activity information are checked and correlated. The user activity information may be user input or server generated.
S106, determining the amount to be distributed according to the user activity information and a calculation unit corresponding to the resource distribution;
s108, determining an actual distribution amount according to the resource type and the amount to be distributed, and sending the actual distribution amount to an active user corresponding to the resource distribution information.
For example, in order to better explain the present invention, in the embodiment of the present specification, a resource is taken as a salary example for explanation, and when receiving salary reimbursement information (resource distribution information) that a user a needs to reimburse for one day due to forgetting to punch a card, which is uploaded by a user B, a server; the method can acquire a historical data record (user activity information) of user A distribution salaries related to a user A identity card number (user identification), wherein the salaries of the user A in the historical data record are 100 yuan per day; the server can determine that 100 yuan (amount to be distributed) should be reissued for 100 yuan (user activity information) per day and one day (calculation unit corresponding to resource distribution) according to payroll salary; the reason for this reissue is that the user a forgets to make a card (resource type), so the server may deduct part of the salaries (e.g. 5 yuan) of the user a according to a preset rule, and the server sends 95 yuan (actual distribution amount) to the bank account (active user) corresponding to the user a after deducting 5 yuan.
It is understood that the active account number may be a bank card, a payment-type account, or the like.
The resource distribution method provided by the invention checks and verifies the user activity information through the user identification, the resource type, the calculation unit corresponding to the resource distribution and the like, and directly sends the distributed resource to the active user corresponding to the resource distribution information after the checking and verification are passed, so that the information is not required to be checked and verified manually, the maintenance cost is reduced, the resource distribution efficiency is improved, the resource distribution timeliness of the user is ensured, and the resource distribution accuracy is also ensured.
On the basis of the foregoing embodiment, in an embodiment of this specification, fig. 3 is a schematic flowchart of another resource distribution method provided in the embodiment of the present invention, and as shown in fig. 3, the user identifier includes: the first identity to be authenticated and the second identity to be authenticated are identified;
after receiving the resource distribution information, the method further comprises:
s202, receiving resource distribution information, wherein the resource distribution information comprises: the user identification, the resource type and the calculation unit corresponding to the resource distribution; the user identification comprises: the first identity to be authenticated and the second identity to be authenticated are identified;
s204, acquiring a second identity associated with the first identity to be authenticated, and verifying whether the second identity is the same as the second identity to be authenticated; or acquiring a first identity associated with the second identity to be authenticated, and verifying whether the first identity is the same as the first identity to be authenticated;
s206, if the second identity mark is the same as the second identity mark to be authenticated or the first identity mark is the same as the first identity mark to be authenticated, acquiring user activity information associated with the first identity mark or the second identity mark.
S208, determining the amount to be distributed according to the user activity information and a calculation unit corresponding to the resource distribution;
s210, determining an actual distribution amount according to the resource type and the amount to be distributed, and sending the actual distribution amount to an active user corresponding to the resource distribution information.
Specifically, the first identity to be authenticated or the second identity to be authenticated may be one of the following: identification number, name, bank account and job number. It is understood that the first to-be-authenticated identity and the second to-be-authenticated identity are different. The first identity to be authenticated or the second identity to be authenticated is associated and stored in the server when the user logs in or registers.
Specifically, the server may obtain, according to the first identity or the authentication identity, a second identity to be authenticated and a first identity to be authenticated, which are associated with each other, to verify whether the second identity to be authenticated and the first identity to be authenticated are the same as the second identity or the first identity, and if so, pass the verification, and obtain the user activity information associated with the first identity or the second identity.
Illustratively, the first identity identifier of the user B is ASF, the second identity identifier is BSF, the server obtains the second identity identifier to be authenticated associated with ASF as BSF 'according to ASF, and when BSF is the same as BSF', it indicates that the user B is an existing user, and obtains user activity information associated with the first identity identifier or the second identity identifier. Since the first identity identifier and the second identity identifier are verified in the same manner, they are not described herein.
The verification method provided by the embodiment of the specification avoids the situations that the calculated amount of the server is increased and the resource distribution is wrong due to manual input errors.
On the basis of the foregoing embodiments, in an embodiment of the present specification, the user activity information further includes a history data record, where the history data record includes: historical resource distribution cycle data records;
specifically, the user activity information may include a history data record, and the history data record may include: historical resource distribution cycle data records, it will be appreciated that a historical resource distribution cycle data record may be characterized as a full cycle data record of a historical distribution.
The determining the amount to be distributed according to the user activity information and the calculation unit corresponding to the resource distribution comprises:
determining historical resource distribution cycle data records corresponding to the computing units corresponding to the resource distribution in the user activity information according to the computing units corresponding to the resource distribution;
and determining the amount to be distributed according to the average value of the resource distribution in the historical resource distribution period data record and the quantity corresponding to the resource distribution.
Illustratively, taking the user B needs to reimburse the salaries of 11 months and 11 days in 2019 as an example, the distribution salaries are distributed in a weekly distribution mode, the historical data records which can be acquired by the server from 11 months and 11 days in 2019 are 600 yuan (namely historical resource distribution period data records) from 11 months and 12 days in 2019 to 11 months and 17 days in 2019, which indicate that the salaries of the user B in 11 months and 11 days in 2019 are not distributed, at this time, the average salaries can be determined to be 100 yuan per day (namely the resource distribution average value), and as the user B needs to reimburse the salaries of one day, the salaries which need to be reimbursed can be determined to be 100 yuan (namely the amount to be distributed).
On the basis of the foregoing embodiment, in an embodiment of the present specification, the determining an amount to be distributed according to the resource distribution average value and the number corresponding to resource distribution in the historical resource distribution cycle data record includes:
judging whether the resource amount in the historical resource distribution cycle data record is larger than or equal to a preset resource threshold value or not;
and if the sum is larger than or equal to the preset value, determining that the amount to be distributed is zero.
Specifically, the preset resource threshold is not specifically limited in the embodiments of the present specification, and may be set according to actual needs. When the resource is paycheck, the preset resource threshold may be a maximum value of paycheck issuance in the period.
Illustratively, when the preset resource threshold is set to 700 yuan, taking the example that the user B needs to reissue the salary of 11 months and 11 days in 2019, the distribution salary is issued in a weekly distribution mode, the salary of 11 months and 11 days in 2019 from the historical data record of 11 months and 11 days in 2019 which can be acquired by the server in 11 months and 11 days in 2019 is 700 yuan (namely the historical resource distribution cycle data record), and since 700 yuan is greater than the preset resource threshold, it can be seen that the salary of 11 months and 11 days in 2019 of the user B has already been issued, so that the salary does not need to be issued again, and the amount to be distributed can be determined to be zero.
The resource distribution method provided by the embodiment of the specification can avoid the occurrence of the situation of multi-resource distribution caused by the error of the resource distribution information provided by the user, can reduce the time cost of manual checking, and improves the accuracy of information checking.
On the basis of the foregoing embodiments, in an embodiment of the present specification, the user activity information includes: an exit time corresponding to the user identification;
determining the amount to be distributed according to the average value of resource distribution in the historical resource distribution cycle data record and the quantity corresponding to the resource distribution further comprises:
if the resource amount in the historical resource distribution cycle data record is not more than a preset resource threshold value, judging whether the quitting time is before the time corresponding to the historical resource distribution cycle data record;
if yes, the amount to be distributed is determined to be zero.
In particular, it will be appreciated that the exit time represents a time when the resource is not being issued, and in the case of salaries, the exit time may be a user's time of leave.
Illustratively, taking the user B needs to reissue the salary of 11/17 th in 2019 as an example, the distribution salary is issued in a weekly distribution mode, the salary from 11/17 th in 2019 to 11/17 th in 2019 is 600 yuan (i.e. historical resource distribution cycle data record) according to the historical data record which can be acquired by the server at 11/17 th in 2019, since 600 yuan is not greater than or equal to the preset resource threshold, it can be seen that the salary of 11/11 th in 2019 is already issued by the user B, and further, it is determined whether the departure time of the user B is before 11/17 th in 2019, when the departure time of the user B is before 11/17 th in 2019, it can be determined that the salary of 11/17 th in 2019 should not be issued, i.e. the amount to be distributed is zero, when the salary has been issued, further, it is determined whether the departure time of the user B is before 11/17 th in 2019, when the departure time of the user B is after 17 th in 2019 or when the user B has no exit time in the activity information, it can be determined that the salary of the user B2019, 11, month and 17 should be released, that is, the amount to be distributed is 100 yuan.
On the basis of the above embodiment, in an embodiment of the present specification, the history data record further includes: distributing data records for resources which are not approved;
determining the amount to be distributed according to the average value of resource distribution in the historical resource distribution cycle data record and the quantity corresponding to the resource distribution further comprises:
if the exit time is after the time corresponding to the historical resource distribution cycle data record, judging whether the historical data record has a resource distribution data record which is not checked;
if yes, determining that the amount to be distributed is zero, and generating prompt information carrying the resource distribution data record which is not approved, wherein the prompt information is used for prompting a user to examine the resource distribution data record which is not approved.
Specifically, the resource distribution data record that has not been approved may be characterized as the data information that has been submitted by the user B but has not been approved before the resource is issued this time.
For example, when the server can also determine whether a resource distribution data record that has not been approved exists in the history data record, when a resource distribution data record that has not been approved exists in the history data record, it may be determined that resource distribution is not performed for the user B, prompt information carrying the resource distribution data record that has not been approved is generated, and the prompt information is generated to the user B or a terminal corresponding to an auditor, and may be sent in a push manner, it may be understood that the terminal may be a client or a mobile phone terminal, and when the terminal is a mobile phone terminal, a short message sending manner may be used.
On the basis of the foregoing embodiments, in an embodiment of the present specification, the resource types include: a first resource type and a second resource type;
in particular, the first resource type and the second resource type may characterize different resource types. Taking resources as payroll as an example, the first resource type may be represented as a resource type in which an actual distribution amount is equal to a to-be-distributed amount, and the second resource type may be represented as a resource type in which an actual distribution amount is equal to a difference between the to-be-distributed amount and a procedure amount.
The calculating the actual distribution amount according to the resource type and the amount to be distributed comprises:
when the resource type is a first resource type, the actual distribution amount is equal to the amount to be distributed;
and when the resource type is a second resource type, the actual distribution amount is equal to the difference value between the amount to be distributed and the procedure amount.
For example, when the resource reissue is caused by the fact that the user B forgets to punch the card, the server may correspondingly deduct the corresponding amount of the procedure, that is, the actual distribution amount is equal to the difference between the amount to be distributed and the amount of the procedure, and when the resource reissue is caused by the fact that the user B forgets to punch the card, the server should not deduct the amount of the procedure, so that it may be determined that the actual distribution amount is equal to the amount to be distributed.
It is to be understood that the specific value of the procedure amount is not specifically limited in the embodiments of the present specification, and may be set according to actual needs.
The resource distribution method provided by the embodiment of the specification adopts a mode of deducting the amount of the procedure to urge the user, so that the accuracy of resource distribution is ensured, and the labor cost is reduced.
On the other hand, fig. 4 is a schematic structural diagram of a resource distribution apparatus provided in an embodiment of the present invention, and as shown in fig. 4, the present invention provides a resource distribution apparatus, including:
a resource distribution information receiving module (110) for receiving resource distribution information, the resource distribution information comprising: the user identification, the resource type and the calculation unit corresponding to the resource distribution;
a user activity information obtaining module (120) for obtaining user activity information associated with the user identifier;
a to-be-distributed amount determining module (130) for determining the amount to be distributed according to the user activity information and the calculation unit corresponding to the resource distribution;
and the resource distribution module (140) is used for determining the actual distribution amount according to the resource type and the amount to be distributed and sending the actual distribution amount to the active user corresponding to the resource distribution information.
On the basis of the foregoing embodiment, in an embodiment of this specification, the user identifier includes: the first identity to be authenticated and the second identity to be authenticated are identified;
the device further comprises:
the second identity identification obtaining module is used for obtaining a second identity identification associated with the first identity identification to be authenticated and verifying whether the second identity identification is the same as the second identity identification to be authenticated;
or, the first identity acquiring module is configured to acquire a first identity associated with the second identity to be authenticated, and verify whether the first identity is the same as the first identity to be authenticated;
and the user activity information acquisition module is further used for acquiring user activity information associated with the first identity identifier or the second identity identifier if the second identity identifier is the same as the second identity identifier to be authenticated or the first identity identifier is the same as the first identity identifier to be authenticated.
On the basis of the foregoing embodiments, in an embodiment of the present specification, the user activity information further includes a history data record, where the history data record includes: historical resource distribution cycle data records;
the to-be-dispensed amount determination module includes:
a historical resource distribution cycle data record determining unit, configured to determine, according to a computing unit corresponding to the resource distribution, a historical resource distribution cycle data record corresponding to the computing unit corresponding to the resource distribution in the user activity information;
and the amount to be distributed determining unit is used for determining the amount to be distributed according to the resource distribution average value in the historical resource distribution cycle data record and the quantity corresponding to the resource distribution.
On the basis of the above embodiment, in an embodiment of the present specification, the amount to be dispensed determining unit includes:
the first judgment subunit is configured to judge whether the resource amount in the historical resource distribution cycle data record is greater than or equal to a preset resource threshold;
and the to-be-distributed amount determining module is also used for determining that the to-be-distributed amount is zero if the to-be-distributed amount is larger than or equal to the preset value.
On the basis of the foregoing embodiments, in an embodiment of the present specification, the user activity information includes: an exit time corresponding to the user identification;
the amount to be dispensed determining unit further includes:
a second judging subunit, configured to, if the resource amount in the historical resource distribution cycle data record is not greater than or equal to a preset resource threshold, judge whether the exit time is before time corresponding to the historical resource distribution cycle data record;
and the to-be-distributed amount determining module is further used for determining that the to-be-distributed amount is zero if the to-be-distributed amount is zero.
On the basis of the above embodiment, in an embodiment of the present specification, the history data record further includes: distributing data records for resources which are not approved;
the amount to be dispensed determining unit further includes:
a third judging subunit, configured to, if the exit time is after a time corresponding to the historical resource distribution cycle data record, judge whether the historical data record has a resource distribution data record that has not been approved;
and the to-be-distributed amount determining module is further used for determining that the to-be-distributed amount is zero if the to-be-distributed amount is zero, and generating prompt information carrying the resource distribution data record which is not approved, wherein the prompt information is used for prompting a user to examine the resource distribution data record which is not approved.
On the basis of the foregoing embodiments, in an embodiment of the present specification, the resource types include: a first resource type and a second resource type;
the resource distribution module comprises:
a first actual distribution amount determining unit, configured to, when the resource type is a first resource type, determine that the actual distribution amount is equal to the amount to be distributed;
and when the resource type is a second resource type, the second actual distribution amount determining unit determines that the actual distribution amount is equal to the difference value between the amount to be distributed and the procedure amount.
Since the technical effects of the resource distribution apparatus and the resource distribution method are the same, they are not described herein again.
On the other hand, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 5, the electronic device includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement any one of the payroll reimbursement methods described above.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. The implementation principle and the generated technical effect of the testing method provided by the embodiment of the invention are the same as those of the system embodiment, and for the sake of brief description, the corresponding contents in the system embodiment can be referred to where the method embodiment is not mentioned.
In the several embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The above functions, if implemented in the form of software functional units and sold or used as a separate product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the above claims.
Claims (10)
1. A method for resource distribution, comprising:
receiving resource distribution information, wherein the resource distribution information comprises: the user identification, the resource type and the calculation unit corresponding to the resource distribution;
acquiring user activity information associated with the user identifier;
determining the amount to be distributed according to the user activity information and a calculation unit corresponding to the resource distribution;
and determining an actual distribution amount according to the resource type and the amount to be distributed, and sending the actual distribution amount to an active user corresponding to the resource distribution information.
2. The resource distribution method according to claim 1, wherein the user identification comprises: the first identity to be authenticated and the second identity to be authenticated are identified;
after receiving the resource distribution information, the method further comprises:
acquiring a second identity associated with the first identity to be authenticated, and verifying whether the second identity is the same as the second identity to be authenticated;
or acquiring a first identity associated with the second identity to be authenticated, and verifying whether the first identity is the same as the first identity to be authenticated;
and if the second identity mark is the same as the second identity mark to be authenticated or the first identity mark is the same as the first identity mark to be authenticated, acquiring user activity information associated with the first identity mark or the second identity mark.
3. The resource distribution method of claim 1, wherein the user activity information further comprises a historical data record, the historical data record comprising: historical resource distribution cycle data records;
the determining the amount to be distributed according to the user activity information and the calculation unit corresponding to the resource distribution comprises:
determining historical resource distribution cycle data records corresponding to the computing units corresponding to the resource distribution in the user activity information according to the computing units corresponding to the resource distribution;
and determining the amount to be distributed according to the average value of the resource distribution in the historical resource distribution period data record and the quantity corresponding to the resource distribution.
4. The resource distribution method of claim 3, wherein the determining the amount to be distributed according to the average value of the resource distribution and the number corresponding to the resource distribution in the historical resource distribution cycle data record comprises:
judging whether the resource amount in the historical resource distribution cycle data record is larger than or equal to a preset resource threshold value or not;
and if the sum is larger than or equal to the preset value, determining that the amount to be distributed is zero.
5. The resource distribution method of claim 4, wherein the user activity information comprises: an exit time corresponding to the user identification;
determining the amount to be distributed according to the average value of resource distribution in the historical resource distribution cycle data record and the quantity corresponding to the resource distribution further comprises:
if the resource amount in the historical resource distribution cycle data record is not more than a preset resource threshold value, judging whether the quitting time is before the time corresponding to the historical resource distribution cycle data record;
if yes, the amount to be distributed is determined to be zero.
6. The resource distribution method of claim 5, wherein the historical data record further comprises: distributing data records for resources which are not approved;
determining the amount to be distributed according to the average value of resource distribution in the historical resource distribution cycle data record and the quantity corresponding to the resource distribution further comprises:
if the exit time is after the time corresponding to the historical resource distribution cycle data record, judging whether the historical data record has a resource distribution data record which is not checked;
if yes, determining that the amount to be distributed is zero, and generating prompt information carrying the resource distribution data record which is not approved, wherein the prompt information is used for prompting a user to examine the resource distribution data record which is not approved.
7. The resource distribution method of claim 6, wherein the resource types comprise: a first resource type and a second resource type;
the calculating the actual distribution amount according to the resource type and the amount to be distributed comprises:
when the resource type is a first resource type, the actual distribution amount is equal to the amount to be distributed;
and when the resource type is a second resource type, the actual distribution amount is equal to the difference value between the amount to be distributed and the procedure amount.
8. The resource distribution method of claim 2, wherein the first identity is one of: identity card number, name and job number.
9. A resource distribution apparatus, comprising:
a resource distribution information receiving module (110) for receiving resource distribution information, the resource distribution information comprising: the user identification, the resource type and the calculation unit corresponding to the resource distribution;
a user activity information obtaining module (120) for obtaining user activity information associated with the user identifier;
a to-be-distributed amount determining module (130) for determining the amount to be distributed according to the user activity information and the calculation unit corresponding to the resource distribution;
and the resource distribution module (140) is used for determining the actual distribution amount according to the resource type and the amount to be distributed and sending the actual distribution amount to the active user corresponding to the resource distribution information.
10. An electronic device, comprising a processor and a memory, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and wherein the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the resource distribution method according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010611747.6A CN111833015A (en) | 2020-06-30 | 2020-06-30 | Resource distribution method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010611747.6A CN111833015A (en) | 2020-06-30 | 2020-06-30 | Resource distribution method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111833015A true CN111833015A (en) | 2020-10-27 |
Family
ID=72899606
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010611747.6A Pending CN111833015A (en) | 2020-06-30 | 2020-06-30 | Resource distribution method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111833015A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112862430A (en) * | 2021-01-19 | 2021-05-28 | 浙江网商银行股份有限公司 | Resource distribution processing method and device |
CN113422734A (en) * | 2021-06-16 | 2021-09-21 | 北京百度网讯科技有限公司 | Resource distribution method, device, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453341A (en) * | 2016-10-21 | 2017-02-22 | 腾讯科技(北京)有限公司 | Information processing method and device |
CN110827135A (en) * | 2019-11-12 | 2020-02-21 | 上海慧贤网络科技有限公司 | Salary issuing method and related device |
-
2020
- 2020-06-30 CN CN202010611747.6A patent/CN111833015A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453341A (en) * | 2016-10-21 | 2017-02-22 | 腾讯科技(北京)有限公司 | Information processing method and device |
CN110827135A (en) * | 2019-11-12 | 2020-02-21 | 上海慧贤网络科技有限公司 | Salary issuing method and related device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112862430A (en) * | 2021-01-19 | 2021-05-28 | 浙江网商银行股份有限公司 | Resource distribution processing method and device |
CN112862430B (en) * | 2021-01-19 | 2024-05-21 | 浙江网商银行股份有限公司 | Resource issuing processing method and device |
CN113422734A (en) * | 2021-06-16 | 2021-09-21 | 北京百度网讯科技有限公司 | Resource distribution method, device, electronic equipment and storage medium |
CN113422734B (en) * | 2021-06-16 | 2022-08-26 | 北京百度网讯科技有限公司 | Resource distribution method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110311891B (en) | Account management method and device, computer equipment and storage medium | |
CN111343168B (en) | Identity authentication method and device, computer equipment and readable storage medium | |
CN111833015A (en) | Resource distribution method and device | |
CN111325585A (en) | Asset transfer method, device and computer readable storage medium | |
CN108242021B (en) | Accounting data processing system, method and device | |
KR20190094096A (en) | Document information input methods, devices, servers, and storage media | |
CN109857748B (en) | Contract data processing method and device and electronic equipment | |
CN110049051B (en) | Request verification method, device, storage medium and alliance chain verification system | |
CN110781134A (en) | Data processing method and device, computer storage medium and electronic equipment | |
CN111026737A (en) | Task processing method and device | |
US12093427B2 (en) | Methods and systems for processing agency-initiated privacy requests | |
CN117934075A (en) | Electronic rights issuing method, electronic rights issuing device, electronic equipment and storage medium | |
CN105184559A (en) | System and method for payment | |
CN111709688A (en) | Ex-warehouse data processing method and device | |
CN110889763A (en) | Financial management system based on big data | |
CN112001595A (en) | Resource splitting method and device | |
CN106845926A (en) | A kind of Third-party payment supervisory systems distributed data method for stream processing and system | |
CN114255134A (en) | Account number disassembling method and device and storage medium | |
CN113691534A (en) | Identity authentication charging system and method | |
CN117579486A (en) | Server upgrading method and device | |
CN111640008A (en) | Service data processing method and device | |
CN111539688A (en) | Information management method and device based on block chain | |
CN107483210B (en) | Data verification method and system | |
CN114428723A (en) | Test system, system test method, related device and storage medium | |
CN110910091A (en) | Data processing method, device and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201027 |