CN109522295A - A kind of database object constructs automatically, dispositions method and device - Google Patents
A kind of database object constructs automatically, dispositions method and device Download PDFInfo
- Publication number
- CN109522295A CN109522295A CN201811365703.9A CN201811365703A CN109522295A CN 109522295 A CN109522295 A CN 109522295A CN 201811365703 A CN201811365703 A CN 201811365703A CN 109522295 A CN109522295 A CN 109522295A
- Authority
- CN
- China
- Prior art keywords
- file
- sound code
- installation
- code file
- database object
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present application provide a kind of database object construct automatically, dispositions method and device, this method passes through obtains current not at least one tested sound code file from oss server;Each database object at least one sound code file is extracted, object is generated and deletes file;According to delete file, each sound code file executes sequence at least one sound code file and at least one sound code file, generate for installation file;Resource file is sent to test library server, it triggers test library server and installation process is executed according to resource file automatically, obtain the automatic installation results of database object, resource file includes the mode for deleting file, installation file and at least one sound code file, realize automatic building, the deployment to database object, for the mode for manually being constructed, being disposed to the database object of sound code file, improves database object building and deployment efficiency, saved cost of labor.
Description
Technical field
The present invention relates to database object buildings, deployment techniques field, certainly more specifically to a kind of database object
Dynamic building, dispositions method and device.
Background technique
Continuous integrating: a kind of practice of software, i.e. team exploitation member often integrate their work, by it is each at
Member is at least integrated primary daily, also mean that may occur daily repeatedly it is integrated.It is integrated every time to require to database pair
The correctness of the sound code file of exploitation member's exploitation is verified as being constructed and being disposed, to find integrated mistake as soon as possible.
It is currently by manually realizing building and deployment to database object in sound code file, such building, dispositions method
Usually there is a problem of time-consuming and laborious easy error, building and deployment cycle length.Especially with the substantial increase of sound code file,
The mode manually constructed to the database object of sound code file, disposed is unable to satisfy the demand of continuous integrating at all.
In view of this, how to provide a kind of database object construct automatically, dispositions method and device, to improve database pair
As constructing and disposing efficiency, save cost of labor, it is a problem to be solved.
Summary of the invention
In view of this, the present invention provide a kind of database object construct automatically, dispositions method and device, to improve database
Object building and deployment efficiency save cost of labor.
Technical solution is as follows:
A kind of database object constructs automatically, dispositions method, comprising:
At least one sound code file is obtained from oss server, at least one described sound code file includes the source code clothes
Current not tested each sound code file in business device;
It extracts each database object at least one described sound code file and generates object deletion file, the object is deleted
Except file includes the sentence for deleting each database object in local data base;
According to each source in object deletion file, at least one sound code file and at least one described sound code file
The execution of code file is sequentially generated installation file, and the installation file deletes file and each described for characterizing the object
Sequence is executed between sound code file;
Resource file is sent to test library server, the test library server is triggered and is held automatically according to the resource file
Row installation process, obtains the automatic installation results of database object, the resource file include the deletion file, installation file with
And at least one sound code file.
Preferably, each database object at least one sound code file described in the extraction generates object and deletes file
Before, this method further include:
It determines at least one described sound code file, is unsatisfactory for each source code text of pre-set filename Naming conventions
Part;
The sound code file for carrying same user name mark is obtained from identified each sound code file, and will be carried same
The listed files information of each sound code file of user name mark is sent to the user of user name mark instruction.
Preferably, further includes:
Receive the source code being located at least one described sound code file that the user indicates the listed files information
The modification of the filename of file operates, and modifies the filename of the sound code file.
Preferably, file, at least one sound code file and at least one described source code text are being deleted according to the object
The execution of each sound code file is sequentially generated before installation file in part, this method further include:
It, will be described when the coded format of sound code file at least one described sound code file is not pre-arranged code format
The coded format of sound code file is converted to the pre-arranged code format.
Preferably, described that file, at least one sound code file and at least one described source code are deleted according to the object
The execution of each sound code file is sequentially generated installation file in file, comprising:
The data manipulation type of filename instruction based on sound code file determines each at least one described sound code file
The sound code file executes sequence;
File, which is deleted, according to preset object executes sequence and at least one described source code text relative to sound code file
Each sound code file executes sequence, generation installation file in part.
Preferably, described to send resource file to test library server, the test library server is triggered according to the money
Source file executes installation process automatically, obtains the automatic installation results of database object, comprising:
The deletion file, installation file and at least one sound code file are sent to test library server, described in triggering
Test library file executes sequence according to what the installation file indicated, executes the deletion file and at least one sound code file,
Obtain the automatic installation results of database object, the resource file include the deletion file, installation file and at least one
Sound code file.
Preferably, the automatic installation results of the database object include the installation process for characterizing the resource file
Installation log, this method further include:
The installation log is parsed, the installation error message in the installation log is obtained;
The installation error message, which is sent to, leads to generate the user that the sound code file of the installation error message carries
The user of name mark instruction.
Preferably, further includes:
The errorlevel information for obtaining the pre-set installation error message, by the errorlevel information with it is described
Installation error message association;
It is described the installation error message is sent to cause to generate the installation error message sound code file carry
The user of user name mark instruction, comprising: being sent to the installation error message for being associated with errorlevel information causes to produce
The user for the user name mark instruction that the sound code file of the raw installation error message carries.
A kind of database object constructs automatically, disposes device, comprising:
Sound code file acquiring unit, for obtaining at least one sound code file from oss server, it is described at least one
Sound code file includes current not tested each sound code file in the oss server;
Database object extraction unit is generated for extracting each database object at least one described sound code file
Object deletes file, and it includes the language for deleting each database object in local data base that the object, which deletes file,
Sentence;
Installation file generation unit, for according to the object delete file, at least one sound code file and it is described extremely
The execution of each sound code file is sequentially generated installation file in a few sound code file, and the installation file is described right for characterizing
Sequence is executed between file and each sound code file as deleting;
Database object automatic deployment unit triggers the test library for sending resource file to test library server
Server executes installation process according to the resource file automatically, obtains the automatic installation results of database object, the resource text
Part includes the deletion file, installation file and at least one sound code file.
Preferably, the automatic installation results of the database object include the installation process for characterizing the resource file
Installation log, the device further include:
Installation log resolution unit obtains the setup error letter in the installation log for parsing the installation log
Breath;
Installation error message prompt unit leads to generate the setup error for the installation error message to be sent to
The user for the user name mark instruction that the sound code file of information carries.
The embodiment of the present application provide a kind of database object construct automatically, dispositions method and device, this method is by from source
Current not at least one tested sound code file is obtained in code server;Extract each data at least one sound code file
Library object generates object and deletes file;It is each in file, at least one sound code file and at least one sound code file according to deleting
A sound code file executes sequence, generates and is used for installation file;Resource file, triggering test library clothes are sent to test library server
Business device executes installation process according to resource file automatically, obtains the automatic installation results of database object, and resource file includes deleting
The mode of file, installation file and at least one sound code file realizes automatic building, deployment to database object, phase
For for the mode that is manually constructed, disposed to the database object of sound code file, improve database object building and
Deployment efficiency has saved cost of labor.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 be a kind of database object provided by the embodiments of the present application construct automatically, dispositions method flow chart;
Fig. 2 is provided by the embodiments of the present application a kind of to delete file, at least one sound code file and at least according to object
The execution of each sound code file is sequentially generated the method flow diagram of installation file in one sound code file;
Fig. 3 be another database object provided by the embodiments of the present application construct automatically, dispositions method flow chart;
Fig. 4 is the structural schematic diagram that a kind of database object provided by the embodiments of the present application constructed automatically, disposed device.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Embodiment:
Fig. 1 be a kind of database object provided by the embodiments of the present application construct automatically, dispositions method flow chart.
As shown in Figure 1, this method comprises:
S101, at least one sound code file is obtained from oss server, at least one sound code file includes source code service
Current not tested each sound code file in device;
S102, each database object extracted at least one sound code file generate object deletion file, and object is deleted
File includes the sentence for deleting each database object in local data base;
In the embodiment of the present application, for each sound code file at least one sound code file, the sound code file is extracted
In each database object;For from each database object extracted at least one sound code file, generation is used for
The sentence of the database object in local data base is deleted, correspondingly, being made of object all sentences generated deletes file.
For example, extracting 3 database objects, respectively database object 1, database from least one sound code file
Object 2 and database object 3;The sentence 1 for deleting database object 1 in local data base is generated, is generated for deleting this
The sentence 2 of database object 2 in ground database, and generate the sentence 3 for deleting database object 3 in local data base;
It generates object and deletes file, it includes sentence 1, sentence 2 and sentence 3 in file which, which deletes,.
S103, file is deleted according to object, each source code at least one sound code file and at least one sound code file
The execution of file is sequentially generated installation file;
The embodiment of the present application provides a kind of according to object deletion file, at least one sound code file and at least one source code
The execution of each sound code file is sequentially generated the method flow diagram of installation file in file, specifically refers to Fig. 2.As shown in Fig. 2,
This method comprises:
The data manipulation type that S201, the filename based on sound code file indicate determines each at least one sound code file
A sound code file executes sequence;
In the embodiment of the present application, filename Naming conventions are previously provided with, filename Naming conventions are used to indicate source code
The prefix of the filename of file is crt, ilter, ins, upd or del;When the prefix of sound code file filename is crt, show
The sound code file is used to create database object (the data manipulation type of the filename instruction of the sound code file is creation type);
When the filename prefix of sound code file is ilter, show the sound code file for the field length progress to database object
Modification (the data manipulation type of the filename instruction of the sound code file is the first modification type);When the filename of sound code file
When prefix is ins, show the sound code file for being increased (the filename of the sound code file to the data in database object
The data manipulation type of instruction is to increase type);When the prefix of the filename of sound code file is upd, show the sound code file
For modifying to data in database object, (the data manipulation type of the filename instruction of the sound code file is the second modification
Type);When the prefix of the filename of sound code file is del, show sound code file for carrying out to data in database object
Delete (the data manipulation type of the filename instruction of the sound code file is to delete type).
The data manipulation type of filename instruction is to create the execution sequence of the sound code file of type earlier than filename instruction
Data manipulation type be first modification type sound code file;The data manipulation type of filename instruction is the first modification type
Sound code file execution sequence earlier than filename instruction data manipulation type be increase type sound code file;Filename refers to
The data manipulation type shown is that the execution sequence of the sound code file of increase type is earlier than the data manipulation type of filename instruction
The sound code file of second modification type;The data manipulation type of filename instruction is the execution of the sound code file of the second modification type
Sequence is to delete the sound code file of type earlier than the data manipulation type of filename instruction.
The application not to filename instruction identical two sound code files of data manipulation type between execution sequence into
Row limits, for example, there are two sound code files, respectively sound code file 1 and sound code file 2, and sound code file 1 and sound code file 2
Filename instruction data manipulation type it is identical, the embodiment of the present application can be set sound code file 1 execution sequence earlier than source
Code file 2, the execution sequence that sound code file 1 also can be set are later than sound code file 2.
The embodiment of the present application, the data manipulation type of the filename instruction based on sound code file, can determine at least one
Each sound code file executes sequence in sound code file.
S202, sequence and at least one source code are executed relative to sound code file according to preset object deletion file
Each sound code file executes sequence, generation installation file in file.
In the embodiment of the present application, it is that object is deleted that preset object, which deletes file relative to the execution sequence of sound code file,
The execution sequence of file executes sequence earlier than sound code file.For example, if the embodiment of the present application determines that an object deletes file
And at least one sound code file, at least one sound code file include sound code file 1, sound code file 2 and sound code file 3;At least
The execution sequence of each sound code file is sound code file 2, sound code file 3 and sound code file 1 in one sound code file;Based on this,
Installation file is generated, installation file instruction first carries out object and deletes file, executing sound code file 2, executing sound code file again
3, sound code file 1 is executed again.
S104, resource file is sent to test library server, triggering test library server executes automatically according to resource file
Installation process, obtains the automatic installation results of database object, resource file include delete file, installation file and at least one
Sound code file.
In the embodiment of the present application, it is DROP file that object, which deletes file, and installation file is SHELL installation file.More than
Only object provided by the embodiments of the present application deletes the preferred form of expression of file and installation file, and related object deletes file
With the specific manifestation form of installation file, inventor can be configured according to their own needs, it is not limited here.
Further, a kind of database object provided by the embodiments of the present application construct automatically, dispositions method, extract at least
Before each database object in one sound code file generates object deletion file, this method further include: determine at least one
In sound code file, it is unsatisfactory for each sound code file of pre-set filename Naming conventions;From identified each source code text
The sound code file for carrying same user name mark is obtained in part, and will carry the text of each sound code file of same user name mark
Part list information is sent to the user of user name mark instruction.
The embodiment of the present application, filename Naming conventions be used to indicate the filename of sound code file prefix be crt,
When ilter, ins, upd or del, obtaining filename prefix from least one sound code file is not crt, ilter, ins, upd
With the sound code file of any one in del, and each sound code file that will acquire is determined as one and is unsatisfactory for presetting
Filename Naming conventions sound code file.
Wherein, sound code file carries the user identifier of the user for providing from sound code file to oss server;If to
Determine that 3 sound code files are unsatisfactory for pre-set file naming convention, and this 3 sound code files point in a few sound code file
Not Wei sound code file 1, sound code file 2 and when sound code file 3, if the user identifier that sound code file 1 carries is user identifier 2, source
The user identifier that code file 2 carries is user identifier 3, and the user identifier that sound code file 3 carries is user identifier 2;It will then generate
Two listed files information, respectively listed files information 1 (listed files information 1 indicate sound code file 1 and sound code file 3) and
Listed files information 2 (listed files information 2 indicates sound code file 2);And listed files information 1 is sent to user identifier 2 and is referred to
Listed files information 2 is sent to the user that user identifier 3 indicates by the user shown.
Correspondingly, a kind of database object provided by the embodiments of the present application constructs automatically, dispositions method, can also include:
The modification of the filename for the sound code file being located at least one sound code file that reception user indicates listed files information is grasped
Make, modifies the filename of sound code file.
For example, receiving the source that the user that user identifier 2 indicates indicates the listed files information 1 stored in oss server
The modification operation of the filename of code file 1 and sound code file 2, modifies the filename of the sound code file 1 stored in oss server
With the filename of sound code file 2 so that the filename of the sound code file 1 stored in oss server meets pre-set text
Part name Naming conventions, so that the filename of sound code file 2 meets pre-set filename Naming conventions;Receive user identifier 3
The modification of the filename for the sound code file 2 that the user of instruction indicates the listed files information 2 stored in oss server operates,
The filename of the sound code file 2 stored in modification oss server, so that the text of the sound code file 2 stored in oss server
Part name meets pre-set filename Naming conventions.
Further, a kind of database object provided by the embodiments of the present application construct automatically, dispositions method, according to object
The execution of each sound code file is sequentially generated installation in deletion file, at least one sound code file and at least one sound code file
Before file, further includes:, will when the coded format of the sound code file at least one sound code file is not pre-arranged code format
The coded format of sound code file is converted to pre-arranged code format.
In the embodiment of the present application, when test library server is unix server, pre-arranged code format can be UTF-8
(BOM no);When test library server is AIX server, pre-arranged code format can be UNIX newline format.Above only
It is only the preferred embodiment of pre-arranged code format provided by the embodiments of the present application, the particular content in relation to pre-arranged code format, invention
People can be configured according to their own needs, it is not limited here.
Fig. 3 be another database object provided by the embodiments of the present application construct automatically, dispositions method flow chart.
As shown in figure 3, this method comprises:
S301, at least one sound code file is obtained from oss server, at least one sound code file includes source code service
Current not tested each sound code file in device;
S302, each database object extracted at least one sound code file generate object deletion file, and object is deleted
File includes the sentence for deleting each database object in local data base;
S303, file is deleted according to object, each source code at least one sound code file and at least one sound code file
The execution of file is sequentially generated installation file, and installation file is deleted between file and each sound code file for characterizing object
Execute sequence;
S304, it is sent to test library server and deletes file, installation file and at least one sound code file, triggering test
Library file executes sequence according to installation file instruction, executes and deletes file and at least one sound code file, obtains database pair
As automatic installation results, the automatic installation results of database object include the installation day for characterizing the installation process of resource file
Will;
S305, parsing installation log, obtain the installation error message in installation log;
S306, installation error message is sent to user's identifier that the sound code file for causing to generate installation error message carries
Know the user of instruction.
Further, a kind of database object provided by the embodiments of the present application constructs automatically, dispositions method is getting peace
After filling the installation error message in log, pre-set errorlevel letter corresponding with the installation error message can also be obtained
Breath, and the errorlevel information that this is got is associated with the installation error message;Correspondingly, being sent by installation error message
When identifying the user of instruction to the user name for causing the sound code file for generating installation error message to carry, it can will be associated with installation
The installation error message of errorlevel information is sent to the user's identifier for causing the sound code file of the installation error message to carry
Know the user of instruction.
Fig. 4 is the structural schematic diagram that a kind of database object provided by the embodiments of the present application constructed automatically, disposed device.
As shown in figure 4, the device includes:
Sound code file acquiring unit 41, for obtaining at least one sound code file from oss server, at least one source
Code file includes current not tested each sound code file in oss server;
Database object extraction unit 42, for extracting the generation pair of each database object at least one sound code file
As deleting file, it includes the sentence for deleting each database object in local data base that object, which deletes file,;
Installation file generation unit 43, for according to object delete file, at least one sound code file and at least one
The execution of each sound code file is sequentially generated installation file in sound code file, installation file for characterize object delete file and
Sequence is executed between each sound code file;
Database object automatic deployment unit 44, for sending resource file, triggering test library clothes to test library server
Business device executes installation process according to resource file automatically, obtains the automatic installation results of database object, and resource file includes deleting
File, installation file and at least one sound code file.
In the embodiment of the present application, the automatic installation results of database object include the installation process for characterizing resource file
Installation log, which constructs automatically, disposes device further include: installation log resolution unit, for parsing installation
Log obtains the installation error message in installation log;Installation error message prompt unit, for sending installation error message
To the user for the user name mark instruction for causing the sound code file for generating installation error message to carry.
The embodiment of the present application provide a kind of database object construct automatically, dispositions method and device, this method is by from source
Current not at least one tested sound code file is obtained in code server;Extract each data at least one sound code file
Library object generates object and deletes file;It is each in file, at least one sound code file and at least one sound code file according to deleting
A sound code file executes sequence, generates and is used for installation file;Resource file, triggering test library clothes are sent to test library server
Business device executes installation process according to resource file automatically, obtains the automatic installation results of database object, and resource file includes deleting
The mode of file, installation file and at least one sound code file realizes automatic building, deployment to database object, phase
For for the mode that is manually constructed, disposed to the database object of sound code file, improve database object building and
Deployment efficiency has saved cost of labor.
Above to a kind of database object provided by the present invention constructs automatically, dispositions method and device have carried out detailed Jie
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair
Bright thought, there will be changes in the specific implementation manner and application range, and to sum up, the content of the present specification should not be construed as
Limitation of the present invention.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For the device disclosed in the embodiment, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, phase
Place is closed referring to method part illustration.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the element that the process, method, article or equipment including a series of elements is intrinsic,
It further include either the element intrinsic for these process, method, article or equipments.In the absence of more restrictions,
The element limited by sentence "including a ...", it is not excluded that in the process, method, article or equipment for including element also
There are other identical elements.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of database object constructs automatically, dispositions method characterized by comprising
At least one sound code file is obtained from oss server, at least one described sound code file includes the oss server
In current not tested each sound code file;
It extracts each database object at least one described sound code file and generates object deletion file, the object deletes text
Part includes the sentence for deleting each database object in local data base;
Each source code text in file, at least one sound code file and at least one described sound code file is deleted according to the object
The execution of part is sequentially generated installation file, and the installation file deletes file and each source code for characterizing the object
Sequence is executed between file;
Resource file is sent to test library server, the test library server is triggered according to the resource file and executes peace automatically
Dress process, obtains the automatic installation results of database object, and the resource file includes the deletion file, installation file and extremely
A few sound code file.
2. the method according to claim 1, wherein each at least one sound code file described in the extraction
Before database object generates object deletion file, this method further include:
It determines at least one described sound code file, is unsatisfactory for each sound code file of pre-set filename Naming conventions;
The sound code file for carrying same user name mark is obtained from identified each sound code file, and will carry same user
The listed files information of each sound code file of name mark is sent to the user of user name mark instruction.
3. according to the method described in claim 2, it is characterized by further comprising:
Receive the sound code file being located at least one described sound code file that the user indicates the listed files information
Filename modification operation, modify the filename of the sound code file.
4. the method according to claim 1, wherein deleting file, at least one source code according to the object
The execution of each sound code file is sequentially generated before installation file in file and at least one described sound code file, and this method is also
Include:
When the coded format of sound code file at least one described sound code file is not pre-arranged code format, by the source code
The coded format of file is converted to the pre-arranged code format.
5. the method according to claim 1, wherein described delete file, at least one source according to the object
The execution of each sound code file is sequentially generated installation file in code file and at least one described sound code file, comprising:
The data manipulation type of filename instruction based on sound code file determines each described at least one described sound code file
Sound code file executes sequence;
File executing in sequence and at least one described sound code file relative to sound code file is deleted according to preset object
Each sound code file executes sequence, generates installation file.
6. the method according to claim 1, wherein described send resource file, triggering to test library server
The test library server executes installation process according to the resource file automatically, obtains the automatic installation results of database object,
Include:
The deletion file, installation file and at least one sound code file are sent to test library server, triggers the test
Library file executes sequence according to what the installation file indicated, executes the deletion file and at least one sound code file, obtains
The automatic installation results of database object, the resource file include the deletion file, installation file and at least one source code
File.
7. according to the method described in claim 6, it is characterized in that, the automatic installation results of the database object include being used for table
Levy the installation log of the installation process of the resource file, this method further include:
The installation log is parsed, the installation error message in the installation log is obtained;
The installation error message, which is sent to, leads to generate user's identifier that the sound code file of the installation error message carries
Know the user of instruction.
8. the method according to the description of claim 7 is characterized in that further include:
The errorlevel information for obtaining the pre-set installation error message, by the errorlevel information and the installation
Error message association;
Described be sent to the installation error message leads to generate the user that the sound code file of the installation error message carries
The user of name mark instruction, comprising: being sent to the installation error message for being associated with errorlevel information causes to generate institute
State the user of the user name mark instruction of the sound code file carrying of installation error message.
9. a kind of database object constructs automatically, disposes device characterized by comprising
Sound code file acquiring unit, for obtaining at least one sound code file, at least one described source code from oss server
File includes current not tested each sound code file in the oss server;
Database object extraction unit generates object for extracting each database object at least one described sound code file
File is deleted, it includes the sentence for deleting each database object in local data base that the object, which deletes file,;
Installation file generation unit, for deleting file, at least one sound code file and described at least one according to the object
The execution of each sound code file is sequentially generated installation file in a sound code file, and the installation file is deleted for characterizing the object
Except executing sequence between file and each sound code file;
Database object automatic deployment unit triggers the test library service for sending resource file to test library server
Device executes installation process according to the resource file automatically, obtains the automatic installation results of database object, the resource bundle
Include the deletion file, installation file and at least one sound code file.
10. device according to claim 9, which is characterized in that the automatic installation results of database object include being used for
The installation log of the installation process of the resource file is characterized, the device further include:
Installation log resolution unit obtains the installation error message in the installation log for parsing the installation log;
Installation error message prompt unit leads to generate the installation error message for the installation error message to be sent to
Sound code file carry user name mark instruction user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811365703.9A CN109522295B (en) | 2018-11-16 | 2018-11-16 | Automatic database object constructing and deploying method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811365703.9A CN109522295B (en) | 2018-11-16 | 2018-11-16 | Automatic database object constructing and deploying method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109522295A true CN109522295A (en) | 2019-03-26 |
CN109522295B CN109522295B (en) | 2021-07-20 |
Family
ID=65778382
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811365703.9A Active CN109522295B (en) | 2018-11-16 | 2018-11-16 | Automatic database object constructing and deploying method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109522295B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489401A (en) * | 2019-08-26 | 2019-11-22 | 浪潮通用软件有限公司 | A kind of dispositions method and device of database object |
CN111782442A (en) * | 2020-06-23 | 2020-10-16 | 深圳威尔视觉传媒有限公司 | Equipment exception handling method and system, electronic equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101789886A (en) * | 2009-01-23 | 2010-07-28 | 中兴通讯股份有限公司 | Environment setup automation system of distribution type environment and method |
CN104717233A (en) * | 2013-12-11 | 2015-06-17 | 中国电信股份有限公司 | Database deployment method and device |
CN106445485A (en) * | 2016-03-28 | 2017-02-22 | 中国电力科学研究院 | Software version consistency detection system and detection method thereof |
CN106991104A (en) * | 2016-01-21 | 2017-07-28 | 泰康保险集团股份有限公司 | Database script disposes device and database script dispositions method |
CN107291437A (en) * | 2016-04-13 | 2017-10-24 | 上海思立微电子科技有限公司 | Issue bag version information production method, device and terminal |
CN107357593A (en) * | 2017-08-24 | 2017-11-17 | 武汉斗鱼网络科技有限公司 | Source code file construction method, device, electric terminal and readable storage medium storing program for executing |
CN107515766A (en) * | 2017-08-24 | 2017-12-26 | 北京锐安科技有限公司 | Generation method, deployment installation method and the device of database deployment file |
CN107844301A (en) * | 2017-12-12 | 2018-03-27 | 苏州蜗牛数字科技股份有限公司 | A kind of Android application channel closes bag method and device |
CN108090095A (en) * | 2016-11-23 | 2018-05-29 | 北京国双科技有限公司 | The method and apparatus that batch rebuilds database |
-
2018
- 2018-11-16 CN CN201811365703.9A patent/CN109522295B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101789886A (en) * | 2009-01-23 | 2010-07-28 | 中兴通讯股份有限公司 | Environment setup automation system of distribution type environment and method |
CN104717233A (en) * | 2013-12-11 | 2015-06-17 | 中国电信股份有限公司 | Database deployment method and device |
CN106991104A (en) * | 2016-01-21 | 2017-07-28 | 泰康保险集团股份有限公司 | Database script disposes device and database script dispositions method |
CN106445485A (en) * | 2016-03-28 | 2017-02-22 | 中国电力科学研究院 | Software version consistency detection system and detection method thereof |
CN107291437A (en) * | 2016-04-13 | 2017-10-24 | 上海思立微电子科技有限公司 | Issue bag version information production method, device and terminal |
CN108090095A (en) * | 2016-11-23 | 2018-05-29 | 北京国双科技有限公司 | The method and apparatus that batch rebuilds database |
CN107357593A (en) * | 2017-08-24 | 2017-11-17 | 武汉斗鱼网络科技有限公司 | Source code file construction method, device, electric terminal and readable storage medium storing program for executing |
CN107515766A (en) * | 2017-08-24 | 2017-12-26 | 北京锐安科技有限公司 | Generation method, deployment installation method and the device of database deployment file |
CN107844301A (en) * | 2017-12-12 | 2018-03-27 | 苏州蜗牛数字科技股份有限公司 | A kind of Android application channel closes bag method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489401A (en) * | 2019-08-26 | 2019-11-22 | 浪潮通用软件有限公司 | A kind of dispositions method and device of database object |
CN110489401B (en) * | 2019-08-26 | 2022-12-27 | 浪潮通用软件有限公司 | Method and device for deploying database objects |
CN111782442A (en) * | 2020-06-23 | 2020-10-16 | 深圳威尔视觉传媒有限公司 | Equipment exception handling method and system, electronic equipment and storage medium |
CN111782442B (en) * | 2020-06-23 | 2024-01-12 | 深圳威尔视觉传媒有限公司 | Device exception handling method, system, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109522295B (en) | 2021-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111176976B (en) | Test data generation method and device, storage medium and electronic device | |
CN104899047B (en) | Web page frame dispositions method and system | |
CN106155651B (en) | The automation publication of application version and the method and system of update | |
CN103268226B (en) | A kind of test script file generates method and device | |
CN104021231B (en) | The method and apparatus that webpage is shown in browser | |
CN109460358B (en) | Configuration management method and system based on Cmdb | |
CN105808701B (en) | Realize the method and system communicated between list automatic Verification and multisystem | |
CN109522295A (en) | A kind of database object constructs automatically, dispositions method and device | |
CN105471635B (en) | A kind of processing method of system log, device and system | |
CN109388426B (en) | Window parameter configuration method and system and computer readable medium | |
CN111104108B (en) | Display interface WPF generation method and device | |
CN103020318A (en) | Method for maintenance of database tables in database | |
CN109002390A (en) | A kind of test case dynamic state of parameters configuration method and device | |
CN103139260A (en) | Method and system for reusing hypertext markup language (HTML) content | |
CN101300559A (en) | Extensible remote tag markup system and method | |
CN106528066B (en) | Business process operation method and device | |
CN109144843A (en) | The method and apparatus for testing environment deployment | |
CN105094787B (en) | Method and device for processing enterprise internet application | |
CN113204680A (en) | Nuclear power plant personnel positioning method, device, equipment and storage medium | |
CN103997492A (en) | Adaption system and method | |
CN104461893A (en) | Data processing method and data processing device | |
US10693780B2 (en) | Creating endpoints | |
CN110389886B (en) | Additional function testing method and device of main application program and storage medium | |
US9471650B2 (en) | System and method for contextual workflow automation | |
US20110055279A1 (en) | Application server, object management method, and object management program |
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 |