SiPESC platform based Python extension module development method

An extension module and platform technology, which is applied in the field of computer data processing module development, can solve the problems of low efficiency in flexible development, difficulty in integrating functional modules, and heavy workload in encapsulating Python extension modules to achieve high development efficiency and flexibility , reduce the workload, and realize the effect of integration conveniently

Inactive Publication Date: 2016-01-20
广东大工数值仿真研究院有限公司 +1
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a Python extension module development method based on the SiPESC platform, aiming at solving the difficulty of integrating the functional modules developed by the JavaScript language on the existing SiPESC platform, and the large workload and flexibility of the Python extension module packaging method Low development efficiency and technical problems that cannot match the openness of the SiPESC platform

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
  • SiPESC platform based Python extension module development method
  • SiPESC platform based Python extension module development method
  • SiPESC platform based Python extension module development method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0025] Such as Figure 1-4 As shown, the present invention discloses

[0026] A method for developing Python extension modules based on the SiPESC platform, the method is to analyze the global plug-in manager interface of the SiPESC platform, and realize the Python script calling the SiPESC platform plug-in, which specifically includes the following steps: .

[0027] Step 1, initialize the global plug-in manager object and obtain the global function extension manager object;

[0028] Step 2, obtain the name of the function extension class that needs to be loaded;

[0029] Step 3, determine whether the function extension class has been registered, if the function extension class has been registered, then perform step 4, if not, dynamica...

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 an SiPESC platform based Python extension module development method. The method is used for analyzing a global plug-in manager interface of an SiPESC platform and realizing the calling of an SiPESC platform plug-in by a Python script. The method particularly comprises the following steps of: step 1, initializing a global plug-in manager object, and obtaining a global function extension manager object; step 2, obtaining a function extension class name required to be loaded; step 3, determining whether a function extension class is registered, if the function extension class is registered, performing the step 4, and if the function extension class is not registered, dynamically registering the function extension class for Python, creating a function extension class Python object and returning; and step 4, calling a function object method, performing analysis and calculation, converting a calculation result into a PyObject type and returning.

Description

technical field [0001] The invention relates to the field of computer data processing module development, in particular to a method for developing a Python extension module based on the SiPESC platform. Background technique [0002] With the development of computer technology, people's demand for scientific computing tools is no longer limited to dealing with numerical problems. Issues such as the processing of large data sets in various formats, the realization of new algorithms, and the construction of computing systems such as databases and the Internet require new tools. solve. [0003] At present, although the SiPESC platform has realized the support for JavaScript scripts, we can call most of the functional modules on the platform through the JavaScript language, but the JavaScript language has insufficient module openness, that is, modules developed by different organizations are difficult to implement conveniently. integrated. Python, as a hot object-oriented dynam...

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): G06F9/44
Inventor 李云鹏
Owner 广东大工数值仿真研究院有限公司
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