Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for restoring database data at order level

A recovery method and system recovery technology, applied in database update, structured data retrieval, etc., can solve the problems of wide data coverage, long time consumption, high cost of database restoration, etc., and achieve the effect of simplifying the recovery process and improving efficiency

Active Publication Date: 2020-12-01
CTRIP TRAVEL NETWORK TECH SHANGHAI0
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a recovery method and system for order-level database data in order to overcome the defects in the prior art that the cost of database restoration is high and time-consuming, and the affected data range is wide

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for restoring database data at order level
  • Method and system for restoring database data at order level

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention is further illustrated below by means of examples, but the present invention is not limited to the scope of the examples.

[0030] Such as figure 1 Shown, the recovery method of the database data of order level of the present invention comprises the following steps:

[0031] Step 101, for a single target order, serialize relevant data at the order level and save it in a local database;

[0032] Step 102. When restoring the target order, query the local database according to the order to obtain the order-level saved data of the target order after serialization;

[0033] Step 103, comparing the acquired saved data with the current order data of the target order, and judging whether the current order data needs to be updated, and if so, execute step 104;

[0034] Step 104, using the current order data of the target order to update the current order data.

[0035] Wherein, in step 101, the serialized data is stored persistently. Data persistence is ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data recovering method and system for an order-level database. The method comprises the steps that S1, as for a single target order, serialization treatment is carried out onrelated data of the order-level, and the related data is stored in a local database; S2, when a target order is recovered, the local database is queried according to the order, and the stored data ofthe order-level after the serialization treatment of the target order is acquired; S3, the acquired stored data is contrasted with current order data of the target order, it is judged whether or notthe current order data needs to be upgraded, and if yes, S4 is executed; S4, the current order data is upgraded by utilizing the current order data of the target order. According to the recovering method, the queried data by using order querying conditions is utilized to be contrasted with the previous queried data, it is judged whether or not data of the current table is consistent, the current data is upgraded, data recovering processes are simplified, so that the data recovering only aims at the order level and does not affect other data, and the data recovering efficiency is improved.

Description

technical field [0001] The invention relates to a technology for restoring data in an order-level database, in particular to a method and system for restoring data in an order-level database. Background technique [0002] In the prior art, database restoration is mainly processed by inserting all the data in the full data table, but this method is costly and time-consuming, and affects a wide range of data. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide an order-level database data recovery method and system in order to overcome the defects of high cost and time-consuming database restoration in the prior art and affect a wide range of data. [0004] The present invention solves the above technical problems through the following technical solutions: [0005] The invention provides a method for restoring database data at an order level, comprising the following steps: [0006] S1. For a single target order, ser...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/23
Inventor 纪春宇陈亮
Owner CTRIP TRAVEL NETWORK TECH SHANGHAI0
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More