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

Interface code generation method and device

A technology for interface code and code generation, applied in code compilation, program code conversion, creation/generation of source code, etc., can solve problems such as integration, difficult code, and no code generation function, so as to ensure consistency and meet user needs Effect

Pending Publication Date: 2022-03-29
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, using the document management interface requires relying on R&D personnel to maintain the interface manually, and writing software according to the interface definition is also done manually
Using an open source interface management platform, the generated interface code cannot meet the needs of R&D personnel, and it is difficult to integrate with the business's own code, or there is no code generation function

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 code generation method and device
  • Interface code generation method and device
  • Interface code generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present disclosure, but not to limit the present disclosure. It should also be noted that, for the convenience of description, only the parts related to the present disclosure are shown in the drawings.

[0032] 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. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0033] figure 1 An exemplary architecture 100 to which the interface code generation method or interface code generation device of the present application can be applied is shown.

[0034] Such as figure 1 As shown, the system architecture 100 may include termina...

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 code generation method and device. A specific embodiment of the method comprises the following steps: in response to receiving a modified interface description language corresponding to a target interface, judging whether interface information corresponding to the target interface is changed or not based on the modified interface description language, and after determining that the interface information corresponding to the target interface is changed, updating the interface information corresponding to the target interface, and finally, according to the updated interface information of the target interface and the preset code generation information, generating an updated interface code corresponding to the target interface. Therefore, the interface information can be automatically updated based on the modified interface description language, the updated interface code of the target interface is automatically generated, the language of the target interface does not need to be changed, and the consistency of interface definition is ensured.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method and device for generating interface codes. Background technique [0002] With the rapid development of Internet technology, in the research and development process of Internet companies today, software clients and back-end services developed by Internet companies interact according to interface definitions. In order to facilitate interface management, a mechanism is provided for massive interfaces. Define and manage interfaces, such as using documents, open source interface management platforms, or interface management platforms developed by Internet companies to manage interfaces. [0003] However, when using the document management interface, it is necessary to rely on R&D personnel to maintain the interface manually, and the software writing according to the interface definition is also done manually. Using an open source interface m...

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/30G06F8/41
CPCG06F8/31G06F8/447Y02D10/00
Inventor 不公告发明人
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD