Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for processing database script publishing results

A processing method and database technology, applied in the computer field, can solve problems such as failure results that cannot be displayed normally

Active Publication Date: 2017-08-01
BEIJING GRIDSUM TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The main purpose of the present invention is to provide a method and device for processing database script publishing results, so as to solve the problem that in the prior art, when there is an error in database script execution in the continuous publishing process, the failure result cannot be displayed normally, resulting in Problems requiring manual inspection of execution results

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for processing database script publishing results
  • Method and device for processing database script publishing results
  • Method and device for processing database script publishing results

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] The embodiment of the present invention provides a method for releasing results by a database script.

[0021] figure 1 is a flowchart of a method for publishing results by a database script according to an embodiment of the present invention. Such as figure 1 As shown, the method includes the following steps:

[0022] Step S101, acquiring the execution log of the database script.

[0023] Specifically, in the above step S101, the execution log of the database script is generated during the process of executing the database script. By directly monitoring the execution process of the database script, the execution log generated during the execution process can be obtained.

[0024] Step S103, merging the execution logs when an error occurs in the execution of the database script to generate a log file.

[0025] Specifically, in the above step S103, the execution results of these scripts should be judged uniformly, so the execution error logs in these directories sho...

Embodiment 2

[0058] The embodiment of the present invention also provides a processing device for publishing results of database scripts, such as image 3 As shown, the apparatus may include: an acquisition module 201 , a first processing module 203 , a determination module 205 and a verification module 207 .

[0059] Wherein, the acquiring module 201 is configured to acquire the execution log of the database script.

[0060] Specifically, in the above acquisition module 201, the execution log of the database script is generated during the process of executing the database script. By directly monitoring the execution process of the database script, the execution log generated during the execution process can be obtained.

[0061] The first processing module 203 is configured to combine the execution logs when an error occurs in the execution of the database script to generate a log file.

[0062] Specifically, in the above-mentioned first processing module 203, a unified judgment should ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for processing an issued result of a database script. The method includes the steps of obtaining execution logs of the database script, combining the execution logs generated when errors happen to database script execution to generate a log file, determining whether to generate a judgment file or not by judging whether content exists in the log file or not, verifying the judgment file, and judging whether issuing of the database script is successful or not according to the verification operation. The method and the device solve the problems that due to the fact that in the prior art, when errors happen to database script execution in the continuous issuing process, the unsuccessful result can not be normally displayed, and the execution result needs to be examined through manual work each time after continuous issuing.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for processing database script publishing results. Background technique [0002] Continuous release is a method to automate the fixed manual software release process, through which software release can be automated with one click. Publishing usually includes: compilation and deployment of applications, update execution of database scripts, running of automated test cases, etc. And automatically judge the release results, and notify relevant personnel of the results by email or other forms. As a continuous release tool, Hudson can realize the function of automatic software release. [0003] In the process of using Hudson for continuous publishing, if an error occurs during the execution of the database script while other publishing links are correct, the publishing result will be displayed as successful. But the actual release result we expected at this time should ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30G06F9/44
CPCG06F9/4482G06F11/3414G06F16/1734
Inventor 李鑫
Owner BEIJING GRIDSUM TECH CO LTD