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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


