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

Database software upgrade detection method and device

A technology of software upgrade and detection method, which is applied in the field of communication, can solve the problems of high cost and low efficiency of software upgrade test, and achieve the effect of reducing test cost and improving the efficiency of software upgrade test

Active Publication Date: 2020-09-15
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] The present invention provides a database software upgrade detection method and device to at least solve the problems of low efficiency and high cost of database software upgrade testing in the related art

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
  • Database software upgrade detection method and device
  • Database software upgrade detection method and device
  • Database software upgrade detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0052] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.

[0053] In this embodiment, a database software upgrade detection method is provided, figure 1 is a flow chart of a database software upgrade detection method according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:

[0054] Step S102, obtaining an upgrade program statement of the software database to be tested, and intercepting a change statement in the upgrade program statement, the ch...

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

A method and device for detecting software upgrade of database. The method comprises: acquiring an upgrade program statement of a software database under test, and retrieving a change statement in the upgrade program statement, the change statement being a statement changing an instance of a published software database into an instance of the software database under test (S102); acquiring an initialization statement of the published software database, and extracting a database table and field information corresponding to a table name of a database in the change statement from the initialization statement, the database table and the field information comprising constraint information and field type information (S104); and after detecting whether the execution of the change statement violates the constraint information, detecting whether the change statement matches the field type information (S106). The present invention addresses the problem of low-efficiency and high-cost testing of the software upgrade of the database, improving the testing efficiency of the software upgrade of the database and reducing the test cost.

Description

technical field [0001] The invention relates to the communication field, in particular to a database software upgrade detection method and device. Background technique [0002] During the operation of computer software, new problems will continue to appear. Some are faults caused by code loopholes, some are adaptive defects caused by changes in the software and hardware environment, and some are new requirements raised by users during use. These problems are generally resolved by software upgrades to newer versions. On the other hand, in order to enhance the competitiveness of the software, it is also necessary to continuously upgrade to improve the product. Therefore, software upgrades become more and more necessary and common in later maintenance, and become an indispensable process in the software life cycle. [0003] A series of versions released by software research and development generally require higher versions to support upgrades from lower versions, which is so...

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): G06F8/65G06F8/71
CPCG06F9/445
Inventor 郝志帅姜野
Owner ZTE CORP