CN110716914A - Database configuration method, system, computer readable storage medium and terminal equipment - Google Patents

Database configuration method, system, computer readable storage medium and terminal equipment Download PDF

Info

Publication number
CN110716914A
CN110716914A CN201910822840.9A CN201910822840A CN110716914A CN 110716914 A CN110716914 A CN 110716914A CN 201910822840 A CN201910822840 A CN 201910822840A CN 110716914 A CN110716914 A CN 110716914A
Authority
CN
China
Prior art keywords
target
information
database
script
configuration
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.)
Pending
Application number
CN201910822840.9A
Other languages
Chinese (zh)
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910822840.9A priority Critical patent/CN110716914A/en
Publication of CN110716914A publication Critical patent/CN110716914A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases

Abstract

The invention relates to the technical field of development and discloses a database configuration method, a database configuration system, a computer readable storage medium and terminal equipment. The method comprises the following steps: determining a target database selected by a user, acquiring system information and a version environment of the target database from a mapping file, acquiring configuration information of the target database from a configuration file according to the system information and the version environment, and outputting the target configuration information, so that the user can configure the target database by using the target configuration information. By implementing the method, the configuration efficiency of the database can be greatly improved.

Description

Database configuration method, system, computer readable storage medium and terminal equipment
Technical Field
The present invention relates to the field of development technologies, and in particular, to a database configuration method, a database configuration system, a computer-readable storage medium, and a terminal device.
Background
Multi-system interaction often involves data interaction of multiple databases, and before data interaction of multiple databases is realized, database configuration is indispensable. If the versions and/or environments of the databases are different, the corresponding configuration methods are usually different, and it is found in practice that the configuration operation of the databases is usually complicated, and if the versions and/or environments of a plurality of databases involved in multi-system interaction are different, then the configuration operation of the plurality of databases usually takes a lot of time in the multi-system interaction process.
Disclosure of Invention
The invention provides a database configuration method, a system, a computer readable storage medium and terminal equipment, and aims to solve the technical problem that the time consumption for configuring a database is long in a multi-system interaction process.
A database configuration method, the method comprising:
determining a target database selected by a user;
acquiring target system information and target version environment information of the target database from a mapping file; the mapping file stores the mapping relation among database information, system information and version environment information;
acquiring target configuration information of the target database from a configuration file according to the target system information and the target version environment information; the configuration file stores the mapping relation of system information, version environment information and configuration information;
and outputting the target configuration information so that the user can configure the target database by using the target configuration information.
A database configuration system, comprising:
the determining unit is used for determining a target database selected by a user;
the acquisition unit is used for acquiring target system information and target version environment information of the target database from a mapping file; the mapping file is stored with mapping relation of database information, system information and version environment information, and target configuration information of the target database is obtained from a configuration file according to the target system information and the target version environment information; the configuration file stores the mapping relation of system information, version environment information and configuration information;
and the output unit is used for outputting the target configuration information so that a user can realize the configuration of the target database by using the target configuration information.
A terminal device, the terminal device comprising:
a processor;
a memory having computer readable instructions stored thereon which, when executed by the processor, implement the method as previously described.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
the database configuration method provided by the invention comprises the following steps of determining a target database selected by a user, acquiring system information and version environment of the target database from a mapping file, acquiring configuration information of the target database from a configuration file according to the system information and the version environment, and outputting the target configuration information so that the user can configure the target database by using the target configuration information.
Under the method, the mapping file and the configuration file are preset on the system to realize the quick acquisition of the configuration file of the target database, and a user does not need to write the configuration file in the process of configuring the database by implementing the method, so that the configuration efficiency of the database can be greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram of an apparatus according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a database configuration method in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a database configuration method according to another exemplary embodiment;
FIG. 4 is a block diagram illustrating a database configuration system in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating a database configuration system in accordance with another exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The implementation environment of the database configuration system disclosed by the invention can be terminal equipment, such as a smart phone, a tablet computer and a desktop computer. FIG. 1 is a schematic diagram illustrating an apparatus according to an exemplary embodiment. The apparatus 100 may be the terminal device described above. As shown in fig. 1, the apparatus 100 may include one or more of the following components: a processing component 102, a memory 104, a power component 106, a multimedia component 108, an audio component 110, a sensor component 114, and a communication component 116.
The processing component 102 generally controls overall operation of the device 100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations, among others. The processing components 102 may include one or more processors 118 to execute instructions to perform all or a portion of the steps of the methods described below. Further, the processing component 102 can include one or more modules for facilitating interaction between the processing component 102 and other components. For example, the processing component 102 can include a multimedia module for facilitating interaction between the multimedia component 108 and the processing component 102.
The memory 104 is configured to store various types of data to support operations at the apparatus 100. Examples of such data include instructions for any application or method operating on the device 100. The Memory 104 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically erasable Programmable Read-Only Memory (EEPROM), erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. Also stored in memory 104 are one or more modules for execution by the one or more processors 118 to perform all or a portion of the steps of the methods described below.
The power supply component 106 provides power to the various components of the device 100. The power components 106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 100.
The multimedia component 108 includes a screen that provides an output interface between the device 100 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a touch panel. If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. The screen may further include an Organic Light Emitting Display (OLED for short).
The audio component 110 is configured to output and/or input audio signals. For example, the audio component 110 includes a Microphone (MIC) configured to receive external audio signals when the device 100 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 104 or transmitted via the communication component 116. In some embodiments, the audio component 110 further comprises a speaker for outputting audio signals.
The sensor assembly 114 includes one or more sensors for providing various aspects of status assessment for the device 100. For example, the sensor assembly 114 may detect the open/closed status of the device 100, the relative positioning of the components, the sensor assembly 114 may also detect a change in position of the device 100 or a component of the device 100, and a change in temperature of the device 100. In some embodiments, the sensor assembly 114 may also include a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 116 is configured to facilitate wired or wireless communication between the apparatus 100 and other devices. The device 100 may access a Wireless network based on a communication standard, such as WiFi (Wireless-Fidelity). In an exemplary embodiment, the communication component 116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 116 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, bluetooth technology, and other technologies.
In an exemplary embodiment, the apparatus 100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital signal processors, digital signal processing devices, programmable logic devices, field programmable gate arrays, controllers, microcontrollers, microprocessors or other electronic components for performing the methods described below.
FIG. 2 is a flow chart illustrating a database configuration method according to an exemplary embodiment. As shown in fig. 2, the method includes the following steps.
Step 210, determining a target database selected by the user.
Step 220, acquiring target system information and target version environment information of a target database from the mapping file; the mapping file stores the mapping relation among database information, system information and version environment information.
In this exemplary embodiment, the database information mentioned in step 220 may include at least a database identifier having a uniqueness for identifying the database, so obtaining the target system information and the target version environment information of the target database from the mapping file may include: and acquiring the database identifier of the target database, and acquiring the target system information and the target version environment information of the target database from the mapping file according to the database identifier of the target database. By implementing the method, the high-efficiency acquisition of the target system information and the target version environment information can be realized by utilizing the database identification. The system information may at least include a system name and a system operating environment, and the version environment information may at least include a version number of the database.
Step 230, acquiring target configuration information of the target database from the configuration file according to the target system information and the target version environment information; the configuration file stores the mapping relationship among the system information, the version environment information and the configuration information.
And 240, outputting the target configuration information so that the user can configure the target database by using the target configuration information.
Optionally, in an exemplary embodiment, after the step 240 is completed, it may further be detected whether a method call instruction for the target database is received, and when the method call instruction is received, the target method is obtained according to the method call instruction.
Further optionally, in this exemplary embodiment, obtaining the target method according to the method call instruction may include:
acquiring a first program code and a second program code which are matched with the method calling instruction; the first program code is used for indicating the identification information of the target class, and the second program code is used for indicating the identification information of the target method;
and obtaining a target class according to the first program code, and obtaining a target method from the target class according to the second program code.
In this exemplary embodiment, after obtaining the target method from the target class according to the second program code, it may further detect whether a new class exists, and when the new class exists, determine whether the new class is included in the system packaging class library, and when the new class is not included in the system packaging class library, include the new class in the system packaging class library. By implementing the exemplary embodiment, the method class can be stored by using the system encapsulation class library, so that the user can conveniently call the method class, and in addition, the method for recording the new class can be used for realizing the continuous updating of the system encapsulation class library.
In the exemplary embodiment, when the library creating instruction is detected, the library creating script matched with the library creating instruction can be obtained from the system script library, so that a user can use the library creating script to realize the rapid creation of the database. The library establishing instruction may include a database type and system information, and when the library establishing instruction is detected, acquiring a library establishing script matched with the library establishing instruction from a system script library may include: when a database building instruction is detected, the database type and the system information indicated by the database building instruction are obtained, the target version number of the database type is determined from a database version set according to the database type and the system information, and a database building script corresponding to the target version number of the database type is obtained from a system script library. By implementing the method, the user can realize high-efficiency library building operation, and the use experience of the user is further improved.
By implementing the method, the mapping file and the configuration file are preset on the system to realize the quick acquisition of the configuration file of the target database, a user does not need to write the configuration file in the process of configuring the database, the configuration efficiency of the database can be greatly improved, the high-efficiency acquisition of target system information and target version environment information can also be realized, the continuous updating of a system encapsulation class library can also be realized by a method for recording and creating new classes, and the high-efficiency library creation can also be realized by assisting the user.
FIG. 3 is a flow chart illustrating a database configuration method according to another exemplary embodiment. As shown in fig. 3, steps 310 to 340 are respectively the same as steps 210 to 240 shown in fig. 2, and are not described herein again, and in addition, the database configuration method in this embodiment may further include the following steps:
step 350, detecting whether an operation instruction aiming at the target database is received, and if so, executing the step 360 to the step 370; if not, step 380 is performed.
In the embodiment of the present invention, the operation instruction of step 350 may be an operation of adding, deleting, updating, or querying a field of the target database.
And step 360, acquiring a target operation script matched with the operation instruction from the script file corresponding to the target database.
And step 370, controlling the target operation script to run.
By executing the steps 350 to 370, the operation for operating the target database can be quickly realized through the target operation script without writing a statement by a user, so that the operation efficiency for operating the target database can be greatly improved.
Step 380, detecting whether a newly added operation script aiming at the target database exists, if so, executing step 390; if not, the journey is ended.
Step 390, judging whether the script file contains the above-mentioned new operation script, if not, executing step 3100; if so, the flow ends.
Step 3100, writing the new operation script into the script file.
The script file may be an Extensible Markup Language (xml) file, which is convenient for unified management and optimization, and the script file corresponding to the target database may include a plurality of xml tags and an operation script set under each xml tag. Therefore, the writing the new operation script into the script file may include: and acquiring an xml tag corresponding to the newly added operation script, and writing the newly added operation script into an operation script set corresponding to the xml tag.
In the exemplary embodiment, a plurality of operation scripts and operation information of each operation script for the target database are stored in the script file; wherein the operation information at least comprises an operation time point of each operation and operator information of each operation. Then, writing the new operation script into the script file may include: acquiring a creating time point and creating personnel information of a newly added operation script; taking the creation time point and the creator information as operation information of a newly added operation script; and writing the operation script and the operation information of the new operation script into a script file.
It should be noted that the operation for the operation script may include creating the operation script and calling the operation script, so the operation time point includes a creation time point of the operation script and a calling time point of the operation script, and the operator information includes creator information of the operation script and person information called each time.
Optionally, in an exemplary embodiment, when it is detected that the target database is abnormal, a user may input an inquiry instruction for the operation information of the target database, when the inquiry instruction is received, acquire an inquiry condition carried by the inquiry instruction, search an operation script meeting the inquiry condition from a script file of the target database, and output the operation script meeting the inquiry condition for the user to perform abnormality analysis. The query condition carried by the query instruction may be a single query condition, such as a time range or a job number of an operator, or may be a composite query condition, such as a combination of a time range and a job number of an operator. By implementing the method, the high-efficiency analysis of the database exception can be realized by utilizing the script file under the condition that the target database is abnormal, so that the processing efficiency of the target database exception is effectively improved.
By implementing the method, the mapping file and the configuration file are preset on the system to realize the quick acquisition of the configuration file of the target database, a user does not need to write the configuration file in the process of configuring the database, the configuration efficiency of the database can be greatly improved, the high-efficiency acquisition of target system information and target version environment information can also be realized, the continuous updating of a system encapsulation class library can also be realized by a method for recording and creating a new class, the user can also be assisted to realize high-efficiency library creation, the subsequent maintenance of the target database can also be facilitated, the processing efficiency of the abnormity of the target database can also be effectively improved, and the operation efficiency aiming at the target database can also be greatly improved.
The following are embodiments of the database configuration system disclosed herein.
FIG. 4 is a block diagram illustrating a database configuration system in accordance with an exemplary embodiment. As shown in fig. 4, the database configuration system may include:
a determining unit 401, configured to determine a target database selected by a user.
An obtaining unit 402, configured to obtain target system information and target version environment information of a target database from a mapping file; the mapping file stores mapping relations of database information, system information and version environment information, and acquires target configuration information of a target database from a configuration file according to the target system information and the target version environment information; the configuration file stores mapping relations of system information, version environment information and configuration information.
In this exemplary embodiment, the database information at least may include a database identifier, and the database identifier has uniqueness, which is used to identify the database, so the manner for the obtaining unit 402 to obtain the target system information and the target version environment information of the target database from the mapping file may specifically be:
an obtaining unit 402, configured to obtain a database identifier of the target database, and obtain target system information and target version environment information of the target database from the mapping file according to the database identifier of the target database. By implementing the exemplary embodiment, efficient acquisition of target system information and target version environment information is achieved using database identification. The system information may at least include a system name and a system operating environment, and the version environment information may at least include a version number of the database.
And an output unit 403, configured to output the target configuration information, so that the user can configure the target database by using the target configuration information.
Optionally, in an exemplary embodiment, the output unit 403 may be further configured to detect whether a method call instruction for the target database is received after the target configuration information is output;
the obtaining unit 402 may be further configured to obtain a target method according to the method call instruction when the method call instruction is received.
Further optionally, in this exemplary embodiment, when receiving the method call instruction, a manner of obtaining the target method according to the method call instruction by the obtaining unit 402 may specifically be:
the obtaining unit 402, configured to, when the method call instruction is received, obtain a first program code and a second program code that match the method call instruction; the first program code is used for indicating the identification information of the target class, and the second program code is used for indicating the identification information of the target method; and obtaining a target class according to the first program code, and obtaining a target method from the target class according to the second program code.
The obtaining unit 402 may be further configured to, after obtaining the target method from the target class according to the second program code, detect whether a new class exists, and when the new class exists, determine whether the system encapsulation class library includes the new class; and when the first detection unit judges that the system packaging class library does not contain the new class, the new class is recorded into the system packaging class library.
By implementing the exemplary embodiment, the method class can be stored by using the system encapsulation class library, so that the user can conveniently call the method class, and in addition, the method for recording the new class can be used for realizing the continuous updating of the system encapsulation class library.
In another exemplary embodiment, the obtaining unit 402 may be further configured to, when the library creating instruction is detected, obtain a library creating script matched with the library creating instruction from the system script library, so that a user may use the library creating script to implement fast creation of the database. In this exemplary embodiment, the library creating instruction may include a database type and system information, and the manner that the obtaining unit 402 is used to obtain the library creating script matched with the library creating instruction from the system script library when the library creating instruction is detected may specifically be:
an obtaining unit 402, configured to, when a library creating instruction is detected, obtain a database type and system information indicated by the library creating instruction, determine a target version number of the database type from a database version set according to the database type and the system information, and obtain a library creating script corresponding to the target version number of the database type from a system script library. By implementing the exemplary embodiment, the user can realize efficient library building operation, and the use experience of the user is further improved.
By implementing the database configuration system, the mapping file and the configuration file are preset on the system to realize the quick acquisition of the target database configuration file, a user does not need to write the configuration file in the process of configuring the database, the configuration efficiency of the database can be greatly improved, the high-efficiency acquisition of target system information and target version environment information can also be realized, the continuous updating of a system encapsulation class library can also be realized by a method for recording and creating new classes, and the high-efficiency library creation can also be realized by assisting the user.
FIG. 5 is a block diagram illustrating a database configuration system in accordance with another exemplary embodiment. The database configuration system shown in fig. 5 is optimized by the database configuration system shown in fig. 4, and the database configuration system shown in fig. 5 may further include:
a detecting unit 404, configured to detect whether an operation instruction for the target database is received.
It should be noted that the output unit 403 may be further configured to send a start instruction to the detection unit 404 after outputting the target configuration information, so as to trigger the detection unit 404 to perform the operation of detecting whether the operation instruction for the target database is received.
The obtaining unit 402 may be further configured to, when receiving an operation instruction for the target database, obtain a target operation script matched with the operation instruction from a script file corresponding to the target database, and control the target operation script to run.
The operation aiming at the operation target database can be quickly realized through the target operation script without compiling sentences by a user, and the operation efficiency aiming at the target database can be greatly improved.
In this exemplary embodiment, the detecting unit 404 may be further configured to detect whether there is an additional operation script for the target database, and when there is the additional operation script, determine whether the script file includes the additional operation script; and writing the newly added operation script into the script file when the script file is judged not to contain the newly added operation script.
The script file may be an Extensible Markup Language (xml) file, which is convenient for unified management and optimization, and the script file corresponding to the target database may include a plurality of xml tags and an operation script set under each xml tag. The detecting unit 404 may obtain an xml tag corresponding to the newly added operation script, and write the newly added operation script into an operation script set corresponding to the xml tag.
In the exemplary embodiment, a plurality of operation scripts and operation information of each operation script for a target database are stored in the script file; wherein the operation information at least comprises an operation time point of each operation and operator information of each operation. Therefore, when the detecting unit 404 determines that the script file does not include the newly added operation script, the method for writing the newly added operation script into the script file may specifically be:
the detecting unit 404 is configured to, when it is determined that the script file does not include the newly added operation script, obtain a creation time point and creator information of the newly added operation script, use the creation time point and the creator information as operation information of the newly added operation script, and write the operation information of the newly added operation script and the newly added operation script into the script file.
It should be noted that, the operation for the operation script may include creating the operation script and calling the operation script, so the operation time point includes a creation time point of the operation script and a calling time point of the operation script, and the operator information includes creator information of the operation script and person information called each time.
Optionally, in an exemplary embodiment, when it is detected that the target database is abnormal, a user may input an inquiry instruction for the operation information of the target database, and the detecting unit 404 may be further configured to, when receiving the inquiry instruction, obtain an inquiry condition carried by the inquiry instruction, search an operation script meeting the inquiry condition from a script file of the target database, and output the operation script meeting the inquiry condition for the user to perform abnormality analysis. The query condition carried by the query instruction may be a single query condition, such as a time range or a job number of an operator, or may be a composite query condition, such as a combination of a time range and a job number of an operator. By implementing the exemplary embodiment, the efficient analysis of the database exception can be realized by using the script file under the condition that the target database is abnormal, so that the processing efficiency of the target database exception is effectively improved.
By implementing the database configuration system, the mapping file and the configuration file are preset on the system to realize the quick acquisition of the target database configuration file, a user does not need to write the configuration file in the process of configuring the database, the configuration efficiency of the database can be greatly improved, the high-efficiency acquisition of target system information and target version environment information can also be realized, the continuous updating of a system encapsulation class library can also be realized by a method for recording and creating a new class, the high-efficiency library building of the user can also be assisted, the subsequent maintenance of the target database can also be facilitated, the processing efficiency of the abnormity of the target database can also be effectively improved, and the operation efficiency aiming at the target database can also be greatly improved.
The present invention also provides a terminal device, including:
a processor;
a memory having stored thereon computer readable instructions which, when executed by the processor, implement the database configuration method as previously described.
The terminal device may be the apparatus 100 shown in fig. 1.
In an exemplary embodiment, the present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the database configuration method as previously described.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A database configuration method, comprising:
determining a target database selected by a user;
acquiring target system information and target version environment information of the target database from a mapping file; the mapping file stores the mapping relation among database information, system information and version environment information;
acquiring target configuration information of the target database from a configuration file according to the target system information and the target version environment information; the configuration file stores the mapping relation of system information, version environment information and configuration information;
and outputting the target configuration information so that the user can configure the target database by using the target configuration information.
2. The method of claim 1, wherein after outputting the target configuration information to enable a user to configure the target database using the target configuration information, the method further comprises:
detecting whether a method calling instruction for the target database is received;
and when the method calling instruction is received, obtaining a target method according to the method calling instruction.
3. The method of claim 2, wherein obtaining a target method according to the method call instruction comprises:
acquiring a first program code and a second program code which are matched with the method calling instruction; wherein the first program code is used for indicating identification information of a target class, and the second program code is used for indicating identification information of a target method;
and obtaining the target class according to the first program code, and obtaining the target method from the target class according to the second program code.
4. The method of claim 3, wherein after obtaining the target method from the target class according to the second program code, the method further comprises:
detecting whether a new class exists;
when the new class exists, judging whether the system packaging class library comprises the new class or not;
and when the system packaging class library does not contain the new class, recording the new class into the system packaging class library.
5. The method of claim 1, wherein after outputting the target configuration information to enable a user to configure the target database using the target configuration information, the method further comprises:
detecting whether an operation instruction aiming at the target database is received;
when the operation instruction is received, acquiring a target operation script matched with the operation instruction from a script file corresponding to the target database;
and controlling the target operation script to run.
6. The method of claim 5, wherein after controlling the target operation script to run, the method further comprises:
detecting whether a newly added operation script aiming at the target database exists or not;
when the newly added operation script exists, judging whether the script file contains the newly added operation script or not;
and when the script file does not contain the newly added operation script, writing the newly added operation script into the script file.
7. The method according to claim 5 or 6, wherein a plurality of operation scripts of the target database and operation information of each operation script are stored in the script file; the operation information at least comprises an operation time point of each operation and operator information of each operation;
when the script file does not contain the newly added operation script, writing the newly added operation script into the script file, including:
when the script file does not contain the newly added operation script, acquiring the creation time point and the information of the creator of the newly added operation script;
taking the creation time point and the creator information as operation information of the newly added operation script;
and writing the operation script and the operation information of the newly added operation script into the script file.
8. A database configuration system, comprising:
the determining unit is used for determining a target database selected by a user;
the acquisition unit is used for acquiring target system information and target version environment information of the target database from a mapping file; the mapping file is stored with mapping relation of database information, system information and version environment information, and target configuration information of the target database is obtained from a configuration file according to the target system information and the target version environment information; the configuration file stores the mapping relation of system information, version environment information and configuration information;
and the output unit is used for outputting the target configuration information so that a user can realize the configuration of the target database by using the target configuration information.
9. A computer-readable storage medium storing a computer program for causing a computer to execute the database configuration method according to any one of claims 1 to 7.
10. A terminal device, characterized in that the terminal device comprises:
a processor;
a memory having computer readable instructions stored thereon which, when executed by the processor, implement the database configuration method of any of claims 1-7.
CN201910822840.9A 2019-09-02 2019-09-02 Database configuration method, system, computer readable storage medium and terminal equipment Pending CN110716914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910822840.9A CN110716914A (en) 2019-09-02 2019-09-02 Database configuration method, system, computer readable storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910822840.9A CN110716914A (en) 2019-09-02 2019-09-02 Database configuration method, system, computer readable storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN110716914A true CN110716914A (en) 2020-01-21

Family

ID=69209609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910822840.9A Pending CN110716914A (en) 2019-09-02 2019-09-02 Database configuration method, system, computer readable storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN110716914A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256670A (en) * 2020-10-10 2021-01-22 中国农业银行股份有限公司河北省分行 Data migration method, terminal device and readable storage medium
CN112463253A (en) * 2020-12-11 2021-03-09 北京浪潮数据技术有限公司 Platform configuration method, system, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260149A (en) * 1990-12-10 1992-09-16 Internatl Business Mach Corp <Ibm> Computer program for defining constitution of network, method for forming constituent parameter for network and system for constituting network
WO2017177769A1 (en) * 2016-04-11 2017-10-19 平安科技(深圳)有限公司 Ogg version deployment method and system, server, and storage medium
US20180032632A1 (en) * 2016-07-29 2018-02-01 ALQIMI Analytics & Intelligence, LLC System and methods for retrieving data using a database configuration file
CN107665141A (en) * 2016-07-27 2018-02-06 腾讯科技(深圳)有限公司 A kind of configuration method for database and its equipment
US20180285353A1 (en) * 2017-03-28 2018-10-04 Commvault Systems, Inc. Migration of a database management system to cloud storage
CN108804618A (en) * 2018-05-31 2018-11-13 康键信息技术(深圳)有限公司 Configuration method for database, device, computer equipment and storage medium
CN109117305A (en) * 2018-07-24 2019-01-01 郑州市景安网络科技股份有限公司 A kind of data back up method, device, equipment and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260149A (en) * 1990-12-10 1992-09-16 Internatl Business Mach Corp <Ibm> Computer program for defining constitution of network, method for forming constituent parameter for network and system for constituting network
WO2017177769A1 (en) * 2016-04-11 2017-10-19 平安科技(深圳)有限公司 Ogg version deployment method and system, server, and storage medium
CN107665141A (en) * 2016-07-27 2018-02-06 腾讯科技(深圳)有限公司 A kind of configuration method for database and its equipment
US20180032632A1 (en) * 2016-07-29 2018-02-01 ALQIMI Analytics & Intelligence, LLC System and methods for retrieving data using a database configuration file
US20180285353A1 (en) * 2017-03-28 2018-10-04 Commvault Systems, Inc. Migration of a database management system to cloud storage
CN108804618A (en) * 2018-05-31 2018-11-13 康键信息技术(深圳)有限公司 Configuration method for database, device, computer equipment and storage medium
CN109117305A (en) * 2018-07-24 2019-01-01 郑州市景安网络科技股份有限公司 A kind of data back up method, device, equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马蕾;李凌;时小鸿;: "关系数据库和XML文档数据交换的映射机制", 情报杂志, no. 10 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256670A (en) * 2020-10-10 2021-01-22 中国农业银行股份有限公司河北省分行 Data migration method, terminal device and readable storage medium
CN112463253A (en) * 2020-12-11 2021-03-09 北京浪潮数据技术有限公司 Platform configuration method, system, equipment and storage medium
CN112463253B (en) * 2020-12-11 2023-12-22 北京浪潮数据技术有限公司 Platform configuration method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106951228B (en) Method and device for processing differences in version iteration
CN110069401B (en) System test abnormality positioning method and system based on data modeling
CN104536891B (en) System detection method and device
CN106896932A (en) A kind of candidate word recommends method and device
CN110162442B (en) System performance bottleneck positioning method and system
CN106201610A (en) Web application accesses the method and device of the primary function of terminal
CN110347672A (en) Verification method and device, the electronic equipment and storage medium of tables of data related update
CN110119354A (en) Method for testing software, device and electronic equipment based on Test cases technology
CN105376412A (en) Information processing method and device
CN109101293A (en) Theme configuration method and device, electronic equipment, computer readable storage medium
CN110716914A (en) Database configuration method, system, computer readable storage medium and terminal equipment
CN109885791A (en) A kind of front end page access method, device and electronic equipment
CN105183571A (en) Function calling method and device
CN107450912A (en) Layout method, device and the terminal of the page
CN109857921A (en) A kind of document management method and document file management system updated based on data
CN107402756B (en) Method, device and terminal for drawing page
CN113010157A (en) Code generation method and device
CN112416751A (en) Processing method and device for interface automation test and storage medium
CN105204879A (en) Application updating method and device
CN111857672A (en) Business development method, device, equipment and medium based on SQL configuration
CN106293683B (en) Project compiling method and device
CN110780894B (en) Thermal upgrade processing method and device and electronic equipment
CN105930332A (en) Code release and query method and terminal
CN109857392A (en) A kind of intelligent developed method, apparatus and electronic equipment of HTML5 component
CN109840160A (en) It is a kind of abnormal for several detection methods, device and terminal device based on Data Migration

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