[go: up one dir, main page]

CN111897877A - High-performance and high-reliability data sharing system and method based on distributed idea - Google Patents

High-performance and high-reliability data sharing system and method based on distributed idea Download PDF

Info

Publication number
CN111897877A
CN111897877A CN202010805266.9A CN202010805266A CN111897877A CN 111897877 A CN111897877 A CN 111897877A CN 202010805266 A CN202010805266 A CN 202010805266A CN 111897877 A CN111897877 A CN 111897877A
Authority
CN
China
Prior art keywords
task
data
data sharing
database
sharing system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010805266.9A
Other languages
Chinese (zh)
Other versions
CN111897877B (en
Inventor
丁怀雷
李振
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Co Ltd
Original Assignee
Inspur Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Software Co Ltd filed Critical Inspur Software Co Ltd
Priority to CN202010805266.9A priority Critical patent/CN111897877B/en
Publication of CN111897877A publication Critical patent/CN111897877A/en
Application granted granted Critical
Publication of CN111897877B publication Critical patent/CN111897877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

本发明公开了基于分布式思想的高性能高可靠数据共享系统及方法,属于信息技术领域,要解决的技术问题为大规模数据共享效率低且不安全,同时存在数据共享难以管理、共享方式不直观及共享内容难监控,技术方案为:系统包括数据库连接管理单元、定时任务管理单元、任务日志管理单元、任务统计单元、任务监控单元及失败报告单元。方法如下:S1、配置启动数据共享任务,任务定时的从源数据库并通过定义的规则抽取数据形成数据文本文件并对文件进行压缩、加密后上传到文档中心并记录访问链接;S2、对外提供数据共享接口,使用方通过数据共享接口获取到下载链接;S3、调用下载链接去文档中心下载加密文件,并通过事先分配好的密钥进行解密从而获取数据。

Figure 202010805266

The invention discloses a high-performance and high-reliability data sharing system and method based on a distributed idea, belonging to the field of information technology. The intuitive and shared content is difficult to monitor. The technical scheme is as follows: the system includes a database connection management unit, a timed task management unit, a task log management unit, a task statistics unit, a task monitoring unit and a failure reporting unit. The method is as follows: S1, configure and start the data sharing task, and the task regularly extracts data from the source database and through the defined rules to form a data text file, compresses and encrypts the file, uploads it to the document center and records the access link; S2, provides data to the outside world Sharing interface, the user obtains the download link through the data sharing interface; S3, call the download link to go to the document center to download the encrypted file, and decrypt it through the pre-allocated key to obtain the data.

Figure 202010805266

Description

基于分布式思想的高性能高可靠数据共享系统及方法High-performance and high-reliability data sharing system and method based on distributed idea

技术领域technical field

本发明涉及信息技术领域,主要涉及多信息系统间高效、安全的数据抽取与数据共享技术,具体地说是一种基于分布式思想的高性能高可靠数据共享系统及方法。The invention relates to the field of information technology, mainly relates to efficient and safe data extraction and data sharing technology among multiple information systems, in particular to a high-performance and high-reliability data sharing system and method based on distributed thinking.

背景技术Background technique

目前各个企业的信息化建设都达到了一定的规模,沉淀了大量的具有极高价值的数据,数据是一个企业的重要资产,是企业赖以生存和持久发展的灵魂,通常各个系统开发商(以下简称开发商)之间存在着各种原因导致这些数据资源被各个开发商独占。但企业内数据的分析又需要不同开发商之间开放一些数据来配合。为了使各个开发商能够方便快捷的共享数据,目前企业一般采用三种方式共享数据:At present, the informatization construction of various enterprises has reached a certain scale, and a large amount of data with extremely high value has been accumulated. Data is an important asset of an enterprise and the soul of the enterprise's survival and sustainable development. Usually, various system developers ( There are various reasons among the hereinafter referred to as developers) that cause these data resources to be monopolized by each developer. However, the analysis of data within the enterprise requires the openness of some data among different developers to cooperate. In order to enable various developers to share data conveniently and quickly, companies generally use three ways to share data:

第一种方式:企业通常需要协调各个开发商以接口的形式共享数据,这种方式可以解决小量的数据共享问题,但对于数据量比较大的数据就束手无策了。例如每天需要同步全国烟草行业零售终端销售单数据(每天约千万订单)到烟草营销分析系统,普通的方法就捉襟见肘了。况且接口一般由各个开发商自己开发,自己持有,企业一般无法做到共享数据的实时管理与监控。The first method: Enterprises usually need to coordinate various developers to share data in the form of interfaces. This method can solve a small amount of data sharing problem, but it is helpless for data with a relatively large amount of data. For example, it is necessary to synchronize the sales order data of retail terminals in the national tobacco industry (about 10 million orders per day) to the tobacco marketing analysis system every day, and ordinary methods are stretched. Moreover, the interface is generally developed and held by each developer, and enterprises generally cannot manage and monitor the shared data in real time.

第二种方式:企业需要协调开发商,开放数据库只读权限以达到数据共享的目的,这种方式需要把数据库表结构的详细设计公开,以便其他厂商能够提取自己需要的数据。但是这种方式容易泄漏开发商数据库的底层设计,不仅不安全而且对参与数据共享的开发商来说也不公平。The second way: Enterprises need to coordinate with developers to open the database read-only permissions to achieve the purpose of data sharing. In this way, the detailed design of the database table structure needs to be disclosed so that other manufacturers can extract the data they need. However, this method is easy to leak the underlying design of the developer database, which is not only insecure but also unfair to the developers involved in data sharing.

第三种方式:企业需要协调开发商,采用ETL等现有数据抽取工具将需要共享的数据抽取到单独的共享数据库。这种方式工作量大,不但耗费大量人力资源而且不安全、不直观。The third way: Enterprises need to coordinate with developers and use existing data extraction tools such as ETL to extract the data that needs to be shared to a separate shared database. This method is labor-intensive, consumes a lot of human resources, and is unsafe and unintuitive.

综上所述,现有技术存在如下问题:长期以来企业内部数据共享困难,大规模数据难以共享,传统共享方式效率低且不安全,同时存在数据共享难以管理、共享方式不直观以及共享内容难监控。To sum up, the existing technology has the following problems: for a long time, it is difficult to share data within enterprises, large-scale data is difficult to share, traditional sharing methods are inefficient and insecure, and at the same time, data sharing is difficult to manage, unintuitive in sharing methods, and difficult to share content. monitor.

发明内容SUMMARY OF THE INVENTION

本发明的技术任务是提供一种基于分布式思想的高性能高可靠数据共享系统及方法,来解决大规模数据共享效率低且不安全,同时存在数据共享难以管理、共享方式不直观及共享内容难监控的问题。The technical task of the present invention is to provide a high-performance and high-reliability data sharing system and method based on the distributed idea, to solve the problem of low efficiency and insecurity of large-scale data sharing, and at the same time, the problems of difficult management of data sharing, unintuitive sharing methods and sharing content difficult to monitor.

本发明的技术任务是按以下方式实现的,一种基于分布式思想的高性能高可靠数据共享系统,该数据共享系统包括,The technical task of the present invention is achieved in the following manner, a high-performance and high-reliability data sharing system based on distributed thinking, the data sharing system includes,

数据库连接管理单元,用于新增待共享的源数据库并修改或删除数据库连接;The database connection management unit is used to add the source database to be shared and modify or delete the database connection;

定时任务管理单元,用于新增、修改、启动、停止、删除以及手动补偿定时任务;The timing task management unit is used to add, modify, start, stop, delete and manually compensate for timing tasks;

任务日志管理单元,用于查看每个历史任务的详细执行过程、每个历史任务的执行过程以及生成的加密数据文件在文档中心的存放位置,同时提供查看SQL、删除日志以及高级操作;The task log management unit is used to view the detailed execution process of each historical task, the execution process of each historical task and the storage location of the generated encrypted data files in the document center, and also provides viewing SQL, delete logs and advanced operations;

任务统计单元,用于对每个任务执行过程进行统计;The task statistics unit is used to perform statistics on the execution process of each task;

任务监控单元,用于对任何一个任务进行实时监控,通过可视化图表的形式查看分析任务运行状态,为管理员提供全方位的数据共享任务监控信息;The task monitoring unit is used to monitor any task in real time, view and analyze the task running status in the form of a visual chart, and provide administrators with a full range of data sharing task monitoring information;

失败报告单元,用于对失败的任务生成报告,管理员直观的看到失败的任务出问题的环节。The failure reporting unit is used to generate a report on the failed task, and the administrator can intuitively see the link where the failed task has a problem.

作为优选,所述数据库连接管理单元包括,Preferably, the database connection management unit includes:

数据库连接新增模块,用于通过数据库连接管理功能新增待共享的源数据库,同时提供测试连接按钮,随时测试数据库连通性并管理多种数据库连接;The new module of database connection is used to add the source database to be shared through the database connection management function. At the same time, it provides a test connection button to test the database connectivity at any time and manage various database connections;

数据库连接修改删除模块,用于随时修改或删除已有的数据库连接。The database connection modification and deletion module is used to modify or delete the existing database connection at any time.

更优地,所述待共享的源数据库新增的内容包括连接名称、连接地址、连接端口号、数据库名称、数据库用户名、数据库密码以及数据库类型。More preferably, the newly added content of the source database to be shared includes connection name, connection address, connection port number, database name, database user name, database password and database type.

作为优选,所述定时任务管理单元包括,Preferably, the timed task management unit includes:

定时任务新增模块,用于通过定时任务管理的新增功能新增定时任务;A new module for timed tasks is used to add timed tasks through the new function of timed task management;

定时任务修改模块,用于对已经存在的数据共享定时任务进行修改;The timing task modification module is used to modify the existing data sharing timing tasks;

定时任务启动、停止或删除模块,用于对已经存在的数据共享定时任务进行相应的启动、停止或删除操作;The timing task start, stop or delete module is used to start, stop or delete the existing data sharing timing tasks accordingly;

手动补偿任务模块,用于迅速、自由的对历史数据进行手动补偿。The manual compensation task module is used to quickly and freely perform manual compensation on historical data.

更优地,所述新增定时任务需要维护的信息包括任务名称、约定表名、连接名称、cron表达式、任务步长、抽取时格式、抽取起始时间、时间偏移量、密钥类型、SQL类型、任务SQL以及时间戳字段全名;More preferably, the information to be maintained for the newly added scheduled task includes task name, agreed table name, connection name, cron expression, task step size, extraction format, extraction start time, time offset, and key type. , SQL type, task SQL and full name of timestamp field;

其中,约定表名用于保护开发商底层设计而设计的策略,开发商随意填写该字段;Among them, the agreed table name is used to protect the strategy designed by the developer's underlying design, and the developer can fill in this field at will;

cron表达式是指linux操作系统下常用的时间指令表达式;The cron expression refers to the time instruction expression commonly used in the Linux operating system;

任务步长是指执行本次任务时需要从源数据库取多长时间的数据,以分钟计量;The task step length refers to how long the data needs to be fetched from the source database when the task is executed, measured in minutes;

时间偏移量是指选取任务步长时需要往前偏移多久,用于解决使用数据库事务处理复杂业务时,数据入库延时问题;Time offset refers to how long the task step needs to be shifted forward, which is used to solve the problem of data storage delay when using database transactions to process complex services;

密钥类型是指对文件进行加密时能够选择不同的公私钥密钥对进行加密;Key type means that different public and private key pairs can be selected for encryption when encrypting files;

SQL类型允许系统管理员告诉系统执行sql任务时的参数填充策略,具体包括自动拼接参数和手动定义参数;The SQL type allows the system administrator to tell the system the parameter filling strategy when executing the SQL task, including automatic splicing of parameters and manual definition of parameters;

任务SQL是指数据共享任务的结构化查询语言;Task SQL refers to a structured query language for data sharing tasks;

时间戳字段全名用于解决各个开发商时间戳字段命名多样的问题,同时用于指明任务sql中哪个字段代表时间戳。The full name of the timestamp field is used to solve the problem of various developers' timestamp field names, and it is also used to indicate which field in the task sql represents the timestamp.

作为优选,所述任务日志管理单元包括,Preferably, the task log management unit includes:

任务日志清空模块,用于将选中的任务的所有历史进行清空,并清空不需要的历史记录;The task log clearing module is used to clear all the history of the selected task and clear the unnecessary history records;

SQL查看模块,用于查看选中任务的具体执行SQL,并协助分析数据共享过程中出现的问题;The SQL viewing module is used to view the specific execution SQL of the selected task and assist in analyzing the problems in the data sharing process;

日志删除模块,用于逐条删除任务日志;The log deletion module is used to delete task logs one by one;

高级操作模块,用于提供对日志管理更高级的操作。The advanced operation module is used to provide more advanced operations for log management.

作为优选,所述任务统计单元统计的内容包括共享的数据行数、共享数据文本文件大小、共享数据加密文件大小以及连接数据库时长。Preferably, the content counted by the task statistics unit includes the number of shared data rows, the size of the shared data text file, the size of the shared data encrypted file, and the duration of connection to the database.

作为优选,该数据共享系统提供两种工作模式,具体如下:Preferably, the data sharing system provides two working modes, as follows:

①、单Master模式:数据共享系统工作在一台服务器上,会自动通过多线程的方式模拟多个Slave子节点;1. Single Master mode: The data sharing system works on one server, and will automatically simulate multiple slave sub-nodes through multi-threading;

②、Master-Slave模式:将数据共享系统手动拆分为Master与Slave,其中Master节点工作在一台服务器上,Slave节点工作在其他多台服务器上,Master节点与Slave节点之间采用MQ消息中间件进行通信。2. Master-Slave mode: manually split the data sharing system into Master and Slave, in which the Master node works on one server, the Slave node works on other servers, and the MQ message intermediate is used between the Master node and the Slave node files to communicate.

一种基于分布式思想的高性能高可靠数据共享方法,该方法具体如下:A high-performance and high-reliability data sharing method based on distributed thinking, the method is as follows:

S1、系统管理员配置启动数据共享任务,任务定时的从源数据库并通过定义的规则抽取数据形成数据文本文件并对文件进行压缩、加密后上传到文档中心(企业内部非结构化数据库管理系统)并记录访问链接;S1. The system administrator configures and starts the data sharing task, and the task regularly extracts data from the source database and through the defined rules to form a data text file, compresses and encrypts the file and uploads it to the document center (internal unstructured database management system of the enterprise) and record access links;

S2、数据共享系统对外提供数据共享接口,使用方通过数据共享接口获取到下载链接;S2. The data sharing system provides a data sharing interface externally, and the user obtains the download link through the data sharing interface;

S3、通过调用下载链接去文档中心下载加密文件,并通过事先分配好的密钥进行解密从而获取数据。S3. Go to the document center to download the encrypted file by calling the download link, and decrypt the encrypted file through the pre-allocated key to obtain the data.

作为优选,所述数据共享系统能够按照管理员设置的任务步长将一个数据量巨大的共享任务按照时间维度进行自动拆分,分散执行,降低源数据库的压力;Preferably, the data sharing system can automatically split a shared task with a huge amount of data according to the time dimension according to the task step size set by the administrator, and perform decentralized execution to reduce the pressure on the source database;

数据共享系统从源数据库中获取的数据形成文本文件并通过RSA非对称加密算法进行加密形成加密文件,载发送加密文件到文档中心存储,需要共享数据的用户直接通过链接从文档中心下载数据,从而转移数据共享系统的压力;The data obtained by the data sharing system from the source database forms a text file, which is encrypted by the RSA asymmetric encryption algorithm to form an encrypted file, and the encrypted file is sent to the document center for storage. Users who need to share data directly download the data from the document center through the link, thereby Pressure to shift data sharing systems;

需要共享数据的用户需要分两步获取目标数据,具体如下:Users who need to share data need to obtain the target data in two steps, as follows:

①、先调用数据共享系统提供的接口;①, first call the interface provided by the data sharing system;

②、根据第一步获取的结果调用文档中心的接口取得加密文件。②. Call the interface of the document center to obtain the encrypted file according to the result obtained in the first step.

本发明的基于分布式思想的高性能高可靠数据共享系统及方法具有以下优点:The high-performance and high-reliability data sharing system and method based on the distributed idea of the present invention has the following advantages:

(一)本发明为企业内部数据共享提供了一种全新的解决方案,打破传统数据共享困难的壁垒,共享方式非常直观、共享过程高效安全可靠、可以实现便捷高效的管理共享任务以及能够做到数据共享任务的实时监控,从而能够节省大量的人力资源成本,对企业内部数据共享尤其是超大规模数据的快速共享提供强有力的支撑;(1) The present invention provides a brand-new solution for internal data sharing of enterprises, breaks the barriers of traditional data sharing difficulties, the sharing method is very intuitive, the sharing process is efficient, safe and reliable, it can realize convenient and efficient management and sharing tasks, and can achieve Real-time monitoring of data sharing tasks can save a lot of human resource costs and provide strong support for data sharing within enterprises, especially the rapid sharing of ultra-large-scale data;

(二)本发明可以有效的解决企业内部数据共享的问题,尤其是大规模数据共享的问题,并且可以做到方便快捷的管理数据共享任务、高效的、安全的做到大规模数据的共享,为企业内部数据共享尤其是大量数据的共享提供安全、高效的解决方案;(2) The present invention can effectively solve the problem of data sharing within enterprises, especially the problem of large-scale data sharing, and can manage data sharing tasks conveniently and quickly, efficiently and safely achieve large-scale data sharing, Provide safe and efficient solutions for data sharing within enterprises, especially the sharing of large amounts of data;

(三)本发明为了减少数据汇总过程中对源数据库的访问压力,避免影响其他业务系统的正常运行,将一次大量的数据共享任务划分成N次小型的数据共享任务,可以通过数据库连接池连接数据库,每隔相应的时间执行一次数据抽取任务,一次抽取步长(时间长度)的数据,抽取的这些数据被经过压缩、加密后上传到文档中心存放;(3) In order to reduce the access pressure on the source database in the process of data aggregation and avoid affecting the normal operation of other business systems, the present invention divides a large amount of data sharing tasks into N small data sharing tasks, which can be connected through a database connection pool. Database, perform a data extraction task every corresponding time, extract data of step size (time length) once, the extracted data are compressed and encrypted and uploaded to the document center for storage;

(四)奔赴马宁除了具有普通数据抽取和共享工具的特性外还具有以下特性:(4) Go to Maning has the following features in addition to the features of common data extraction and sharing tools:

①安全性:数据共享接口的调用需要平台授予开发商权限才能调用,保证了接口的安全性;数据文件以RSA加密的方式存放在文档中心,开发商必须申请获取RSA私钥才能对获取到的数据文件进行解密;①Security: The invocation of the data sharing interface requires the platform to grant the developer permission to call, which ensures the security of the interface; the data files are stored in the document center in the form of RSA encryption, and the developer must apply for the RSA private key to obtain the RSA private key. Decrypt data files;

②高性能:采用分布式思想,基于Master-Slave模式(一主多从模式),主节点仅用来生成和派发任务,从节点用来处理这些任务。从节点可以有多个,可以同时处理大规模数据抽取和共享任务;②High performance: Using the distributed idea, based on the Master-Slave mode (one master and multiple slaves), the master node is only used to generate and dispatch tasks, and the slave nodes are used to process these tasks. There can be multiple slave nodes, which can handle large-scale data extraction and sharing tasks at the same time;

③高可用:主节点派发任务存储在消息中间件中(以下简称MQ)同时从节点有多个节点且部署在不同的机器,保障系统的高可用;③High availability: The task dispatched by the master node is stored in the message middleware (hereinafter referred to as MQ). At the same time, the slave node has multiple nodes and is deployed on different machines to ensure the high availability of the system;

④便捷管理:通过本发明系统管理员可以随时新增数据共享任务,随时修改数据抽取规则、随时启动数据共享任务、随时停止数据共享任务、随时删除数据共享任务;④Convenient management: through the present invention, the system administrator can add data sharing tasks at any time, modify data extraction rules at any time, start data sharing tasks at any time, stop data sharing tasks at any time, and delete data sharing tasks at any time;

⑤可监控统计:本发明可以实时查看任务的运行情况,监控任务的成功与失败;同时提供各种维度任务统计报表与可视化图表,实时掌握任务的运行情况;⑤Monitorable statistics: the present invention can view the running status of tasks in real time, monitor the success and failure of tasks; meanwhile, provide various dimension task statistical reports and visual charts, and grasp the running status of tasks in real time;

⑥可补偿:针对失败的任务,本发明兼有自动补偿与手动补偿的功能,当检测到任务失败后,会立即启动补偿机制,对失败的任务进行补偿,同时管理员也可以手动进行补偿,操作方便快捷;⑥ Compensable: For failed tasks, the present invention has both automatic compensation and manual compensation functions. When a task failure is detected, the compensation mechanism will be activated immediately to compensate for the failed task. At the same time, the administrator can also perform compensation manually. Easy and fast operation;

⑦源数据库降压:本发明提供对同一个数据共享任务拆分的能力,将一个数据共享任务分成n多个小任务,实现分时,分段去数据库读取数据,以免对源数据库造成压力,同时提高数据抽取与共享速度;⑦ Depressurization of the source database: The present invention provides the ability to split the same data sharing task, divides a data sharing task into n multiple small tasks, realizes time sharing, and reads data from the database in sections, so as to avoid pressure on the source database , while improving the speed of data extraction and sharing;

⑧数据共享系统降压:将从源数据库中获取的数据处理后发送到文档中心存储,需要共享数据的系统开发商直接通过链接从文档中心下载数据,从而转移数据共享系统的压力。⑧Depressurization of the data sharing system: The data obtained from the source database is processed and sent to the document center for storage. The system developers who need to share the data directly download the data from the document center through the link, thereby transferring the pressure of the data sharing system.

附图说明Description of drawings

下面结合附图对本发明进一步说明。The present invention will be further described below with reference to the accompanying drawings.

附图1为基于分布式思想的高性能高可靠数据共享系统的结构框图;Accompanying drawing 1 is the structural block diagram of the high-performance and high-reliability data sharing system based on distributed thought;

附图2为附图1中数据共享系统的工作原理的架构图;Accompanying drawing 2 is the framework diagram of the working principle of data sharing system in accompanying drawing 1;

附图3为新增数据库连接的界面截图;Accompanying drawing 3 is the interface screenshot of new database connection;

附图4为新增定时任务模块的界面截图一;Accompanying drawing 4 is the interface screenshot one of newly added timing task module;

附图5为新增定时任务模块的界面截图二;Accompanying drawing 5 is the interface screenshot two of the newly added timing task module;

附图6为任务日志管理单元的界面截图一;Accompanying drawing 6 is the interface screenshot one of task log management unit;

附图7为任务日志管理单元的界面截图二;Accompanying drawing 7 is the interface screenshot two of task log management unit;

附图8为任务统计单元的界面截图;Accompanying drawing 8 is the interface screenshot of task statistics unit;

附图9为任务监控单元的折线图的界面截图;Accompanying drawing 9 is the interface screenshot of the line graph of task monitoring unit;

附图10为任务监控单元的饼图的界面截图;Accompanying drawing 10 is the interface screenshot of the pie chart of task monitoring unit;

附图11为失败报告的界面截图。Figure 11 is a screenshot of the interface of the failure report.

具体实施方式Detailed ways

参照说明书附图和具体实施例对本发明的基于分布式思想的高性能高可靠数据共享系统及方法作以下详细地说明。The high-performance and high-reliability data sharing system and method based on the distributed idea of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

实施例1:Example 1:

如附图1所示,本发明的基于分布式思想的高性能高可靠数据共享系统,该数据共享系统包括,As shown in FIG. 1, the high-performance and high-reliability data sharing system based on the distributed idea of the present invention includes:

数据库连接管理单元,用于新增待共享的源数据库并修改或删除数据库连接;数据库连接管理单元包括,The database connection management unit is used to add the source database to be shared and modify or delete the database connection; the database connection management unit includes,

数据库连接新增模块,用于通过数据库连接管理功能新增待共享的源数据库,同时提供测试连接按钮,随时测试数据库连通性并管理多种数据库连接,如附图3所示;The database connection new module is used to add the source database to be shared through the database connection management function, and provides a test connection button at the same time to test the database connectivity and manage various database connections at any time, as shown in Figure 3;

数据库连接修改删除模块,用于随时修改或删除已有的数据库连接。The database connection modification and deletion module is used to modify or delete the existing database connection at any time.

其中,待共享的源数据库新增的内容包括连接名称、连接地址、连接端口号、数据库名称、数据库用户名、数据库密码以及数据库类型。The newly added content of the source database to be shared includes connection name, connection address, connection port number, database name, database user name, database password, and database type.

定时任务管理单元,用于新增、修改、启动、停止、删除以及手动补偿定时任务;定时任务管理单元包括,The timed task management unit is used to add, modify, start, stop, delete and manually compensate timed tasks; the timed task management unit includes,

定时任务新增模块,用于通过定时任务管理的新增功能新增定时任务;新增定时任务需要维护的信息包括任务名称、约定表名、连接名称、cron表达式、任务步长、抽取时格式、抽取起始时间、时间偏移量、密钥类型、SQL类型、任务SQL以及时间戳字段全名,如附图4和5所示;A new module for timed tasks is used to add timed tasks through the new functions of timed task management; the information to be maintained for new timed tasks includes task name, agreed table name, connection name, cron expression, task step size, and extraction time. Format, extraction start time, time offset, key type, SQL type, task SQL, and full name of the timestamp field, as shown in Figures 4 and 5;

其中,约定表名用于保护开发商底层设计而设计的策略,开发商随意填写该字段;Among them, the agreed table name is used to protect the strategy designed by the developer's underlying design, and the developer can fill in this field at will;

cron表达式是指linux操作系统下常用的时间指令表达式;The cron expression refers to the time instruction expression commonly used in the Linux operating system;

任务步长是指执行本次任务时需要从源数据库取多长时间的数据,以分钟计量;The task step length refers to how long the data needs to be fetched from the source database when the task is executed, measured in minutes;

时间偏移量是指选取任务步长时需要往前偏移多久,用于解决使用数据库事务处理复杂业务时,数据入库延时问题;Time offset refers to how long the task step needs to be shifted forward, which is used to solve the problem of data storage delay when using database transactions to process complex services;

密钥类型是指对文件进行加密时能够选择不同的公私钥密钥对进行加密;Key type means that different public and private key pairs can be selected for encryption when encrypting files;

SQL类型允许系统管理员告诉系统执行sql任务时的参数填充策略,具体包括自动拼接参数和手动定义参数;The SQL type allows the system administrator to tell the system the parameter filling strategy when executing the SQL task, including automatic splicing of parameters and manual definition of parameters;

任务SQL是指数据共享任务的结构化查询语言;Task SQL refers to a structured query language for data sharing tasks;

时间戳字段全名用于解决各个开发商时间戳字段命名多样的问题,同时用于指明任务sql中哪个字段代表时间戳。The full name of the timestamp field is used to solve the problem of various developers' timestamp field names, and it is also used to indicate which field in the task sql represents the timestamp.

定时任务修改模块,用于对已经存在的数据共享定时任务进行修改;The timing task modification module is used to modify the existing data sharing timing tasks;

定时任务启动、停止或删除模块,用于对已经存在的数据共享定时任务进行相应的启动、停止或删除操作;The timing task start, stop or delete module is used to start, stop or delete the existing data sharing timing tasks accordingly;

手动补偿任务模块,用于迅速、自由的对历史数据进行手动补偿。The manual compensation task module is used to quickly and freely perform manual compensation on historical data.

任务日志管理单元,用于查看每个历史任务的详细执行过程、每个历史任务的执行过程以及生成的加密数据文件在文档中心的存放位置,同时提供查看SQL、删除日志以及高级操作,如附图6和7所示;任务日志管理单元包括,The task log management unit is used to view the detailed execution process of each historical task, the execution process of each historical task, and the storage location of the generated encrypted data files in the document center. As shown in Figures 6 and 7; the task log management unit includes,

任务日志清空模块,用于将选中的任务的所有历史进行清空,并清空不需要的历史记录;The task log clearing module is used to clear all the history of the selected task and clear the unnecessary history records;

SQL查看模块,用于查看选中任务的具体执行SQL,并协助分析数据共享过程中出现的问题;The SQL viewing module is used to view the specific execution SQL of the selected task and assist in analyzing the problems in the data sharing process;

日志删除模块,用于逐条删除任务日志;The log deletion module is used to delete task logs one by one;

高级操作模块,用于提供对日志管理更高级的操作。The advanced operation module is used to provide more advanced operations for log management.

任务统计单元,用于对每个任务执行过程进行统计,如附图8所示;任务统计单元统计的内容包括共享的数据行数、共享数据文本文件大小、共享数据加密文件大小以及连接数据库时长。The task statistics unit is used to perform statistics on each task execution process, as shown in Figure 8; the content of the task statistics unit statistics includes the number of shared data lines, the size of the shared data text file, the size of the shared data encrypted file and the length of the connection database .

任务监控单元,用于对任何一个任务进行实时监控,通过可视化图表的形式查看分析任务运行状态,为管理员提供全方位的数据共享任务监控信息,如附图9和10所示;The task monitoring unit is used to monitor any task in real time, view and analyze the task running status in the form of a visual chart, and provide administrators with all-round data sharing task monitoring information, as shown in Figures 9 and 10;

失败报告单元,用于对失败的任务生成报告,管理员直观的看到失败的任务出问题的环节,如附图11所示。The failure reporting unit is used to generate a report on the failed task, and the administrator can intuitively see the link where the failed task has a problem, as shown in FIG. 11 .

如附图2所示,该数据共享系统提供两种工作模式,具体如下:As shown in Figure 2, the data sharing system provides two working modes, as follows:

①、单Master模式:数据共享系统工作在一台服务器上,会自动通过多线程的方式模拟多个Slave子节点;1. Single Master mode: The data sharing system works on one server, and will automatically simulate multiple slave sub-nodes through multi-threading;

②、Master-Slave模式:将数据共享系统手动拆分为Master与Slave,其中Master节点工作在一台服务器上,Slave节点工作在其他多台服务器上,Master节点与Slave节点之间采用MQ消息中间件进行通信。2. Master-Slave mode: manually split the data sharing system into Master and Slave, in which the Master node works on one server, the Slave node works on multiple other servers, and the MQ message intermediate is used between the Master node and the Slave node files to communicate.

数据共享系统的工作过程具体如下:The working process of the data sharing system is as follows:

(1)、系统管理员登录,通过数据库管理功能新增要共享数据的数据库;(1), the system administrator logs in, and adds the database to be shared data through the database management function;

(2)、配置定时任务与数据共享规则并启动任务;(2), configure timed tasks and data sharing rules and start the task;

(3)、数据共享系统会按照系统管理员的配置,定时的从源数据库并通过定义的规则抽取数据形成数据文本文件;(3) The data sharing system will regularly extract data from the source database and form a data text file through the defined rules according to the configuration of the system administrator;

(4)、数据文本文件形成后数据共享系统会将这些文本文件归档压缩同时通过RSA非对称算法进行加密形成加密文件,随后系统会将加密文件上传至企业内部非结构化数据库管理系统(简称文档中心)并记录访问链接;(4) After the data text files are formed, the data sharing system will archive and compress these text files and encrypt them through the RSA asymmetric algorithm to form encrypted files, and then the system will upload the encrypted files to the internal unstructured database management system of the enterprise (referred to as document for short). Center) and record access links;

(4)、数据共享系统对外提供数据共享接口,开发商可以通过数据共享系统接口获取到下载链接;(4) The data sharing system provides a data sharing interface externally, and developers can obtain the download link through the data sharing system interface;

(5)、调用该链接去文档中心下载加密文件,并通过事先分配好的密钥进行解密从而获取数据。(5) Call the link to download the encrypted file from the document center, and decrypt it with the pre-allocated key to obtain the data.

本发明适用于零售行业。The present invention is applicable to the retail industry.

实施例2:Example 2:

本发明的基于分布式思想的高性能高可靠数据共享方法,该方法具体如下:The high-performance and high-reliability data sharing method based on the distributed idea of the present invention is specifically as follows:

S1、系统管理员配置启动数据共享任务,任务定时的从源数据库并通过定义的规则抽取数据形成数据文本文件并对文件进行压缩、加密后上传到文档中心(企业内部非结构化数据库管理系统)并记录访问链接;S1. The system administrator configures and starts the data sharing task, and the task regularly extracts data from the source database and through the defined rules to form a data text file, compresses and encrypts the file and uploads it to the document center (internal unstructured database management system of the enterprise) and record access links;

S2、数据共享系统对外提供数据共享接口,使用方通过数据共享接口获取到下载链接;S2. The data sharing system provides a data sharing interface externally, and the user obtains the download link through the data sharing interface;

S3、通过调用下载链接去文档中心下载加密文件,并通过事先分配好的密钥进行解密从而获取数据。S3. Go to the document center to download the encrypted file by calling the download link, and decrypt the encrypted file through the pre-allocated key to obtain the data.

其中,数据共享系统能够按照管理员设置的任务步长将一个数据量巨大的共享任务按照时间维度进行自动拆分,分散执行,降低源数据库的压力;Among them, the data sharing system can automatically split a shared task with a huge amount of data according to the time dimension according to the task step set by the administrator, and execute it in a decentralized manner, reducing the pressure on the source database;

数据共享系统从源数据库中获取的数据形成文本文件并通过RSA非对称加密算法进行加密形成加密文件,载发送加密文件到文档中心存储,需要共享数据的用户直接通过链接从文档中心下载数据,从而转移数据共享系统的压力;The data obtained by the data sharing system from the source database forms a text file, which is encrypted by the RSA asymmetric encryption algorithm to form an encrypted file, and then the encrypted file is sent to the document center for storage. Users who need to share data directly download the data from the document center through the link, thereby Pressure to shift data sharing systems;

需要共享数据的用户需要分两步获取目标数据,具体如下:Users who need to share data need to obtain the target data in two steps, as follows:

①、先调用数据共享系统提供的接口;①, first call the interface provided by the data sharing system;

②、根据第一步获取的结果调用文档中心的接口取得加密文件。②. Call the interface of the document center to obtain the encrypted file according to the result obtained in the first step.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.

Claims (10)

1.一种基于分布式思想的高性能高可靠数据共享系统,其特征在于,该数据共享系统包括,1. a high-performance and high-reliability data sharing system based on distributed thinking, is characterized in that, this data sharing system comprises, 数据库连接管理单元,用于新增待共享的源数据库并修改或删除数据库连接;The database connection management unit is used to add the source database to be shared and modify or delete the database connection; 定时任务管理单元,用于新增、修改、启动、停止、删除以及手动补偿定时任务;The timing task management unit is used to add, modify, start, stop, delete and manually compensate for timing tasks; 任务日志管理单元,用于查看每个历史任务的详细执行过程、每个历史任务的执行过程以及生成的加密数据文件在文档中心的存放位置,同时提供查看SQL、删除日志以及高级操作;The task log management unit is used to view the detailed execution process of each historical task, the execution process of each historical task and the storage location of the generated encrypted data files in the document center, and also provides viewing SQL, delete logs and advanced operations; 任务统计单元,用于对每个任务执行过程进行统计;The task statistics unit is used to perform statistics on the execution process of each task; 任务监控单元,用于对任何一个任务进行实时监控,通过可视化图表的形式查看分析任务运行状态,为管理员提供全方位的数据共享任务监控信息;The task monitoring unit is used to monitor any task in real time, view and analyze the task running status in the form of a visual chart, and provide administrators with a full range of data sharing task monitoring information; 失败报告单元,用于对失败的任务生成报告,管理员直观的看到失败的任务出问题的环节。The failure reporting unit is used to generate a report on the failed task, and the administrator can intuitively see the link where the failed task has a problem. 2.根据权利要求1所述的基于分布式思想的高性能高可靠数据共享系统,其特征在于,所述数据库连接管理单元包括,2. The high-performance and high-reliability data sharing system based on distributed thinking according to claim 1, wherein the database connection management unit comprises: 数据库连接新增模块,用于通过数据库连接管理功能新增待共享的源数据库,同时提供测试连接按钮,随时测试数据库连通性并管理多种数据库连接;The new module of database connection is used to add the source database to be shared through the database connection management function. At the same time, it provides a test connection button to test the database connectivity at any time and manage various database connections; 数据库连接修改删除模块,用于随时修改或删除已有的数据库连接。The database connection modification and deletion module is used to modify or delete the existing database connection at any time. 3.根据权利要求2所述的基于分布式思想的高性能高可靠数据共享系统,其特征在于,所述待共享的源数据库新增的内容包括连接名称、连接地址、连接端口号、数据库名称、数据库用户名、数据库密码以及数据库类型。3. The high-performance and high-reliability data sharing system based on distributed thinking according to claim 2, wherein the newly added content of the source database to be shared comprises connection name, connection address, connection port number, database name , database username, database password, and database type. 4.根据权利要求1所述的基于分布式思想的高性能高可靠数据共享系统,其特征在于,所述定时任务管理单元包括,4. The high-performance and high-reliability data sharing system based on distributed thinking according to claim 1, wherein the timing task management unit comprises: 定时任务新增模块,用于通过定时任务管理的新增功能新增定时任务;A new module for timed tasks is used to add timed tasks through the new function of timed task management; 定时任务修改模块,用于对已经存在的数据共享定时任务进行修改;The timing task modification module is used to modify the existing data sharing timing tasks; 定时任务启动、停止或删除模块,用于对已经存在的数据共享定时任务进行相应的启动、停止或删除操作;The timing task start, stop or delete module is used to start, stop or delete the existing data sharing timing tasks accordingly; 手动补偿任务模块,用于迅速、自由的对历史数据进行手动补偿。The manual compensation task module is used to quickly and freely perform manual compensation on historical data. 5.根据权利要求4所述的基于分布式思想的高性能高可靠数据共享系统,其特征在于,所述新增定时任务需要维护的信息包括任务名称、约定表名、连接名称、cron表达式、任务步长、抽取时格式、抽取起始时间、时间偏移量、密钥类型、SQL类型、任务SQL以及时间戳字段全名;5. The high-performance and high-reliability data sharing system based on distributed thinking according to claim 4, characterized in that, the information that the newly added scheduled task needs to maintain includes task name, convention table name, connection name, cron expression , task step size, extraction format, extraction start time, time offset, key type, SQL type, task SQL, and full name of the timestamp field; 其中,约定表名用于保护开发商底层设计而设计的策略,开发商随意填写该字段;Among them, the agreed table name is used to protect the strategy designed by the developer's underlying design, and the developer can fill in this field at will; cron表达式是指linux操作系统下常用的时间指令表达式;The cron expression refers to the time instruction expression commonly used in the Linux operating system; 任务步长是指执行本次任务时需要从源数据库取多长时间的数据,以分钟计量;The task step length refers to how long the data needs to be fetched from the source database when the task is executed, measured in minutes; 时间偏移量是指选取任务步长时需要往前偏移多久,用于解决使用数据库事务处理复杂业务时,数据入库延时问题;Time offset refers to how long the task step needs to be shifted forward, which is used to solve the problem of data storage delay when using database transactions to process complex services; 密钥类型是指对文件进行加密时能够选择不同的公私钥密钥对进行加密;Key type means that different public and private key pairs can be selected for encryption when encrypting files; SQL类型允许系统管理员告诉系统执行sql任务时的参数填充策略,具体包括自动拼接参数和手动定义参数;The SQL type allows the system administrator to tell the system the parameter filling strategy when executing the SQL task, including automatic splicing of parameters and manual definition of parameters; 任务SQL是指数据共享任务的结构化查询语言;Task SQL refers to a structured query language for data sharing tasks; 时间戳字段全名用于解决各个开发商时间戳字段命名多样的问题,同时用于指明任务sql中哪个字段代表时间戳。The full name of the timestamp field is used to solve the problem of various developers' timestamp field names, and it is also used to indicate which field in the task sql represents the timestamp. 6.根据权利要求1所述的基于分布式思想的高性能高可靠数据共享系统,其特征在于,所述任务日志管理单元包括,6. The high-performance and high-reliability data sharing system based on distributed thinking according to claim 1, wherein the task log management unit comprises: 任务日志清空模块,用于将选中的任务的所有历史进行清空,并清空不需要的历史记录;The task log clearing module is used to clear all the history of the selected task and clear the unnecessary history records; SQL查看模块,用于查看选中任务的具体执行SQL,并协助分析数据共享过程中出现的问题;The SQL viewing module is used to view the specific execution SQL of the selected task and assist in analyzing the problems in the data sharing process; 日志删除模块,用于逐条删除任务日志;The log deletion module is used to delete task logs one by one; 高级操作模块,用于提供对日志管理更高级的操作。The advanced operation module is used to provide more advanced operations for log management. 7.根据权利要求1所述的基于分布式思想的高性能高可靠数据共享系统,其特征在于,所述任务统计单元统计的内容包括共享的数据行数、共享数据文本文件大小、共享数据加密文件大小以及连接数据库时长。7. The high-performance and high-reliability data sharing system based on distributed thinking according to claim 1, wherein the content of the statistics of the task statistics unit includes the number of shared data lines, the size of the shared data text file, and the shared data encryption. File size and time to connect to the database. 8.根据权利要求1所述的基于分布式思想的高性能高可靠数据共享系统,其特征在于,该数据共享系统提供两种工作模式,具体如下:8. The high-performance and high-reliability data sharing system based on distributed thinking according to claim 1, is characterized in that, this data sharing system provides two kinds of working modes, and is specifically as follows: ①、单Master模式:数据共享系统工作在一台服务器上,会自动通过多线程的方式模拟多个Slave子节点;1. Single Master mode: The data sharing system works on one server, and will automatically simulate multiple slave sub-nodes through multi-threading; ②、Master-Slave模式:将数据共享系统手动拆分为Master与Slave,其中Master节点工作在一台服务器上,Slave节点工作在其他多台服务器上,Master节点与Slave节点之间采用MQ消息中间件进行通信。2. Master-Slave mode: manually split the data sharing system into Master and Slave, in which the Master node works on one server, the Slave node works on other servers, and the MQ message intermediate is used between the Master node and the Slave node files to communicate. 9.一种基于分布式思想的高性能高可靠数据共享方法,其特征在于,该方法具体如下:9. A high-performance and high-reliability data sharing method based on distributed thinking, characterized in that the method is specifically as follows: S1、系统管理员配置启动数据共享任务,任务定时的从源数据库并通过定义的规则抽取数据形成数据文本文件并对文件进行压缩、加密后上传到文档中心并记录访问链接;S1. The system administrator configures and starts the data sharing task, and the task regularly extracts data from the source database and through the defined rules to form a data text file, compresses and encrypts the file, uploads it to the document center and records the access link; S2、数据共享系统对外提供数据共享接口,使用方通过数据共享接口获取到下载链接;S2. The data sharing system provides a data sharing interface externally, and the user obtains the download link through the data sharing interface; S3、通过调用下载链接去文档中心下载加密文件,并通过事先分配好的密钥进行解密从而获取数据。S3. Go to the document center to download the encrypted file by calling the download link, and decrypt the encrypted file through the pre-allocated key to obtain the data. 10.根据权利要求9所述的基于分布式思想的高性能高可靠数据共享方法,其特征在于,所述数据共享系统能够按照管理员设置的任务步长将一个数据量巨大的共享任务按照时间维度进行自动拆分,分散执行,降低源数据库的压力;10. The high-performance and high-reliability data sharing method based on distributed thinking according to claim 9, wherein the data sharing system can divide a shared task with a huge amount of data by time according to the task step size set by the administrator. The dimensions are automatically split and executed in a decentralized manner, reducing the pressure on the source database; 数据共享系统从源数据库中获取的数据形成文本文件并通过RSA非对称加密算法进行加密形成加密文件,载发送加密文件到文档中心存储,需要共享数据的用户直接通过链接从文档中心下载数据,从而转移数据共享系统的压力;The data obtained by the data sharing system from the source database forms a text file, which is encrypted by the RSA asymmetric encryption algorithm to form an encrypted file, and the encrypted file is sent to the document center for storage. Users who need to share data directly download the data from the document center through the link, thereby Pressure to shift data sharing systems; 需要共享数据的用户需要分两步获取目标数据,具体如下:Users who need to share data need to obtain the target data in two steps, as follows: ①、先调用数据共享系统提供的接口;①, first call the interface provided by the data sharing system; ②、根据第一步获取的结果调用文档中心的接口取得加密文件。②. Call the interface of the document center to obtain the encrypted file according to the result obtained in the first step.
CN202010805266.9A 2020-08-12 2020-08-12 High-performance high-reliability data sharing system and method based on distributed ideas Active CN111897877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010805266.9A CN111897877B (en) 2020-08-12 2020-08-12 High-performance high-reliability data sharing system and method based on distributed ideas

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010805266.9A CN111897877B (en) 2020-08-12 2020-08-12 High-performance high-reliability data sharing system and method based on distributed ideas

Publications (2)

Publication Number Publication Date
CN111897877A true CN111897877A (en) 2020-11-06
CN111897877B CN111897877B (en) 2024-03-26

Family

ID=73228879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010805266.9A Active CN111897877B (en) 2020-08-12 2020-08-12 High-performance high-reliability data sharing system and method based on distributed ideas

Country Status (1)

Country Link
CN (1) CN111897877B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112632001A (en) * 2021-01-13 2021-04-09 中教云智数字科技有限公司 System based on database table sharing exchange
CN113836210A (en) * 2021-09-15 2021-12-24 浙江中烟工业有限责任公司 Method for regularly processing non-public retail big data in tobacco industry
CN114860479A (en) * 2022-05-11 2022-08-05 中国邮政储蓄银行股份有限公司 Data synchronization method, device, computer readable storage medium and processor
CN117793177A (en) * 2023-12-05 2024-03-29 江苏苏宁银行股份有限公司 A configuration decoupling method and system based on distributed microservice architecture

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102147807A (en) * 2011-03-10 2011-08-10 南京信息工程大学 Mass lightning data space-time analysis method based on GIS
CN103391185A (en) * 2013-08-12 2013-11-13 北京泰乐德信息技术有限公司 Cloud security storage and processing method and system for rail transit monitoring data
US20170308598A1 (en) * 2016-04-25 2017-10-26 Dropbox, Inc. Storage constrained synchronization engine
CN108052681A (en) * 2018-01-12 2018-05-18 毛彬 The synchronous method and system of structural data between a kind of relevant database
CN109062920A (en) * 2018-05-31 2018-12-21 江苏开拓信息与系统有限公司 A kind of data Fast Collision subsystem memory-based for data digging system
CN110134714A (en) * 2019-05-22 2019-08-16 东北大学 A kind of distributed computing framework caching index suitable for big data iterative calculation
CN110399425A (en) * 2019-07-07 2019-11-01 上海鸿翼软件技术股份有限公司 A kind of intelligence Dropbox micro services system
KR20200056357A (en) * 2020-03-17 2020-05-22 주식회사 실크로드소프트 Technique for implementing change data capture in database management system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102147807A (en) * 2011-03-10 2011-08-10 南京信息工程大学 Mass lightning data space-time analysis method based on GIS
CN103391185A (en) * 2013-08-12 2013-11-13 北京泰乐德信息技术有限公司 Cloud security storage and processing method and system for rail transit monitoring data
US20170308598A1 (en) * 2016-04-25 2017-10-26 Dropbox, Inc. Storage constrained synchronization engine
CN108052681A (en) * 2018-01-12 2018-05-18 毛彬 The synchronous method and system of structural data between a kind of relevant database
CN109062920A (en) * 2018-05-31 2018-12-21 江苏开拓信息与系统有限公司 A kind of data Fast Collision subsystem memory-based for data digging system
CN110134714A (en) * 2019-05-22 2019-08-16 东北大学 A kind of distributed computing framework caching index suitable for big data iterative calculation
CN110399425A (en) * 2019-07-07 2019-11-01 上海鸿翼软件技术股份有限公司 A kind of intelligence Dropbox micro services system
KR20200056357A (en) * 2020-03-17 2020-05-22 주식회사 실크로드소프트 Technique for implementing change data capture in database management system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
唐远波;: ""智慧方志"下的地方志数据库建设及安全规范研究", 巴蜀史志, no. 01 *
张京彬;贺志强;: "基于项目管理的创新型教育资源建设与管理平台设计", 中国电化教育, no. 01 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112632001A (en) * 2021-01-13 2021-04-09 中教云智数字科技有限公司 System based on database table sharing exchange
CN113836210A (en) * 2021-09-15 2021-12-24 浙江中烟工业有限责任公司 Method for regularly processing non-public retail big data in tobacco industry
CN114860479A (en) * 2022-05-11 2022-08-05 中国邮政储蓄银行股份有限公司 Data synchronization method, device, computer readable storage medium and processor
CN117793177A (en) * 2023-12-05 2024-03-29 江苏苏宁银行股份有限公司 A configuration decoupling method and system based on distributed microservice architecture

Also Published As

Publication number Publication date
CN111897877B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN111897877B (en) High-performance high-reliability data sharing system and method based on distributed ideas
CN103605698A (en) Cloud database system used for distributed heterogeneous data resource integration
WO2021203979A1 (en) Operation and maintenance processing method and apparatus, and computer device
CN112597218A (en) Data processing method and device and data lake framework
US10129373B2 (en) Recovery of a network infrastructure to facilitate business continuity
US20170061296A1 (en) Three-stage predictor for time series
US8959051B2 (en) Offloading collection of application monitoring data
TW201737126A (en) Method and device for executing data recovery operation
CN104036365A (en) Method for constructing enterprise-level data service platform
WO2019223178A1 (en) Cross-platform task scheduling method and system, computer device, and storage medium
CN107645410A (en) A kind of virtual machine management system and method based on OpenStack cloud platforms
CN104917627A (en) Log cluster scanning and analysis method used for large-scale server cluster
US9811544B1 (en) Management of real-time and historical streaming data
CN111680900A (en) A work order issuing method, device, electronic device and storage medium
CN106383771A (en) Host cluster monitoring method and device
CN114996104A (en) Data processing method and device
CN106789395B (en) A Web-based Distributed PDM System Data Transmission Monitoring Method
CN111048164A (en) A long-term storage system for medical big data
CN117992415A (en) Cross-service system data fusion sharing platform, method, equipment and medium
CN110018993A (en) A kind of data analysis system, method and monitoring analysis system
CN116886544A (en) A cloud security visualization method and system based on topology diagram
CN116340536A (en) Operation and maintenance knowledge graph construction method, device, equipment, medium and program product
CN116048846A (en) Data transmission method, device, equipment and storage medium
CN120448234A (en) Database diagnosis method, device, equipment and medium based on large language model
CN116414877A (en) Service call chain generation method, device, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 271000 Langchao science and Technology Park, 527 Dongyue street, Tai'an City, Shandong Province

Applicant after: INSPUR SOFTWARE Co.,Ltd.

Address before: No. 1036, Shandong high tech Zone wave road, Ji'nan, Shandong

Applicant before: INSPUR SOFTWARE Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant