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

Component invocation method, equipment, device and storage medium

A technology of components and sub-components, which is applied in the field of component calling methods, devices, equipment and storage media, can solve the problems that components and APIs cannot meet the needs of developers, reduce development efficiency, and reinvent the wheel, so as to meet business development needs, The effect of improving development efficiency

Active Publication Date: 2018-12-21
SHENZHEN LEXIN SOFTWARE TECH CO LTD
View PDF9 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Although Weex itself contains some built-in components and APIs (Application Programming Interface, application programming interface), for daily business development, the components and APIs that come with Weex are far from meeting the needs of developers.
When developers use Weex for development, the phenomenon of "reinventing the wheel" often occurs, which reduces development efficiency
At the same time, the existing Weex needs to update the entire component library when updating the component library. After the update, users cannot use the old version of the sub-components

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Figure 1a It is a flowchart of a method for invoking a component provided by the first embodiment of the present invention. This embodiment is applicable to the case of invoking sub-components in the pre-built Weex public component library. The method can be executed by a component invoking device, which can be It can be implemented in software and / or hardware, and can generally be integrated in computer equipment. Correspondingly, such as Figure 1a As shown, the method includes the following operations:

[0028] S110. Install and configure the pre-built Weex public component library.

[0029] Wherein, the Weex common component library includes at least two types of subcomponents; the update operations between the Weex common component library and the subcomponents, and the update operations between the subcomponents are independent of each other.

[0030] In the embodiment of the present invention, the Weex public component library is a pre-built component library, and the e...

Embodiment 2

[0040] Figure 2a It is a flow chart of a method for invoking a component provided in the second embodiment of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiment. In this embodiment, it is shown that the Weex can be invoked by a code statement in a set format. The specific implementation of the sub-components in the common component library. Correspondingly, such as Figure 2a As shown, the method of this embodiment may include:

[0041] S210. Install and configure the pre-built Weex public component library.

[0042] S220: Fill the component object, name, version number, and setting symbol corresponding to the sub-component at the setting position in the code sentence of the setting format to form a code sentence to be executed.

[0043] Among them, the setting location can be the location where the code content needs to be modified correspondingly when calling different subcomponents, and the setting symbol can be a custom symbol, suc...

Embodiment 3

[0066] image 3 It is a schematic diagram of a component calling device provided in the third embodiment of the present invention, such as image 3 As shown, the device includes: a component library installation module 310 and a sub-component calling module 320, where:

[0067] The component library installation module 310 is used to install and configure a pre-built Weex public component library, where the Weex public component library includes at least two types of sub-components; the Weex public component library and the sub-component Update operations, and update operations between the sub-components are independent of each other;

[0068] The sub-component calling module 320 is used to call the sub-components in the Weex common component library through code statements in a set format.

[0069] In the embodiment of the present invention, a pre-built Weex common component library is installed and configured, and the sub-components in the Weex common component library are called b...

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 embodiment of the invention discloses a component calling method, equipment, a device and a storage medium. The method comprises: installing and configuring a pre-built Weex common component library, wherein, the Weex common component library comprises at least two types of sub-components; The update operation between the Weex common component library and the sub-components and the update operation between the sub-components are independent of each other; subcomponents in the Weex common component library are invoked through formatted code statements. The technical proposal of the embodiment of the invention can meet the service development requirements of the developer and improve the development efficiency.

Description

Technical field [0001] The embodiments of the present invention relate to the technical field of computer software application, and in particular, to a component invocation method, device, device, and storage medium. Background technique [0002] Weex is an open source cross-platform page rendering solution. Its principle is to write platform-independent page rendering rules defined by Weex through templated JavaScript, compile it into a standard JavaScript script file through webpack and embed it into the integrated Weex SDK (Software Development Kit, software development kit) mobile application. In mobile applications, JavaScript scripts are executed during JavaScript runtime to dynamically generate native controls corresponding to the mobile platform to achieve the same user experience as native applications. Weex can perfectly balance performance and dynamics, allowing mobile developers to write Native-level performance experiences through simple front-end syntax, and suppor...

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/38G06F8/30G06F8/35
CPCG06F8/315G06F8/35G06F8/38
Inventor 吴经纬李文彬黄琳
Owner SHENZHEN LEXIN SOFTWARE TECH 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