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

Component extended function implementation method and device, equipment and storage medium

A technology for expanding functions and implementing methods, which is applied in the direction of program control devices, software reuse, program control design, etc., can solve the problem of repeatedly writing common logic codes, and achieve the effect of improving code fault tolerance

Active Publication Date: 2018-11-20
BEIJING 58 INFORMATION TTECH CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to propose a method, device, device and storage medium for implementing component extension functions, which overcomes the problem in the prior art that the application program needs to repeatedly write common logic codes when performing iterative updates

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
  • Component extended function implementation method and device, equipment and storage medium
  • Component extended function implementation method and device, equipment and storage medium
  • Component extended function implementation method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0034] figure 1 It is a flow chart of a method for implementing component extension functions in the first embodiment of the present invention. according to figure 1 As shown, the first embodiment of the present invention provides a method for implementing component extension functions, which is applied to applications developed based on the hybrid development model, and the method includes:

[0035] S11: Generate an extension module based on the public logic data included in the module management component ModuleManager;

[0036] In this embodiment, the module management component ModuleManager contains the public logic data used to form each extension module, and, in this embodiment, the application generates the extension module through the public logic data in the ModuleManager, so as to realize the extension to be generated The module is encapsulated into the module management component ModuleManager. Moreover, in this embodiment, the common logic data is the logic cod...

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 component extended function implementation method and device, equipment and a storage medium. The method comprises the following steps: an extended module is generated basedon the common logic data included in a module management component ModuleManager; the extended module is configured a configuration file; whether the target extended module is configured in the configuration file is judged through ModuleManager, wherein, the first script language component is registered in the native system; and the first script language component is called to perform corresponding service operation through the target extended module based on the second script language component; According to the method, the device, the equipment and storage medium, the extended module is generated by the application program through ModuleManager, and the module management component includes the common logic data for generating the extended module so that the common logic data can be called directly when the application program needs to generate different extended modules due to update iteration without writing the common logic data repeatedly and thus the code fault tolerance can be improved.

Description

technical field [0001] The present invention relates to the field of computer application technology, in particular to a method, device, equipment and storage medium for realizing extended functions of components. Background technique [0002] With the development of Internet technology and smart terminal technology, various applications have spread to all aspects of public life, such as watching movies, shopping, paying, socializing, providing various information, and so on. At present, the applications of these smart terminals are often implemented by local applications (Native App), which are implemented by using the API (Application Programming Interface, application programming interface) provided by the native operating system, which can ensure the high performance of the application and a good interactive experience . [0003] In the existing Native App update iteration process, the Native App page is a page generated by loading the Uniform Resource Locator url throu...

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
IPC IPC(8): G06F8/36G06F9/445
CPCG06F8/36G06F9/44505
Inventor 杨文鑫
Owner BEIJING 58 INFORMATION TTECH 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