Client visual configuration packaging method and system

The client visual configuration packaging method and system addresses inefficiencies in traditional application development by enabling modularization, automated packaging, and consistent generation of installation packages, enhancing development efficiency and flexibility.

CN119065658AInactive Publication Date: 2024-12-03NANJING HOGE SOFTWARE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411555825.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2024-12-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional application development and publishing methods are cumbersome, lack uniformity and maintainability, and have long development cycles, leading to inefficiencies and increased costs.

Method used

A client visual configuration packaging method and system that performs component modularization, allows component selection and assembly via a visual interface, and uses an automated packaging server to generate installation packages by replacing and injecting code blocks.

Benefits of technology

Improves development efficiency, reduces errors, ensures consistent packaging, optimizes application structure, and supports personalized customization, while reducing resource waste and project costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065658A_ABST
    Figure CN119065658A_ABST
Patent Text Reader

Abstract

The invention discloses a client visual configuration packaging method and system, and relates to the technical field of mobile application development, and the method comprises the following steps: carrying out component modularization processing in advance, and extracting a page into a plurality of mutually independent components for realizing component modularization; according to the visual configuration interface, selecting components in a dragging mode to assemble a page; unified configuration submission is carried out, specifically, attribute setting of the selected component and overall configuration of the assembled page are completed in the visual configuration interface; and the packaging server performs an automatic process to generate the installation package, which comprises the following steps: the packaging server compiles and generates the installation package according to a set packaging script and configuration information in a mode of pulling a corresponding pre-compiled code package to replace and inject a code block. According to the method, development, packaging and maintenance of the application can be completed more efficiently and conveniently, and compared with manual development, the method has more advantages and market prospects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mobile application development, and in particular to a client visual configuration packaging method and system. Background Art

[0002] With the rapid development of terminal technology and mobile Internet, the use of mobile applications is becoming more and more widespread. At the same time, they are also facing diversified demands, such as business process customization and user experience personalization. In order to meet these demands, efficient application development and publishing methods are needed.

[0003] However, traditional application development and publishing methods have a series of pain points that limit the efficiency and flexibility of enterprises. The manual development and packaging process is cumbersome, resulting in longer development cycles and increased costs. In addition, the lack of unified development standards and automated processes makes the development of customized applications difficult. The main disadvantages are as follows: 1. Manual development and packaging are cumbersome: Traditional application development requires the team to manually develop and package for each customized requirement, which is time-consuming and labor-intensive, and increases development costs.

[0004] 2. Lack of uniformity and maintainability: The independent development of each application leads to a lack of uniformity in application functions and interfaces, making it difficult to maintain and update them consistently, and resulting in a waste of resources.

[0005] 3. Long development cycle for customized applications: The development cycle for customized needs of different user groups is long, which makes the organization inflexible in responding to market changes.

[0006] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention

[0007] In view of the problems in the related art, the present invention proposes a client visual configuration packaging method and system to overcome the above technical problems existing in the existing related art.

[0008] The technical solution of the present invention is achieved in this way: In one aspect, the present invention: A method for packaging a client visual configuration includes the following steps: Perform component modularization in advance and extract the page into multiple independent components to achieve component modularization; According to the visual configuration interface, select components by dragging and dropping to assemble the page; Perform unified configuration submission, including: completing the property settings of the selected components in the visual configuration interface and completing the overall configuration of the assembly page; The packaging server generates an installation package through an automated process, which includes: the packaging server pulls the corresponding pre-compiled code package according to the set packaging script and configuration information, replaces and injects code blocks to compile and generate the installation package.

[0009] The step of extracting the page into multiple independent components includes the following steps: Extract configuration capabilities from components based on business scenarios, where the configuration capabilities include: font size, font color, image aspect ratio, background color or image.

[0010] The step of selecting components to assemble the page includes the following steps: Pre-set properties of the property configuration panel of the selected component; Get an instant preview of the selected component after setting properties.

[0011] The unified configuration submission described in the step includes the following steps: Pre-save the personalized configuration of the property settings of the selected components; Assemble pages according to the selected components of the personalized configuration and save the overall configuration; Submit to the packaging server based on the saved overall configuration.

[0012] The step of the packaging server performing an automated process to generate an installation package includes the following steps: Set up the packaging script in advance; Pull precompiled code; Replace and inject code blocks; Perform compilation operations. The packaging server performs compilation operations and combines the configuration information with the code.

[0013] Another aspect of the present invention is: A client visual configuration packaging system, comprising: The component configuration module is used to extract the page into multiple independent components to achieve component modularization; The page assembly module is used to assemble pages based on the visual configuration interface and select components by dragging and dropping; The configuration submission module is used to complete the property settings of the selected components and the overall configuration of the assembly page in the visual configuration interface, and to submit the unified configuration; The installation package generation module is used to generate an installation package by pulling the corresponding pre-compiled code package and replacing or injecting code blocks according to the set packaging script and configuration information of the packaging server.

[0014] Furthermore, the page assembly module includes: a property setting unit and a preview unit, wherein; The property setting unit is used to set properties on the property configuration panel of the selected component; The preview unit is used for instant preview of the selected component after the property is set.

[0015] Beneficial effects of the present invention: The client visual configuration packaging method and system of the present invention comprises the following steps: pre-performing component modularization processing to extract a page into a plurality of mutually independent components for realizing component modularization; selecting components to assemble pages according to a visual configuration interface and by dragging and dropping; performing unified configuration submission to complete the property setting of the selected components and the overall configuration of the assembled pages in the visual configuration interface; a packaging server performs an automated process to generate an installation package, the packaging server pulls corresponding pre-compiled code packages according to a set packaging script and configuration information, and compiles by replacing and injecting code blocks to generate the installation package, not only providing a visual configuration interface, enabling developers to extract business logic and interface elements into reusable component modules by simple dragging and configuration, but also enabling developers to flexibly configure the style, interaction rules and other information of each page through page assembly and configuration file generation, and at the same time performing an automated process to generate the installation package through the packaging server, and automatically performing code replacement, injection and compilation through a preset packaging script in combination with configuration files of pages and components, and finally generating an installation package suitable for Android and iOS, which can more efficiently and conveniently complete the development, packaging and maintenance of applications, and has more advantages and market prospects than manual development. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 It is a flowchart of a client visual configuration packaging method according to an embodiment of the present invention; Figure 2 is a component scenario diagram of a client visual configuration packaging method according to an embodiment of the present invention; Figure 3 is a schematic diagram of automated packaging of a client visual configuration packaging method according to an embodiment of the present invention; Figure 4It is a principle block diagram of a client visual configuration packaging system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.

[0019] According to an embodiment of the present invention, a client visual configuration packaging method is provided.

[0020] like Figure 1 As shown, the client visual configuration packaging method according to an embodiment of the present invention includes the following steps: like Figure 2 As shown, step S1, pre-component modularization processing is performed to extract the page into multiple independent components for realizing component modularization; In step S101, the configuration capability of the component is extracted according to the business scenario, wherein the configuration capability includes: font size, font color, image aspect ratio, background color or image; In this technical solution, APP (Application) is composed of many pages, and the pages are extracted into multiple independent components. Pages with different requirements are realized by assembling components, eliminating repeated and inefficient development.

[0021] In addition, the component extracts a lot of configuration capabilities based on business scenarios, such as font size, font color, image aspect ratio, background color or image, etc., to further improve the configurability of the page and realize more customer customized scenarios.

[0022] Step S2, according to the visual configuration interface, select components by dragging and dropping to assemble the page; Among them, selecting components to assemble the page includes the following steps: Step S201, pre-setting properties for the property configuration panel of the selected component; Step S202, performing instant preview of the selected component after property setting.

[0023] With this technical solution, developers can assemble pages with components by dragging and dropping according to different App requirements. Developers can also select components through the configuration interface and use the property configuration panel provided by the selected component to set detailed properties such as the appearance and behavior of the selected component, such as font, color, size, click event, etc.

[0024] In addition, the configuration interface also provides an instant preview function of the page, allowing developers to view the effects of modifications to the selected component properties in real time, helping to adjust the configuration more accurately.

[0025] Step S3, performing unified configuration submission, which includes: completing the property setting of the selected components in the visual configuration interface and completing the overall configuration of the assembly page; When this technical solution is applied, the property settings of the selected components and the assembly page are completed in the visual configuration interface. These configuration information need to be submitted uniformly to ensure that the system can obtain the latest configuration status.

[0026] The specific steps are as follows: Step S301, pre-personalizing and saving the property settings of the selected component; This technical solution, when applied, personalizes the configuration, for example, the color and text content of a specific button, and saves the property settings of the selected component.

[0027] Step S302, assembling pages according to the selected components of the personalized configuration, and saving the overall configuration; This technical solution, after saving the personalized configuration of the property settings of the selected components, select the components by dragging and dropping to assemble the page, and then configure the assembled page as a whole, for example: save the general configuration information such as application name and icon.

[0028] Step S303, submitting to the packaging server according to the saved overall configuration; In this technical solution, after saving, the overall configuration is uniformly submitted to the packaging server, so that the server can obtain the latest application and page configuration.

[0029] With the help of the above solution, the synchronization of configuration information is ensured through unified submission of overall configuration, so that the packaging server can know the latest application structure and style configuration, providing an accurate data basis for subsequent packaging operations. The synchronization of system status is guaranteed.

[0030] Step S4, such as Figure 3 As shown, the packaging server generates an installation package through an automated process, which includes: the packaging server pulls the corresponding pre-compiled code package according to the set packaging script and the configuration information, replaces and injects the code block to compile and generate the installation package; The specific steps include: Step S401, pre-set the packaging script; In this technical solution, the packaging server pre-sets the packaging script, which includes: packaging process, rules, dependencies, etc. The setting fully considers the structure of the application and the configuration of each component to ensure the consistency and effectiveness of the packaging.

[0031] Step S402, pulling precompiled code; In this technical solution, the packaging server pulls the corresponding code package, such as .aar file, from the precompiled code library according to the set packaging script and the configuration files of each page and component. The precompiled code package contains the business logic and configured information of the component.

[0032] Step S403, replacing and injecting code blocks; In this technical solution, the packaging server adopts the method of replacing and injecting code blocks to integrate the configuration information of pages and components into the precompiled code, thereby ensuring the integrity and consistency of business logic and configuration information.

[0033] Step S404, performing a compile operation, the packaging server performs the compile operation to combine the configuration information with the code; This technical solution ensures that the final generated installation package, such as .apk and .ipa files, is executable and meets expectations according to the set rules.

[0034] In this technical solution, the packaging server successfully generates installation packages for Android and iOS platforms. These installation packages retain the consistency of the application, so that developers do not need to manually perform complex compilation and packaging operations, which improves development efficiency. At the same time, through the automated process of the packaging server, the application is packaged quickly and consistently, providing developers with efficient and reliable packaging services while ensuring the overall quality and performance of the application.

[0035] With the help of the above solution, a visual configuration interface is provided, allowing developers to extract business logic and interface elements into reusable component modules through simple drag and drop and configuration. Moreover, through page assembly and configuration file generation, developers can flexibly configure the style, interaction rules and other information of each page. At the same time, the installation package is generated through an automated process through the packaging server, and the preset packaging script is combined with the configuration files of the page and component to automatically replace, inject and compile the code, and finally generate an installation package suitable for Android and iOS. It can complete the development, packaging and maintenance of the application more efficiently and conveniently, and has more advantages and more market prospects than manual development.

[0036] According to an embodiment of the present invention, a client visual configuration packaging system is provided.

[0037] like Figure 4As shown, the client visual configuration packaging system according to an embodiment of the present invention includes: Component configuration module 1 is used to extract the page into multiple independent components to achieve component modularization; The page assembly module 2 is used to assemble the page according to the visual configuration interface and select components by dragging and dropping; Configuration submission module 3 is used to complete the property setting of the selected components and the overall configuration of the assembly page in the visual configuration interface, and to submit the unified configuration; The installation package generation module 4 is used for the packaging server to pull the corresponding pre-compiled code package according to the set packaging script and configuration information, and compile it in a way of replacing and injecting code blocks to generate an installation package.

[0038] In addition, the page assembly module 2 includes: a property setting unit 21 and a preview unit 22, wherein; The property setting unit 21 is used to set properties of the property configuration panel of the selected component; The preview unit 22 is used for instant preview of the selected component after the property is set.

[0039] In summary, the above technical solution of the present invention has the following benefits: 1. Improve development efficiency. Through the visual configuration interface and automated packaging process, developers do not need to manually perform tedious configuration and packaging operations, which significantly improves the efficiency of application development and reduces the complexity of development work.

[0040] 2. Reduce the probability of errors. Through unified configuration submission and automated processes, the manual operation links are reduced and the probability of human errors is reduced. The precompiled code library and automated scripts ensure the correctness and consistency of the configuration information.

[0041] 3. Achieve consistent packaging. The automated process of the packaging server ensures consistent packaging of the application, whether for Android or iOS platforms, which helps maintain the overall quality of the application and reduces inconsistencies and errors caused by manual operations.

[0042] 4. Optimize the application structure by extracting business logic and interface elements into reusable component modules. The structured design enables components to be better reused, reduces redundant code, and improves the maintainability of the code.

[0043] 5. Adapt to personalized customization. Through the visual configuration interface, developers can easily customize pages and components, which helps to meet the personalized needs of different customers or user groups and improves the flexibility of the application.

[0044] 6. Reduce the waste of human resources by eliminating tedious manual coding, the difficulties of customized development and the inefficiency of manual packaging. A large amount of repetitive and simple interface building work does not require the participation of professional R&D personnel, which also reduces the project costs of the enterprise.

[0045] 7. Improve the development experience. The visual configuration interface provides developers with a more intuitive and friendly development experience. By simplifying the operation process, the developer experience is improved, making application development easier and more enjoyable.

[0046] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. After considering the disclosure of the specification and the examples, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and the examples are only regarded as exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.

[0047] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A client visual configuration packaging method, It is characterized in that The following steps are involved: Perform component modularization in advance and extract the page into multiple independent components to achieve component modularization; According to the visual configuration interface, select components by dragging and dropping to assemble the page; Perform unified configuration submission, including: completing the property settings of the selected components in the visual configuration interface and completing the overall configuration of the assembly page; The packaging server generates an installation package through an automated process, which includes: the packaging server pulls the corresponding pre-compiled code package according to the set packaging script and configuration information, replaces and injects code blocks to compile and generate the installation package.

2. The client visual configuration packaging method according to claim 1, It is characterized in that The steps described in the above step are to extract the page into multiple independent components, including the following steps: Extract configuration capabilities from components based on business scenarios, where the configuration capabilities include: font size, font color, image aspect ratio, background color or image.

3. The client visual configuration packaging method according to claim 1, It is characterized in that The steps of selecting components to assemble a page include the following steps: Pre-set properties of the property configuration panel of the selected component; Get an instant preview of the selected component after setting properties.

4. The client visual configuration packaging method according to claim 1, It is characterized in that The unified configuration submission is performed as described in the steps, including the following steps: Pre-save the personalized configuration of the property settings of the selected components; Assemble pages according to the selected components of the personalized configuration and save the overall configuration; Submit to the packaging server based on the saved overall configuration.

5. The client visual configuration packaging method according to claim 1, It is characterized in that The packaging server in the step generates an installation package through an automated process, including the following steps: Set up the packaging script in advance; Pull precompiled code; Replace and inject code blocks; Perform compilation operations. The packaging server performs compilation operations and combines the configuration information with the code.

6. A client visual configuration packaging system, used in the client visual configuration packaging method according to any one of claims 1 to 5, It is characterized in that include: Component configuration module (1), used to extract a page into multiple independent components, so as to realize component modularization; A page assembly module (2) is used to assemble pages according to a visual configuration interface and select components by dragging and dropping; The configuration submission module (3) is used to complete the property setting of the selected components and the overall configuration of the assembly page in the visual configuration interface, and to submit the unified configuration; The installation package generation module (4) is used for the packaging server to pull the corresponding pre-compiled code package according to the set packaging script and configuration information, replace and inject code blocks to compile and generate an installation package.

7. The client visual configuration packaging system according to claim 6, It is characterized in that The page assembly module (2) comprises: a property setting unit (21) and a preview unit (22), wherein; The property setting unit (21) is used to set properties on the property configuration panel of the selected component; The preview unit (22) is used to perform instant preview of the selected component after the property is set.

Citation Information

Patent Citations

  • Program installation package generation method and system for skill configuration

    CN110147227A

  • Mobile tool page generation method and device, computer equipment and storage medium

    CN114416088A

  • Low-code development platform based on rail transit

    CN117215555A

  • Visual and draggable low-code development tool

    CN117539458A