WO2020155760A1 - Multi-database data processing method, apparatus, computer device, and storage medium - Google Patents

Multi-database data processing method, apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2020155760A1
WO2020155760A1 PCT/CN2019/117704 CN2019117704W WO2020155760A1 WO 2020155760 A1 WO2020155760 A1 WO 2020155760A1 CN 2019117704 W CN2019117704 W CN 2019117704W WO 2020155760 A1 WO2020155760 A1 WO 2020155760A1
Authority
WO
WIPO (PCT)
Prior art keywords
export
target database
data
information
task
Prior art date
Application number
PCT/CN2019/117704
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 平安科技(深圳)有限公司
Publication of WO2020155760A1 publication Critical patent/WO2020155760A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Definitions

  • This application relates to the field of artificial intelligence technology, and in particular to a method, device, computer equipment and storage medium for data processing of multiple databases.
  • Database is an important foundation of information resource management in modern society. For the convenience of data management and viewing, it is often necessary to export the data in the database to files in other formats. Due to the variety of database products on the market, different database products correspond to different data sources. The inventor realizes that collecting data from a data source is directly connected to the database to execute the results. Different databases depend on different clients, which requires users to install different clients on the terminal corresponding to different databases, which not only occupies terminal resources, but also is inconvenient to operate.
  • the purpose of the embodiments of the present application is to propose a method, device, computer equipment and storage medium for data processing of multiple databases, so as to overcome the inconvenient operation of terminal resources caused by the need to install different clients for different databases in the prior art problem.
  • an embodiment of the present application provides a method for data processing in multiple databases, which adopts the following technical solutions:
  • the type of the task request instruction is a data export instruction type
  • the export configuration information including target database information and query language
  • an embodiment of the present application also provides a multi-database data processing device, including:
  • the configuration information module is used to obtain the export configuration information input by the user when the type of the task request instruction is the data export instruction type;
  • Data export module query and export the data to be exported from the designated target database according to the export configuration information.
  • the embodiments of the present application also provide a computer device, which adopts the following technical solutions:
  • It includes a memory and a processor, and the memory stores computer readable instructions.
  • the processor executes the computer readable instructions, the steps of the above-mentioned multi-database data processing method are realized.
  • the embodiments of the present application further provide one or more non-volatile readable storage media, and adopt the following technical solutions:
  • the non-volatile readable storage medium stores computer readable instructions, and when the computer readable instructions are executed by a processor, the steps of the above-mentioned multi-database data processing method are realized.
  • Figure 1 is an exemplary system architecture diagram to which this application can be applied;
  • Fig. 2 is a flowchart of an embodiment of a method for data processing of multiple databases according to the present application
  • Fig. 3 is a schematic structural diagram of an embodiment of a multi-database data processing device according to the present application.
  • Fig. 4 is a schematic structural diagram of an embodiment of a computer device according to the present application.
  • the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105.
  • the network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105.
  • the network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables.
  • the user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages, and so on.
  • Various communication client applications such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, and social platform software, may be installed on the terminal devices 101, 102, and 103.
  • the terminal devices 101, 102, 103 may be various electronic devices with a display screen and supporting web browsing, including but not limited to smart phones, tablets, e-book readers, MP3 players (Moving Picture E data processing group Audio Layer III, Motion Picture Expert compresses standard audio layer 3), MP4 (Moving Picture E data processing group Audio Layer IV, Motion Picture Expert compresses standard audio layer 4) Players, laptop portable computers and desktop computers, etc.
  • MP3 players Moving Picture E data processing group Audio Layer III, Motion Picture Expert compresses standard audio layer 3
  • MP4 Motion Picture Expert compresses standard audio layer 4
  • laptop portable computers and desktop computers etc.
  • the server 105 may be a server that provides various services, for example, a background server that provides support for the pages displayed on the terminal devices 101, 102, and 103.
  • the multi-database data processing method provided in the embodiments of the present application is generally executed by a server/terminal device. Accordingly, the data processing device is generally set in the server/terminal device.
  • terminal devices, networks, and servers in FIG. 1 are merely illustrative. According to implementation needs, there can be any number of terminal devices, networks and servers.
  • the multi-database data processing method includes the following steps:
  • Step 201 Receive a task request instruction input by a user
  • Step 202 Determine the type of the task receiving instruction, if the type of the task request instruction is a data export instruction type, execute step 203, and if the type of the task receiving instruction is a text data classification instruction, execute step 205;
  • Step 203 Obtain the export configuration information input by the user
  • Step 204 Query and export the data to be exported from the specified target database according to the export configuration information
  • Step 205 Acquire text classification configuration information input by the user
  • Step 206 Extract the text to be classified and the text of the classification template from the specified target database according to the text classification configuration information
  • Step 207 Classify the information in the text to be classified according to the keywords of the classification template text.
  • the export configuration information includes target database information and a query language
  • the step 204 of querying and exporting data to be exported from a specified target database according to the export configuration information specifically includes:
  • SQL Structured Query Language
  • the query language can also be used for verification. If the verification is passed, the database executable statement is generated according to the query language, and if the verification fails, an error message is returned and the operation is ended.
  • the target database information further includes the address of the target database and user registration information in the target database.
  • the step 2041, the step of accessing the target database according to the target database information specifically includes:
  • the electronic device (such as the terminal device shown in FIG. 1) on which the multi-database data processing method runs can send an access request to the database provided on the server through a wired connection or a wireless connection.
  • the above-mentioned wireless connection methods can include but are not limited to 3G/4G connection, WiFi connection, Bluetooth connection, WiMA data processing connection, Zigbee connection, UWB (ultra wideband) connection, and other currently known or future development Wireless connection method.
  • the verification when verifying based on the address of the database and the user's registration information in the database, the verification can pass only when a connection is established with the database and the database confirms that the registration information is verified correctly.
  • a connection establishment request will be sent to the database, and the request will carry verification information, such as a user name and password.
  • the database receives the request, it obtains the carried verification information for verification. Only after the verification is passed, the request is received and the connection is established, otherwise the request will be rejected.
  • the database is an open database, that is, no verification information is required, as long as a connection is established with the database, the verification can be considered as passed.
  • the related registration information in the configuration information can be empty.
  • the configuration information further includes the format information of the exported text and the storage path of the exported text.
  • the specific steps of exporting the queried data from the target database include:
  • the file in the specified format is stored in the storage path.
  • the conversion format converter supported by the multi-database data processing device can be preset, and when the step of converting the format of the intermediate result file into a specified format file according to the format information is executed, the specified format file is directly called The converter performs format conversion.
  • the intermediate result file can be preprocessed once, and then converted into a specified format file.
  • Preprocessing includes:
  • Capture field null values for non-empty processing which includes loading or replacing with other meaning data
  • the amount of data that has been exported can also be calculated, and the amount of data that has been exported can be updated to the memory, and fed back to the export monitoring timer, so that Export monitoring timer to obtain data export progress.
  • the step of obtaining the export configuration information input by the user specifically includes:
  • the input information of the user on the data export configuration interface is extracted, and the input information is the export configuration information.
  • a data export configuration interface is provided for the user, which can provide the user with an input window for data export configuration information
  • a document data classification configuration interface which can provide the user with an input window for configuration information
  • export configuration information includes but is not limited to the following types of information:
  • the target database information of the data to be exported such as database address, database type, etc.
  • the user's registration information in the target database such as user name, password, etc.
  • Query language such as structured query language
  • Data export format information of exported data such as CSV, EXECL, etc.
  • the method further includes:
  • test data is generated with the x-axis as the time axis and the y-axis as the score axis. It is also possible to generate a circular percentage distribution chart, for example, the number of test scores above 90 points accounted for the percentage of all scores, and the number of test scores above 80 points accounted for the percentage of all scores.
  • the above-mentioned electronic device may also perform the following steps:
  • the export platform after the export platform obtains the task request from the business system, it can return task response information, which can carry task identification, etc., so that subsequent users can query the export platform for the execution status of the task based on the task identification, that is, understand the task status Progress status, and when the task is determined to be completed, obtain the exported result file.
  • the task request can be added to the task list and loaded.
  • the task When the task is successfully loaded, it becomes an executable task.
  • the task may be in one of the following states.
  • PREP Indicates that the task is loaded. The task is in the PREP state when it is just loaded.
  • RUNNING indicates that the task is being executed, and the task in the PREP state is in the RUNNING state after being started.
  • SUSPENDED means that the task is suspended.
  • the task in the RUNNING state is in the SUSPENDED state after being suspended by the user, and the SUSPENDED state can return to the RUNNING state.
  • SUCCEEDED Indicates that the task is executed successfully, and the task in the RUNNING state will be in the SUCCEEDED state after the successful execution.
  • KILLED Indicates that the task is stopped.
  • the task in the PREP state is in the KILLED state after being deleted.
  • the tasks in the RUNNING state and the SUSPENDED state are also in the KILLED state after being stopped by the user.
  • the stopped task can be executed in the RUNNING state again.
  • FAILED Indicates that the task execution failed, and the task in the RUNNING state is in the FAILED state after the execution fails.
  • the tasks in the queue can be executed in a synchronous scheduling or asynchronous scheduling manner.
  • synchronous scheduling is scheduling according to the order in the task list, that is, the tasks at the back end of the list team need to wait for the tasks at the front end of the list queue to be executed before being scheduled, and the tasks are executed according to the first-in first-out principle.
  • Asynchronous scheduling can execute multiple different tasks concurrently without affecting each other.
  • Each task can start a separate thread for processing. It can process multiple data sets for multiple users and multiple tasks at the same time, greatly improving Concurrent processing capabilities are improved, and task processing efficiency is improved.
  • the data content of the intermediate result files of each export task can be analyzed, and the data content can be judged by whether the data content is related.
  • the intermediate result files of export task 1 and export task 2 can be analyzed.
  • the derived data is the parameter data of a certain product
  • the data content of the derived task 2 is the data of the customer who purchased the product, that is, if there are the same keywords (both related to the same product) between the two, then the two tasks can be considered as related.
  • the data of the generated intermediate result file is loaded into the associated file according to the agreed data format.
  • the data format after integration is kept consistent.
  • the text classification configuration information includes text information to be classified and text information of a classification template.
  • the information in the text to be classified is classified according to the keywords of the text of the classification template.
  • the specific steps of the class include:
  • the retrieved content is respectively filled into the positions specified by the corresponding classification keywords in the classification template document.
  • the data content in the word version of the document can include: capital personal information (such as name, gender, age, photos, etc.), education status (such as from high school to the highest degree, majors learned, qualification certificates obtained, and the learning process Participated in scientific research projects), work experience (such as work experience from the first job to the present), etc.
  • capital personal information such as name, gender, age, photos, etc.
  • education status such as from high school to the highest degree, majors learned, qualification certificates obtained, and the learning process Participated in scientific research projects
  • work experience such as work experience from the first job to the present
  • Categorized keywords in Excel documents can include: personal data keywords (name, gender, age, photo), education keywords (school, major, degree), qualification certificate keywords (qualification certificate, title), work experience Keywords (company name, research project name), etc.
  • the name contained in the document can be judged according to the filling habits of personal information.
  • the few characters after the name are the name.
  • a space or comma is usually added after the name or in the name. Add underscores, etc., so the analysis can be based on format and symbols.
  • it can be judged based on the pre-stored surnames and common names. For example, save Baijia surnames in advance. When characters similar to surnames appear, judge whether the characters after the surnames are included in the set of commonly used names. It can be judged as a name for extraction.
  • the retrieval methods for different keywords can be different.
  • the extraction of "date” is different from the extraction of "name”, which can be extracted according to the writing format of the date.
  • the retrieved content is filled in the cell corresponding to the keyword.
  • the step of obtaining the text classification configuration information input by the user in step 205 specifically includes:
  • the text classification configuration interface provides a user with an input window for text classification configuration information
  • the text classification configuration information includes but is not limited to the following information:
  • the above electronic device may perform the following steps:
  • the categorization template document is renamed and saved to the path specified by the user.
  • the multi-database data processing method of this embodiment when exporting data, connect to different databases according to the export configuration information for data export, replacing the dependence of different databases on different clients, and when categorizing text data, according to The text classification configuration information reads the text to be classified and the text of the classification template, and realizes the export of files in different formats.
  • the aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
  • this application provides an embodiment of a multi-database data processing device.
  • the device embodiment corresponds to the method embodiment shown in FIG.
  • the device can be applied to various electronic devices.
  • the multi-database data processing device 300 in this embodiment includes: a receiving module 301, a judgment module 302, a configuration information acquisition module 303, a data export module 304, and a text data classification module 305, in which:
  • the receiving module 301 receives the task request instruction input by the user,
  • the judging module 302 is used to judge the type of the task receiving instruction
  • the configuration information obtaining module 303 is configured to obtain the export configuration information input by the user when the type of the task request instruction is the data export instruction type;
  • Data export module 304 query and export the data to be exported from the specified target database according to the export configuration information;
  • the configuration information acquisition module 303 is also used for the task receiving instruction type is a text data classification instruction type, to acquire the text classification configuration information input by the user;
  • the text data classification module 305 is configured to extract the text to be classified and the text of a classification template from a specified target database according to the text classification configuration information, and to use the information in the text to be classified according to the text of the classification template Of keywords are classified.
  • the export configuration information includes target database information and query language
  • the data export module 304 further includes the following submodules:
  • the database access sub-module is used to access the target database according to the target database information
  • the execution statement generation sub-module is used to generate executable statements supported by the target database according to the query language
  • the query sub-module is used to query the data that needs to be exported from the target database by using the executable sentence;
  • the export submodule is used to export the queried data from the target database.
  • the target database information further includes the address of the target database and user registration information in the target database
  • the database access submodule is further used to determine the path of the target database according to the address Sending an access request to the target database to which the access request carries the registration information, so that the target database can verify the registration information.
  • the execution sentence generation submodule is further configured to execute the use of the executable sentence to query the target database for data that needs to be exported after the receiving module 301 receives the verification message returned by the database.
  • the configuration information further includes the format information of the exported text and the storage path of the exported text.
  • the export sub-module is also used to generate an intermediate result file from the queried data, and convert all the files according to the format information.
  • the format of the intermediate result file is converted into a specified format file, and the specified format file is stored in the storage path.
  • the configuration information obtaining module 303 further includes the following sub-modules:
  • the display sub-module is used to display a data export configuration interface, which provides a user with an input window for data export configuration information;
  • the information extraction sub-module is used to extract the input information of the user on the data export configuration interface, and the input information is the export configuration information.
  • the text data classification module 305 further includes the following submodules:
  • the keyword extraction sub-module is used to extract the classification keywords from the classification template document
  • the retrieval sub-module is used to retrieve the data content of the documents to be classified according to the classification keywords
  • the classification sub-module is used to respectively fill the retrieved content into the positions specified by the corresponding classification keywords in the classification template document.
  • the display sub-module of the configuration information acquisition module 303 is also used to display a text classification configuration interface.
  • the text classification configuration interface provides users with text classification information. Input window for configuration information;
  • the information extraction sub-module of the configuration information acquisition module 303 is also used to extract input information of the user on the text classification configuration interface, and the input information is the text classification configuration information.
  • the multi-database data processing method of this embodiment when exporting data, connect to different databases according to the export configuration information for data export, replacing the dependence of different databases on different clients, and when categorizing text data, according to The text classification configuration information reads the text to be classified and the text of the classification template, and realizes the export of files in different formats.
  • FIG. 4 is a block diagram of the basic structure of the computer device in this embodiment.
  • the computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are connected to each other in communication through a system bus. It should be pointed out that the figure only shows the computer device 4 with the components 41-43, but it should be understood that it is not required to implement all the shown components, and more or fewer components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions.
  • Its hardware includes, but is not limited to, a microprocessor, a dedicated Integrated Circuit (Application Specific Integrated Circuit, ASIC), Programmable Gate Array (Field-Programmable Gate Array, FPGA), Digital Processor (Digital Signal Processor, DSP), embedded equipment, etc.
  • ASIC Application Specific Integrated Circuit
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • DSP Digital Processor
  • the computer device may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the computer device can interact with the user through a keyboard, a mouse, a remote control, a touch panel, or a voice control device.
  • the memory 41 includes at least one type of readable storage medium.
  • the readable storage medium includes flash memory, hard disk, multimedia card, card type memory (for example, SD or D data processing memory, etc.), random access memory (RAM ), static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disks, optical disks, etc.
  • the memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4.
  • the memory 41 may also be an external storage device of the computer device 4, for example, a plug-in hard disk equipped on the computer device 4, a smart media card (SMC), a secure digital (Secure Digital, SD) card, Flash Card, etc.
  • the memory 41 may also include both the internal storage unit of the computer device 4 and its external storage device.
  • the memory 41 is generally used to store an operating system and various application software installed in the computer device 4, such as computer readable instructions of a data processing method for multiple databases.
  • the memory 41 can also be used to temporarily store various types of data that have been output or will be output.
  • the processor 42 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips.
  • the processor 42 is generally used to control the overall operation of the computer device 4.
  • the processor 42 is configured to run computer-readable instructions or process data stored in the memory 41, for example, run the computer-readable instructions of the multi-database data processing method.
  • the network interface 43 may include a wireless network interface or a wired network interface, and the network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.
  • the present application also provides another implementation manner, that is, one or more non-volatile readable storage media are provided, and the non-volatile readable storage medium stores readable instructions for data processing.
  • the readable instructions can be executed by at least one processor, so that the at least one processor executes the steps of the method for data processing of multiple databases as described above.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

Provided are a multi-database data processing method, apparatus, computer device, and storage medium, belonging to the technical field of artificial intelligence, said method comprising: receiving a task request instruction inputted by a user (201); determining the type of task receive instruction (202); if the type of the task request instruction is a data export instruction type, then obtaining export configuration information inputted by the user (203); according to the export configuration information, querying and exporting from a designated target database the data to be exported (204). When exporting data by means of the method, connection is made, according to the export configuration information, to different databases for data export, thus replacing the dependence of different databases on different clients.

Description

一种多数据库的数据处理的方法、装置、计算机设备及存储介质Method, device, computer equipment and storage medium for data processing of multiple databases
本申请以2019年1月28日提交的申请号为201910082614.1,名称为“多数据库的数据处理的方法、装置、计算机设备及存储介质”的中国发明专利申请为基础,并要求其优先权。This application is based on the Chinese invention patent application filed on January 28, 2019 with the application number 201910082614.1, titled "Multi-database data processing method, device, computer equipment and storage medium", and claims its priority.
技术领域Technical field
本申请涉及人工智能技术领域,尤其涉及一种多数据库的数据处理的方法、装置、计算机设备及存储介质。This application relates to the field of artificial intelligence technology, and in particular to a method, device, computer equipment and storage medium for data processing of multiple databases.
背景技术Background technique
数据库是现代社会中信息资源管理的重要基础。为了数据管理和查看的方便,常常需要将数据库中的数据导出为其他格式的文件。由于市场上的数据库产品多种多样,不同的数据库产品对应不同的数据源。发明人意识到,从数据源中采集数据都是直接连接数据库执行产生结果。而不同的数据库依赖不同的客户端,这就需要用户在终端对应不同的数据库安装不同的客户端,不但占用终端资源,而且操作不方便。Database is an important foundation of information resource management in modern society. For the convenience of data management and viewing, it is often necessary to export the data in the database to files in other formats. Due to the variety of database products on the market, different database products correspond to different data sources. The inventor realizes that collecting data from a data source is directly connected to the database to execute the results. Different databases depend on different clients, which requires users to install different clients on the terminal corresponding to different databases, which not only occupies terminal resources, but also is inconvenient to operate.
发明内容Summary of the invention
本申请实施例的目的在于提出一种多数据库的数据处理的方法、装置、计算机设备及存储介质,以克服现有技术不同的数据库需要安装不同的客户端导致的占用终端资源,操作不方便的问题。The purpose of the embodiments of the present application is to propose a method, device, computer equipment and storage medium for data processing of multiple databases, so as to overcome the inconvenient operation of terminal resources caused by the need to install different clients for different databases in the prior art problem.
为了解决上述技术问题,本申请实施例提供一种多数据库的数据处理的方法,采用了如下所述的技术方案:In order to solve the above technical problems, an embodiment of the present application provides a method for data processing in multiple databases, which adopts the following technical solutions:
接收用户输入的任务请求指令;Receiving the task request instruction entered by the user;
判断所述任务接收指令的类型;Determine the type of the task received instruction;
当所述任务请求指令的类型为数据导出指令类型时,获取用户输入的导出配置信息,所述导出配置信息包括目标数据库信息及查询语言;When the type of the task request instruction is a data export instruction type, acquiring export configuration information input by the user, the export configuration information including target database information and query language;
根据所述导出配置信息从指定的目标数据库中查询并导出需要导出的数据,包括:Query and export the data to be exported from the specified target database according to the export configuration information, including:
根据所述目标数据库信息访问所述目标数据库;Accessing the target database according to the target database information;
根据所述查询语言生成所述目标数据库支持的可执行语句;Generating executable sentences supported by the target database according to the query language;
利用所述可执行语句从所述目标数据库中查询需要导出的数据;Use the executable sentence to query the data to be exported from the target database;
将查询到的数据从所述目标数据库中导出。Export the queried data from the target database.
为了解决上述技术问题,本申请实施例还提供一种多数据库的数据处理装置,包括:In order to solve the above technical problems, an embodiment of the present application also provides a multi-database data processing device, including:
配置信息模块,用于在所述任务请求指令的类型为数据导出指令类型时,获取用户输入的导出配置信息;The configuration information module is used to obtain the export configuration information input by the user when the type of the task request instruction is the data export instruction type;
数据导出模块;根据所述导出配置信息从指定的目标数据库中查询并导出 需要导出的数据。Data export module; query and export the data to be exported from the designated target database according to the export configuration information.
为了解决上述技术问题,本申请实施例还提供一种计算机设备,采用了如下所述的技术方案:In order to solve the above technical problems, the embodiments of the present application also provide a computer device, which adopts the following technical solutions:
包括存储器和处理器,所述存储器中存储有计算机可读指令,所述处理器执行所述计算机可读指令时实现如上所述的多数据库的数据处理的方法的步骤。It includes a memory and a processor, and the memory stores computer readable instructions. When the processor executes the computer readable instructions, the steps of the above-mentioned multi-database data processing method are realized.
为了解决上述技术问题,本申请实施例还提供一个或多个非易失性可读存储介质,采用了如下所述的技术方案:In order to solve the foregoing technical problems, the embodiments of the present application further provide one or more non-volatile readable storage media, and adopt the following technical solutions:
所述非易失性可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如上所述的多数据库的数据处理的方法的步骤。The non-volatile readable storage medium stores computer readable instructions, and when the computer readable instructions are executed by a processor, the steps of the above-mentioned multi-database data processing method are realized.
本申请的一个或多个实施例的细节在下面的附图和描述中提出,本申请的其他特征和优点将从说明书、附图以及权利要求变得明显。The details of one or more embodiments of the present application are presented in the following drawings and descriptions, and other features and advantages of the present application will become apparent from the description, drawings and claims.
附图说明Description of the drawings
为了更清楚地说明本申请中的方案,下面将对本申请实施例描述中所需要使用的附图作一个简单介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the solution in this application more clearly, the following will briefly introduce the drawings used in the description of the embodiments of the application. Obviously, the drawings in the following description are some embodiments of the application. Ordinary technical personnel can obtain other drawings based on these drawings without creative work.
图1是本申请可以应用于其中的示例性系统架构图;Figure 1 is an exemplary system architecture diagram to which this application can be applied;
图2根据本申请的多数据库的数据处理的方法的一个实施例的流程图;Fig. 2 is a flowchart of an embodiment of a method for data processing of multiple databases according to the present application;
图3是根据本申请的多数据库的数据处理装置的一个实施例的结构示意图;Fig. 3 is a schematic structural diagram of an embodiment of a multi-database data processing device according to the present application;
图4是根据本申请的计算机设备的一个实施例的结构示意图。Fig. 4 is a schematic structural diagram of an embodiment of a computer device according to the present application.
附图标记:Reference signs:
具体实施方式detailed description
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同;本文中在申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请;本申请的说明书和权利要求书及上述附图说明中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。本申请的说明书和权利要求书或上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。Unless otherwise defined, all technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the technical field of the application; the terms used in the specification of the application herein are only for describing specific embodiments. The purpose is not to limit the application; the terms "including" and "having" in the description and claims of the application and the above-mentioned description of the drawings and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the application or the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific sequence.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "embodiments" herein means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art clearly and implicitly understand that the embodiments described herein can be combined with other embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和 服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables.
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用,例如网页浏览器应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。The user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages, and so on. Various communication client applications, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, and social platform software, may be installed on the terminal devices 101, 102, and 103.
终端设备101、102、103可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture E数据处理的perts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture E数据处理的perts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。The terminal devices 101, 102, 103 may be various electronic devices with a display screen and supporting web browsing, including but not limited to smart phones, tablets, e-book readers, MP3 players (Moving Picture E data processing group Audio Layer III, Motion Picture Expert compresses standard audio layer 3), MP4 (Moving Picture E data processing group Audio Layer IV, Motion Picture Expert compresses standard audio layer 4) Players, laptop portable computers and desktop computers, etc.
服务器105可以是提供各种服务的服务器,例如对终端设备101、102、103上显示的页面提供支持的后台服务器。The server 105 may be a server that provides various services, for example, a background server that provides support for the pages displayed on the terminal devices 101, 102, and 103.
需要说明的是,本申请实施例所提供的多数据库的数据处理的方法一般由服务器/终端设备执行,相应地,数据处理的装置一般设置于服务器/终端设备中。It should be noted that the multi-database data processing method provided in the embodiments of the present application is generally executed by a server/terminal device. Accordingly, the data processing device is generally set in the server/terminal device.
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the numbers of terminal devices, networks, and servers in FIG. 1 are merely illustrative. According to implementation needs, there can be any number of terminal devices, networks and servers.
继续参考图2,示出了根据本申请的多数据库的数据处理的方法的一个实施例的流程图。所述的多数据库的数据处理的方法,包括以下步骤:Continuing to refer to FIG. 2, there is shown a flowchart of an embodiment of a method for data processing of multiple databases according to the present application. The multi-database data processing method includes the following steps:
步骤201,接收用户输入的任务请求指令;Step 201: Receive a task request instruction input by a user;
步骤202,判断所述任务接收指令的类型,若所述任务请求指令的类型为数据导出指令类型,执行步骤203,若所述任务接收指令的类型为文本数据归类指令,执行步骤205;Step 202: Determine the type of the task receiving instruction, if the type of the task request instruction is a data export instruction type, execute step 203, and if the type of the task receiving instruction is a text data classification instruction, execute step 205;
步骤203、获取用户输入的导出配置信息;Step 203: Obtain the export configuration information input by the user;
步骤204、根据所述导出配置信息从指定的目标数据库中查询并导出需要导出的数据;Step 204: Query and export the data to be exported from the specified target database according to the export configuration information;
步骤205、获取用户输入的文本归类配置信息;Step 205: Acquire text classification configuration information input by the user;
步骤206、根据所述文本归类配置信息从指定的目标数据库中提取待归类文本和归类模板文本;Step 206: Extract the text to be classified and the text of the classification template from the specified target database according to the text classification configuration information;
步骤207、将待归类文本中的信息按照所述归类模板文本的关键字进行归类。Step 207: Classify the information in the text to be classified according to the keywords of the classification template text.
为了对本实施例进行更加详细的说明,下面分别对数据导出和文本归类进行详细说明。In order to describe this embodiment in more detail, the data export and text classification are respectively described in detail below.
以下为数据导出流程的描述说明。The following is a description of the data export process.
在本实施例中,所述导出配置信息包括目标数据库信息及查询语言,所述步骤204根据所述导出配置信息从指定的目标数据库中查询并导出需要导出的数据的步骤具体包括:In this embodiment, the export configuration information includes target database information and a query language, and the step 204 of querying and exporting data to be exported from a specified target database according to the export configuration information specifically includes:
根据所述目标数据库信息访问所述目标数据库;Accessing the target database according to the target database information;
根据所述查询语言生成所述目标数据库支持的可执行语句;Generating executable sentences supported by the target database according to the query language;
利用所述可执行语句从所述目标数据库中查询需要导出的数据;Use the executable sentence to query the data to be exported from the target database;
将查询到的数据从所述目标数据库中导出。Export the queried data from the target database.
实际应用中,由于常用的数据库如MySQL、SQL Server、Oracle、Sybase,都支持结构化查询语言(Structured Query Language,SQL),因此,如果目标数据库为上述几种数据库,则查询信息可以直接使用SQL语言编写,也可以直接写入导出数据的筛选条件,再根据目标数据库的类型生成可执行语句。In practical applications, since commonly used databases such as MySQL, SQL Server, Oracle, and Sybase all support Structured Query Language (SQL), if the target database is the above-mentioned databases, SQL can be used directly for query information Language writing, you can also directly write the filtering conditions of the exported data, and then generate executable statements according to the type of the target database.
实际应用中,还可以启动导出监控定时器,通过导出监控定时器获取数据导出进度,并向用户实时显示数据导出进度。In practical applications, you can also start the export monitoring timer, obtain the data export progress through the export monitoring timer, and display the data export progress to the user in real time.
实际应用中,还可以对用查询语言进行验证,如果验证通过,则根据查询语言生成数据库可执行语句,如果验证不通过,则返回错误信息并结束操作。In practical applications, the query language can also be used for verification. If the verification is passed, the database executable statement is generated according to the query language, and if the verification fails, an error message is returned and the operation is ended.
在本实施例中,所述目标数据库信息还包括所述目标数据库的地址及用户在目标数据库中的注册信息,所述步骤2041、根据所述目标数据库信息访问目标数据库的步骤具体包括:In this embodiment, the target database information further includes the address of the target database and user registration information in the target database. The step 2041, the step of accessing the target database according to the target database information specifically includes:
根据所述地址确定所述目标数据库的路径;Determining the path of the target database according to the address;
向所属目标数据库发送访问请求,所述访问请求中携带所述注册信息,以使所述目标数据库对所述注册信息进行验证;Sending an access request to the target database to which the access request carries the registration information, so that the target database can verify the registration information;
判断是否接收到所述目标数据库返回的验证通过消息,若是,执行所述利用所述可执行语句从所述目标数据库中查询需要导出的数据的步骤。It is determined whether the verification passed message returned by the target database is received, and if so, the step of using the executable sentence to query the target database for data that needs to be exported is executed.
在本实施例中,多数据库的数据处理的方法运行于其上的电子设备(例如图1所示的终端设备)可以通过有线连接方式或者无线连接方式向设于服务器的数据库发送访问请求。需要指出的是,上述无线连接方式可以包括但不限于3G/4G连接、WiFi连接、蓝牙连接、WiMA数据处理的连接、Zigbee连接、UWB(ultra wideband)连接、以及其他现在已知或将来开发的无线连接方式。In this embodiment, the electronic device (such as the terminal device shown in FIG. 1) on which the multi-database data processing method runs can send an access request to the database provided on the server through a wired connection or a wireless connection. It should be pointed out that the above-mentioned wireless connection methods can include but are not limited to 3G/4G connection, WiFi connection, Bluetooth connection, WiMA data processing connection, Zigbee connection, UWB (ultra wideband) connection, and other currently known or future development Wireless connection method.
实际应用中,根据数据库的地址、用户在该数据库中的注册信息进行验证时,只有在与数据库建立了连接并且数据库确认注册信息验证正确时,验证能够通过。具体的,在根据配置信息中的数据库地址进行连接验证时,会向数据库发送建立连接请求,该请求中将会携带验证信息,如用户名和密码。数据库接收到该请求时,获取携带的验证信息进行验证,只有通过验证,才接收该请求并建立连接,否则将拒绝该请求。In actual applications, when verifying based on the address of the database and the user's registration information in the database, the verification can pass only when a connection is established with the database and the database confirms that the registration information is verified correctly. Specifically, when performing connection verification based on the database address in the configuration information, a connection establishment request will be sent to the database, and the request will carry verification information, such as a user name and password. When the database receives the request, it obtains the carried verification information for verification. Only after the verification is passed, the request is received and the connection is established, otherwise the request will be rejected.
实际应用中,如果该数据库为开放式数据库,即不需验证信息,则只要与数据库建立了连接,就可认为验证通过,这种场景下,配置信息中相关的注册信息可以为空。In practical applications, if the database is an open database, that is, no verification information is required, as long as a connection is established with the database, the verification can be considered as passed. In this scenario, the related registration information in the configuration information can be empty.
本实施例中,所述配置信息还包括导出文本的格式信息和导出文本的存储路径,所述将查询到的数据从所述目标数据库中导出的具体步骤包括:In this embodiment, the configuration information further includes the format information of the exported text and the storage path of the exported text. The specific steps of exporting the queried data from the target database include:
将查询到的数据生成中间结果文件;Generate an intermediate result file from the queried data;
根据所述格式信息将所述中间结果文件的格式转换为指定格式文件;Converting the format of the intermediate result file into a specified format file according to the format information;
将所述指定格式的文件存储到所述存储路径中。The file in the specified format is stored in the storage path.
实际应用中,可以预先设置多数据库的数据处理装置支持的转换格式的转换器,在执行根据所述格式信息将所述中间结果文件的格式转换为指定格式文件的步骤时,直接调用指定格式的转换器进行格式转换。In practical applications, the conversion format converter supported by the multi-database data processing device can be preset, and when the step of converting the format of the intermediate result file into a specified format file according to the format information is executed, the specified format file is directly called The converter performs format conversion.
实际应用中,在生成中间结果文件之后,可以对中间结果文件进行一次预处理,然后再将其转换为指定格式文件。In practical applications, after the intermediate result file is generated, the intermediate result file can be preprocessed once, and then converted into a specified format file.
预处理包括:Preprocessing includes:
(1)捕获字段空值进行非空处理,非空处理包括进行加载或替换为其他含义数据;(1) Capture field null values for non-empty processing, which includes loading or replacing with other meaning data;
(2)替换无效数据、缺失数据;(2) Replace invalid data and missing data;
(3)规范化数据格式,利用字段格式约束定义,对于数据源中格式多样的数据,自定义导出格式,格式多样的数据包括时间、数值、字符;(3) Standardize the data format, use the field format constraint definition, customize the export format for data with various formats in the data source, and the data with various formats include time, value, and characters;
(4)依据业务需求对字段进行拆分;(4) Split fields according to business requirements;
(5)设置分隔符,包括行分隔符,列分隔符,字段包围符,转义符等。(5) Set separators, including row separators, column separators, field brackets, escape characters, etc.
通过预处理,可以实现对读取的可能存在的错误或不一致的数据进行清洗和加工,提高转换的正确率和效率。Through preprocessing, it is possible to clean and process the read data that may be wrong or inconsistent, and improve the accuracy and efficiency of conversion.
实际应用中,执行利用所述可执行语句从所述目标数据库中查询需要导出的数据的步骤之前,还可以进行如下处理:In actual applications, before executing the step of querying the data to be exported from the target database by using the executable statement, the following processing may also be performed:
计算需要导出的数据的总数据量,将总数据量存储到内存中,并反馈给导出监控定时器,进一步的如果指定的导出数据的存储位置的存储空间小于需要导出的数据的总数居量需要占用的空间,还可以在用户交互界面反馈存储空间不足,并提示用户更改指定的存储位置。Calculate the total data volume of the data that needs to be exported, store the total data volume in the memory, and feed it back to the export monitoring timer. Further, if the storage space of the specified export data storage location is less than the total amount of data that needs to be exported For the occupied space, you can also feedback the lack of storage space in the user interaction interface and prompt the user to change the designated storage location.
在执行将所述指定格式的文件存储到所述存储路径中的步骤时,还可以计算已经导出的数据量,将已经导出的数据量更新到内存中,并反馈给导出监控定时器,以使导出监控定时器获取数据导出进度。When performing the step of storing the file in the specified format in the storage path, the amount of data that has been exported can also be calculated, and the amount of data that has been exported can be updated to the memory, and fed back to the export monitoring timer, so that Export monitoring timer to obtain data export progress.
在本实施例中,所述获取用户输入的导出配置信息的步骤具体包括:In this embodiment, the step of obtaining the export configuration information input by the user specifically includes:
显示数据导出配置界面,所述数据导出配置界面为用户提供数据导出的配置信息的输入窗口;Display a data export configuration interface, which provides a user with an input window for data export configuration information;
提取所述用户在所述数据导出配置界面的输入信息,所述输入信息即为所述导出配置信息。The input information of the user on the data export configuration interface is extracted, and the input information is the export configuration information.
实际应用中,可以在用户界面根据不同的任务设置不同的配置界面,例如当用户输入数据导出指令时,为用户提供数据导出配置界面,该界面可以为用户提供数据导出配置信息的输入窗口;当用户输入文档数据归类指令时,为用户提供数据文档数据归类配置界面,该界面可以为用户提供配置信息的输入窗口。In actual applications, different configuration interfaces can be set in the user interface according to different tasks. For example, when a user inputs a data export instruction, a data export configuration interface is provided for the user, which can provide the user with an input window for data export configuration information; When the user inputs a document data classification instruction, the user is provided with a data document data classification configuration interface, which can provide the user with an input window for configuration information.
实际应用中,具体的,导出配置信息包括但不限于如下几种信息:In actual applications, specifically, export configuration information includes but is not limited to the following types of information:
1、需要导出数据的目标数据库信息,如数据库地址、数据库类型等;1. The target database information of the data to be exported, such as database address, database type, etc.;
2、用户在该目标数据库中的注册信息,如用户名称、密码等;2. The user's registration information in the target database, such as user name, password, etc.;
3、导出数据查询信息,通过查询信息可以获知需要导出数据信息(如数据在数据源中的位置或数据过滤条件);3. Export data query information. Through the query information, you can know the data information that needs to be exported (such as the location of the data in the data source or the data filter conditions);
4、查询语言,如结构化查询语言;4. Query language, such as structured query language;
5、导出数据的数据导出格式信息,如CSV,EXECL等;5. Data export format information of exported data, such as CSV, EXECL, etc.;
6、导出数据图表分析类型,通过该信息可以确认是否需要对导出数据进行图表分析,以及采用什么类型的图标分析;6. The type of chart analysis for the exported data. This information can be used to confirm whether chart analysis is required for the exported data and what type of icon analysis is used;
7、导出数据的文件存储位置。7. The file storage location of the exported data.
如果导出配置数据中,还包括了导出数据图表分析,则所述步骤341将查询到的数据生成中间结果文件之后,所述方法还包括:If the export configuration data also includes export data chart analysis, after the step 341 generates an intermediate result file from the queried data, the method further includes:
根据图表分析类型以及导出数据生成并导出图表文件。Generate and export chart files according to chart analysis types and exported data.
具体的,对数据进行图标分析,可以对数据进行x维度(x轴)和y维度(y轴)进行分析,例如,导出的数据涉及一个学生、姓名、考试时间、考试分数,则可以将该学生的考试数据生成以x轴为时间轴,以y轴为分数轴的成绩曲线图。也可以生成圆形百分比分布图,如获得90分以上的考试成绩的次数占所有成绩中的百分比,获得80分以上的考试成绩的次数占所有成绩中的百分比。Specifically, perform icon analysis on the data, and analyze the data in the x dimension (x axis) and y dimension (y axis). For example, if the exported data involves a student, name, test time, and test score, you can The student’s test data is generated with the x-axis as the time axis and the y-axis as the score axis. It is also possible to generate a circular percentage distribution chart, for example, the number of test scores above 90 points accounted for the percentage of all scores, and the number of test scores above 80 points accounted for the percentage of all scores.
当然还可以生成其他类型的分析图表。Of course, other types of analysis charts can also be generated.
在本实施例的一些可选的实现方式中,在判断所述任务接收指令的类型之后,获取用户输入的导出配置信息之前,上述电子设备还可以执行以下步骤:In some optional implementation manners of this embodiment, after judging the type of the task receiving instruction and before obtaining the export configuration information input by the user, the above-mentioned electronic device may also perform the following steps:
根据所述任务请求指令将其对应的导出任务写入任务队列中。Write its corresponding export task into the task queue according to the task request instruction.
实际应用中,导出平台在获取到业务系统的任务请求之后,可返回任务响应信息,其中可携带有任务标识等,以便后续用户可以根据任务标识向导出平台查询任务的执行状态,即了解任务的进展情况,并在确定任务执行完成时,获取所导出的结果文件。In practical applications, after the export platform obtains the task request from the business system, it can return task response information, which can carry task identification, etc., so that subsequent users can query the export platform for the execution status of the task based on the task identification, that is, understand the task status Progress status, and when the task is determined to be completed, obtain the exported result file.
当接收了任务请求后,可以将所述任务请求加入任务列表,并进行加载,当任务被加载成功后,即成为可执行任务,该任务可能为以下某种状态。After receiving the task request, the task request can be added to the task list and loaded. When the task is successfully loaded, it becomes an executable task. The task may be in one of the following states.
PREP:表示任务被加载,任务刚刚被加载时即处于PREP状态。PREP: Indicates that the task is loaded. The task is in the PREP state when it is just loaded.
RUNNING:表示任务正在执行,PREP状态的任务被启动后处于RUNNING状态。RUNNING: indicates that the task is being executed, and the task in the PREP state is in the RUNNING state after being started.
SUSPENDED,表示任务被挂起,RUNNING状态的任务被用户挂起后处于SUSPENDED状态,SUSPENDED状态可重新回到RUNNING状态。SUSPENDED means that the task is suspended. The task in the RUNNING state is in the SUSPENDED state after being suspended by the user, and the SUSPENDED state can return to the RUNNING state.
SUCCEEDED:表示任务执行成功,RUNNING状态的任务执行成功后处于SUCCEEDED状态。SUCCEEDED: Indicates that the task is executed successfully, and the task in the RUNNING state will be in the SUCCEEDED state after the successful execution.
KILLED:表示任务被停止,PREP状态的任务被删除后处于KILLED状态,RUNNING状态和SUSPENDED状态的任务被用户停止后也处于KILLED状态,被停止的任务可重新回到RUNNING状态进行执行。KILLED: Indicates that the task is stopped. The task in the PREP state is in the KILLED state after being deleted. The tasks in the RUNNING state and the SUSPENDED state are also in the KILLED state after being stopped by the user. The stopped task can be executed in the RUNNING state again.
FAILED:表示任务执行失败,RUNNING状态的任务执行失败后处于FAILED状态。FAILED: Indicates that the task execution failed, and the task in the RUNNING state is in the FAILED state after the execution fails.
在执行列表任务时,可以采用同步调度或异步调度的方式执行队列中的任务。When executing list tasks, the tasks in the queue can be executed in a synchronous scheduling or asynchronous scheduling manner.
具体的,同步调度为按照任务列表中的顺序进行调度,即列表队伍后端的任务需等待列表队列前端的任务执行完成后才会被调度,按照先进先出的原则执行任务。异步调度则可同时并发执行多个不同的任务,任务之间互不影响,每个任务均可启动单独的线程进行处理,可以同时为多个用户、多个任务处理多个数据集,大大提高了并发处理能力,并提高任务处理的效率。Specifically, synchronous scheduling is scheduling according to the order in the task list, that is, the tasks at the back end of the list team need to wait for the tasks at the front end of the list queue to be executed before being scheduled, and the tasks are executed according to the first-in first-out principle. Asynchronous scheduling can execute multiple different tasks concurrently without affecting each other. Each task can start a separate thread for processing. It can process multiple data sets for multiple users and multiple tasks at the same time, greatly improving Concurrent processing capabilities are improved, and task processing efficiency is improved.
实际应用中,如果任务列表中有多个导出任务,在执行将查询到的数据生成中间结果文件的步骤之后,还可以执行如下的处理步骤:In actual applications, if there are multiple export tasks in the task list, after executing the step of generating an intermediate result file from the queried data, you can also perform the following processing steps:
判断任务列表中的其它导出任务与当前执行的导出任务是否关联;Determine whether other export tasks in the task list are related to the currently executed export task;
若关联,将当前执行导出任务的中间结果文件的数据内容载入关联的导出任务的中间结果文件中,并根据所述格式信息将所述中间结果文件的格式转换为指定格式文件;If associated, load the data content of the intermediate result file of the currently executing export task into the intermediate result file of the associated export task, and convert the format of the intermediate result file into a specified format file according to the format information;
否则,直接根据所述格式信息将所述中间结果文件的格式转换为指定格式文件。Otherwise, directly convert the format of the intermediate result file into a specified format file according to the format information.
在本实施例中,可以分析各导出任务的中间结果文件的数据内容,通过数据内容是否关联进行判断,例如,对导出任务一及导出任务二的中间结果文件进行分析,如果到导出任务一的导出数据为某产品的参数数据,导出任务二的数据内容购买该产品的客户资料数据,即两者之间存在相同的关键字(都涉及同一产品),则可以认为两个任务是关联的。In this embodiment, the data content of the intermediate result files of each export task can be analyzed, and the data content can be judged by whether the data content is related. For example, the intermediate result files of export task 1 and export task 2 can be analyzed. The derived data is the parameter data of a certain product, and the data content of the derived task 2 is the data of the customer who purchased the product, that is, if there are the same keywords (both related to the same product) between the two, then the two tasks can be considered as related.
在本实施例中,如果当前执行的导出任务生成的中间数据为该任务中其它导出任务所关联的中间结果文件,则按照约定的数据格式,将产生的中间结果文件的数据载入该关联的导出任务的中间结果文件的数据框架中,使得整合后的数据格式保持一致。In this embodiment, if the intermediate data generated by the currently executed export task is an intermediate result file associated with other export tasks in the task, the data of the generated intermediate result file is loaded into the associated file according to the agreed data format. In the data frame of the intermediate result file of the export task, the data format after integration is kept consistent.
实际应用中,如果存在多个导出任务,而这些导出任务之间无关联,则需要将每一个导出任务的中间结果文件单独转换为指定格式文件,这样就获取了多个最终导出结果文件,在输出导出结果时,可以向用户查询是否将多个导出结果文件进行打包压缩,然后再根据用户输入的指令直接输出多个导出结果文件或将多个导出结果文件打包压缩后输出。In actual applications, if there are multiple export tasks, and these export tasks are not related, the intermediate result file of each export task needs to be converted into a specified format file separately, so that multiple final export result files are obtained. When outputting the export results, you can query the user whether to pack and compress multiple export result files, and then directly output multiple export result files or pack and compress multiple export result files according to the instructions input by the user.
以下为文本归类流程的描述说明。The following is a description of the text classification process.
在本实施例中,所述文本归类配置信息包括待归类文本信息及归类模板文本信息,所述步骤207将待归类文本中的信息按照所述归类模板文本的关键字进行归类的具体步骤,包括:In this embodiment, the text classification configuration information includes text information to be classified and text information of a classification template. In step 207, the information in the text to be classified is classified according to the keywords of the text of the classification template. The specific steps of the class include:
从所述归类模板文档中提取归类关键词;Extract classification keywords from the classification template document;
根据所述归类关键词在所述待归类文档的数据内容中进行检索;Searching in the data content of the documents to be classified according to the classification keywords;
将检索到的内容分别填入归类模板文档中的对应的归类关键词指定的位置处。The retrieved content is respectively filled into the positions specified by the corresponding classification keywords in the classification template document.
以将word版求职简历的word文档归类为excel版的求职简历为例。实际应用中,每个求职者所提供的求职报告中采用的格式可能都不一样。而招聘者为了便于管理和阅读,可能希望将各求职者的求职建立都统一为内部excel版的求职模板建立。这就需要将word版文档中的数据内容都提取出来进行分析归类。Take, for example, classifying the word document of the word version of job resume as an excel version of job resume. In practical applications, the format used in the job search report provided by each job applicant may be different. In order to facilitate management and reading, recruiters may wish to unify the job search establishment of all job seekers into the internal excel version of the job search template. This requires extracting all the data content in the Word version document for analysis and classification.
word版文档中的数据内容,可以包括:资本个人资料(如姓名、性别、年龄、照片等)、受教育情况(如从高中开始直到最高学历、所学专业、获得的资格证、学习过程中参与的科研项目)、工作经验(如从获得第一份工作开始至今的工作经历)等。The data content in the word version of the document can include: capital personal information (such as name, gender, age, photos, etc.), education status (such as from high school to the highest degree, majors learned, qualification certificates obtained, and the learning process Participated in scientific research projects), work experience (such as work experience from the first job to the present), etc.
Excel文档中归类关键词可以包括:个人资料关键词(姓名、性别、年龄、照片)、受教育情况关键词(学校、专业、学位)、资格证书关键词(资格证书、职称)、工作经历关键词(公司名称、研究项目名称)等。Categorized keywords in Excel documents can include: personal data keywords (name, gender, age, photo), education keywords (school, major, degree), qualification certificate keywords (qualification certificate, title), work experience Keywords (company name, research project name), etc.
以归类文档中个人资料关键词中的姓名为例,在待归类文档中检索到词语 “姓名”后,对“姓名”后的字符进行分析,检索出名字。Take the name in the personal data keywords in the classification document as an example. After the word "name" is retrieved in the document to be classified, the characters after the "name" are analyzed to retrieve the name.
一种情况是可以根据个人资料的填写习惯进行判断出文档中包含的名字,姓名后的几个字符就是名字,名字之后为了与其他内容进行区分,通常会在名字后加入空格或逗号或在名字下添加下划线等,因此,在分析时可以根据格式、符号等作为判断依据。In one case, the name contained in the document can be judged according to the filling habits of personal information. The few characters after the name are the name. After the name, in order to distinguish it from other content, a space or comma is usually added after the name or in the name. Add underscores, etc., so the analysis can be based on format and symbols.
另一种情况是可以根据预存的姓氏、常用名字进行判断,例如预先存入百家姓,当出现类似姓氏的文字时,再判断该姓氏后的字是否包含着常用的名字集合中,如果是就可以判断为姓名进行提取。In another case, it can be judged based on the pre-stored surnames and common names. For example, save Baijia surnames in advance. When characters similar to surnames appear, judge whether the characters after the surnames are included in the set of commonly used names. It can be judged as a name for extraction.
实际应用中,不同的关键词的检索方法可以不同。例如“日期”的提取就与“姓名”的提取不同,其可以按照日期的书写格式进行提取。In practical applications, the retrieval methods for different keywords can be different. For example, the extraction of "date" is different from the extraction of "name", which can be extracted according to the writing format of the date.
由于归类模板文档为excel模板,则检索的内容填入对应关键词的单元格中。Since the classification template document is an excel template, the retrieved content is filled in the cell corresponding to the keyword.
在本实施例中,所述步骤205中获取用户输入的文本归类配置信息的步骤具体包括:In this embodiment, the step of obtaining the text classification configuration information input by the user in step 205 specifically includes:
显示文本归类配置界面,所述文本归类配置界面为用户提供文本归类的配置信息的输入窗口;Displaying a text classification configuration interface, the text classification configuration interface provides a user with an input window for text classification configuration information;
提取所述用户在所述文本归类配置界面的输入信息,所述输入信息即为所述文本归类配置信息。Extract the input information of the user on the text classification configuration interface, and the input information is the text classification configuration information.
具体的,文本归类配置信息包括但不限于如下信息:Specifically, the text classification configuration information includes but is not limited to the following information:
需要进行数据归类的待归类文档所在的存储路径;The storage path of the document to be classified that needs to be classified;
归类模板文档存储路径;The storage path of the classification template document;
新文档名称及存储路径。The new document name and storage path.
在一些可选的实现方式中,在步骤207将待归类文本中的信息按照所述归类模板文本的关键字进行归类之后,上述电子设备可以执行以下步骤:In some optional implementation manners, after the information in the text to be classified is classified according to the keywords of the classification template text in step 207, the above electronic device may perform the following steps:
根据文本归类配置信息的新文档名称及存储路径信息将归类模板文档重新命名并另存到用户指定的路径中。According to the new document name and storage path information of the text categorization configuration information, the categorization template document is renamed and saved to the path specified by the user.
本实施例的多数据库的数据处理的方法,在进行数据导出时,根据导出配置信息连接到不同的数据库进行数据导出,取代不同数据库对不同客户端的依赖,并且在进行文本数据归类时,根据文本归类配置信息读取待归类文本和归类模板文本,实现不同格式的文件导出。In the multi-database data processing method of this embodiment, when exporting data, connect to different databases according to the export configuration information for data export, replacing the dependence of different databases on different clients, and when categorizing text data, according to The text classification configuration information reads the text to be classified and the text of the classification template, and realizes the export of files in different formats.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,该计算机可读指令可存储于一非易失性可读存储介质中,该可读指令在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by instructing relevant hardware through computer-readable instructions, which can be stored in a non-volatile readable storage. In the medium, when the readable instruction is executed, it may include the processes of the above-mentioned method embodiments. Among them, the aforementioned storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执 行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowchart of the drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless explicitly stated in this article, the execution of these steps is not strictly limited in order, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the order of execution is also It is not necessarily performed sequentially, but may be performed alternately or alternately with other steps or at least a part of sub-steps or stages of other steps.
进一步参考图3,作为对上述图2所示方法的实现,本申请提供了一种多数据库的数据处理置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。With further reference to FIG. 3, as an implementation of the method shown in FIG. 2, this application provides an embodiment of a multi-database data processing device. The device embodiment corresponds to the method embodiment shown in FIG. The device can be applied to various electronic devices.
如图3所示,本实施例所述的多数据库的数据处理装置300包括:接收模块301、判断模块302、配置信息获取模块303、数据导出模块304及文本数据归类模块305,其中:As shown in FIG. 3, the multi-database data processing device 300 in this embodiment includes: a receiving module 301, a judgment module 302, a configuration information acquisition module 303, a data export module 304, and a text data classification module 305, in which:
接收模块301,用接收用户输入的任务请求指令,The receiving module 301 receives the task request instruction input by the user,
判断模块302,用于判断所述任务接收指令的类型;The judging module 302 is used to judge the type of the task receiving instruction;
配置信息获取模块303,用于在所述任务请求指令的类型为数据导出指令类型时,获取用户输入的导出配置信息;The configuration information obtaining module 303 is configured to obtain the export configuration information input by the user when the type of the task request instruction is the data export instruction type;
数据导出模块304;根据所述导出配置信息从指定的目标数据库中查询并导出需要导出的数据; Data export module 304; query and export the data to be exported from the specified target database according to the export configuration information;
配置信息获取模块303,还用于所述任务接收指令的类型为文本数据归类指令类型,获取用户输入的文本归类配置信息;The configuration information acquisition module 303 is also used for the task receiving instruction type is a text data classification instruction type, to acquire the text classification configuration information input by the user;
文本数据归类模块305,用于根据所述文本归类配置信息从指定的目标数据库中提取待归类文本和归类模板文本,并将待归类文本中的信息按照所述归类模板文本的关键字进行归类。The text data classification module 305 is configured to extract the text to be classified and the text of a classification template from a specified target database according to the text classification configuration information, and to use the information in the text to be classified according to the text of the classification template Of keywords are classified.
在本实施例中,所述导出配置信息包括目标数据库信息及查询语言,所述数据导出模块304还包括如下子模块:In this embodiment, the export configuration information includes target database information and query language, and the data export module 304 further includes the following submodules:
数据库访问子模块,用于根据所述目标数据库信息访问所述目标数据库;The database access sub-module is used to access the target database according to the target database information;
执行语句生成子模块,用于根据所述查询语言生成所述目标数据库支持的可执行语句;The execution statement generation sub-module is used to generate executable statements supported by the target database according to the query language;
查询子模块,用于利用所述可执行语句从所述目标数据库中查询需要导出的数据;The query sub-module is used to query the data that needs to be exported from the target database by using the executable sentence;
导出子模块,用于将查询到的数据从所述目标数据库中导出。The export submodule is used to export the queried data from the target database.
在本实施例中,所述目标数据库信息还包括所述目标数据库的地址及用户在目标数据库中的注册信息,所述数据库访问子模块,还用于根据所述地址确定所述目标数据库的路径,向所属目标数据库发送访问请求,所述访问请求中携带所述注册信息,以使所述目标数据库对所述注册信息进行验证。In this embodiment, the target database information further includes the address of the target database and user registration information in the target database, and the database access submodule is further used to determine the path of the target database according to the address Sending an access request to the target database to which the access request carries the registration information, so that the target database can verify the registration information.
所述执行语句生成子模块,还用于在所述接收模块301接收所述数据库返回的验证通过消息之后执行所述利用所述可执行语句从所述目标数据库中查询需要导出的数据。The execution sentence generation submodule is further configured to execute the use of the executable sentence to query the target database for data that needs to be exported after the receiving module 301 receives the verification message returned by the database.
在本实施例中,所述配置信息还包括导出文本的格式信息和导出文本的存储路径,所述导出子模块,还用于将查询到的数据生成中间结果文件,根据所述格式信息将所述中间结果文件的格式转换为指定格式文件,并将所述指定格式的文件存储到所述存储路径中。In this embodiment, the configuration information further includes the format information of the exported text and the storage path of the exported text. The export sub-module is also used to generate an intermediate result file from the queried data, and convert all the files according to the format information. The format of the intermediate result file is converted into a specified format file, and the specified format file is stored in the storage path.
在本实施例中,所述配置信息获取模块303,还包括如下子模块:In this embodiment, the configuration information obtaining module 303 further includes the following sub-modules:
显示子模块,用于显示数据导出配置界面,所述数据导出配置界面为用户 提供数据导出的配置信息的输入窗口;The display sub-module is used to display a data export configuration interface, which provides a user with an input window for data export configuration information;
信息提取子模块,用于提取所述用户在所述数据导出配置界面的输入信息,所述输入信息即为所述导出配置信息。The information extraction sub-module is used to extract the input information of the user on the data export configuration interface, and the input information is the export configuration information.
在本实施例中,所述文本数据归类模块305,还包括如下子模块:In this embodiment, the text data classification module 305 further includes the following submodules:
关键词提取子模块,用于从所述归类模板文档中提取归类关键词;The keyword extraction sub-module is used to extract the classification keywords from the classification template document;
检索子模块,用于根据所述归类关键词在所述待归类文档的数据内容中进行检索;The retrieval sub-module is used to retrieve the data content of the documents to be classified according to the classification keywords;
归类子模块,用于将检索到的内容分别填入归类模板文档中的对应的归类关键词指定的位置处。The classification sub-module is used to respectively fill the retrieved content into the positions specified by the corresponding classification keywords in the classification template document.
在本实施例中,当指令为文本数据归类指令类型时配置信息获取模块303的显示子模块,还用于显示文本归类配置界面,所述文本归类配置界面为用户提供文本归类的配置信息的输入窗口;In this embodiment, when the instruction is a text data classification instruction type, the display sub-module of the configuration information acquisition module 303 is also used to display a text classification configuration interface. The text classification configuration interface provides users with text classification information. Input window for configuration information;
配置信息获取模块303的信息提取子模块,还用于提取所述用户在所述文本归类配置界面的输入信息,所述输入信息即为所述文本归类配置信息。The information extraction sub-module of the configuration information acquisition module 303 is also used to extract input information of the user on the text classification configuration interface, and the input information is the text classification configuration information.
本实施例的多数据库的数据处理的方法,在进行数据导出时,根据导出配置信息连接到不同的数据库进行数据导出,取代不同数据库对不同客户端的依赖,并且在进行文本数据归类时,根据文本归类配置信息读取待归类文本和归类模板文本,实现不同格式的文件导出。In the multi-database data processing method of this embodiment, when exporting data, connect to different databases according to the export configuration information for data export, replacing the dependence of different databases on different clients, and when categorizing text data, according to The text classification configuration information reads the text to be classified and the text of the classification template, and realizes the export of files in different formats.
为解决上述技术问题,本申请实施例还提供计算机设备。具体请参阅图4,图4为本实施例计算机设备基本结构框图。To solve the above technical problems, the embodiments of the present application also provide computer equipment. Please refer to FIG. 4 for details. FIG. 4 is a block diagram of the basic structure of the computer device in this embodiment.
所述计算机设备4包括通过系统总线相互通信连接存储器41、处理器42、网络接口43。需要指出的是,图中仅示出了具有组件41-43的计算机设备4,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。其中,本技术领域技术人员可以理解,这里的计算机设备是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程门阵列(Field-Programmable Gate Array,FPGA)、数字处理器(Digital Signal Processor,DSP)、嵌入式设备等。The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are connected to each other in communication through a system bus. It should be pointed out that the figure only shows the computer device 4 with the components 41-43, but it should be understood that it is not required to implement all the shown components, and more or fewer components may be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions. Its hardware includes, but is not limited to, a microprocessor, a dedicated Integrated Circuit (Application Specific Integrated Circuit, ASIC), Programmable Gate Array (Field-Programmable Gate Array, FPGA), Digital Processor (Digital Signal Processor, DSP), embedded equipment, etc.
所述计算机设备可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述计算机设备可以与用户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互。The computer device may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The computer device can interact with the user through a keyboard, a mouse, a remote control, a touch panel, or a voice control device.
所述存储器41至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或D数据处理的存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器41可以是所述计算机设备4的内部存储单元,例如该计算机设备4的硬盘或内存。在另一些实施例中,所述存储器41也可以是所述计算机设备4的外部存储设备,例如该计算机设备4上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。当然,所述存储器41还可以既包括所述计算机设备4的内部存储单元也包括其外部存储设备。本实施例中,所述存储器41通常用于存储安装于所述计算机设备4的操作系统和各类应用软件,例如多数据库的数据处理的方法的计算机可读指令等。此外,所述存储器41还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 41 includes at least one type of readable storage medium. The readable storage medium includes flash memory, hard disk, multimedia card, card type memory (for example, SD or D data processing memory, etc.), random access memory (RAM ), static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the memory 41 may be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 may also be an external storage device of the computer device 4, for example, a plug-in hard disk equipped on the computer device 4, a smart media card (SMC), a secure digital (Secure Digital, SD) card, Flash Card, etc. Of course, the memory 41 may also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store an operating system and various application software installed in the computer device 4, such as computer readable instructions of a data processing method for multiple databases. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or will be output.
所述处理器42在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器42通常用于控制所述计算机设备4的总体操作。本实施例中,所述处理器42用于运行所述存储器41中存储的计算机可读指令或者处理数据,例如运行所述多数据库的数据处理的方法的计算机可读指令。In some embodiments, the processor 42 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is configured to run computer-readable instructions or process data stored in the memory 41, for example, run the computer-readable instructions of the multi-database data processing method.
所述网络接口43可包括无线网络接口或有线网络接口,该网络接口43通常用于在所述计算机设备4与其他电子设备之间建立通信连接。The network interface 43 may include a wireless network interface or a wired network interface, and the network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.
本申请还提供了另一种实施方式,即提供一个或多个非易失性可读存储介质,所述非易失性可读存储介质存储有数据处理的可读指令,所述数据处理的可读指令可被至少一个处理器执行,以使所述至少一个处理器执行如上述的多数据库的数据处理的方法的步骤。The present application also provides another implementation manner, that is, one or more non-volatile readable storage media are provided, and the non-volatile readable storage medium stores readable instructions for data processing. The readable instructions can be executed by at least one processor, so that the at least one processor executes the steps of the method for data processing of multiple databases as described above.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, hardware can also be used, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
显然,以上所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例,附图中给出了本申请的较佳实施例,但并不限制本申请的专利范围。本申请可以以许多不同的形式来实现,相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。尽管参照前述实施例对本申请进行了详细的说明,对于本领域的技术人员来而言,其依然可以对前述各具体实施方式所记载的技术方案进行修改,或者对其中部分技术特征进行等效替换。凡是利用本申请说明书及附图内容所做的等效结构,直接或间接运用在其他相关的技术领域,均同理在本申请专利保护范围之内。Obviously, the embodiments described above are only a part of the embodiments of the present application, rather than all of the embodiments. The drawings show the preferred embodiments of the present application, but do not limit the patent scope of the present application. This application can be implemented in many different forms. On the contrary, the purpose of providing these examples is to make the understanding of the disclosure of this application more thorough and comprehensive. Although the application has been described in detail with reference to the foregoing embodiments, for those skilled in the art, it is still possible for those skilled in the art to modify the technical solutions described in the foregoing specific embodiments, or equivalently replace some of the technical features. . All equivalent structures made by using the contents of the description and drawings of this application, directly or indirectly used in other related technical fields, are similarly within the scope of patent protection of this application.

Claims (20)

  1. 一种多数据库的数据处理的方法,其特征在于,包括下述步骤:A method for data processing in multiple databases is characterized in that it comprises the following steps:
    接收用户输入的任务请求指令;Receiving the task request instruction entered by the user;
    判断所述任务接收指令的类型;Determine the type of the task received instruction;
    当所述任务请求指令的类型为数据导出指令类型时,获取用户输入的导出配置信息,所述导出配置信息包括目标数据库信息及查询语言;When the type of the task request instruction is a data export instruction type, acquiring export configuration information input by the user, the export configuration information including target database information and query language;
    根据所述导出配置信息从指定的目标数据库中查询并导出需要导出的数据,包括:Query and export the data to be exported from the specified target database according to the export configuration information, including:
    根据所述目标数据库信息访问所述目标数据库;Accessing the target database according to the target database information;
    根据所述查询语言生成所述目标数据库支持的可执行语句;Generating executable sentences supported by the target database according to the query language;
    利用所述可执行语句从所述目标数据库中查询需要导出的数据;Use the executable sentence to query the data to be exported from the target database;
    将查询到的数据从所述目标数据库中导出。Export the queried data from the target database.
  2. 根据权利要求1所述的多数据库的数据处理的方法,其特征在于,所述目标数据库信息还包括所述目标数据库的地址及用户在目标数据库中的注册信息,所述根据所述目标数据库信息访问目标数据库的步骤具体包括:The method of multi-database data processing according to claim 1, wherein the target database information further includes the address of the target database and the registration information of the user in the target database, and the information according to the target database The steps to access the target database specifically include:
    根据所述地址确定所述目标数据库的路径;Determining the path of the target database according to the address;
    向所属目标数据库发送访问请求,所述访问请求中携带所述注册信息,以使所述目标数据库对所述注册信息进行验证;Sending an access request to the target database to which the access request carries the registration information, so that the target database can verify the registration information;
    判断是否接收到所述目标数据库返回的验证通过消息;Judging whether the verification passed message returned by the target database is received;
    若接收到所述验证通过消息,执行所述根据所述查询语言生成所述目标数据库支持的可执行语句的步骤。If the verification pass message is received, the step of generating executable sentences supported by the target database according to the query language is executed.
  3. 根据权利要求1所述的多数据库的数据处理的方法,其特征在于,所述配置信息还包括导出文本的格式信息和导出文本的存储路径,所述将查询到的数据从所述目标数据库中导出的具体步骤包括:The method of multi-database data processing according to claim 1, wherein the configuration information further includes format information of the exported text and a storage path of the exported text, and the queried data is retrieved from the target database The specific steps of export include:
    将查询到的数据生成中间结果文件;Generate an intermediate result file from the queried data;
    根据所述格式信息将所述中间结果文件的格式转换为指定格式文件;Converting the format of the intermediate result file into a specified format file according to the format information;
    将所述指定格式的文件存储到所述存储路径中。The file in the specified format is stored in the storage path.
  4. 根据权利要求1所述的多数据库的数据处理的方法,其特征在于,所述获取用户输入的导出配置信息的步骤具体包括:The method of multi-database data processing according to claim 1, wherein the step of obtaining the export configuration information input by the user specifically comprises:
    显示数据导出配置界面;Display data export configuration interface;
    提取所述用户在所述数据导出配置界面的输入信息,将所述输入信息作为所述导出配置信息。Extract the input information of the user on the data export configuration interface, and use the input information as the export configuration information.
  5. 如权利要求1所述的多数据库的数据处理的方法,其特征在于,所述接收用户输入的任务请求指令之后,所述方法还包括:将所述任务请求指令加入任务列表;The method for data processing in multiple databases according to claim 1, wherein after receiving the task request instruction input by the user, the method further comprises: adding the task request instruction to the task list;
    若任务列表中有多个导出任务,在执行将查询到的数据生成中间结果文件的步骤之后,所述方法还包括;If there are multiple export tasks in the task list, after performing the step of generating an intermediate result file from the queried data, the method further includes;
    判断任务列表中的其它导出任务与当前执行的导出任务是否关联;Determine whether other export tasks in the task list are related to the currently executed export task;
    若关联,将当前执行导出任务的中间结果文件的数据内容载入关联的导出任务的中间结果文件中,并根据所述格式信息将所述中间结果文件的格式转换为指定格式文件;If associated, load the data content of the intermediate result file of the currently executing export task into the intermediate result file of the associated export task, and convert the format of the intermediate result file into a specified format file according to the format information;
    否则,直接根据所述格式信息将所述中间结果文件的格式转换为指定格式文件。Otherwise, directly convert the format of the intermediate result file into a specified format file according to the format information.
  6. 根据权利要求1所述的多数据库的数据处理的方法,其特征在于,所述判断所述任务接收指令的类型步骤之后,所述方法还包括:The method of multi-database data processing according to claim 1, wherein after the step of judging the type of the task receiving instruction, the method further comprises:
    当所述任务接收指令的类型为文本数据归类指令类型时,获取用户输入的文本归类配置信息;When the type of the task receiving instruction is a text data classification instruction type, acquiring text classification configuration information input by the user;
    根据所述文本归类配置信息从指定的目标数据库中提取待归类文本和归类模板文本;Extracting the text to be classified and the text of the classification template from the specified target database according to the text classification configuration information;
    将待归类文本中的信息按照所述归类模板文本的关键字进行归类。The information in the text to be classified is classified according to the keywords of the classification template text.
  7. 根据权利要求6所述的多数据库的数据处理的方法,其特征在于,所述将待归类文本中的信息按照所述归类模板文本的关键字进行归类的具体步骤包括:The method of multi-database data processing according to claim 6, wherein the specific step of classifying the information in the text to be classified according to the keywords of the classification template text comprises:
    从所述归类模板文档中提取归类关键词;Extract classification keywords from the classification template document;
    根据所述归类关键词在所述待归类文档的数据内容中进行检索;Searching in the data content of the documents to be classified according to the classification keywords;
    将检索到的内容分别填入归类模板文档中的对应的归类关键词指定的位置处。The retrieved content is respectively filled into the positions specified by the corresponding classification keywords in the classification template document.
  8. 一种多数据库的数据处理装置,其特征在于,包括:A multi-database data processing device, characterized in that it comprises:
    接收模块,用接收用户输入的任务请求指令,The receiving module is used to receive the task request instruction input by the user,
    判断模块,用于判断所述任务接收指令的类型;The judgment module is used to judge the type of the task receiving instruction;
    配置信息获取模块,用于在所述任务请求指令的类型为数据导出指令类型时,获取用户输入的导出配置信息;The configuration information obtaining module is configured to obtain the export configuration information input by the user when the type of the task request instruction is the data export instruction type;
    数据导出模块;根据所述导出配置信息从指定的目标数据库中查询并导出需要导出的数据。Data export module; query and export the data to be exported from the specified target database according to the export configuration information.
  9. 根据权利要求8所述的多数据库的数据处理装置,其特征在于,所述数据导出模块还包括:The multi-database data processing device according to claim 8, wherein the data export module further comprises:
    数据库访问子模块,用于根据所述目标数据库信息访问所述目标数据库;The database access sub-module is used to access the target database according to the target database information;
    执行语句生成子模块,用于根据所述查询语言生成所述目标数据库支持的可执行语句;The execution statement generation sub-module is used to generate executable statements supported by the target database according to the query language;
    查询子模块,用于利用所述可执行语句从所述目标数据库中查询需要导出的数据;The query sub-module is used to query the data that needs to be exported from the target database by using the executable sentence;
    导出子模块,用于将查询到的数据从所述目标数据库中导出。The export submodule is used to export the queried data from the target database.
  10. 根据权利要求8所述的多数据库的数据处理装置,其特征在于,所述配置信息获取模块还包括:The multi-database data processing device according to claim 8, wherein the configuration information acquisition module further comprises:
    显示子模块,用于显示数据导出配置界面,所述数据导出配置界面为用户提供数据导出的配置信息的输入窗口;A display sub-module for displaying a data export configuration interface, which provides a user with an input window for data export configuration information;
    信息提取子模块,用于提取所述用户在所述数据导出配置界面的输入信息,所述输入信息即为所述导出配置信息。The information extraction sub-module is used to extract the input information of the user on the data export configuration interface, and the input information is the export configuration information.
  11. 一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A computer device includes a memory and a processor. The memory stores computer readable instructions. When the processor executes the computer readable instructions, the following steps are implemented:
    接收用户输入的任务请求指令;Receiving the task request instruction entered by the user;
    判断所述任务接收指令的类型;Determine the type of the task received instruction;
    当所述任务请求指令的类型为数据导出指令类型时,获取用户输入的导出配置信息,所述导出配置信息包括目标数据库信息及查询语言;When the type of the task request instruction is a data export instruction type, acquiring export configuration information input by the user, the export configuration information including target database information and query language;
    根据所述导出配置信息从指定的目标数据库中查询并导出需要导出的数据,包括:Query and export the data to be exported from the specified target database according to the export configuration information, including:
    根据所述目标数据库信息访问所述目标数据库;Accessing the target database according to the target database information;
    根据所述查询语言生成所述目标数据库支持的可执行语句;Generating executable sentences supported by the target database according to the query language;
    利用所述可执行语句从所述目标数据库中查询需要导出的数据;Use the executable sentence to query the data to be exported from the target database;
    将查询到的数据从所述目标数据库中导出。Export the queried data from the target database.
  12. 根据权利要求11所述的计算机设备,其特征在于,所述目标数据库信息还包括所述目标数据库的地址及用户在目标数据库中的注册信息,所述根据所述目标数据库信息访问目标数据库的步骤具体包括:The computer device according to claim 11, wherein the target database information further includes the address of the target database and user registration information in the target database, and the step of accessing the target database according to the target database information Specifically:
    根据所述地址确定所述目标数据库的路径;Determining the path of the target database according to the address;
    向所属目标数据库发送访问请求,所述访问请求中携带所述注册信息,以使所述目标数据库对所述注册信息进行验证;Sending an access request to the target database to which the access request carries the registration information, so that the target database can verify the registration information;
    判断是否接收到所述目标数据库返回的验证通过消息;Judging whether the verification passed message returned by the target database is received;
    若接收到所述验证通过消息,执行所述根据所述查询语言生成所述目标数据库支持的可执行语句的步骤。If the verification pass message is received, the step of generating executable sentences supported by the target database according to the query language is executed.
  13. 根据权利要求11所述的计算机设备,其特征在于,所述配置信息还包括导出文本的格式信息和导出文本的存储路径,所述将查询到的数据从所述目标数据库中导出的具体步骤包括:The computer device according to claim 11, wherein the configuration information further includes format information of the exported text and a storage path of the exported text, and the specific steps of exporting the queried data from the target database include :
    将查询到的数据生成中间结果文件;Generate an intermediate result file from the queried data;
    根据所述格式信息将所述中间结果文件的格式转换为指定格式文件;Converting the format of the intermediate result file into a specified format file according to the format information;
    将所述指定格式的文件存储到所述存储路径中。The file in the specified format is stored in the storage path.
  14. 根据权利要求11所述的计算机设备,其特征在于,所述获取用户输入的导出配置信息的步骤具体包括:The computer device according to claim 11, wherein the step of obtaining the export configuration information input by the user specifically comprises:
    显示数据导出配置界面;Display data export configuration interface;
    提取所述用户在所述数据导出配置界面的输入信息,将所述输入信息作为所述导出配置信息。Extract the input information of the user on the data export configuration interface, and use the input information as the export configuration information.
  15. 如权利要求11所述的计算机设备,其特征在于,所述接收用户输入的任务请求指令之后,所述方法还包括:将所述任务请求指令加入任务列表;11. The computer device of claim 11, wherein after receiving the task request instruction input by the user, the method further comprises: adding the task request instruction to the task list;
    若任务列表中有多个导出任务,在执行将查询到的数据生成中间结果文件的步骤之后,所述方法还包括;If there are multiple export tasks in the task list, after performing the step of generating an intermediate result file from the queried data, the method further includes;
    判断任务列表中的其它导出任务与当前执行的导出任务是否关联;Determine whether other export tasks in the task list are related to the currently executed export task;
    若关联,将当前执行导出任务的中间结果文件的数据内容载入关联的导出任务的中间结果文件中,并根据所述格式信息将所述中间结果文件的格式转换为指定格式文件;If associated, load the data content of the intermediate result file of the currently executing export task into the intermediate result file of the associated export task, and convert the format of the intermediate result file into a specified format file according to the format information;
    否则,直接根据所述格式信息将所述中间结果文件的格式转换为指定格式文件。Otherwise, directly convert the format of the intermediate result file into a specified format file according to the format information.
  16. 一个或多个非易失性可读存储介质,其特征在于,所述非易失性可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如下步骤:One or more non-volatile readable storage media, wherein the non-volatile readable storage medium stores computer readable instructions, and when the computer readable instructions are executed by a processor, the following steps are implemented:
    接收用户输入的任务请求指令;Receiving the task request instruction entered by the user;
    判断所述任务接收指令的类型;Determine the type of the task received instruction;
    当所述任务请求指令的类型为数据导出指令类型时,获取用户输入的导出配置信息,所述导出配置信息包括目标数据库信息及查询语言;When the type of the task request instruction is a data export instruction type, acquiring export configuration information input by the user, the export configuration information including target database information and query language;
    根据所述导出配置信息从指定的目标数据库中查询并导出需要导出的数据,包括:Query and export the data to be exported from the specified target database according to the export configuration information, including:
    根据所述目标数据库信息访问所述目标数据库;Accessing the target database according to the target database information;
    根据所述查询语言生成所述目标数据库支持的可执行语句;Generating executable sentences supported by the target database according to the query language;
    利用所述可执行语句从所述目标数据库中查询需要导出的数据;Use the executable sentence to query the data to be exported from the target database;
    将查询到的数据从所述目标数据库中导出。Export the queried data from the target database.
  17. 根据权利要求16所述的非易失性可读存储介质,其特征在于,所述目标数据库信息还包括所述目标数据库的地址及用户在目标数据库中的注册信息,所述根据所述目标数据库信息访问目标数据库的步骤具体包括:The non-volatile readable storage medium according to claim 16, wherein the target database information further includes the address of the target database and the registration information of the user in the target database, and the information according to the target database The steps for information access to the target database include:
    根据所述地址确定所述目标数据库的路径;Determining the path of the target database according to the address;
    向所属目标数据库发送访问请求,所述访问请求中携带所述注册信息,以使所述目标数据库对所述注册信息进行验证;Sending an access request to the target database to which the access request carries the registration information, so that the target database can verify the registration information;
    判断是否接收到所述目标数据库返回的验证通过消息;Judging whether the verification passed message returned by the target database is received;
    若接收到所述验证通过消息,执行所述根据所述查询语言生成所述目标数据库支持的可执行语句的步骤。If the verification pass message is received, the step of generating executable sentences supported by the target database according to the query language is executed.
  18. 根据权利要求16所述的非易失性可读存储介质,其特征在于,所述配置信息还包括导出文本的格式信息和导出文本的存储路径,所述将查询到的数据从所述目标数据库中导出的具体步骤包括:The non-volatile readable storage medium according to claim 16, wherein the configuration information further includes format information of the exported text and a storage path of the exported text, and the queried data is retrieved from the target database The specific steps that are exported in include:
    将查询到的数据生成中间结果文件;Generate an intermediate result file from the queried data;
    根据所述格式信息将所述中间结果文件的格式转换为指定格式文件;Converting the format of the intermediate result file into a specified format file according to the format information;
    将所述指定格式的文件存储到所述存储路径中。The file in the specified format is stored in the storage path.
  19. 根据权利要求16所述的非易失性可读存储介质,其特征在于,所述获取用户输入的导出配置信息的步骤具体包括:The non-volatile readable storage medium according to claim 16, wherein the step of obtaining the export configuration information input by the user specifically comprises:
    显示数据导出配置界面;Display data export configuration interface;
    提取所述用户在所述数据导出配置界面的输入信息,将所述输入信息作为所述导出配置信息。Extract the input information of the user on the data export configuration interface, and use the input information as the export configuration information.
  20. 如权利要求16所述的非易失性可读存储介质,其特征在于,所述接收用户输入的任务请求指令之后,所述方法还包括:将所述任务请求指令加入任务列表;The non-volatile readable storage medium according to claim 16, wherein after receiving the task request instruction input by the user, the method further comprises: adding the task request instruction to the task list;
    若任务列表中有多个导出任务,在执行将查询到的数据生成中间结果文件的步骤之后,所述方法还包括;If there are multiple export tasks in the task list, after performing the step of generating an intermediate result file from the queried data, the method further includes;
    判断任务列表中的其它导出任务与当前执行的导出任务是否关联;Determine whether other export tasks in the task list are related to the currently executed export task;
    若关联,将当前执行导出任务的中间结果文件的数据内容载入关联的导出任务的中间结果文件中,并根据所述格式信息将所述中间结果文件的格式转换为指定格式文件;If associated, load the data content of the intermediate result file of the currently executing export task into the intermediate result file of the associated export task, and convert the format of the intermediate result file into a specified format file according to the format information;
    否则,直接根据所述格式信息将所述中间结果文件的格式转换为指定格式文件。Otherwise, directly convert the format of the intermediate result file into a specified format file according to the format information.
PCT/CN2019/117704 2019-01-28 2019-11-12 Multi-database data processing method, apparatus, computer device, and storage medium WO2020155760A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910082614.1 2019-01-28
CN201910082614.1A CN109947789B (en) 2019-01-28 2019-01-28 Method, device, computer equipment and storage medium for processing data of multiple databases

Publications (1)

Publication Number Publication Date
WO2020155760A1 true WO2020155760A1 (en) 2020-08-06

Family

ID=67006591

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/117704 WO2020155760A1 (en) 2019-01-28 2019-11-12 Multi-database data processing method, apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN109947789B (en)
WO (1) WO2020155760A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112115105A (en) * 2020-09-28 2020-12-22 中国建设银行股份有限公司 Service processing method, device and equipment
CN112181519A (en) * 2020-09-25 2021-01-05 中国建设银行股份有限公司 Data processing method, device, equipment and storage medium
CN113051510A (en) * 2021-03-05 2021-06-29 北京百度网讯科技有限公司 Interactive processing method and device, front-end equipment, back-end equipment and storage medium
CN113177021A (en) * 2021-04-28 2021-07-27 中国工商银行股份有限公司 Data export method and device for different data sources
CN113722353A (en) * 2021-08-31 2021-11-30 平安国际智慧城市科技股份有限公司 Multi-source data query method, device, equipment and computer readable storage medium
CN114297219A (en) * 2021-09-15 2022-04-08 湖北中科网络科技股份有限公司 Multi-service query processing method for quickly realizing data cross-domain
CN114356851A (en) * 2022-01-12 2022-04-15 北京字节跳动网络技术有限公司 Data file storage method and device, electronic equipment and storage medium
CN114564444A (en) * 2022-02-24 2022-05-31 朗森特科技有限公司 System for extracting, identifying and classifying files by using binary system

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947789B (en) * 2019-01-28 2023-12-19 平安科技(深圳)有限公司 Method, device, computer equipment and storage medium for processing data of multiple databases
CN110502558B (en) * 2019-07-23 2023-11-28 平安科技(深圳)有限公司 Data export method, device, computer equipment and storage medium
CN111125174A (en) * 2019-12-06 2020-05-08 东软集团股份有限公司 Data export method and device, storage medium and electronic equipment
CN111143462B (en) * 2019-12-31 2024-04-09 广州酷旅旅行社有限公司 Method, apparatus, computer device and storage medium for data export
CN111309709B (en) * 2020-02-20 2023-05-23 全球能源互联网研究院有限公司 Database building and searching method and device
CN111460021B (en) * 2020-04-03 2024-01-19 中国建设银行股份有限公司 Data export method and device
CN117951139A (en) * 2020-04-08 2024-04-30 支付宝(杭州)信息技术有限公司 Data processing method, device and equipment
CN111597240A (en) * 2020-04-22 2020-08-28 深圳追一科技有限公司 Data export method, data export device, computer equipment and storage medium
CN111783372B (en) * 2020-05-28 2023-08-18 安费诺电子装配(厦门)有限公司 Information processing method for connector design and electronic equipment
CN111914008A (en) * 2020-06-20 2020-11-10 中国建设银行股份有限公司 Method and device for batch export of work order data, electronic equipment and medium
CN111782399B (en) * 2020-07-03 2023-12-01 北京思特奇信息技术股份有限公司 UDP-based efficient realization method for configuration server
CN113821526A (en) * 2020-12-23 2021-12-21 京东科技信息技术有限公司 Method, device and equipment for querying data and storage medium
CN112965694A (en) * 2021-02-26 2021-06-15 上海微盟企业发展有限公司 Data processing method, device, equipment and storage medium
CN113064717A (en) * 2021-03-03 2021-07-02 南京苏宁软件技术有限公司 Method and device for uniformly managing data export function of multiple subsystems in system
CN113407603B (en) * 2021-05-13 2022-10-04 北京鼎轩科技有限责任公司 Data export method and system
CN113407496A (en) * 2021-07-08 2021-09-17 北京锐安科技有限公司 Data export method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090282355A1 (en) * 2008-05-08 2009-11-12 Hsieh Chung-Tyan System and Method for Systematically Locating Points on a Geometric Diagram
US20120066263A1 (en) * 2010-09-13 2012-03-15 Sybase, Inc. Incremental data transfer in a database management system
CN102591725A (en) * 2011-12-20 2012-07-18 浙江鸿程计算机系统有限公司 Method for multithreading data interchange among heterogeneous databases
CN105786955A (en) * 2015-01-08 2016-07-20 国际商业机器公司 Data replication in a database management system
CN106776998A (en) * 2016-12-06 2017-05-31 华为技术有限公司 A kind of database service provides method and server
CN109947789A (en) * 2019-01-28 2019-06-28 平安科技(深圳)有限公司 A kind of method, apparatus, computer equipment and the storage medium of the data processing of multiple database

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4810287B2 (en) * 2006-04-13 2011-11-09 キヤノン株式会社 Data processing apparatus and data registration method thereof
CN101655873A (en) * 2009-08-28 2010-02-24 金蝶软件(中国)有限公司 Single sign-on system as well as method and device for inputting and outputting data thereof
US20170169102A1 (en) * 2015-12-15 2017-06-15 Le Holdings (Beijing) Co., Ltd. Method and electronic device for controlling data query
CN106777166A (en) * 2016-12-21 2017-05-31 济南浪潮高新科技投资发展有限公司 A kind of implementation method that virtual memory database purchase is carried out using Docker containers
CN107818127A (en) * 2017-09-09 2018-03-20 国网浙江省电力公司 A kind of querying method and system for multi-source data
JP6563083B2 (en) * 2018-06-22 2019-08-21 ノキア テクノロジーズ オーユー White space database discovery

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090282355A1 (en) * 2008-05-08 2009-11-12 Hsieh Chung-Tyan System and Method for Systematically Locating Points on a Geometric Diagram
US20120066263A1 (en) * 2010-09-13 2012-03-15 Sybase, Inc. Incremental data transfer in a database management system
CN102591725A (en) * 2011-12-20 2012-07-18 浙江鸿程计算机系统有限公司 Method for multithreading data interchange among heterogeneous databases
CN105786955A (en) * 2015-01-08 2016-07-20 国际商业机器公司 Data replication in a database management system
CN106776998A (en) * 2016-12-06 2017-05-31 华为技术有限公司 A kind of database service provides method and server
CN109947789A (en) * 2019-01-28 2019-06-28 平安科技(深圳)有限公司 A kind of method, apparatus, computer equipment and the storage medium of the data processing of multiple database

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181519A (en) * 2020-09-25 2021-01-05 中国建设银行股份有限公司 Data processing method, device, equipment and storage medium
CN112115105A (en) * 2020-09-28 2020-12-22 中国建设银行股份有限公司 Service processing method, device and equipment
CN113051510A (en) * 2021-03-05 2021-06-29 北京百度网讯科技有限公司 Interactive processing method and device, front-end equipment, back-end equipment and storage medium
CN113051510B (en) * 2021-03-05 2024-05-07 北京百度网讯科技有限公司 Interactive processing method, device, front-end equipment, back-end equipment and storage medium
CN113177021A (en) * 2021-04-28 2021-07-27 中国工商银行股份有限公司 Data export method and device for different data sources
CN113177021B (en) * 2021-04-28 2024-05-10 中国工商银行股份有限公司 Data export method and device for different data sources
CN113722353A (en) * 2021-08-31 2021-11-30 平安国际智慧城市科技股份有限公司 Multi-source data query method, device, equipment and computer readable storage medium
CN114297219A (en) * 2021-09-15 2022-04-08 湖北中科网络科技股份有限公司 Multi-service query processing method for quickly realizing data cross-domain
CN114297219B (en) * 2021-09-15 2024-04-26 湖北中科网络科技股份有限公司 Multi-service query processing method for rapidly realizing data cross-domain
CN114356851A (en) * 2022-01-12 2022-04-15 北京字节跳动网络技术有限公司 Data file storage method and device, electronic equipment and storage medium
CN114564444A (en) * 2022-02-24 2022-05-31 朗森特科技有限公司 System for extracting, identifying and classifying files by using binary system

Also Published As

Publication number Publication date
CN109947789A (en) 2019-06-28
CN109947789B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
WO2020155760A1 (en) Multi-database data processing method, apparatus, computer device, and storage medium
US11599716B2 (en) Systems and methods for annotating and linking electronic documents
CN110520859B (en) More intelligent copy/paste
US9047346B2 (en) Reporting language filtering and mapping to dimensional concepts
US8984339B2 (en) System and method for test case generation using components
US9081899B2 (en) System and method for processing web service test cases
US10108698B2 (en) Common data repository for improving transactional efficiencies of user interactions with a computing device
CN111782951B (en) Method and device for determining display page, computer system and medium
KR20130126930A (en) Using text messages to interact with spreadsheets
WO2012102761A1 (en) Method and system for providing detailed information in an interactive manner in a short message service (sms) environment
CN113157947A (en) Knowledge graph construction method, tool, device and server
US10909159B2 (en) Multi-language support for dynamic ontology
EP3617910A1 (en) Method and apparatus for displaying textual information
EP3961426A2 (en) Method and apparatus for recommending document, electronic device and medium
US9946971B1 (en) Method for the management of artifacts in knowledge ecosystems
US11907264B2 (en) Data processing method, data querying method, and server device
CN113010542B (en) Service data processing method, device, computer equipment and storage medium
WO2023231716A1 (en) Data processing methods and apparatus, electronic device and storage medium
US10956514B2 (en) System and method for directed analysis of content using artifical intelligence for storage and recall
CN115543428A (en) Simulated data generation method and device based on strategy template
CN113420042A (en) Data statistics method, device, equipment and storage medium based on presentation
CN114385722A (en) Interface attribute consistency checking method and device, electronic equipment and storage medium
CN112069807A (en) Text data theme extraction method and device, computer equipment and storage medium
CN114328214B (en) Efficiency improving method and device for interface test case of reporting software and computer equipment
US20230024249A1 (en) Information cooperation device, information cooperation method, and information cooperation program

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: 19913961

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: 19913961

Country of ref document: EP

Kind code of ref document: A1