CN109739868B - Data processing method and related equipment thereof - Google Patents

Data processing method and related equipment thereof Download PDF

Info

Publication number
CN109739868B
CN109739868B CN201910016043.1A CN201910016043A CN109739868B CN 109739868 B CN109739868 B CN 109739868B CN 201910016043 A CN201910016043 A CN 201910016043A CN 109739868 B CN109739868 B CN 109739868B
Authority
CN
China
Prior art keywords
plug
database
data
request
data processing
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
CN201910016043.1A
Other languages
Chinese (zh)
Other versions
CN109739868A (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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething Technology 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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201910016043.1A priority Critical patent/CN109739868B/en
Publication of CN109739868A publication Critical patent/CN109739868A/en
Application granted granted Critical
Publication of CN109739868B publication Critical patent/CN109739868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The first aspect of the embodiment of the application discloses a data processing method, which is applied to a plug-in management platform, wherein the plug-in management platform comprises a first plug-in, and the method comprises the following steps: running a database plug-in; establishing a data connection between the database plug-in and the first plug-in; acquiring a data request of a database corresponding to the first plug-in, wherein the data request is used for indicating a target operation; and executing the target operation on the database corresponding to the first plug-in the database plug-in through the data connection. Embodiments of the present application also disclose a data processing apparatus, a data processing system, a computer readable storage medium and a computer program product. The target operation corresponding to the data request can be directly executed in the database plugin through the data connection to the database corresponding to the first plugin, so that strong coupling interaction between an application program and a specific database is not required to be established, and the optimization of data processing of the database is realized.

Description

Data processing method and related equipment thereof
Technical Field
The present disclosure relates to the field of communications, and in particular, to a data processing method and related devices.
Background
With the development of mobile networks, terminal devices (such as mobile phones and tablet computers) are widely used. At this time, the terminal can not only bear the input and output work, but also perform certain operation and processing to realize partial system functions. Implementation of a certain practical application or solving a certain kind of problem in a terminal device depends on the application program.
In the prior art, data storage is one of the essential functional components for an application program, and the iteration of the version of the database itself, the interface functions are also continuously perfected and enriched. While it is envisioned that the entire application must be upgraded when the database is upgraded as an application that relies on the database components. In addition, the databases selected by each application will also be different due to the variety of database types.
However, for the user, the use of the terminal to upgrade the whole APP each time not only consumes mobile data traffic, but also prolongs the upgrade time, severely affecting the user experience.
Disclosure of Invention
The embodiment of the application provides a data processing method and related equipment thereof, which are used for optimizing data processing of a database.
An embodiment of the present invention provides a data processing method, applied to a plug-in management platform, where the plug-in management platform includes a first plug-in, and the method includes:
running a database plug-in;
establishing a data connection between the database plug-in and the first plug-in;
acquiring a data request of a database corresponding to the first plug-in, wherein the data request is used for indicating a target operation;
and executing target operation on the database corresponding to the first plug-in the database plug-in through the data connection.
Optionally, the data request comprises a database upgrade request;
the performing, in the database plugin through the data connection, a target operation on the database corresponding to the first plugin includes:
and upgrading the database corresponding to the first plug-in the database plug-in through the data connection to obtain a target database.
Optionally, after upgrading the database corresponding to the first plug-in the database plug-in through the data connection to obtain the target database, the method further includes:
and updating the data connection according to the target database.
Optionally, the data request includes a data update request, the data update request including data insertion and/or data deletion;
the executing, in the database plug-in through the data connection, the target operation on the database corresponding to the first plug-in specifically includes:
and updating the corresponding database of the first plug-in the database plug-in through the data connection.
Optionally, the data request includes a data query request, the query request including a query condition;
the executing, in the database plug-in through the data connection, the target operation on the database corresponding to the first plug-in specifically includes:
carrying out data query on a database corresponding to the first plug-in the database plug-in through the data connection to obtain a query result, wherein the query result has an association relationship with the query condition;
and sending the query result to the first plug-in.
Optionally, the method further comprises:
receiving a destroying instruction for a database;
stopping the operation of the database plug-in according to the destroying instruction;
and unloading the database plug-in.
A second aspect of the embodiments of the present application provides a data processing apparatus, the apparatus comprising a memory and a processor, the memory having stored thereon a data processing program executable on the processor, the data processing program, when executed by the processor, implementing a method according to any one of the embodiments of the first aspect.
A third aspect of embodiments of the present application provides a data processing system, the system comprising:
the operation unit is used for operating the database plug-in;
the establishing unit is used for establishing data connection between the database plug-in and the first plug-in;
the acquisition unit is used for acquiring a data request of the database corresponding to the first plug-in, wherein the data request is used for indicating a target operation;
and the execution unit is used for executing target operation on the database corresponding to the first plug-in the database plug-in through the data connection.
Optionally, the data request comprises a database upgrade request;
the execution unit is specifically configured to:
and upgrading the database corresponding to the first plug-in the database plug-in through the data connection to obtain a target database.
Optionally, the system further comprises:
and the updating unit is used for updating the data connection according to the target database.
Optionally, the data request includes a data update request, the data update request including data insertion and/or data deletion;
the execution unit is specifically configured to:
and updating the corresponding database of the first plug-in the database plug-in through the data connection.
Optionally, the data request includes a data query request, the query request including a query condition;
the execution unit is specifically configured to:
carrying out data query on a database corresponding to the first plug-in the database plug-in through the data connection to obtain a query result, wherein the query result has an association relationship with the query condition;
and sending the query result to the first plug-in.
Optionally, the system further comprises:
the receiving unit is used for receiving a destroying instruction to the database;
the stopping unit is used for stopping the operation of the database plug-in according to the destroying instruction;
and the unloading unit is used for unloading the database plug-in.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium having stored thereon a data processing program executable by one or more processors to implement a data processing method according to any of the embodiments of the first aspect.
A fifth aspect of the embodiments of the present application provides a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform the data processing method according to any of the embodiments of the method of the first aspect described above.
From the above technical solutions, the embodiments of the present application have the following advantages: in this embodiment, the plug-in management platform runs a database plug-in; establishing a data connection between the database plug-in and the first plug-in; acquiring a data request of a database corresponding to the first plug-in, wherein the data request is used for indicating a target operation; and executing target operation on the database corresponding to the first plug-in the database plug-in through the data connection. The first plugin is any plugin in the plugin management platform, so that the interface connection, namely the data connection, between the database plugin and the first plugin is established, and target operation corresponding to a data request can be directly executed on a database corresponding to the first plugin in the database plugin through the data connection, so that strong coupling interaction between an application program and a specific database is not required to be established, and optimization of data processing of the database is realized.
Drawings
FIG. 1 is a schematic diagram of an embodiment of a data processing method according to an embodiment of the present application;
FIG. 2 is another schematic diagram of an embodiment of a data processing method according to the present application;
FIG. 3 is another schematic diagram of an embodiment of a data processing method according to the present application;
FIG. 4 is another schematic diagram of an embodiment of a data processing method according to the embodiments of the present application;
FIG. 5 is another schematic diagram of an embodiment of a data processing method according to the embodiments of the present application;
FIG. 6 is a schematic diagram of one embodiment of a data processing system in accordance with embodiments of the present application;
FIG. 7 is a schematic diagram of an embodiment of a data processing apparatus according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a specific implementation of a data processing method according to an embodiment of the present application;
fig. 9 is another schematic diagram of an implementation of a data processing method in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a data processing method and related equipment thereof, which are used for optimizing data processing of a database.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
The terms first, second, third, fourth and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the prior art, data storage is one of the essential functional components for an application program, and the iteration of the version of the database itself, the interface functions are also continuously perfected and enriched. While it is envisioned that the entire application must be upgraded when the database is upgraded as an application that relies on the database components. In addition, the databases selected by each application will also be different due to the variety of database types. However, for the user, the use of the terminal to upgrade the whole APP each time not only consumes mobile data traffic, but also prolongs the upgrade time, severely affecting the user experience. In order to solve the above-mentioned problems, an embodiment of the present application provides a data processing method and related devices for optimizing data processing on a database.
In the embodiment of the present application, based on the implementation process of the terminal application in the prior art, a part of application software is subjected to plug-in processing in the terminal, or the plug-in is directly obtained and operated in a form of installing the plug-in the terminal, and then the function and the corresponding operation implemented by the part of application software in the terminal can be implemented through the operation of the plug-in.
On the basis, in the present embodiment and the subsequent embodiments, in order to achieve maintenance and management of databases between the plug-ins, the management of the plug-ins may be achieved through a functional module in the terminal, that is, a functional module of a plug-in management platform is used to achieve unified implementation.
In the embodiment of the present application, the operation management of the plug-in may be implemented in a plug-in management platform, unlike the management manner of the application program commonly used in the prior art. Taking fig. 8 as an example, a system framework platform exists in the terminal, and on the system framework platform, besides application software with conventional settings, such as news applications, music applications, and the like, plug-in applications, such as message plug-ins, task plug-ins, and the like, can also be run. In the part of the management of the plug-in framework, the management of the plug-in application and the like is realized through a plug-in management platform. The plug-in management platform is responsible for managing the life cycle of each plug-in, such as starting, stopping, installing, unloading and the like, monitoring the running state of each plug-in, monitoring and restarting or stopping running of an abnormally stopped business program and the like, and can maintain the version information and the running state of each application.
In addition, the plug-in management platform can comprise a plurality of running plug-ins, so that functions corresponding to different plug-ins are realized, for example, a database plug-in is a functional plug-in realized based on standard interface packaging of each database, and the database can be used as an independent plug-in application and can run and update version. The database plugins mainly respond to instructions of each plugin in the plugin management platform for operating the database, namely, each plugin has a database corresponding to each plugin in the plugin database, and each plugin only needs to operate the corresponding database in the database plugin if the operation such as accessing, updating or upgrading is required. As shown in fig. 9, specifically, the plug-ins may include an acquisition plug-in, a task plug-in, a live plug-in, and the like, and each of the plug-ins may implement interface access with the database plug-in through a database type corresponding to each plug-in, where multiple types of databases may be maintained, for example, other types of databases besides ObjectBox/Realm/SQLite/Redis described in fig. 9 may be used, which is not limited herein specifically.
Compared with the prior art, the method and the device have the advantages that the strong coupling exchange between the application program and the specific database is relieved, the database of each application program is not required to be maintained, and the optimized management of the database realized by the functions in the terminal is realized. The specific implementation of the database plug-in the terminal will be described by way of specific embodiments.
For ease of understanding, a specific flow in the embodiments of the present application will be described below, with reference to fig. 1, where an embodiment of a data processing method in the embodiments of the present application is applied to a plugin management platform, where the plugin management platform includes a first plugin, and the method includes:
101. running a database plug-in;
in this embodiment, the plug-in management platform runs database plug-ins.
In particular, the database plug-in is a functional plug-in implemented based on each database standard interface package, i.e. as a plug-in specially maintaining a database, there is an interface package that is compatible with each other plug-in for communication. Here, the database plug-in is applied as a stand-alone plug-in, and can run and update version itself. And mainly responding to the instruction of each service plug-in to the database operation, and executing the database operation corresponding to the instruction.
102. Establishing a data connection between the database plug-in and the first plug-in;
in this embodiment, the plug-in management platform establishes a data connection between the database plug-in and a first plug-in, where the first plug-in is any one or more plug-ins in the plug-in management platform.
103. Acquiring a data request of a database corresponding to the first plug-in;
in this embodiment, the plug-in management platform obtains a data request for the database corresponding to the first plug-in, where the data request is used to indicate a target operation.
Specifically, the data request indicates that the first plugin intends to perform a target operation on its corresponding database, where the target operation may include upgrading the database, updating the database, or querying the database for data, or may be other operations on the corresponding database of the first plugin, which is not specifically limited herein.
In addition, the data request of the database corresponding to the first plug-in may be a data request sent by the first plug-in to the plug-in management platform, or may be a data request sent by another plug-in with high authority or another program with high authority, which is not limited herein.
104. And executing the target operation on the database corresponding to the first plug-in the database plug-in through the data connection.
In this embodiment, the plug-in management platform executes the target operation on the database corresponding to the first plug-in the database plug-in through the data connection channel established in step 102, that is, the database corresponding to the first plug-in can be directly managed and maintained through the database plug-in, and the target operation corresponding to the data request of the database corresponding to the first plug-in is realized through the data connection, so that each application program is shielded from directly accessing the database, and the user experience is improved.
In this embodiment, the plug-in management platform runs a database plug-in; establishing a data connection between the database plug-in and the first plug-in; acquiring a data request of a database corresponding to the first plug-in, wherein the data request is used for indicating a target operation; and executing target operation on the database corresponding to the first plug-in the database plug-in through the data connection. The first plugin is any plugin in the plugin management platform, so that the interface connection, namely the data connection, between the database plugin and the first plugin is established, and target operation corresponding to a data request can be directly executed on a database corresponding to the first plugin in the database plugin through the data connection, so that strong coupling interaction between an application program and a specific database is not required to be established, and optimization of data processing of the database is realized.
In this embodiment of the present application, the data request obtained in step 103 may be various, for example, an upgrade request of a database, a data update request of a database, a data query request or a database destruction request, and these will be described below. Referring to fig. 2 to 5, in other embodiments of a data processing method according to the embodiment of fig. 1, the process of performing the target operation in step 104 may specifically include:
1. upgrading a database
201. And upgrading the database corresponding to the first plug-in the database plug-in through the data connection to obtain a target database.
In this embodiment, the data request obtained in step 103 may include a database upgrade request, at this time, in step 104, the card management platform executes the operation of the database upgrade on the database corresponding to the first card in the database card through the data connection channel established in step 102, that is, may directly manage and maintain the database corresponding to the first card through the database card, and implement the target operation corresponding to the data request of the database corresponding to the first card through the data connection.
202. And updating the data connection according to the target database.
In this embodiment, the databases selected by each card may be different due to the variety of the databases of the card. Sometimes, because of the function expansion and even the need to replace the database scheme, a different type of database than before is adopted, and in order to meet this situation, the data connection established in step 102 needs to be updated, specifically after the database is updated in step 201 to obtain the target database. The data connection is a data interface of the corresponding database of the first plug-in, and if the database replacement scheme occurs in step 201, the data interface of the corresponding database of the first plug-in is needed to meet the data communication requirement of the target database when the database of a different type from the previous database is adopted.
2. Updating a database
301. And updating the corresponding database of the first plug-in the database plug-in through the data connection.
In this embodiment, the data request obtained by the card management platform in step 103 may include a data update request, where the data update request includes data insertion and/or data deletion, and at this time, the card management platform performs, in the database card, updating of the database corresponding to the first card through the data connection channel established in step 102, that is, may directly perform management maintenance on the database corresponding to the first card through the database card—perform data insertion and/or data deletion on the database corresponding to the first card.
3. Data query
401. Carrying out data query on a database corresponding to the first plug-in the database plug-in through the data connection to obtain a query result, wherein the query result has an association relationship with the query condition;
402. and sending the query result to the first plug-in.
In this embodiment, the data request obtained by the plugin management platform in step 103 may include a data query request, where the query request includes a query condition. Specifically, the plug-in management platform executes the data query operation on the database corresponding to the first plug-in the database plug-in through the data connection channel established in step 102, that is, the database corresponding to the first plug-in can be directly managed and maintained through the database plug-in, the data corresponding to the data query request is determined according to the query condition, and the data is determined to be the query result.
After that, the query result is fed back to the first plugin, so that the first plugin obtains the query result.
4. Database destruction
501. Receiving a destroying instruction for a database;
in this embodiment, the plug-in management platform receives a destruction instruction for the database.
Specifically, when a terminal corresponding to the plug-in management platform acquires a destruction instruction, the destruction instruction indicates that the database needs to be destroyed, namely, data maintained in the database plug-in is destroyed. The instruction may be obtained by the terminal receiving an input instruction of a user through an input/output device of the terminal, or may be obtained by the terminal receiving an instruction sent by another high-authority plug-in or a high-authority application program, which is not limited herein.
502. Stopping the operation of the database plug-in according to the destroying instruction;
503. and unloading the database plug-in.
In this embodiment, when the plug-in management platform receives a destruction instruction for the database in step 501, the plug-in management platform first stops running of the database plug-in, exits execution logic for providing the database service for the plug-in, that is, no longer provides management maintenance service for the database, and thereafter, uninstalls the database plug-in, that is, ends the life process of the plug-in.
The embodiments of the present application are described above in terms of methods, and are described below in terms of virtual devices. Referring to FIG. 6, one embodiment of a data processing system in accordance with the present embodiments includes:
an operation unit 601, configured to operate a database plug-in;
a setting-up unit 602, configured to set up a data connection between the database plug-in and the first plug-in;
an obtaining unit 603, configured to obtain a data request for the database corresponding to the first plug-in, where the data request is used to indicate a target operation;
and the execution unit 604 is used for executing target operation on the database corresponding to the first plug-in the database plug-in through the data connection.
In this embodiment, an operation unit 601 is configured to operate a database plug-in; a setting-up unit 602, configured to set up a data connection between the database plug-in and the first plug-in; an obtaining unit 603, configured to obtain a data request for the database corresponding to the first plug-in, where the data request is used to indicate a target operation; and the execution unit 604 is used for executing target operation on the database corresponding to the first plug-in the database plug-in through the data connection. The first plugin is any plugin in the plugin management platform, so that the interface connection, namely the data connection, between the database plugin and the first plugin is established, and target operation corresponding to a data request can be directly executed on a database corresponding to the first plugin in the database plugin through the data connection, so that strong coupling interaction between an application program and a specific database is not required to be established, and optimization of data processing of the database is realized.
Optionally, the data request comprises a database upgrade request;
the execution unit 604 is specifically configured to:
and upgrading the database corresponding to the first plug-in the database plug-in through the data connection to obtain a target database.
Optionally, the system further comprises:
an updating unit 605 is configured to update the data connection according to the target database.
Optionally, the data request includes a data update request, the data update request including data insertion and/or data deletion;
the execution unit 604 is specifically configured to:
and updating the corresponding database of the first plug-in the database plug-in through the data connection.
Optionally, the data request includes a data query request, the query request including a query condition;
the execution unit 604 is specifically configured to:
carrying out data query on a database corresponding to the first plug-in the database plug-in through the data connection to obtain a query result, wherein the query result has an association relationship with the query condition;
and sending the query result to the first plug-in.
Optionally, the system further comprises:
a receiving unit 606, configured to receive a destruction instruction for a database;
a stopping unit 607, configured to stop the operation of the database plug-in according to the destruction instruction;
and the unloading unit 608 is used for unloading the database plug-in.
Referring now to FIG. 7, one embodiment of a data processing apparatus according to the present application includes:
in this embodiment, a data processing apparatus 1 may be a PC (personal computer), a smart phone, a tablet computer, a palm computer, a portable computer, an intelligent router, a mining machine, and a network storage device terminal device.
The apparatus 1 may be a node constituting a CDN network or a blockchain network. The data processing device 1 may comprise a memory 11, a processor 12 and a bus 13.
The memory 11 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the data processing apparatus 1, such as a hard disk of the data processing apparatus 1. The memory 11 may in other embodiments also be an external storage device of the data processing apparatus 1, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the data processing apparatus 1. Further, the memory 11 may also comprise both an internal storage unit and an external storage device of the data processing apparatus 1. The memory 11 may be used not only for storing application software installed in the data processing apparatus 1 and various types of data, such as codes of the data processing program 01, but also for temporarily storing data that has been output or is to be output.
The processor 12 may in some embodiments be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip for executing program code or processing data stored in the memory 11, e.g. for executing the data processing program 01, etc.
The bus 13 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 7, but not only one bus or one type of bus.
Further, the data processing apparatus may also comprise a network interface 14, which network interface 14 may optionally comprise a wired interface and/or a wireless interface (e.g. WI-FI interface, bluetooth interface, etc.), typically used to establish a communication connection between the apparatus 1 and other electronic devices.
Optionally, the device 1 may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or a display unit, as appropriate, for displaying information processed in the data processing device 1 and for displaying a visual user interface.
Fig. 7 shows only a data processing device 1 with components 11-14 and a data processing program 01, it being understood by a person skilled in the art that the structure shown in fig. 1 does not constitute a limitation of the data processing device 1, and may comprise fewer or more components than shown, or may combine certain components, or a different arrangement of components.
It should be understood that, in various embodiments of the present application, the sequence number of each step mentioned above does not mean the order of execution, and the execution order of each step should be determined by its functions and internal logic, and should not constitute any limitation on the implementation procedure of the embodiments of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, randomAccess Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (7)

1. A data processing method, applied to a plug-in management platform, the plug-in management platform including a first plug-in, the method comprising:
running a database plug-in;
establishing a data connection between the database plug-in and the first plug-in;
acquiring a data request of a database corresponding to the first plug-in, wherein the data request is used for indicating a target operation;
executing the target operation on the database corresponding to the first plug-in the database plug-in through the data connection;
the data request comprises a database upgrade request;
the performing, in the database plug-in, the target operation on the database corresponding to the first plug-in through the data connection includes:
upgrading the database corresponding to the first plug-in the database plug-in through the data connection to obtain a target database;
after the database corresponding to the first plug-in is updated in the database plug-in through the data connection to obtain a target database, the method further comprises:
and updating the data connection according to the target database.
2. The method according to claim 1, wherein the data request comprises a data update request comprising data insertion and/or data deletion;
the executing the target operation on the database corresponding to the first plug-in the database plug-in through the data connection specifically includes:
and updating the corresponding database of the first plug-in the database plug-in through the data connection.
3. The method of claim 1, wherein the data request comprises a data query request, the query request comprising a query condition;
the executing the target operation on the database corresponding to the first plug-in the database plug-in through the data connection specifically includes:
carrying out data query on a database corresponding to the first plug-in the database plug-in through the data connection to obtain a query result, wherein the query result has an association relationship with the query condition;
and sending the query result to the first plug-in.
4. The method according to claim 1, wherein the method further comprises:
receiving a destroying instruction for a database;
stopping the operation of the database plug-in according to the destroying instruction;
and unloading the database plug-in.
5. A data processing apparatus comprising a memory and a processor, the memory having stored thereon a data processing program executable on the processor, the data processing program, when executed by the processor, implementing the method of any of claims 1-4.
6. A data processing system, the system comprising:
the operation unit is used for operating the database plug-in;
the establishing unit is used for establishing data connection between the database plug-in and the first plug-in;
the acquisition unit is used for acquiring a data request of the database corresponding to the first plug-in, wherein the data request is used for indicating a target operation;
the execution unit is used for executing target operation on the database corresponding to the first plug-in the database plug-in through the data connection;
the execution unit is specifically configured to upgrade a database corresponding to the first plug-in unit in the database plug-in unit through the data connection to obtain a target database; the data request comprises a database upgrade request;
the data processing system further comprises:
and the updating unit is used for updating the data connection according to the target database.
7. A computer-readable storage medium, having stored thereon a data processing program executable by one or more processors to implement the data processing method of any of claims 1 to 4.
CN201910016043.1A 2019-01-08 2019-01-08 Data processing method and related equipment thereof Active CN109739868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910016043.1A CN109739868B (en) 2019-01-08 2019-01-08 Data processing method and related equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910016043.1A CN109739868B (en) 2019-01-08 2019-01-08 Data processing method and related equipment thereof

Publications (2)

Publication Number Publication Date
CN109739868A CN109739868A (en) 2019-05-10
CN109739868B true CN109739868B (en) 2023-05-12

Family

ID=66363830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910016043.1A Active CN109739868B (en) 2019-01-08 2019-01-08 Data processing method and related equipment thereof

Country Status (1)

Country Link
CN (1) CN109739868B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113050970B (en) * 2021-04-13 2023-03-10 深圳市汉云科技有限公司 Plug-in updating method, device, equipment and storage medium of SQL database
CN114531437B (en) * 2022-02-14 2023-02-17 镁佳(北京)科技有限公司 MQTT-based non-homologous uplink data processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595221A (en) * 2018-04-26 2018-09-28 Oppo广东移动通信有限公司 Plug-in loading method, device, server and the storage medium of PaaS platform
CN108984224A (en) * 2018-06-13 2018-12-11 中国平安人寿保险股份有限公司 A kind of plug-in management method, computer readable storage medium and terminal device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7433877B2 (en) * 2005-10-13 2008-10-07 International Business Machines Corporation System and method to dynamically check string length
JP2009037353A (en) * 2007-07-31 2009-02-19 Ricoh Co Ltd Information processing terminal device and program
US7877368B2 (en) * 2007-11-02 2011-01-25 Paglo Labs, Inc. Hosted searching of private local area network information with support for add-on applications
US20100287146A1 (en) * 2009-05-11 2010-11-11 Dean Skelton System and method for change analytics based forecast and query optimization and impact identification in a variance-based forecasting system with visualization
CN103677497B (en) * 2012-09-07 2017-10-27 腾讯科技(深圳)有限公司 Mobile terminal plug-in unit processing method, device and mobile terminal plug-in unit
US9607037B2 (en) * 2014-06-17 2017-03-28 International Business Machines Corporation Database schema upgrade as a service
CN104102489A (en) * 2014-07-24 2014-10-15 深圳市神州通在线科技有限公司 Third-party database APP (Application) construction system and construction method
US10503727B2 (en) * 2016-04-26 2019-12-10 Servicenow, Inc. System and method for mapping database changes
CN107025134B (en) * 2017-03-02 2020-09-25 北京三快在线科技有限公司 Database service system and method compatible with multiple databases
CN106941556B (en) * 2017-04-20 2020-08-04 青岛海信移动通信技术股份有限公司 Method and device for determining information of converged communication contact persons

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595221A (en) * 2018-04-26 2018-09-28 Oppo广东移动通信有限公司 Plug-in loading method, device, server and the storage medium of PaaS platform
CN108984224A (en) * 2018-06-13 2018-12-11 中国平安人寿保险股份有限公司 A kind of plug-in management method, computer readable storage medium and terminal device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵可新 ; 唐勇 ; 左维 ; 李春来 ; .空间数据插件技术研究.微计算机信息.2005,(26),全文. *

Also Published As

Publication number Publication date
CN109739868A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN108462760B (en) Electronic device, automatic cluster access domain name generation method and storage medium
CN108566290B (en) Service configuration management method, system, storage medium and server
CN111708749B (en) Operation log recording method and device, computer equipment and storage medium
CN104714827A (en) Plug-in update method and device
US11132191B2 (en) Software and firmware updates of computing systems
CN111698283B (en) Management and control method, device, equipment and storage medium of distributed cluster host
CN110708366A (en) Plug-in process management method, related method and related device
CN109739868B (en) Data processing method and related equipment thereof
CN107656750A (en) Update of plug-in method and device
CN104468811A (en) Upgrading method and device
CN108965403B (en) Operation and maintenance monitoring connection establishing method and terminal equipment
US20180059652A1 (en) Techniques for implementing universal commands in a welding or cutting system
CN105447384A (en) Anti-monitoring method and system and mobile terminal
CN110855525A (en) Flow statistical method, electronic device, system and medium
CN109753293A (en) A kind of processing method and relevant device of plug-in unit
CN113711570B (en) Method and system for enabling a computing device to communicate with a cloud network
CN111722888B (en) Operation execution method, device, equipment and readable storage medium
CN109951529B (en) Resource management method and device
WO2020253041A1 (en) Data storage method employing redis, apparatus, and computer-readable storage medium
CN112000354A (en) Version information updating method, version information updating device, version information updating equipment and storage medium
US11017032B1 (en) Document recovery utilizing serialized data
CN112486556B (en) Method, system, terminal and storage medium for server to be compatible with BMC
CN109769265B (en) Application program flow management method, system, device and computer medium
CN113542387B (en) System release method and device, electronic equipment and storage medium
CN115840782A (en) Method and device for synchronizing configuration parameters of operation and maintenance management platform of database all-in-one machine

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