[go: up one dir, main page]

CN106776137A - A kind of user's logging data backup and restoration methods - Google Patents

A kind of user's logging data backup and restoration methods Download PDF

Info

Publication number
CN106776137A
CN106776137A CN201611162327.4A CN201611162327A CN106776137A CN 106776137 A CN106776137 A CN 106776137A CN 201611162327 A CN201611162327 A CN 201611162327A CN 106776137 A CN106776137 A CN 106776137A
Authority
CN
China
Prior art keywords
data
user
backup
client
logging
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.)
Pending
Application number
CN201611162327.4A
Other languages
Chinese (zh)
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.)
Jinan Inspur Hi Tech Investment and Development Co Ltd
Original Assignee
Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jinan Inspur Hi Tech Investment and Development Co Ltd filed Critical Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority to CN201611162327.4A priority Critical patent/CN106776137A/en
Publication of CN106776137A publication Critical patent/CN106776137A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of user's logging data backup and restoration methods, based on the system including client and C/S the or B/S structures of service end, its implementation process is, it is not saved in first by user input to system but the automatic duplicating of data of service end, recover data when user needs, return to former message status.A kind of user's logging data backup of the invention is with restoration methods compared with prior art, in the case of user's carelessness, the system failure or environmental abnormality, can effectively save user repeat typing work, avoid the loss of user data, farthest reduce data redundancy, data recovery procedure is fast, practical, applied widely.

Description

A kind of user's logging data backup and restoration methods
Technical field
The present invention relates to field of computer technology, specifically a kind of user's logging data backup and restoration methods.
Background technology
In software systems, user is by user interface to system input data.If user have input data to system, And data have not been able to normal preservation, then user has to re-enter data.This scene be typically due to user carelessness or There is exception in person's operational error, system, and system environments is abnormal etc. causes in itself.
Above mentioned problem is relatively conventional in the system of the C/S or B/S structures of prior art, and wherein C/S structures are for everybody Well known client-server structure, it is software system architecture, and two ends hardware environment can be made full use of by it Advantage, task is reasonably allocated into Client ends and Server ends to realize, reduce the communication-cost of system.B/S structures It is to answer developing rapidly for WEB technologies and from traditional C/S structural developments, and turn into current main network knot at one stroke Structure, especially website main at present, business web site are all based on the foundation of B/S structures.
Based on this, now provide one kind effectively solve the above problems, user's logging data backup and restoration methods, based on C/S Or the system of B/S structures, user can be entered into system client by this method, and still no being saved in is The automatic duplicating of data of service end of uniting, and allow user easily to recover data, while farthest reducing the number of system According to redundancy.
The content of the invention
Technical assignment of the invention is directed to above weak point, there is provided a kind of user's logging data backup and recovery side Method.
A kind of user's logging data backup and restoration methods, be based on C/S the or B/S structures including client and service end System, its implementation process is not to be saved in first by user input to system but the automatic duplicating of data of service end, is needed in user Will when recover data, return to former message status.
It implements process:
Data of system automated back-up user typing first;
Data that are temporary or deleting backup;
When user needs to recover data, inquiry backup;
Load Backup Data to user interface;
The state relevant portion of final updating data.
The user input to system but the information data and additional information held including user interface that do not preserve, wherein The data that user interface is held include the data form of list and the data of user's typing;Additional information includes ID, uses Family interface identification and list state, list state include newly-increased state and editing mode.
Automatic duplicating of data refers to that above-mentioned data are stored in the storage medium of client, then the Backup Data according to The state of FTP client FTP, decides whether to be saved in service end, otherwise deletes client Backup Data.
The data of automated back-up are temporarily stored in the storage medium of client, and are deleted data according to following two situations: When system senses have been successfully saved to service end to user's logging data, system-kill user's logging data is in client Backup;When system senses to user actively abandon the data of institute's typing, system-kill user's logging data is in the standby of client Part.
The FTP client FTP state refers to:
System client is exited, and causes data to be saved in service end;
System faults itself, causes data to be saved in service end;
System environments exception, causes data to be saved in service end.
It is described recover data detailed process be,
The data that inquiry is associated with user interface first from the Backup Data set of client;
Then the Backup Data of client is returned into original subscriber interface, and reduces user interface state;
The partial data that final updating user interface is held, keeps data consistency.
The data that inquiry is associated with user interface are carried out based on following rule:
The ID and targeted customer for matching Backup Data are identified;
Match the user interface mark and target user interface mark of Backup Data.
The user interface state includes list state and data mode, and wherein list state includes newly-increased state and editor State, data mode includes unmodified state and has changed state.
The process of the partial data that more new user interface is held is:
The part related to date-time in renewal user's logging data;
The part related to User Status in renewal user's logging data;
The part related to system mode in renewal user's logging data;
The part related to system data storage in renewal user's logging data;
Update user's logging data form and the inconsistent part of current form form.
A kind of user's logging data backup of the invention and restoration methods compared to the prior art, with following beneficial effect Really:
A kind of user's logging data backup of the invention and restoration methods, are not saved in still by by user input to system The automatic duplicating of data of service end, data are recovered when user needs, in the feelings of user's carelessness, the system failure or environmental abnormality Under condition, save user and repeat typing work, it is to avoid the loss of user data, farthest reduce data redundancy, data recovery Process is fast, practical, applied widely, it is easy to promote.
Brief description of the drawings
Accompanying drawing 1 realizes flow chart for of the invention.
Accompanying drawing 2 realizes flow chart for the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings and specific embodiment the invention will be further described.
As shown in Figure 1, a kind of user's logging data backup and restoration methods, it is adaptable to the table based on B/S or C/S systems The realization of single input function.But the method that the present invention is realized, is not saved in user input to system the number of service end According to automated back-up, data are recovered when user needs.In the case of user's carelessness, the system failure or environmental abnormality, this hair It is bright to save user's repetition typing work, it is to avoid the loss of user data.
Based on the system including client and C/S the or B/S structures of service end, its implementation process is, first by user It is input to system but is not saved in the automatic duplicating of data of service end, data are recovered when user needs, returns to former message State.
It implements process:
Data of system automated back-up user typing first;
Data that are temporary or deleting backup;
When user needs to recover data, inquiry backup;
Load Backup Data to user interface;
The state relevant portion of final updating data.
The user input to system but the information data and additional information held including user interface that do not preserve, wherein The data that user interface is held include the data form of list and the data of user's typing;Additional information includes ID, uses Family interface identification and list state, list state include newly-increased state and editing mode.
Automatic duplicating of data refers to that above-mentioned data are stored in the storage medium of client, then the Backup Data according to The state of FTP client FTP, decides whether to be saved in service end, otherwise deletes client Backup Data.
The data of automated back-up are temporarily stored in the storage medium of client, and are deleted data according to following two situations: When system senses have been successfully saved to service end to user's logging data, system-kill user's logging data is in client Backup;When system senses to user actively abandon the data of institute's typing, system-kill user's logging data is in the standby of client Part.
The FTP client FTP state refers to:
System client is exited, and causes data to be saved in service end;
System faults itself, causes data to be saved in service end;
System environments exception, causes data to be saved in service end.
It is described recover data detailed process be,
The data that inquiry is associated with user interface first from the Backup Data set of client;
Then the Backup Data of client is returned into original subscriber interface, and reduces user interface state;
The partial data that final updating user interface is held, keeps data consistency.
The data that inquiry is associated with user interface are carried out based on following rule:
The ID and targeted customer for matching Backup Data are identified;
Match the user interface mark and target user interface mark of Backup Data.
The user interface state includes list state and data mode, and wherein list state includes newly-increased state and editor State, data mode includes unmodified state and has changed state.
The process of the partial data that more new user interface is held is:
The part related to date-time in renewal user's logging data;
The part related to User Status in renewal user's logging data;
The part related to system mode in renewal user's logging data;
The part related to system data storage in renewal user's logging data;
Update user's logging data form and the inconsistent part of current form form.
As shown in Figure 2, below with the system embodiment based on B/S structures:
Step 1:User's login system, opens " my expense report " function, and user selects a newly-built expense report, system newly-built Individual document, system automatically generates creation time and the document numbering of document, user's typing document main information.
Further, during user input, system detected the data mode of current document every 5 seconds, if single According to data mode to have changed, system has recorded user profile, interface information, list state, form data form and user Enter data and be saved in browser to be locally stored.
Step 2:Including following scene
Scene one:User's selection preserves document, and system preserves document success, and user publishes system
Scene two:User closes document interface, and system prompts user preserves document, and user's selection does not preserve data, and user publishes System
Scene three:User does not select to preserve data, directly shuts down
Scene four:User's selection preserves document, server of the system exception, and system preserves document failure
Scene five:User's selection preservation document, Network Abnormal between the client computer and server of user,
For scene one and scene two, when the aforesaid operations behavior of system senses to user, system-kill user's logging data In the backup of client;
For scene three, scene four and scene five, system does not take action, so user's logging data will in the backup of client It is saved in data restoration step, i.e. step 3.
Step 3:User's login system again, opens " my expense report " function, and system is from client Backup Data set The entry that middle inquiry matches with active user's mark and " my expense report " user interface mark, if client Backup Data Set has the entry of correct matching, and Query Result is prompted to user by system with tabular form in the user interface windows lower right corner.
Step 4:User selects a Backup Data entry and selects " recovery " option, one document of system creation.
Further, system by entry selected by user in the list that the Backup Data of client is filled into document,
Further, the list state of user interface is set to the list state that Backup Data is recorded by system,
Further, the data mode of user interface is set to change state by system.
Step 5:Including following scene
Scene 1:System detectio to list state be newly-increased state,
Further, field related to date-time in system detectio bills data, document date created is updated to currently The operating system time;
Further, field related to system data storage in system detectio bills data, regenerates according to coding rule The numbering of document.
Scene 2:System detectio is editing mode to list state, and system does not take action.
By specific embodiment above, the those skilled in the art can readily realize the present invention.But should Work as understanding, the present invention is not limited to above-mentioned specific embodiment.On the basis of disclosed embodiment, the technical field Technical staff can be combined different technical characteristics, so as to realize different technical schemes.
In addition to the technical characteristic described in specification, the known technology of those skilled in the art is.

Claims (10)

1. a kind of user's logging data backup and restoration methods, it is characterised in that based on the C/S including client and service end or The system of person's B/S structures, its implementation process is, first by user input to system but be not saved in service end data it is automatic Backup, data are recovered when user needs, and return to former message status.
2. a kind of user's logging data backup according to claim 1 and restoration methods, it is characterised in that it is implemented Process is:
Data of system automated back-up user typing first;
Data that are temporary or deleting backup;
When user needs to recover data, inquiry backup;
Load Backup Data to user interface;
The state relevant portion of final updating data.
3. a kind of user's logging data backup according to claim 2 and restoration methods, it is characterised in that the user is defeated Data and additional information that the information for entering to system but not preserving is held including user interface, the data that wherein user interface is held The data of data form and user's typing including list;Additional information includes ID, user interface mark and list shape State, list state includes newly-increased state and editing mode.
4. a kind of user's logging data backup according to claim 2 and restoration methods, it is characterised in that data are automatically standby Part refer to that above-mentioned data are stored in the storage medium of client, then the Backup Data is according to the state of FTP client FTP, Decide whether to be saved in service end, otherwise delete client Backup Data.
5. a kind of user's logging data backup according to claim 4 and restoration methods, it is characterised in that automated back-up Data are temporarily stored in the storage medium of client, and are deleted data according to following two situations:When system senses to user are recorded When entering data and being successfully saved to service end, backup of the system-kill user logging data in client;When system senses are arrived When user actively abandons the data of institute's typing, backup of the system-kill user logging data in client.
6. a kind of user's logging data backup according to claim 4 and restoration methods, it is characterised in that the client System mode refers to:
System client is exited, and causes data to be saved in service end;
System faults itself, causes data to be saved in service end;
System environments exception, causes data to be saved in service end.
7. a kind of user's logging data backup according to claim 2 and restoration methods, it is characterised in that the recovery number According to detailed process be,
The data that inquiry is associated with user interface first from the Backup Data set of client;
Then the Backup Data of client is returned into original subscriber interface, and reduces user interface state;
The partial data that final updating user interface is held, keeps data consistency.
8. a kind of user's logging data backup according to claim 7 and restoration methods, it is characterised in that inquiry and user The data of interface association are carried out based on following rule:
The ID and targeted customer for matching Backup Data are identified;
Match the user interface mark and target user interface mark of Backup Data.
9. a kind of user's logging data backup according to claim 7 and restoration methods, it is characterised in that user circle Surface state includes list state and data mode, and wherein list state includes newly-increased state and editing mode, and data mode includes Unmodified state and state is changed.
10. a kind of user's logging data backup according to claim 7 and restoration methods, it is characterised in that update user The process of the partial data that interface is held is:
The part related to date-time in renewal user's logging data;
The part related to User Status in renewal user's logging data;
The part related to system mode in renewal user's logging data;
The part related to system data storage in renewal user's logging data;
Update user's logging data form and the inconsistent part of current form form.
CN201611162327.4A 2016-12-15 2016-12-15 A kind of user's logging data backup and restoration methods Pending CN106776137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611162327.4A CN106776137A (en) 2016-12-15 2016-12-15 A kind of user's logging data backup and restoration methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611162327.4A CN106776137A (en) 2016-12-15 2016-12-15 A kind of user's logging data backup and restoration methods

Publications (1)

Publication Number Publication Date
CN106776137A true CN106776137A (en) 2017-05-31

Family

ID=58892510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611162327.4A Pending CN106776137A (en) 2016-12-15 2016-12-15 A kind of user's logging data backup and restoration methods

Country Status (1)

Country Link
CN (1) CN106776137A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750511A (en) * 2019-09-06 2020-02-04 平安普惠企业管理有限公司 Operation history restoration method and device, computer equipment and storage medium
CN110781188A (en) * 2019-10-23 2020-02-11 泰康保险集团股份有限公司 Form information processing method and device, electronic equipment and storage medium
CN111055885A (en) * 2018-10-17 2020-04-24 株洲中车时代电气股份有限公司 Method, system and equipment for restoring accumulated data of vehicle-mounted network
CN115827465A (en) * 2022-12-09 2023-03-21 南京理工大学 Android application interface data loss defect analysis and detection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3600414B2 (en) * 1996-10-03 2004-12-15 インターナショナル・ビジネス・マシーンズ・コーポレーション Data backup / restore method and system in multiple system environment
CN102460379A (en) * 2009-06-02 2012-05-16 微软公司 Timeline experience for restore user interface
CN103582875A (en) * 2011-06-03 2014-02-12 苹果公司 Method and apparatus for multi-source restore
CN104216794A (en) * 2013-06-04 2014-12-17 北大方正集团有限公司 Disaster recovery method and device for manuscript editing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3600414B2 (en) * 1996-10-03 2004-12-15 インターナショナル・ビジネス・マシーンズ・コーポレーション Data backup / restore method and system in multiple system environment
CN102460379A (en) * 2009-06-02 2012-05-16 微软公司 Timeline experience for restore user interface
CN103582875A (en) * 2011-06-03 2014-02-12 苹果公司 Method and apparatus for multi-source restore
CN104216794A (en) * 2013-06-04 2014-12-17 北大方正集团有限公司 Disaster recovery method and device for manuscript editing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111055885A (en) * 2018-10-17 2020-04-24 株洲中车时代电气股份有限公司 Method, system and equipment for restoring accumulated data of vehicle-mounted network
CN110750511A (en) * 2019-09-06 2020-02-04 平安普惠企业管理有限公司 Operation history restoration method and device, computer equipment and storage medium
CN110781188A (en) * 2019-10-23 2020-02-11 泰康保险集团股份有限公司 Form information processing method and device, electronic equipment and storage medium
CN115827465A (en) * 2022-12-09 2023-03-21 南京理工大学 Android application interface data loss defect analysis and detection method

Similar Documents

Publication Publication Date Title
CN110765091B (en) Account checking method and system
Abdul-Rahman et al. Implementation of risk management in Malaysian construction industry: case studies
US7707455B2 (en) Self-service recovery of application data
US7386752B1 (en) Using asset dependencies to identify the recovery set and optionally automate and/or optimize the recovery
CN106776137A (en) A kind of user's logging data backup and restoration methods
US5832517A (en) System logging using embedded database
US7685189B2 (en) Optimizing backup and recovery utilizing change tracking
US10496618B2 (en) Managing data replication in a data grid
US6654771B1 (en) Method and system for network data replication
CN111143323B (en) MPP database management method, device and system
KR20140010988A (en) Method, sharing platform, and system for sharing image-editing action
CN106951781A (en) Extort software defense method and apparatus
CN106155838B (en) A kind of database backup data recovery method and device
US9749359B2 (en) Phishing campaign ranker
US7499955B2 (en) System and method for undoing application actions using inverse actions with atomic rollback
US20180074887A1 (en) Using Predictive Analytics of Natural Disaster to Cost and Proactively Invoke High-Availability Preparedness Functions in a Computing Environment
CN101025741A (en) Database back up system and method
CN110413691A (en) Database backup method, restoration methods and device based on block chain
US9847941B2 (en) Selectively suppress or throttle migration of data across WAN connections
KR102298566B1 (en) Apparatus for interfacing communication between legacy system for recruiting and platform of block_chain
CN107040509B (en) message sending method and device
DE112012000305T5 (en) Joint restoration of data sources
CN111506450B (en) Method, apparatus and computer program product for data processing
CN108664255A (en) A kind of method for upgrading software and device
CN112181248B (en) Operation method and device of history list

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication