Method, system and apparatus for generating interface document

A technology of interface configuration and interface file, which is applied in the system field, can solve problems such as reduced accuracy rate, influence on system maintenance and normal work, inconsistency between interface document and system implementation, and achieve the effect of improving accuracy and reducing the workload of document writing

Inactive Publication Date: 2009-08-05
ALIBABA GRP HLDG LTD
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since the document and the system implementation are separated, when the system interface changes and the interface configuration file is updated, it is not possible to generate a new interface document at the first time, but requires technicians to find the interface change and read the interface configuration file. Modify the interface document, so that the update of the interface document depends entirely on the

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, system and apparatus for generating interface document
  • Method, system and apparatus for generating interface document
  • Method, system and apparatus for generating interface document

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Such as figure 1 As shown, it is Embodiment 1 of the present invention, a document generation method based on periodically sending interface document generation instructions, including the following steps:

[0050] Step S101 , sending an interface document generation instruction according to the cycle mode setting.

[0051] The sending period of the interface document generation command is set according to the system interface update frequency requirements, such as hourly, daily or other periodical settings.

[0052] The update frequency can be manually set according to the actual change of the system interface, or can be controlled by programs, such as: QUARTZ API, crontab that comes with the Linux operating system, etc.

[0053] Step S102, receiving an interface document generation instruction issued according to the above setting mode, and acquiring an interface identifier for which a new interface document needs to be generated.

[0054] It can be set to perform t...

Embodiment 2

[0067] Such as figure 2 As shown, it is Embodiment 2 of the present invention, a document generation method based on real-time detection of system interface, comprising the following steps:

[0068] Step S201 , detecting system interface information in real time, and detecting whether the system interface information is changed.

[0069] When it is found that the system interface information has changed, go to step S202.

[0070] Step S202, sending an interface document generation instruction.

[0071] Step S203, receiving the above-mentioned interface document generation instruction, and obtaining the interface identifier for which a new interface document needs to be generated.

[0072] Step S204, reading the interface configuration file of the corresponding interface to obtain the configuration information of the interface.

[0073] Step S205. Generate an interface document of the interface according to the configuration information.

[0074] The opera...

Embodiment 3

[0076] Such as image 3 As shown, it is Embodiment 3 of the present invention, a system for generating interface documents, including:

[0077] Task scheduler 1, configured to send interface document generation instructions;

[0078] The document generator 2 is configured to read the configuration document of the current interface and generate the interface document of the interface according to the interface document generation instruction sent by the task scheduler 1 .

[0079] Such as Figure 4 As shown, it is Embodiment 4 of the present invention, a task scheduler 1 based on periodically sending interface document generation instructions, including:

[0080] Mode setting module 11, for setting the transmission mode of interface document generation instruction;

[0081] The instruction sending module 12 is configured to send the interface document generation instruction to the document generator 2 according to the interface document generation instruction s...

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

One embodiment of this invention discloses a method of generating an interface file, comprising following steps: receiving a generation instruction of interface file; reading an interface configuration file according to the generation instruction of interface file, and acquiring a configuration information of current interface; generating an interface file of the interface corresponding to the interface configuration file based on the configuration information. The embodiment of this invention further discloses a system and device for generating an interface file. The automatic synchronization of the interface file and the system realization are guaranteed via applying this invention, thereby greatly reducing the working amount of the technical operator to edit the interface file.

Description

technical field [0001] The present invention relates to the technical field of systems, in particular to a method, system and device for generating interface documents. Background technique [0002] The communication rules between different functional layers of the same system are called interfaces. [0003] Properties, methods, events, and types (Structure) can be declared in the interface (but not variables), but the specific values ​​of these members cannot be set, that is, they can only be defined, and cannot be assigned to the things defined in it. [0004] The file describing the configuration of the interface is the interface configuration file. In the prior art, the staff needs to read the interface configuration file and manually write the interface document according to the information in the interface configuration file. [0005] Since the document and the system implementation are separated, when the system interface changes and the interface configuration file ...

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): G06F9/44G06F9/46
Inventor 金伟安
Owner ALIBABA GRP HLDG 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