Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Program running method and device and computing device

A technology for running methods and programs, applied in the field of computer applications, which can solve problems such as execution errors, unstable Python programs, and poor scalability.

Pending Publication Date: 2020-09-01
LOONGSON TECH CORP
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, due to the packaging according to the default data structure, when the Python program is executed on some platforms, or on some operating systems of the same platform, or on some distributions of the same operating system When errors may occur, the operation of the Python program is unstable and the scalability is poor

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
  • Program running method and device and computing device
  • Program running method and device and computing device
  • Program running method and device and computing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the purpose, technical solutions and advantages of the embodiments 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 drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0043] The present invention provides a program running method, device and computing equipment, which relate to the scene of calling programs written in other programming languages ​​during the running of Python programs.

[0044] Next, Python will be explained first.

[0045] Python is a computer programming language, which is a dynamic, ob...

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 program running method and device and a computing device. The program running method comprises the following steps: running a return value type assignment statement in a Python program, and assigning a target parameter as a return value type of a called function; wherein the programming language of the called function is different from the Python language; filling in inputparameters of an interface function in the external function call interface library according to the target parameters; wherein the input parameters comprise a function return value type and a function return value occupation length; and running the interface function according to the input parameter to call the called function. By running the return value type assignment statement in the Pythonprogram, the running instability and expandability of the Python program are improved.

Description

technical field [0001] The present invention relates to the technical field of computer application programs, in particular to a program running method, device and computing equipment. Background technique [0002] Python is an object-oriented interpreted computer programming language, which has the characteristics of simple syntax, cross-platform, and many common libraries, and has been widely used. Python has a rich and powerful library. Because it can easily connect various modules made in other programming languages, it is often called a glue language. A common application scenario is to use Python to quickly generate the prototype of the program, or even the final interface of the program, and then rewrite the parts with special requirements in a more suitable programming language. For example, the graphics rendering module in a 3D game can be rewritten in C / C++ programming language due to its extremely high performance requirements, and then encapsulated as an extend...

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/30G06F9/448
CPCG06F8/315G06F9/449
Inventor 周凌王洪虎
Owner LOONGSON TECH CORP
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
Eureka Blog
Learn More
PatSnap group products