CN108345516A - A kind of account is moved back method, apparatus and equipment - Google Patents

A kind of account is moved back method, apparatus and equipment Download PDF

Info

Publication number
CN108345516A
CN108345516A CN201810018524.1A CN201810018524A CN108345516A CN 108345516 A CN108345516 A CN 108345516A CN 201810018524 A CN201810018524 A CN 201810018524A CN 108345516 A CN108345516 A CN 108345516A
Authority
CN
China
Prior art keywords
account
weight
moved back
moving back
relevant information
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
CN201810018524.1A
Other languages
Chinese (zh)
Other versions
CN108345516B (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.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810018524.1A priority Critical patent/CN108345516B/en
Priority to CN202310092112.3A priority patent/CN116089169A/en
Publication of CN108345516A publication Critical patent/CN108345516A/en
Application granted granted Critical
Publication of CN108345516B publication Critical patent/CN108345516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/142Reconfiguring to eliminate the error
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/80Database-specific techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

This specification embodiment discloses a kind of account and moves back method, apparatus and equipment.Reflect the book keeping operation frequency and business importance of account by many factors such as account number classification of synthetic user account historical transaction data, account pattern, account, the comprehensive significance level of moving back for obtaining account, to move back according to the sequence of the significance level.

Description

A kind of account is moved back method, apparatus and equipment
Technical field
This specification is related to field of computer technology more particularly to a kind of account is moved back method, apparatus and equipment.
Background technology
Database surprisingly occurs network failure or by unexpected abnormal end, causes all services unavailable, referred to as database Failover, abbreviation FO (are usually happened on master library).The database, component or service recovery that are previously in malfunction are arrived Original working condition, and back-up system is made to be restored to the process of standby mode, referred to as database from the state of resuming operation Failback, abbreviation FB.
During FB, after master library disaster, pull-up generally requires the regular hour for library, during this period of time, is Guarantee business is normally carried out, and library FO (Failover) (being referred to as interim master library) will be written in account data.To standby After the pull-up of library, need the account data in the libraries FO master library (standby library) being written again, referred to as account is moved back.It moves back process in account In, it is needed for business, should ensure that hot spot account (account that transaction is frequent or importance is high) is preferentially moved back.
Based on this, a kind of more effective account is needed to move back method.
Invention content
This specification embodiment provides a kind of account and moves back method, apparatus and equipment, as follows for solving the problems, such as:To provide A kind of more effective account is moved back method.
Based on this, this specification embodiment provides a kind of account and moves back method, including:
Obtain the relevant information of account to be moved back;
The weight of moving back of respectively account to be moved back is determined according to the relevant information;
According to the size order of the weight of moving back, carries out account and move back;
The relevant information of the wherein described account to be moved back includes the size of account historical transaction data to be moved back, account At least one of pattern and account.
Meanwhile the embodiment of this specification also provides a kind of account and moves back device, including:
Acquisition module obtains the relevant information of account to be moved back, wherein the relevant information of the account to be moved back includes waiting for It moves back at least one of size, account pattern and the account of account historical transaction data;
Determining module determines the weight of moving back of respectively account to be moved back according to the relevant information;
Module of moving back carries out account and moves back according to the size order of the weight of moving back.
Corresponding, this specification embodiment also provides a kind of account and moves back equipment, including:
Memory is stored with account and moves back program;
Processor calls the account in the memory to move back program, and executes:
Obtain the relevant information of account to be moved back;
The weight of moving back of respectively account to be moved back is determined according to the relevant information;
According to the size order of the weight of moving back, carries out account and move back;
The relevant information of the wherein described account to be moved back includes the size of account historical transaction data to be moved back, account At least one of pattern and account.
Corresponding, the embodiment of this specification also provides a kind of nonvolatile computer storage media, is stored with computer Executable instruction, the computer executable instructions are set as:
Obtain the relevant information of account to be moved back;
The weight of moving back of respectively account to be moved back is determined according to the relevant information;
According to the size order of the weight of moving back, carries out account and move back;
The relevant information of the wherein described account to be moved back includes the size of account historical transaction data to be moved back, account At least one of pattern and account.
Above-mentioned at least one technical solution that this specification embodiment uses can reach following advantageous effect:
Pass through synthetic user account historical transaction data, many factors such as account number classification of account pattern, account Reflect the book keeping operation frequency and business importance of account, the comprehensive significance level of moving back for obtaining account, to according to the important journey The sequence of degree is moved back, and is reduced frequent hot spot account of merchandising in the residence time in FB stages, is reduced impacted friendship to the greatest extent Easily number improves user experience.
Description of the drawings
The schematic diagram for the account snapshot data that Fig. 1 is provided by this specification embodiment;
Fig. 2 is the system architecture schematic diagram involved by this specification embodiment;
The account that Fig. 3 is provided by this specification embodiment is moved back the flow diagram of method;
The operation flow schematic diagram that Fig. 4 is provided by this specification embodiment;
The account that Fig. 5 is provided by this specification embodiment is moved back the structural schematic diagram of device.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.The embodiment of base in this manual, those of ordinary skill in the art are not having The every other embodiment obtained under the premise of creative work is made, shall fall in the protection scope of this application.
In general, the long-term database for providing database service to application is known as master library, at the same time, can also there is one It is a to pass through the consistent row of active and standby synchronous guarantee data, master library calamity for spare database (standby library) for backup of the library as master library Master library responsibility is undertaken after difficulty, becomes new master library.At the same time, it in some fields (such as payment technical field, financial field), needs to pacify Under the higher situation of full rank, there is also a snapshot databases.Snapshot database is different from standby library, is mainly used for master library just Often when operation, account is subjected to snapshot (for example, for recording account balance, daily variation, account fund in the data of master library Change detail etc.), as shown in FIG. 1, FIG. 1 is the schematic diagrames for the account snapshot data that this specification embodiment is provided.Change speech It, snapshot database is not a backup completely, but its simple situation for reflecting account historical transaction.Obviously, if firmly When part can be supported, the historical trading data in snapshot database also can more be filled to more recording carry out snapshot The history situation of one account of reflection divided.In other words, snapshot data is one kind of historical trading data, historical trading data Can be other more detailed transaction data.
When master library disaster, due to being synchronized etc. data, pull-up needs certain time for library as new master library, in order to subtract Few traffic lost, the libraries FO undertake the interim master library responsibility during standby library pull-up, receive normal service request, carry out at business Reason, for example, supporting the main business such as open an account, keep accounts under FO scenes, main business is highly usable under guarantee master library delay machine scene.
After new master library is established (being usually that standby library enables successfully), need that account, the note of business will be done in the libraries FO The data such as account voucher, xts affairs are moved back to new master library, and in this case, the needs for business are (for example, same notes account Both sides' account of request, an account are moved back to new master library and are completed, another is not moved back also in the libraries FO, due to two account roads By to two different databases, asking to be intercepted by affairs, book keeping operation being caused to fail, to which user asks reimbursement), in order to the greatest extent may be used Can the book keeping operation failure reduced at this stage, reduce the number of deals of automatic reimbursement, for moving back for account, need to analyze its important Degree ensures that the high account of importance is quickly moved back.
Based on foregoing teachings, this specification embodiment provides a kind of account and moves back method, by passing through synthetic user account Many factors, to reflect that the book keeping operation frequency and business importance of account, synthesis obtain the weight of moving back of account, thus according to The sequence for weight of moving back is moved back,
In the embodiment of this specification, framework as shown in Figure 2 can be used in the account method of moving back, and Fig. 2 is this This specification is described in detail below by based on framework as shown in Figure 2 in system architecture schematic diagram involved by specification embodiment The account that provides of embodiment move back process, which specifically includes following steps, as shown in figure 3, Fig. 3 is this specification implementation The account that is there is provided of example is moved back the flow diagram of method, including:
S301 obtains the relevant information of account to be moved back.
The relevant information of the account to be moved back includes the size of account historical transaction data to be moved back, account pattern At least one of with account.
Specifically, in the framework, account historical transaction data is stored in snapshot database, and the libraries FO are as interim Master library, which is seen from snapshot database, can obtain any account historical transaction snapshot data.Account pattern in general can be with It requires voluntarily to configure according to user, can be obtained from FO databases, account is mainly used for distinguishing the classification of the account, including right Public account, to private account and internal account etc., to judge the significance level of the account according to classification.
S303 determines the weight of moving back of respectively account to be moved back according to the relevant information.
Can according to some information move back the calculating of weight in this process based on foregoing teachings, example Such as, the size based on account historical transaction snapshot data, directly assigns weight, historical trading snapshot data data are bigger to be given Higher weight;Can also be that comprehensive multiple information move back the calculating of weight.For example, being based on account pattern and account The size of historical trading snapshot data, the common weight for determining account, moves back to carry out account.
S305 carries out account and moves back according to the size order of the weight of moving back.
Typically, active account and important account can have higher weight, account to move back then suitable according to weight height Sequence carries out.
By synthetic user account historical transaction data, account pattern, account many factors such as account number classification Reflect the book keeping operation frequency and business importance of account, the comprehensive significance level of moving back for obtaining account, to according to the important journey The sequence of degree is moved back, and is reduced frequent hot spot account of merchandising in the residence time in FB stages, is reduced impacted friendship to the greatest extent Easily number improves user experience.
The step S303 is respectively waited moving back according to relevant information determination as a kind of specific embodiment The weight of moving back of account may be used according to when account historical transaction data of moving back carries out weight calculation such as under type:
Determine the mean size of account historical transaction data;For any account to be moved back, calculates the account to be moved back and go through The ratio of the size of history transaction data and the mean size of the account historical transaction data generates the first weight factor;According to First weight factor calculates the weight of moving back of the account.
Specifically, the mean size of account historical transaction data can be the snapshot of all accounts in snapshot database The mean size of data, can also be need to be moved back account snapshot data mean size.That is, the first weight factor of setting α characterizes the significance level of account historical transaction data, wherein:The average snapshot of snapshot size/snapshot database of α=account Size, alternatively, the average snapshot size of the snapshot size of α=account/account to be moved back.In general, using former meter Calculation mode is more convenient, and it may be to be conducted batch-wise that account, which is moved back, more targeted using latter calculation.
The step S303 is respectively waited moving back according to relevant information determination as a kind of specific embodiment The weight of moving back of account may be used when carrying out weight calculation according to account pattern such as under type:
For any account to be moved back, the second weight factor of the account is determined according to its account pattern;Wherein, institute Accounting mode is stated to include time escrow, buffering book keeping operation or summarize book keeping operation;The account is calculated according to second weight factor It moves back weight.
Specifically, in payment is applied, general charge account supports three kinds of accounting modes:Time escrow summarizes Book keeping operation or buffering book keeping operation.Accounting mode can be configured previously according to the actual demand of account.
Time escrow, as its name suggests, be exactly after the completion of account remaining sum change in real time.Summarize book keeping operation, with time escrow On the contrary, only record summarizes book keeping operation detail i.e. after the completion of account, account balance is not changed, summarizes whole variation again when cutting day Volume, it is primary to embody onto remaining sum.Buffering book keeping operation is time escrow and summarizes the trade-off of book keeping operation, the account of configuration buffering book keeping operation Family, keeping accounts when completing, equally only record buffer book keeping operation is detailed, and book keeping operation to be buffered restores timed task to take specified quantity detail, meter Primary to embody onto remaining sum after calculating this variation volume, the variation frequency of account balance depends on the frequency of timed task at this time.
In other words, setting is needed to summarize the account of book keeping operation or buffering book keeping operation, usually easy hot spot account, account transaction Measure more, account is more important.Therefore, the account for summarizing book keeping operation or buffering book keeping operation should be given to give higher weight factor.
For example, the significance level of setting the second weight factor β characterization account patterns, wherein:If current account configures Summarize book keeping operation or buffering book keeping operation, then β=0.6;If current account accounting mode is time escrow, β=0.4.
The step S303 is respectively waited moving back according to relevant information determination as a kind of specific embodiment The weight of moving back of account may be used when carrying out weight calculation according to user account such as under type:
For any account to be moved back, the specific field in its account is obtained;According to the value of the specific field, determining should The third weight factor of account;The weight of moving back of the account is calculated according to the third weight factor.
As previously mentioned, the account of customer account, classification to public account, to private account and partial interior account, to public account Number include company, merchant account, to the remaining sum family (including buyer and seller) of private account, that is, user;To above-mentioned different classes of Account, usually by being distinguished on the specific field of account number.
For example, coding 21881XXXXXXXXXXXXXX is merchant account, 21882XXXXXXX XXXXXXX are personal remaining sum Family, 21883XXXXXXXXXXXXXX are inter-account, pass through the different account classification of preceding 5 determinations of beginning.
In general, the portfolios such as merchant account transfers accounts, makes loans, reimbursement are all higher than personal remaining sum family;A small amount of inside family Usually transition family, guarantee family etc., book keeping operation amount is also much larger than personal remaining sum family.Based on this, inter-account or quotient can be given in advance Family account gives higher weight factor.
For example, the significance level of setting third weight factor γ characterization account classifications, wherein:If current account be 21881, 21883 start accounts, then γ=0.6, if current account is 21882 beginning accounts, γ=0.4.
Above-mentioned the second weight factor β and third weight factor γ can be based on experience and be manually set, and can also actually answer With middle basis move back business result into Mobile state adjust.
As previously mentioned, for the weight of moving back of account to be moved back, can be based on some weight factor, can also be base It is obtained in the combined calculation of several weight factors, for example, the weight of moving back that current account is arranged is:Weight of moving back Weight (account)=α * β * γ * 100.Obviously, specific calculation formula can be adjusted according to practical situation, be not restricted to State formula.
Above-mentioned weight calculation of moving back can carry out immediately, and as a kind of specific embodiment, preceding method is also Including:Weight of moving back described in storage is to local.Local herein refers to serving as the FO databases of interim master library, for example, should Value assigns in FO record sheets (ip_failover_record), needs to carry out size order when account is moved back according to weight of moving back Progress, task formulation can be timed by prestoring weighted value of moving back, more convenient, and improve efficiency.It is returned in basis It moves weight to carry out in the concrete application that account is moved back, flow chart is as shown in figure 4, what Fig. 4 was provided by this specification embodiment Operation flow schematic diagram.
The following example for providing a concrete application is understood so that the scheme of this specification embodiment is more plain.
In an illustrative scheme of moving back, the weight of moving back that account is determined in advance uses following calculation:It moves back Weight Weight (account)=α * β * γ * 100.Wherein, snapshot size/snapshot data of the first weight factor α=account The average snapshot size of the average snapshot size in library, recent snapshot database is 50K;If current account be configured with summarize book keeping operation or Person buffers book keeping operation, then the second weight factor β=2;If current account accounting mode is time escrow, the second weight factor β= 1;If current account is 21881 or 21883 beginning accounts, third weight factor γ=0.6, if current account is 21882 Start account, then third weight factor γ=0.4.
Now there are two account, A accounts are 21883XXXXXXXXXXXXXX, are kept accounts using summarizing, the snapshot size of the account For 150K;B accounts are 21882XXXXXXXXXXXXXX, and using time escrow, account snapshot size is 500K.By above-mentioned The scheme of moving back can obtain:For A accounts, α=3, β=2, γ=0.6, to weight Weight (the A)=3*2* that moves back 0.6*100=360, for B accounts, α=10, β=1, γ=0.4, to weight Weight (the B)=10*1* that moves back 0.4*100=400.That is, reflecting that B accounts are a more active, more frequent account of transaction, Ying You from weight of moving back First move back to B accounts.
Based on same thinking, move back device the present invention also provides a kind of account, as shown in figure 5, Fig. 5 is that this specification is real The account that example is provided is applied to move back the structural schematic diagram of device, including:
Acquisition module 501 obtains the relevant information of account to be moved back, wherein the relevant information of the account to be moved back includes At least one of size, account pattern and account of account historical transaction data to be moved back;
Determining module 503 determines the weight of moving back of respectively account to be moved back according to the relevant information;
Module of moving back 505 carries out account and moves back according to the size order of the weight of moving back.
Further, the determining module 503 determines the mean size of account historical transaction data;It is waited for back for any Account is moved, the ratio of the size of the account historical transaction data to be moved back and the mean size of the account historical transaction data is calculated Value generates the first weight factor;The weight of moving back of the account is calculated according to first weight factor.
Further, the determining module 503, for any account to be moved back, being determined according to its account pattern should Second weight factor of account;The weight of moving back of the account is calculated according to second weight factor;Wherein, the accounting mode Including time escrow, buffering book keeping operation or summarize book keeping operation.
Further, the determining module 503 obtains the specific field in its account for any account to be moved back;Root According to the value of the specific field, the third weight factor of the account is determined;The account is calculated according to the third weight factor It moves back weight;Wherein, the specific field is for distinguishing account classification.
Further, described device further includes memory module 507, weight of moving back described in storage to local.
Corresponding, the embodiment of the present application also provides a kind of account and moves back equipment, and the equipment includes:
Memory is stored with account and moves back program;
Processor calls the account in the memory to move back program, and executes:
Obtain the relevant information of account to be moved back;
The weight of moving back of respectively account to be moved back is determined according to the relevant information;
According to the size order of the weight of moving back, carries out account and move back;
The relevant information of the wherein described account to be moved back includes the size of account historical transaction data to be moved back, account At least one of pattern and account.
Based on same invention thinking, the embodiment of the present application also provides a kind of corresponding non-volatile computer storage Jie Matter, is stored with computer executable instructions, and the computer executable instructions are set as:
Obtain the relevant information of account to be moved back;
The weight of moving back of respectively account to be moved back is determined according to the relevant information;
According to the size order of the weight of moving back, carries out account and move back;
The relevant information of the wherein described account to be moved back includes the size of account historical transaction data to be moved back, account At least one of pattern and account.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For equipment and medium class embodiment, since it is substantially similar to the method embodiment, so description is fairly simple, related place Illustrate referring to the part of embodiment of the method, just no longer repeats one by one here.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the action recorded in detail in the claims or step or module can be according to different from embodiments Sequence executes and desired result still may be implemented.In addition, the process described in the accompanying drawings is not necessarily required and is shown Particular order or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing It is also possible or it may be advantageous.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " patrols Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method flow can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but not limited to following microcontroller Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that in addition to Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic Controller is obtained in the form of logic gate, switch, application-specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. to come in fact Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit is realized can in the same or multiple software and or hardware when the embodiment of specification.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), the data letter number and carrier wave of such as modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiment one or more in this specification can be provided as method, system or Computer program product.Therefore, complete hardware embodiment, complete software embodiment or combination can be used in the embodiment of this specification Form in terms of software and hardware.Moreover, it wherein includes computer that the embodiment of this specification, which can be used in one or more, The computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of usable program code The form of the computer program product of upper implementation.
The embodiment of this specification can retouch in the general context of computer-executable instructions executed by a computer It states, such as program module.Usually, program module include execute particular transaction or realize particular abstract data type routine, Program, object, component, data structure etc..The embodiment that this specification can also be put into practice in a distributed computing environment, at this In a little distributed computing environment, by executing affairs by the connected remote processing devices of communication network.It is counted in distribution It calculates in environment, program module can be located in the local and remote computer storage media including storage device.

Claims (11)

  1. A kind of method 1. account is moved back, including:
    Obtain the relevant information of account to be moved back;
    The weight of moving back of respectively account to be moved back is determined according to the relevant information;
    According to the size order of the weight of moving back, carries out account and move back;
    The relevant information of the wherein described account to be moved back includes the size of account historical transaction data to be moved back, account pattern At least one of with account.
  2. 2. the method as described in claim 1 determines the weight of moving back of respectively account to be moved back according to the relevant information, including:
    Determine the mean size of account historical transaction data;
    For any account to be moved back, the size of the account historical transaction data to be moved back and the account historical number of deals are calculated According to mean size ratio, generate the first weight factor;
    The weight of moving back of the account is calculated according to first weight factor.
  3. 3. the method as described in claim 1 determines the weight of moving back of respectively account to be moved back according to the relevant information, including:
    For any account to be moved back, the second weight factor of the account is determined according to its account pattern;
    The weight of moving back of the account is calculated according to second weight factor;
    Wherein, the accounting mode includes time escrow, buffering book keeping operation or summarizes book keeping operation.
  4. 4. the method as described in claim 1 determines the weight of moving back of respectively account to be moved back according to the relevant information, including:
    For any account to be moved back, the specific field in its account is obtained;
    According to the value of the specific field, the third weight factor of the account is determined;
    The weight of moving back of the account is calculated according to the third weight factor;
    Wherein, the specific field is for distinguishing account classification.
  5. 5. the method as described in claim 1, after determining the respectively weight of moving back of account to be moved back according to the relevant information, Further include:
    Weight of moving back described in storage is to local.
  6. The device 6. a kind of account is moved back, including:
    Acquisition module obtains the relevant information of account to be moved back, wherein the relevant information of the account to be moved back includes waiting moving back At least one of size, account pattern and account of account historical transaction data;
    Determining module determines the weight of moving back of respectively account to be moved back according to the relevant information;
    Module of moving back carries out account and moves back according to the size order of the weight of moving back.
  7. 7. device as claimed in claim 6, the determining module determine the mean size of account historical transaction data;For Any account to be moved back calculates the size of the account historical transaction data to be moved back and being averaged for the account historical transaction data The ratio of size generates the first weight factor;The weight of moving back of the account is calculated according to first weight factor.
  8. 8. device as claimed in claim 6, the determining module, for any account to be moved back, according to its account mould Formula determines the second weight factor of the account;The weight of moving back of the account is calculated according to second weight factor;Wherein, described Accounting mode includes time escrow, buffering book keeping operation or summarizes book keeping operation.
  9. 9. device as claimed in claim 6, the determining module obtains the finger in its account for any account to be moved back Determine field;According to the value of the specific field, the third weight factor of the account is determined;It is calculated according to the third weight factor The weight of moving back of the account;Wherein, the specific field is for distinguishing account classification.
  10. 10. device as claimed in claim 6 further includes memory module, weight of moving back described in storage to local.
  11. The equipment 11. a kind of account is moved back, including:
    Memory is stored with account and moves back program;
    Processor calls the account in the memory to move back program, and executes:
    Obtain the relevant information of account to be moved back;
    The weight of moving back of respectively account to be moved back is determined according to the relevant information;
    According to the size order of the weight of moving back, carries out account and move back;
    The relevant information of the wherein described account to be moved back includes the size of account historical transaction data to be moved back, account pattern At least one of with account.
CN201810018524.1A 2018-01-09 2018-01-09 Account back-moving method, device and equipment Active CN108345516B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810018524.1A CN108345516B (en) 2018-01-09 2018-01-09 Account back-moving method, device and equipment
CN202310092112.3A CN116089169A (en) 2018-01-09 2018-01-09 Account returning method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810018524.1A CN108345516B (en) 2018-01-09 2018-01-09 Account back-moving method, device and equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202310092112.3A Division CN116089169A (en) 2018-01-09 2018-01-09 Account returning method, device and equipment

Publications (2)

Publication Number Publication Date
CN108345516A true CN108345516A (en) 2018-07-31
CN108345516B CN108345516B (en) 2023-02-21

Family

ID=62960609

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810018524.1A Active CN108345516B (en) 2018-01-09 2018-01-09 Account back-moving method, device and equipment
CN202310092112.3A Pending CN116089169A (en) 2018-01-09 2018-01-09 Account returning method, device and equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202310092112.3A Pending CN116089169A (en) 2018-01-09 2018-01-09 Account returning method, device and equipment

Country Status (1)

Country Link
CN (2) CN108345516B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102450052A (en) * 2010-06-02 2012-05-09 华为技术有限公司 Method, equipment and system for processing data gateway load
CN104303197A (en) * 2012-03-19 2015-01-21 派奈特支付网络有限责任公司 Systems and methods for real-time account access
CN105677673A (en) * 2014-11-20 2016-06-15 阿里巴巴集团控股有限公司 Business processing method, device and system
CN105677675A (en) * 2014-11-20 2016-06-15 阿里巴巴集团控股有限公司 Business processing method and device
CN105868054A (en) * 2016-03-28 2016-08-17 上海上讯信息技术股份有限公司 Method and device for data backup in dual-computer system environment
CN106201354A (en) * 2016-07-12 2016-12-07 乐视控股(北京)有限公司 Date storage method and system
CN106383756A (en) * 2016-10-12 2017-02-08 郑州云海信息技术有限公司 Method for realizing disaster recovery switching of storage without interrupting Linux system service
US20170116205A1 (en) * 2015-10-22 2017-04-27 Dell Software, Inc. Email and Identity Migration Based on Multifactor Relationship Data Provided by Users and Systems
CN106919473A (en) * 2015-12-28 2017-07-04 阿里巴巴集团控股有限公司 A kind of data disaster recovery and backup systems and method for processing business
CN106970915A (en) * 2016-01-13 2017-07-21 阿里巴巴集团控股有限公司 A kind of processing method and processing device of operation system Data Migration

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102450052A (en) * 2010-06-02 2012-05-09 华为技术有限公司 Method, equipment and system for processing data gateway load
CN104303197A (en) * 2012-03-19 2015-01-21 派奈特支付网络有限责任公司 Systems and methods for real-time account access
CN105677673A (en) * 2014-11-20 2016-06-15 阿里巴巴集团控股有限公司 Business processing method, device and system
CN105677675A (en) * 2014-11-20 2016-06-15 阿里巴巴集团控股有限公司 Business processing method and device
US20170116205A1 (en) * 2015-10-22 2017-04-27 Dell Software, Inc. Email and Identity Migration Based on Multifactor Relationship Data Provided by Users and Systems
CN106919473A (en) * 2015-12-28 2017-07-04 阿里巴巴集团控股有限公司 A kind of data disaster recovery and backup systems and method for processing business
CN106970915A (en) * 2016-01-13 2017-07-21 阿里巴巴集团控股有限公司 A kind of processing method and processing device of operation system Data Migration
CN105868054A (en) * 2016-03-28 2016-08-17 上海上讯信息技术股份有限公司 Method and device for data backup in dual-computer system environment
CN106201354A (en) * 2016-07-12 2016-12-07 乐视控股(北京)有限公司 Date storage method and system
CN106383756A (en) * 2016-10-12 2017-02-08 郑州云海信息技术有限公司 Method for realizing disaster recovery switching of storage without interrupting Linux system service

Also Published As

Publication number Publication date
CN108345516B (en) 2023-02-21
CN116089169A (en) 2023-05-09

Similar Documents

Publication Publication Date Title
TWI752118B (en) A blockchain consensus method and device
WO2018099319A1 (en) Information presentation method and apparatus
CN108764864A (en) A kind of method, apparatus and equipment for configuring payment flow, executing payment flow
US20240242295A1 (en) Ticket processing
CN109213685A (en) Service logic test method and device
WO2022247969A1 (en) Payment method and device
CN104951977A (en) Cumulative balance based bank card utilization method and cumulative balance based bank card utilization device
CN110097468A (en) Fund redeems method, apparatus, equipment and system
CN110852503B (en) Payment channel selection method and device and payment channel route
CN108415792A (en) Disaster tolerance system, method, apparatus and equipment
WO2022247964A1 (en) Receipt processing method and apparatus, electronic device, and storage medium
CN109003071A (en) Method of payment, device and equipment
CN111882317A (en) Business processing system, readable storage medium and electronic device
CN110019277A (en) A kind of method, the method, device and equipment of data query of data accumulation
TW202032478A (en) Method, system and equipment for optimizing transaction cost
CN109146148A (en) A kind of determination method and device of remaining sum prediction deviation reason
CN108346039B (en) Service processing method, device and equipment of Internet financial settlement system
CN109003090A (en) risk control method and device
WO2020219185A1 (en) Tokenization request handling at a throttled rate in a payment network
CN108255471A (en) A kind of system configuration item configuration device based on configuration external member, method and apparatus
CN107918863A (en) Preposition processing and collocation method, device and equipment based on financial product
WO2024055779A1 (en) Bill processing method and apparatus
CN110264213A (en) A kind of processing method of information, device and equipment
CN108563693A (en) A kind of processing method of affairs, device and equipment
CN108345516A (en) A kind of account is moved back method, apparatus and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201020

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

Effective date of registration: 20201020

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240307

Address after: 128 Meizhi Road, Guohao Times City # 20-01, Singapore 189773

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands