Business processing method and apparatus for online data migration process

A data processing and migration process technology, applied in the Internet field, can solve problems such as business interruption, and achieve the effect of ensuring integrity and normal operation

Active Publication Date: 2018-07-10
CHINA MOBILE GRP BEIJING +1
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a business processing method and device in the process of online data migration to solve the problem of business interruption during data migration in the prior art

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
  • Business processing method and apparatus for online data migration process
  • Business processing method and apparatus for online data migration process
  • Business processing method and apparatus for online data migration process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] An application scenario of the embodiment of the present application is to migrate business data when upgrading the business, wherein the data migration can be homogeneous data migration or heterogeneous data migration; homogeneous data refers to data stored in the same data management system, and data with the same data structure; heterogeneous data refers to data stored in different database management systems, or data stored in the same database management system but with different data structures. Before migrating business data, new and old business logic can be developed and launched, and at the same time, switches can be embedded in the business logic to realize free switching between new business logic, old business logic, and new and old business logic.

[0053] In the specific implementation process, a read request or write request will be generated during the execution of the business process, and the business data status corresponding to the business process c...

Embodiment 2

[0082] The embodiments of the present invention will be described in detail below in conjunction with specific service scenarios.

[0083] Assuming that a communication operator holds a free traffic activity, if the answer to the question submitted by the user is correct, 1G traffic will be given as a gift, and a user can participate in the activity once. Among them, the table structure design of the business data is shown in Table A.

[0084] Form A:

[0085] cellphone number

Event name

Question answer (text type)

139XXXX1111

Send 1G traffic

A

139XXXX2222

Send 1G traffic

B

[0086] After the activity has been carried out for a period of time, it is necessary to modify the way of answering questions so that users use the recommendation code to participate in the activity, and then according to the business requirements, the table structure of the business data is changed as shown in Table A` below.

[0087] Table A`:

[0088...

Embodiment 3

[0112] Such as Figure 4 Shown is a schematic diagram of an online data migration device 40 according to an embodiment of the present application, which includes multiple business logic control devices, a migration state control device, a cache device, and multiple read devices and write devices. Wherein, the reading device and the writing device are separated from each other.

[0113] In the specific implementation process, different business data states correspond to different business processing procedures, combined below Figure 4 The shown setup briefly introduces the three business processes in the method section.

[0114] Such as Figure 5 As shown in , it is a flow chart of business processing when the business data is in the migration state provided by the embodiment of the present application.

[0115] 5.1: After starting to migrate business data, the migration status control device sets the status as migration.

[0116] 5.2: The migration state control device no...

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 relates to the technical field of the internet, in particular to a business processing method and apparatus for an online data migration process, which is used for solving the problem ofbusiness interrupt during data migration in the prior art. The business processing method comprises the steps of generating a reading request or a writing request for a business process initiated bya user; determining a business data state corresponding to the business process; if the business data state is a migration state and a data processing request is the reading request, reading data corresponding to the reading request from a first business data table which stores data before business data migration; and if the business data state is the migration state and the data processing request is the writing request, writing data corresponding to the writing request in a cache apparatus, thereby writing the data in the data cache apparatus into the first business data table and a second business data table after the data in the first business data table is written in the second business data table.

Description

technical field [0001] The present application relates to the field of Internet technologies, and in particular to a business processing method and device in the process of online data migration. Background technique [0002] With the rapid development of Internet technology, various business systems have emerged. In order to meet the ever-changing needs of users, most of the business systems need to be continuously upgraded, and data migration is usually required during the upgrade process. [0003] In the existing technology, during data migration, it is necessary to suspend business services, and then reopen business services after data migration is completed. Although some means can be used to shorten the suspension time of business during the migration process, it cannot fundamentally avoid business services. An interruption occurs. [0004] It can be seen that in the prior art, there is a problem of service interruption during data migration. Contents of the inventi...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/214G06F16/24552
Inventor 武帅
Owner CHINA MOBILE GRP BEIJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products