Method and device for generating information

A technology for configuring and explaining information, applied in the computer field, can solve the problems of high cost, inconsistent style, low efficiency, etc., and achieve the effect of improving the efficiency of information generation

Pending Publication Date: 2020-02-11
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the method of means writing is not only costly and inefficient, but also may have the problem of inconsistency in style due to the participation of multiple people in writing

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 generating information
  • Method and device for generating information
  • Method and device for generating information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present disclosure 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 related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0027] It should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments.

[0028] figure 1 An exemplary system architecture 100 to which the method for generating information or the apparatus for generating information of an embodiment of the present disclosure can be applied is shown.

[0029] Such as figure 1 As shown, the system architect...

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 a method and device for generating information. One specific embodiment of the method comprises the following steps: analyzing a template and a script included in a received user interface component to obtain description information of the user interface component; generating a Markdown document according to the description information; obtaining an example and an example source code of the user interface component; and writing the example label character string established based on the example and the example source code into the Markdown document toobtain an explanation document for the user interface component. According to the embodiment, automatic generation of the UI component description document is realized, and the information generationefficiency is improved. Meanwhile, the generated explanation document can render examples and display example source codes.

Description

technical field [0001] Embodiments of the present disclosure relate to the field of computer technologies, and in particular to methods and devices for generating information. Background technique [0002] With the rapid development of front-end technology, front-end component development has also made great progress. With the realization of a set of UI (User Interface, user interface) component library, in general, it is necessary to provide a description document of each UI component in the UI component library, so that developers can quickly realize the business functions of the front-end page based on the UI component library. In addition, if the documentation of UI components can provide UI component-related sample rendering and corresponding source code for developers to read, development efficiency can be greatly improved. At this stage, manual writing is usually used to generate the description documents of UI components. However, the method of means writing is not...

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): G06F8/38G06F8/33G06F8/41G06F8/71
CPCG06F8/38G06F8/33G06F8/427G06F8/71
Inventor 律小娇
Owner BEIJING BAIDU NETCOM SCI & 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