CN104317953A - Sectional data backup method and system - Google Patents

Sectional data backup method and system Download PDF

Info

Publication number
CN104317953A
CN104317953A CN201410641390.0A CN201410641390A CN104317953A CN 104317953 A CN104317953 A CN 104317953A CN 201410641390 A CN201410641390 A CN 201410641390A CN 104317953 A CN104317953 A CN 104317953A
Authority
CN
China
Prior art keywords
account
transaction
time
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.)
Granted
Application number
CN201410641390.0A
Other languages
Chinese (zh)
Other versions
CN104317953B (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)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a sectional data backup method and system. In order to solve the problem of requirement conflict of a bank system performing accounting treatment and accounting transaction in a time window, accounting mirror fields and synchronous time fields are added into an account information database in advance, current accounting field sectional data are backed up before transaction submission takes effect when a first accounting transaction after a current day is switched is performed in the time window, the current synchronous time is recorded in rear time, and accurate accounting treatment is guaranteed. Besides, as the accounting mirror fields remain available sectional data for the accounting treatment, accounting fields do not need to be locked by the bank system in the time window, and contents of the accounting fields can be amended according to the actual accounting transaction conditions. By the aid of the method and the system, the accounting transaction can be used in 7*24 hours, and the limitation of accounting transaction in the prior art is removed.

Description

A kind of cross-section data backup method and system
Technical field
The invention belongs to database table design and the transactional services design field of banking system, particularly relate to a kind of cross-section data backup method and system.
Background technology
Banking system can at the fixed time of every day, as carried out the accounting processing of some necessity after cutting day, such as, after zero point every day, carries out Clearing, report form statistics etc. for the trading situation of proxima luce (prox. luc).
Under this kind of scene, require the field information of account class, as account balance when day cuts, remain unchanged in this processing procedure, to realize adopting cross-section data when cutting day to carry out accounting processing accurately.Wherein, the time period shared by described accounting processing can be referred to as time window.In time window, if banking system has on-line transaction, and create the demand of change account class field information, demand that will be constant with keeping account class field information during accounting processing is conflicted mutually, thus on-line transaction can be caused to be rejected, finally cause on-line transaction failure.
As can be seen here, prior art cannot ensure account transaction 7*24 hour available (namely whole day can be used) of banking system, and the account transaction that result in banking system has some limitations.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of cross-section data backup method and system, to solve the problem cannot carrying out account transaction in prior art in the time window of every day.
For this reason, the present invention's openly following technical scheme:
A kind of cross-section data backup method, comprising:
Receive the submission request of account transaction, described submission request comprises target account, account type of transaction and transaction limit;
Judge whether the transaction of described account meets following condition: the submission request of described account transaction is in time window and the transaction of described account is the first stroke account transaction after everyday cutting;
If the determination result is YES, then the accounts information of described target account is proceeded as follows: by account mirror image field in target account and lock in time field content change to the cross-section data of account field in described target account and current real-time time respectively; According to described type of transaction and transaction limit, the content of account field in target account is modified, and be current real-time time by the content modification of time field in target account.
Said method, preferably, judges whether submission request that described account is concluded the business is in time window and comprises:
The flag information of time window is read from the time window attribute field preset;
If described flag information characterization time window is opening, then the submission request of described account transaction is in time window;
If described flag information characterization time window is closed condition, then the submission request of described account transaction is in outside time window.
Said method, preferably, if the submission request of described account transaction is in time window, then judges that whether the transaction of described account is that the first stroke account transaction after everyday cutting comprises:
Information lock in time is read field from the lock in time of described target account;
If the date in described lock in time information is not the date on the same day, then described account transaction is the first stroke account transaction after everyday cutting;
If the date in described lock in time information is the date on the same day, then described account transaction is not the first stroke account transaction after everyday cutting.
Said method, preferably, also comprises:
If judged result is no, then according to described type of transaction and transaction limit, the content of account field in described target account is modified, and be current real-time time by the content modification of time field in target account.
Said method, preferably, also comprises:
In time window, when receiving accounting processing request, read information lock in time from the lock in time of described target account field;
If the date in described lock in time information is not the date on the same day, then the account field information of target account is adopted to carry out accounting processing;
If the date in described lock in time information is the date on the same day, then the account mirror image field information of target account is adopted to carry out accounting processing.
A kind of cross-section data standby system, comprising:
Receiver module, for receiving the submission request of account transaction, described submission request comprises target account, account type of transaction and transaction limit;
Judge module, for judging whether the transaction of described account meets following condition: the submission request of described account transaction is in time window and the transaction of described account is the first stroke account transaction after everyday cutting;
First execution module, for when judged result is for being, the accounts information of described target account is proceeded as follows: by account mirror image field in target account and lock in time field content change to the cross-section data of account field in described target account and current real-time time respectively; According to described type of transaction and transaction limit, the content of account field in target account is modified, and be current real-time time by the content modification of time field in target account.
Said system, preferably, described judge module comprises the first judging unit and the second judging unit, and wherein, described first judging unit comprises:
First reads subelement, for reading the flag information of time window from the time window attribute field preset;
First judgment sub-unit, for being opening at described flag information characterization time window, then the submission request of described account transaction is in time window;
Second judgment sub-unit, for when described flag information characterization time window is closed condition, judges that the submission request that described account is concluded the business is in outside time window.
Said system, preferably, described second judging unit is used for when the submission request that described account is concluded the business is in time window, and continue to judge that whether the transaction of described account is that the first stroke account after everyday cutting is concluded the business, described second judging unit comprises:
Second reads subelement, reads information lock in time for the lock in time from described target account in field;
3rd judgment sub-unit, when not being the date on the same day for the date in described lock in time information, judges that the transaction of described account is the first stroke account transaction after everyday cutting;
4th judgment sub-unit, when being the date on the same day for the date in described lock in time information, judges that the transaction of described account is not the first stroke account transaction after everyday cutting.
Said system, preferably, also comprises:
Second execution module, during for being no in judged result, modifies to the content of account field in described target account according to described type of transaction and transaction limit, and is current real-time time by the content modification of time field in target account.
Said system, preferably, also comprises accounting processing module, and described accounting processing module comprises:
Reading unit, in time window, when receiving accounting processing request, reads information lock in time from the lock in time of described target account field;
First processing unit, when not being the date on the same day for the date in described lock in time information, adopts the account field information of target account to carry out accounting processing;
Second processing unit, when being the date on the same day for the date in described lock in time information, adopts the account mirror image field information of target account to carry out accounting processing.
From above scheme, the present invention is directed to the demand conflict existed when banking system carries out accounting processing and account transaction in time window, add in account information database in advance mirror image field and lock in time field, to realize carrying out when the first stroke account after everyday cutting is concluded the business in time window, before this transaction submission comes into force, account field cross-section data is at that time backed up, and real time record lock in time at that time, for accounting processing is carried out providing guarantee like clockwork; Meanwhile, be that accounting processing remains available cross-section data owing to adopting account mirror image field, thus banking system need not lock account field in time window again, can modify according to the content of account trading situation to account field of reality.Thus application the present invention can to ensure account transaction 7*24 hour available, eliminate the limitation that the transaction of account in prior art exists.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is accounts information structural drawing disclosed in the embodiment of the present invention one;
Fig. 2 is a kind of process flow diagram of cross-section data backup method disclosed in the embodiment of the present invention one;
Fig. 3 is the another kind of process flow diagram of cross-section data backup method disclosed in the embodiment of the present invention two;
Fig. 4 is another process flow diagram 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 the another kind of 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, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, 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 described method is intended to solve the problem that existing banking system cannot carry out account transaction every day in time window, so realize online service 7*24 hour available.
The cross-section data of account field (such as account balance) when cutting day to record, ensure the accounting processing in time window, such as Clearing, report form statistics etc. can be carried out like clockwork, account field is not locked simultaneously, ensure that account transaction still can normally be carried out in time window, the present invention proposes two balance field mechanism, namely in account information database for account balance field adds a remaining sum mirror image field, backup support is provided with the content being embodied as account balance field, add in a database simultaneously one lock in time field, for when the content of remaining sum mirror image field to account balance field backs up, the lock in time of real time record two field contents.
The Sino-Japan point of contact of the present invention is specially zero point, and meanwhile, the Sino-Japan point of contact of the present invention is also the initial time of time window.
With reference to figure 1, the every content of database after adding remaining sum mirror image field and lock in time field included by accounts information has been shown in Fig. 1, wherein, " account balance " and " time " is respectively original field of database---the content of account balance field and time field (time of the last transaction of record), " account balance cross section value " and " lock in time " are respectively the field that the present invention adds---remaining sum mirror image field (account mirror image field) and lock in time field content.After entry time window, account balance field, time field are open to account transaction, can the change with the submission of account transaction.
Be described in detail to the inventive method below, with reference to figure 2, cross-section data backup method of the present invention can comprise the following steps:
S101: the submission request receiving account transaction, described submission request comprises target account, account type of transaction and transaction limit.
Wherein, account trading type can be all kinds such as to deposit and withdraw, transfer accounts, and when submitting account transaction to banking system, banking system needs according to account type of transaction and transaction limit, carry out the increase and decrease operation of corresponding amount to account balance.
S102: judge whether the transaction of described account meets following condition: the submission request of described account transaction is in time window and the transaction of described account is the first stroke account transaction after everyday cutting.
Wherein, specifically judge whether the submission request that described account is concluded the business is in time window by following process: flag information a) reading time window from the time window attribute field preset; If b) described flag information characterization time window is opening, then the submission request of described account transaction is in time window; If c) described flag information characterization time window is closed condition, then the submission request of described account transaction is in outside time window.
Such as, particularly, a time window attribute field can be pre-set, and the content supposing this field when being 0 characterization time window open, namely enter the accounting processing stage, characterization time close when the content of this field is 1, does not namely also enter the accounting processing stage or accounting processing terminates.Based on this setting, banking system can per next day cut laggard enter accounting processing time, the content of this field is set to 0, and at the end of accounting processing, the content of this field is set to 1.Thus on this basis, when submitting account transaction to, the content namely by reading this field judges whether current account transaction is in time window.
If current account transaction is in outside time window, then the judged result of step S102 is no, without the need to carrying out follow-up judgement operation again, if current account transaction is within time window, then step S102 need continue to judge that whether the transaction of described account is the first stroke account transaction after everyday cutting.
In the present embodiment, judge whether described account transaction (being in time window) is when the first stroke account transaction after everyday cutting by following process: a) read information lock in time from the lock in time of described target account field; If the date b) in information described lock in time is not the date on the same day, then described account transaction is the first stroke account transaction after everyday cutting; If the date c) in information described lock in time is the date on the same day, then described account transaction is not the first stroke account transaction after everyday cutting.
Particularly, the present invention specifies that the back-up job of cross-section data is realized by the first stroke account transaction in time window.Based on this prerequisite, when the transaction of a certain account is submitted to, if the date of lock in time is not the date on the same day in lock in time field, then characterize the same day also non-pair cross-section data back up, thus the transaction of described account is the first stroke account transaction in time of day window; On the contrary, if the date of lock in time is the date on the same day in lock in time field, then characterize the back-up job completing cross-section data the same day, therefore, described account transaction is not the first stroke account transaction in time of day window.
S103: if the determination result is YES, then proceed as follows the accounts information of described target account: by account mirror image field in target account and lock in time field content change to the cross-section data of account field in described target account and current real-time time respectively; According to described type of transaction and transaction limit, the content of account field in target account is modified, and be current real-time time by the content modification of time field in target account.
Because the present invention specifies that the back-up job of cross-section data is realized by the first stroke account transaction in time window.Therefore, if the judged result of step S102 is yes, namely described account transaction is the first stroke account transaction in time window, then first need cross-section data current for account balance field to be synchronized in remaining sum mirror image field, realize pair cross-section data to back up, the lock in time that simultaneously real time record is current in lock in time field, afterwards, can carry out normal account transaction, foundation type of transaction and the account balance of transaction limit to target account are modified and are current real-time time by the content modification of time field.Thus in not influence time window while normal account transaction, also for accounting processing remains available cross-section data.
From above scheme, the present invention is directed to the demand conflict existed when banking system carries out accounting processing and account transaction in time window, add in account information database in advance mirror image field and lock in time field, to realize carrying out when the first stroke account after everyday cutting is concluded the business in time window, before this transaction submission comes into force, account field cross-section data is at that time backed up, and real time record lock in time at that time, for accounting processing is carried out providing guarantee like clockwork; Meanwhile, be that accounting processing remains available cross-section data owing to adopting account mirror image field, thus banking system need not lock account field in time window again, can modify according to the content of account trading situation to account field of reality.Thus application the present invention can to ensure account transaction 7*24 hour available, eliminate the limitation that the transaction of account in prior art exists.
Embodiment two
In the present embodiment two, with reference to figure 3, described method can also comprise the following steps:
S104: if judged result is no, then modify to the content of account field in described target account according to described type of transaction and transaction limit, and be current real-time time by the content modification of time field in target account.
Particularly, if described account transaction is not the first stroke account transaction in time window, such as, if described account transaction is the N transaction in time window, then because the pair cross-section data of concluding the business of the first stroke in time window back up, thus for the accounting processing in time window has retained data available, without the need to again backing up; If described account transaction is the transaction carried out after time window terminates, then because time window terminates, thus the accounting processing on the same day also terminates, therefore without the need to backing up again.
Thus, when described account transaction is not the first stroke account transaction in time window, banking system, can the type of transaction of this transaction of direct basis and the account balance of transaction limit modifying target account without the need to carrying out the backup-step of cross-section data, and records exchange hour simultaneously.
Embodiment three
In the present embodiment three, with reference to figure 4, described method can also comprise the following steps:
S105: in time window, when receiving accounting processing request, reads information lock in time from the lock in time of described target account field;
S106: if the date in described lock in time information is not the date on the same day, then adopt the account field information of target account to carry out accounting processing;
S107: if the date in described lock in time information is the date on the same day, then adopt the mirror image field information of target account to carry out accounting processing.
After cutting day, in time window, banking system needs to carry out some as the accounting processing such as Clearing, report form statistics, owing to present invention employs two remaining sum mechanism, thus, when carrying out accounting processing, need first determine adopt source remaining sum content still to back up remaining sum content.
Particularly, when receiving accounting processing request, can determine needing the remaining sum adopted according to information lock in time in lock in time field, when in this field, the date of lock in time is not the date on the same day, then characterize the back-up job of also not carrying out cross-section data the same day, also characterize after cutting day simultaneously in the time window on the same day, also do not carry out account transaction, therefore, need employing source remaining sum content, namely the content of source account balance field carries out accounting processing.If the date of lock in time is the date on the same day, then carried out account transaction in the time window characterizing the same day, and therefore needed to adopt the cross-section data of backup on the same day to carry out accounting processing.
Embodiment four
The present embodiment four discloses a kind of cross-section data standby system, and described system is corresponding with cross-section data backup method disclosed in embodiment one to embodiment three.
First, corresponding to embodiment one, with reference to figure 5, described system comprises receiver module 100, judge module 200 and the first execution module 300.
Receiver module 100, for receiving the submission request of account transaction, described submission request comprises target account, account type of transaction and transaction limit.
Judge module 200, for judging whether the transaction of described account meets following condition: the submission request of described account transaction is in time window and the transaction of described account is the first stroke account transaction after everyday cutting.
Particularly, judge module 200 comprises the first judging unit and the second judging unit.
Wherein, the first judging unit comprises the first reading subelement, the first judgment sub-unit and the second judgment sub-unit.
First reads subelement, for reading the flag information of time window from the time window attribute field preset;
First judgment sub-unit, for being opening at described flag information characterization time window, then the submission request of described account transaction is in time window;
Second judgment sub-unit, for when described flag information characterization time window is closed condition, judges that the submission request that described account is concluded the business is in outside time window.
Second judging unit is used for when the submission request that described account is concluded the business is in time window, continue to judge that whether the transaction of described account is that the first stroke account after everyday cutting is concluded the business, described second judging unit comprises the second reading subelement, the 3rd judgment sub-unit and the 4th judgment sub-unit.
Second reads subelement, reads information lock in time for the lock in time from described target account in field;
3rd judgment sub-unit, when not being the date on the same day for the date in described lock in time information, judges that the transaction of described account is the first stroke account transaction after everyday cutting;
4th judgment sub-unit, when being the date on the same day for the date in described lock in time information, judges that the transaction of described account is not the first stroke account transaction after everyday cutting.
First execution module 300, for when judged result is for being, the accounts information of described target account is proceeded as follows: by account mirror image field in target account and lock in time field content change to the cross-section data of account field in described target account and current real-time time respectively; According to described type of transaction and transaction limit, the content of account field in target account is modified, 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, described system also comprises the second execution module 400, during for being no in judged result, according to described type of transaction and transaction limit, the content of account field in described target account is modified, and be current real-time time by the content modification of time field in target account.
Corresponding to embodiment three, with reference to figure 7, described system also comprises accounting processing module 500, and this module comprises reading unit, the first processing unit and the second processing unit.
Reading unit, in time window, when receiving accounting processing request, reads information lock in time from the lock in time of described target account field;
First processing unit, when not being the date on the same day for the date in described lock in time information, adopts the account field information of target account to carry out accounting processing;
Second processing unit, when being the date on the same day for the date in described lock in time information, adopts the mirror image field information of target account to carry out accounting processing.
For cross-section data standby system disclosed in the embodiment of the present invention four, because it is corresponding with cross-section data backup method disclosed in embodiment one to embodiment three, so description is fairly simple, relevant similarity refers to the explanation of embodiment one to embodiment three middle section data back up method part, no longer describes in detail herein.
In sum, the present invention is by Update Table database table structure, adopt two balance field mechanism, achieve in time window, while accounting processing remains available cross-section data, also without the need to locking account field, can ensure in time window account transaction normally carry out, ensure that account transaction 7*24 hour available.And in the application scenarios of reality, the design parameter adopted in the present invention need not be sticked to, to the account class field of such as similar remaining sum, all can adopt thought of the present invention realize transactional services 7*24 hour available, not by the restriction of time window.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
For convenience of description, various module or unit is divided into describe respectively with function when describing above system.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the application or embodiment.
Finally, also it should be noted that, in this article, the relational terms of such as first, second, third and fourth etc. and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a cross-section data backup method, is characterized in that, comprising:
Receive the submission request of account transaction, described submission request comprises target account, account type of transaction and transaction limit;
Judge whether the transaction of described account meets following condition: the submission request of described account transaction is in time window and the transaction of described account is the first stroke account transaction after everyday cutting;
If the determination result is YES, then the accounts information of described target account is proceeded as follows: by account mirror image field in target account and lock in time field content change to the cross-section data of account field in described target account and current real-time time respectively; According to described type of transaction and transaction limit, the content of account field in target account is modified, and be current real-time time by the content modification of time field in target account.
2. method according to claim 1, is characterized in that, judges whether submission request that described account is concluded the business is in time window and comprises:
The flag information of time window is read from the time window attribute field preset;
If described flag information characterization time window is opening, then the submission request of described account transaction is in time window;
If described flag information characterization time window is closed condition, then the submission request of described account transaction is in outside time window.
3. method according to claim 2, is characterized in that, if the submission request of described account transaction is in time window, then judges that whether the transaction of described account is that the first stroke account transaction after everyday cutting comprises:
Information lock in time is read field from the lock in time of described target account;
If the date in described lock in time information is not the date on the same day, then described account transaction is the first stroke account transaction after everyday cutting;
If the date in described lock in time information is the date on the same day, then described account transaction is not the first stroke account transaction after everyday cutting.
4. method according to claim 1, is characterized in that, also comprises:
If judged result is no, then according to described type of transaction and transaction limit, the content of account field in described target account is modified, and be current real-time time by the content modification of time field in target account.
5. the method according to claim 1-4 any one, is characterized in that, also comprises:
In time window, when receiving accounting processing request, read information lock in time from the lock in time of described target account field;
If the date in described lock in time information is not the date on the same day, then the account field information of target account is adopted to carry out accounting processing;
If the date in described lock in time information is the date on the same day, then the account mirror image field information of target account is adopted to carry out accounting processing.
6. a cross-section data standby system, is characterized in that, comprising:
Receiver module, for receiving the submission request of account transaction, described submission request comprises target account, account type of transaction and transaction limit;
Judge module, for judging whether the transaction of described account meets following condition: the submission request of described account transaction is in time window and the transaction of described account is the first stroke account transaction after everyday cutting;
First execution module, for when judged result is for being, the accounts information of described target account is proceeded as follows: by account mirror image field in target account and lock in time field content change to the cross-section data of account field in described target account and current real-time time respectively; According to described type of transaction and transaction limit, the content of account field in target account is modified, and be current real-time time by the content modification of time field in target account.
7. system according to claim 6, is characterized in that, described judge module comprises the first judging unit and the second judging unit, and wherein, described first judging unit comprises:
First reads subelement, for reading the flag information of time window from the time window attribute field preset;
First judgment sub-unit, for being opening at described flag information characterization time window, then the submission request of described account transaction is in time window;
Second judgment sub-unit, for when described flag information characterization time window is closed condition, judges that the submission request that described account is concluded the business is in outside time window.
8. system according to claim 6, it is characterized in that, described second judging unit is used for when the submission request that described account is concluded the business is in time window, and continue to judge that whether the transaction of described account is that the first stroke account after everyday cutting is concluded the business, described second judging unit comprises:
Second reads subelement, reads information lock in time for the lock in time from described target account in field;
3rd judgment sub-unit, when not being the date on the same day for the date in described lock in time information, judges that the transaction of described account is the first stroke account transaction after everyday cutting;
4th judgment sub-unit, when being the date on the same day for the date in described lock in time information, judges that the transaction of described account is not the first stroke account transaction after everyday cutting.
9. system according to claim 6, is characterized in that, also comprises:
Second execution module, during for being no in judged result, modifies to the content of account field in described target account according to described type of transaction and transaction limit, and is current real-time time by the content modification of time field in target account.
10. the system according to claim 6-9 any one, is characterized in that, also comprises accounting processing module, and described accounting processing module comprises:
Reading unit, in time window, when receiving accounting processing request, reads information lock in time from the lock in time of described target account field;
First processing unit, when not being the date on the same day for the date in described lock in time information, adopts the account field information of target account to carry out accounting processing;
Second processing unit, when being the date on the same day for the date in described lock in time information, adopts the account mirror image field information of target account to carry 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 true CN104317953A (en) 2015-01-28
CN104317953B 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)

Cited By (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
CN107563887A (en) * 2017-08-22 2018-01-09 福建省农村信用社联合社 Day blanking method is shut down based on AS400 bank cores billing and accounting system zero
CN107730381A (en) * 2017-09-14 2018-02-23 中国银联股份有限公司 A kind of method and device of backup cross-section data
CN107909469A (en) * 2017-11-21 2018-04-13 中国银行股份有限公司 The unlocking method and device of bank transaction coded lock
CN109241189A (en) * 2018-09-10 2019-01-18 阿里巴巴集团控股有限公司 Storage method, device and the equipment of data
CN109598604A (en) * 2018-11-20 2019-04-09 中国银行股份有限公司 Day cuts 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
CN111752950A (en) * 2020-06-28 2020-10-09 中国银行股份有限公司 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 小时不间断服务分析", 《中国金融电脑》 *

Cited By (14)

* 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
CN107563887A (en) * 2017-08-22 2018-01-09 福建省农村信用社联合社 Day blanking method is shut down based on AS400 bank cores billing and accounting system zero
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
CN107730381A (en) * 2017-09-14 2018-02-23 中国银联股份有限公司 A kind of method and device of backup cross-section data
CN107909469A (en) * 2017-11-21 2018-04-13 中国银行股份有限公司 The unlocking method and device of bank transaction coded lock
CN109241189A (en) * 2018-09-10 2019-01-18 阿里巴巴集团控股有限公司 Storage method, device and the equipment of data
CN109241189B (en) * 2018-09-10 2021-11-19 创新先进技术有限公司 Data storage method, device and equipment
CN109598604A (en) * 2018-11-20 2019-04-09 中国银行股份有限公司 Day cuts judgment method and device
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
CN111752950A (en) * 2020-06-28 2020-10-09 中国银行股份有限公司 Bank peripheral system and information synchronization method thereof
CN111752950B (en) * 2020-06-28 2023-08-22 中国银行股份有限公司 Bank peripheral system and information synchronization method thereof

Also Published As

Publication number Publication date
CN104317953B (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN104317953A (en) Sectional data backup method and system
US10671515B1 (en) Recording and playback of electronic event sequence in a distributed ledger system
US20190325512A1 (en) Using a Distributed Ledger for Tracking Debt Data
US20230419316A1 (en) Systems and methods for recording assets and transactions thereof in blockchains
CN107038642A (en) Guarantee credit financing package based on block chain
EP3312787A1 (en) Method and device for obtaining payment threshold
CN106327191B (en) Method and device for recording transaction information
CN107153649B (en) Data backup method and device
EP2711877A1 (en) Systems and methods for data privacy and destruction in multi-system landscapes
WO2019033741A1 (en) Investment commodity resource processing method, device, storage medium and computer apparatus
US20020065839A1 (en) Method and system for centrally organizing transactional information in a network environment
EP4231220A3 (en) Method, program, and system for providing virtual corporate card-based financial transaction
CN113010443B (en) Database test data generation method and device based on financial core transaction scene
CN111881166B (en) Method, device and system for processing operation data based on block chain
US11829334B2 (en) Per row database resynchronization
CN110555682B (en) Multi-channel implementation method based on alliance chain
CN104574182A (en) Bank reconciliation account configuration method and device
US11354295B2 (en) Self-healing real-time data processing
US20190034905A1 (en) Ride sharing benefit administration platform
CN108463830B (en) Network bridge for local transaction authorization
CN104424594A (en) Data checking method and system
CN114372293A (en) Block chain based data approval method, device, equipment and storage medium
CN111274255A (en) Service data monitoring method and system, monitoring architecture, equipment and storage medium
CN112115278A (en) Actual control person relation mining method and device based on knowledge graph
KR20150112384A (en) Car funding system and Method thereof

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