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

Statically compiled language and script language calling method and system

A scripting language and compiled language technology, applied in the field of static compiled language and scripting language calling method and system, can solve problems such as easy loopholes, uncontrollable stack, coding redundancy, etc., achieve accurate call, reduce vulnerability trigger rate, The effect of improving development efficiency

Active Publication Date: 2018-07-31
MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, the static compiled language interacts with the scripting language through virtual stack interaction, but generally the stack interaction operation and business logic are mixed together, so that the stack becomes uncontrollable and prone to bugs, and the scripting language execution end is Strong typing, which leads to coding redundancy

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
  • Statically compiled language and script language calling method and system
  • Statically compiled language and script language calling method and system
  • Statically compiled language and script language calling method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present 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.

[0069] The purpose of the present invention is to provide a method for invoking a statically compiled language and a scripting language. An intermediate layer is encapsulated between the host program end and the scripting language execution end to adapt to the interaction between the two languages, that is, through the virtual machine and the scripting language respectively. The host program terminal and the script language execution terminal perform informatio...

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

Embodiments of the invention provide a statically compiled language and script language calling method and system. The statically compiled language and script language calling method comprises the following steps of: storing a plurality of to-be-processed functions sent by a host program end; receiving a function parameter sent by a script language execution end; sending the to-be-processed function corresponding to the function parameter to the script language execution end and sending the function parameter to the host program end; receiving an operation result pressed in by the host programend; and sending the operation result to the script language execution end to ensure that the script language execution end executes script language compilation according to the operation result andthe to-be-processed function. According to the method and system, information interaction is carried out between the host program end and the script language execution end through a virtual machine, so that seamless interaction is carried out between two languages, correct information calling can be realized, the loophole trigger rate in the development process is reduced and the development efficiency is enhanced.

Description

technical field [0001] The invention relates to the technical field of computer programming languages, in particular to a calling method and system for statically compiled languages ​​and script languages. Background technique [0002] In the prior art, program services written in statically compiled languages ​​need to be recompiled and restarted when they are modified. In this mode, it is acceptable for software services with large changes in requirements and long iteration cycles, but obviously for fast-iterative application services. The update efficiency is too low, and the debugging cost is high for statically compiled classes. [0003] In the course of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0004] In the prior art, the static compiled language interacts with the scripting language through virtual stack interaction, but generally the stack interaction operation and business logic are mixed...

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/30
CPCG06F8/30G06F8/41
Inventor 郝忠秀任文越
Owner MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
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