Method for automatically converting interface data into webpage and storage medium

A technology for interface data and web pages, applied in the Internet field, can solve problems such as low efficiency

Inactive Publication Date: 2021-02-02
GUANGZHOU LANGO ELECTRONICS TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the above technical problems, the purpose of the present invention is to provide a method and storage medium for automatically converting interface data into web pages, which solves the problem of low efficiency caused by the need for programmers to rewrite codes every time interface data is transferred to web pages. The problem

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 for automatically converting interface data into webpage and storage medium
  • Method for automatically converting interface data into webpage and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0011] A method to automatically convert interface data into web pages, such as figure 1 shown, including:

[0012] Step S1: configure interface access address, interface request mode and interface return data type by visual editor;

[0013] Step S2: request the interface by the visual editor, and read the interface data according to the interface return data type;

[0014] Step S3: select several webpage elements in the visual editor, configure the attribute of each webpage element according to the interface data, form the configuration rule that the interface data is configured to each webpage element attribute;

[0015] Specifically, the web page elements may include picture elements and / or text elements.

[0016] It should be understood that the webpage elements of the present invention may be picture elements and text elements, but are not limited to picture elements and text elements, and the webpage elements are selected according to customer needs.

[0017] Specific...

Embodiment 2

[0027] The method for automatically converting interface data into web pages of the present invention includes:

[0028] Step S10: configure interface access address, interface request mode and interface return data type by visual editor;

[0029] Step S20: request the interface by the visual editor, and read the interface data according to the interface return data type;

[0030] Step S30: select several webpage elements in the visual editor, configure the attributes of each webpage element according to the interface data;

[0031] Step S31: adjust the attributes of the webpage elements through the visual editing area to form configuration rules for configuring the interface data to the attributes of each webpage element;

[0032] Different from Embodiment 1, the step of configuring the attributes of each webpage element according to the interface data further includes: adjusting the attributes of the webpage elements through the visual editing area.

[0033] The final conf...

Embodiment 3

[0037] Optionally, both the interface and the interface to be transferred are joint working data interfaces.

[0038] The method for automatically converting interface data into web pages in the present invention, such as figure 2 shown, including:

[0039] Step S000: When the interface and the interface to be transferred are joint working data interfaces, the data of the interface and the interface to be transferred are updated every set time.

[0040] It is worth noting that the setting time for data update of the interface and the interface to be transferred is the same, and no distinction is made.

[0041] Step S100: configure interface access address, interface request mode and interface return data type by visual editor;

[0042] Step S200: request the interface through the visual editor, and read the interface data according to the data type returned by the interface;

[0043] Step S300: select several webpage elements in the visual editor, configure the attributes ...

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 discloses a method for automatically converting interface data into a webpage and a storage medium. The method comprises the steps of: configuring an interface access address, an interface request mode and an interface return data type through a visual editor; requesting an interface through a visual editor, and reading interface data according to a data type returned by the interface; selecting a plurality of webpage elements in the visual editor, configuring attributes of the webpage elements according to the interface data, and forming configuration rules for configuring the interface data to the attributes of the webpage elements; obtaining to-be-transferred interface data, and obtaining attributes of webpage elements corresponding to the to-be-transferred interface databased on the configuration rule; and utilizing the dynamic webpage plug-in tool to generate webpage elements corresponding to the to-be-transferred interface data into a webpage to be displayed. According to the invention, the corresponding relationship between the interface data and the webpage attributes can be directly nested to generate the webpage, so that the problem of low efficiency due tothe fact that codes need to be rewritten by programmers when the interface data is converted into the webpage each time in the prior art is solved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and a storage medium for automatically converting interface data into web pages. Background technique [0002] With the rapid development of the Internet, web browsing has become more and more popular, and webpage generation has become indispensable. In the process of generating webpages in the prior art, most of them use programmers to write codes to generate webpages, but in the face of When more and more large amounts of data need to be converted into web pages, it often becomes difficult to rewrite the code every time through the programmer, and it increases the workload of the programmer, and the efficiency is not high. Contents of the invention [0003] In view of the above technical problems, the purpose of the present invention is to provide a method and storage medium for automatically converting interface data into web pages, which solves the problem of ...

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): G06F16/958G06F9/451
CPCG06F16/986G06F9/451
Inventor 邓嘉俊彭和平柒强
Owner GUANGZHOU LANGO ELECTRONICS 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