Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for generating table rules, storage medium and electronic device

A rule and table technology, applied in the field of data processing, can solve the problem of low efficiency of table rule generation

Active Publication Date: 2021-03-26
TENCENT TECH (BEIJING) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method and device for generating table rules, a storage medium, and electronic equipment, so as to at least solve the technical problem of low generation efficiency of table rules in the related art

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 table rules, storage medium and electronic device
  • Method and device for generating table rules, storage medium and electronic device
  • Method and device for generating table rules, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] According to an embodiment of the present invention, an embodiment of a method for generating a form rule is provided.

[0033] Optionally, in this embodiment, the method for generating the above table rule can be applied to such as figure 1 In the hardware environment constituted by the server 102 and the terminal 104 as shown. figure 1 It is a schematic diagram of a hardware environment of a method for generating table rules according to an embodiment of the present invention. Such as figure 1 As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The method for generating table rules in this embodiment of the present invention may be executed by the server 102 , may also be executed by the terminal 104 , and may also be execut...

Embodiment 2

[0162] The technical solutions of the present invention will be described below in conjunction with preferred embodiments. Specifically, the method of generating table rules for HTML tables is introduced.

[0163] Figure 11 is a flow chart of another method for generating table rules according to an embodiment of the present invention. Such as Figure 11 As shown, the generation method of the form rule includes the following steps:

[0164] Step S1101, start the HTML form rule development tool.

[0165] The HTML form rule development tool in this embodiment is an HTML form rule editor.

[0166] Step S1102, judging whether the input data comes from a file.

[0167] This embodiment supports multiple ways to acquire input data, which is used to display the target form. After starting the HTML form rule development tool, it is judged whether the input data to be acquired comes from a file. If it is determined that the input data is from a file, execute step S1103; if it is...

Embodiment 3

[0188] The application environment of the embodiment of the present invention may refer to, but is not limited to, the application environment in the foregoing embodiments, which will not be described in detail in this embodiment. The embodiment of the present invention provides an optional specific application for implementing the method for generating the above table rules.

[0189] Figure 13 is a schematic diagram of a table editing tool according to an embodiment of the present invention. Such as Figure 13 As shown, the table editing tool in this embodiment includes an input data selection area, an input data preview area, a table rule scheme selection area, a current table rule editing area, a table preview area and an output data preview area.

[0190] The following are the input data selection area, input data preview area, table rule scheme selection area, current table rule editing area, table preview area and output data preview area.

[0191] (1) Input data sel...

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 present invention discloses a table rule generation method and apparatus. The method comprises: obtaining first input data for displaying a target table, wherein the target table is a to-be-generated table marked by a preset language; determining a preset table rule corresponding to the first input data, wherein the preset table rule is used for determining first to-be-displayed display data in the target table according to the first input data and determining first structure data of a first logical structure of the target table; displaying a first rule editing area according to the firstdisplay data and the first configuration data; editing the preset table rule through the first rule editing area to obtain a target table rule for determining second to-be-displayed display data of the target table and determining second structure data of a second logical structure of the target table; and displaying the target table generated by the target table rule in the first preset area. Thetechnical scheme of the present invention solves the technical problem of low table rule generation efficiency in the related art.

Description

technical field [0001] The present invention relates to the field of data processing, in particular to a method and device for generating form rules, a storage medium and electronic equipment. Background technique [0002] At present, in generating table rules, table rules may be written manually, for example, a Hyper Text Markup Language (Hyper Text Markup Language, HTML) table is manually written. However, the process of manually writing the table generation logic is cumbersome. In the process of writing the table generation rules, when the generation rules change, the table generation results will also change, and users cannot view the table generation results caused by the rule changes in real time. The table rules cannot be adjusted immediately according to the table generation results, and the generation efficiency of the table rules is low. [0003] In the prior art, there is a scheme of drawing tables with the help of visualization tools, but currently only fixed ta...

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 Patents(China)
IPC IPC(8): G06F40/18G06F40/14G06F9/451
CPCG06F8/30G06F40/14G06F40/18
Inventor 武利剑刘宏宇杨林罗令
Owner TENCENT TECH (BEIJING) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products