CN112214540B - Data processing method, device, equipment and storage medium - Google Patents

Data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112214540B
CN112214540B CN202011103848.9A CN202011103848A CN112214540B CN 112214540 B CN112214540 B CN 112214540B CN 202011103848 A CN202011103848 A CN 202011103848A CN 112214540 B CN112214540 B CN 112214540B
Authority
CN
China
Prior art keywords
data processing
processing module
database
user request
import
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011103848.9A
Other languages
Chinese (zh)
Other versions
CN112214540A (en
Inventor
杨超
尹淑彬
黄海明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Dameng Database Co Ltd
Original Assignee
Shanghai Dameng Database Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Dameng Database Co Ltd filed Critical Shanghai Dameng Database Co Ltd
Priority to CN202011103848.9A priority Critical patent/CN112214540B/en
Publication of CN112214540A publication Critical patent/CN112214540A/en
Application granted granted Critical
Publication of CN112214540B publication Critical patent/CN112214540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/25Integrating or interfacing systems involving database management systems

Landscapes

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

Abstract

The invention discloses a data processing method, a device, equipment and a storage medium. The method comprises the following steps: the first data processing module acquires a user request and sends the user request and the monitoring port to a database so that the database starts a second data processing module and sends the user request and the monitoring port to the second data processing module, wherein the second data processing module is deployed on a database server, and the first data processing module comprises the monitoring port; the first data processing module receives the processing result sent by the second data processing module and sends the processing result to the client.

Description

Data processing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a data processing method, a device, equipment and a storage medium.
Background
When import and export database data is imported using an import and export tool, the data in the import file is imported into the database table or the data in the database table is exported into the export file.
In general, the import/export tool exports data of the database to a file of a server where the import/export tool is located, or imports data of a file of a server where the import/export tool is located to the database, and the import/export tool may not be deployed on the database server. The flow chart is shown in fig. 1 and 1a. If the user wants to use the import/export file on the database server (for example, by using the function of creating a directory of the database, then import/export the directory object of the database, where the directory objects of the database are all file directories on the corresponding database server, for example, a directory is created in the database, for example, called test address corresponds to/opt/data directory, and/opt/data is the directory of the database server), the user can only start the import/export tool on the database server, so that the remote access versatility of the user using the import/export tool is limited, and sometimes there is a permission limitation that the import/export user cannot access the database server, that is, cannot start the import/export tool on the server, and cannot copy the import/export file on the server.
In addition, in another way, the import export tool and database functionality may be modified to complete, and after modification, the flow diagrams are shown in FIGS. 1b and 1c. The method comprises the specific steps of modifying a use command of an import and export tool, designating a directory of an import and export file as a directory of a database server side, modifying a database function, completing real file reading and writing operation by the database, for example, if the import operation is performed, reading the content of the import file by the database, transmitting the content to the import and export tool, and importing the data into the database according to a specific format by the import and export tool. If the export operation is performed, an import and export tool is needed, the exported data is transferred to the database after being converted according to a specific format, and the database writes the processed data into an export file. However, in this way, when the data is imported, the database needs to additionally read the content of the import file and transfer the read content to the import and export tool, or when the data is exported, the database needs to receive the data transferred by the import and export tool and write the data into the export file, which increases the network overhead and the disk overhead of the database, thereby affecting the response of the database to other database requests.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a device, equipment and a storage medium, which are used for solving the problems existing in the prior art.
In a first aspect, an embodiment of the present invention provides a data processing method, including:
the first data processing module acquires a user request and sends the user request and a monitoring port to a database so that the database starts a second data processing module and sends the user request and the monitoring port to the second data processing module, wherein the second data processing module is deployed on a database server, and the first data processing module comprises a monitoring port;
the first data processing module receives the processing result sent by the second data processing module and sends the processing result to the client.
In a second aspect, an embodiment of the present invention further provides a data processing apparatus, including: a first data processing module, the first data processing module comprising:
the acquisition unit is used for acquiring a user request and sending the user request and the monitoring port to a database so that the database starts a second data processing module and sends the user request and the monitoring port to the second data processing module, wherein the second data processing module is deployed on the database, and the first data processing module comprises the monitoring port;
and the receiving unit is used for receiving the processing result sent by the second data processing module and sending the processing result to the client.
In a third aspect, embodiments of the present invention further provide a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing a method according to any of the embodiments of the present invention when executing the program.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, implements a method according to any of the embodiments of the present invention.
The embodiment of the invention obtains a user request through a first data processing module, and sends the user request and a monitoring port to the database, so that the database starts the second data processing module, and sends the user request and the monitoring port to the second data processing module; the first data processing module receives the processing result sent by the second data processing module and sends the processing result to the client, wherein the second data processing module is deployed on a database server, the first data processing module comprises a monitoring port, remote use of an import and export file is not required to be realized on the basis of the existing import and export tool logic through the first data processing module, the influence on a database is reduced as much as possible, and the import and export logic is not required to be modified. In addition, forwarding the message via the database may not be required.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an importation process of the prior art;
FIG. 1a is a flow chart of a export process in the prior art;
FIG. 1b is a flow chart of another import process in the prior art;
FIG. 1c is a flow chart of another export process in the prior art;
FIG. 2 is a flow chart of a data processing method according to a first embodiment of the present invention;
FIG. 2a is a diagram of a prior art user access manner;
FIG. 2b is a diagram of a user access manner in a first embodiment of the present invention;
FIG. 2c is a flow chart of an import process according to the first embodiment of the present invention;
FIG. 2d is a flow chart of a derivation process in accordance with the first embodiment of the present invention;
FIG. 3 is a schematic diagram of a data processing apparatus according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device in a third embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Example 1
Fig. 2 is a flowchart of a data processing method according to a first embodiment of the present invention, where the method may be implemented by a data processing device according to the first embodiment of the present invention, and the device may be implemented in software and/or hardware, as shown in fig. 2, and the method specifically includes the following steps:
s110, a first data processing module acquires a user request and sends the user request and a monitoring port to a database, so that the database starts a second data processing module and sends the user request and the monitoring port to the second data processing module, wherein the second data processing module is deployed on a database server, and the first data processing module comprises the monitoring port.
The first data processing module may be an import/export tool agent, and the first data processing module may be disposed on the same server as the second data processing module, or may be disposed on a different server, which is not limited in this embodiment of the present invention.
It should be noted that, if the first data processing module and the second data processing module are deployed on different servers, remote call to import and export files may be implemented.
The monitoring port of the first data processing module starts a thread for the first data processing module, monitors a certain port, the monitored port is defined as a monitoring port, receives the access message, and if the first data processing module needs to be accessed, the first data processing module can be connected through the monitoring port and send the message.
The second data processing module may be an import/export tool, or may be another tool for data processing, which is not limited in this embodiment of the present invention.
S120, the first data processing module receives the processing result sent by the second data processing module and sends the processing result to the client.
The processing result may be writing the exported data into the import file, or may be loading the data in the import file into a database, or may be successful in import, or may be successful in export, which is not limited in the embodiment of the present invention.
Optionally, before the first data processing module receives the processing result sent by the second data processing module and sends the processing result to the client, the method further includes:
the second data processing module analyzes the user request and accesses the database according to the user request;
and after receiving the processing result sent by the database, the second data processing module sends the processing result to the first data processing module through the monitoring port.
Optionally, the user request includes: an import request or an export request.
Optionally, the second data processing module parses the user request, accesses the database according to the user request, and includes:
the second data processing module analyzes the user request;
and if the user request is an import request, the second data processing module reads data from an import file and loads the data into the database.
Optionally, the second data processing module parses the user request, accesses the database according to the user request, and includes:
the second data processing module analyzes the user request;
and if the user request is an export request, the second data processing module reads data to be exported from the database and writes the data to be exported into an export file.
Optionally, the first data processing module and the second data processing module are disposed on the same server.
Optionally, the first data processing module and the second data processing module are deployed on different servers.
In a specific example, in the prior art, a user accesses a database directly through an import export tool, imports or exports database objects and data, and feeds back import and export result information to the user.
According to the embodiment of the invention, a user accesses a database through an import and export agent program, starts an import and export tool on a database server, imports or exports database objects and data through the import and export tool, returns import and export result information to the import and export agent program, and then the import and export agent program feeds the import and export result information back to the user.
The agent program of the import and export tool needs to start a monitoring port (i.e. start a thread, monitor a port and receive an access message) in addition to receiving an import and export command, forwarding the command to a database and feeding back the information of the import and export result to a user.
In the embodiment of the invention, the import and export tool is assumed to be A, the database is assumed to be B, and the import and export agent is assumed to be A1. A. B, A1 can be deployed on the same machine or on different machines. A1 and A are deployed separately, so that remote call to import and export files can be realized. If the import and export files that the user wants to use are on the database server, A, B is simply deployed on the same machine.
A1 comprises a monitoring port for receiving the execution result of A. A1 receives the user's request, then transmits the user's request and the monitor port to B, B starts A, and transmits the user's request and the monitor port of A1 to A, A executes the user's request, and transmits the execution result to A1 through the monitor port.
In the prior art, the user performs a process of accessing B, refer to fig. 2a. (import and export procedures correspond to fig. 1 and 1 a) as follows:
(1) The user sends a request to A;
(2) A, analyzing a user request, and accessing B according to the user request;
(3) B, executing operation according to the request, and returning the result to the A;
(4) And A, after receiving the returned result of B, processing the result and feeding back the processing result to the user.
In the embodiment of the invention, the user accesses the B by executing the A1, and the A1 only transmits the user request and does not do specific operation, so the using mode is the same as the user using the A experience, and refer to FIG. 2B. (import process corresponds to FIG. 2c and export process corresponds to FIG. 2 d). The specific flow is as follows:
(1) The user sends a request to A1;
(2) A1, packaging a user request, attaching a monitoring result of the A1, and accessing the B;
(3) B, after receiving the request of A1, starting A locally, and sending the user request and the port of A1 to A;
(4) A, analyzing a user request, and accessing B according to the user request;
(5) After receiving the returned result of B, A processes the result and sends the processed result to A1 through the monitoring port of A1;
(6) A1 receives the returned result of A and feeds back to the user.
Thus, B only needs to additionally add a request for forwarding A1, and the operation of A is started; the operation of transmitting the return result to A1 through the monitoring port of A1 is only needed to be additionally added; the operation of A1 is simpler, namely, the user request is forwarded to B, and then the result is returned to the user, so that no logic processing is needed.
By creating the agent program of the import and export tool, the embodiment of the invention does not need to realize remote use of the import and export files on the basis of the existing import and export tool logic, reduces the influence on the database as much as possible, and does not need to modify the import and export logic. In addition, the embodiment of the invention also provides a remote monitoring port for acquiring the result feedback information of remote import and export, and the operation of forwarding the information through a database is not needed.
In addition, the embodiment of the invention is not limited to the import and export tools, and is also applicable to the situations that the similar client/server architecture exists, and then the client is required to directly read the data on the machine where the server is located or other situations that the original tools are inconvenient to call to complete the operation. Meanwhile, the embodiment of the invention is also suitable for the scene requiring real-time dynamic acquisition of the remote message.
According to the technical scheme of the embodiment, a user request is obtained through a first data processing module, the user request and a monitoring port are sent to the database, so that the database starts the second data processing module, and the user request and the monitoring port are sent to the second data processing module; the first data processing module receives the processing result sent by the second data processing module and sends the processing result to the client, wherein the second data processing module is deployed on the database server, the first data processing module comprises a monitoring port, remote use of the import and export files is not required on the basis of the existing import and export tool logic through the first data processing module, the influence on the database is reduced as much as possible, and the import and export logic is not required to be modified. In addition, forwarding the message via the database may not be required.
Example two
Fig. 3 is a schematic structural diagram of a data processing apparatus according to a second embodiment of the present invention. The present embodiment may be applied to the case of data processing, and the apparatus may be implemented in software and/or hardware, and the apparatus may be integrated in any device that provides a data processing function, as shown in fig. 3, where the data processing apparatus specifically includes: a first data processing module 21, said first data processing module 21 comprising: an acquisition unit 210 and a receiving unit 220.
The system comprises an acquisition unit, a first data processing module and a second data processing module, wherein the acquisition unit is used for acquiring a user request and sending the user request and a monitoring port to a database so that the database starts a second data processing module and sends the user request and the monitoring port to the second data processing module, the second data processing module is deployed on a database server, and the first data processing module comprises the monitoring port;
and the receiving unit is used for receiving the processing result sent by the second data processing module and sending the processing result to the client.
The product can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme of the embodiment, a user request is obtained through a first data processing module, the user request and a monitoring port are sent to the database, so that the database starts the second data processing module, and the user request and the monitoring port are sent to the second data processing module; the first data processing module receives the processing result sent by the second data processing module and sends the processing result to the client, wherein the second data processing module is deployed on the database server, the first data processing module comprises a monitoring port, remote use of the import and export files is not required on the basis of the existing import and export tool logic through the first data processing module, the influence on the database is reduced as much as possible, and the import and export logic is not required to be modified. In addition, forwarding the message via the database may not be required.
Example III
Fig. 4 is a schematic structural diagram of a computer device in a third embodiment of the present invention. Fig. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in fig. 4 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in FIG. 4, the computer device 12 is in the form of a general purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry standard architecture (Industry Standard Architecture, ISA) bus, micro channel architecture (Micro Channel Architecture, MCA) bus, enhanced ISA bus, video electronics standards association (Video Electronics Standards Association, VESA) local bus, and peripheral component interconnect (Peripheral Component Interconnect, PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory, RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a disk drive for reading from and writing to a removable nonvolatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable nonvolatile optical disk (Compact Disc-Read Only Memory, CD-ROM), digital versatile disk (Digital Video Disc-Read Only Memory, DVD-ROM), or other optical media, may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. In addition, in the computer device 12 of the present embodiment, the display 24 is not present as a separate body but is embedded in the mirror surface, and the display surface of the display 24 and the mirror surface are visually integrated when the display surface of the display 24 is not displayed. Moreover, the computer device 12 may also communicate with one or more networks such as a local area network (Local Area Network, LAN), a wide area network Wide Area Network, a WAN) and/or a public network such as the internet via the network adapter 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computer device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk array (Redundant Arrays of Independent Disks, RAID) systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the data processing method provided by the embodiment of the present invention:
the first data processing module acquires a user request and sends the user request and a monitoring port to a database so that the database starts a second data processing module and sends the user request and the monitoring port to the second data processing module, wherein the second data processing module is deployed on the database server, and the first data processing module comprises a monitoring port;
the first data processing module receives the processing result sent by the second data processing module and sends the processing result to the client.
Example IV
A fourth embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a data processing method as provided by all the inventive embodiments of the present application:
the first data processing module acquires a user request and sends the user request and a monitoring port to a database so that the database starts a second data processing module and sends the user request and the monitoring port to the second data processing module, wherein the second data processing module is deployed on the database server, and the first data processing module comprises a monitoring port;
the first data processing module receives the processing result sent by the second data processing module and sends the processing result to the client.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a source text input by a user, and translating the source text into a target text corresponding to a target language; acquiring the historical correction behavior of the user; correcting the target text according to the history correction behavior to obtain a translation result, and pushing the translation result to a client where the user is located.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (9)

1.A method of data processing, comprising:
the first data processing module acquires a user request and sends the user request and a monitoring port to a database so that the database starts a second data processing module and sends the user request and the monitoring port to the second data processing module, wherein the second data processing module is deployed on a database server, and the first data processing module comprises a monitoring port;
the first data processing module receives the processing result sent by the second data processing module and sends the processing result to a client;
wherein before the first data processing module receives the processing result sent by the second data processing module and sends the processing result to the client, the method further comprises:
the second data processing module analyzes the user request and accesses the database according to the user request;
and after receiving the processing result sent by the database, the second data processing module sends the processing result to the first data processing module through the monitoring port.
2. The method of claim 1, wherein the user request comprises: an import request or an export request.
3. The method of claim 2, wherein the second data processing module parsing the user request, accessing the database based on the user request, comprises:
the second data processing module analyzes the user request;
and if the user request is an import request, the second data processing module reads data from an import file and loads the data into the database.
4. The method of claim 2, wherein the second data processing module parsing the user request, accessing the database based on the user request, comprises:
the second data processing module analyzes the user request;
and if the user request is an export request, the second data processing module reads data to be exported from the database and writes the data to be exported into an export file.
5. The method of claim 1, wherein the first data processing module and the second data processing module are disposed on a same server.
6. The method of claim 1, wherein the first data processing module and the second data processing module are deployed on different servers.
7. A data processing apparatus, comprising: a first data processing module, the first data processing module comprising:
the acquisition unit is used for acquiring a user request and sending the user request and the monitoring port to a database so that the database starts a second data processing module and sends the user request and the monitoring port to the second data processing module, wherein the second data processing module is deployed on a database server, and the first data processing module comprises the monitoring port;
the receiving unit is used for receiving the processing result sent by the second data processing module and sending the processing result to the client;
the data processing apparatus further includes: a second data processing module, the second data processing module comprising:
the analysis unit is used for analyzing the user request and accessing the database according to the user request;
and the sending unit is used for sending the processing result to the first data processing module through the monitoring port after receiving the processing result sent by the database.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-6 when the program is executed by the processor.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-6.
CN202011103848.9A 2020-10-15 2020-10-15 Data processing method, device, equipment and storage medium Active CN112214540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011103848.9A CN112214540B (en) 2020-10-15 2020-10-15 Data processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011103848.9A CN112214540B (en) 2020-10-15 2020-10-15 Data processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112214540A CN112214540A (en) 2021-01-12
CN112214540B true CN112214540B (en) 2024-03-01

Family

ID=74054696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011103848.9A Active CN112214540B (en) 2020-10-15 2020-10-15 Data processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112214540B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130026548A (en) * 2011-07-22 2013-03-14 한국산업기술대학교산학협력단 Integration control system having a common use interface
CN103747054A (en) * 2013-12-26 2014-04-23 福建伊时代信息科技股份有限公司 Network data distribution device and system having the same
CN105306556A (en) * 2015-09-30 2016-02-03 深圳市先河系统技术有限公司 File management method, server and network auxiliary storage equipment
CN106776998A (en) * 2016-12-06 2017-05-31 华为技术有限公司 A kind of database service provides method and server
CN109960709A (en) * 2019-04-18 2019-07-02 上海达梦数据库有限公司 A kind of processing method of database-driven, device, equipment and storage medium
CN110647415A (en) * 2019-08-14 2020-01-03 平安科技(深圳)有限公司 Database detection method, device and equipment and computer readable storage medium
CN111400381A (en) * 2020-02-28 2020-07-10 北京致医健康信息技术有限公司 Data storage method and device, computer equipment and storage medium
US10778812B1 (en) * 2019-05-09 2020-09-15 Alibaba Group Holding Limited Data encapsulation conversion and transmission

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090100149A1 (en) * 2001-05-21 2009-04-16 Greg Arnold Method and system for using tokens to conduct file sharing transactions between handhelds and a web service
US20140181040A1 (en) * 2012-12-21 2014-06-26 Zetta, Inc. Client application software for on-line backup and disaster recovery
US20180246886A1 (en) * 2017-02-27 2018-08-30 OSF Global Services Inc. Data migration for platform integration

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130026548A (en) * 2011-07-22 2013-03-14 한국산업기술대학교산학협력단 Integration control system having a common use interface
CN103747054A (en) * 2013-12-26 2014-04-23 福建伊时代信息科技股份有限公司 Network data distribution device and system having the same
CN105306556A (en) * 2015-09-30 2016-02-03 深圳市先河系统技术有限公司 File management method, server and network auxiliary storage equipment
CN106776998A (en) * 2016-12-06 2017-05-31 华为技术有限公司 A kind of database service provides method and server
CN109960709A (en) * 2019-04-18 2019-07-02 上海达梦数据库有限公司 A kind of processing method of database-driven, device, equipment and storage medium
US10778812B1 (en) * 2019-05-09 2020-09-15 Alibaba Group Holding Limited Data encapsulation conversion and transmission
CN110647415A (en) * 2019-08-14 2020-01-03 平安科技(深圳)有限公司 Database detection method, device and equipment and computer readable storage medium
CN111400381A (en) * 2020-02-28 2020-07-10 北京致医健康信息技术有限公司 Data storage method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112214540A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
US20160092493A1 (en) Executing map-reduce jobs with named data
US20070174420A1 (en) Caching of web service requests
CN108090078B (en) Document online preview method and device, storage medium and electronic equipment
CN114385091B (en) Method and device for realizing network disk drive character, network disk and storage medium
CN105825066A (en) Method and device for generating electronic case history
CN110929128A (en) Data crawling method, device, equipment and medium
CN112612546A (en) Page loading method and device, electronic equipment and storage medium
US20070282851A1 (en) Mapping and communicating data from a user interface to an application program
CN111506603A (en) Data processing method, device, equipment and storage medium
US8938522B2 (en) Tiered XML services in a content management system
CN109697034B (en) Data writing method and device, electronic equipment and storage medium
JP5039946B2 (en) Technology for relaying communication between client devices and server devices
US20090300102A1 (en) Server for dynamically generating web contents
CN112214540B (en) Data processing method, device, equipment and storage medium
CN110889880A (en) Map processing method, device, equipment and storage medium
CN114281480B (en) Container mirror image file processing method, device, equipment and storage medium
CN116069725A (en) File migration method, device, apparatus, medium and program product
CN112769975B (en) Data integration method and device, server and storage medium
CN112364268A (en) Resource acquisition method and device, electronic equipment and storage medium
CN110753136B (en) Domain name resolution method, device, equipment and storage medium
CN114490265A (en) Data acquisition method, device, equipment and storage medium
CN110515807B (en) Database table monitoring method, device, equipment and storage medium
CN113761419A (en) Display method and device of topological information, electronic equipment and storage medium
US20140074869A1 (en) Autoclassifying compound documents for enhanced metadata search
CN115134322B (en) File secure transmission method and device, cloud mobile phone platform and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant