Summary of the invention
The embodiment of the present invention provides a kind of data processing method and device based on data label, can be improved to data
Handle success rate and treatment effeciency.
On the one hand the embodiment of the present invention provides a kind of data processing method based on data label, this method comprises:
Data transfer request is obtained, and records the target time information for getting the data transfer request, the data
Transfer request includes goal displacement data volume, user information;
Data transfer deadline information corresponding with the user information and default transfer data volume are obtained, is turned according to data
It moves deadline information and determines and shift to an earlier date transfer time range;
If the target time information is not belonging to the transfer time range in advance, and the goal displacement data volume is greater than
The default transfer data volume then carries out data fractionation to the goal displacement data volume according to the default transfer data volume,
The first transfer data volume and the second transfer data volume are obtained, and time limit transfer label is set for the first transfer data volume, is
Label is shifted in the second transfer data volume setting in advance;
It will be shifted described in label in advance described in the first transfer data volume for carrying the time limit transfer label, carrying
Second transfer data volume is sent to destination server, so that the destination server shifts label to described the according to the time limit
One transfer data volume carry out term data transfer processing, and according to it is described in advance transfer label to it is described second transfer data volume into
Row shifts to an earlier date data transfer processing.
Wherein, if the target time information is not belonging to the transfer time range, and the goal displacement in advance
Data volume is greater than the default transfer data volume, then is carried out according to the default transfer data volume to the goal displacement data volume
Data are split, and obtain the first transfer data volume and the second transfer data volume, comprising:
If the data that the target time information are equal to shift deadline information, and the goal displacement data volume is greater than institute
Default transfer data volume is stated, then data fractionation is carried out to the goal displacement data volume according to the default transfer data volume, obtained
To the first transfer data volume and the second transfer data volume;
If the data that the target time information are greater than shift deadline information, and the goal displacement data volume is greater than institute
Default transfer data volume is stated, then transfer data increment corresponding with the user information is calculated based on the target time information,
And data fractionation is carried out to the goal displacement data volume according to the default transfer data volume and the transfer data increment, it obtains
To the first transfer data volume and the second transfer data volume.
Wherein, if the target time information is equal to the data and shifts deadline information, and the goal displacement number
It is greater than the default transfer data volume according to amount, then the goal displacement data volume is counted according to the default transfer data volume
According to fractionation, the first transfer data volume and the second transfer data volume are obtained, comprising:
If the target time information, which is equal to the data, shifts deadline information, and the goal displacement data volume is big
In the default transfer data volume, then the default transfer data volume is determined as the first transfer data volume, the target is turned
The difference for moving data volume and the first transfer data volume is determined as the second transfer data volume.
Wherein, if the target time information is greater than the data and shifts deadline information, and the goal displacement number
Be greater than the default transfer data volume according to amount, then obtain transfer data increment, and according to the default transfer data volume with it is described
It shifts data increment and data fractionation is carried out to the goal displacement data volume, obtain the first transfer data volume and the second transfer data
Amount, comprising:
If the data that the target time information are greater than shift deadline information, and the goal displacement data volume is greater than institute
Default transfer data volume is stated, then obtains corresponding unit data increment of preset unit time, and calculates the object time letter
The difference of breath and data transfer deadline information;
Transfer data increment corresponding with the user information is generated based on the unit data increment and the difference, and
The default transfer data volume and the transfer data increment are determined as the first transfer data volume, by the goal displacement data
The difference of amount and the first transfer data volume is determined as the second transfer data volume.
Wherein, this method further include:
The feedback information that the destination server is sent is obtained, the feedback information includes term data transfer processing result
With data transfer processing result in advance;
The feedback information is sent to client and is shown.
On the other hand the embodiment of the present invention provides a kind of data processing equipment based on data label, which includes:
First obtains module, for obtaining data transfer request, and records the target for getting the data transfer request
Temporal information, the data transfer request include goal displacement data volume, user information;
Second obtains module, for obtaining data transfer deadline information corresponding with the user information and default transfer
Data volume shifts deadline information according to data and determines transfer time range in advance;
Data label setup module, if it is not belonging to the transfer time range in advance for the target time information, and
The goal displacement data volume is greater than the default transfer data volume, then is turned according to the default transfer data volume to the target
It moves data volume and carries out data fractionation, obtain the first transfer data volume and the second transfer data volume, and be the first transfer data
The amount setting time limit shifts label, shifts label in advance for the second transfer data volume setting;
First sending module, described first for that will carry the time limit transfer label shifts described in data volume, carrying
The the second transfer data volume for shifting label in advance is sent to destination server, so that the destination server is according to the phase
Limit transfer label carries out term data transfer processing to the first transfer data volume, and according to the label of transfer in advance to institute
It states the second transfer data volume and carries out data transfer processing in advance.
Wherein, the data label setup module, comprising:
First split cells, if being equal to the data for the target time information shifts deadline information, and the mesh
Mark transfer data volume is greater than the default transfer data volume, then according to the default transfer data volume to the goal displacement data
Amount carries out data fractionation, obtains the first transfer data volume and the second transfer data volume;
Second split cells, if being greater than the data for the target time information shifts deadline information, and the mesh
Mark transfer data volume is greater than the default transfer data volume, then is calculated and the user information pair based on the target time information
The transfer data increment answered, and according to the default transfer data volume and the transfer data increment to the goal displacement data
Amount carries out data fractionation, obtains the first transfer data volume and the second transfer data volume.
Wherein, above-mentioned first split cells is used for:
If the target time information, which is equal to the data, shifts deadline information, and the goal displacement data volume is big
In the default transfer data volume, then the default transfer data volume is determined as the first transfer data volume, the target is turned
The difference for moving data volume and the first transfer data volume is determined as the second transfer data volume.
Wherein, above-mentioned second split cells is used for:
If the data that the target time information are greater than shift deadline information, and the goal displacement data volume is greater than institute
Default transfer data volume is stated, then obtains corresponding unit data increment of preset unit time, and calculates the object time letter
The difference of breath and data transfer deadline information;
Transfer data increment corresponding with the user information is generated based on the unit data increment and the difference, and
The default transfer data volume and the transfer data increment are determined as the first transfer data volume, by the goal displacement data
The difference of amount and the first transfer data volume is determined as the second transfer data volume.
Wherein, the device further include:
Third obtains module, and the feedback information sent for obtaining the destination server, the feedback information includes the phase
Limit data transfer processing result and data transfer processing result in advance;
Second sending module, for the feedback information to be sent to client and is shown.
On the other hand the embodiment of the present invention provides a kind of data processing equipment based on data label, comprising: processor
And memory;
The processor is connected with memory, wherein for storing program code, the processor is used for the memory
Said program code is called, to execute such as the method in the embodiment of the present invention in one side.
On the other hand the embodiment of the present invention provides a kind of computer storage medium, the computer storage medium is stored with
Computer program, the computer program include program instruction, and described program instructs when being executed by a processor, execute such as this hair
Method in bright embodiment in one side.
The embodiment of the present invention records the object time for getting the data transfer request by obtaining data transfer request
Information, the data transfer request include goal displacement data volume, user information;Data corresponding with above-mentioned user information are obtained to turn
Deadline information and default transfer data volume are moved, is determined according to data transfer deadline information and shifts to an earlier date transfer time range;If above-mentioned
Target time information is not belonging to above-mentioned transfer time range in advance, and above-mentioned goal displacement data volume is greater than above-mentioned default transfer number
According to amount, then data fractionation is carried out to above-mentioned goal displacement data volume according to above-mentioned default transfer data volume, obtain the first transfer number
Time limit transfer label is set according to amount and the second transfer data volume, and for above-mentioned first transfer data volume, for above-mentioned second transfer number
Label is shifted in advance according to amount setting;By the above-mentioned first transfer data volume for carrying above-mentioned time limit transfer label, carry above-mentioned shift to an earlier date
The above-mentioned second transfer data volume of transfer label is sent to destination server, so that above-mentioned destination server turns according to the above-mentioned time limit
Transfer label carries out term data transfer processing to above-mentioned first transfer data volume, and according to above-mentioned transfer label in advance to above-mentioned the
Two transfer data volumes carry out data transfer processing in advance.It can be seen that by the way that data to be processed are split into two parts, and divide
Label information is arranged in other two parts data to after above-mentioned fractionation, so that the server for receiving above-mentioned two parts data can basis
Label information is respectively handled above-mentioned two parts data, avoids causing business processing to be lost due to beyond the operation regulation time
It loses, and then the success rate of data processing can be improved, also avoid initiating multiple service request because of business processing failure, in turn
Improve the efficiency of data processing.
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 only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Figure 1, Fig. 1 is a kind of network architecture schematic diagram provided in an embodiment of the present invention.As shown in Figure 1, the framework
It may include terminal device 100, server 200a, server 200b, terminal device 100, which can be installed, to provide business for user
Handle all kinds of clients of function, server 200a be represented by carry out business processing platform (such as little Dai company) it is corresponding after
Platform server, server 200b be represented by another platform (such as bank) being related to during user's transacting business it is corresponding after
Platform server, therefore, the service initiation request that user can handle needs in the client of terminal device 100, server
200a can obtain Client-initiated request, and the data that the above-mentioned business handling for obtaining user offer needs, server
200a can be divided to above-mentioned data and be arranged label information, can by treated carry label information data be transferred to clothes
Be engaged in device 200b, and also meaning that can carry out data transmission between server 200a and server 200b.Terminal device 100 may include
Mobile phone, tablet computer, laptop, palm PC, mobile internet device (mobile internet device, MID),
Wearable device (such as smartwatch, Intelligent bracelet etc.).After the completion of above-mentioned business procession, user can be in terminal device
Service processing result is checked in 100 client.
Further, below in conjunction with Fig. 2, Fig. 3 to a kind of data processing side based on data label provided by the invention
The detailed process of method is illustrated.
Fig. 2 is referred to, Fig. 2 is a kind of process of data processing method based on data label provided in an embodiment of the present invention
Schematic diagram.As shown, method provided in an embodiment of the present invention is specifically described in combination with step S201 to step S204.
S201 obtains data transfer request, and records the target time information for getting the data transfer request, described
Data transfer request includes goal displacement data volume, user information.
In some possible embodiments, user can carry out the place of routine work by the client on terminal device
Reason, after user initiates the request of business handling on the client, the corresponding background server of service process platform can be got
One data transfer request, the data transfer request may include goal displacement data volume, user information, then recordable lower acquisition
To the target time information of the data transfer request.Wherein, above-mentioned target data transfer amount can indicate the number that above-mentioned user provides
According to, user information can indicate the personal essential information of above-mentioned user, the including but not limited to name of the user, gender, certificate number,
Above-mentioned target time information can be indicated to receive the time of the data of user offer, be indicated in the form of the date.
In some possible embodiments, user needs when carrying out business processing by client in the client
On fill in personal essential information and registered, the personal essential information of user can be carried out data storage by client, so as to the later period
Read the personal essential information data of user.
S202 obtains data transfer deadline information corresponding with the user information and default transfer data volume, according to
Data, which shift deadline information and determine, shifts to an earlier date transfer time range.
In some possible embodiments, the user information based on above-mentioned acquisition, background server can be from data systems
It is middle to obtain data transfer deadline information corresponding with above-mentioned user information and default transfer data volume, that is, obtain the user
The processing temporal information of operation regulation to be processed and the defined data volume for needing to provide shift deadline information in above-mentioned data
It is transfer time range in advance before (defined processing temporal information).It should be noted that above-mentioned data transfer time limit letter
Breath is with one month for radix, that is, each it is monthly have data transfer deadline information, in of that month data transfer
Deadline information can be before transfer time range in advance with any time after data last month transfer deadline information.Assuming that every
No. 20 of a month are that the data of the user shift deadline information, equal with any time after last month 20 before that is No. 20 of that month
To shift to an earlier date transfer time range.
In some possible embodiments, above-mentioned service process platform can be docked with the data system of other platforms, can
The access qualification of other platform data systems is obtained, and then the transaction log information of user, transaction log can be obtained
Information may include data transfer deadline information, default transfer data volume etc., other above-mentioned platforms refer to and the service process platform
There is the platform of business contact.
S203, if the target time information is not belonging to the transfer time range, and the goal displacement data in advance
Amount is greater than the default transfer data volume, then carries out data to the goal displacement data volume according to the default transfer data volume
It splits, obtains the first transfer data volume and the second transfer data volume, and shift mark for the first transfer data volume setting time limit
Label shift label for the second transfer data volume setting in advance.
In some possible embodiments, judge whether the target time information of above-mentioned acquisition belongs to transfer time in advance
Range, and above-mentioned goal displacement data volume and default transfer data volume are compared, if above-mentioned target time information is not belonging to turn in advance
Shift time range, and above-mentioned goal displacement data volume is greater than above-mentioned default transfer data volume, then it can be by above-mentioned goal displacement data
Amount is split as two parts, and a part may include default transfer data volume, and be determined as the first transfer data volume, with " time limit transfer "
It being labeled as label, another part may include the difference of above-mentioned goal displacement data volume and above-mentioned first transfer data volume,
And it is determined as the second transfer data volume, it is labeled using " shifting in advance " as label.
S204 will shift label described in the first transfer data volume for carrying the time limit transfer label, carrying in advance
It is described second transfer data volume be sent to destination server so that the destination server according to the time limit shift label pair
The first transfer data volume carries out term data transfer processing, and according to the transfer label in advance to the second transfer number
Data transfer processing in advance is carried out according to amount.
In some possible embodiments, background server can by it is obtained above using " time limit transfer " as label into
First transfer data volume of rower note, the second transfer data volume being labeled using " shifting in advance " as label are sent to target
Server, so as to destination server can according to label information to it is above-mentioned first transfer data volume and it is above-mentioned second transfer data volume into
Row is correspondingly handled, wherein above-mentioned destination server can refer to the backstage clothes for other platforms for having business contact with above-mentioned client
Business device.Above-mentioned destination server can carry out user data matching to the first transfer data volume that label information is " time limit transfer ",
The user this time transaction log information is saved, the business processing status of the user is updated, can be " to turn in advance by label information
Second transfer data volume of shifting " carries out data storage, and the business processing status of the synchronized update user, above-mentioned destination server can
Above-mentioned background server is sent to as feedback information using to the processing result of the first transfer data volume and the second transfer data volume.
The embodiment of the present invention records the object time for getting the data transfer request by obtaining data transfer request
Information, the data transfer request include goal displacement data volume, user information;Data corresponding with above-mentioned user information are obtained to turn
Deadline information and default transfer data volume are moved, is determined according to data transfer deadline information and shifts to an earlier date transfer time range;If above-mentioned
Target time information is not belonging to above-mentioned transfer time range in advance, and above-mentioned goal displacement data volume is greater than above-mentioned default transfer number
According to amount, then data fractionation is carried out to above-mentioned goal displacement data volume according to above-mentioned default transfer data volume, obtain the first transfer number
Time limit transfer label is set according to amount and the second transfer data volume, and for above-mentioned first transfer data volume, for above-mentioned second transfer number
Label is shifted in advance according to amount setting;By the above-mentioned first transfer data volume for carrying above-mentioned time limit transfer label, carry above-mentioned shift to an earlier date
The above-mentioned second transfer data volume of transfer label is sent to destination server, so that above-mentioned destination server turns according to the above-mentioned time limit
Transfer label carries out term data transfer processing to above-mentioned first transfer data volume, and according to above-mentioned transfer label in advance to above-mentioned the
Two transfer data volumes carry out data transfer processing in advance.It can be seen that by the way that data to be processed are split into two parts, and divide
Label information is arranged in other two parts data to after above-mentioned fractionation, so that the server for receiving above-mentioned two parts data can basis
Label information is respectively handled above-mentioned two parts data, avoids causing business processing to be lost due to beyond the operation regulation time
It loses, and then the success rate of data processing can be improved, also avoid initiating multiple service request because of business processing failure, in turn
Improve the efficiency of data processing.
Fig. 3 is referred to, Fig. 3 is the stream of another data processing method based on data label provided in an embodiment of the present invention
Journey schematic diagram.As shown in figure 3, method provided in an embodiment of the present invention carries out specifically in combination with step S301 to step S307
It is bright.
S301 obtains data transfer request, and records the target time information for getting the data transfer request, described
Data transfer request includes goal displacement data volume, user information.
Wherein, the specific implementation process of step S301 may refer in embodiment corresponding to above-mentioned Fig. 2 to step S201's
Description, will no longer repeat here.
In some possible embodiments, by taking payment beforehand business as an example, above-mentioned steps S301 is specifically described.
Above-mentioned data transfer request can refer to little Dai company after receiving the payment beforehand amount of money of the user, receives to bank and shifts the amount of money
Request, above-mentioned goal displacement data volume can refer to the user payment the payment beforehand amount of money, above-mentioned target time information can refer to small
Loan company receives the temporal information of user's payment beforehand amount of money, is indicated in the form of the date, and above-mentioned user information may include user
The personal essential information such as name, gender, certificate number.Therefore, user can pass through terminal device when handling payment beforehand business
On client carry out payment beforehand business processing, user can by Third-party payment company to little Dai company pay in advance also
The amount of money number of money, after the payment beforehand amount of money for receiving user payment, the background server of the little Dai company can for little Dai company
Receive the request of payment beforehand amount of money transfer, it may include the user information of payment beforehand amount of money number and the user.
Optionally, when providing the user with financial service, user need to fill in personal essential information and carry out real name for little Dai company
Registration or registration, which can store the personal essential information of user into User Information Database, so as to the later period
Reading data.
S302 obtains data transfer deadline information corresponding with the user information and default transfer data volume, according to
Data, which shift deadline information and determine, shifts to an earlier date transfer time range.
Wherein, the specific implementation process of step S302 may refer in embodiment corresponding to above-mentioned Fig. 2 to step S202's
Description, will no longer repeat here.
In some possible embodiments, by taking payment beforehand business as an example, above-mentioned steps S302 is specifically described.
Above-mentioned data transfer deadline information can refer to regulation repayment date of the user during repaying, indicate user provide a loan Hou little Dai company or/
With the last date that should refund of part should be monthly repaid as defined in bank, above-mentioned default transfer data volume can refer to user and repay
The regulation repayment amount of period monthly, above-mentioned transfer time range in advance can refer to the time range of payment beforehand.It is obtained based on above-mentioned
The user information obtained, the background server of little Dai company can obtain corresponding with above-mentioned user information from the data system of bank
Provide repayment date and regulation repayment amount, repayment date can determine the time range of payment beforehand according to the rules, i.e. advise last month
Determine the time range that repayment date is in payment beforehand with any time before of that month regulation repayment date later.
In some possible embodiments, little Dai company can collaboration bank data system docking, obtain each conjunction
Make the data system access qualification of bank, and then obtains the rule of the user based on user information (such as name, gender, certificate number)
Determine the information such as repayment date, regulation repayment amount, the deficient total amount of institute.
S303, if the target time information is equal to the data and shifts deadline information, and the goal displacement data volume
Greater than the default transfer data volume, then data is carried out to the goal displacement data volume according to the default transfer data volume and torn open
Point, the first transfer data volume and the second transfer data volume are obtained, and shift label for the first transfer data volume setting time limit,
Label is shifted in advance for the second transfer data volume setting.
In some possible embodiments, if above-mentioned target time information is equal to above-mentioned data and shifts deadline information, and
Above-mentioned goal displacement data volume is greater than above-mentioned default transfer data volume, then above-mentioned default transfer data volume can be determined as first turn
Data volume is moved, the difference of above-mentioned goal displacement data volume and above-mentioned first transfer data volume is determined as the second transfer data volume,
And above-mentioned first transfer data volume is labeled using " time limit transfer " as label, using " shifting in advance " as label to above-mentioned
Second transfer data volume is labeled.
In some possible embodiments, by taking payment beforehand business as an example, above-mentioned steps S303 is specifically described.
If the regulation repayment date of time and user's this month that little Dai company receives user's payment beforehand amount of money are that on the same day, will shift to an earlier date
The part that dollar amount is equal to regulation repayment amount in repayment amount is divided into the first transfer data volume, and the label information of setting is
Part remaining in the payment beforehand amount of money is divided into the second data transfer data volume, the label information of setting by " time limit transfer "
For " shifting in advance ".
S304, if the target time information is greater than the data and shifts deadline information, and the goal displacement data volume
Greater than the default transfer data volume, then transfer data corresponding with the user information are calculated based on the target time information
Increment, and data are carried out to the goal displacement data volume with the transfer data increment according to the default transfer data volume and are torn open
Point, the first transfer data volume and the second transfer data volume are obtained, and shift label for the first transfer data volume setting time limit,
Label is shifted in advance for the second transfer data volume setting.
In some possible embodiments, if above-mentioned target time information is greater than above-mentioned data and shifts deadline information, and
Above-mentioned goal displacement data volume is greater than above-mentioned default transfer data volume, then can first obtain corresponding units of preset unit time
According to increment, and calculate the difference of above-mentioned target time information and above-mentioned data transfer deadline information;Based on above-mentioned unit data
Increment and above-mentioned difference generate transfer data increment corresponding with above-mentioned user information, and by above-mentioned default transfer data volume with it is upper
It states transfer data increment and is determined as the first transfer data volume, above-mentioned goal displacement data volume and above-mentioned first are shifted into data volume
Difference is determined as the second transfer data volume, while being marked using " time limit transfer " as label to above-mentioned first transfer data volume
Note is labeled above-mentioned second transfer data volume using " shifting in advance " as label.
In some possible embodiments, by taking payment beforehand business as an example, above-mentioned steps S304 is specifically described.
The above-mentioned unit time can refer to one day, and above-mentioned unit data increment can refer to user often and generate when being more than the refund in one day of regulation repayment date
Default interest, above-mentioned transfer data increment can refer to user not in total default interest that regulation repayment date is refunded and is generated, for example, little Dai company
The time for receiving repayment amount has been more than regulation repayment date 5 days of this month, it is assumed that the user often more than one day, penalize by 6 yuan of generation
It ceases (as unit data increment), which answers 30 yuan of supplementary payments of default interest (as to shift on the day of little Dai company collects money
Data increment).If little Dai company receives the time of user's payment beforehand amount of money after the regulation repayment date of user's this month,
The default interest that the user generates on the day of little Dai company receives the payment beforehand amount of money is calculated, by amount of money number in the payment beforehand amount of money
The part that amount is equal to the sum of regulation repayment amount and default interest is divided into the first transfer amount of money, and the label information of setting is that " time limit turns
Move ", part remaining in the payment beforehand amount of money is divided into the second data transfer amount of money, the label information of setting is " to turn in advance
It moves ".
Wherein, default interest refers to fine that is overdue caused by user does not refund in regulation repayment date and paying, is to user
Collect chastening interest, the loan amount of default interest and user are closely bound up.In addition, different banks collects feelings for default interest
Condition may be deviated, generally the 130%-150% of user's loan interest rate.
In some possible embodiments, if the payment beforehand amount of money of user is less than or equal to regulation repayment amount,
The payment beforehand amount of money can be all divided into the first transfer amount of money, the label information of setting is " time limit transfer ", the second transfer gold
Volume can be sky, and the label information of setting is " shifting in advance ".Optionally, if the payment beforehand amount of money of user is less than or equal to regulation
" time limit transfer " label information directly can be arranged to the payment beforehand amount of money, without carrying out splitting of values in repayment amount.
S305 will shift label described in the first transfer data volume for carrying the time limit transfer label, carrying in advance
It is described second transfer data volume be sent to destination server so that the destination server according to the time limit shift label pair
The first transfer data volume carries out term data transfer processing, and according to the transfer label in advance to the second transfer number
Data transfer processing in advance is carried out according to amount.
Wherein, the specific implementation process of step S305 may refer in embodiment corresponding to above-mentioned Fig. 2 to step S204's
Description, is not discussed here.
In some possible embodiments, by taking payment beforehand business as an example, above-mentioned steps S305 is specifically described.
Above-mentioned destination server can refer to the background server of the bank cooperated with little Dai company.The background server of little Dai company will carry
The first transfer amount of money of " time limit transfer " label information, the second transfer amount of money for carrying " shifting in advance " label information are sent to silver
Row, so that bank can be corresponding with above-mentioned second transfer amount of money progress to the above-mentioned first transfer amount of money received according to label information
Processing.Wherein, there is following processing in bank to the amount of money with label information received: receiving to the above-mentioned first transfer amount of money and bank
Receivable repayment amount is matched on the day of money, if successful match, is saved the user this time business transaction information record, is updated
The refund state of user's this month, if it fails to match, receivable refund gold on the day of calculating the first transfer amount of money and bank gathering
The difference of volume, the background server of little Dai company is sent to using processing result as feedback information, and saves the user this time industry
Business Transaction Information record;Data storage is carried out to the above-mentioned second transfer amount of money, the refund state of the user is updated, by processing result
The background server of little Dai company is sent to as feedback information.Wherein, refund state include but is not limited to the user by the end of
Whether total amount that current time owes, of that month refund all repay, and also how many is unpaid clear etc. for the amount of money that this month should repay.
S306 obtains the feedback information that the destination server is sent, and the feedback information includes at term data transfer
Manage result and data transfer processing result in advance.
In some possible embodiments, by taking payment beforehand business as an example, above-mentioned term data transfer processing result can
Refer to bank to the processing result for the first transfer amount of money that label information is " time limit transfer ", above-mentioned data transfer processing result in advance
Bank be can refer to the processing result for the second transfer amount of money that label information is " shifting in advance ".Background server can receive bank
The feedback information of transmission, the feedback information may include the processing result of this payment beforehand business of the user, such as payment beforehand
Whether business handles success, the amount of money repaid, the amount of money owed.
The feedback information is sent to client and shown by S307.
In some possible embodiments, by taking payment beforehand business as an example, the background server of little Dai company can will be upper
It states feedback information and is sent to the corresponding client of above-mentioned user information, so that the user checks the processing result of payment beforehand business
And the refund state of oneself.
As an example it is assumed that certain user selects 1200 yuan of payment beforehand on the client, and pass through Third-party payment company
It pays repayment amount to little Dai company, when little Dai company receives the amount of money of Third-party payment company payment, obtains and need to turn
The essential information to the goal displacement data volume of bank (i.e. 1200 yuan) and the user is moved, and records and receives repayment amount
Temporal information, i.e. target time information, the regulation repayment amount of bank should be repaid by getting the user monthly according to user information
(i.e. default transfer data volume) is 1000 yuan, it is specified that repayment date (i.e. data transfer deadline information) is No. 20 monthly, if record
Under target time information and this month regulation repayment date be on the same day, then be split as 1000 yuan for 1200 yuan of repayment amount received
With 200 yuan of two parts, the label information by the setting of 1000 yuan of amount of money is " time limit transfer ", and the label of 200 yuan of amount of money settings is believed
Breath is " shifting in advance ", if the target time information recorded exceeds this month regulation repayment date, calculates the user current
Until the default interest that should pay, it is assumed that the default interest that should be paid is 50 yuan, by 1200 yuan of repayment amount received be split as 1050 yuan and
150 yuan of two parts, the label information by the setting of 1050 yuan of amount of money are " time limit transfer ", the label information that 150 yuan of amount of money is arranged
For " in advance shift ", the amount of money with label information is sent to bank, bank can according to label information to the amount of money received into
Row processing records and saves the user this time Transaction Information, and it is paid for updating this month refund state of user, and processing is tied
Fruit is sent to the client of little Dai company as feedback information, so that the user can check the processing of this payment beforehand business
As a result.
In embodiments of the present invention, for the data handling procedure of payment beforehand business, user carries out small in little Dai company
After volume loan, the processing of payment beforehand business can be carried out by the client of little Dai company, when user passes through Third-party payment public affairs
It takes charge of during paying the payment beforehand amount of money to the client of little Dai company, may be led due to the exception of Third-party payment company
The payment beforehand amount of money at family of applying postpones to regulation repayment date and is even just transferred to little Dai company after regulation repayment date, the small loan
The background server of company can obtain the payment beforehand amount of money of the user, user information, and record and get the user and shift to an earlier date
The target time information of repayment amount;Above-mentioned background server can obtain regulation repayment date corresponding with above-mentioned user and regulation
Repayment amount, repayment date can determine the time range of payment beforehand according to the rules;If above-mentioned target time information is not belonging to shift to an earlier date
The time range of refund, and the above-mentioned payment beforehand amount of money is greater than above-mentioned regulation repayment amount, then repayment amount can incite somebody to action according to the rules
Above-mentioned payment beforehand splitting of values is the first transfer amount of money and the second transfer amount of money, and is shifted for the first transfer amount of money setting time limit
Label shifts label for the second transfer amount of money setting in advance;Above-mentioned background server can be by the first of above-mentioned carrying label information
Transfer the amount of money with second transfer the amount of money be sent to bank, so as to bank to receive first transfer the amount of money and second shift the amount of money into
Row is correspondingly handled;Above-mentioned background server can obtain the feedback information of bank's transmission, and feedback information is sent to above-mentioned use
The corresponding client of family information, the client of Ji little Dai company, the feedback information may include bank to the above-mentioned first transfer amount of money
With the processing result of the second transfer amount of money.It can be seen that by by payment beforehand splitting of values at two parts, and respectively to above-mentioned
Label information is arranged in two parts amount of money after fractionation, so that the bank for receiving above-mentioned two parts amount of money can be according to label information point
It is other that above-mentioned two parts data are handled, it avoids payment beforehand time retardation and leads to payment beforehand processing failure, Jin Erke
It to improve the success rate of payment beforehand, also avoids initiating multiple service request because of payment beforehand processing failure, and then improves
The treatment effeciency of reimbursement business.
Fig. 4 is referred to, Fig. 4 is a kind of structure of data processing equipment based on data label provided in an embodiment of the present invention
Schematic diagram.As shown in figure 4, should data processing equipment 1 based on data label may include: the first acquisition module 10, second obtain
Modulus block 20, data label setup module 30, the first sending module 40;
First obtains module 10, for obtaining data transfer request, and records the mesh for getting the data transfer request
Temporal information is marked, the data transfer request includes goal displacement data volume, user information;
Second obtains module 20, turns for obtaining data transfer deadline information corresponding with the user information and presetting
Data volume is moved, deadline information is shifted according to data and determines transfer time range in advance;
Data label setup module 30, if being not belonging to the transfer time range in advance for the target time information,
And the goal displacement data volume is greater than the default transfer data volume, then according to the default transfer data volume to the target
It shifts data volume and carries out data fractionation, obtain the first transfer data volume and the second transfer data volume, and be the first transfer number
Label is shifted according to the amount setting time limit, shifts label in advance for the second transfer data volume setting;
First sending module 40, for that will carry the first transfer data volume of the time limit transfer label, carry institute
The the second transfer data volume for stating transfer label in advance is sent to destination server, so that the destination server is according to
Time limit shifts label and carries out term data transfer processing to the first transfer data volume, and shifts label pair in advance according to described
The second transfer data volume carries out data transfer processing in advance.
Wherein, above-mentioned first the acquisition of module 10, second module 20, the transmission mould of data label setup module 30, first are obtained
The concrete function implementation of block 40 may refer to the step S201- step S204 in embodiment corresponding to above-mentioned Fig. 2, here not
It is being repeated.
Again please also refer to Fig. 4, the above-mentioned data processing equipment 1 based on data label can also include: that third obtains mould
Block 50, the second sending module 60;
Third obtains module 50, the feedback information sent for obtaining the destination server, and the feedback information includes
Term data transfer processing result and data transfer processing result in advance;
Second sending module 60, for the feedback information to be sent to client and is shown.
Wherein, above-mentioned third obtain module 50, the concrete function implementation of the second sending module 60 may refer to it is above-mentioned
Step S306- step S307 in embodiment corresponding to Fig. 3, is not discussed here.
Further, as shown in figure 4, above-mentioned data label setup module 30 can include: the first split cells 301, second
Split cells 302;
First split cells 301, if being equal to the data for the target time information shifts deadline information, and described
Goal displacement data volume is greater than the default transfer data volume, then according to the default transfer data volume to the goal displacement number
Data fractionation is carried out according to amount, obtains the first transfer data volume and the second transfer data volume;
Second split cells 302, if being greater than the data for the target time information shifts deadline information, and described
Goal displacement data volume is greater than the default transfer data volume, then is calculated and the user information based on the target time information
Corresponding transfer data increment, and according to the default transfer data volume and the transfer data increment to the goal displacement number
Data fractionation is carried out according to amount, obtains the first transfer data volume and the second transfer data volume.
In some possible embodiments, above-mentioned first split cells 301 is also used to:
If the target time information, which is equal to the data, shifts deadline information, and the goal displacement data volume is big
In the default transfer data volume, then the default transfer data volume is determined as the first transfer data volume, the target is turned
The difference for moving data volume and the first transfer data volume is determined as the second transfer data volume.
In some possible embodiments, above-mentioned second split cells 302 is also used to:
If the data that the target time information are greater than shift deadline information, and the goal displacement data volume is greater than institute
Default transfer data volume is stated, then obtains corresponding unit data increment of preset unit time, and calculates the object time letter
The difference of breath and data transfer deadline information;
Transfer data increment corresponding with the user information is generated based on the unit data increment and the difference, and
The default transfer data volume and the transfer data increment are determined as the first transfer data volume, by the goal displacement data
The difference of amount and the first transfer data volume is determined as the second transfer data volume.
Wherein, above-mentioned first split cells 301, the second split cells 302 concrete function implementation may refer to
The step S303- step S304 in embodiment corresponding to Fig. 3 is stated, is not discussed here.
The embodiment of the present invention records the object time for getting the data transfer request by obtaining data transfer request
Information, the data transfer request include goal displacement data volume, user information;Data corresponding with above-mentioned user information are obtained to turn
Deadline information and default transfer data volume are moved, is determined according to data transfer deadline information and shifts to an earlier date transfer time range;If above-mentioned
Target time information is not belonging to above-mentioned transfer time range in advance, and above-mentioned goal displacement data volume is greater than above-mentioned default transfer number
According to amount, then data fractionation is carried out to above-mentioned goal displacement data volume according to above-mentioned default transfer data volume, obtain the first transfer number
Time limit transfer label is set according to amount and the second transfer data volume, and for above-mentioned first transfer data volume, for above-mentioned second transfer number
Label is shifted in advance according to amount setting;By the above-mentioned first transfer data volume for carrying above-mentioned time limit transfer label, carry above-mentioned shift to an earlier date
The above-mentioned second transfer data volume of transfer label is sent to destination server, so that above-mentioned destination server turns according to the above-mentioned time limit
Transfer label carries out term data transfer processing to above-mentioned first transfer data volume, and according to above-mentioned transfer label in advance to above-mentioned the
Two transfer data volumes carry out data transfer processing in advance.It can be seen that by the way that data to be processed are split into two parts, and divide
Label information is arranged in other two parts data to after above-mentioned fractionation, so that the server for receiving above-mentioned two parts data can basis
Label information is respectively handled above-mentioned two parts data, avoids causing business processing to be lost due to beyond the operation regulation time
It loses, and then the success rate of data processing can be improved, also avoid initiating multiple service request because of business processing failure, in turn
Improve the efficiency of data processing.
Fig. 5 is referred to, Fig. 5 is the knot of another data processing equipment based on data label provided in an embodiment of the present invention
Structure schematic diagram.As shown in figure 5, the data processing equipment 500 based on data label in the embodiment of the present invention may include: one
Or multiple processors 501 and memory 502.Above-mentioned processor 501 and memory 502 are connected by bus 503.Memory 502
For storing computer program, which includes program instruction, and processor 501 is used to execute the storage of memory 502
Program instruction performs the following operations:
Data transfer request is obtained, and records the target time information for getting the data transfer request, the data
Transfer request includes goal displacement data volume, user information;
Data transfer deadline information corresponding with the user information and default transfer data volume are obtained, is turned according to data
It moves deadline information and determines and shift to an earlier date transfer time range;
If the target time information is not belonging to the transfer time range in advance, and the goal displacement data volume is greater than
The default transfer data volume then carries out data fractionation to the goal displacement data volume according to the default transfer data volume,
The first transfer data volume and the second transfer data volume are obtained, and time limit transfer label is set for the first transfer data volume, is
Label is shifted in the second transfer data volume setting in advance;
It will be shifted described in label in advance described in the first transfer data volume for carrying the time limit transfer label, carrying
Second transfer data volume is sent to destination server, so that the destination server shifts label to described the according to the time limit
One transfer data volume carry out term data transfer processing, and according to it is described in advance transfer label to it is described second transfer data volume into
Row shifts to an earlier date data transfer processing.
In some possible embodiments, if above-mentioned processor 501 does not belong in the above-mentioned target time information of execution
In the transfer time range in advance, and the goal displacement data volume is greater than the default transfer data volume, then according to
Default transfer data volume carries out data fractionation to the goal displacement data volume, obtains the first transfer data volume and the second transfer number
When according to amount, it is specifically used for:
If the data that the target time information are equal to shift deadline information, and the goal displacement data volume is greater than institute
Default transfer data volume is stated, then data fractionation is carried out to the goal displacement data volume according to the default transfer data volume, obtained
To the first transfer data volume and the second transfer data volume;
If the data that the target time information are greater than shift deadline information, and the goal displacement data volume is greater than institute
Default transfer data volume is stated, then transfer data increment corresponding with the user information is calculated based on the target time information,
And data fractionation is carried out to the goal displacement data volume according to the default transfer data volume and the transfer data increment, it obtains
To the first transfer data volume and the second transfer data volume.
In some possible embodiments, if above-mentioned processor 501 is equal in the above-mentioned target time information of execution
The data shift deadline information, and the goal displacement data volume is greater than the default transfer data volume, then according to described pre-
Data fractionation is carried out to the goal displacement data volume if shifting data volume, obtains the first transfer data volume and the second transfer data
When amount, it is specifically used for:
If the target time information, which is equal to the data, shifts deadline information, and the goal displacement data volume is big
In the default transfer data volume, then the default transfer data volume is determined as the first transfer data volume, the target is turned
The difference for moving data volume and the first transfer data volume is determined as the second transfer data volume.
In some possible embodiments, if above-mentioned processor 501 is greater than in the above-mentioned target time information of execution
The data shift deadline information, and the goal displacement data volume is greater than the default transfer data volume, then obtains transfer number
Data are carried out to the goal displacement data volume according to increment, and according to the default transfer data volume and the transfer data increment
It splits, when obtaining the first transfer data volume and the second transfer data volume, is specifically used for:
If the data that the target time information are greater than shift deadline information, and the goal displacement data volume is greater than institute
Default transfer data volume is stated, then obtains corresponding unit data increment of preset unit time, and calculates the object time letter
The difference of breath and data transfer deadline information;
Transfer data increment corresponding with the user information is generated based on the unit data increment and the difference, and
The default transfer data volume and the transfer data increment are determined as the first transfer data volume, by the goal displacement data
The difference of amount and the first transfer data volume is determined as the second transfer data volume.
In some possible embodiments, above-mentioned processor 501 is also used to:
The feedback information that the destination server is sent is obtained, the feedback information includes term data transfer processing result
With data transfer processing result in advance;
The feedback information is sent to client and is shown.
In some possible embodiments, above-mentioned processor 501 can be central processing unit (central
Processing unit, CPU), which can also be other general processors, digital signal processor (digital
Signal processor, DSP), specific integrated circuit (application specific integrated circuit,
ASIC), ready-made programmable gate array (field-programmable gate array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device is also possible to any conventional processor etc..
The memory 502 may include read-only memory and random access memory, and to processor 501 provide instruction and
Data.The a part of of memory 502 can also include nonvolatile RAM.For example, memory 502 can also be deposited
Store up the information of device type.
It should be appreciated that real corresponding to the executable Fig. 2 or Fig. 3 above of the above-mentioned data processing equipment 500 based on data label
The description in example to the data processing method based on data label is applied, also can be performed in embodiment corresponding to Fig. 4 to based on data
The description of the data processing equipment of label, details are not described herein.
The embodiment of the present invention records the object time for getting the data transfer request by obtaining data transfer request
Information, the data transfer request include goal displacement data volume, user information;Data corresponding with above-mentioned user information are obtained to turn
Deadline information and default transfer data volume are moved, is determined according to data transfer deadline information and shifts to an earlier date transfer time range;If above-mentioned
Target time information is not belonging to above-mentioned transfer time range in advance, and above-mentioned goal displacement data volume is greater than above-mentioned default transfer number
According to amount, then data fractionation is carried out to above-mentioned goal displacement data volume according to above-mentioned default transfer data volume, obtain the first transfer number
Time limit transfer label is set according to amount and the second transfer data volume, and for above-mentioned first transfer data volume, for above-mentioned second transfer number
Label is shifted in advance according to amount setting;By the above-mentioned first transfer data volume for carrying above-mentioned time limit transfer label, carry above-mentioned shift to an earlier date
The above-mentioned second transfer data volume of transfer label is sent to destination server, so that above-mentioned destination server turns according to the above-mentioned time limit
Transfer label carries out term data transfer processing to above-mentioned first transfer data volume, and according to above-mentioned transfer label in advance to above-mentioned the
Two transfer data volumes carry out data transfer processing in advance.It can be seen that by the way that data to be processed are split into two parts, and divide
Label information is arranged in other two parts data to after above-mentioned fractionation, so that the server for receiving above-mentioned two parts data can basis
Label information is respectively handled above-mentioned two parts data, avoids causing business processing to be lost due to beyond the operation regulation time
It loses, and then the success rate of data processing can be improved, also avoid initiating multiple service request because of business processing failure, in turn
Improve the efficiency of data processing.
In addition, it need to be noted that: the embodiment of the invention also provides a kind of computer storage medium, and above-mentioned meter
Computer program performed by the data processing equipment 1 based on data label being mentioned above is stored in calculation machine storage medium,
And above-mentioned computer program includes program instruction, when processor executes above procedure instruction, is able to carry out corresponding to Fig. 3 above
To the description of the above-mentioned data processing method based on data label in embodiment, therefore, will no longer repeat here.In addition,
It describes to using the beneficial effect of same procedure, is also no longer repeated.For computer storage medium according to the present invention
Undisclosed technical detail in embodiment, please refers to the description of embodiment of the present invention method.
" embodiment " is referred in the present invention it is meant that a particular feature, structure, or characteristic described can be in conjunction with the embodiments
It is included at least one embodiment of the present invention.Each position in the description shows that the phrase might not each mean phase
Same embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art are explicitly
Implicitly understand, embodiment described herein can be combined with other embodiments.In description of the invention and institute
Term "and/or" used in attached claims refer to one or more of associated item listed any combination and
All possible combinations, and including these combinations.Those of ordinary skill in the art may be aware that in conjunction with disclosed herein
Each exemplary unit and algorithm steps of embodiment description can be come with the combination of electronic hardware, computer software or the two
It realizes, in order to clearly illustrate the interchangeability of hardware and software, is generally described according to function in the above description
Each exemplary composition and step.These functions are implemented in hardware or software actually, the spy depending on technical solution
Fixed application and design constraint.Professional technician can retouch each specific application using distinct methods to realize
The function of stating, but such implementation should not be considered as beyond the scope of the present invention.
Method provided in an embodiment of the present invention and relevant apparatus be referring to method flow diagram provided in an embodiment of the present invention and/
Or structural schematic diagram is come what is described, can specifically be realized by computer program instructions the every of method flow diagram and/or structural schematic diagram
The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.These computer programs refer to
Enable the processor that can provide general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute
In the function that realization is specified in one or more flows of the flowchart and/or structural schematic diagram one box or multiple boxes
Device.These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with specific
In the computer-readable memory that mode works, so that it includes instruction that instruction stored in the computer readable memory, which generates,
The manufacture of device, the command device are realized in one box of one or more flows of the flowchart and/or structural schematic diagram
Or the function of being specified in multiple boxes.These computer program instructions can also be loaded into computer or the processing of other programmable datas
In equipment, so that executing series of operation steps on a computer or other programmable device to generate computer implemented place
Reason, so that instruction executed on a computer or other programmable device offer is for realizing in one process of flow chart or multiple
The step of function of being specified in process and/or structural representation one box or multiple boxes.
The term " includes " and " having " and their any changes occurred in description of the invention, claims and attached drawing
Shape, it is intended that cover and non-exclusive include.Such as contain the process, method of a series of steps or units, system, product or
Equipment is not limited to listed step or unit, but optionally further comprising the step of not listing or unit or optional
Ground further includes the other step or units intrinsic for these process, methods, product or equipment.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.