CN104317953B - A kind of cross-section data backup method and system - Google Patents

A kind of cross-section data backup method and system Download PDF

Info

Publication number
CN104317953B
CN104317953B CN201410641390.0A CN201410641390A CN104317953B CN 104317953 B CN104317953 B CN 104317953B CN 201410641390 A CN201410641390 A CN 201410641390A CN 104317953 B CN104317953 B CN 104317953B
Authority
CN
China
Prior art keywords
account
time
transaction
field
lock
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.)
Active
Application number
CN201410641390.0A
Other languages
Chinese (zh)
Other versions
CN104317953A (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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201410641390.0A priority Critical patent/CN104317953B/en
Publication of CN104317953A publication Critical patent/CN104317953A/en
Application granted granted Critical
Publication of CN104317953B publication Critical patent/CN104317953B/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/1448Management of the data involved in backup or backup restore
    • 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/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • 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/02Banking, e.g. interest calculation or account maintenance

Landscapes

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

Abstract

Cross-section data backup method disclosed by the invention and system, carry out in time window accounting processing for banking system and existing demand conflict when account is merchandised, account mirror image field and lock in time field are added in account information database in advance, carried out with realizing in time window when the first stroke account after everyday cutting is merchandised, account field cross-section data at that time is backed up before the transaction is submitted and come into force, and the lock in time of real-time record at that time, carry out providing guarantee like clockwork for accounting processing;Simultaneously as having used account mirror image field to retain available cross-section data for accounting processing, so as to which banking system need not lock to account field again in time window, the content of account field can be modified according to the account trading situation of reality.So as to apply the 7*24 hours the invention can ensure that account is merchandised can use, limitation existing for account transaction in the prior art is eliminated.

Description

A kind of cross-section data backup method and system
Technical field
The invention belongs to the design of the database table of banking system and transactional services design field, more particularly to a kind of section Face data back up method and system.
Background technology
Banking system can carry out some necessary accounting processings, for example, every afterwards in daily fixed time as cut day Trading situation after its zero point for proxima luce (prox. luc) carries out Clearing, report form statistics etc..
Under such a scene, it is desirable to the field information of account class, account balance when being cut such as day, kept during managing in this place Constant, cross-section data when being cut with realizing using day carries out accurately accounting processing.Wherein, shared by the accounting processing Period can be referred to as time window.In time window, if banking system has on-line transaction, and change account is generated The demand of class field information, will mutually it conflict with the demand for keeping account class field information constant during accounting processing, so as to lead Cause on-line transaction to be rejected, ultimately result in on-line transaction failure.
As can be seen here, prior art can not ensure that the account transaction 7*24 hours of banking system can use (i.e. whole day can use), The account transaction that result in banking system has some limitations.
The content of the invention
In view of this, it is an object of the invention to provide a kind of cross-section data backup method and system, to solve existing skill The problem of account transaction can not be carried out in art in daily time window.
Therefore, the present invention is disclosed directly below technical scheme:
A kind of cross-section data backup method, including:
The submission request of account transaction is received, it is described to submit request to include target account, account type of transaction and turnover Degree;
Judge whether the account transaction meets following condition:The submission request of the account transaction is in time window And the account transaction is the first stroke account transaction after everyday cutting;
If the determination result is YES, then the accounts information of the target account is proceeded as follows:By account in target account The content of business mirror image field and lock in time field is changed to the cross-section data of account field in the target account and worked as respectively Preceding real-time time;The content of account field in target account is modified according to the type of transaction and transaction limit, and It is current real-time time by the content modification of time field in target account.
The above method, it is preferred that whether judge the submission request of the account transaction includes in time window:
The flag information of read access time window from default time window attribute field;
If it is opening that the flag information, which characterizes time window, the submission request of the account transaction is in the time In window;
If it is closed mode that the flag information, which characterizes time window, the submission request of the account transaction is in the time Outside window.
The above method, it is preferred that if the submission request of account transaction judges the account in time window Transaction whether be after everyday cutting the first stroke account transaction include:
Lock in time information is read from the lock in time field of the target account;
If the date in the lock in time information is not the date on the same day, account transaction is the after everyday cutting One account transaction;
If the date in the lock in time information is the date on the same day, account transaction is not the after everyday cutting One account transaction.
The above method, it is preferred that also include:
If judged result is no, according to the type of transaction and transaction limit to account field in the target account Content is modified, and is current real-time time by the content modification of time field in target account.
The above method, it is preferred that also include:
In time window, when receiving accounting processing request, read from the lock in time field of the target account Lock in time information;
If the date in the lock in time information is not the date on the same day, entered using the account field information of target account Row accounting processing;
If the date in the lock in time information is the date on the same day, using the account mirror image field information of target account Carry out accounting processing.
A kind of cross-section data standby system, including:
Receiving module, it is described to submit request to include target account, account transaction for receiving the submission request of account transaction Type and transaction limit;
Judge module, for judging whether the account transaction meets following condition:The submission request of the account transaction In time window and account transaction is the first stroke account transaction after everyday cutting;
First execution module, for when judged result is to be, being grasped as follows to the accounts information of the target account Make:The content of account mirror image field and lock in time field in target account is changed to account word in the target account respectively The cross-section data and current real-time time of section;According to the type of transaction and transaction limit to account field in target account Content is modified, and is current real-time time by the content modification of time field in target account.
Said system, it is preferred that the judge module includes the first judging unit and the second judging unit, wherein, it is described First judging unit includes:
First reads subelement, the flag information for the read access time window from default time window attribute field;
First judgment sub-unit, it is opening for characterizing time window in the flag information, then the account is handed over Easy submission request is in time window;
Second judgment sub-unit, for when it is closed mode that the flag information, which characterizes time window, judging the account The submission request of business transaction is outside time window.
Said system, it is preferred that second judging unit is used to be in the time in the submission request of account transaction When in window, continue to judge whether the account transaction is the first stroke account transaction after everyday cutting, described second judge it is single Member includes:
Second reads subelement, for reading lock in time information from the lock in time field of the target account;
When 3rd judgment sub-unit for the date in the lock in time information is not the date on the same day, described in judgement Account transaction is the first stroke account transaction after everyday cutting;
When 4th judgment sub-unit for the date in the lock in time information is the date on the same day, the account is judged Business transaction is not the first stroke account transaction after everyday cutting.
Said system, it is preferred that also include:
Second execution module, for judged result for it is no when, according to the type of transaction and transaction limit to the mesh The content of account field is modified in mark account, and by the content modification of time field in target account for it is current real-time when Between.
Said system, it is preferred that also include including accounting processing module, the accounting processing module:
Reading unit, when being asked in time window, receiving accounting processing, from during the synchronization of the target account Between lock in time information is read in field;
When first processing units for the date in the lock in time information are not the dates on the same day, using target account The account field information at family carries out accounting processing;
When second processing unit for the date in the lock in time information is the date on the same day, using target account Account mirror image field information carry out accounting processing.
From above scheme, when the present invention carries out accounting processing and account transaction for banking system in time window Existing demand conflict, adds mirror image field and lock in time field in account information database in advance, with real present tense Between carry out in window, when the first stroke account transaction after everyday cutting, cutting account field at that time before the transaction is submitted and come into force Face data are backed up, and the lock in time of record at that time in real time, carry out providing guarantee like clockwork for accounting processing; Simultaneously as account mirror image field has been used to remain available cross-section data for accounting processing, so as to which banking system is in the time Account field need not be locked again, the content of account field can be repaiied according to the account trading situation of reality in window Change.So as to apply the 7*24 hours the invention can ensure that account is merchandised can use, office existing for account transaction in the prior art is eliminated It is sex-limited.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is accounts information structure chart disclosed in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of cross-section data backup method disclosed in the embodiment of the present invention one;
Fig. 3 is another flow chart of cross-section data backup method disclosed in the embodiment of the present invention two;
Fig. 4 is another flow chart of cross-section data backup method disclosed in the embodiment of the present invention three;
Fig. 5 is a kind of structural representation of cross-section data standby system disclosed in the embodiment of the present invention four;
Fig. 6 is another structural representation of cross-section data standby system disclosed in the embodiment of the present invention four;
Fig. 7 is another structural representation of cross-section data standby system disclosed in the embodiment of the present invention four.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Embodiment one
The present embodiment one discloses a kind of cross-section data backup method, and methods described aims to solve the problem that the daily nothing of existing banking system Method carries out the problem of account transaction in time window, and then realizes that online service 7*24 hours can use.
The cross-section data of account field (such as account balance) when being cut day to record, ensure at the account in time window Reason, such as Clearing, report form statistics etc. can be carried out like clockwork, while account field not locked, and ensure account Business transaction remains able to be normally carried out in time window, and the present invention proposes double balance field mechanism, i.e., in accounts information number According to being that account balance field adds a remaining sum mirror image field in storehouse, backup is provided to be embodied as the content of account balance field Support, while a lock in time field added in database, in remaining sum mirror image field to account balance field When content is backed up, the lock in time of two field contents is recorded in real time.
The Sino-Japan point of contact of the present invention is specially zero point, meanwhile, the Sino-Japan point of contact of the present invention is also the initial time of time window.
With reference to figure 1, database accounts information institute after addition remaining sum mirror image field and lock in time field is shown in Fig. 1 Including every content, wherein, " account balance " and " time " is respectively original field --- the account balance field of database And the content of time field (time of the last transaction of record), " account balance section value " and " lock in time " is respectively this Added field --- the content of remaining sum mirror image field (account mirror image field) and lock in time field of invention.In entry time After window, account balance field, time field are merchandised to account and opened, and can be changed with the submission that account is merchandised.
The inventive method is described in detail below, with reference to figure 2, cross-section data backup method of the invention can include Following steps:
S101:The submission request of account transaction is received, it is described to submit request to include target account, account type of transaction and friendship Easy amount.
Wherein, account trading type can be withdrawal, all kinds such as transfer accounts, when submitting account transaction to banking system When, banking system is needed according to account type of transaction and transaction limit, and the increase and decrease that corresponding amount is carried out to account balance operates.
S102:Judge whether the account transaction meets following condition:The submission request of the account transaction is in the time In window and account transaction is the first stroke account transaction after everyday cutting.
Wherein, it can specifically judge the submission request of the account transaction whether in time window by following process: A) from default time window attribute field read access time window flag information;If b) flag information characterizes time window Mouth is opening, then the submission request of the account transaction is in time window;If c) flag information characterizes the time Window is closed mode, then the submission request of the account transaction is outside time window.
For example, specifically, a time window attribute field can be pre-set, and assume table when the content of the field is 0 Levy time window to open, i.e., into the accounting processing stage, time window is characterized when the content of the field is 1 and is closed, i.e., is not entered also Enter account processing stage or accounting processing has terminated.Based on the setting, banking system enters accounting processing after being cut in per next day When, the content of the field is set to 0, and at the end of accounting processing, the content of the field is set to 1.So as to basic herein On, when submitting account transaction, you can the content by reading the field judges whether current account transaction is in time window It is intraoral.
If current account transaction is in outside time window, step S102 judged result is no, without carrying out again Follow-up judgement operation, if current account transaction, within time window, step S102 need to continue to judge the account Transaction whether be after everyday cutting the first stroke account transaction.
In the present embodiment, can be judged by following process account transaction (in time window) whether be ought be everyday The first stroke account transaction after cutting:A) lock in time information is read from the lock in time field of the target account;If b) institute It is not the date on the same day to state the date in lock in time information, then the account transaction is that the first stroke account after everyday cutting is handed over Easily;If c) date in the lock in time information is the date on the same day, the account transaction is not first after everyday cutting The transaction of account.
Specifically, present invention provide that the back-up job of cross-section data is realized by the first stroke account transaction in time window. Based on this premise, when the transaction of a certain account is submitted, if in lock in time field the date of lock in time be not the date on the same day, Characterize the same day also non-pair cross-section data to be backed up, so as to which account transaction is handed over for the first stroke account in time of day window Easily;If on the contrary, in lock in time field the date of lock in time be the date on the same day, characterize the same day completed the standby of cross-section data Part work, therefore, the account transaction are not the first stroke account transaction in time of day window.
S103:If the determination result is YES, then the accounts information of the target account is proceeded as follows:By target account The content of middle account mirror image field and lock in time field is changed to the cross-section data of account field in the target account respectively And current real-time time;The content of account field in target account is repaiied according to the type of transaction and transaction limit Change, and be current real-time time by the content modification of time field in target account.
Due to present invention provide that the back-up job of cross-section data is merchandised by the first stroke account in time window and realized.Cause This, if step S102 judged result is yes, i.e., described account transaction is the first stroke account transaction in time window, then first Need the current cross-section data of account balance field being synchronized in remaining sum mirror image field, realize that pair cross-section data are backed up, Record current lock in time in real time in lock in time field simultaneously, afterwards, normal account transaction can be carried out, according to friendship Easy type and transaction limit are modified to the account balance of target account and are current reality by the content modification of time field When the time.So as to while not normal account transaction in influence time window, also remain available section for accounting processing Data.
From above scheme, when the present invention carries out accounting processing and account transaction for banking system in time window Existing demand conflict, adds mirror image field and lock in time field in account information database in advance, with real present tense Between carry out in window, when the first stroke account transaction after everyday cutting, cutting account field at that time before the transaction is submitted and come into force Face data are backed up, and the lock in time of record at that time in real time, carry out providing guarantee like clockwork for accounting processing; Simultaneously as account mirror image field has been used to remain available cross-section data for accounting processing, so as to which banking system is in the time Account field need not be locked again, the content of account field can be repaiied according to the account trading situation of reality in window Change.So as to apply the 7*24 hours the invention can ensure that account is merchandised can use, office existing for account transaction in the prior art is eliminated It is sex-limited.
Embodiment two
In the present embodiment two, with reference to figure 3, methods described can also comprise the following steps:
S104:If judged result is no, according to the type of transaction and transaction limit to account in the target account The content of field is modified, and is current real-time time by the content modification of time field in target account.
Specifically, if account transaction is not the first stroke account transaction in time window, if for example, the account is handed over Easily be the N transactions in time window, then due to the first transaction in time window, pair cross-section data are backed up, from And data available has been retained for the accounting processing in time window, without backing up again;If the account transaction is the time The transaction that window is carried out after terminating, then because time window has terminated, also terminate so as to the accounting processing on the same day, therefore Without being backed up again.
So as to which when account transaction is not the first stroke account transaction in time window, banking system is without carrying out The backup-step of cross-section data, can be more than the type of transaction of the direct basis transaction and the account of transaction limit modification target account Volume, and exchange hour is recorded simultaneously.
Embodiment three
In the present embodiment three, with reference to figure 4, methods described can also comprise the following steps:
S105:In time window, when receiving accounting processing request, from the lock in time field of the target account Read lock in time information;
S106:If the date in the lock in time information is not the date on the same day, using the account field of target account Information carries out accounting processing;
S107:If the date in the lock in time information is the date on the same day, believed using the mirror image field of target account Breath carries out accounting processing.
After day cuts, in time window, banking system needs to carry out some such as at Clearing, report form statistics account Reason, due to present invention employs double remaining sum mechanism, so as to which when carrying out accounting processing, need are first it is determined that using source remaining sum Content still backs up remaining sum content.
Specifically, can be according to the lock in time information in lock in time field to needing when receiving accounting processing request The remaining sum of use is determined, when the date of lock in time in the field is not the date on the same day, then characterize the same day do not carry out also The back-up job of cross-section data, while sign did not carried out account transaction also in the time window on the same day after cutting day yet, therefore, Need to use source remaining sum content, i.e. the content of source account balance field carries out accounting processing.If the date of lock in time is to work as Date day, then characterize and account transaction had been carried out in the time window on the same day, therefore the cross-section data of same day backup need to be used to enter Row accounting processing.
Example IV
The present embodiment four discloses a kind of cross-section data standby system, disclosed in the system and embodiment one to embodiment three Cross-section data backup method is corresponding.
First, corresponding to embodiment one, with reference to figure 5, the system includes receiving module 100, judge module 200 and first Execution module 300.
Receiving module 100, it is described to submit request to include target account, account for receiving the submission request of account transaction Type of transaction and transaction limit.
Judge module 200, for judging whether the account transaction meets following condition:The submission of the account transaction please Ask in time window and account transaction is the first stroke account transaction after everyday cutting.
Specifically, judge module 200 includes the first judging unit and the second judging unit.
Wherein, the first judging unit includes the first reading subelement, the first judgment sub-unit and the second judgment sub-unit.
First reads subelement, the flag information for the read access time window from default time window attribute field;
First judgment sub-unit, it is opening for characterizing time window in the flag information, then the account is handed over Easy submission request is in time window;
Second judgment sub-unit, for when it is closed mode that the flag information, which characterizes time window, judging the account The submission request of business transaction is outside time window.
Second judging unit is used to, when the submission request of account transaction is in time window, continue described in judgement Account transaction whether be after everyday cutting the first stroke account transaction, second judging unit include second read subelement, 3rd judgment sub-unit and the 4th judgment sub-unit.
Second reads subelement, for reading lock in time information from the lock in time field of the target account;
When 3rd judgment sub-unit for the date in the lock in time information is not the date on the same day, described in judgement Account transaction is the first stroke account transaction after everyday cutting;
When 4th judgment sub-unit for the date in the lock in time information is the date on the same day, the account is judged Business transaction is not the first stroke account transaction after everyday cutting.
First execution module 300, for when judged result is to be, the accounts information progress to the target account to be as follows Operation:The content of account mirror image field and lock in time field in target account is changed to account in the target account respectively The cross-section data of field and current real-time time;According to the type of transaction and transaction limit to account field in target account Content modify, and be current real-time time by the content modification of time field in target account.
Corresponding to embodiment two, with reference to figure 6, the system also includes the second execution module 400, for being in judged result When no, the content of account field in the target account is modified according to the type of transaction and transaction limit, and by mesh The content modification for marking time field in account is current real-time time.
Corresponding to embodiment three, with reference to figure 7, the system also includes accounting processing module 500, and the module includes reading list Member, first processing units and second processing unit.
Reading unit, when being asked in time window, receiving accounting processing, from during the synchronization of the target account Between lock in time information is read in field;
When first processing units for the date in the lock in time information are not the dates on the same day, using target account The account field information at family carries out accounting processing;
When second processing unit for the date in the lock in time information is the date on the same day, using target account Mirror image field information carry out accounting processing.
For cross-section data standby system disclosed in the embodiment of the present invention four, due to itself and embodiment one to embodiment Cross-section data backup method is corresponding disclosed in three, so description is fairly simple, related similarity refers to embodiment one To the explanation of the middle section data back up method part of embodiment three, no longer it is described in detail herein.
In summary, the present invention, using double balance field mechanism, is realized in time window by changing database table structure It is intraoral, while remaining available cross-section data for accounting processing, locked also without to account field, it is ensured that the time Account transaction in window is normally carried out, it is ensured that account transaction 7*24 hours can use.And in the application scenarios of reality, it is not necessary to The design parameter sticked to employed in the present invention, to such as similar to the account class field of remaining sum, can use think of of the invention Want to realize that transactional services 7*24 hours can use, do not limited by time window.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
For convenience of description, describe to be divided into various modules during system above with function or unit describes respectively.Certainly, exist Implement the function of each unit can be realized in same or multiple softwares and/or hardware during the application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can Realized by the mode of software plus required general hardware platform.Based on such understanding, the technical scheme essence of the application On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are causing a computer equipment (can be personal computer, server, either network equipment etc.) performs some of each embodiment of the application or embodiment Method described in part.
Finally, it is to be noted that, herein, the relational terms of such as first, second, third and fourth or the like It is used merely to make a distinction an entity or operation with another entity or operation, and not necessarily requires or imply these Any this actual relation or order be present between entity or operation.Moreover, term " comprising ", "comprising" or its is any Other variants are intended to including for nonexcludability, so that process, method, article or equipment including a series of elements Not only include those key elements, but also the other element including being not expressly set out, or also include for this process, side Method, article or the intrinsic key element of equipment.In the absence of more restrictions, limited by sentence "including a ..." Key element, it is not excluded that other identical element in the process including the key element, method, article or equipment also be present.
Described 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 (10)

  1. A kind of 1. cross-section data backup method, it is characterised in that including:
    The submission request of account transaction is received, it is described to submit request to include target account, account type of transaction and transaction limit;
    Judge whether the account transaction meets following condition:The submission request of the account transaction is in time window and institute It is the first stroke account transaction after everyday cutting to state account transaction;
    If the determination result is YES, then the accounts information of the target account is proceeded as follows:By account mirror in target account As the content of field and lock in time field is changed to the cross-section data of account field in the target account and current respectively Real-time time;The content of account field in target account is modified according to the type of transaction and transaction limit, and by mesh The content modification for marking time field in account is current real-time time.
  2. 2. according to the method for claim 1, it is characterised in that when judging whether the submission request of the account transaction is in Between include in window:
    The flag information of read access time window from default time window attribute field;
    If it is opening that the flag information, which characterizes time window, the submission request of the account transaction is in time window It is interior;
    If it is closed mode that the flag information, which characterizes time window, the submission request of the account transaction is in time window Outside.
  3. 3. according to the method for claim 2, it is characterised in that if the submission request of account transaction is in time window It is interior, then judge whether account transaction is that the first stroke account transaction after everyday cutting includes:
    Lock in time information is read from the lock in time field of the target account;
    If the date in the lock in time information is not the date on the same day, the account transaction is the first stroke after everyday cutting Account is merchandised;
    If the date in the lock in time information is the date on the same day, the account transaction is not the first stroke after everyday cutting Account is merchandised.
  4. 4. according to the method for claim 1, it is characterised in that also include:
    If judged result is no, the content according to the type of transaction and transaction limit to account field in the target account Modify, and be current real-time time by the content modification of time field in target account.
  5. 5. according to the method described in claim 1-4 any one, it is characterised in that also include:
    In time window, when receiving accounting processing request, read from the lock in time field of the target account synchronous Temporal information;
    If the date in the lock in time information is not the date on the same day, account is carried out using the account field information of target account Business is handled;
    If the date in the lock in time information is the date on the same day, carried out using the account mirror image field information of target account Accounting processing.
  6. A kind of 6. cross-section data standby system, it is characterised in that including:
    Receiving module, it is described to submit request to include target account, account type of transaction for receiving the submission request of account transaction And transaction limit;
    Judge module, for judging whether the account transaction meets following condition:The submission request of the account transaction is in In time window and account transaction is the first stroke account transaction after everyday cutting;
    First execution module, for when judged result is to be, being proceeded as follows to the accounts information of the target account:Will The content of account mirror image field and lock in time field is changed to account field in the target account respectively in target account Cross-section data and current real-time time;Content according to the type of transaction and transaction limit to account field in target account Modify, and be current real-time time by the content modification of time field in target account.
  7. 7. system according to claim 6, it is characterised in that the judge module is sentenced including the first judging unit and second Disconnected unit, wherein, first judging unit includes:
    First reads subelement, the flag information for the read access time window from default time window attribute field;
    First judgment sub-unit, it is opening for characterizing time window in the flag information, then the account is merchandised Request is submitted in time window;
    Second judgment sub-unit, for when it is closed mode that the flag information, which characterizes time window, judging that the account is handed over Easy submission request is outside time window.
  8. 8. system according to claim 7, it is characterised in that second judging unit is used in account transaction When submitting request in the time window, continue to judge whether the account transaction is that the first stroke account after everyday cutting is handed over Easily, second judging unit includes:
    Second reads subelement, for reading lock in time information from the lock in time field of the target account;
    When 3rd judgment sub-unit for the date in the lock in time information is not the date on the same day, the account is judged Transaction is the first stroke account transaction after everyday cutting;
    When 4th judgment sub-unit for the date in the lock in time information is the date on the same day, judge that the account is handed over Easily it is not the first stroke account transaction after everyday cutting.
  9. 9. system according to claim 6, it is characterised in that also include:
    Second execution module, for judged result for it is no when, according to the type of transaction and transaction limit to the target account The content of account field is modified in family, and is current real-time time by the content modification of time field in target account.
  10. 10. according to the system described in claim 6-9 any one, it is characterised in that also including accounting processing module, the account Business processing module includes:
    Reading unit, when being asked in time window, receiving accounting processing, from the lock in time word of the target account Lock in time information is read in section;
    When first processing units for the date in the lock in time information are not the dates on the same day, using target account Account field information carries out accounting processing;
    When second processing unit for the date in the lock in time information is the date on the same day, using the account of target account Business mirror image field information carries out accounting processing.
CN201410641390.0A 2014-11-13 2014-11-13 A kind of cross-section data backup method and system Active CN104317953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410641390.0A CN104317953B (en) 2014-11-13 2014-11-13 A kind of cross-section data backup method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410641390.0A CN104317953B (en) 2014-11-13 2014-11-13 A kind of cross-section data backup method and system

Publications (2)

Publication Number Publication Date
CN104317953A CN104317953A (en) 2015-01-28
CN104317953B true CN104317953B (en) 2017-12-12

Family

ID=52373185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410641390.0A Active CN104317953B (en) 2014-11-13 2014-11-13 A kind of cross-section data backup method and system

Country Status (1)

Country Link
CN (1) CN104317953B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357679A (en) * 2016-05-10 2017-11-17 银联数据服务有限公司 A kind of backup method and device
CN107563887B (en) * 2017-08-22 2020-09-01 福建省农村信用社联合社 AS 400-based zero-halt daily cutting method for bank core accounting system
CN107730381B (en) * 2017-09-14 2020-12-18 中国银联股份有限公司 Method and device for backing up cross section data
CN107909469A (en) * 2017-11-21 2018-04-13 中国银行股份有限公司 The unlocking method and device of bank transaction coded lock
CN109241189B (en) * 2018-09-10 2021-11-19 创新先进技术有限公司 Data storage method, device and equipment
CN109598604B (en) * 2018-11-20 2022-11-29 中国银行股份有限公司 Day-to-day cutting judgment method and device
CN109949144A (en) * 2019-03-22 2019-06-28 深圳前海微众银行股份有限公司 Keep accounts processing method, device, equipment and computer readable storage medium
CN110473087A (en) * 2019-08-22 2019-11-19 中国银行股份有限公司 Transaction data record method and device
CN111752950B (en) * 2020-06-28 2023-08-22 中国银行股份有限公司 Bank peripheral system and information synchronization method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000250771A (en) * 1999-02-25 2000-09-14 Nec Corp Server duplication system
JP2000339209A (en) * 1999-05-31 2000-12-08 Ntt Data Corp Online system, static ledger creating method and recording medium
CN1811838A (en) * 2005-12-23 2006-08-02 中国工商银行股份有限公司 Data processing method and system for realizing continuous service
CN101256662A (en) * 2008-03-11 2008-09-03 中国工商银行股份有限公司 Processing system and method for implementing multiple time zone continuous service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000250771A (en) * 1999-02-25 2000-09-14 Nec Corp Server duplication system
JP2000339209A (en) * 1999-05-31 2000-12-08 Ntt Data Corp Online system, static ledger creating method and recording medium
CN1811838A (en) * 2005-12-23 2006-08-02 中国工商银行股份有限公司 Data processing method and system for realizing continuous service
CN101256662A (en) * 2008-03-11 2008-09-03 中国工商银行股份有限公司 Processing system and method for implementing multiple time zone continuous service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
银行核心系统支持7×24 小时不间断服务分析;冯华彬;《中国金融电脑》;20130507;正文第1-2节、图1 *

Also Published As

Publication number Publication date
CN104317953A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN104317953B (en) A kind of cross-section data backup method and system
US10121208B2 (en) Thematic repositories for transaction management
BR0109710A (en) Method and system for measuring business management performance
US20090319411A1 (en) Personal finance integration system and method
US7835984B2 (en) Intercompany loan management system
WO2015180487A1 (en) Network interaction platform and method for using same
WO2004061564A3 (en) System and method for pricing loans in the secondary mortgage market
CN112380227B (en) Data synchronization method, device, equipment and storage medium based on message queue
US20190355067A1 (en) Thematic repositories for transaction management
CN112232808A (en) Method and system for realizing administrative bank subsidy fund management by using block chain
WO2002042865A2 (en) Method and system for centrally organizing transactional information in a network environment
US20140019334A1 (en) Method to Facilitate Credit and Savings
Singer et al. 26 anatoMy of a failUre COVID-19 in the United States
CN104657896A (en) Data acquisition and sharing system for CMS (credit management system) credit information sharing management
CN110634066A (en) Method, device and equipment for determining settlement interest
JP7089553B2 (en) Network bridge for local transaction authorization
US8655754B2 (en) Intercompany transactions elimination system
Saha et al. Mitigating loan associated financial risk using blockchain based lending system
JP3857279B2 (en) Payroll system
CN100424687C (en) On-line processing system and method based on network
WO2017128391A1 (en) Method of transmitting data relating to loan product recommendation technology, and loan indication system
CN110659965A (en) Control method for automatically reflecting bill difference of takeout order
EP3583523A1 (en) Thematic repositories for transaction management
WANG et al. E-government, Corruption Perception and the Level of Democratic Development——An Empirical Analysis Based on Cross-country Panel Data
O'Leary Reforming unemployment insurance

Legal Events

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