Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for calling virtual interface in real time on basis of database service

A virtual interface and database technology, applied in the field of real-time invocation of virtual interfaces based on database services, can solve the problem of time-consuming and labor-intensive virtual interface codes, achieve the effect of fast search and invocation, and reduce the requirements of code familiarity

Pending Publication Date: 2018-01-12
BEIJING QIHOO TECH CO LTD +1
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Managing virtual interface code through documentation is time-consuming and labor-intensive

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 calling virtual interface in real time on basis of database service
  • Method and device for calling virtual interface in real time on basis of database service
  • Method and device for calling virtual interface in real time on basis of database service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0015] The virtual interface is generally used for testing, and it is opposite to the actual program interface to realize the virtualization of the actual program interface. The virtual interface does not involve the specific functions realized by the actual program interface, but only provides the called virtual interface and the specific test data returned according to the data type returned after the actual program interface is c...

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 calling a virtual interface in real time on the basis of a database service. The method includes: acquiring configuration information of the virtual interface which is input via a Web page, and storing the configuration information of the virtual interface in the database; monitoring a request that a client calls the virtual interface, and extractingan interface address of the virtual interface; and querying the configuration information of the virtual interface in a database according to the interface address of the virtual interface, and returning a returning value and / or response body corresponding to the virtual interface. Management of the configuration information of the virtual interface is performed by the database, and quick searching and calling of the virtual interface can be achieved; compared with the time of searching and calling code level virtual interfaces, the searching and calling time is greatly shortened; the virtualinterface is established through a Web page and a database storage manner, code compiling can be avoided, and the demand for the familiarity degree of a user to virtual interface codes is lowered.

Description

technical field [0001] The invention relates to the field of computer software, in particular to a method and device for invoking a virtual interface in real time based on database services. Background technique [0002] After the program code is developed, the coded program needs to be tested. When testing, the functions realized by related programs need to be jointly tested. However, due to the uncontrollability caused by various factors in the program development process, it often happens that the program with the first function has been developed, but the program that requires joint testing has not been developed, and joint testing cannot be performed. It is a waste of time to wait for the program development that requires joint testing to be completed before testing. Or the function of the tested program is limited, such as only testing once a day, relying on external resource interaction, etc., so there is an urgent need for a testing method to realize the joint test...

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
IPC IPC(8): G06F11/36
Inventor 闫耀珍俞樟欣
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products