Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Data processing method and front-end code generation device

A code generation and data processing technology, applied in the field of data processing, can solve problems such as high error rate and repeated work, and achieve the effect of automatic generation

Active Publication Date: 2017-07-07
CHINA MOBILE COMM GRP CO LTD
View PDF13 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] The front-end pages of the Web pages in the mobile health business field have a lot of repetitive work in the code development process, and the codes corresponding to these front-end pages usually need to be manually coded by developers, and the error rate is high; therefore, how to implement the front-end pages? The corresponding code, that is, the automatic generation of front-end code, reducing repeated development, and saving development costs have become a problem that needs to be solved urgently

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
  • Data processing method and front-end code generation device
  • Data processing method and front-end code generation device
  • Data processing method and front-end code generation device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] figure 1 It is a schematic diagram of the implementation flow of the data processing method of the embodiment of the present invention; the method is applied to the front-end code generation device; as figure 1 As shown, the method includes:

[0046] Step 101: Obtain a code standard template, a common script file, and an information item configuration table; wherein, the information item configuration table is used to represent the correspondence between at least one information item and at least one document object model DOM element-related rule;

[0047] In a specific embodiment, after obtaining the information item configuration table, the front-end code generation device also needs to determine at least one DOM element related rule corresponding to the at least one information item in the information item configuration table Whether the preset rule is satisfied, and then when at least one DOM element-related rule corresponding to the at least one information item i...

Embodiment 2

[0074] The embodiment of the present invention provides a specific implementation process of a data processing method; the data processing method described in the embodiment of the present invention can be based on image 3 shown in the front-end code generation device, such as image 3 As shown, the front-end code generation device includes: a code standard template acquisition unit 31, a rule engine setting unit 32 and a DOM element automatic loading unit 33; image 3 The shown front-end code generation device further elaborates on the data processing method described in the embodiment of the present invention:

[0075] The first part, the setting process of the code standard template:

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 data processing method. The method comprises the steps that a code standard template, a general script file and an information item configuration table are acquired, wherein the information item configuration table is used for representing the corresponding relation between at least one information item and at least one document object model (DOM) element relevant rule; at least one DOM element relevant rule is selected to perform configuration processing on the information items according to the corresponding relation, between the information items and the DOM element relevant rules, represented by the information item configuration table; and the code standard template is automatically loaded with at least one DOM element corresponding to the information items, and the generation script file corresponding to the information items is automatically called to generate target codes corresponding to the information item configuration table. The embodiment of the invention furthermore discloses a front-end code generation device.

Description

technical field [0001] The invention relates to data processing technology, in particular to a data processing method and a front-end code generation device. Background technique [0002] The front-end pages of the Web pages in the mobile health business field have a lot of repetitive work in the code development process, and the codes corresponding to these front-end pages usually need to be manually coded by developers, and the error rate is high; therefore, how to implement the front-end pages? The corresponding code, that is, the automatic generation of front-end code, reducing repeated development, and saving development costs have become a problem that needs to be solved urgently. Contents of the invention [0003] In order to solve the existing technical problems, the embodiment of the present invention provides a data processing method and a front-end code generation device. [0004] The technical scheme of the embodiment of the present invention is realized like ...

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): G06F9/44G06F9/445
CPCG06F8/30G06F9/44521
Inventor 郭义华许利群常耀斌
Owner CHINA MOBILE COMM GRP 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
Eureka Blog
Learn More
PatSnap group products