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

Interface document management method and device, server and storage medium

A document management and interface technology, applied in the computer field, can solve problems such as inconsistency between interfaces and interface documents, multi-time cost, inconsistent interface document formats, etc., to achieve the effect of ensuring consistency, realizing isolation, and realizing automatic construction

Active Publication Date: 2019-03-08
SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, due to the inconsistent format of the interface documents written by each team, it takes a lot of time and cost to communicate the interface during the project process
In addition, system version upgrades and interface changes need to update the interface documents in time, but the existing document management is not updated in time, resulting in the phenomenon that the actual interface and interface documents are not unified
Especially in the scenario where a system has multiple system services, that is to say, multiple versions share an interface document, and the interface information of multiple system services will interfere with each other.

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 document management method and device, server and storage medium
  • Interface document management method and device, server and storage medium
  • Interface document management method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Figure 1A It is a flow chart of an interface document management method provided by Embodiment 1 of the present invention. This embodiment is applicable to how to manage interface documents, especially applicable to the management of interface documents under the dubbo distributed service system, and can be applied to applications The management center, such as the management center (background server) of the WeChat platform, the application management center can aggregate the interface information of different system services. The method can be executed by the interface document management device provided by the embodiment of the present invention, and the device can be realized by software and / or hardware. see Figure 1A , the method specifically includes:

[0028] S110, subscribe to the registered system service from the distributed service center.

[0029] Among them, the distributed service center can be a platform that maintains or coordinates the relationship b...

Embodiment 2

[0049] figure 2 It is a flow chart of an interface document management method provided by Embodiment 2 of the present invention. This embodiment is further optimized on the basis of the foregoing embodiments. see figure 2 , the method specifically includes:

[0050] S210, subscribe to the registered system service from the distributed service center.

[0051] S220. Receive the address information of the system service fed back by the distributed service center.

[0052] S230, in response to the interface document construction instruction, based on the address information of the system service, call the first interface function associated with the system service to obtain corresponding interface information, and construct the interface document according to the obtained interface information.

[0053] S240. Obtain target interface information from the interface document.

[0054] In this embodiment, the interface document may be all the documents constructed by the applic...

Embodiment 3

[0062] image 3 A structural block diagram of an interface file management device provided in Embodiment 3 of the present invention, the device can be configured in an application management center, the device can execute the interface file management method provided in any embodiment of the present invention, and has the corresponding functions for executing the method Modules and benefits. Such as image 3 As shown, the device may include:

[0063] Subscription module 310, configured to subscribe registered system services to the distributed service center;

[0064] The receiving module 320 is configured to receive the address information of the system service fed back by the distributed service center;

[0065] The interface document construction module 330 is configured to respond to the interface document construction instruction, based on the address information of the system service, call the first interface function associated with the system service to obtain corre...

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 embodiment of the invention discloses an interface document management method and device, a server and a storage medium. The method comprises the following steps of subscribing registered system services from a distributed service center; receiving the address information of the system service fed back by the distributed service center; and in response to an interface document construction instruction, based on the address information of the system service, calling a first interface function associated with the system service to obtain corresponding interface information, and constructingan interface document according to the obtained interface information. According to the technical scheme provided by the embodiment of the invention, the consistency of the actual interface and the interface documents can be ensured, and the isolation of the interface documents between the system services is realized.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an interface document management method, device, server and storage medium. Background technique [0002] Usually, after a project is developed, the developer will upload an interface document describing all interface properties in the project, so that other developers can clearly understand the corresponding interface through the interface document. [0003] However, due to the inconsistent format of the interface documents written by each team, it takes a lot of time and cost to communicate the interface during the project process. In addition, system version upgrades and interface changes require timely updating of interface documents, but existing document management is not updated in a timely manner, resulting in inconsistent phenomena between actual interfaces and interface documents. Especially in a scenario where a certain system has multiple system services, that is t...

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): G06F8/73
CPCG06F8/73
Inventor 陈雪桂廖俊
Owner SHENZHEN LEXIN SOFTWARE 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