Interface compatibility detection method and device, electronic equipment and storage medium

A detection method and compatibility technology, applied in software testing/debugging, hardware monitoring, etc., can solve the problems of incomplete detection and low efficiency, so as to improve efficiency, reduce the risk of missed detection, and improve the accuracy and efficiency of compatibility detection Effect

Pending Publication Date: 2022-07-12
PINGAN INT SMART CITY TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] During the software development process, code refactoring or database type compatibility or migration operations are often performed. Different database types or different versions will appear, which will cause differences in the structure data returned by the interface, and these differences are caused by the compatibility of different versions of the interface. Due to the problem, in order to solve the compatibility problem of different versions of the interface, the traditional technology detects hidden compatibility problems during user use or simulates user operations for compatibility testing. However, both of these two traditional compatibility detection methods exist Incomplete and inefficient detection of problems

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
  • Interface compatibility detection method and device, electronic equipment and storage medium
  • Interface compatibility detection method and device, electronic equipment and storage medium
  • Interface compatibility detection method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] figure 1 This is a flowchart of the interface compatibility detection method provided by the first embodiment of the present invention.

[0055] In this embodiment, the interface compatibility detection method can be applied to an electronic device. For an electronic device that needs to perform interface compatibility detection, the interface compatibility detection method provided by the method of the present invention can be directly integrated on the electronic device. function, or run in the electronic device in the form of a software development kit (Software Development Kit, SDK).

[0056] like figure 1 As shown, the interface compatibility detection method specifically includes the following steps. According to different requirements, the order of the steps in the flowchart may be changed, and some may be omitted.

[0057] S11: Parse the received interface compatibility detection request, and acquire the first feature value of each interface to be detected in ...

Embodiment 2

[0115] figure 2 It is a structural diagram of the interface compatibility detection apparatus provided by the second embodiment of the present invention.

[0116] In some embodiments, the interface compatibility detection apparatus 20 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the interface compatibility detection device 20 may be stored in the memory of the electronic device and executed by the at least one processor to execute (see details for details). figure 1 Description) The function of interface compatibility detection.

[0117] In this embodiment, the interface compatibility detection apparatus 20 may be divided into multiple functional modules according to the functions performed by the interface compatibility detection apparatus 20 . The functional modules may include: a parsing and obtaining module 201 , a judging module 202 , a receiving module 203 , an identification module 204 ,...

Embodiment 3

[0175] see image 3 As shown, it is a schematic structural diagram of an electronic device provided in Embodiment 3 of the present invention. In a preferred embodiment of the present invention, the electronic device 3 includes a memory 31 , at least one processor 32 , at least one communication bus 33 and a transceiver 34 .

[0176] Those skilled in the art should understand that, image 3 The shown structure of the electronic device does not constitute a limitation of the embodiments of the present invention, and it may be a bus-type structure or a star-shaped structure, and the electronic device 3 may also include more or less other hardware than the one shown in the figure. Or software, or a different arrangement of components.

[0177] In some embodiments, the electronic device 3 is an electronic device that can automatically perform numerical calculation and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limit...

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 relates to the technical field of data testing, and provides an interface compatibility detection method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a first feature value of each to-be-detected interface of a to-be-detected interface list; based on the first feature value of each to-be-detected interface, when it is determined that hierarchical comparison is executed on the structure data of each to-be-detected interface, receiving a second feature value of the structure data of each to-be-detected interface; identifying the type of the second characteristic value of the structural data of each to-be-detected interface; and performing hierarchical detection on the key value set of the second characteristic value of the structure data of each to-be-detected interface based on the type of the second characteristic value of the structure data of each to-be-detected interface to obtain a compatibility detection result. Layered detection is performed through the key value set of the second feature value of the structure data of each to-be-detected interface, so that the risk of missing detection is reduced, and the compatibility detection accuracy and efficiency of the interface are improved.

Description

technical field [0001] The invention relates to the technical field of data testing, in particular to an interface compatibility detection method, device, electronic device and storage medium. Background technique [0002] In the software development process, code refactoring or database type compatibility or migration operations are often performed. Different database types or different versions will appear, causing differences in the structural data returned by the interface. These differences are caused by the compatibility of different versions of the interface. Caused by the problem, in order to solve the compatibility problem of different versions of the interface, the traditional technology conducts compatibility testing by discovering hidden compatibility problems during user use or simulating user operations. However, these two traditional compatibility testing methods exist. Detection of incomplete and inefficient problems. SUMMARY OF THE INVENTION [0003] In v...

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 Applications(China)
IPC IPC(8): G06F11/30G06F11/36
CPCG06F11/3089G06F11/3672
Inventor 陆海鹏
Owner PINGAN INT SMART CITY TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products