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

A method and device for implementing logic programming

A technology of logic programming and implementation methods, applied in the direction of code compilation, program code conversion, software design, etc., can solve the problems of limited scope of use and low development efficiency, and achieve the effect of improving development efficiency, simplifying implementation, and facilitating implementation.

Active Publication Date: 2021-02-09
NR ELECTRIC CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the implementation process of FBD programming, according to the current graphical page, graphical programming tools are used to directly compile and generate executable programs. In this way, each time the logic is adjusted, it is necessary to recompile and download the newly generated executable program. Executing programs, low development efficiency, and limited scope of use

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
  • A method and device for implementing logic programming
  • A method and device for implementing logic programming
  • A method and device for implementing logic programming

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0043] In the embodiment of the present invention, the required components are determined as required, and the connection relationship between the components is determined; the determined components and the connection relationship between the components are saved as a configuration file; The configuration file obtains the instance names of the components, the execution sequence of the components, and the connection relationship between the components; according to the instance names of the components, the execution sequence of the components, and the The connection relationship between the components generates an executable task chain; in the running phase of the logic programming, each task of the task chain is executed in sequence.

[0044] figure 1 A schematic flow diagram of the implementation method for the logic programming of ...

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 provides a method for implementing logic programming, which includes: determining the required components as required, and determining the connection relationship between the components; saving the determined components and the connection relationship between the components as a configuration file ; In the initialization stage of logic programming, analyze the configuration file, obtain the instance name of each component, the execution sequence between each component, and the connection relationship between each component; according to the instance name of each component, each The execution sequence among the elements and the connection relationship among the elements generate an executable task chain; in the running phase of the logic programming, each task of the task chain is executed in sequence. The invention also provides a device for realizing logic programming.

Description

technical field [0001] The invention relates to programming realization technology, in particular to a logic programming realization method and device. Background technique [0002] In the prior art, programming is generally based on graphical and modular Function Block Drawing (FBD). This programming method is widely used in industrial control and power system relay protection because of its intuitiveness and easy maintenance. fields are widely used. [0003] However, in the implementation process of FBD programming, according to the current graphical page, graphical programming tools are used to directly compile and generate executable programs. In this way, each time the logic is adjusted, it is necessary to recompile and download the newly generated executable program. Execute the program, the development efficiency is low, and the scope of use is limited. Contents of the invention [0004] In view of this, the embodiments of the present invention expect to provide 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 Patents(China)
IPC IPC(8): G06F8/20G06F8/41
Inventor 周强冯亚东徐东方陈宏君赵天恩袁涛文继锋李广华
Owner NR ELECTRIC 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