CN106503977A - The processing method of data, system and device - Google Patents

The processing method of data, system and device Download PDF

Info

Publication number
CN106503977A
CN106503977A CN201610915150.4A CN201610915150A CN106503977A CN 106503977 A CN106503977 A CN 106503977A CN 201610915150 A CN201610915150 A CN 201610915150A CN 106503977 A CN106503977 A CN 106503977A
Authority
CN
China
Prior art keywords
data
account
interaction
server
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610915150.4A
Other languages
Chinese (zh)
Other versions
CN106503977B (en
Inventor
周洋辉
郭懿心
韦德志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tenpay Payment Technology Co Ltd
Original Assignee
Tenpay Payment Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tenpay Payment Technology Co Ltd filed Critical Tenpay Payment Technology Co Ltd
Priority to CN201610915150.4A priority Critical patent/CN106503977B/en
Publication of CN106503977A publication Critical patent/CN106503977A/en
Application granted granted Critical
Publication of CN106503977B publication Critical patent/CN106503977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/227Payment schemes or models characterised in that multiple accounts are available, e.g. to the payer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a kind of processing method of data, system and device.Wherein, the method includes:Server obtains target account interaction data and current account data in the preset time period;Account delta data of the server according to interaction data and pre-conditioned acquisition target account in preset time period, wherein, pre-conditioned for represent the interaction indicated by interaction data cause target account account data increase and decrease situation;Server obtains the second account data according to the first account data and account's delta data, wherein, first account data is data of the target account in the initial time of preset time period, and the second account data is the data after the first account data changes according to account's delta data;Whether server compares current account data consistent with the second account data, obtains comparative result.The present invention solves the inaccurate technical problem of existing verification mode.

Description

The processing method of data, system and device
Technical field
The present invention relates to data processing field, in particular to a kind of processing method of data, system and device.
Background technology
Data interaction system generally completes the interaction of data in the way of data transfer, and is carried out accordingly according to interaction data Operation, being such as installed between the third party software of mobile phone terminal and server carries out data interaction by network, when user logical When crossing third party software online data and transmitting, server and third party software carry out data interaction, and to interaction data at Reason, completes data transfer operation.In the process, interactive system will complete the change of account data.For example, third party software is Third-party payment software, produces account data change in payment process.Similar to the data interaction system of payment system, growing After phase operation, substantial amounts of business datum can be produced so that verification of data work becomes heavy complexity, checked result is often not accurate enough Really.
For above-mentioned problem, effective solution is not yet proposed at present.
Content of the invention
A kind of processing method of data, system and device is embodiments provided, at least to solve existing verification The inaccurate technical problem of mode.
A kind of one side according to embodiments of the present invention, there is provided processing method of data, including:Server obtains mesh Mark account interaction data and current account data in the preset time period;The server is according to the interaction data and default bar Part obtains the account's delta data of the target account in the preset time period, wherein, described pre-conditioned for representing Interaction indicated by the interaction data causes the account data of the target account to increase and decrease situation;The server is according to first Account data and account's delta data obtain the second account data, and wherein, first account data is the target account Data of the family in the initial time of the preset time period, second account data be first account data according to described Data after the change of account's delta data;Whether the server current account data and second account data Unanimously, comparative result is obtained.
Another aspect according to embodiments of the present invention, additionally provides a kind of processing system of data, including:Receiving unit, Request is checked for receiving from the interactive system;First acquisition unit, for checking request from the friendship according to described Target account preset time period in interaction data and current account data are obtained in system mutually;Second acquisition unit, for pressing According to the account's delta data of the interaction data and the pre-conditioned acquisition target account in the preset time period, its In, described pre-conditioned for representing that the interaction indicated by the interaction data causes the account data of the target account to increase and decrease Situation;3rd acquiring unit, for obtaining the second account data according to the first account data and account's delta data, its In, first account data is data of the target account in the initial time of the preset time period, second account User data is the data after first account data changes according to account's delta data;Comparing unit, for comparing State current account data whether consistent with second account data, obtain comparative result.
Another aspect according to embodiments of the present invention, additionally provides a kind of processing meanss of data, including:Data acquisition list Unit, for obtaining target account transaction data and current account data in the preset time period;Data variation unit, for according to The account's delta data of the transaction data and the pre-conditioned acquisition target account in the preset time period, wherein, Described pre-conditioned for represent the transaction indicated by the transaction data cause the target account account data increase and decrease feelings Condition;Gross data unit, for obtaining the second account data according to the first account data and account's delta data, wherein, First account data is data of the target account in the initial time of the preset time period, the second account number According to be first account data according to account's delta data change after data;As a result unit, works as relatively more described Whether front account data is consistent with second account data, obtains comparative result.
In embodiments of the present invention, using the interaction data according to target account in preset time period and pre-conditioned obtain Account delta data of the target account in preset time period is taken, the first account data is according to acquisition after the change of account's delta data The mode of the second account data, whether consistent with the second account data by comparing current account data, reach and account has been entered The purpose of row data auditing, it is achieved thereby that completing the technique effect that account data is checked according to interaction data, and then solves The inaccurate technical problem of existing verification mode.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the Organization Chart of hardware system according to embodiments of the present invention;
Fig. 2 is the flow chart of the processing method of a kind of optional data according to embodiments of the present invention;
Fig. 3 is the flow chart of the processing method of a kind of optional data according to embodiments of the present invention;
Fig. 4 is the schematic diagram of the processing system of a kind of optional data according to embodiments of the present invention;
Fig. 5 is the schematic diagram of the processing system of a kind of optional data according to embodiments of the present invention;
Fig. 6 is the schematic diagram of the processing meanss of a kind of optional data according to embodiments of the present invention;
Fig. 7 is the schematic diagram of terminal according to embodiments of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention in Accompanying drawing, to the embodiment of the present invention in technical scheme be clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Embodiment in based on the present invention, ordinary skill people The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection Enclose.
It should be noted that description and claims of this specification and the term " first " in above-mentioned accompanying drawing, " Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except here diagram or Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, and for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to Those steps that clearly lists or unit, but may include clearly not list or for these processes, method, product Or intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of embodiment of the method that can be executed by the application device embodiment, It should be noted that can be in the department of computer science of such as one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated Execute in system, and, although show logical order in flow charts, but in some cases, can be being different from herein Order execute shown or described step.
According to embodiments of the present invention, there is provided a kind of processing method of data.
Alternatively, in the present embodiment, the processing method of above-mentioned data can apply to 102 He of terminal as shown in Figure 1 In the hardware environment constituted by server 104.As shown in figure 1, terminal 102 is attached with server 104 by network, above-mentioned Network is included but is not limited to:Mobile communications network, wide area network, Metropolitan Area Network (MAN) or LAN, terminal 102 can be mobile phone terminals, Can be PC terminals, notebook terminal or panel computer terminal.
Fig. 2 is the flow chart of the processing method of a kind of optional data according to embodiments of the present invention, below in conjunction with Fig. 2 pair The processing method of the data provided by the embodiment of the present invention does concrete introduction, as shown in Fig. 2 the processing method of the data is mainly wrapped Following steps S202 are included to step S208:
Step S202, server obtain target account interaction data and current account data in the preset time period.
Data interaction indicated by interaction data is occurred over just in the preset time period, and interaction data only can include Can make account data that the interaction data of increase and decrease occurs.When data interaction is carried out, interactive system is carried out to interaction data Process, account data is accordingly changed according to interaction data, the data after variation are current account data.
Step S204, the server is according to the interaction data and the pre-conditioned acquisition target account described pre- If the account's delta data in the time period, wherein, described pre-conditioned for representing that the interaction indicated by the interaction data is led The account data of the target account is caused to increase and decrease situation.
When pre-conditioned expression occurs to specify data interaction, the account data of target account is according in data exchange process The data increase and decrease situation that interaction data is carried out, therefore according to interaction data and the delta data of the target account of pre-conditioned acquisition Can represent occur indicated by interaction data interactive when, the increase situation of the account data of target account, and target account The minimizing situation of the account data at family.
For example:Mobile network flow account of the target account for mobile phone users, the side for this account, interaction data Mainly there are two kinds, a kind of is flow " using " data, another kind " supplements " data with money for flow, and flow " using " data are corresponding pre- If condition is that the data on flows " minimizing " of flow account, flow " supplement " the corresponding pre-conditioned flow for flow account of data with money Data " increase ".Data are supplemented " with money " according to pre-conditioned and flow " using " data and flow, you can obtain the stream of user Amount account delta data be:The data on flows of flow account reduces how many, and the data on flows of flow account increased how many.
Step S206, the server obtain second account's number according to the first account data and account's delta data According to, wherein, first account data is data of the target account in the initial time of the preset time period, described Two account datas are the data after first account data changes according to account's delta data.
Data before interaction of the target account in preset time period occurs are the first account data, i.e. first account's number According to for target account the initial time of preset time period data.First account data is according to above-mentioned target account when default Between after account's delta data in section accordingly increased and reduced, the second account data can be got.
For example:Mobile network flow account of the target account for mobile phone users, in the initial time of preset time period, The data on flows of flow account is 200M for first account data of 200M, i.e. flow account, occurs twice in preset time period Data interaction, makes the data on flows of flow account there occurs variation, respectively:The data on flows of user's " using " 150M;User The data on flows of " supplementing with money " 500M.Can be obtained according to the interaction data and default condition, flow account in preset time period Delta data be:Data on flows reduces 150M and data on flows increased 500M, and the first account data changes according to account After data are accordingly increased and reduced, the data on flows of the flow account for obtaining is 550M, then the second account data is: 550M.
Whether step S208, the server current account data are consistent with second account data, obtain Arrive comparative result.
In embodiments of the present invention, using the interaction data according to target account in preset time period and pre-conditioned obtain Account delta data of the target account in preset time period is taken, the first account data is according to acquisition after the change of account's delta data The mode of the second account data, whether consistent with the second account data by comparing current account data, reach and account has been entered The purpose of row data auditing, it is achieved thereby that completing the technique effect that account data is checked according to interaction data, and then solves The inaccurate technical problem of existing verification mode.
The processing method of data provided in an embodiment of the present invention is applied to terminal 102 as shown in Figure 1 and server 104 When in the hardware environment for being constituted, the hardware environment system shown in Fig. 1 can carry out the verification of the data on flows in above-mentioned example, The verification of network payment can also be carried out, below the groundwork by taking network payment as an example to the hardware environment system shown in Fig. 1 Principle is illustrated, specific as follows:
With terminal 102 as mobile phone terminal, interactive system is online trading system, and interaction data is to carry out as a example by transaction data Explanation.On-line payment application software is installed in terminal 102, the on-line payment application software can be used for payment flow guiding With control of authority etc., when user needs to carry out online transaction, guided by the payment flow of the on-line payment application software Operate into transaction request etc. is sent, and be input into trading password and be traded mandate;Transaction system is provided with server 104 and is checked Core system, transaction system are received and are sent after transaction request by network by terminal 102, and the transaction request is processed, complete Data movement into the account involved by the transaction request;After transaction system completes transaction request process, and in Jiang Chu Before reason result returns to terminal 102, send to audit system and check request, request audit system enters line number to current account According to checking, audit system carries out data auditing according to checking request to account, generates and checks result, and carries out respective handling.
Alternatively, the server is preset described according to the interaction data and the pre-conditioned acquisition target account Account's delta data in time period includes:Acquisition mutual accounts of the server from the interaction data, type of interaction With interaction numerical value;The server determines the target according to the mutual accounts, the type of interaction and the interactive numerical value The numerical value that account in the preset time period accumulates or reduce;The server accumulates described or reduce Numerical value as account's delta data.
Alternatively, the server is according to the mutual accounts, the type of interaction and the interactive numerical value determine Target account accumulates in the preset time period or the numerical value that reduces includes:The server is according to the interactive account Family counts the target interaction data of the target account;The server is according to type of interaction described in the target interaction data With the pre-conditioned increase and minimizing for counting interaction numerical value described in the target account;The server accumulates The interactive numerical value and the described interactive numerical value for reducing, obtain the numerical value for accumulating or reducing.
Interaction data is the data that transmits when interacting, and have recorded interactive key data, including:Mutual accounts, friendship Mutual type and interaction numerical value, for example:Mutual accounts can include:Residual flow account, using flow account, pay user, receive Pay businessman etc.;Type of interaction can include:" using " " payment ", " gathering ", " transferring accounts " and " supplementing with money " etc., interaction numerical value are to hand over The numerical value for mutually making account increase or reduce, is typically made up of numeral and unit, such as:100 yuan, 200M.According to interaction During account's delta data of data and pre-conditioned acquisition target account, interaction data is united according to mutual accounts first Meter, using statistics result as target account target interaction data;Then according to the type of interaction in target interaction data and The pre-conditioned increase numerical value to target interaction data and minimizing numerical value are counted, and the result of statistics is tired out as target account The numerical value that meter increases and reduces, namely the delta data of target account.
For example:The interaction occurred in the preset time period is:Certain commodity price is 100 yuan, pays user to buy this Commodity pay 98 yuan, and promotion root pays 2 yuan according to the promotion rule of the commodity by the 3rd account, the commodity by a pair business 100 yuan of family's gathering, and the commodity are supplied to payment user.Interaction data in the data exchange process is:Pay user Pay 98 yuan, the 3rd account pay 2 yuan, by pay businessman collect money 100 yuan, include in interaction data mutual accounts, type of interaction and Interaction numerical value, wherein mutual accounts include:Pay user, the 3rd account, receive to pay a businessman, type of interaction includes:Pay, collect money, Interaction numerical value includes:98 yuan, 2 yuan, 100 yuan.Interaction data is counted according to mutual accounts first, using statistics as Target interaction data, target interaction data is:Mutual accounts:Pay user, type of interaction:Pay, interaction numerical value:98 yuan;Hand over Mutual account:3rd account, type of interaction:Pay, interaction numerical value:2 yuan;Mutual accounts:By a pair businessman, type of interaction:Gathering, hands over Mutual numerical value:100 yuan.Then carried out according to type of interaction and the pre-conditioned increase numerical value to target interaction data and minimizing numerical value Count, statistics is:Paying user reduces 98 yuan, and the 3rd account reduces 2 yuan, increased 100 yuan by businessman is paid.The system Meter result is exactly the numerical value that target account accumulates and reduces, and is the delta data of target account.
For another example:" reimbursement of employee's urban transit system " this data exchange process for enterprise:Employee's first submits an expense account which to company 78 yuan of business traveling, company submit an expense account its transportation expenses by cash on hand for employee's first, and interaction data is:" cash on hand " account 78 yuan of " reimbursement ", 78 yuan of " running cost-traveling expenses " account " book keeping operation ".For Company Account, it is somebody's turn to do " data interaction " and causes " stock Cash " account and " running cost-traveling expenses " account change, wherein the type of interaction of 78 yuan of " cash on hand " account " reimbursement " For " reimbursement ", which is corresponding pre-conditioned for reducing, and the type of interaction that 78 yuan of " running cost-traveling expenses " account " book keeping operation " is " note Account ", its are corresponding pre-conditioned for increasing, and according to mutual accounts, type of interaction, pre-conditioned the transaction data are united Count, the account's delta data for obtaining company is:" cash on hand " account reduces 78 yuan, and " running cost-traveling expenses " account increases 78 yuan.
Alternatively, target account is obtained in preset time period before interaction data and current account data in server, Methods described also includes:After interactive system interacts process according to Client-initiated interaction request, and the interaction system Unite before returning result, the interactive system is initiated to check request to audit system, wherein, described checking asks to be used for asking Whether rooting is consistent with second account data according to the interaction data for currently the interacting current account data.
Check that request can be realized real-time processing being carried out to current interaction data by sending to audit system, that is, interacting System completes the process to the interaction according to the interaction request of user, is accordingly changed it including target account according to the interaction Afterwards, and before the result is returned to user by interactive system, send to audit system and check request, ask to this Whether interaction is processed, i.e., complete to compare current account data by said method consistent with the second account data.
Alternatively, target account is obtained in preset time period before interaction data and current account data in server, Methods described also includes:The server judges whether current time interval meets the default triggering cycle;The server is in institute State when current time interval meets the default triggering cycle initiate check request, wherein, described check request be used for ask right Whether interaction data in the current time interval current account data are consistent with second account data.
The time cycle for checking request is sent by presetting, the cyclical process to account data can also be realized, I.e. when current time interval meets preset time period, send to audit system and check request, ask to current time interval The interaction data of interior generation is processed, and whether completes to compare current account data and the second account data by said method Unanimously.
Alternatively, in the preset time period, interaction data includes the data of current interaction, compares institute in the server State current account data whether consistent with second account data, after obtaining comparative result, methods described also includes:If institute State comparative result and indicate that the current account data are consistent with second account data, then the server determines described current Interaction is normal;If the comparative result indicates that the current account data are inconsistent with second account data, the clothes Business device determines that the current interaction is abnormal, and abnormal described current interaction is marked.
By above-mentioned method complete to compare current account data whether consistent with the second account data after, can according to than Compared with result processed accordingly, comparative result is:Current account data are consistent with the second account data, then current data is handed over Mutually normal, interaction next time can be waited to occur and to the interactive number next time or in the next time period without processing According to being processed;Comparative result is:Current account data and the second account data are inconsistent, then current data interaction is abnormal, can To be marked to current interaction, or carry out other process.
Fig. 3 is the flow chart of the processing method of a kind of optional data according to embodiments of the present invention, as shown in figure 3, should The processing method of data mainly comprises the steps S301 to step S308:
Step S301, starts.
Step S302, receives and checks request.
This checks that request is sent by interactive system, and request audit system enters line number according to current interaction data to target account According to checking.
Step S303, inquiry last time check this all interaction datas and actual account data between checking.
Last time checks that this is checked and can be considered as a time period (equivalent to preset time period), and the time period can be pre- Regular time cycle is first set to, and this is checked and can also be triggered by data interaction in real time;What interaction data was represented is at this The data content transmitted during the data interaction occurred in the time period, includes type of interaction, interaction numerical value, mutual accounts, for example: Mutual accounts can include:Residual flow account, using flow account, pay user, by paying businessman etc.;Type of transaction can be wrapped Include:" using " " payment ", " gathering ", " transferring accounts " and " supplementing with money ", interaction numerical value are the numbers that interaction makes that account increases or reduces Value, is typically made up of numeral and unit, such as:100 yuan, 200M;Actual account data include last time successfully check after number According to (equivalent to the first account data) and data (equivalent to current account data) to be audited.
Step S304, carries out sorting out statistics by type of interaction to interaction data.
Interaction data is the data content transmitted when data interaction occurs, and carries out classification system by type of interaction to interaction data Meter, is interaction data to be classified according to the difference of type of interaction, and the interactive numerical value to sorted interaction data is carried out Collect statistics;When mutual accounts have multiple when, simultaneously interaction data can be classified according to mutual accounts, then to classification Interaction data afterwards carries out collect statistics, obtains the delta data of account.
For example:The data interaction occurred in the preset time period is:Certain commodity price is 100 yuan, pays user to purchase Buy the commodity and pay 98 yuan, promotion root pays 2 yuan according to the promotion rule of the commodity by the 3rd account, and the commodity are received Pay businessman to collect money 100 yuan, and the commodity are supplied to payment user.The interaction data of the interaction is:Pay user and pay 98 yuan, 3rd account pays 2 yuan, is collected money 100 yuan by businessman is paid.Interaction data is classified according to type of interaction and mutual accounts, obtain To the interaction data of three types, first kind interaction data:Mutual accounts:Pay user, type of interaction:Pay, interaction numerical value: 98 yuan;Equations of The Second Kind interaction data:Mutual accounts:3rd account, type of interaction:Pay, interaction numerical value:2 yuan;3rd class interacts number According to:Mutual accounts:By a pair businessman, type of interaction:Gathering, interaction numerical value:100 yuan.Above-mentioned three classes interaction data is collected Statistics, as a result for:Pay user and pay 98 yuan altogether, the 3rd account pays 2 yuan altogether, 100 yuan are collected money altogether by businessman is paid.The classification converges Overall result is exactly the delta data of target account.
Step S305, by type of interaction and its predefined condition, the delta data of account is applied in account data.
Predefined condition represents that the account data of target account when occurring to specify data interaction is carried out according to interaction data Data increase and decrease situation, for example:Data interaction " payment " pre-conditioned for account data reduce, data interaction " gathering " pre- If condition increases for account data.According to type of interaction and its predefined condition, you can with by the change of above-mentioned target account Market demand in account data, such as:In above-mentioned example, the result of Classifying Sum is:Pay user and pay 98 yuan altogether, the 3rd account Family pays 2 yuan altogether, is collected money 100 yuan altogether by businessman is paid, is applied in account data then in conjunction with type of interaction and predefined condition Obtain:Paying user reduces 98 yuan, and the 3rd account reduces 2 yuan, increased 100 yuan by businessman is paid.
Step S306, draws the data of account after interactive playback.
Above-mentioned carry out Classifying Sum to interaction data, and combine type of interaction and predefined condition by summarized results application To in account data, reset equivalent to data interaction, for example:" remaining sum payment " class is interacted, and the impact to " remaining sum account " is " remaining Volume is reduced ", then by interactive playback, calculate " opening balance account remaining sum-remaining sum total payment " and " ending balance can be drawn The data of account after account balance ", i.e. interactive playback.
Step S307, compares two account datas.
Whether consistent the data of account after contrast data to be audited and interactive playback, compare both, then can draw and check Core result.
Step S308, completes to check, waits and pending next checks request.
Can be further processed after obtaining checking result, such as:The number of account after data to be audited and interactive playback According to consistent, then current data interaction is normal, can be completed this and checked without processing, and waits and pending next checks request; After data to be audited and interactive playback, the data of account are inconsistent, then current data interaction is abnormal, and current data can be handed over Mutually it is marked, or carries out other process, then complete this and check, waits and pending next check request.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore which is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention do not limited by described sequence of movement because According to the present invention, some steps can be carried out using other orders or simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and module are not necessarily of the invention Necessary.
Through the above description of the embodiments, those skilled in the art is can be understood that according to above-mentioned enforcement The method of example can add the mode of required general hardware platform by software to realize, naturally it is also possible to by hardware, but a lot In the case of the former is more preferably embodiment.Such understanding is based on, technical scheme is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), use including some instructions so that a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) execute method described in each embodiment of the invention.
Embodiment 2
According to embodiments of the present invention, a kind of processing system for implementing the data of the processing method of above-mentioned data is additionally provided System, the processing system of the data are mainly used in the processing method for executing the data provided by embodiment of the present invention the above, with Under the processing system of data that the embodiment of the present invention is provided do concrete introduction:
Fig. 4 is the schematic diagram of the processing system of account data according to embodiments of the present invention, as shown in figure 4, this account number According to processing system mainly include:
Receiving unit, checks request for receiving from interactive system.
The process to the data interaction is completed according to the interaction request of user in interactive system, including make target account according to After the interaction data is accordingly changed, and before the result is returned to user by interactive system, to checking it is Request is checked in system transmission, and receiving unit is received after this checks and ask, and carries out data auditing by audit system to target account.
The time cycle for checking request is sent by presetting, the cyclical process to data can also be realized, that is, existed When current time interval meets preset time period, interactive system sends to audit system and checks request, and receiving unit is received should After checking request, data auditing is carried out to target account according to the interaction data in current time interval by audit system.
For basis, first acquisition unit, checks that request obtains target account from interactive system and hands in preset time period Mutual data and current account data;
Data interaction indicated by interaction data is occurred over just in the preset time period, and interaction data only can include Can make account data that the interaction data of increase and decrease occurs.When data interaction is carried out, interactive system is carried out to interaction data Process, account data is accordingly changed according to interaction data, the data after variation are current account data.
Second acquisition unit, for the account according to interaction data and pre-conditioned acquisition target account in preset time period Family delta data, wherein, pre-conditioned for representing that the interaction indicated by interaction data causes the account data of target account to increase Subtract situation.
When pre-conditioned expression occurs to specify data interaction, the account data of target account is according in data exchange process The data increase and decrease situation that interaction data is carried out, therefore according to interaction data and the delta data of the target account of pre-conditioned acquisition Can represent occur indicated by interaction data interactive when, the increase situation of the account data of target account, and target account The minimizing situation of the account data at family.
For example:Mobile network flow account of the target account for mobile phone users, the side for this account, interaction data Mainly there are two kinds, a kind of is flow " using " data, another kind " supplements " data with money for flow, and flow " using " data are corresponding pre- If condition is that the data on flows " minimizing " of flow account, flow " supplement " the corresponding pre-conditioned flow for flow account of data with money Data " increase ".Data are supplemented " with money " according to pre-conditioned and flow " using " data and flow, you can obtain the stream of user Amount account delta data be:The data on flows of flow account reduces how many, and the data on flows of flow account increased how many.
Interaction data is the data that transmits when interacting, and have recorded interactive key data, including:Mutual accounts, friendship Mutual type and interaction numerical value, for example:Mutual accounts can include:Residual flow account, using flow account, pay user, receive Pay businessman etc.;Type of interaction can include:" using " " payment ", " gathering ", " transferring accounts " and " supplementing with money " etc., interaction numerical value are to hand over The numerical value for mutually making account increase or reduce, is typically made up of numeral and unit, such as:100 yuan, 200M.According to interaction During account's delta data of data and pre-conditioned acquisition target account, interaction data is united according to mutual accounts first Meter, using statistics result as target account target interaction data;Then according to the type of interaction in target interaction data and The pre-conditioned increase numerical value to target interaction data and minimizing numerical value are counted, and the result of statistics is tired out as target account The numerical value that meter increases and reduces, namely the delta data of target account.
For example:The interaction occurred in the preset time period is:Certain commodity price is 100 yuan, pays user to buy this Commodity pay 98 yuan, and promotion root pays 2 yuan according to the promotion rule of the commodity by the 3rd account, the commodity by a pair business 100 yuan of family's gathering, and the commodity are supplied to payment user.Interaction data in the data exchange process is:Pay user Pay 98 yuan, the 3rd account pay 2 yuan, by pay businessman collect money 100 yuan, include in interaction data mutual accounts, type of interaction and Interaction numerical value, wherein mutual accounts include:Pay user, the 3rd account, receive to pay a businessman, type of interaction includes:Pay, collect money, Interaction numerical value includes:98 yuan, 2 yuan, 100 yuan.Interaction data is counted according to mutual accounts first, using statistics as Target interaction data, target interaction data is:Mutual accounts:Pay user, type of interaction:Pay, interaction numerical value:98 yuan;Hand over Mutual account:3rd account, type of interaction:Pay, interaction numerical value:2 yuan;Mutual accounts:By a pair businessman, type of interaction:Gathering, hands over Mutual numerical value:100 yuan.Then carried out according to type of interaction and the pre-conditioned increase numerical value to target interaction data and minimizing numerical value Count, statistics is:Paying user reduces 98 yuan, and the 3rd account reduces 2 yuan, increased 100 yuan by businessman is paid.The system Meter result is exactly the numerical value that target account accumulates and reduces, and is the delta data of target account.
3rd acquiring unit, for obtaining the second account data according to the first account data and account's delta data, wherein, First account data is data of the target account in the initial time of preset time period, and the second account data is the first account data According to the data after the change of account's delta data.
Data before interaction of the target account in preset time period occurs are the first account data, i.e. first account's number According to for target account the initial time of preset time period data.First account data is according to above-mentioned target account when default Between after account's delta data in section accordingly increased and reduced, the second account data can be got.
For example:Mobile network flow account of the target account for mobile phone users, in the initial time of preset time period, The data on flows of flow account is 200M for first account data of 200M, i.e. flow account, occurs twice in preset time period Data interaction, makes the data on flows of flow account there occurs variation, respectively:The data on flows of user's " using " 150M;User The data on flows of " supplementing with money " 500M.Can be obtained according to the interaction data and default condition, flow account in preset time period Delta data be:Data on flows reduces 150M and data on flows increased 500M, and the first account data changes according to account After data are accordingly increased and reduced, the data on flows of the flow account for obtaining is 550M, then the second account data is: 550M.
Comparing unit, whether consistent with the second account data for comparing current account data, obtain comparative result.
Can be further processed after comparative result is obtained, such as:Current account data are consistent with the second account data, then Current data interaction is normal, interaction next time can be waited to occur and to next time or the next time period without being processed Interior interaction data is processed;Comparative result is:Current account data and the second account data are inconsistent, then current data is handed over Mutually abnormal, current interaction can be marked, or carry out other process.
In embodiments of the present invention, using the interaction data according to target account in preset time period and pre-conditioned obtain Account delta data of the target account in preset time period is taken, the first account data is according to acquisition after the change of account's delta data The mode of the second account data, whether consistent with the second account data by comparing current account data, reach and account has been entered The purpose of row data auditing, it is achieved thereby that completing the technique effect that account data is checked according to interaction data, and then solves The inaccurate technical problem of existing verification mode.
Fig. 5 is the schematic diagram of the processing system of a kind of optional data according to embodiments of the present invention, as shown in figure 5, figure In near-realtime data audit system be the processing system of data, transaction flow control module and account module carry out data friendship Mutually.
Transaction flow control module:The module is arranged on user terminal, before by payment flow guiding to transaction Put flow process to be controlled, preposition flow process includes:For example, transaction item guiding is selected, the guiding of purchase-transaction article is determined and is selected Means of payment guiding etc..The also access authority control of transaction flow control module, user can by be input into the mode such as key to Line transaction is authorized, and when being traded, transaction flow control module sends transaction request to account module.
Account module:Equivalent to interactive system, when account module receives the transaction that transaction flow control module sends please After asking (equivalent to interaction request), the transaction request is processed, process includes:Message parsing, distribution, Business Processing Deng wherein Business Processing is related to the transfer of account data.Transaction request is processed in transaction system, execute transaction, and After completing corresponding account data transfer, and before transaction system makes transaction response to transaction flow control module, to Quasi real time account data audit system sends transaction and checks request, and quasi real time account data audit system is concluded the business according to current for request Data auditing is carried out to current target account.
Quasi real time account data audit system:Processing system equivalent to data.Receiving please from checking for transaction system After asking, the current transaction data for obtaining target account from transaction system (only includes equivalent to interaction data in preset time period The data of current interaction) and current account data.
Account's number according to current transaction data and the delta data of the target account of pre-conditioned acquisition, i.e. target account According to increase situation, and the minimizing situation of the account data of target account.Wherein, when there is current transaction in pre-conditioned expression The account data of target account increases and decreases situation according to the data that the transaction is carried out.
The first account data provided according to transaction system and account's delta data obtain the second account data.Wherein, Before one account data occurs for current transaction, the data of target account, the first account data is according to target account delta data After being accordingly increased and being reduced, the account data for obtaining is the second account data.
For example:Before transaction occurs, the account data for paying user is:300 yuan, the account data of third party account is 1000 yuan, be 500 yuan by the account data for paying businessman.The current transaction that occurs is:Certain commodity price is 100 yuan, pays user 98 yuan are paid in order to buy the commodity, promotion root pays 2 yuan according to the promotion rule of the commodity by the 3rd account, the business Product by pay businessman collect money 100 yuan, and by the commodity be supplied to payment user.The transaction data of the transaction is:Pay user 98 yuan are paid, the 3rd account pays 2 yuan, collected money 100 yuan by businessman is paid.Include in transaction data transaction account, type of transaction and Transaction numerical value, wherein transaction account include:Pay user, the 3rd account, receive to pay a businessman, type of transaction includes:Pay, collect money, Transaction numerical value includes:98 yuan, 2 yuan, 100 yuan.Pre-conditioned it is:Type of transaction be " payment ", account data reduce, type of transaction For " gathering ", account data increase.Delta data according to current transaction data and the target account of pre-conditioned acquisition is:? Paying user reduces 98 yuan, and the 3rd account reduces 2 yuan, increased 100 yuan by businessman is paid.First account data is according to target account Family delta data is accordingly increased and is reduced, i.e.,:Pay user to be obtained according to the first account data and account's delta data Second account data is:It is 300 yuan to pay the first account data of user, reduces 98 yuan, is changed into 202 yuan;The of 3rd account One account data is 1000 yuan, reduces 2 yuan, is changed into 998 yuan;It is 500 yuan to receive the first account data for paying businessman, increased 100 yuan, it is changed into 600 yuan, the second account data is:The account data for paying user is 202 yuan, and the account data of the 3rd account is 998 yuan, be 600 yuan by the account data for paying businessman.
Whether relatively current account data are consistent with the second account data, obtain checking result, if current account data Consistent with the second account data, then current transaction is normal, can be without being processed;If current account data and the second account Data are inconsistent, then current transaction is abnormal, current transaction can be marked, or carry out other process.
After quasi real time account data audit system completes data auditing request, transaction system carries out phase according to checking result The process that answers, finally makes transaction response to transaction flow control module.
Embodiment 3
According to embodiments of the present invention, additionally provide a kind of process for implementing the data of the processing method of above-mentioned data to fill Put, the processing meanss of the data are mainly used in the processing method for executing the data provided by embodiment of the present invention the above, with Under the processing meanss of data that the embodiment of the present invention is provided do concrete introduction:
Fig. 6 is the schematic diagram of the processing meanss of a kind of optional data according to embodiments of the present invention, as shown in fig. 6, should The processing meanss of data mainly include:
Data capture unit 601, interaction data and works as in the preset time period for obtaining target account by server Front account data.
Data interaction indicated by interaction data is occurred over just in the preset time period, and interaction data only can include Can make account data that the interaction data of increase and decrease occurs.When data interaction is carried out, interactive system is carried out to interaction data Process, account data is accordingly changed according to interaction data, the data after variation are current account data.
Data variation unit 602, for passing through server according to interaction data and pre-conditioned acquisition target account pre- If the account's delta data in the time period, wherein, pre-conditioned for representing that the interaction indicated by interaction data causes target account The account data increase and decrease situation at family.
When pre-conditioned expression occurs to specify data interaction, the account data of target account is according in data exchange process The data increase and decrease situation that interaction data is carried out, therefore according to interaction data and the delta data of the target account of pre-conditioned acquisition Can represent occur indicated by interaction data interactive when, the increase situation of the account data of target account, and target account The minimizing situation of the account data at family.
For example:Mobile network flow account of the target account for mobile phone users, the side for this account, interaction data Mainly there are two kinds, a kind of is flow " using " data, another kind " supplements " data with money for flow, and flow " using " data are corresponding pre- If condition is that the data on flows " minimizing " of flow account, flow " supplement " the corresponding pre-conditioned flow for flow account of data with money Data " increase ".Data are supplemented " with money " according to pre-conditioned and flow " using " data and flow, you can obtain the stream of user Amount account delta data be:The data on flows of flow account reduces how many, and the data on flows of flow account increased how many.
Gross data unit 603, for obtaining second by server according to the first account data and account's delta data Account data, wherein, the first account data be target account the initial time of preset time period data, the second account data It is the data after the first account data changes according to account's delta data.
Data before interaction of the target account in preset time period occurs are the first account data, i.e. first account's number According to for target account the initial time of preset time period data.First account data is according to above-mentioned target account when default Between after account's delta data in section accordingly increased and reduced, the second account data can be got.
For example:Mobile network flow account of the target account for mobile phone users, in the initial time of preset time period, The data on flows of flow account is 200M for first account data of 200M, i.e. flow account, occurs twice in preset time period Data interaction, makes the data on flows of flow account there occurs variation, respectively:The data on flows of user's " using " 150M;User The data on flows of " supplementing with money " 500M.Can be obtained according to the interaction data and default condition, flow account in preset time period Delta data be:Data on flows reduces 150M and data on flows increased 500M, and the first account data changes according to account After data are accordingly increased and reduced, the data on flows of the flow account for obtaining is 550M, then the second account data is: 550M.
As a result unit 604, whether consistent with the second account data for comparing current account data by server, obtain Comparative result.
In embodiments of the present invention, using the interaction data according to target account in preset time period and pre-conditioned obtain Account delta data of the target account in preset time period is taken, the first account data is according to acquisition after the change of account's delta data The mode of the second account data, whether consistent with the second account data by comparing current account data, reach and account has been entered The purpose of row data auditing, it is achieved thereby that completing the technique effect that account data is checked according to interaction data, and then solves The inaccurate technical problem of existing verification mode.
Alternatively, data variation unit includes:Data module, for the acquisition interaction by server from interaction data Account, type of interaction and interaction numerical value;Determining module, for passing through server according to mutual accounts, type of interaction and interaction number Value determines the numerical value that target account accumulates in preset time period or reduces;Change module, for being incited somebody to action by server The numerical value for accumulating or reducing is used as account's delta data.
Optionally it is determined that module includes:First statistic submodule, for counting target by server according to mutual accounts The target interaction data of account;Second statistic submodule, for by server according to type of interaction in target interaction data and The increase and minimizing of interaction numerical value in pre-conditioned statistics target account;Accumulative submodule, for being accumulated by server Interactive numerical value and reduce interactive numerical value, the numerical value for being accumulated or being reduced.
Interaction data is the data that transmits when interacting, and have recorded interactive key data, including:Mutual accounts, friendship Mutual type and interaction numerical value, for example:Mutual accounts can include:Residual flow account, using flow account, pay user, receive Pay businessman etc.;Type of interaction can include:" using " " payment ", " gathering ", " transferring accounts " and " supplementing with money " etc., interaction numerical value are to hand over The numerical value for mutually making account increase or reduce, is typically made up of numeral and unit, such as:100 yuan, 200M.According to interaction During account's delta data of data and pre-conditioned acquisition target account, interaction data is united according to mutual accounts first Meter, using statistics result as target account target interaction data;Then according to the type of interaction in target interaction data and The pre-conditioned increase numerical value to target interaction data and minimizing numerical value are counted, and the result of statistics is tired out as target account The numerical value that meter increases and reduces, namely the delta data of target account.
For example:The interaction occurred in the preset time period is:Certain commodity price is 100 yuan, pays user to buy this Commodity pay 98 yuan, and promotion root pays 2 yuan according to the promotion rule of the commodity by the 3rd account, the commodity by a pair business 100 yuan of family's gathering, and the commodity are supplied to payment user.Interaction data in the data exchange process is:Pay user Pay 98 yuan, the 3rd account pay 2 yuan, by pay businessman collect money 100 yuan, include in interaction data mutual accounts, type of interaction and Interaction numerical value, wherein mutual accounts include:Pay user, the 3rd account, receive to pay a businessman, type of interaction includes:Pay, collect money, Interaction numerical value includes:98 yuan, 2 yuan, 100 yuan.Interaction data is counted according to mutual accounts first, using statistics as Target interaction data, target interaction data is:Mutual accounts:Pay user, type of interaction:Pay, interaction numerical value:98 yuan;Hand over Mutual account:3rd account, type of interaction:Pay, interaction numerical value:2 yuan;Mutual accounts:By a pair businessman, type of interaction:Gathering, hands over Mutual numerical value:100 yuan.Then carried out according to type of interaction and the pre-conditioned increase numerical value to target interaction data and minimizing numerical value Count, statistics is:Paying user reduces 98 yuan, and the 3rd account reduces 2 yuan, increased 100 yuan by businessman is paid.The system Meter result is exactly the numerical value that target account accumulates and reduces, and is the delta data of target account.
For another example:" reimbursement of employee's urban transit system " this data exchange process for enterprise:Employee's first submits an expense account which to company 78 yuan of business traveling, company submit an expense account its transportation expenses by cash on hand for employee's first, and interaction data is:" cash on hand " account 78 yuan of " reimbursement ", 78 yuan of " running cost-traveling expenses " account " book keeping operation ".For Company Account, it is somebody's turn to do " data interaction " and causes " stock Cash " account and " running cost-traveling expenses " account change, wherein the type of interaction of 78 yuan of " cash on hand " account " reimbursement " For " reimbursement ", which is corresponding pre-conditioned for reducing, and the type of interaction that 78 yuan of " running cost-traveling expenses " account " book keeping operation " is " note Account ", its are corresponding pre-conditioned for increasing, and according to mutual accounts, type of interaction, pre-conditioned the transaction data are united Count, the account's delta data for obtaining company is:" cash on hand " account reduces 78 yuan, and " running cost-traveling expenses " account increases 78 yuan.
Alternatively, device also includes:First request unit, for server obtain target account in preset time period Before interaction data and current account data, after interactive system interacts process according to Client-initiated interaction request, And before interactive system returns result, initiate to check request to audit system by interactive system, wherein, check that request is used Current account data are compared according to the interaction data for currently interacting in request whether consistent with the second account data.
Check that request can be realized real-time processing being carried out to current interaction data by sending to audit system, that is, interacting System completes the process to the interaction according to the interaction request of user, is accordingly changed it including target account according to the interaction Afterwards, and before the result is returned to user by interactive system, send to audit system and check request, ask to this Whether interaction is processed, i.e., complete to compare current account data by said method consistent with the second account data..
Alternatively, device also includes:Judging unit, for obtaining target account interaction in preset time period in server Before data and current account data, judge whether current time interval meets the default triggering cycle by server;Second please Unit is sought, for initiating to check request when current time interval meets the default triggering cycle by server, wherein, checking please Ask for request whether compare current account data to the interaction data in current time interval consistent with the second account data.
The time cycle for checking request is sent by presetting, the cyclical process to account data can also be realized, I.e. when current time interval meets preset time period, send to audit system and check request, ask to current time interval The interaction data of interior generation is processed, and whether completes to compare current account data and the second account data by said method Unanimously.
Alternatively, in preset time period, interaction data includes that the data of current interaction, device also include:First result list Unit, whether consistent with the second account data for comparing current account data in server, after obtaining comparative result, comparing When as a result indicating that current account data are consistent with the second account data, determine that current interaction is normal by server;Second result Unit, whether consistent with the second account data for comparing current account data in server, after obtaining comparative result, than Indicate that current account data are inconsistent with the second account data compared with result, determine that current interaction is abnormal by server, and to different Normal current interaction is marked.
By above-mentioned method complete to compare current account data whether consistent with the second account data after, can according to than Compared with result processed accordingly, comparative result is:Current account data are consistent with the second account data, then current data is handed over Mutually normal, interaction next time can be waited to occur and to the interactive number next time or in the next time period without processing According to being processed;Comparative result is:Current account data and the second account data are inconsistent, then current data interaction is abnormal, can To be marked to current interaction, or carry out other process.
Embodiment 4
According to embodiments of the present invention, a kind of server for implementing the processing method of above-mentioned data, such as Fig. 7 are additionally provided Shown, the server mainly includes processor 701, memory 702 and network interface 703, wherein:
Memory 702 is mainly used in storing pre-conditioned, is obtained according to pre-conditioned, the first account data and interaction data Intermediate data during second account data, and the comparative result of current account data and the second account data.
Network interface 703 is mainly used in carrying out network service with interactive system, obtain the first account data, interaction data with And current account data etc..
Processor 701 is mainly used in executing following operation:
Obtain target account interaction data and current account data in the preset time period;According to interaction data and default bar Part obtains account delta data of the target account in preset time period, wherein, pre-conditioned for representing interaction data indication The interaction that shows causes the account data of target account to increase and decrease situation;Second is obtained according to the first account data and account's delta data Account data, wherein, the first account data be target account the initial time of preset time period data, the second account data It is the data after the first account data changes according to account's delta data;Relatively whether current account data and the second account data Unanimously, comparative result is obtained.
Processor 701 is additionally operable to the acquisition mutual accounts from interaction data, type of interaction and interaction numerical value;According to interaction Account, type of interaction and interaction numerical value determine the numerical value that target account accumulates in preset time period or reduces;Will be tired The numerical value of meter increase or minimizing is used as account's delta data.
Processor 701 is additionally operable to the target interaction data for counting target account according to mutual accounts;Number is interacted according to target Increase and minimizing according to interaction numerical value in middle type of interaction and pre-conditioned statistics target account;The interactive numerical value that accumulates and The interactive numerical value of minimizing, the numerical value for being accumulated or being reduced.
Processor 701 is additionally operable to after interactive system interacts process according to Client-initiated interaction request, and is handed over Before mutually system returns result, initiate to check request to audit system, wherein, check that request is used for asking according to current friendship Whether mutual interaction data compares current account data consistent with the second account data.
Processor 701 is additionally operable to judge whether current time interval meets the default triggering cycle;Full in current time interval Initiate to check request when foot presets the triggering cycle, wherein, check request for request to the interaction data in current time interval Whether relatively current account data are consistent with the second account data.
Processor 701 is additionally operable to, when comparative result indicates that current account data are consistent with the second account data, determine and work as Front interaction is normal;When comparative result indicates that current account data are inconsistent with the second account data, determine that current interaction is abnormal, And abnormal current interaction is marked.
Alternatively, the specific example in the present embodiment may be referred to be retouched in above-described embodiment 1, embodiment 2 and embodiment 3 The example that states, the present embodiment will not be described here.
Embodiment 5
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can For storing the program code of the processing method of the data of the embodiment of the present invention.
Alternatively, in the present embodiment, above-mentioned storage medium may be located at mobile communications network, wide area network, Metropolitan Area Network (MAN) or At least one of multiple network equipments in the network of the LAN network equipment.
Alternatively, in the present embodiment, storage medium is arranged to store the program code for being used for executing following steps:
S1, obtains target account interaction data and current account data in the preset time period;
S2, according to the account's delta data of interaction data and pre-conditioned acquisition target account in preset time period, its In, pre-conditioned for represent the interaction indicated by interaction data cause target account account data increase and decrease situation;
S3, obtains the second account data according to the first account data and account's delta data, and wherein, the first account data is Data of the target account in the initial time of preset time period, the second account data are that the first account data changes number according to account Data after according to change;
S4, whether with second account data consistent, obtain comparative result if comparing current account data.
Alternatively, in the present embodiment, above-mentioned storage medium can be included but is not limited to:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. is various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor is executed from interaction number according to the program code for having been stored in storage medium Acquisition mutual accounts, type of interaction and interaction numerical value according in;Target is determined according to mutual accounts, type of interaction and interaction numerical value The numerical value that account accumulates in preset time period or reduces;The numerical value for accumulating or reduce is changed as account Data.
Alternatively, in the present embodiment, processor is executed according to interaction according to the program code for having been stored in storage medium Account counts the target interaction data of target account;According to type of interaction in target interaction data and pre-conditioned statistics target account The increase and minimizing of interaction numerical value in family;The interactive numerical value that accumulates and the interactive numerical value for reducing, accumulated or The numerical value of minimizing.
Alternatively, in the present embodiment, processor is executed in interaction system according to the program code for having been stored in storage medium After system interacts process according to Client-initiated interaction request, and before interactive system returns result, audit system Request is checked in initiation, wherein, checks request for asking to compare current account data and the according to the interaction data for currently interacting Whether two account datas are consistent.
Alternatively, in the present embodiment, processor is executed according to the program code for having been stored in storage medium and is judged currently Whether time interval meets the default triggering cycle;Initiate to check request when current time interval meets the default triggering cycle, its In, check that request is compared current account data for request and with the second account data is to the interaction data in current time interval No consistent.
Alternatively, in the present embodiment, processor is executed according to the program code for having been stored in storage medium and is comparing knot When fruit indicates that current account data are consistent with the second account data, determine that current interaction is normal;Current account is indicated in comparative result When user data is inconsistent with the second account data, determine that current interaction is abnormal, and abnormal current interaction is marked.
Alternatively, the specific example in the present embodiment may be referred to be retouched in above-described embodiment 1, embodiment 2 and embodiment 3 The example that states, the present embodiment will not be described here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
If the integrated unit in above-described embodiment is realized and as independent product using in the form of SFU software functional unit When sale or use, can be stored in the storage medium that above computer can read.It is based on such understanding, the skill of the present invention The part or all or part of the technical scheme that art scheme is substantially contributed to prior art in other words can be with soft The form of part product is embodied, and the computer software product is stored in storage medium, is used so that one including some instructions Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the invention State all or part of step of method.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, do not had in certain embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, other sides can be passed through Formula is realized.Wherein, device embodiment described above is only schematic, the division of for example described unit, and only one Kind of division of logic function, can have when actually realizing other dividing mode, for example multiple units or component can in conjunction with or Another system is desirably integrated into, or some features can be ignored, or do not executed.Another, shown or discussed mutual it Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module Connect, can be electrical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (13)

1. a kind of processing system of data, it is characterised in that the processing system of the data is communicated with interactive system, including:
Receiving unit, checks request for receiving from the interactive system;
According to described, first acquisition unit, for checking that request obtains target account from the interactive system in preset time period Interior interaction data and current account data;
Second acquisition unit, for according to the interaction data and the pre-conditioned acquisition target account in the Preset Time Account's delta data in section, wherein, described pre-conditioned described for representing that the interaction indicated by the interaction data causes The account data increase and decrease situation of target account;
3rd acquiring unit, for obtaining the second account data according to the first account data and account's delta data, wherein, First account data is data of the target account in the initial time of the preset time period, the second account number According to be first account data according to account's delta data change after data;
Comparing unit, whether consistent with second account data for the comparison current account data, obtain comparative result.
2. a kind of processing method of data, it is characterised in that include:
Server obtains target account interaction data and current account data in the preset time period;
The server is according to the interaction data and the pre-conditioned acquisition target account in the preset time period Account's delta data, wherein, described pre-conditioned for representing that the interaction indicated by the interaction data causes the target account The account data increase and decrease situation at family;
The server obtains the second account data according to the first account data and account's delta data, wherein, described the One account data is data of the target account in the initial time of the preset time period, and second account data is institute The first account data is stated according to the data after account's delta data change;
Whether the server current account data are consistent with second account data, obtain comparative result.
3. method according to claim 2, it is characterised in that the server is according to the interaction data and pre-conditioned Obtaining account delta data of the target account in the preset time period includes:
Acquisition mutual accounts of the server from the interaction data, type of interaction and interaction numerical value;
The server determines the target account in institute according to the mutual accounts, the type of interaction and the interactive numerical value State the numerical value for accumulating in preset time period or reducing;
The server is using the numerical value for accumulating or reducing as account's delta data.
4. method according to claim 3, it is characterised in that the server is according to the mutual accounts, the interaction Type and the interactive numerical value determine the numerical value bag that the target account accumulates in the preset time period or reduces Include:
The server counts the target interaction data of the target account according to the mutual accounts;
The server is according to type of interaction described in the target interaction data and the pre-conditioned statistics target account The increase and minimizing of interaction numerical value described in family;
Described interactive numerical value that the server accumulates and the described interactive numerical value for reducing, obtain described accumulate or The numerical value of minimizing.
5. method according to claim 2, it is characterised in that obtain target account in server and hand in preset time period Before mutual data and current account data, methods described also includes:
After interactive system interacts process according to Client-initiated interaction request, and the interactive system is returned and processes knot Before fruit, the interactive system is initiated to check request to audit system, and wherein, described checking asks to be handed over according to current for request Whether the mutual interaction data current account data are consistent with second account data.
6. method according to claim 2, it is characterised in that obtain target account in server and hand in preset time period Before mutual data and current account data, methods described also includes:
The server judges whether current time interval meets the default triggering cycle;
The server initiates to check request when the current time interval meets the default triggering cycle, wherein, described Check request for request to interaction data in the current time interval current account data and second account Whether data are consistent.
7. the method according to any one of claim 2 to 6, it is characterised in that interaction data in the preset time period Including the data for currently interacting, in the server current account data and second account data whether Cause, after obtaining comparative result, methods described also includes:
If the comparative result indicates that the current account data are consistent with second account data, the server determines The current interaction is normal;
If the comparative result indicates that the current account data are inconsistent with second account data, the server is true The fixed current interaction is abnormal, and abnormal described current interaction is marked.
8. a kind of processing meanss of data, it is characterised in that include:
Data capture unit, for obtaining target account interaction data and current account number in the preset time period by server According to;
Data variation unit, for by the server according to the interaction data and the pre-conditioned acquisition target account Account's delta data in the preset time period, wherein, described pre-conditioned for representing indicated by the interaction data Interaction cause the target account account data increase and decrease situation;
Gross data unit, for obtaining second by the server according to the first account data and account's delta data Account data, wherein, first account data is data of the target account in the initial time of the preset time period, Second account data is the data after first account data changes according to account's delta data;
As a result unit, for by the server current account data and second account data whether Cause, obtain comparative result.
9. device according to claim 8, it is characterised in that the data variation unit includes:
Data module, for the acquisition mutual accounts by the server from the interaction data, type of interaction and interaction Numerical value;
Determining module, for true according to the mutual accounts, the type of interaction and the interactive numerical value by the server The numerical value that the fixed target account in the preset time period accumulates or reduce;
Change module, for changing number using the numerical value for accumulating or reducing as the account by the server According to.
10. device according to claim 9, it is characterised in that the determining module includes:
First statistic submodule, for being handed over according to the target that the mutual accounts count the target account by the server Mutual data;
Second statistic submodule, for by the server according to type of interaction described in the target interaction data and described The pre-conditioned increase and minimizing for counting interaction numerical value described in the target account;
Accumulative submodule, for the described interactive numerical value accumulated by the server and the described interactive numerical value of minimizing, Obtain the numerical value for accumulating or reducing.
11. devices according to claim 8, it is characterised in that described device also includes:
First request unit, for obtaining target account interaction data and current account data in preset time period in server Before, after interactive system interacts process according to Client-initiated interaction request, and the interactive system return is processed As a result before, initiate to check request to audit system by the interactive system, wherein, described checking asks to be used for asking basis Currently whether the interaction data of the interaction current account data are consistent with second account data.
12. devices according to claim 8, it is characterised in that described device also includes:
Judging unit, for server obtain target account in preset time period interaction data and current account data it Before, judge whether current time interval meets the default triggering cycle by the server;
Second request unit, for being sent out when the current time interval meets the default triggering cycle by the server Rise and check request, wherein, described checking is asked for request current account more described to the interaction data in current time interval Whether user data is consistent with second account data.
13. devices according to any one of claim 8 to 12, it is characterised in that interaction number in the preset time period According to the data for including currently interacting, described device also includes:
First result unit, in the server current account data and second account data whether Cause, after obtaining comparative result, indicate that the current account data are consistent with second account data in the comparative result When, determine that the current interaction is normal by the server;
Second result unit, in the server current account data and second account data whether Cause, after obtaining comparative result, indicate that the current account data are differed with second account data in the comparative result Cause, determine that the current interaction is abnormal by the server, and abnormal described current interaction is marked.
CN201610915150.4A 2016-10-20 2016-10-20 Data processing method, system and device Active CN106503977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610915150.4A CN106503977B (en) 2016-10-20 2016-10-20 Data processing method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610915150.4A CN106503977B (en) 2016-10-20 2016-10-20 Data processing method, system and device

Publications (2)

Publication Number Publication Date
CN106503977A true CN106503977A (en) 2017-03-15
CN106503977B CN106503977B (en) 2021-04-09

Family

ID=58318031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610915150.4A Active CN106503977B (en) 2016-10-20 2016-10-20 Data processing method, system and device

Country Status (1)

Country Link
CN (1) CN106503977B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980684A (en) * 2017-03-31 2017-07-25 电信科学技术第五研究所 The realization method and system that a kind of large-scale information system data stream type is checked
CN110599026A (en) * 2019-09-09 2019-12-20 北京搜狗科技发展有限公司 Data processing method and device for data processing

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710410A (en) * 2009-10-28 2010-05-19 金蝶软件(中国)有限公司 Method and system for checking accounting data
CN101976419A (en) * 2010-10-19 2011-02-16 中国工商银行股份有限公司 Processing method and system for risk monitoring and controlling of transaction data
CN103325032A (en) * 2012-03-21 2013-09-25 阿里巴巴集团控股有限公司 Data processing method and device
CN103577571A (en) * 2013-10-31 2014-02-12 北京奇虎科技有限公司 Data processing method and device
CN103778584A (en) * 2012-10-23 2014-05-07 鸿富锦精密工业(深圳)有限公司 Patent fee auditing system and method
CN103955854A (en) * 2014-04-28 2014-07-30 华为技术有限公司 Account management device and method
CN104732441A (en) * 2015-04-07 2015-06-24 中国农业银行股份有限公司 Data checking method and device applicable to fund consignment sale mechanism
CN105719143A (en) * 2014-12-01 2016-06-29 阿里巴巴集团控股有限公司 Data verification method and device
CN105790952A (en) * 2016-02-29 2016-07-20 上海诺亚投资管理有限公司 Verification system and verification method of user information
CN105847367A (en) * 2016-03-30 2016-08-10 乐视控股(北京)有限公司 Service request processing method and apparatus

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710410A (en) * 2009-10-28 2010-05-19 金蝶软件(中国)有限公司 Method and system for checking accounting data
CN101976419A (en) * 2010-10-19 2011-02-16 中国工商银行股份有限公司 Processing method and system for risk monitoring and controlling of transaction data
CN103325032A (en) * 2012-03-21 2013-09-25 阿里巴巴集团控股有限公司 Data processing method and device
CN103778584A (en) * 2012-10-23 2014-05-07 鸿富锦精密工业(深圳)有限公司 Patent fee auditing system and method
CN103577571A (en) * 2013-10-31 2014-02-12 北京奇虎科技有限公司 Data processing method and device
CN103955854A (en) * 2014-04-28 2014-07-30 华为技术有限公司 Account management device and method
CN105719143A (en) * 2014-12-01 2016-06-29 阿里巴巴集团控股有限公司 Data verification method and device
CN104732441A (en) * 2015-04-07 2015-06-24 中国农业银行股份有限公司 Data checking method and device applicable to fund consignment sale mechanism
CN105790952A (en) * 2016-02-29 2016-07-20 上海诺亚投资管理有限公司 Verification system and verification method of user information
CN105847367A (en) * 2016-03-30 2016-08-10 乐视控股(北京)有限公司 Service request processing method and apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980684A (en) * 2017-03-31 2017-07-25 电信科学技术第五研究所 The realization method and system that a kind of large-scale information system data stream type is checked
CN106980684B (en) * 2017-03-31 2020-04-17 电信科学技术第五研究所有限公司 Method and system for realizing data flow audit of large-scale informatization system
CN110599026A (en) * 2019-09-09 2019-12-20 北京搜狗科技发展有限公司 Data processing method and device for data processing
CN110599026B (en) * 2019-09-09 2022-07-05 北京搜狗科技发展有限公司 Data processing method and device for data processing

Also Published As

Publication number Publication date
CN106503977B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN103038790B (en) Effective stored value card transactions
CN108876497B (en) Resource transfer method and device and third-party server
US20140250011A1 (en) Account type detection for fraud risk
KR101794221B1 (en) System and method for providing calculation of online sellers
CN110827141A (en) Supply chain financial stock pledge management system and method
CN106469377A (en) Return of goods information processing method and device
CN109409856A (en) Reimbursement information processing method and device
CN104462977A (en) Data processing method and system
CN108647972A (en) Transaction authentication mode determines method, push server and system
CN109409836A (en) Data application processing method and device, electronic equipment, storage medium
CN109615389A (en) Electronic-payment transaction risk control method, device, server and storage medium
KR20060039033A (en) System and method for providing partial payment in the electronic commerce
CN1987919A (en) Exciting method and system for enterprise credit in electronic business
CN107730314A (en) Information acquisition method, device, electronic equipment and computer-readable recording medium
CN108711013A (en) Abnormal behaviour determines method, apparatus, equipment and storage medium
CN110910155A (en) Information processing apparatus, recording medium, and information processing method
US20070179933A1 (en) Method and system for providing information on article of commerce
CN112446712A (en) Merged return processing method, merged return processing device, electronic equipment and storage medium
CN106503977A (en) The processing method of data, system and device
KR20210035616A (en) Automated trading system and method
CN106934610A (en) Solve the method and system of the virtual account gathering difference of foreign trade electric business platform bank
CN113793200A (en) Information interaction method and device
CN110838062A (en) Supply chain financial cash collection management system and method
CN106651382A (en) Method and device for recognizing business type of business operation
KR20070018325A (en) Methods for paying for distribution consign cost for electronic commerce in accordance with the satisfaction of buyer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant