WO2019148722A1 - 电子装置、数据迁移及调用方法及存储介质 - Google Patents

电子装置、数据迁移及调用方法及存储介质 Download PDF

Info

Publication number
WO2019148722A1
WO2019148722A1 PCT/CN2018/089456 CN2018089456W WO2019148722A1 WO 2019148722 A1 WO2019148722 A1 WO 2019148722A1 CN 2018089456 W CN2018089456 W CN 2018089456W WO 2019148722 A1 WO2019148722 A1 WO 2019148722A1
Authority
WO
WIPO (PCT)
Prior art keywords
migration
data
storage space
address
data stored
Prior art date
Application number
PCT/CN2018/089456
Other languages
English (en)
French (fr)
Inventor
王丽
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019148722A1 publication Critical patent/WO2019148722A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/214Database migration support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2308Concurrency control
    • G06F16/2336Pessimistic concurrency control approaches, e.g. locking or multiple versions without time stamps

Definitions

  • the field of data calling in the database of the present application relates to an electronic device, a data migration and calling method, and a storage medium.
  • a database that provides source data, and store data of all business types in the source database for different types of business system calls.
  • the index file of the data storage address is stored in the source database, and the business system can find the data satisfying the demand through the index file of the data storage address, but in the source database
  • the stored single-table data is usually more than 1 billion.
  • the present application provides an electronic device, a data migration and calling method, and a storage medium, which can improve the efficiency of data calling and improve the user experience.
  • the present application provides an electronic device including a memory and a processor connected to the memory, where the processor is configured to execute a data migration and calling program stored on the memory,
  • the data migration and calling program is implemented by the processor to implement the following steps:
  • A1 determining a service type corresponding to the data stored in the source database according to the mapping relationship between the predetermined service type and the data, and dividing the source database into different storage spaces according to the determined service type, where each storage space corresponds to Store data for a business type;
  • the storage space corresponding to the data matching the preset type of service data is searched from the source database;
  • A3 Obtain a start address and an end address of a storage space corresponding to the matched data, update a start migration address in the predetermined migration seed table to a start address of the storage space, and update an end in the migration seed table.
  • the migration address is an end address of the storage space
  • the predetermined migration seed table includes a start migration address and an end migration address
  • A4. Determine, according to the migration seed table, whether data stored in the storage space is in a predetermined target database, and if the data stored in the storage space is in the target database, invoke a corresponding preset type from the target database. Business data and return to the business system;
  • the data stored in the storage space is not in the target database, the data stored in the storage space is migrated to the target database according to the migration seed table, and the corresponding preset type service data is invoked from the target database. And return to the business system.
  • the present application further provides a data migration and calling method, where the method includes:
  • S1 determining a service type corresponding to the data stored in the source database according to the mapping relationship between the predetermined service type and the data, and dividing the source database into different storage spaces according to the determined service type, where each storage space corresponds to Store data for a business type;
  • the predetermined migration seed table includes a start migration address and an end migration address
  • the data stored in the storage space is not in the target database, the data stored in the storage space is migrated to the target database according to the migration seed table, and the corresponding preset type service data is invoked from the target database. And return to the business system.
  • the present application further provides a computer readable storage medium storing a data migration and calling program, the data migration and calling program being executable by at least one processor, Having the at least one processor perform the following steps:
  • the service type corresponding to the data stored in the source database is determined according to the mapping relationship between the predetermined service type and the data, and the source database is divided into different storage spaces according to the determined service type, and each storage space is correspondingly stored.
  • Data of a business type is determined according to the mapping relationship between the predetermined service type and the data, and the source database is divided into different storage spaces according to the determined service type, and each storage space is correspondingly stored.
  • the predetermined migration seed table includes a start migration address and an end migration address
  • the data stored in the storage space is not in the target database, the data stored in the storage space is migrated to the target database according to the migration seed table, and the corresponding preset type service data is invoked from the target database. And return to the business system.
  • the electronic device, the data migration and calling method, and the storage medium proposed by the present application divide the data stored in the source database into different storage spaces according to the service type, and receive the service system call data.
  • FIG. 1 is a schematic diagram of an optional hardware architecture of an electronic device proposed by the present application.
  • FIG. 2 is a schematic diagram of a program module of a data migration and calling program in an embodiment of an electronic device of the present application
  • FIG. 3 is a flow chart of an implementation of a preferred embodiment of the data migration and invocation method of the present application.
  • the electronic device 10 may include, but is not limited to, the memory 11, the processor 12, and the network interface 13 being communicably connected to each other through the communication bus 14. It should be noted that FIG. 1 only shows the electronic device 10 having the components 11-14, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
  • the memory 11 includes at least one type of computer readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (for example, SD or DX memory, etc.), a random access memory (RAM), and a static memory.
  • the memory 11 may be an internal storage unit of the electronic device 10, such as a hard disk or memory of the electronic device 10.
  • the memory 11 may also be an outsourced storage device of the electronic device 10, such as a plug-in hard disk equipped on the electronic device 10, a smart memory card (SMC), and a secure digital (Secure Digital, SD) ) cards, flash cards, etc.
  • the memory 11 can also include both an internal storage unit of the electronic device 10 and an outsourced storage device thereof.
  • the memory 11 is generally used to store an operating system installed on the electronic device 10 and various types of application software, such as data migration and calling programs. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
  • Processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 12 is typically used to control the overall operation of the electronic device 10.
  • the processor 12 is configured to run program code or process data stored in the memory 11, such as running data migration and calling programs.
  • Network interface 13 may include a wireless network interface or a wired network interface, which is typically used to establish a communication connection between electronic device 10 and other electronic devices.
  • Communication bus 14 is used to implement a communication connection between components 11-13.
  • FIG. 1 shows only electronic device 10 having components 11-14 and data migration and calling procedures, but it should be understood that not all illustrated components may be implemented and that more or fewer components may be implemented instead.
  • the electronic device 10 may further include a user interface (not shown in FIG. 1), and the user interface may include a display, an input unit such as a keyboard, wherein the user interface may further include a standard wired interface, a wireless interface, and the like.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED touch device, or the like. Further, the display may also be referred to as a display screen or display unit for displaying information processed in the electronic device 10 and a user interface for displaying visualizations.
  • the service type corresponding to the data stored in the source database is determined according to the mapping relationship between the predetermined service type and the data, and the source database is divided into different storage spaces according to the determined service type, and each storage space is correspondingly stored.
  • Data of a business type is determined according to the mapping relationship between the predetermined service type and the data, and the source database is divided into different storage spaces according to the determined service type, and each storage space is correspondingly stored.
  • the storage space is an extent.
  • the predetermined migration seed table includes a start migration address and an end migration address
  • the predetermined migration seed table further includes a task status and an address of the migration data
  • the data stored in the storage space is migrated according to the migration seed table to a predetermined target database, and the corresponding preset type service is invoked from the predetermined target database.
  • the data is returned to the business system.
  • the task status is the completion of the migration, determining whether the data stored in the storage space is in a predetermined target database; or if the task status is in the migration, determining whether the migration status is within a preset time threshold After the migration is completed, if the migration status is updated to be completed within the preset time threshold, determining whether the data stored in the storage space is in a predetermined target database;
  • the task status is to be migrated, it is determined that the data stored in the storage space is not in a predetermined database.
  • the step of migrating the data stored in the storage space to the target database according to the migration seed table includes:
  • the preset migration sequence is to sequentially migrate data stored between the initial migration address and the end migration address from the start migration address, including the data and the location of the start migration address storage. Describe the data stored in the migration address;
  • the data migration process is monitored in real time. If the migration of the data stored in the storage space corresponding to the migration address fails, the address of the migration data is updated as the migration address corresponding to the storage data that failed to be migrated, and the task status is updated. Failure, and send a migration failure prompt message to a predetermined terminal device of the operator;
  • the task status is updated as the migration is completed.
  • the migration seed table further includes a start time and an end time.
  • the method further includes the step of: setting a database lock of a preset type to the storage data corresponding to the storage space, for example, a database lock set by using a select for update statement.
  • the method further includes the step of releasing the database lock of the preset type.
  • the electronic device proposed by the present application divides the data stored in the source database into different storage spaces according to the service type, and after receiving the request for the service system to call the data, according to the predetermined migration seed table. Determining whether the data stored in the storage space storing the called data is in a predetermined target database, and if in the predetermined target database, acquiring the called data from the target data and transmitting the data to the service system, if not in the predetermined target And storing the data stored in the storage space of the calling data according to the migration seed table to the target database, and acquiring the called data from the target data and transmitting the data to the service system. It can improve the efficiency of data calls and enhance the user experience.
  • FIG. 2 is a schematic diagram of a program module for data migration and calling procedures in an embodiment of the electronic device of the present application.
  • the data migration and calling program may be divided into a dividing module 201, a searching module 202, an updating module 203, and a calling module 204 according to different functions implemented by the respective parts.
  • the program module referred to in the present application refers to a series of computer program instruction segments capable of performing a specific function, which is more suitable than the program for describing the data migration and the execution process of the calling program in the electronic device 10.
  • the functions or operational steps implemented by the modules 201-204 are similar to the above, and are not described in detail herein, by way of example, for example:
  • the dividing module 201 is configured to determine, according to a mapping relationship between the predetermined service type and the data, a service type corresponding to the data stored in the source database, and divide the source database into different storage spaces according to the determined service type, and each The storage space corresponds to storing data of a service type;
  • the search module 202 is configured to: after receiving the request for acquiring the preset type of service data sent by the service system, searching, by the source database, a storage space corresponding to the data that matches the preset type of service data;
  • the update module 203 is configured to obtain a start address and an end address of the storage space corresponding to the matched data, update a start migration address in the predetermined migration seed table as a start address of the storage space, and update the migration seed table.
  • the ending migration address is the end address of the storage space, and the predetermined migration seed table includes a start migration address and an end migration address;
  • the calling module 204 is configured to determine, according to the migration seed table, whether data stored in the storage space is in a predetermined target database, and if the data stored in the storage space is in the target database, invoking corresponding data from the target database Preset type of business data and return to the business system;
  • the data stored in the storage space is not in the target database, the data stored in the storage space is migrated to the target database according to the migration seed table, and the corresponding preset type service data is invoked from the target database. And return to the business system.
  • the present application also provides a data migration and calling method.
  • the data migration and calling method includes the following steps:
  • Step S301 Determine, according to a mapping relationship between the predetermined service type and the data, a service type corresponding to the data stored in the source database, and divide the source database into different storage spaces according to the determined service type, and each storage space Corresponding to storing data of a service type;
  • Step S302 after receiving the request for acquiring the preset type service data sent by the service system, searching for the storage space corresponding to the data matching the preset type service data from the source database;
  • step S303 the start address and the end address of the storage space corresponding to the matched data are obtained, and the initial migration address in the predetermined migration seed table is updated to be the start address of the storage space, and the migration seed table is updated. Ending the migration address as the end address of the storage space, where the predetermined migration seed table includes a start migration address and an end migration address;
  • the predetermined migration seed table includes a start migration address and an end migration address
  • the predetermined migration seed table further includes a task status and an address of the migration data
  • Step S304 determining, according to the migration seed table, whether data stored in the storage space is in a predetermined target database, and if the data stored in the storage space is in the target database, calling a corresponding preset from the target database Type business data and return to the business system;
  • the data stored in the storage space is not in the target database, the data stored in the storage space is migrated to the target database according to the migration seed table, and the corresponding preset type service data is invoked from the target database. And return to the business system.
  • the task status is the completion of the migration, determining whether the data stored in the storage space is in a predetermined target database; or, if the task status is in the migration, within a preset time threshold (for example, within 5 seconds) Determining whether the migration status is the completion of the migration, and if the migration status is updated to be completed within the preset time threshold, determining whether the data stored in the storage space is in a predetermined target database;
  • the task status is to be migrated, it is determined that the data stored in the storage space is not in a predetermined database.
  • the step of migrating the data stored in the storage space to the target database according to the migration seed table includes:
  • the preset migration sequence is to sequentially migrate data stored between the initial migration address and the end migration address from the start migration address, including the data and the location of the start migration address storage. Describe the data stored in the migration address;
  • the data migration process is monitored in real time. If the migration of the data stored in the storage space corresponding to the migration address fails, the address of the migration data is updated as the migration address corresponding to the storage data that failed to be migrated, and the task status is updated. Failure, and send a migration failure prompt message to a predetermined terminal device of the operator;
  • the task status is updated as the migration is completed.
  • the migration seed table further includes a start time and an end time.
  • the method further includes the step of: setting a database lock of a preset type to the storage data corresponding to the storage space, for example, a database lock set by using a select for update statement.
  • the method further includes the step of releasing the database lock of the preset type.
  • the data migration and calling method proposed by the present application divides the data stored in the source database into different storage spaces according to the service type, and after receiving the request of the service system to call the data, according to the predetermined
  • the migration seed table determines whether the data stored in the storage space storing the call data is in a predetermined target database, and if it is in the predetermined target database, the called data is obtained from the target data and sent to the service system, if not in advance Determining the target database, migrating the data stored in the storage space of the calling data to the target database according to the migration seed table, and acquiring the called data from the target data and transmitting the data to the service system. It can improve the efficiency of data calls and enhance the user experience.
  • the present application further provides a computer readable storage medium on which a data migration and calling program is stored, and when the data migration and calling program is executed by the processor, the following operations are implemented:
  • the service type corresponding to the data stored in the source database is determined according to the mapping relationship between the predetermined service type and the data, and the source database is divided into different storage spaces according to the determined service type, and each storage space is correspondingly stored.
  • Data of a business type is determined according to the mapping relationship between the predetermined service type and the data, and the source database is divided into different storage spaces according to the determined service type, and each storage space is correspondingly stored.
  • the predetermined migration seed table includes a start migration address and an end migration address
  • the data stored in the storage space is not in the target database, the data stored in the storage space is migrated to the target database according to the migration seed table, and the corresponding preset type service data is invoked from the target database. And return to the business system.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in the various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请公开了一种电子装置、数据迁移及调用方法及存储介质,通过将源数据库中存储的数据根据业务类型划分为不同的存储空间,并在接收到业务系统调用数据的请求后,根据预先确定的迁移种子表确定存储该调用数据的存储空间存储的数据是否在预先确定的目标数据库,若在预先确定的目标数据库,则从所述目标数据获取调用的数据并发送至该业务系统,若不在预先确定的目标数据库,则根据所述迁移种子表迁移该调用数据的存储空间存储的数据至所述目标数据库,并从所述目标数据获取调用的数据并发送至该业务系统。能够提高数据调用的效率,提升用户的体验效果。

Description

电子装置、数据迁移及调用方法及存储介质
本申请要求于2018年02月01日提交中国专利局、申请号为201810103384.8、发明名称为“电子装置、数据迁移及调用方法及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本申请数据库中数据调用领域,尤其涉及一种电子装置、数据迁移及调用方法及存储介质。
背景技术
随着数据共享技术的发展,企业为了满足日益增长的业务需求,通常预先确定一个提供源数据的数据库(源数据库),并将所有业务类型的数据存储在源数据库中供不同类型的业务系统调用,目前,为了方便业务系统查找到满足需求的数据,在源数据库中对应存储有数据存储地址的索引文件,业务系统可以通过数据存储地址的索引文件查找到满足需求的数据,但是,源数据库中存储的单表数据通常都是超过10亿级别的,在多个业务系统同时调用数据时,容易出现源数据库宕机的风险,一旦源数据库出现宕机将影响所有业务系统继续调用数据的进行,导致数据调用效率低下,用户体验效果不佳。
发明内容
有鉴于此,本申请提出一种电子装置、数据迁移及调用方法及存储介质,能够提高数据调用的效率,提升用户的体验效果。
首先,为实现上述目的,本申请提出一种电子装置,所述电子装置包括存储器、及与所述存储器连接的处理器,所述处理器用于执行所述存储器上存储的数据迁移及调用程序,所述数据迁移及调用程序被所述处理器执行时 实现如下步骤:
A1、根据预先确定的业务类型与数据之间的映射关系确定源数据库中存储的数据分别对应的业务类型,根据确定的业务类型将所述源数据库划分为不同的存储空间,每个存储空间对应存储一种业务类型的数据;
A2、接收到业务系统发送的获取预设类型业务数据的请求后,从所述源数据库中查找出与所述预设类型业务数据相匹配的数据对应的存储空间;
A3、获取相匹配的数据对应的存储空间的起始地址和结束地址,更新预先确定的迁移种子表中的起始迁移地址为该存储空间的起始地址,更新所述迁移种子表中的结束迁移地址为该存储空间的结束地址,所述预先确定的迁移种子表包括起始迁移地址以及结束迁移地址;
A4、基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的目标数据库,若该存储空间存储的数据在所述目标数据库中,则从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统;
或者,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库,从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统。
此外,为实现上述目的,本申请还提出一种数据迁移及调用方法,所述方法包括:
S1、根据预先确定的业务类型与数据之间的映射关系确定源数据库中存储的数据分别对应的业务类型,根据确定的业务类型将所述源数据库划分为不同的存储空间,每个存储空间对应存储一种业务类型的数据;
S2、接收到业务系统发送的获取预设类型业务数据的请求后,从所述源数据库中查找出与所述预设类型业务数据相匹配的数据对应的存储空间;S3、获取相匹配的数据对应的存储空间的起始地址和结束地址,更新预先确定的迁移种子表中的起始迁移地址为该存储空间的起始地址,更新所述迁移种子表中的结束迁移地址为该存储空间的结束地址,所述预先确定的迁移种子表 包括起始迁移地址以及结束迁移地址;
S4、基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的目标数据库,若该存储空间存储的数据在所述目标数据库中,则从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统;
或者,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库,从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统。
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有数据迁移及调用程序,所述数据迁移及调用程序可被至少一个处理器执行,以使所述至少一个处理器执行如下步骤:
根据预先确定的业务类型与数据之间的映射关系确定源数据库中存储的数据分别对应的业务类型,根据确定的业务类型将所述源数据库划分为不同的存储空间,每个存储空间对应存储一种业务类型的数据;
接收到业务系统发送的获取预设类型业务数据的请求后,从所述源数据库中查找出与所述预设类型业务数据相匹配的数据对应的存储空间;
获取相匹配的数据对应的存储空间的起始地址和结束地址,更新预先确定的迁移种子表中的起始迁移地址为该存储空间的起始地址,更新所述迁移种子表中的结束迁移地址为该存储空间的结束地址,所述预先确定的迁移种子表包括起始迁移地址以及结束迁移地址;
基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的目标数据库,若该存储空间存储的数据在所述目标数据库中,则从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统;
或者,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库,从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统。
相较于现有技术,本申请所提出的电子装置、数据迁移及调用方法及存 储介质,通过将源数据库中存储的数据根据业务类型划分为不同的存储空间,并在接收到业务系统调用数据的请求后,根据预先确定的迁移种子表确定存储该调用数据的存储空间存储的数据是否在预先确定的目标数据库,若在预先确定的目标数据库,则从所述目标数据获取调用的数据并发送至该业务系统,若不在预先确定的目标数据库,则根据所述迁移种子表迁移该调用数据的存储空间存储的数据至所述目标数据库,并从所述目标数据获取调用的数据并发送至该业务系统。能够提高数据调用的效率,提升用户的体验效果。
附图说明
图1是本申请提出的电子装置一可选的硬件架构的示意图;
图2是本申请电子装置一实施例中数据迁移及调用程序的程序模块示意图;
图3是本申请数据迁移及调用方法较佳实施例的实施流程图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领 域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。
参阅图1所示,是本申请提出的电子装置一可选的硬件架构示意图。本实施例中,电子装置10可包括,但不仅限于,可通过通信总线14相互通信连接存储器11、处理器12、网络接口13。需要指出的是,图1仅示出了具有组件11-14的电子装置10,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。
其中,存储器11至少包括一种类型的计算机可读存储介质,计算机可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器11可以是电子装置10的内部存储单元,例如电子装置10的硬盘或内存。在另一些实施例中,存储器11也可以是电子装置10的外包存储设备,例如电子装置10上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,存储器11还可以既包括电子装置10的内部存储单元也包括其外包存储设备。本实施例中,存储器11通常用于存储安装于电子装置10的操作系统和各类应用软件,例如数据迁移及调用程序等。此外,存储器11还可以用于暂时地存储已经输出或者将要输出的各类数据。
处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。处理器12通常用于控制电子装置10的总体操作。本实施例中,处理器12用于运行存储器11中存储的程序代码或者处理数据,例如运行的数据迁移及调用程序等。
网络接口13可包括无线网络接口或有线网络接口,网络接口13通常用 于在电子装置10与其他电子设备之间建立通信连接。
通信总线14用于实现组件11-13之间的通信连接。
图1仅示出了具有组件11-14以及数据迁移及调用程序的电子装置10,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。
可选地,电子装置10还可以包括用户接口(图1中未示出),用户接口可以包括显示器、输入单元比如键盘,其中,用户接口还可以包括标准的有线接口、无线接口等。
可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED触摸器等。进一步地,显示器也可称为显示屏或显示单元,用于显示在电子装置10中处理信息以及用于显示可视化的用户界面。
在一实施例中,存储器11中存储的数据迁移及调用程序被处理器12执行时,实现如下操作:
根据预先确定的业务类型与数据之间的映射关系确定源数据库中存储的数据分别对应的业务类型,根据确定的业务类型将所述源数据库划分为不同的存储空间,每个存储空间对应存储一种业务类型的数据;
接收到业务系统发送的获取预设类型业务数据的请求后,从所述源数据库中查找出与所述预设类型业务数据相匹配的数据对应的存储空间;
在本实施例中,所述存储空间为extent。
获取相匹配的数据对应的存储空间的起始地址和结束地址,更新预先确定的迁移种子表中的起始迁移地址为该存储空间的起始地址,更新所述迁移种子表中的结束迁移地址为该存储空间的结束地址;
在本实施例中,所述预先确定的迁移种子表包括起始迁移地址以及结束迁移地址;
在本申请的其他实时例中,所述预先确定的迁移种子表还包括任务状态 及迁移数据的地址;
基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的目标数据库,若该存储空间存储的数据在预先确定的目标数据库中,则从预先确定的目标数据库中调用对应的预设类型业务数据并返回至该业务系统;
若该存储空间存储的数据不在预先确定的目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至预先确定的目标数据库,从预先确定的目标数据库中调用对应的预设类型业务数据并返回至该业务系统。
在本实施例中,所述预先确定的迁移种子表还包括任务状态及迁移数据的地址;所述基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的数据库中的步骤包括:
若所述任务状态为迁移完成,则确定该存储空间存储的数据是否在预先确定的目标数据库;或者,若所述任务状态为迁移中,则在预设的时间阈值内确定所述迁移状态是否为迁移完成,若所述迁移状态在所述预设时间阈值内更新为迁移完成,则确定该存储空间存储的数据是否在预先确定的目标数据库;
若所述任务状态为待迁移中,则确定该存储空间存储的数据不在预先确定的数据库中。
在本实施例中,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库的步骤包括:
更新所述任务状态为迁移中,从所述起始迁移地址开始按预设的迁移顺序开始迁移该存储空间存储的数据;
在本实施例中,预设的迁移顺序为从所述开始迁移地址开始依次迁移所述起始迁移地址与所述结束迁移地址之间存储的数据,包括所述开始迁移地址存储的数据和所述结束迁移地址存储的数据;
实时监测数据迁移过程,若监测到有迁移地址对应的该存储空间存储的 数据迁移失败,则更新所述迁移数据的地址为该迁移失败的存储数据对应的迁移地址,更新所述任务状态为迁移失败,并发送迁移失败提示信息至预先确定的运营人员的终端设备;
若监测到该存储空间存储的数据迁移完成,则更新所述任务状态为迁移完成。
进一步地,所述迁移种子表还包括开始时间及结束时间。
在所述更新所述任务状态为迁移中的步骤中,还包括如下步骤:对该存储空间对应的存储数据设置预设类型的数据库锁,例如利用select for update语句设置的数据库锁。
在所述更新所述任务状态为迁移中的步骤之后,还包括如下步骤:释放所述预设类型的数据库锁。
由上述事实施例可知,本申请提出的电子装置通过将源数据库中存储的数据根据业务类型划分为不同的存储空间,并在接收到业务系统调用数据的请求后,根据预先确定的迁移种子表确定存储该调用数据的存储空间存储的数据是否在预先确定的目标数据库,若在预先确定的目标数据库,则从所述目标数据获取调用的数据并发送至该业务系统,若不在预先确定的目标数据库,则根据所述迁移种子表迁移该调用数据的存储空间存储的数据至所述目标数据库,并从所述目标数据获取调用的数据并发送至该业务系统。能够提高数据调用的效率,提升用户的体验效果。
进一步需要说明的是,本申请的数据迁移及调用程序依据其各部分所实现的功能不同,可用具有相同功能的程序模块进行描述。请参阅图2所示,是本申请电子装置一实施例中数据迁移及调用程序的程序模块示意图。本实施例中,数据迁移及调用程序依据其各部分所实现的功能的不同,可以被分割成划分模块201、查找模块202、更新模块203、及调用模块204。由上面的描述可知,本申请所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,比程序更适合于描述数据迁移及调用程序在电子装置10中的执 行过程。所述模块201-204所实现的功能或操作步骤均与上文类似,此处不在详述,示例性地,例如其中:
划分模块201用于根据预先确定的业务类型与数据之间的映射关系确定源数据库中存储的数据分别对应的业务类型,根据确定的业务类型将所述源数据库划分为不同的存储空间,每个存储空间对应存储一种业务类型的数据;
查找模块202用于接收到业务系统发送的获取预设类型业务数据的请求后,从所述源数据库中查找出与所述预设类型业务数据相匹配的数据对应的存储空间;
更新模块203用于获取相匹配的数据对应的存储空间的起始地址和结束地址,更新预先确定的迁移种子表中的起始迁移地址为该存储空间的起始地址,更新所述迁移种子表中的结束迁移地址为该存储空间的结束地址,所述预先确定的迁移种子表包括起始迁移地址以及结束迁移地址;
调用模块204用于基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的目标数据库,若该存储空间存储的数据在所述目标数据库中,则从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统;
或者,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库,从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统。
此外,本申请还提出一种数据迁移及调用方法,请参阅图3所示,所述数据迁移及调用方法包括如下步骤:
步骤S301,根据预先确定的业务类型与数据之间的映射关系确定源数据库中存储的数据分别对应的业务类型,根据确定的业务类型将所述源数据库划分为不同的存储空间,每个存储空间对应存储一种业务类型的数据;
步骤S302,接收到业务系统发送的获取预设类型业务数据的请求后,从所述源数据库中查找出与所述预设类型业务数据相匹配的数据对应的存储空间;
步骤S303,获取相匹配的数据对应的存储空间的起始地址和结束地址,更新预先确定的迁移种子表中的起始迁移地址为该存储空间的起始地址,更新所述迁移种子表中的结束迁移地址为该存储空间的结束地址,所述预先确定的迁移种子表包括起始迁移地址以及结束迁移地址;
在本实施例中,所述预先确定的迁移种子表包括起始迁移地址以及结束迁移地址;
在本申请的其他实时例中,所述预先确定的迁移种子表还包括任务状态及迁移数据的地址;
步骤S304,基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的目标数据库,若该存储空间存储的数据在所述目标数据库中,则从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统;
或者,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库,从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统。
在本实施例中,所述预先确定的迁移种子表还包括任务状态及迁移数据的地址;所述基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的数据库中的步骤包括:
若所述任务状态为迁移完成,则确定该存储空间存储的数据是否在预先确定的目标数据库;或者,若所述任务状态为迁移中,则在预设的时间阈值内(例如5秒内)确定所述迁移状态是否为迁移完成,若所述迁移状态在所述预设时间阈值内更新为迁移完成,则确定该存储空间存储的数据是否在预先确定的目标数据库;
若所述任务状态为待迁移中,则确定该存储空间存储的数据不在预先确定的数据库中。
在本实施例中,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库的步骤包 括:
更新所述任务状态为迁移中,从所述起始迁移地址开始按预设的迁移顺序开始迁移该存储空间存储的数据;
在本实施例中,预设的迁移顺序为从所述开始迁移地址开始依次迁移所述起始迁移地址与所述结束迁移地址之间存储的数据,包括所述开始迁移地址存储的数据和所述结束迁移地址存储的数据;
实时监测数据迁移过程,若监测到有迁移地址对应的该存储空间存储的数据迁移失败,则更新所述迁移数据的地址为该迁移失败的存储数据对应的迁移地址,更新所述任务状态为迁移失败,并发送迁移失败提示信息至预先确定的运营人员的终端设备;
若监测到该存储空间存储的数据迁移完成,则更新所述任务状态为迁移完成。
进一步地,所述迁移种子表还包括开始时间及结束时间。
在所述更新所述任务状态为迁移中的步骤中,还包括如下步骤:对该存储空间对应的存储数据设置预设类型的数据库锁,例如利用select for update语句设置的数据库锁。
在所述更新所述任务状态为迁移中的步骤之后,还包括如下步骤:释放所述预设类型的数据库锁。
由上述事实施例可知,本申请提出的数据迁移及调用方法通过将源数据库中存储的数据根据业务类型划分为不同的存储空间,并在接收到业务系统调用数据的请求后,根据预先确定的迁移种子表确定存储该调用数据的存储空间存储的数据是否在预先确定的目标数据库,若在预先确定的目标数据库,则从所述目标数据获取调用的数据并发送至该业务系统,若不在预先确定的目标数据库,则根据所述迁移种子表迁移该调用数据的存储空间存储的数据至所述目标数据库,并从所述目标数据获取调用的数据并发送至该业务系统。能够提高数据调用的效率,提升用户的体验效果。
此外,本申请还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有数据迁移及调用程序,所述数据迁移及调用程序被处理器执行时实现如下操作:
根据预先确定的业务类型与数据之间的映射关系确定源数据库中存储的数据分别对应的业务类型,根据确定的业务类型将所述源数据库划分为不同的存储空间,每个存储空间对应存储一种业务类型的数据;
接收到业务系统发送的获取预设类型业务数据的请求后,从所述源数据库中查找出与所述预设类型业务数据相匹配的数据对应的存储空间;
获取相匹配的数据对应的存储空间的起始地址和结束地址,更新预先确定的迁移种子表中的起始迁移地址为该存储空间的起始地址,更新所述迁移种子表中的结束迁移地址为该存储空间的结束地址,所述预先确定的迁移种子表包括起始迁移地址以及结束迁移地址;
基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的目标数据库,若该存储空间存储的数据在所述目标数据库中,则从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统;
或者,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库,从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统。
本申请计算机可读存储介质具体实施方式与上述电子装置以及数据迁移及调用方法各实施例基本相同,在此不作累述。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘) 中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种电子装置,其特征在于,所述电子装置包括存储器、及与所述存储器连接的处理器,所述处理器用于执行所述存储器上存储的数据迁移及调用程序,所述数据迁移及调用程序被所述处理器执行时实现如下步骤:
    A1、根据预先确定的业务类型与数据之间的映射关系确定源数据库中存储的数据分别对应的业务类型,根据确定的业务类型将所述源数据库划分为不同的存储空间,每个存储空间对应存储一种业务类型的数据;
    A2、接收到业务系统发送的获取预设类型业务数据的请求后,从所述源数据库中查找出与所述预设类型业务数据相匹配的数据对应的存储空间;
    A3、获取相匹配的数据对应的存储空间的起始地址和结束地址,更新预先确定的迁移种子表中的起始迁移地址为该存储空间的起始地址,更新所述迁移种子表中的结束迁移地址为该存储空间的结束地址,所述预先确定的迁移种子表包括起始迁移地址以及结束迁移地址;
    A4、基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的目标数据库,若该存储空间存储的数据在所述目标数据库中,则从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统;
    或者,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库,从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统。
  2. 如权利要求1所述的电子装置,其特征在于,所述预先确定的迁移种子表还包括任务状态及迁移数据的地址;所述基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的数据库中的步骤包括:
    若所述任务状态为迁移完成,则确定该存储空间存储的数据是否在预先确定的目标数据库;或者,若所述任务状态为迁移中,则在预设的时间阈值内确定所述迁移状态是否为迁移完成,若所述迁移状态在所述预设时间阈值内更新为迁移完成,则确定该存储空间存储的数据在预先确定的目标数据库;
    若所述任务状态为待迁移中,则确定该存储空间存储的数据不在预先确定的数据库中。
  3. 如权利要求1所述的电子装置,其特征在于,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库的步骤包括:
    更新所述任务状态为迁移中,从所述起始迁移地址开始按预设的迁移顺序开始迁移该存储空间存储的数据;
    实时监测数据迁移过程,若监测到有迁移地址对应的该存储空间存储的数据迁移失败,则更新所述迁移数据的地址为该迁移失败的存储数据对应的迁移地址,更新所述任务状态为迁移失败,并发送迁移失败提示信息至预先确定的运营人员的终端设备;
    若监测到该存储空间存储的数据迁移完成,则更新所述任务状态为迁移完成。
  4. 如权利要求3所述的电子装置,其特征在于,在所述更新所述任务状态为迁移中的步骤之前,还包括对该存储空间对应的存储数据设置预设类型的数据库锁;在所述更新所述任务状态为迁移中的步骤之后,还包括释放所述预设类型的数据库锁。
  5. 如权利要求1所述的电子装置,其特征在于,所述迁移种子表还包括开始时间及结束时间。
  6. 如权利要求2所述的电子装置,其特征在于,所述迁移种子表还包括开始时间及结束时间。
  7. 如权利要求3所述的电子装置,其特征在于,所述迁移种子表还包括开始时间及结束时间。
  8. 如权利要求4所述的电子装置,其特征在于,所述迁移种子表还包括开始时间及结束时间。
  9. 一种数据迁移及调用方法,其特征在于,所述方法包括如下步骤:
    S1、根据预先确定的业务类型与数据之间的映射关系确定源数据库中存储的数据分别对应的业务类型,根据确定的业务类型将所述源数据库划分为不同的存储空间,每个存储空间对应存储一种业务类型的数据;
    S2、接收到业务系统发送的获取预设类型业务数据的请求后,从所述源数据库中查找出与所述预设类型业务数据相匹配的数据对应的存储空间;
    S3、获取相匹配的数据对应的存储空间的起始地址和结束地址,更新预先确定的迁移种子表中的起始迁移地址为该存储空间的起始地址,更新所述迁移种子表中的结束迁移地址为该存储空间的结束地址,所述预先确定的迁移种子表包括起始迁移地址以及结束迁移地址;
    S4、基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的目标数据库,若该存储空间存储的数据在所述目标数据库中,则从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统;
    或者,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库,从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统。
  10. 如权利要求9所述的数据迁移及调用方法,其特征在于,所述预先确定的迁移种子表还包括任务状态及迁移数据的地址;所述基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的数据库中的步骤包括:
    若所述任务状态为迁移完成,则确定该存储空间存储的数据是否在预先确定的目标数据库;或者,若所述任务状态为迁移中,则在预设的时间阈值内确定所述迁移状态是否为迁移完成,若所述迁移状态在所述预设时间阈值内更新为迁移完成,则确定该存储空间存储的数据是否在预先确定的目标数据库;
    若所述任务状态为待迁移中,则确定该存储空间存储的数据不在预先确定的数据库中。
  11. 如权利要求10所述的数据迁移及调用方法,其特征在于,若该存储 空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库的步骤包括:
    更新所述任务状态为迁移中,从所述起始迁移地址开始按预设的迁移顺序开始迁移该存储空间存储的数据;
    实时监测数据迁移过程,若监测到有迁移地址对应的该存储空间存储的数据迁移失败,则更新所述迁移数据的地址为该迁移失败的存储数据对应的迁移地址,更新所述任务状态为迁移失败,并发送迁移失败提示信息至预先确定的运营人员的终端设备;
    若监测到该存储空间存储的数据迁移完成,则更新所述任务状态为迁移完成。
  12. 如权利要求11所述的数据迁移及调用方法,其特征在于,在所述更新所述任务状态为迁移中的步骤之前,还包括对该存储空间对应的存储数据设置预设类型的数据库锁;在所述更新所述任务状态为迁移中的步骤之后,还包括释放所述预设类型的数据库锁。
  13. 如权利要求9所述的数据迁移及调用方法,其特征在于,所述迁移种子表还包括开始时间及结束时间。
  14. 如权利要求10所述的数据迁移及调用方法,其特征在于,所述迁移种子表还包括开始时间及结束时间。
  15. 如权利要求11所述的数据迁移及调用方法,其特征在于,所述迁移种子表还包括开始时间及结束时间。
  16. 如权利要求12所述的数据迁移及调用方法,其特征在于,所述迁移种子表还包括开始时间及结束时间。
  17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有数据迁移及调用程序,所述数据迁移及调用程序可被至少一个处理器执行,以使所述至少一个处理器执行如下步骤:
    根据预先确定的业务类型与数据之间的映射关系确定源数据库中存储的 数据分别对应的业务类型,根据确定的业务类型将所述源数据库划分为不同的存储空间,每个存储空间对应存储一种业务类型的数据;
    接收到业务系统发送的获取预设类型业务数据的请求后,从所述源数据库中查找出与所述预设类型业务数据相匹配的数据对应的存储空间;
    获取相匹配的数据对应的存储空间的起始地址和结束地址,更新预先确定的迁移种子表中的起始迁移地址为该存储空间的起始地址,更新所述迁移种子表中的结束迁移地址为该存储空间的结束地址,所述预先确定的迁移种子表包括起始迁移地址以及结束迁移地址;
    基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的目标数据库,若该存储空间存储的数据在所述目标数据库中,则从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统;
    或者,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储空间存储的数据至所述目标数据库,从所述目标数据库中调用对应的预设类型业务数据并返回至该业务系统。
  18. 如权利要求17所述的计算机可读存储介质,其特征在于,所述预先确定的迁移种子表还包括任务状态及迁移数据的地址;所述基于所述迁移种子表确定该存储空间存储的数据是否在预先确定的数据库中的步骤包括:
    若所述任务状态为迁移完成,则确定该存储空间存储的数据是否在预先确定的目标数据库;或者,若所述任务状态为迁移中,则在预设的时间阈值内确定所述迁移状态是否为迁移完成,若所述迁移状态在所述预设时间阈值内更新为迁移完成,则确定该存储空间存储的数据是否在预先确定的目标数据库;
    若所述任务状态为待迁移中,则确定该存储空间存储的数据不在预先确定的数据库中。
  19. 如权利要求18所述的计算机可读存储介质,其特征在于,若该存储空间存储的数据不在所述目标数据库中,则根据所述迁移种子表迁移该存储 空间存储的数据至所述目标数据库的步骤包括:
    更新所述任务状态为迁移中,从所述起始迁移地址开始按预设的迁移顺序开始迁移该存储空间存储的数据;
    实时监测数据迁移过程,若监测到有迁移地址对应的该存储空间存储的数据迁移失败,则更新所述迁移数据的地址为该迁移失败的存储数据对应的迁移地址,更新所述任务状态为迁移失败,并发送迁移失败提示信息至预先确定的运营人员的终端设备;
    若监测到该存储空间存储的数据迁移完成,则更新所述任务状态为迁移完成。
  20. 如权利要求19所述的计算机可读存储介质,其特征在于,在所述更新所述任务状态为迁移中的步骤之前,还包括对该存储空间对应的存储数据设置预设类型的数据库锁;在所述更新所述任务状态为迁移中的步骤之后,还包括释放所述预设类型的数据库锁。
PCT/CN2018/089456 2018-02-01 2018-06-01 电子装置、数据迁移及调用方法及存储介质 WO2019148722A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810103384.8A CN108388599B (zh) 2018-02-01 2018-02-01 电子装置、数据迁移及调用方法及存储介质
CN201810103384.8 2018-02-01

Publications (1)

Publication Number Publication Date
WO2019148722A1 true WO2019148722A1 (zh) 2019-08-08

Family

ID=63074933

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089456 WO2019148722A1 (zh) 2018-02-01 2018-06-01 电子装置、数据迁移及调用方法及存储介质

Country Status (2)

Country Link
CN (1) CN108388599B (zh)
WO (1) WO2019148722A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651424A (zh) * 2020-06-10 2020-09-11 中国科学院深圳先进技术研究院 一种数据处理方法、装置、数据节点及存储介质
CN111723079A (zh) * 2020-06-28 2020-09-29 深圳壹账通智能科技有限公司 数据迁移方法、装置、计算机设备及存储介质
CN112965665A (zh) * 2021-03-09 2021-06-15 华泰证券股份有限公司 一种基于sas和ssd的gp数据库数据存储方法
CN113392088A (zh) * 2021-06-07 2021-09-14 北京来看科技有限公司 一种数据同步方法、装置、终端及存储介质
CN115118673A (zh) * 2022-06-28 2022-09-27 中国平安财产保险股份有限公司 业务流量迁移方法、装置、设备及计算机可读存储介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109564567B (zh) * 2018-10-17 2023-07-25 北京算能科技有限公司 数据存储方法、装置、电子设备及计算机可读存储介质
CN109542870A (zh) * 2018-10-23 2019-03-29 高新兴科技集团股份有限公司 数据库数据管理方法及系统
CN109634726A (zh) * 2018-10-25 2019-04-16 平安科技(深圳)有限公司 定时任务的处理方法、装置、设备及存储介质
CN110059072A (zh) * 2019-03-13 2019-07-26 平安普惠企业管理有限公司 基于存储过程的数据迁移监控方法、系统、设备及介质
CN111143364A (zh) * 2019-12-24 2020-05-12 珠海大横琴科技发展有限公司 一种数据块存储方法、装置、电子设备和存储介质
CN111274224B (zh) * 2020-01-08 2023-04-28 中国联合网络通信集团有限公司 数据迁移方法和装置
CN111430008A (zh) * 2020-02-25 2020-07-17 广州七乐康药业连锁有限公司 基于云平台下的医疗数据处理方法及医疗数据处理系统
CN111427868B (zh) * 2020-04-06 2023-05-09 中信银行股份有限公司 数据库迁移中操作请求的处理方法、装置和电子设备
CN116909688B (zh) * 2023-09-14 2024-01-26 中移(苏州)软件技术有限公司 一种数据库调用方法、装置、存储介质及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902593A (zh) * 2012-12-27 2014-07-02 中国移动通信集团河南有限公司 一种数据迁移的方法和装置
CN106686070A (zh) * 2016-12-13 2017-05-17 腾讯科技(深圳)有限公司 一种数据库数据迁移方法、装置、终端及系统
US20170206219A1 (en) * 2013-01-11 2017-07-20 Commvault Systems, Inc. High availability distributed deduplicated storage system
CN107133244A (zh) * 2016-02-29 2017-09-05 阿里巴巴集团控股有限公司 一种数据库迁移的测试方法和装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917025B (zh) * 2012-09-21 2015-06-10 苏州盈联智能科技股份有限公司 一种云计算平台的业务迁移方法
DE112014006156B4 (de) * 2014-04-22 2023-05-04 Hitachi, Ltd. Speichersystem und Datenmigrationsverfahren
CN104881245A (zh) * 2014-12-30 2015-09-02 北京飞杰信息技术有限公司 存储系统的配置方法及配置装置
US9936019B2 (en) * 2016-03-16 2018-04-03 Google Llc Efficient live-migration of remotely accessed data
CN106874389B (zh) * 2017-01-11 2023-04-07 腾讯科技(深圳)有限公司 数据的迁移方法和装置
CN107402722B (zh) * 2017-07-04 2020-09-01 杭州宏杉科技股份有限公司 一种数据迁移方法及存储设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902593A (zh) * 2012-12-27 2014-07-02 中国移动通信集团河南有限公司 一种数据迁移的方法和装置
US20170206219A1 (en) * 2013-01-11 2017-07-20 Commvault Systems, Inc. High availability distributed deduplicated storage system
CN107133244A (zh) * 2016-02-29 2017-09-05 阿里巴巴集团控股有限公司 一种数据库迁移的测试方法和装置
CN106686070A (zh) * 2016-12-13 2017-05-17 腾讯科技(深圳)有限公司 一种数据库数据迁移方法、装置、终端及系统

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651424A (zh) * 2020-06-10 2020-09-11 中国科学院深圳先进技术研究院 一种数据处理方法、装置、数据节点及存储介质
CN111651424B (zh) * 2020-06-10 2024-05-03 中国科学院深圳先进技术研究院 一种数据处理方法、装置、数据节点及存储介质
CN111723079A (zh) * 2020-06-28 2020-09-29 深圳壹账通智能科技有限公司 数据迁移方法、装置、计算机设备及存储介质
CN112965665A (zh) * 2021-03-09 2021-06-15 华泰证券股份有限公司 一种基于sas和ssd的gp数据库数据存储方法
CN112965665B (zh) * 2021-03-09 2023-09-26 华泰证券股份有限公司 一种基于sas和ssd的gp数据库数据存储方法
CN113392088A (zh) * 2021-06-07 2021-09-14 北京来看科技有限公司 一种数据同步方法、装置、终端及存储介质
CN113392088B (zh) * 2021-06-07 2024-03-26 北京来看科技有限公司 一种数据同步方法、装置、终端及存储介质
CN115118673A (zh) * 2022-06-28 2022-09-27 中国平安财产保险股份有限公司 业务流量迁移方法、装置、设备及计算机可读存储介质
CN115118673B (zh) * 2022-06-28 2023-05-26 中国平安财产保险股份有限公司 业务流量迁移方法、装置、设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN108388599A (zh) 2018-08-10
CN108388599B (zh) 2022-08-02

Similar Documents

Publication Publication Date Title
WO2019148722A1 (zh) 电子装置、数据迁移及调用方法及存储介质
WO2019140828A1 (zh) 电子装置、分布式系统日志查询方法及存储介质
CN111078147B (zh) 一种缓存数据的处理方法、装置、设备及存储介质
WO2019179027A1 (zh) 电子装置、防火墙开通验证方法、系统及存储介质
WO2019179026A1 (zh) 电子装置、集群访问域名自动生成方法及存储介质
CN108121559B (zh) 配置文件推送方法、服务器及存储介质
US20180129520A1 (en) Method and apparatus for starting virtual machine
WO2019148727A1 (zh) 电子装置、基于redis的异常预警方法及存储介质
CN112035472B (zh) 数据处理方法、装置、计算机设备和存储介质
WO2019136812A1 (zh) 电子装置、数据调用日志生成及查询方法及存储介质
WO2014190806A1 (en) Application backup and restore
WO2019169763A1 (zh) 电子装置、业务系统风险控制方法及存储介质
WO2019127864A1 (zh) 电子装置、基于springmvc的数据接口及其说明自动生成方法及存储介质
WO2021072880A1 (zh) 虚拟机内部快照异步创建方法、装置、系统及存储介质
US20170075764A1 (en) System and Method for Time Parameter Based Database Restoration
WO2019148721A1 (zh) 电子装置、互联网服务系统风险预警方法及存储介质
CN111241061A (zh) 状态数据库的写入方法、数据处理装置及存储介质
WO2019041441A1 (zh) 列表视图的更新装置、方法及计算机可读存储介质
CN111400308A (zh) 缓存数据的处理方法、电子装置及可读存储介质
WO2019071898A1 (zh) 电子装置、数据库查询脚本生成方法及存储介质
WO2019140829A1 (zh) 电子装置、应用升级版本发布的方法及存储介质
CN110990346A (zh) 基于区块链的文件数据处理方法、装置、设备及存储介质
WO2019071968A1 (zh) 薪资计算方法、应用服务器及计算机可读存储介质
WO2021169124A1 (zh) 安装软件包至目标主机的方法、装置和计算机设备
CN114090113B (zh) 数据源处理插件动态加载的方法、装置、设备及存储介质

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A 16.11.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18903131

Country of ref document: EP

Kind code of ref document: A1