WO2018165965A1 - System and method for dynamic migration of intensive e-commerce data - Google Patents

System and method for dynamic migration of intensive e-commerce data Download PDF

Info

Publication number
WO2018165965A1
WO2018165965A1 PCT/CN2017/077012 CN2017077012W WO2018165965A1 WO 2018165965 A1 WO2018165965 A1 WO 2018165965A1 CN 2017077012 W CN2017077012 W CN 2017077012W WO 2018165965 A1 WO2018165965 A1 WO 2018165965A1
Authority
WO
WIPO (PCT)
Prior art keywords
database
database server
data
partition
configuration file
Prior art date
Application number
PCT/CN2017/077012
Other languages
French (fr)
Chinese (zh)
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 深圳市秀趣品牌文化传播有限公司
Priority to PCT/CN2017/077012 priority Critical patent/WO2018165965A1/en
Publication of WO2018165965A1 publication Critical patent/WO2018165965A1/en

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16ZINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
    • G16Z99/00Subject matter not provided for in other main groups of this subclass

Definitions

  • the present invention relates to the field of information technology, and in particular, to an intensive e-commerce data dynamic migration system and method.
  • the main object of the present invention is to provide an intensive e-commerce data dynamic migration system and method, which aims to solve the technical problem of data migration that cannot be called by a terminal in an existing medical information system.
  • the present invention provides an intensive e-commerce data dynamic migration system, which is operated in a data migration terminal, and the data migration terminal is communicably connected to a first database server and a second database server through a network.
  • the network is connected to a plurality of terminals, and the system includes:
  • a receiving module configured to receive a data migration configuration file of the first database server
  • an obtaining module configured to acquire, from the data migration configuration file, a size of the e-commerce data to be migrated in the first database server;
  • a search module configured to search for a corresponding number of final mountains in the network according to the size of the e-commerce data to be migrated
  • a sending module configured to send the data migration configuration file to each searched terminal, so that each of the searched terminals establishes a communication connection between the first database server and the second database server;
  • a module configured to notify the first database server to send the e-commerce data to be migrated to the second database server by using the searched terminal.
  • the present invention further provides an intensive e-commerce data dynamic migration method, which is applied to a data migration terminal, wherein the data migration terminal communicates with the first database server and the second database server through a network.
  • the communication connection on the network has multiple terminals, and the method includes the following steps:
  • the present invention uses multiple terminals to perform data migration on e-commerce data, and utilizes the network bandwidth used by the terminal to save the bandwidth cost of the medical institution.
  • FIG. 1 is a schematic diagram of an application environment of an intensive e-commerce data dynamic migration system according to the present invention
  • FIG. 2 is a block diagram showing a preferred embodiment of an intensive e-commerce data dynamic migration system according to the present invention
  • FIG. 3 is a flow chart of a preferred embodiment of the intensive e-commerce data dynamic migration method of the present invention.
  • FIG. 1 is a schematic diagram of an application environment of an intensive e-commerce data dynamic migration system according to the present invention.
  • the intensive e-commerce data dynamic migration system 30 in the present invention runs on the data migration terminal 3.
  • the data migration terminal 3 is communicatively coupled to the first database server 1 and the second database server 4 via the network 2.
  • the data migration terminal 3 can access the first database server 1 (or the second database server 4) through the network 2, and acquire various types of electricity from the first database server 1 (or the second database server 4).
  • Business data includes, for example, a user name, product text information, merchandise type information, courier information, warehousing information, merchandise pictures, shopping records, and the like.
  • the first database server 1 is installed with a first database 10, wherein the database 10 is divided into a plurality of first partition databases 100, for example, N first partition databases 100, and each first partition database 10 0 A unique partition code is assigned, and a first partition database 100 stores one type of e-commerce data.
  • the first partition database A stores text data in the e-commerce data
  • the first partition database B stores image data in the e-commerce data
  • the first partition database C stores video data in the e-commerce data
  • the first partition database D stores Web page data in e-commerce data.
  • the first database server 1 provides a data import interface (for example, an application program interface, an API), and a device or system that accesses the data import interface can be from the first database server 1.
  • the first partition database 100 acquires e-commerce data.
  • the second database server 4 is installed with a second database 40, wherein the database 40 is divided into a plurality of second partition databases 400, such as N second partition databases 400, and each second partition database 40 0 A unique partition code is assigned, and a second partition database 400 stores one type of e-commerce data.
  • the second partition database A1 stores text data in the e-commerce data
  • the second partition database B1 stores image data in the e-commerce data
  • the second partition database C1 stores video data in the e-commerce data
  • the second partition database D1. Store web page data in e-commerce data.
  • the second database server 4 provides a data import interface (for example, an application interface
  • the device or system accessing the data import interface can obtain the e-commerce data from the second database server 4.
  • the second database server 4 is a backup server of the first database server 1, and the e-commerce data in the first database server 1 can be migrated to the second database server 4 for backup. .
  • the network 2 may be a wired communication network or a wireless communication network.
  • the network is excellent Selected as a wireless communication network, including but not limited to, GSM network, GPRS network, CDMA network, TD-S CDMA network, WiMAX network, TD-LTE network, FDD-LTE network and other wireless transmission networks.
  • the data migration terminal 3 is communicatively connected to the plurality of terminals 5 through the network 2, and is configured to migrate the e-commerce data in the first database server 1 to the second database server 4 through the terminal 5 for preparation.
  • the network 2 may be a wired communication network or a wireless communication network.
  • the network is preferably a wireless communication network, including but not limited to a GSM network, a GPRS network, a CDMA network, a TD-S CDMA network, a WiMAX network, a TD-LTE network, an FDD-LTE network, and the like.
  • the data migration terminal 3 may be, but not limited to, a smartphone, a tablet, a personal digital assistant.
  • the terminal 5 may be, but is not limited to, any other suitable portable touch screen electronic device such as a smart phone, a tablet computer, a personal digital assistant (PDA), a personal computer, an electronic signboard, and the like.
  • a smart phone such as a smart phone, a tablet computer, a personal digital assistant (PDA), a personal computer, an electronic signboard, and the like.
  • PDA personal digital assistant
  • FIG. 2 there is shown a block diagram of a preferred embodiment of the intensive e-commerce data dynamic migration system of the present invention.
  • the intensive e-commerce data dynamic migration system 30 is applied to the data migration terminal 3.
  • the data migration terminal 3 includes, but is not limited to, an intensive e-commerce data dynamic migration system 30, a storage unit 31, a processing unit 32, and a communication unit 33.
  • the storage unit 31 may be a read only storage unit ROM, an electrically erasable storage unit EEPRO M, a flash storage unit FLASH or a solid hard disk.
  • the processing unit 32 may be a central processing unit (CPU), a microcontroller (MCU), a data processing chip, or an information processing unit having a data processing function.
  • CPU central processing unit
  • MCU microcontroller
  • data processing chip or an information processing unit having a data processing function.
  • the communication unit 33 is a communication interface with a remote communication function, for example, communication supporting wireless communication technologies such as GSM, GPR S, WCDMA, CDMA, TD-SCDMA, WiMAM, TD-LTE, FDD-LTE, and the like. Interface, support wired communication interface of USB and network cable.
  • wireless communication technologies such as GSM, GPR S, WCDMA, CDMA, TD-SCDMA, WiMAM, TD-LTE, FDD-LTE, and the like.
  • Interface support wired communication interface of USB and network cable.
  • the intensive e-commerce data dynamic migration system 30 includes, but is not limited to, a receiving module 311, an obtaining module 312, a searching module 313, a sending module 314, and a notification module 315.
  • the module referred to in the present invention refers to a module.
  • the column computer program instruction segment is stored in the storage unit 31 of the data migration terminal 3.
  • the receiving module 311 is configured to receive a data migration configuration file of the first database server 1.
  • the data migration configuration file includes, but is not limited to, an IP address of the first database server 1, a partition code of each first partition data 100 in the first database server 1, and a first database server. Attribute information (including data size, file directory, and the like) of the e-commerce data to be migrated in 1 , a database configuration file (for example, database connection configuration information, etc.) of the first database server 1 , and an IP of the second database server 4 The address, the partition code of each second partition data 400 in the second database server 4, the database configuration file of the second database server 4 (for example, database connection configuration information, etc.).
  • the data migration configuration file may be pre-stored in the data migration terminal 3, and the data migration configuration file may be periodically updated.
  • the obtaining module 312 is configured to obtain, from the data migration configuration file, a size of the e-commerce data to be migrated in the first database server 1.
  • the search module 313 is configured to search the network 2 for a corresponding number of terminals 5 according to the size of the e-commerce data to be migrated.
  • the search module 313 sends a network broadcast to the network 2, and if the terminal 5 connected to the network 2 receives the network broadcast and agrees to be an intermediate device for data migration, the terminal 5 is a searched terminal.
  • the terminal 5 pops up a query dialog box, which includes a confirmation button and a cancel button.
  • the terminal 5 clicks the OK button, the terminal 5 is authorized to be the first.
  • the intermediate device of the database server 1 migrating data if the user using the terminal 5 clicks the cancel button, it indicates that the terminal 5 rejects the intermediate device that migrates data for the first database server 1.
  • the reward information may be embedded in the network broadcast. For example, if the terminal 5 agrees to be an intermediate device for migrating data, an electronic money (for example, 1 yuan of electronic money) may be sent to the terminal. Terminal 5.
  • the user's terminal can also be used as an intermediate device for migrating data.
  • the e-commerce data of the first database server 1 is migrated, and the setting is made between 12 o'clock in the evening and 4 o'clock in the morning.
  • the sending module 314 is configured to send the data migration configuration file to each searched terminal 5, so that Each of the searched terminals 5 establishes a communication connection between the first database server 1 and the second database server 4.
  • the searched terminal 5 After receiving the data migration configuration file, the searched terminal 5 communicates with the first database server 1 according to the IP address of the first database server 1, and accesses the database according to the database configuration file of the first database server 1.
  • the first partition database 100 is in communication with the second database server 4 according to the IP address of the second database server 4, and accesses the second partition database 400 according to the database configuration file of the second database server 4.
  • the notification module 315 is configured to notify the first database server 1 to send the e-commerce data to be migrated to the second database server 4 through the searched terminal 5. Specifically, the notification module 315 notifies the first database server 1 to transfer text data from the first partition database 100 through the searched terminal 5 to the second partition database 400 (e.g., the second partition database A1) for storage.
  • the second partition database 400 e.g., the second partition database A1
  • FIG. 3 it is a flow chart of a preferred embodiment of the intensive e-commerce data dynamic migration method of the present invention.
  • the intensive e-commerce data dynamic migration method is applied to the data migration terminal 3, and the method includes the following steps:
  • Step S11 The receiving module 311 receives the data migration configuration file of the first database server 1.
  • the data migration configuration file includes, but is not limited to, an IP address of the first database server 1, a partition code of each first partition data 100 in the first database server 1, and a first database server. Attribute information (including data size, file directory, and the like) of the e-commerce data to be migrated in 1 , a database configuration file (for example, database connection configuration information, etc.) of the first database server 1 , and an IP of the second database server 4 The address, the partition code of each second partition data 40 0 in the second database server 4, the database configuration file of the second database server 4 (for example, database connection configuration information, etc.).
  • the data migration configuration file may be pre-stored in the data migration terminal 3, and the data migration configuration file may be periodically updated.
  • Step S12 The obtaining module 312 obtains, from the data migration configuration file, the size of the e-commerce data to be migrated in the first database server 1.
  • Step S13 The search module 313 searches the network 2 for the terminal 5 according to the size of the e-commerce data to be migrated.
  • the search module 313 sends The network broadcasts into the network 2, and if the terminal 5 connected to the network 2 receives the network broadcast and agrees to be an intermediate device for data migration, the terminal 5 is a searched terminal.
  • the terminal 5 pops up a query dialog box, which includes a confirmation button and a cancel button.
  • the terminal 5 clicks the OK button, the terminal 5 is authorized to be the first.
  • the intermediate device that the database server 1 migrates data if the user using the terminal 5 clicks the cancel button, indicates that the terminal 5 rejects the intermediate device that migrates data for the first database server 1.
  • the reward information may be embedded in the network broadcast. For example, if the terminal 5 agrees to be an intermediate device for migrating data, an electronic money (for example, 1 yuan of electronic money) may be sent to the terminal. Terminal 5.
  • the user's terminal can also be used as an intermediate device for migrating data.
  • the e-commerce data of the first database server 1 is migrated, and the setting is made after 12 o'clock in the evening to 4 o'clock in the morning.
  • Step S14 The sending module 314 sends the data migration configuration file to each of the searched terminals 5, so that each of the searched terminals 5 is established between the first database server 1 and the second database server 4. Communication connection.
  • the searched terminal 5 communicates with the first database server 1 according to the IP address of the first database server 1, and accesses the database according to the database configuration file of the first database server 1.
  • the first partition database 100 is in communication with the second database server 4 according to the IP address of the second database server 4, and accesses the second partition database 400 according to the database configuration file of the second database server 4.
  • Step S15 The notification module 315 notifies the first database server 1 to send the e-commerce data to be migrated to the second database server 4 through the searched terminal 5. Specifically, the notification module 315 notifies the first database server 1 to transfer the text data in the first partition database 100 from the searched terminal 5 to the second partition database 400 (e.g., the second partition database A1) for storage.
  • the second partition database 400 e.g., the second partition database A1
  • the present invention uses multiple terminals to perform data migration on e-commerce data, and utilizes the network bandwidth used by the terminal to save the bandwidth cost of the medical institution.

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a system and a method for the dynamic migration of intensive e-commerce data. The method comprises: receiving a data migration configuration file of a first database server; acquiring, from the data migration configuration file, the magnitude of the e-commerce data to be migrated out of the first database server; according to the magnitude of the e-commerce data to be migrated, searching a network for a corresponding number of terminals; sending the data migration configuration file to each discovered terminal, such that each discovered terminal establishes a communication connection between the first database server and a second database server; and notifying the first database server of sending the e-commerce data to be migrated to the second database server by means of the discovered terminal. The present invention can utilize the network bandwidth used by a terminal for data migration, reducing the bandwidth costs of medical institutions.

Description

集约型电商数据动态迁移系统及方法 技术领域  Intensive e-commerce data dynamic migration system and method
[0001] 本发明涉及信息化领域, 尤其涉及一种集约型电商数据动态迁移系统及方法。  [0001] The present invention relates to the field of information technology, and in particular, to an intensive e-commerce data dynamic migration system and method.
背景技术  Background technique
[0002] 随着电子商务的快速发展, 人们越来越习惯于使用电子商务网站来购买商品。  [0002] With the rapid development of electronic commerce, people are increasingly accustomed to using e-commerce websites to purchase goods.
然而, 卖家在通过网络渠道赚取利润的同吋, 却无法通过现有的互联网信息来 进行预测以后的热销商品, 来达到赚取更多利润的目的。  However, sellers who are making profits through online channels cannot use the existing Internet information to predict the hot products afterwards, in order to achieve more profit.
[0003] 进一步地, 随着移动电商的发展, 现在越来越多的消费者都使用终端 (例如, 手机、 平板电脑等触摸屏的终端) 査看上网购物。 为了确保电商系统 (或网站 ) 的稳定, 电商系统 (或网站) 需要定期对电商数据进行迁移以进行备份防止 出现数据崩溃的情况。 然而, 现有的电商数据数据迁移吋, 并没有采用集群的 方式, 而是采用单个设备进行数据迁移, 若该设备宕机会导致数据迁移失败, 且电商数据庞大也增加电商服务商的宽带成本。  [0003] Further, with the development of mobile e-commerce, more and more consumers are now using terminals (for example, terminals of touch screens such as mobile phones and tablet computers) to view online shopping. To ensure the stability of the e-commerce system (or website), the e-commerce system (or website) needs to periodically migrate e-commerce data for backup to prevent data corruption. However, the existing e-commerce data migration does not adopt the clustering method, but uses a single device for data migration. If the device fails to cause data migration failure, and the e-commerce data is huge, the e-commerce service provider is also increased. Broadband cost.
技术问题  technical problem
[0004] 本发明的主要目的在于提供一种集约型电商数据动态迁移系统及方法, 旨在解 决基于现有的医疗信息化系统中无法调用终端进行数据迁移的技术问题。  [0004] The main object of the present invention is to provide an intensive e-commerce data dynamic migration system and method, which aims to solve the technical problem of data migration that cannot be called by a terminal in an existing medical information system.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0005] 为实现上述目的, 本发明提供了一种集约型电商数据动态迁移系统, 运行于数 据迁移终端中, 所述数据迁移终端通过网络与第一数据库服务器及第二数据库 服务器通信连接, 所述网络上通信连接有多个终端, 该系统包括:  [0005] In order to achieve the above object, the present invention provides an intensive e-commerce data dynamic migration system, which is operated in a data migration terminal, and the data migration terminal is communicably connected to a first database server and a second database server through a network. The network is connected to a plurality of terminals, and the system includes:
[0006] 接收模块, 用于接收所述第一数据库服务器的数据迁移配置文件; [0006] a receiving module, configured to receive a data migration configuration file of the first database server;
[0007] 获取模块, 用于从所述数据迁移配置文件中获取所述第一数据库服务器中待迁 移的电商数据的大小; [0007] an obtaining module, configured to acquire, from the data migration configuration file, a size of the e-commerce data to be migrated in the first database server;
[0008] 搜索模块, 用于根据所述待迁移的电商数据的大小在网络中搜索对应数量的终 山 [0009] 发送模块, 用于发送所述数据迁移配置文件给每一个搜索的终端, 使得所述每 一个搜索的终端在第一数据库服务器及第二数据库服务器之间建立通信连接; [0010] 通知模块, 用于通知所述第一数据库服务器将所述待迁移的电商数据通过所述 搜索的终端发送至第二数据库服务器。 [0008] a search module, configured to search for a corresponding number of final mountains in the network according to the size of the e-commerce data to be migrated [0009] a sending module, configured to send the data migration configuration file to each searched terminal, so that each of the searched terminals establishes a communication connection between the first database server and the second database server; [0010] And a module, configured to notify the first database server to send the e-commerce data to be migrated to the second database server by using the searched terminal.
[0011] 另一发明, 本发明还提供一种集约型电商数据动态迁移方法, 应用于数据迁移 终端中, 所述数据迁移终端通过网络与第一数据库服务器及第二数据库服务器 通信连接, 所述网络上通信连接有多个终端, 该方法包括如下步骤:  [0011] Another invention, the present invention further provides an intensive e-commerce data dynamic migration method, which is applied to a data migration terminal, wherein the data migration terminal communicates with the first database server and the second database server through a network. The communication connection on the network has multiple terminals, and the method includes the following steps:
[0012] 接收所述第一数据库服务器的数据迁移配置文件;  [0012] receiving a data migration configuration file of the first database server;
[0013] 从所述数据迁移配置文件中获取所述第一数据库服务器中待迁移的电商数据的 大小;  [0013] obtaining, from the data migration configuration file, a size of the e-commerce data to be migrated in the first database server;
[0014] 根据所述待迁移的电商数据的大小在网络中搜索对应数量的终端;  [0014] searching for a corresponding number of terminals in the network according to the size of the e-commerce data to be migrated;
[0015] 发送所述数据迁移配置文件给每一个搜索的终端, 使得所述每一个搜索的终端 在第一数据库服务器及第二数据库服务器之间建立通信连接; 及  [0015] sending the data migration configuration file to each of the searched terminals, so that each of the searched terminals establishes a communication connection between the first database server and the second database server;
[0016] 通知所述第一数据库服务器将所述待迁移的电商数据通过所述搜索的终端发送 至第二数据库服务器。 [0016] notifying the first database server to send the e-commerce data to be migrated to the second database server through the searched terminal.
发明的有益效果  Advantageous effects of the invention
有益效果  Beneficial effect
[0017] 本发明采用多个终端对电商数据进行数据迁移, 利用终端所用的网络带宽, 节 省了医疗机构的带宽费用。  [0017] The present invention uses multiple terminals to perform data migration on e-commerce data, and utilizes the network bandwidth used by the terminal to save the bandwidth cost of the medical institution.
对附图的简要说明  Brief description of the drawing
附图说明  DRAWINGS
[0018] 图 1是本发明集约型电商数据动态迁移系统的应用环境示意图;  1 is a schematic diagram of an application environment of an intensive e-commerce data dynamic migration system according to the present invention;
[0019] 图 2是本发明集约型电商数据动态迁移系统的优选实施例的模块示意图;  2 is a block diagram showing a preferred embodiment of an intensive e-commerce data dynamic migration system according to the present invention;
[0020] 图 3是本发明集约型电商数据动态迁移方法的优选实施例的流程图。  3 is a flow chart of a preferred embodiment of the intensive e-commerce data dynamic migration method of the present invention.
实施该发明的最佳实施例  BEST MODE FOR CARRYING OUT THE INVENTION
本发明的最佳实施方式  BEST MODE FOR CARRYING OUT THE INVENTION
[0021] 参照图 1所示, 图 1是本发明集约型电商数据动态迁移系统的应用环境示意图。 本发明中的集约型电商数据动态迁移系统 30运行于数据迁移终端 3上。 所述数据 迁移终端 3通过网络 2与第一数据库服务器 1及第二数据库服务器 4通信连接。 所 述数据迁移终端 3可以通过网络 2访问所述第一数据库服务器 1 (或第二数据库服 务器 4) , 并从所述第一数据库服务器 1 (或第二数据库服务器 4) 获取各种类型 的电商数据。 所述电商数据数据包括, (例如, 用户名、 商品文字信息、 商品 种类信息、 快递信息、 仓储信息、 商品图片、 购物记录等等) 。 [0021] Referring to FIG. 1, FIG. 1 is a schematic diagram of an application environment of an intensive e-commerce data dynamic migration system according to the present invention. The intensive e-commerce data dynamic migration system 30 in the present invention runs on the data migration terminal 3. The data migration terminal 3 is communicatively coupled to the first database server 1 and the second database server 4 via the network 2. The data migration terminal 3 can access the first database server 1 (or the second database server 4) through the network 2, and acquire various types of electricity from the first database server 1 (or the second database server 4). Business data. The e-commerce data data includes, for example, a user name, product text information, merchandise type information, courier information, warehousing information, merchandise pictures, shopping records, and the like.
[0022] 所述第一数据库服务器 1安装有第一数据库 10, 其中, 所述数据库 10划分为多 个第一分区数据库 100, 例如 N个第一分区数据库 100, 每一个第一分区数据库 10 0分配有一个唯一的分区代码, 一个第一分区数据库 100存储一种类型的电商数 据。 例如, 第一分区数据库 A存储电商数据中的文本数据, 第一分区数据库 B存 储电商数据中的图像数据, 第一分区数据库 C存储电商数据中的视频数据、 第一 分区数据库 D存储电商数据中的网页数据。  [0022] The first database server 1 is installed with a first database 10, wherein the database 10 is divided into a plurality of first partition databases 100, for example, N first partition databases 100, and each first partition database 10 0 A unique partition code is assigned, and a first partition database 100 stores one type of e-commerce data. For example, the first partition database A stores text data in the e-commerce data, the first partition database B stores image data in the e-commerce data, the first partition database C stores video data in the e-commerce data, and the first partition database D stores Web page data in e-commerce data.
[0023] 所述第一数据库服务器 1提供数据导入接口 (例如, 应用程序接口, Application Program Interface, API) , 接入该数据导入接口的设备或系统都可以从所述第一 数据库服务器 1中的第一分区数据库 100获取电商数据。  [0023] The first database server 1 provides a data import interface (for example, an application program interface, an API), and a device or system that accesses the data import interface can be from the first database server 1. The first partition database 100 acquires e-commerce data.
[0024] 所述第二数据库服务器 4安装有第二数据库 40, 其中, 所述数据库 40划分为多 个第二分区数据库 400, 例如 N个第二分区数据库 400, 每一个第二分区数据库 40 0分配有一个唯一的分区代码, 一个第二分区数据库 400存储一种类型的电商数 据。 例如, 第二分区数据库 A1存储电商数据中的文本数据, 第二分区数据库 B 1 存储电商数据中的图像数据, 第二分区数据库 C1存储电商数据中的视频数据、 第二分区数据库 D1存储电商数据中的网页数据。  [0024] The second database server 4 is installed with a second database 40, wherein the database 40 is divided into a plurality of second partition databases 400, such as N second partition databases 400, and each second partition database 40 0 A unique partition code is assigned, and a second partition database 400 stores one type of e-commerce data. For example, the second partition database A1 stores text data in the e-commerce data, the second partition database B1 stores image data in the e-commerce data, and the second partition database C1 stores video data in the e-commerce data, the second partition database D1. Store web page data in e-commerce data.
[0025] 具体而言, 所述第二数据库服务器 4提供数据导入接口 (例如, 应用程序接口  [0025] Specifically, the second database server 4 provides a data import interface (for example, an application interface
, Application Program Interface, API) , 接入该数据导入接口的设备或系统都可 以从所述第二数据库服务器 4中获取电商数据。  (Application Program Interface, API), the device or system accessing the data import interface can obtain the e-commerce data from the second database server 4.
[0026] 需要说明的是, 所述第二数据库服务器 4为所述第一数据库服务器 1的备用服务 器, 所述第一数据库服务器 1中的电商数据可以迁移至第二数据库服务器 4中做 备份。  [0026] It should be noted that the second database server 4 is a backup server of the first database server 1, and the e-commerce data in the first database server 1 can be migrated to the second database server 4 for backup. .
[0027] 在本实施例中, 所述网络 2可以是有线通讯网络或无线通讯网络。 所述网络优 选为无线通讯网络, 包括但不限于, GSM网络、 GPRS网络、 CDMA网络、 TD-S CDMA网络、 WiMAX网络、 TD-LTE网络、 FDD-LTE网络等无线传输网络。 。 进一步地, 所述数据迁移终端 3通过网络 2与多个终端 5通信连接, 用于通过所 述终端 5将第一数据库服务器 1中的电商数据迁移至第二数据库服务器 4中进行备 [0027] In this embodiment, the network 2 may be a wired communication network or a wireless communication network. The network is excellent Selected as a wireless communication network, including but not limited to, GSM network, GPRS network, CDMA network, TD-S CDMA network, WiMAX network, TD-LTE network, FDD-LTE network and other wireless transmission networks. . Further, the data migration terminal 3 is communicatively connected to the plurality of terminals 5 through the network 2, and is configured to migrate the e-commerce data in the first database server 1 to the second database server 4 through the terminal 5 for preparation.
[0029] 在本实施例中, 所述网络 2可以是有线通讯网络或无线通讯网络。 所述网络优 选为无线通讯网络, 包括但不限于, GSM网络、 GPRS网络、 CDMA网络、 TD-S CDMA网络、 WiMAX网络、 TD-LTE网络、 FDD-LTE网络等无线传输网络。 [0029] In this embodiment, the network 2 may be a wired communication network or a wireless communication network. The network is preferably a wireless communication network, including but not limited to a GSM network, a GPRS network, a CDMA network, a TD-S CDMA network, a WiMAX network, a TD-LTE network, an FDD-LTE network, and the like.
[0030] 所述数据迁移终端 3可以是, 但不限于, 智能手机、 平板电脑、 个人数字助理  [0030] The data migration terminal 3 may be, but not limited to, a smartphone, a tablet, a personal digital assistant.
(Personal Digital Assistant, PDA) 、 个人电脑、 电子看板等其它任意合适的终端 设备。  (Personal Digital Assistant, PDA), personal computer, electronic signage, and any other suitable terminal equipment.
[0031] 所述终端 5可以是, 但不限于, 智能手机、 平板电脑、 个人数字助理 (Personal Digital Assistant, PDA) 、 个人电脑、 电子看板等其它任意合适的便携式触摸屏 电子设备。  [0031] The terminal 5 may be, but is not limited to, any other suitable portable touch screen electronic device such as a smart phone, a tablet computer, a personal digital assistant (PDA), a personal computer, an electronic signboard, and the like.
[0032] 参照图 2所示, 是本发明集约型电商数据动态迁移系统的优选实施例的模块示 意图。 在本实施例中, 所述集约型电商数据动态迁移系统 30应用于数据迁移终 端 3。 该数据迁移终端 3包括, 但不仅限于, 集约型电商数据动态迁移系统 30、 存储单元 31、 处理单元 32、 及通讯单元 33。  [0032] Referring to Figure 2, there is shown a block diagram of a preferred embodiment of the intensive e-commerce data dynamic migration system of the present invention. In the present embodiment, the intensive e-commerce data dynamic migration system 30 is applied to the data migration terminal 3. The data migration terminal 3 includes, but is not limited to, an intensive e-commerce data dynamic migration system 30, a storage unit 31, a processing unit 32, and a communication unit 33.
[0033] 所述的存储单元 31可以为一种只读存储单元 ROM, 电可擦写存储单元 EEPRO M、 快闪存储单元 FLASH或固体硬盘等。  [0033] The storage unit 31 may be a read only storage unit ROM, an electrically erasable storage unit EEPRO M, a flash storage unit FLASH or a solid hard disk.
[0034] 所述的处理单元 32可以为一种中央处理器 (Central Processing Unit, CPU) 、 微控制器 (MCU) 、 数据处理芯片、 或者具有数据处理功能的信息处理单元。  [0034] The processing unit 32 may be a central processing unit (CPU), a microcontroller (MCU), a data processing chip, or an information processing unit having a data processing function.
[0035] 所述的通讯单元 33为一种具有远程通讯功能的通讯接口, 例如支持 GSM、 GPR S、 WCDMA、 CDMA、 TD-SCDMA、 WiMAM、 TD-LTE、 FDD-LTE等无线通 讯技术的通讯接口, 支持 USB、 网线的有线通讯接口。  [0035] The communication unit 33 is a communication interface with a remote communication function, for example, communication supporting wireless communication technologies such as GSM, GPR S, WCDMA, CDMA, TD-SCDMA, WiMAM, TD-LTE, FDD-LTE, and the like. Interface, support wired communication interface of USB and network cable.
[0036] 所述集约型电商数据动态迁移系统 30包括, 但不局限于, 接收模块 311、 获取 模块 312、 搜索模块 313、 发送模块 314及通知模块 315, 本发明所称的模块是指 一种能够被所述数据迁移终端 3的处理单元 32执行并且能够完成固定功能的一系 列计算机程序指令段, 其存储在所述数据迁移终端 3的存储单元 31中。 [0036] The intensive e-commerce data dynamic migration system 30 includes, but is not limited to, a receiving module 311, an obtaining module 312, a searching module 313, a sending module 314, and a notification module 315. The module referred to in the present invention refers to a module. A system that can be executed by the processing unit 32 of the data migration terminal 3 and capable of performing a fixed function The column computer program instruction segment is stored in the storage unit 31 of the data migration terminal 3.
[0037] 所述接收模块 311用于接收所述第一数据库服务器 1的数据迁移配置文件。 在本 实施例中, 所述数据迁移配置文件包括, 但不限于, 所述第一数据库服务器 1的 I P地址、 第一数据库服务器 1中每个第一分区数据 100的分区代码、 第一数据库服 务器 1中待迁移的电商数据的属性信息 (包括数据大小、 文件目录等信息) 、 第 一数据库服务器 1的数据库配置文件 (例如, 数据库连接配置信息等) 、 所述第 二数据库服务器 4的 IP地址、 第二数据库服务器 4中每个第二分区数据 400的分区 代码、 第二数据库服务器 4的数据库配置文件 (例如, 数据库连接配置信息等) 。 需要说明的是, 所述数据迁移配置文件可以预先保存于所述数据迁移终端 3中 , 并定期更新所述数据迁移配置文件。 [0037] The receiving module 311 is configured to receive a data migration configuration file of the first database server 1. In this embodiment, the data migration configuration file includes, but is not limited to, an IP address of the first database server 1, a partition code of each first partition data 100 in the first database server 1, and a first database server. Attribute information (including data size, file directory, and the like) of the e-commerce data to be migrated in 1 , a database configuration file (for example, database connection configuration information, etc.) of the first database server 1 , and an IP of the second database server 4 The address, the partition code of each second partition data 400 in the second database server 4, the database configuration file of the second database server 4 (for example, database connection configuration information, etc.). It should be noted that the data migration configuration file may be pre-stored in the data migration terminal 3, and the data migration configuration file may be periodically updated.
[0038] 所述获取模块 312用于从所述数据迁移配置文件中获取所述第一数据库服务器 1 中待迁移的电商数据的大小。 [0038] The obtaining module 312 is configured to obtain, from the data migration configuration file, a size of the e-commerce data to be migrated in the first database server 1.
[0039] 所述搜索模块 313用于根据所述待迁移的电商数据的大小在网络 2中搜索对应数 量的终端 5。 所述待迁移的电商数据的大小与对应数量的终端 5之间的关系为: M =a*N/N0, 其中, N为所述待迁移的电商数据的大小, NO为设定的单位数据大小 (例如, 1GB) , M为终端的数量, a为正整数常量。 此外, 所述搜索模块 313发 送网络广播至网络 2中, 若连接至网络 2上的终端 5接收到所述网络广播并同意作 为数据迁移的中间设备, 则该终端 5为搜索的终端。 例如, 若终端 5接收到网络 广播, 则终端 5会弹出一个询问对话框, 该询问对话框包括确定按键及取消按键 , 使用该终端 5的用户点击确定按键, 则表明该终端 5授权为第一数据库服务器 1 迁移数据的中间设备, 若使用该终端 5的用户点击取消按键, 则表明该终端 5拒 绝为第一数据库服务器 1迁移数据的中间设备。 为了避免终端 5过高的拒绝率, 可以在网络广播中嵌入奖励信息, 例如, 若终端 5同意为迁移数据的中间设备后 , 可以发一个电子货币 (例如, 1元人民币的电子货币) 给该终端 5。 此外, 也 可以将用户的终端作为迁移数据的中间设备。 为了避免影响工作人员的工作及 生活, 对第一数据库服务器 1的电商数据进行迁移吋, 设定在晚上 12点之后至早 上 4点之间进行。 [0039] The search module 313 is configured to search the network 2 for a corresponding number of terminals 5 according to the size of the e-commerce data to be migrated. The relationship between the size of the e-commerce data to be migrated and the corresponding number of terminals 5 is: M = a * N / N0, where N is the size of the e-commerce data to be migrated, and NO is set. Unit data size (for example, 1GB), M is the number of terminals, and a is a positive integer constant. In addition, the search module 313 sends a network broadcast to the network 2, and if the terminal 5 connected to the network 2 receives the network broadcast and agrees to be an intermediate device for data migration, the terminal 5 is a searched terminal. For example, if the terminal 5 receives the network broadcast, the terminal 5 pops up a query dialog box, which includes a confirmation button and a cancel button. When the user using the terminal 5 clicks the OK button, the terminal 5 is authorized to be the first. The intermediate device of the database server 1 migrating data, if the user using the terminal 5 clicks the cancel button, it indicates that the terminal 5 rejects the intermediate device that migrates data for the first database server 1. In order to avoid the excessive rejection rate of the terminal 5, the reward information may be embedded in the network broadcast. For example, if the terminal 5 agrees to be an intermediate device for migrating data, an electronic money (for example, 1 yuan of electronic money) may be sent to the terminal. Terminal 5. In addition, the user's terminal can also be used as an intermediate device for migrating data. In order to avoid affecting the work and life of the staff, the e-commerce data of the first database server 1 is migrated, and the setting is made between 12 o'clock in the evening and 4 o'clock in the morning.
[0040] 所述发送模块 314用于发送所述数据迁移配置文件给每一个搜索的终端 5, 使得 所述每一个搜索的终端 5在第一数据库服务器 1及第二数据库服务器 4之间建立通 信连接。 所述搜索的终端 5接收到所述数据迁移配置文件后, 根据所述第一数据 库服务器 1的 IP地址与所述第一数据库服务器 1通信连接, 根据第一数据库服务器 1的数据库配置文件访问所述第一分区数据库 100, 根据所述第二数据库服务器 4 的 IP地址与所述第二数据库服务器 4通信连接, 根据第二数据库服务器 4的数据库 配置文件访问所述第二分区数据库 400。 [0040] The sending module 314 is configured to send the data migration configuration file to each searched terminal 5, so that Each of the searched terminals 5 establishes a communication connection between the first database server 1 and the second database server 4. After receiving the data migration configuration file, the searched terminal 5 communicates with the first database server 1 according to the IP address of the first database server 1, and accesses the database according to the database configuration file of the first database server 1. The first partition database 100 is in communication with the second database server 4 according to the IP address of the second database server 4, and accesses the second partition database 400 according to the database configuration file of the second database server 4.
[0041] 所述通知模块 315用于通知所述第一数据库服务器 1将所述待迁移的电商数据通 过所述搜索的终端 5发送至第二数据库服务器 4。 具体地说, 所述通知模块 315通 知所述第一数据库服务器 1将从第一分区数据库 100中的文本数据通过搜索的终 端 5转移至第二分区数据库 400 (例如第二分区数据库 A1) 存储。  [0041] The notification module 315 is configured to notify the first database server 1 to send the e-commerce data to be migrated to the second database server 4 through the searched terminal 5. Specifically, the notification module 315 notifies the first database server 1 to transfer text data from the first partition database 100 through the searched terminal 5 to the second partition database 400 (e.g., the second partition database A1) for storage.
[0042] 参照图 3所示, 是本发明集约型电商数据动态迁移方法的优选实施例的流程图 。 在本实施例中, 所述的集约型电商数据动态迁移方法应用于数据迁移终端 3, 该方法包括以下步骤:  [0042] Referring to FIG. 3, it is a flow chart of a preferred embodiment of the intensive e-commerce data dynamic migration method of the present invention. In this embodiment, the intensive e-commerce data dynamic migration method is applied to the data migration terminal 3, and the method includes the following steps:
[0043] 步骤 S11 : 所述接收模块 311接收所述第一数据库服务器 1的数据迁移配置文件 。 在本实施例中, 所述数据迁移配置文件包括, 但不限于, 所述第一数据库服 务器 1的 IP地址、 第一数据库服务器 1中每个第一分区数据 100的分区代码、 第一 数据库服务器 1中待迁移的电商数据的属性信息 (包括数据大小、 文件目录等信 息) 、 第一数据库服务器 1的数据库配置文件 (例如, 数据库连接配置信息等) 、 所述第二数据库服务器 4的 IP地址、 第二数据库服务器 4中每个第二分区数据 40 0的分区代码、 第二数据库服务器 4的数据库配置文件 (例如, 数据库连接配置 信息等) 。 需要说明的是, 所述数据迁移配置文件可以预先保存于所述数据迁 移终端 3中, 并定期更新所述数据迁移配置文件。  [0043] Step S11: The receiving module 311 receives the data migration configuration file of the first database server 1. In this embodiment, the data migration configuration file includes, but is not limited to, an IP address of the first database server 1, a partition code of each first partition data 100 in the first database server 1, and a first database server. Attribute information (including data size, file directory, and the like) of the e-commerce data to be migrated in 1 , a database configuration file (for example, database connection configuration information, etc.) of the first database server 1 , and an IP of the second database server 4 The address, the partition code of each second partition data 40 0 in the second database server 4, the database configuration file of the second database server 4 (for example, database connection configuration information, etc.). It should be noted that the data migration configuration file may be pre-stored in the data migration terminal 3, and the data migration configuration file may be periodically updated.
[0044] 步骤 S12: 所述获取模块 312从所述数据迁移配置文件中获取所述第一数据库服 务器 1中待迁移的电商数据的大小。  [0044] Step S12: The obtaining module 312 obtains, from the data migration configuration file, the size of the e-commerce data to be migrated in the first database server 1.
[0045] 步骤 S13: 所述搜索模块 313根据所述待迁移的电商数据的大小在网络 2中搜索 终端 5。 所述待迁移的电商数据的大小与对应数量的终端 5之间的关系为: M=a* N/N0, 其中, N为所述待迁移的电商数据的大小, NO为设定的单位数据大小 ( 例如, 1GB) , M为终端的数量, a为正整数常量。 此外, 所述搜索模块 313发送 网络广播至网络 2中, 若连接至网络 2上的终端 5接收到所述网络广播并同意作为 数据迁移的中间设备, 则该终端 5为搜索的终端。 例如, 若终端 5接收到网络广 播, 则终端 5会弹出一个询问对话框, 该询问对话框包括确定按键及取消按键, 使用该终端 5的用户点击确定按键, 则表明该终端 5授权为第一数据库服务器 1迁 移数据的中间设备, 若使用该终端 5的用户点击取消按键, 则表明该终端 5拒绝 为第一数据库服务器 1迁移数据的中间设备。 为了避免终端 5过高的拒绝率, 可 以在网络广播中嵌入奖励信息, 例如, 若终端 5同意为迁移数据的中间设备后, 可以发一个电子货币 (例如, 1元人民币的电子货币) 给该终端 5。 此外, 也可 以将用户的终端作为迁移数据的中间设备。 为了避免影响工作人员的工作及生 活, 对第一数据库服务器 1的电商数据进行迁移吋, 设定在晚上 12点之后至早上 4点之间进行。 [0045] Step S13: The search module 313 searches the network 2 for the terminal 5 according to the size of the e-commerce data to be migrated. The relationship between the size of the e-commerce data to be migrated and the corresponding number of terminals 5 is: M=a* N/N0, where N is the size of the e-commerce data to be migrated, and NO is set. Unit data size (for example, 1GB), M is the number of terminals, and a is a positive integer constant. In addition, the search module 313 sends The network broadcasts into the network 2, and if the terminal 5 connected to the network 2 receives the network broadcast and agrees to be an intermediate device for data migration, the terminal 5 is a searched terminal. For example, if the terminal 5 receives the network broadcast, the terminal 5 pops up a query dialog box, which includes a confirmation button and a cancel button. When the user using the terminal 5 clicks the OK button, the terminal 5 is authorized to be the first. The intermediate device that the database server 1 migrates data, if the user using the terminal 5 clicks the cancel button, indicates that the terminal 5 rejects the intermediate device that migrates data for the first database server 1. In order to avoid the excessive rejection rate of the terminal 5, the reward information may be embedded in the network broadcast. For example, if the terminal 5 agrees to be an intermediate device for migrating data, an electronic money (for example, 1 yuan of electronic money) may be sent to the terminal. Terminal 5. In addition, the user's terminal can also be used as an intermediate device for migrating data. In order to avoid affecting the work and life of the staff, the e-commerce data of the first database server 1 is migrated, and the setting is made after 12 o'clock in the evening to 4 o'clock in the morning.
[0046] 步骤 S14: 所述发送模块 314发送所述数据迁移配置文件给每一个搜索的终端 5 , 使得所述每一个搜索的终端 5在第一数据库服务器 1及第二数据库服务器 4之间 建立通信连接。 所述搜索的终端 5接收到所述数据迁移配置文件后, 根据所述第 一数据库服务器 1的 IP地址与所述第一数据库服务器 1通信连接, 根据第一数据库 服务器 1的数据库配置文件访问所述第一分区数据库 100, 根据所述第二数据库 服务器 4的 IP地址与所述第二数据库服务器 4通信连接, 根据第二数据库服务器 4 的数据库配置文件访问所述第二分区数据库 400。  [0046] Step S14: The sending module 314 sends the data migration configuration file to each of the searched terminals 5, so that each of the searched terminals 5 is established between the first database server 1 and the second database server 4. Communication connection. After receiving the data migration configuration file, the searched terminal 5 communicates with the first database server 1 according to the IP address of the first database server 1, and accesses the database according to the database configuration file of the first database server 1. The first partition database 100 is in communication with the second database server 4 according to the IP address of the second database server 4, and accesses the second partition database 400 according to the database configuration file of the second database server 4.
[0047] 步骤 S 15: 所述通知模块 315通知所述第一数据库服务器 1将所述待迁移的电商 数据通过所述搜索的终端 5发送至第二数据库服务器 4。 具体地说, 所述通知模 块 315通知所述第一数据库服务器 1将从第一分区数据库 100中的文本数据通过搜 索的终端 5转移至第二分区数据库 400 (例如第二分区数据库 A1) 存储。  [0047] Step S15: The notification module 315 notifies the first database server 1 to send the e-commerce data to be migrated to the second database server 4 through the searched terminal 5. Specifically, the notification module 315 notifies the first database server 1 to transfer the text data in the first partition database 100 from the searched terminal 5 to the second partition database 400 (e.g., the second partition database A1) for storage.
工业实用性  Industrial applicability
[0048] 本发明采用多个终端对电商数据进行数据迁移, 利用终端所用的网络带宽, 节 省了医疗机构的带宽费用。  [0048] The present invention uses multiple terminals to perform data migration on e-commerce data, and utilizes the network bandwidth used by the terminal to save the bandwidth cost of the medical institution.

Claims

权利要求书 Claim
[权利要求 1] 一种集约型电商数据动态迁移系统, 运行于数据迁移终端中, 其特征 在于, 所述数据迁移终端通过网络与第一数据库服务器及第二数据库 服务器通信连接, 所述网络上通信连接有多个终端, 该系统包括: 接收模块, 用于接收所述第一数据库服务器的数据迁移配置文件; 获取模块, 用于从所述数据迁移配置文件中获取所述第一数据库服务 器中待迁移的电商数据的大小;  [Claim 1] An intensive e-commerce data dynamic migration system, running in a data migration terminal, wherein the data migration terminal is communicably connected to a first database server and a second database server through a network, the network The upper communication connection has a plurality of terminals, the system includes: a receiving module, configured to receive a data migration configuration file of the first database server, and an obtaining module, configured to acquire the first database server from the data migration configuration file The size of the e-commerce data to be migrated;
搜索模块, 用于根据所述待迁移的电商数据的大小在网络中搜索对应 数量的终端;  a search module, configured to search for a corresponding number of terminals in the network according to the size of the e-commerce data to be migrated;
发送模块, 用于发送所述数据迁移配置文件给每一个搜索的终端, 使 得所述每一个搜索的终端在第一数据库服务器及第二数据库服务器之 间建立通信连接;  a sending module, configured to send the data migration configuration file to each searched terminal, so that each of the searched terminals establishes a communication connection between the first database server and the second database server;
通知模块, 用于通知所述第一数据库服务器将所述待迁移的电商数据 通过所述搜索的终端发送至第二数据库服务器。  And a notification module, configured to notify the first database server to send the e-commerce data to be migrated to the second database server by using the searched terminal.
[权利要求 2] 如权利要求 1所述的集约型电商数据动态迁移系统, 其特征在于, 所 述第一数据库服务器安装有第一数据库, 第二数据库服务器安装有第 二数据库, 其中, 所述第一数据库划分为多个第一分区数据库, 所述 第二数据库划分为多个第二分区数据库, 每一个第一分区数据库分配 有一个唯一的分区代码, 每一个第二分区数据库分配有一个唯一的分 区代码。  [Claim 2] The intensive e-commerce data dynamic migration system according to claim 1, wherein the first database server is installed with a first database, and the second database server is installed with a second database, wherein The first database is divided into a plurality of first partition databases, and the second database is divided into a plurality of second partition databases, each of the first partition databases is assigned a unique partition code, and each second partition database is assigned a The only partition code.
[权利要求 3] 如权利要求 2所述的集约型电商数据动态迁移系统, 其特征在于, 所 述数据迁移配置文件包括所述第一数据库服务器的 IP地址、 第一数据 库服务器中每个第一分区数据库的分区代码、 第一数据库服务器中待 迁移的电商数据的属性信息、 第一数据库服务器的数据库配置文件、 所述第二数据库服务器的 IP地址、 第二数据库服务器中每个第二分区 数据库的分区代码及第二数据库服务器的数据库配置文件。  [Claim 3] The intensive e-commerce data dynamic migration system according to claim 2, wherein the data migration configuration file includes an IP address of the first database server, and each of the first database servers a partition code of a partition database, attribute information of e-commerce data to be migrated in the first database server, a database configuration file of the first database server, an IP address of the second database server, and a second second in the second database server The partition code of the partition database and the database configuration file of the second database server.
[权利要求 4] 如权利要求 3所述的集约型电商数据动态迁移系统, 其特征在于, 所 述搜索的终端接收到所述数据迁移配置文件后, 根据所述第一数据库 服务器的 IP地址与所述第一数据库服务器通信连接, 根据第一数据库 服务器的数据库配置文件访问所述第一分区数据库, 根据所述第二数 据库服务器的 IP地址与所述第二数据库服务器通信连接, 根据第二数 据库服务器的数据库配置文件访问所述第二分区数据库。 [Claim 4] The intensive e-commerce data dynamic migration system according to claim 3, wherein the searched terminal receives the data migration configuration file, according to the first database The IP address of the server is in communication with the first database server, accessing the first partition database according to a database configuration file of the first database server, and communicating with the second database server according to an IP address of the second database server Accessing the second partition database according to a database configuration file of the second database server.
[权利要求 5] 如权利要求 1所述的集约型电商数据动态迁移系统, 其特征在于, 所 述待迁移的电商数据的大小与对应数量的终端之间的关系为: M=a* N/N0, 其中, N为所述待迁移的电商数据的大小, NO为设定的单位 数据大小, M为终端的数量, a为正整数常量。  [Claim 5] The intensive e-commerce data dynamic migration system according to claim 1, wherein the relationship between the size of the e-commerce data to be migrated and the corresponding number of terminals is: M=a* N/N0, where N is the size of the e-commerce data to be migrated, NO is the set unit data size, M is the number of terminals, and a is a positive integer constant.
[权利要求 6] —种集约型电商数据动态迁移方法, 应用于数据迁移终端中, 其特征 在于, 所述数据迁移终端通过网络与第一数据库服务器及第二数据库 服务器通信连接, 所述网络上通信连接有多个终端, 该方法包括如下 步骤:  [Claim 6] A method for dynamic migration of an intensive e-commerce data, which is applied to a data migration terminal, wherein the data migration terminal is communicably connected to a first database server and a second database server through a network, the network The upper communication connection has multiple terminals, and the method includes the following steps:
接收所述第一数据库服务器的数据迁移配置文件; 从所述数据迁移配置文件中获取所述第一数据库服务器中待迁移的电 商数据的大小;  Receiving a data migration configuration file of the first database server; acquiring, from the data migration configuration file, a size of the e-commerce data to be migrated in the first database server;
根据所述待迁移的电商数据的大小在网络中搜索对应数量的终端; 发送所述数据迁移配置文件给每一个搜索的终端, 使得所述每一个搜 索的终端在第一数据库服务器及第二数据库服务器之间建立通信连接 ; 及  Searching for a corresponding number of terminals in the network according to the size of the e-commerce data to be migrated; sending the data migration configuration file to each searched terminal, so that each of the searched terminals is in the first database server and the second Establish a communication connection between database servers; and
通知所述第一数据库服务器将所述待迁移的电商数据通过所述搜索的 终端发送至第二数据库服务器。  Notifying the first database server to send the e-commerce data to be migrated to the second database server through the searched terminal.
[权利要求 7] 如权利要求 6所述的集约型电商数据动态迁移方法, 其特征在于, 所 述第一数据库服务器安装有第一数据库, 第二数据库服务器安装有第 二数据库, 其中, 所述第一数据库划分为多个第一分区数据库, 所述 第二数据库划分为多个第二分区数据库, 每一个第一分区数据库分配 有一个唯一的分区代码, 每一个第二分区数据库分配有一个唯一的分 区代码。 [Claim 7] The intensive e-commerce data dynamic migration method according to claim 6, wherein the first database server is installed with a first database, and the second database server is installed with a second database, wherein The first database is divided into a plurality of first partition databases, and the second database is divided into a plurality of second partition databases, each of the first partition databases is assigned a unique partition code, and each second partition database is assigned a The only partition code.
[权利要求 8] 如权利要求 7所述的集约型电商数据动态迁移方法, 其特征在于, 所 述数据迁移配置文件包括所述第一数据库服务器的 IP地址、 第一数据 库服务器中每个第一分区数据库的分区代码、 第一数据库服务器中待 迁移的电商数据的属性信息、 第一数据库服务器的数据库配置文件、 所述第二数据库服务器的 IP地址、 第二数据库服务器中每个第二分区 数据库的分区代码及第二数据库服务器的数据库配置文件。 [Claim 8] The intensive e-commerce data dynamic migration method according to claim 7, wherein The data migration configuration file includes an IP address of the first database server, a partition code of each first partition database in the first database server, attribute information of the e-commerce data to be migrated in the first database server, and a first database server. a database configuration file, an IP address of the second database server, a partition code of each second partition database in the second database server, and a database configuration file of the second database server.
[权利要求 9] 如权利要求 8所述的集约型电商数据动态迁移方法, 其特征在于, 所 述搜索的终端接收到所述数据迁移配置文件后, 根据所述第一数据库 服务器的 IP地址与所述第一数据库服务器通信连接, 根据第一数据库 服务器的数据库配置文件访问所述第一分区数据库, 根据所述第二数 据库服务器的 IP地址与所述第二数据库服务器通信连接, 根据第二数 据库服务器的数据库配置文件访问所述第二分区数据库。  [Claim 9] The intensive e-commerce data dynamic migration method according to claim 8, wherein the searched terminal receives the data migration configuration file according to an IP address of the first database server Communicating with the first database server, accessing the first partition database according to a database configuration file of the first database server, and communicating with the second database server according to an IP address of the second database server, according to the second The database configuration file of the database server accesses the second partition database.
[权利要求 10] 如权利要求 6所述的集约型电商数据动态迁移方法, 其特征在于, 所 述待迁移的电商数据的大小与对应数量的终端之间的关系为: M=a* N/N0, 其中, N为所述待迁移的电商数据的大小, NO为设定的单位 数据大小, M为终端的数量, a为正整数常量。  [Claim 10] The intensive e-commerce data dynamic migration method according to claim 6, wherein the relationship between the size of the e-commerce data to be migrated and the corresponding number of terminals is: M=a* N/N0, where N is the size of the e-commerce data to be migrated, NO is the set unit data size, M is the number of terminals, and a is a positive integer constant.
PCT/CN2017/077012 2017-03-17 2017-03-17 System and method for dynamic migration of intensive e-commerce data WO2018165965A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/077012 WO2018165965A1 (en) 2017-03-17 2017-03-17 System and method for dynamic migration of intensive e-commerce data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/077012 WO2018165965A1 (en) 2017-03-17 2017-03-17 System and method for dynamic migration of intensive e-commerce data

Publications (1)

Publication Number Publication Date
WO2018165965A1 true WO2018165965A1 (en) 2018-09-20

Family

ID=63522768

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077012 WO2018165965A1 (en) 2017-03-17 2017-03-17 System and method for dynamic migration of intensive e-commerce data

Country Status (1)

Country Link
WO (1) WO2018165965A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959119A (en) * 2009-07-21 2011-01-26 上海扣贝网络科技有限公司 Agent-based mobile internet information exchange method
CN102736592A (en) * 2012-05-29 2012-10-17 上海桥茵自动化设备有限公司 Control and management system and control and management method of Internet-of-things measurement and control terminal
CN106445641A (en) * 2016-11-02 2017-02-22 深圳前海生生科技有限公司 Method for data migration between safety virtual platforms on discrete computing node

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959119A (en) * 2009-07-21 2011-01-26 上海扣贝网络科技有限公司 Agent-based mobile internet information exchange method
CN102736592A (en) * 2012-05-29 2012-10-17 上海桥茵自动化设备有限公司 Control and management system and control and management method of Internet-of-things measurement and control terminal
CN106445641A (en) * 2016-11-02 2017-02-22 深圳前海生生科技有限公司 Method for data migration between safety virtual platforms on discrete computing node

Similar Documents

Publication Publication Date Title
JP7357098B2 (en) System and method for creating user management online pages (MAPpages) linked to locations on an interactive digital map
AU2016265837B2 (en) Virtual assistant in a communication session
US20150242421A1 (en) Location-Based Searching
CN103154993A (en) Location ranking using social graph information
WO2015081848A1 (en) Socialized extended search method and corresponding device and system
US9519699B1 (en) Consistency of query results in a distributed system
WO2018099100A1 (en) Electronic medical record data migration system and method for medical informatization
WO2018099101A1 (en) Mobile terminal-based electronic medical record data migration system and method
US9767505B1 (en) Item recommendations in an electronic marketplace
WO2018099103A1 (en) Electronic medical record processing system and method based on cluster data migration
CN109767257B (en) Advertisement putting method and system based on big data analysis and electronic equipment
TWI235946B (en) Method and system of displaying data
US20200081930A1 (en) Entity-based search system using user engagement
WO2018099102A1 (en) System and method for dynamic migration of electronic medical record data
GB2504610A (en) Managing data items using structured tags
WO2014159110A2 (en) Providing content to devices in a cluster
US20210141824A1 (en) Geolocation restricted content registration and publication
US10108728B2 (en) Provision of location information with search queries from location unaware devices to increase user interaction performance
KR101652082B1 (en) System for providing space information and method for operating in online the same
WO2018165965A1 (en) System and method for dynamic migration of intensive e-commerce data
JP6422927B2 (en) Information providing method, information providing program, and information providing apparatus
WO2018165962A1 (en) E-commerce data migration system and method
JP2015015658A (en) Wireless lan system and wireless lan router
US20180113946A1 (en) Method and device for domain web page registration
WO2018165964A1 (en) Cluster architecture-based e-commerce data migration system and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17900894

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17900894

Country of ref document: EP

Kind code of ref document: A1