Unlock instant, AI-driven research and patent intelligence for your innovation.

Component processing method and device and server

A processing method and component technology, applied in the computer field, can solve problems such as waste of resources, waste of social resources, slow construction and packaging speed, etc., and achieve the effect of improving efficiency and saving development time

Pending Publication Date: 2022-04-15
ROOTCLOUD TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] This kind of low-code packaging tool to build packaged components has the following disadvantages: the ecology is single, and the packaged product can only be used on a fixed platform; complex component code logic, developers need to understand the platform's restrictions on components, and then develop glue that adapts to the data type layer; resource waste, multiple components introduce the same dependency and each component is built, so the same resource is transmitted multiple times through the network when loading the page, resulting in a waste of social resources; weak support for complex data structures, for more than A layer of complex data structure requires manual serialization and deserialization of data, which increases the mental burden of developers; the construction and packaging speed is extremely slow, and the source code of the same component is compiled on the same computer (Intel i5 CPU 16GB RAM SSD) It takes an average of 30-40 seconds to package, which seriously affects the efficiency of developers
In summary, there is a problem of low efficiency in the process of building components with existing low-code packaging tools

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 processing method and device and server
  • Component processing method and device and server
  • Component processing method and device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] The embodiment of the present disclosure provides a component processing method.

[0056] Specifically, see figure 1 , the component processing methods include:

[0057] Step S101, read the entry file list through the software development kit.

[0058] In this embodiment, the entry file manifest (Manifest) includes entry file paths adapted to multiple platforms and metadata corresponding to component products. Among them, the entry file path is the file path of the final component product after construction. The entry file list supports configuring the product path of multiple platforms as an extension point. When the entry file list is loaded in the running state, the product paths of multiple platforms serve as self-description role. The metadata of the component product can also be defined in the entry file manifest, so that other systems and middleware can identify and process the component. The entry file list can be manually configured, or the entry file list ...

Embodiment 2

[0093] In addition, an embodiment of the present disclosure provides a component processing device.

[0094] Specifically, such as Figure 4As shown, the component processing apparatus 400 includes:

[0095] The reading module 401 is used to read the entry file list through the software development kit, and the entry file list includes entry file paths adapted to multiple platforms and metadata corresponding to component products;

[0096] The first compilation module 402 is used to obtain the entry source code according to the entry file path of each platform through the software development toolkit, compile according to the entry source code and the metadata corresponding to the component product, and obtain the component;

[0097] The generation module 403 is used to generate the glue layer corresponding to each platform according to the component configuration list through the software development kit;

[0098] The second compiling module 404 is configured to compile the...

Embodiment 3

[0114] In addition, an embodiment of the present disclosure provides a server, including a memory and a processor, the memory stores a computer program, and when the computer program runs on the processor, it executes the component processing method provided in the first method embodiment above .

[0115] The server 500 includes: a transceiver 501, a bus interface, and a processor 502, the processor 502 is configured to: read an entry file list through a software development kit, and the entry file list includes entries adapted to multiple platforms The file path and the metadata corresponding to the component product;

[0116] Obtain the entry source code according to the entry file path of each platform through the software development kit, compile according to the entry source code and the metadata corresponding to the component product, and obtain the component;

[0117] Generate the glue layer corresponding to each platform according to the component configuration list t...

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 provides a component processing method and device and a server, and the method comprises the steps: reading an entry file list through a software development kit, the entry file list comprising entry file paths adapted to a plurality of platforms and metadata corresponding to component products; obtaining an entry source code according to the entry file path of each platform through the software development kit, and compiling according to the entry source code and metadata corresponding to the component product to obtain a component; generating a glue layer corresponding to each platform according to the component configuration list through the software development kit; and compiling the assembly by taking the glue layer corresponding to each platform as an inlet to obtain a construction product corresponding to each platform. Therefore, the construction products corresponding to the platforms can be quickly obtained through the software development kit, multiple reuse of the components on the platforms is realized, the efficiency of the construction products is improved, and the development time of a user is saved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a component processing method, device and server. Background technique [0002] In the prior art, in the scenario of delivering a web page (Web) application, it is often necessary to encapsulate reusable capabilities into components. When the developer completes the development of the component, he needs to export the code of the component in a certain form, so that other developers can use it. This behavior of exporting components is generally called building packaging in the industry, and the final exported product needs to meet certain standards. . Component construction and packaging standards generally have a strongly coupled binding relationship with consumers such as low-code and no-code platforms to achieve component loading and display. The component building and packaging solutions of existing low-code and no-code tool platforms generally provide low-c...

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): G06F16/958G06F16/957
CPCG06F16/958G06F16/9577
Inventor 朱彦成朱洪伟邵剑恒潘永高何迪江
Owner ROOTCLOUD TECH CO LTD