Data processing method and device

A data processing and index data technology, applied in the computer field, can solve the problems of redundant code writing, high learning cost, high deployment cost, etc., and achieve the effect of improving calculation accuracy, low learning cost and operation cost, and improving use efficiency

Pending Publication Date: 2022-07-29
JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiments of the present invention provide a data processing method and device, which can at least solve the problems of high deployment costs, high learning costs, and time-consuming writing of redundant codes in the existing technology of calculating derived indicators based on basic indicators. Phenomenon

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 device
  • Data processing method and device
  • Data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

[0066] It should be pointed out that the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict. The acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations.

[0067] The existing technology ...

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 data processing method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of receiving a definition operation on a grammatical rule and a grammatical tag of an index calculation expression, and performing lexical analysis and grammatical analysis on the index calculation expression by using the grammatical rule to obtain a grammatical analysis tree; creating an accessor to traverse the grammar analysis tree, and by analyzing nodes in the grammar analysis tree, replacing grammar tags in the nodes with implementation logic codes of corresponding grammar rules; and determining an index identifier in the index calculation expression, obtaining index data corresponding to the index identifier, processing the index data in sequence according to the position of the node where the implementation logic code is located in the grammar analysis tree, obtaining processing result data, and returning the processing result data. According to the implementation mode, for the index definitors capable of giving the data expressions, efficient definition and efficient execution of the new indexes can be achieved without writing redundant codes, and the learning cost and the operation cost are low.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to a data processing method and device. Background technique [0002] In the statistical processing of data, there are scenarios in which derived indicators need to be calculated based on basic indicators, for example, the per capita GDP of a region is calculated based on the GDP (Gross Domestic Product) and population data of a region. At present, it is mainly implemented through offline job pre-computation and configuration scripts. However, these two methods have the problems of high deployment cost or high learning cost, and redundant and time-consuming coding. SUMMARY OF THE INVENTION [0003] In view of this, the embodiments of the present invention provide a data processing method and device, which can at least solve the problems of high deployment cost, high learning cost, and redundant and time-consuming code writing in the existing technology for calculati...

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): G06F8/41G06F8/38G06F8/30
CPCG06F8/427G06F8/425G06F8/42G06F8/38G06F8/37
Inventor 胡小锋易晓磊冯永昌
Owner JD DIGITS HAIYI INFORMATION TECHNOLOGY 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