Summary of the invention
The application provides a kind of data transfering method and relevant device, is not only may be implemented through the invention for different
The fast transfer of the data volume of multiple systems, and the number of the first system can be determined according to the data transfer parameters of the first system
According to transfer ratio, and then improve the tracking efficiency that the first system is directed to data transfer.
First aspect of the embodiment of the present invention provides a kind of data transfering method, comprising:
Second system receives the first data transfer request of carrying the first user migration period that the first system is sent, described
First data transfer request is that the first system is receiving target user for first be transferred out of from the first system
It is sent in the case where first part's data volume that data volume is given back, the first user migration period is first part's number
The corresponding period in the works is given back in first data volume according to amount;
The second system obtains the data transfer parameters of the first system, the data transfer parameters of the first system
To give back what state determination obtained for the business datum amount being transferred out of from the second system according to the first system;
The data transfer parameters of the first system are inputted preset data accumulation ratio and assess mould by the second system
Type, the output for accumulating ratio assessment models based on the data determine that the data of the first system accumulate ratio;
The second system determines the first user migration period in the meter of first data volume given back in the works
Transfer shifting original data volume;
The second system is original according to the ratio and plan transfer of the second data volume and first data volume
Data volume determines the second part original data volume that the first system is shifted to the second system, and according to described second
Part original data volume and the data of the first system accumulate ratio, determine that the first system turns to the second system
The second part of shifting accumulates additional amount of data, and second data volume is directed to first data volume to institute for the second system
State the data volume of the first system transfer;
The second system accumulates additional amount of data according to the second part original data volume and the second part,
Determine the second part data volume that the first system is shifted to the second system, and from the first system transfer described the
Two partial data amounts.
With reference to first aspect, in the first possible implementation, the second system receives what the first system was sent
Before the first data transfer request for carrying first user's migration period, further includes:
The first system receives the second data transfer request that the target user sends, and the second data transfer is asked
Ask the qualification data for carrying the target user and first data volume;
The first system is shifting qualification to the data of the target user according to the qualification data of the target user
In the case that audit passes through, responds the first data transfer application and shift first data volume, and determine that the target is used
Family is directed to the plan of giving back of first data volume;
The first system sends third data transfer request to the second system, and the third data transfer request is taken
Band the first system mark and first data volume;
The second system is identified according to the first system, obtains the data transfer parameters of the first system;
The data transfer parameters of the first system are inputted preset transfer ratio assessment models, base by the second system
The data transfer ratio of the first system is determined in the output of the transfer ratio assessment models;
Data transfer ratio and first data volume of the second system according to the first system are determined to institute
The second data volume of the first system transfer is stated, and shifts second data volume to the first system.
With reference to first aspect, in the second possible implementation, second system receives the carrying that the first system is sent
Before first data transfer request of first user's migration period, further includes:
The second data transfer that the first system receives carrying first data volume that the target user sends is asked
It asks;
The first system is shifting qualification to the data of the target user according to the qualification data of the target user
In the case that audit passes through, responds the first data transfer application and shift first data volume, and determine that the target is used
Family is directed to the plan of giving back of first data volume;
Data transfering node of the first system into data transfer block catenary system sends the money of the target user
Prime number is accordingly and first data volume;
The data transfering node carries out verifying to first data volume according to the qualification data of the target user and leads to
In the case where crossing, determines and meet the trigger condition that preset data shift intelligent contract;
The data transfering node shifted according to the data the preset data transfer ratio that includes in intelligent contract with
And first data volume, determine that second system is directed to the second data that first data volume is shifted to the first system
Amount;
The data transfering node shifts intelligent contract from the second system to the first system according to the data
Shift second data volume.
With reference to first aspect, in the third possible implementation, the second system is former according to the second part
Beginning data volume and the second part accumulate additional amount of data, determine that the first system shifts to the second system the
Two partial data amounts, and after the first system transfer second part data volume, further includes:
The second system is according to the system time and the second part data for shifting the second part data volume
Amount, updates the data transfer parameters of the first system.
The possible implementation of with reference to first aspect the first and second of possible implementation, can at the 4th kind
In the implementation of energy, the data transfering state for each user's migration period that the plan of giving back of first data volume includes is
Close one of state or non-transfering state;
The second system accumulates ratio according to the second part original data volume and the data of the first system,
Determine that the second part accumulation additional amount of data that the first system shifts to the second system includes:
The second system receives the first system before giving back request from the data are received for the last time and is directed to
Second data volume gives back the date of data volume to the number of days on current system date, the second part original data volume and institute
The product for stating the data accumulation ratio of the first system is determined as second part accumulation additional amount of data.
With reference to first aspect, in a fifth possible implementation, first data volume give back plan include
The data transfering state of multiple user's migration periods includes overdue state;
It is described to accumulate ratio according to the second part original data volume and the data of the first system, determine described in
The second part that the first system is shifted to the second system accumulates additional amount of data
The second system receives the first system before giving back request from the data are received for the last time and is directed to
Second data volume give back date of data volume to the first user migration period plan date of repayment number of days, described
The product of second part original data volume and the data of the first system accumulation ratio is determined as second part accumulation additional number
According to amount;
The second system accumulates additional amount of data according to the second part original data volume and the second part,
The second part data volume for determining that the first system is shifted to the second system includes:
The second system will be from plan date of repayment to the day on current system date of the first user migration period
It is several, it is described plan transfer original data volume and the second part accumulation additional amount of data and and first data volume
Give back the overdue product for giving back accumulation ratio for including in the works, be determined as the first system and shifted to the second system
The overdue accumulation additional amount of data of second part;
The second part original data volume, the second part are accumulated additional amount of data and institute by the second system
The sum for stating the overdue accumulation additional amount of data of second part is determined as the second part data volume.
With reference to first aspect, in a sixth possible implementation, the second system is former according to the second part
Beginning data volume and the second part accumulate additional amount of data, determine that the first system shifts to the second system the
Two partial data amounts, and shift the second part data volume from the first system and include:
The second system accumulates additional amount of data according to the second part original data volume and the second part,
Determine the second part data volume that the first system is shifted to the second system;
The second part data volume is sent to the first system by the second system;
The first system sends data to the second system according to the second part data volume and gives back transfer confirmation
Information;
The second system gives back transfer confirmation message from described second of the first system transfer according to the data
Divided data amount.
Second aspect of the embodiment of the present invention provides a kind of data shifting apparatus, comprising:
Request reception unit, the first data transfer of carrying the first user migration period for receiving the first system transmission
Request, first data transfer request be the first system receive target user be directed to from the first system shift
It is sent in the case where first part's data volume that the first data volume out is given back, the first user migration period is described the
A part of data volume gives back the corresponding period in the works first data volume;
Parameter acquiring unit, for obtaining the data transfer parameters of the first system, the data of the first system turn
Shifting parameter be directed to according to the first system business datum amount being transferred out of from the second system to give back state determining
It arrives;
Ratio-dependent unit is commented for the data transfer parameters of the first system to be inputted preset data accumulation ratio
Estimate model, the output for accumulating ratio assessment models based on the data determines that the data of the first system accumulate ratio;
Data volume determination unit, for determining the first user migration period in the plan of giving back of first data volume
In plan shift original data volume;
The data volume determination unit is also used to the ratio according to the second data volume and first data volume, Yi Jisuo
Plan transfer original data volume is stated, determines the second part original data volume that the first system is shifted to the second system,
And accumulate ratio according to the second part original data volume and the data of the first system, determine the first system to
The second part of the second system transfer accumulates additional amount of data, and second data volume is the second system for described
The data volume that first data volume is shifted to the first system;
Buanch unit, for accumulating additional data according to the second part original data volume and the second part
Amount determines the second part data volume that the first system is shifted to the second system, and shifts institute from the first system
State second part data volume.
The third aspect of the embodiment of the present invention provides another data shifting apparatus, including processor, memory and logical
Believe interface, the processor, memory and communication interface are connected with each other, wherein the communication interface is for sending and receiving number
According to the memory executes above-mentioned first aspect for calling said program code for storing program code, the processor
The method executed with second system described in any one method in the various possible implementations of first aspect.
Fourth aspect of the embodiment of the present invention provides a kind of computer storage medium, and the computer storage medium is stored with
Computer program, the computer program include program instruction, and described program instruction makes the calculating when executed by a computer
Machine executes any one method in above-mentioned first aspect and each possible implementation of first aspect.
In the embodiment of the present invention, the first system gives back in the works first for the first data volume receiving target user
After user's migration period gives back first part's data volume of transfer, the first data transfer request, the second system are sent to second system
System obtains the data transfer parameters of the first system, and the data transfer parameters of the first system are inputted preset data and tired out by second system
Product ratio assessment models, the output for accumulating ratio assessment models based on the data determine that the data of the first system accumulate ratio,
Second system determine first user's migration period the first data volume give back in the works plan transfer original data volume and
Original data volume is not shifted, and according to the ratio of the second data volume and the first data volume, and plan transfer original data volume, really
Determine the second part original data volume that the first system is shifted to second system, and according to second part original data volume and first
The data of system accumulate ratio, determine that second part that the first system shift to second system accumulates additional amount of data, and according to
Second part original data volume and second part accumulate additional amount of data, determine the first system is shifted to second system second
Partial data amount, and then second part data volume is shifted from the first system.On the one hand it realizes for the first system and the second system
The fast transfer of the data volume of system, on the other hand the data accumulation ratio is floated with different data transfer parameters, is floated
Data accumulation ratio lead to the floating of second part data volume, to guarantee lower second part data volume, promote the first system
System improves the tracking efficiency to the non-transfer part for the data volume being transferred out of from second system.
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 the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of data transfering method provided in an embodiment of the present invention, as shown,
The data transfering method is related to the first system and second system, and the first system shifts data volume to lend to user, and
The system that user gives back transfer data volume is received, the second system is the number for lending transfer to user for the first system
According to amount, Xiang Suoshu the first system shifts partial data amount therein, and receives the first system and give back transfer part data volume
System.
The corresponding application scenarios of the present embodiment can be user and combine refund of making loans to what bank and little Dai company carried out
Scene after user combines for the pen and makes loans refund, needs to split in the refund of second system user to the part accounting of bank
After out, and this part fund is transferred out of from little Dai company.The first system described in the application scenarios can be little Dai company, institute
Stating second system can be bank, and the data transfering method may include following steps:
S101, the first data transfer that second system receives carrying the first user migration period that the first system is sent are asked
It asks.
Wherein, to be the first system be directed to from described first receiving target user first data transfer request
It is sent in the case where first part's data volume that the first data volume that system is transferred out of is given back, the first user migration period
The corresponding period in the works is given back in first data volume for first part's data volume.
Here, target user carries out giving back transfer data for certain user's migration period in the works of giving back of the first data volume
When amount, the first system only receives target user and carries out the data volume that the whole phase gives back.Specifically, the first system receives target user's hair
The data sent give back transfer request, and the data, which are given back in transfer request, carries data volume is given back in target user's application the
One user's migration period, the first system determine the mesh according to the data transfering state of the first user migration period
The first part's data volume that should be gone back that user is directed to the first user migration period is marked, and to described in target user return
First part's data volume, so that the target user gives back transfer first part's data volume to the first system.
Specifically, the data transfering state of the first user migration period includes overdue state and non-transfering state,
In the case that the first user migration period only includes user's migration period, the first system is used according to described first
The data transfering state of family migration period determines that the target user is directed to should go back first of the first user migration period
The mode of partial data amount are as follows: if the first user migration period is non-transfering state, by the first user migration period
Corresponding plan transfer data volume is determined as first part's data volume;If the first user migration period is overdue shape
State then gives back the overdue transfer accumulation ratio for including in the works and first user transfer week according to the first data volume
Phase, corresponding plan transfer data volume determined first part's data volume.It include multiple use in the first user migration period
In the case where the migration period of family, it can be determined according to the method described above according to the corresponding data transfering state of each user's migration period
The data volume that each user's migration period should be gone back, each user's migration period for then including by first user's migration period should be gone back
The sum of data volume be determined as first part's data volume.
Optionally, before the first system receives first part's data volume that target user shifts, target user is received
Second data transfer request of the first data volume of carrying of transmission, the first system is in the qualification number according to the target user
In the case where passing through according to the data transfer aptitude checking to the target user, the first data transfer application transfer institute is responded
The first data volume is stated, and determines that the target user is directed to the plan of giving back of first data volume;The first system is to institute
It states second system and sends third data transfer request, the third data transfer request carries the first system mark and described the
One data volume;The second system is identified according to the first system, obtains the data transfer parameters of the first system, described
The first system is identified as the unique identifier of preset the first system, can be the EIC equipment identification code of the first system, set
Standby title etc., the data transfer parameters of the first system are to be directed to according to the first system from the second system to be transferred out of
Whole data volumes give back what state determined;The second system inputs the data transfer parameters of the first system pre-
If transfer ratio assessment models, determine that the data of the first system shift based on the output of the transfer ratio assessment models
Ratio, what the transfer ratio assessment models can be obtained based on a variety of initial network model trainings, for example, neural network mould
Type, association rule algorithm model etc.;The second system is according to the data transfer ratio of the first system and described first
Data volume determines the second data volume shifted to the first system, and shifts second data volume to the first system.
It is understood that if the first system is directed in the data transfer parameters of second system comprising being directed to the first system
For system for indexs such as the ratios of the punctual rate for the data volume being transferred out of from second system, Claims Resolution amount and return revert, punctual rate is higher,
The ratio of Claims Resolution amount and return revert is lower, and obtained data transfer ratio is lower, therefore is directed to the second system according to the first system
The data transfer ratio of the data transfer parameters floating variation of system can be improved the first system and give back for the data of second system
Transfer efficiency.
S102, the second system obtain the data transfer parameters of the first system.
The data transfer parameters may include the first system and be directed to the whole being transferred out of from the second system
Data volume gives back data volume, gives back punctual rate, Claims Resolution data volume, punctual rate etc. of settling a claim.The transfer parameters may include needle
To multiple and different data transfer item purpose project datas, the data transfer project may include scope of the enterprise, individual customer
Amount, corporate client amount, registered capital etc., project data are data transfer item corresponding value now.
The data transfer parameters of the first system are inputted preset data accumulation ratio and commented by S103, the second system
Estimate model, the output for accumulating ratio assessment models based on the data determines that the data of the first system accumulate ratio.
Specifically, what the data accumulation ratio assessment models can be obtained based on a variety of initial network model trainings, example
Such as, neural network model, association rule algorithm model etc..If the data accumulation ratio assessment models are according to multiple sample systems
The frequent item set for multiple data accumulation ratio that the data transfer parameters of system are obtained based on association rule algorithm model training,
The data transfer parameters are compared with the frequent item set then, and then second system will be directed to the first system
The data transfer parameters of system meet the frequent item set corresponding data accumulation ratio of comparison rules, are determined as the number of the first system
According to accumulation ratio.Specifically, include the project data of multiple and different data transfer items now in the frequent item set, it is each frequent
Any one nonvoid subset of item collection has the feature that the element in nonvoid subset turns in the data of the multiple sample system
The number occurred simultaneously in shifting parameter is greater than preset frequency of occurrence threshold value.
For example, if the data accumulation frequent item set of ratio 0.0125% and 0.01% that is directed to that training obtains is respectively { enterprise
- 5000 people of 4000 people of scale, 100,000,000 or more individual customer amount, for second system the punctual rate of refund be 70% or more and look forward to
- 6000 people of 5000 people of industry scale, 100,000,000 or more individual customer amount, for second system the punctual rate of refund be 80% or more, institute
It states the first system and is directed to different data transfer item purpose item number for include in the data transfer parameters of the second system
According to respectively 5268 people of scope of the enterprise, individual customer amount 200,000,000, for second system the punctual rate of refund be 83%, each project
Data are therefore described respectively in the 0.01% corresponding frequent item set of data accumulation ratio in the range of corresponding project data
The first system is filled with for the data transfer parameters of the second system and the 0.01% corresponding frequent episode of data accumulation ratio
Sufficient comparison rules are determined as the first system for 0.01% and accumulate ratio for the data of the second system.
S104, the second system determine the first user migration period giving back in the works in first data volume
Plan shift original data volume.
Specifically, the first system determines that the mode for giving back plan of first data volume is that average initial data is true
Determine one of mode or average accumulated data method of determination, the first number that the first system is determined by any of the above-described mode
According to the plan of giving back of amount comprising multiple user's migration periods, each user's migration period include corresponding plan shift data volume with
And the plan transfer date, the corresponding plan transfer data volume of each user's migration period include plan shift original data volume and
Plan transfer additional amount of data, in the scene that the first system makes loans to the target user, the plan transfer is original
Data volume can shift capital sum for of that month plan, and the plan transfer additional amount of data can shift interest for of that month plan
Volume.
S105, the second system turn according to the ratio and the plan of the second data volume and first data volume
Original data volume is moved, determines the second part original data volume that the first system is shifted to the second system, and according to institute
The data accumulation ratio for stating second part original data volume and the first system, determines the first system to described second
The second part of system transfer accumulates additional amount of data.
Here, second data volume is that the second system is shifted for first data volume to the first system
Data volume.Wherein, the second system turns the ratio of second data volume and first data volume with the plan
The product for moving original data volume, is determined as the second part original data volume.If the first user migration period only includes
One user's migration period, and the data transfering state of the first user migration period is non-transfering state, then it will be from reception
The data receive the day that the first system gives back data volume for second data volume for the last time before giving back request
The data accumulation ratio of the number of days on phase to current system date, the second part original data volume and the first system multiplies
Product is determined as second part accumulation additional amount of data;If the first user migration period only includes user's migration period,
And the data transfering state of the first user migration period is overdue state, then will give back before request from the data are received
Last time, which receives the first system, gives back date of data volume for second data volume and shifts to first user
The data of the plan number of days of the date of repayment in period, the second part original data volume and the first system accumulate ratio
Product is determined as second part accumulation additional amount of data.If the first user migration period includes multiple user's migration periods,
The data transfering state for each user's migration period for including according to first user's migration period according to the method described above is determined and is corresponded to
Part original data volume and partial buildup additional amount of data.
S106, the second system accumulate additional number according to the second part original data volume and the second part
According to amount, the second part data volume that the first system is shifted to the second system is determined, and shift from the first system
The second part data volume.
Here, if the first user migration period only includes one, and the data of the first user migration period turn
Shifting state is non-transfering state, then the second part is accumulated additional amount of data and the second part accumulates additional data
The sum of amount, is determined as the second part data volume.If the first user migration period only includes one, and described first uses
The data transfering state of family migration period be overdue state, then by from the plan date of repayment of the first user migration period to
The number of days on current system date, it is described plan transfer original data volume and the second part accumulation additional amount of data and with
And first data volume gives back the overdue product for giving back accumulation ratio for including in the works, be determined as the first system to
The overdue accumulation additional amount of data of second part of second system transfer, and then by the second part original data volume, institute
The sum for stating second part accumulation additional amount of data and the overdue accumulation additional amount of data of the second part is determined as described second
Partial data amount.If the first user migration period includes multiple user's migration periods, used according to the method described above according to first
The data transfering state for each user's migration period that family migration period includes, determines corresponding partial data amount, by described
The sum of the partial data amount for each user's migration period that one user's migration period includes is determined as the second part data volume.
For example, if target user from the first system connect lending transfer the first data volume be 100,000, the first system from
Second data volume of second system transfer is 80,000, and the corresponding plan of the 5th phase~the 7th phase in the works of giving back of the first data volume turns
Moving original data volume is 2000, corresponding plan shift the date be respectively August in 2018 5, September in 2018 5 days and 2018
In on October 5, in, end on October 5th, 2018, the first data volume gives back the 5th phase~the 7th phase data transfering state in the works
State, overdue state and non-transfering state are respectively closed, the first system last time is directed to the second data volume and gives back data volume
Date be on August 5th, 2018, to give back accumulation ratio be 0.025% to include in the works overdue of the first data volume given back.
Based on the above, if target user's should going back for 6th phase determining on October 5th, 2018 according to the first system
Data volume 2015, given back to the first system displaced 2015 first part's data volume, if second system determine described first
The data accumulation ratio of system is 0.012%, it is determined that the second part original data volume of the 6th phase arrived is the 1600, the 6th
The second part accumulation additional amount of data of phase is that the overdue accumulation additional amount of data of second part of the 5.95, the 6th phase is 12.45, because
This first system is 1618.4 for the second part data volume that the 6th phase shifted to second system.
If the target user's number that should go back for 6th phase and 7th phase determining on October 5th, 2018 according to the first system
According to amount 2015 and 2000, given back to the first system displaced 4015 first part's data volume, if second system determine it is described
The data accumulation ratio of the first system is 0.012%, it is determined that the second part initial data of the 6th phase and the 7th phase that arrive
Amount is that the second part accumulation additional amount of data of the 1600, the 6th phase and the 7th phase are respectively 5.95 and 5.76, and second of the 6th phase
Dividing overdue accumulation additional amount of data is 12.45, and the first system is respectively 1618.4 for the partial data amount of the 6th phase and the 7th phase
With 1605.76, therefore the second part data volume that the first system is shifted to second system is 3224.16.
Optionally, the second system is accumulated additional according to the second part original data volume and the second part
Data volume determines the second part data volume that the first system is shifted to the second system;The second system will be described
Second part data volume is sent to the first system;The first system is according to the second part data volume to described second
System sends data and gives back transfer confirmation message;The second system gives back transfer confirmation message from described the according to the data
One system shifts the second part data volume.Confirmation by the first system to second part data volume improves the second data
The reliability of amount.
In the embodiment of the present invention, the first system gives back in the works first for the first data volume receiving target user
After user's migration period gives back first part's data volume of transfer, the first data transfer request, the second system are sent to second system
System obtains the data transfer parameters of the first system, and the data transfer parameters of the first system are inputted preset data and tired out by second system
Product ratio assessment models, the output for accumulating ratio assessment models based on the data determine that the data of the first system accumulate ratio,
Second system determine first user's migration period the first data volume give back in the works plan transfer original data volume and
Original data volume is not shifted, and according to the ratio of the second data volume and the first data volume, and plan transfer original data volume, really
Determine the second part original data volume that the first system is shifted to second system, and according to second part original data volume and first
The data of system accumulate ratio, determine that second part that the first system shift to second system accumulates additional amount of data, and according to
Second part original data volume and second part accumulate additional amount of data, determine the first system is shifted to second system second
Partial data amount, and then second part data volume is shifted from the first system.On the one hand it realizes for the first system and the second system
The fast transfer of the data volume of system, on the other hand the data accumulation ratio is floated with different data transfer parameters, is floated
Data accumulation ratio lead to the floating of second part data volume, to guarantee lower second part data volume, promote the first system
System improves the tracking efficiency to the non-transfer part for the data volume being transferred out of from second system.
Referring to fig. 2, Fig. 2 is a kind of system interaction figure of data transfering method provided in an embodiment of the present invention, as shown,
The method may include:
S201, the first system receive the second data transfer request for the carrying target user that target user sends.
S202, the first system shift the data of the target user according to the qualification data of the target user
In the case that aptitude checking passes through, responds the first data transfer application and shift first data volume, and determine the mesh
Mark the plan of giving back that user is directed to first data volume.
S203, data transfering node of the first system into data transfer block catenary system send the target user
Qualification data and first data volume.
Here, the data transfering node is that any one in the data transfer block catenary system is deployed with data turn
The node of intelligent contract is moved, the data transfering node can periodically judge whether that meeting preset data transfer intelligence closes
Trigger condition about, it is that the intelligence that the first system and the second system are formulated jointly is closed that the data, which shift intelligent contract,
About, it is to receive the qualification data for the target user that the first system is sent that the data, which shift the trigger condition of intelligent contract,
And first after data volume, is verified according to the qualification data of the target user to first data volume.Institute
Stating data and shifting the treaty content of intelligent contract includes to determine model according to the data volume that the intelligent contract of data transfer is written,
It determines data volume of the first system to the second system application, and is shifted from the first system to the second system
The data volume.
S204, the data transfering node test first data volume according to the qualification data of the target user
In the case that card passes through, determines and meet the trigger condition that preset data shift intelligent contract.
Specifically, the data transfering node obtains described first from the corresponding frequent item set of preset different data amount
The corresponding frequent item set of data volume, it is described
Here, the data transfering node can be defeated by the qualification data of the target user and first data volume
Enter preset audit model, based on the output of the audit model, determines according to the qualification data of the target user to described
The verification result that first data volume is verified.The audit model can be for based on neural network model, association rule algorithm
What a variety of initial training model trainings such as model, decision-tree model obtained.
If the audit model is obtained based on association rule algorithm model training, the audit model includes basis
The frequent item set for different data amount that the qualification data of the different sample of users of multiple request for data amounts obtain, from for not
The corresponding frequent item set of first data volume is determined in the frequent item set of same data volume, for the frequency of first data volume
Any nonvoid subset of numerous item collection has the following characteristics that the element in nonvoid subset in the corresponding sample of users of first data volume
Qualification data in simultaneously occur number be greater than preset frequency of occurrence threshold value.The data transfering node is in turn by the mesh
The qualification data frequent item set corresponding with first data volume of mark user is compared, in the qualification number of the target user
In the case where meeting preset comparison rules according to frequent item set corresponding with first data volume, determines and used according to the target
The qualification data at family are verified described first and data volume.
Specifically, comprising the project data under multiple and different audit projects in the qualification data of the target user, it is described
The corresponding project data comprising under multiple and different audit projects in frequent item set.The audit project may include monthly income data
Whether whether amount moon expenditure data volume, buy data assurance, have and do not pay off data volume etc., and project data is each audit project
Corresponding value, for example, the corresponding project data of audit project monthly income data volume is 15000, whether audit project buys data
Insure corresponding project data and is yes.By the qualification data of the target user and audit project identical in the frequent item set
Under project data be compared, any one of target user mesh number according to be the frequent item set in same audit item
Now in the case where the subset of project data, determine that the qualification data of the target user are corresponding with first data volume
Frequent item set meets preset comparison rules.
The data transfering node shifts after determining the trigger condition for meeting the intelligent contract of data transfer to data
Data described in verifying node broadcasts in block catenary system shift the message that intelligent contract meets trigger condition, so that verifying node
Intelligent contract is shifted according to the data of storage to the verifying node, the data are shifted with the satisfaction of intelligent contract trigger condition
It is verified, and generates corresponding verification result, in the verifying section greater than preset quantity that the data transfering node receives
After the verification result that point is sent, or after receiving the verification result of specific authentication node transmission, data transfer intelligence is executed
Contract.
S205, the data transfering node shift the preset data transfer ratio for including in intelligent contract according to the data
Example and first data volume determine the second number that second system is shifted for first data volume to the first system
According to amount.
Specifically, the data transfer ratio can only include one, the data transfering node is by the data transfer ratio
Example is multiplied with first data volume, obtains the second data volume.The data transfer ratio also may include multiple, the data
It shifts comprising the data transfer ratio for different user types in intelligent contract, the data transfer ratio obtains the target
The user type of user determines the data transfer ratio of the target user according to the user type of the target user, in turn
Determine second data volume.User type can give back the users such as ability information, user credit information according to the data of user
What attribute information determined.For example, if the target user is the premium customers of the second system, corresponding data transfer ratio
Example can be 95%, if the target user is the intermediate client of the second system, corresponding data transfer ratio can be with
It is 90%, if the target user is the primary client of the second system, corresponding data transfer ratio can be 85%.
S206, the data transfering node shift intelligent contract from the second system to described first according to the data
System shifts second data volume.
Specifically, the data shift in intelligent contract comprising from the first system to described in second system transfer
The branch mode of second data volume, the branch mode may include transfer time, transfer account etc., the data transfering node
The second data volume is shifted according to the branch mode.
S207, the first system receive first part's number that target user is directed to the first user migration period transfer
According to.
S208, the first system send the first data for carrying the first user migration period to the second system
Transfer request.
The data transfer parameters of the first system are inputted preset data accumulation ratio and commented by S209, the second system
Estimate model, the output for accumulating ratio assessment models based on the data determines that the data of the first system accumulate ratio.
S210, the second system determine the first user migration period giving back in the works in first data volume
Plan shift data volume.
S211, the second system is according to the ratio and the meter of second data volume and first data volume
Shifting original data volume is transferred, determines the second part original data volume that the first system is shifted to the second system.
S212, the second system are accumulated according to the second part original data volume and the data of the first system
Ratio determines that the second part that the first system is shifted to the second system adds up additional amount of data.
S213, the second system accumulate additional number according to the second part original data volume and the second part
According to amount, the second part data volume that the first system is shifted to the second system is determined.
S214, the second system shift the second part data volume from the first system.
Step S207~step S214 specific implementation step S101~step in corresponding embodiment refering to fig. 1
The implementation of S106, details are not described herein again.
Optionally, transfer time and the second part number of the second system according to the second part data volume
The data transfer parameters that the first system is directed to the second system are updated according to amount, for example, recalculating the first system
Punctual rate, the punctual rate of Claims Resolution, Claims Resolution rate etc. are given back for the data volume being transferred out of from second system.
In the embodiment of the present invention, the first system is sent out after shifting the first data volume to target user to data transfering node
The qualification data and the first data volume of target user are sent, data transfering node is in the qualification data according to target user to the first number
It in the case where being verified according to amount, determines and meets the trigger condition that data shift intelligent contract, and then determine to described the
Second data volume of two system application transfer, and second data volume is shifted from the second system to the first system.
Pass through the data transfer intelligence that preset the first system and second system are formulated jointly in data transfering node during this to close
About, the determination and transfer to the second data volume are realized, data transfer is improved while ensure that the reliability of data transfer
Efficiency.The first system receive target user for the first data volume give back first user's migration period in the works give back turn
After first part's data volume of shifting, the first data transfer request is sent to second system, second system is according to the number of the first system
It determines that the data of the first system accumulate ratio according to transfer parameters, and then accumulates ratio-dependent to second according to the data of the first system
The second part data volume of system transfer, and it is transferred out of second part data volume from the first system, improve the first system raising
To the tracking efficiency of the non-transfer part for the data volume being transferred out of from second system.
It is a kind of structural schematic diagram of data shifting apparatus provided in an embodiment of the present invention referring to Fig. 3, Fig. 3, as shown,
Described device includes:
Request reception unit 301, the first data of carrying the first user migration period for receiving the first system transmission
Transfer request, first data transfer request, which is the first system, to be directed to from the first system receiving target user
It is sent in the case where first part's data volume that the first data volume being transferred out of is given back, the first user migration period is institute
It states first part's data volume and gives back the corresponding period in the works in first data volume;
Parameter acquiring unit 302, for obtaining the data transfer parameters of the first system, the data of the first system
Transfer parameters are that the state of giving back according to the first system for the business datum amount being transferred out of from the second system determines
It obtains;
Ratio-dependent unit 303 accumulates ratio for the data transfer parameters of the first system to be inputted preset data
Example assessment models, the output for accumulating ratio assessment models based on the data determine that the data of the first system accumulate ratio;
Data volume determination unit 304, for determining the first user migration period giving back in first data volume
Original data volume is shifted in plan in the works;
The data volume determination unit 304 is also used to the ratio according to the second data volume and first data volume, and
Original data volume is shifted in the plan, determines the second part initial data that the first system is shifted to the second system
Amount, and ratio is accumulated according to the second part original data volume and the data of the first system, determine first system
The second part shifted to the second system of uniting accumulates additional amount of data, and second data volume is that the second system is directed to
The data volume that first data volume is shifted to the first system;
Buanch unit 305, for accumulating additional number according to the second part original data volume and the second part
According to amount, the second part data volume that the first system is shifted to the second system is determined, and shift from the first system
The second part data volume.
In the specific implementation, the data shifting apparatus can execute such as Fig. 1 to Fig. 2 by each functional module built in it
Data transfering method in each step for executing of data transfering node, specific implementation details see the corresponding reality of Fig. 1 to Fig. 2
The realization details of each step in example is applied, details are not described herein again.
In the embodiment of the present invention, the first system gives back in the works first for the first data volume receiving target user
After user's migration period gives back first part's data volume of transfer, the first data transfer request, ginseng are sent to request reception unit
Number acquiring unit obtains the data transfer parameters of the first system, and ratio-dependent unit inputs the data transfer parameters of the first system
Preset data accumulate ratio assessment models, and the output for accumulating ratio assessment models based on the data determines the number of the first system
According to accumulation ratio, data volume determination unit determines that first user's migration period turns in the plan of the first data volume given back in the works
Original data volume is moved, and according to the ratio of the second data volume and the first data volume, and original data volume is shifted in plan, determines the
The second part original data volume that one system is shifted to second system, and according to second part original data volume and the first system
Data accumulate ratio, determine that the second part that the first system shift to second system accumulates additional amount of data, buanch unit root
Additional amount of data is accumulated according to second part original data volume and second part, determine that the first system shifts to second system the
Two partial data amounts, and then second part data volume is shifted from the first system.On the one hand it realizes for the first system and second
The fast transfer of the data volume of system, on the other hand the data accumulation ratio is floated with different data transfer parameters, is floated
Dynamic data accumulation ratio causes the floating of second part data volume to promote first to guarantee lower second part data volume
System improves the tracking efficiency to the non-transfer part for the data volume being transferred out of from second system.
Referring to fig. 4, Fig. 4 is the structural schematic diagram of another data shifting apparatus provided in an embodiment of the present invention, as schemed institute
Show, the data shifting apparatus 40 includes processor 401, memory 402 and communication interface 403.Processor 401, which is connected to, to be deposited
Reservoir 402 and communication interface 403, such as processor 401 can be connected to memory 402 and communication interface 403 by bus.
Processor 401 is configured as that the data shifting apparatus is supported to execute in data transfering method described in Fig. 1-Fig. 2
Corresponding function.The processor 401 can be central processing unit (Central Processing Unit, CPU), network processes
Device (Network Processor, NP), hardware chip or any combination thereof.Above-mentioned hardware chip can be dedicated integrated electricity
Road (Application-Specific Integrated Circuit, ASIC), programmable logic device (Programmable
Logic Device, PLD) or combinations thereof.Above-mentioned PLD can be Complex Programmable Logic Devices (Complex
Programmable Logic Device, CPLD), field programmable gate array (Field-Programmable Gate
Array, FPGA), Universal Array Logic (Generic Array Logic, GAL) or any combination thereof.
Memory 402 is for storing program code etc..Memory 402 includes internal storage, and internal storage can wrap
Include at least one of following: volatile memory (such as dynamic random access memory (DRAM), static state RAM (SRAM), synchronize it is dynamic
State RAM (SDRAM) etc.) and nonvolatile memory (such as disposable programmable read only memory (OTPROM), programming ROM
(PROM), erasable programmable ROM (EPROM), electrically erasable ROM (EEPROM).Memory 402 can also include outer
Portion's memory, external memory may include at least one of following: hard disk (Hard Disk Drive, HDD) or solid state hard disk
(Solid-State Drive, SSD), flash drive, for example, high density flash memory (CF), secure digital (SD), miniature SD, mini SD,
Extreme digital (xD), memory stick etc..
The communication interface 403 is for receiving or sending data.
Processor 401 can call said program code to execute following operation:
Receive the first data transfer request of carrying the first user migration period that the first system is sent, first data
Transfer request, which is the first system, returns receiving target user and be directed to the first data volume for being transferred out of from the first system
It is sent in the case where first part's data volume also, the first user migration period is first part's data volume in institute
That states the first data volume gives back the corresponding period in the works;
Obtain the data transfer parameters of the first system, the data transfer parameters of the first system are according to described the
One system gives back what state determination obtained for the business datum amount being transferred out of from the second system;
The data transfer parameters of the first system are inputted into preset data and accumulate ratio assessment models, are based on the number
Determine that the data of the first system accumulate ratio according to the output of accumulation ratio assessment models;
Determine that the first user migration period shifts original number in the plan of first data volume given back in the works
According to amount;
Original data volume is shifted according to the ratio and the plan of the second data volume and first data volume, is determined
The second part original data volume that the first system is shifted to the second system, and according to the second part initial data
Amount and the data of the first system accumulate ratio, determine the second part that the first system is shifted to the second system
Additional amount of data is accumulated, second data volume is that the second system turns for first data volume to the first system
The data volume of shifting;
Additional amount of data is accumulated according to the second part original data volume and the second part, determines described first
The second part data volume that system is shifted to the second system, and the second part data are shifted from the first system
Amount.
It should be noted that the realization of each operation can also correspond to referring to Fig.1-embodiment of the method shown in Fig. 2 phase
It should describe;The processor 401 can be also used for executing other operations in above method embodiment.
The embodiment of the present invention also provides a kind of computer storage medium, and the computer storage medium is stored with computer journey
Sequence, the computer program include program instruction, and described program instruction executes the computer such as
Method described in previous embodiment, the computer can be a part of data shifting apparatus mentioned above.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
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.