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

Natural language programming method and device based on strong static script language

A technology of scripting language and programming method, which is applied in the field of information technology and computer software products, can solve the problems of difficult to understand programming language, long implementation cycle of rules, heavy configuration workload, etc., achieve powerful program editing ability, strengthen precise interception, improve The effect of reusability

Active Publication Date: 2019-12-20
南京星云数字技术有限公司
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problems of the prior art, the embodiment of the present invention provides a natural language programming method and device based on a strong static scripting language, so as to overcome the difficulty in understanding and using the programming language in the prior art, which requires high programming ability , long implementation period of rules, heavy configuration workload, etc.

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
  • Natural language programming method and device based on strong static script language
  • Natural language programming method and device based on strong static script language
  • Natural language programming method and device based on strong static script language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Some, but not all, embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0048] The natural language programming method and device based on the strong static scripting language provided by the embodiment of the present invention realizes a whole set of rule-programmable solutions from the front end (configuration) to the back end (operation). Design, out-of-the-box, back-end serialization and thread safety features enable developers to impl...

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 natural language programming method and device based on a strong static script language. The natural language programming method comprises the steps that a front-end compilerobtains a first script and meta-information from a database, complies the first script into a loaded editor renderer, and verifies the content in the editor renderer according to the meta-information, wherein the meta-information at least comprises type information; by editing the verified editor renderer, a second script is generated, and the second script is stored into the database; and a back-end interpreter acquires the second script and the meta-information from the database, compiles the second script into a runtime object, and verifies the runtime object according to the meta-information. By adopting the natural language editor, the readability of functions or scripts is improved, and non-professional programmers are helped to quickly and correctly compile business logic programs,and the function of a function is introduced, and the reusability of rule logic is improved, and the non-programmers are endowed with flexible and powerful program editing capacity, and the natural language programming method is easier to understand and safer.

Description

technical field [0001] The invention relates to the technical fields of information technology and computer software products, in particular to a natural language programming method and device based on a strong static script language. Background technique [0002] In the rule configuration process, it is usually necessary to organize data or make some logical judgments, which requires a certain degree of programming ability for the rule engine. And in order to improve reusability, in the rule configuration process, it is usually necessary to use programming to refine the fixed logical structure into related functions, parameters or rules. [0003] For the above problems, the conventional practice in this field is to use a third-party language to realize this programming capability, such as groovy script, but the biggest problem with this method is that it is very unfriendly to business personnel (especially non-professional programmers) (such as difficult to understand) , a...

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/30G06F8/41
CPCG06F8/31G06F8/427
Inventor 凡建权周斌成敬业王鹏汤佳伟
Owner 南京星云数字技术有限公司
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