Web-based advertisement application package self-service packaging method and system

By integrating a web-based self-service packaging method and system for advertising application packages with the APKtool tool in a Java project, we have achieved simplified dependency configuration, visual operation, and layered packaging. This solves the problems of complex dependencies and high operational barriers in traditional solutions, improves packaging efficiency and system stability, and adapts to the needs of multiple platforms and channels.

CN120950119APending Publication Date: 2025-11-14XIAMEN WOOBEST INTERACTIVE NETWORK TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511131894.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-13
Publication Date
2025-11-14

AI Technical Summary

Technical Problem

Traditional Android ad application package creation solutions are complex, lack a visual interface, have high operating costs, high learning barriers, low packaging efficiency, cannot be used by non-technical personnel, and have complex environment configurations.

Method used

This paper provides a web-based self-service packaging method and system for advertising application packages. By integrating the APKtool tool into a Java project, the system utilizes a web client for package body parsing, verification, and segmented uploading. It supports multi-task queue processing and enables visual operation and layered packaging process.

Benefits of technology

It simplifies dependency configuration, lowers the operational threshold, improves processing efficiency, supports rapid promotion across multiple platforms and channels, adapts to diverse deployment needs, and enhances system stability and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120950119A_ABST
    Figure CN120950119A_ABST
Patent Text Reader

Abstract

The invention discloses a Web-based advertisement application package self-service packaging method and a Web-based advertisement application package self-service packaging system. The method comprises the following steps: deploying a Java project integrated with an APKtool to a server; a research and development person logs in a Web client and uploads a research and development package to a server, the server analyzes a package body to obtain APK package metadata, and after basic verification of the APK package metadata is passed, package body information is stored in a database; an operator logs in the Web client, defines a selected research and development package and sends related information of a media mother package, and the server receives the related information of the media mother package and then packages the media mother package to generate the media mother package; and an operator logs in the Web client, carries out media report configuration according to the delivery demand based on the media mother package and submits the configured advertisement application related information to the server, and the server receives the information and packages the information to generate an advertisement application package. According to the method, the requirement for configuring a large number of dependency environments is reduced, the dependency conflict problem is avoided, the operation threshold is lowered, and the processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of Internet technology, and specifically relates to a self-service packaging method and system for Web-based advertising application packages. Background Technology

[0002] Traditional Android ad app creation solutions primarily utilize Python + shell. However, this approach has several drawbacks: 1. Complex and numerous dependencies: It requires configuring numerous dependency environments, easily leading to errors due to dependency conflicts. 2. Lack of a visual interface: The absence of an intuitive visual interface results in high operational costs. 3. High learning curve: Operators need certain Android application development skills and scripting knowledge to operate the system, making it unsuitable for non-technical users. 4. Low packaging efficiency: Traditional methods are inefficient when dealing with the creation of ad apps for multiple platforms and channels.

[0003] Chinese patent CN111736855A discloses a method and system for automatically packaging and deploying an application based on a web client. The method includes: after the server packaging and deployment environment is configured, obtaining the web client product code from the product code repository and packaging the obtained web client product code to generate a web client package; controlling the entry into the Openfire source code build directory for compilation and packaging to generate an Openfire source code package; integrating the generated web client package and the Openfire source code package to generate a production environment server deployment package; and uploading the generated production environment server deployment package to an SVN server, thereby achieving automated installation and deployment of a web server based on the Openfire file server application in the local OS directory. This invention has a complex environment configuration and relies on command-line operations, making it impossible for non-technical personnel to complete independently. Summary of the Invention

[0004] The purpose of this invention is to provide a self-service packaging method and system for web-based advertising application packages, so as to reduce the need to configure a large number of dependent environments, avoid dependency conflict problems, lower the operation threshold, and improve processing efficiency.

[0005] The technical solution of the present invention is as follows:

[0006] On one hand, the present invention provides a self-service packaging method for web-based advertising application packages, including the following steps:

[0007] Deploy the Java project that integrates the APKtool tool to the server.

[0008] R&D personnel log in to the web client, upload the R&D package to the server, and after receiving the package body data, the server parses the package body to obtain the APK package metadata and performs basic verification of the APK package metadata. After the basic verification is passed, the package body information is stored in the database.

[0009] Operators log in to the web client, select a development package from the list of uploaded development packages, define media master package related information for the selected development package, including package body operation information and front-end information, and send it to the server. After receiving the media master package related information, the server adds the task to the media master package queue for packaging and generates the media master package.

[0010] Operators log in to the web client, select the corresponding media master package, configure the media reporting according to the delivery requirements based on the media master package, and submit the configured advertising application information to the server. After receiving the information, the server adds the task to the application packaging queue and regenerates the advertising application package according to the configuration information.

[0011] Preferably, the R&D personnel log in to the web client, upload the R&D package to the server, and after receiving the package body data, the server parses the package body to obtain the APK package metadata and performs basic verification of the APK package metadata. After the basic verification is passed, the package body information is stored in the database. Specifically:

[0012] R&D personnel log in to the advertising system's web client, select the R&D package to upload, and the packaging system server returns the R&D package's Uniform Resource Locator (URL).

[0013] The advertising system's web client sends a request to the advertising system server to obtain package body information using a Uniform Resource Locator (URL) and the application name.

[0014] The advertising system server sends a package body parsing request to the packaging system server. The packaging system server obtains the corresponding package file and performs package body parsing to obtain APK package metadata, including package name, application name, SHA1 signature, icon, and version number. It also performs basic verification on the APK package metadata. If the verification fails, an exception is thrown. If there is no exception, basic package body information is created and the package body information is returned to the advertising system server.

[0015] The advertising system server receives the package body information returned by the advertising system server, and performs a secondary verification using the package body information and the package body configuration information of the application to which the current package body belongs. If the secondary verification fails, an exception is thrown; otherwise, the package body information is returned to the advertising system web client.

[0016] The advertising system web client receives the package body information returned by the advertising system server. The developers manually verify the package body information. If it is correct, they submit the creation of the development package information. The advertising system web client then sends a request to the advertising system server to create the development package information.

[0017] After receiving the request, the advertising system server creates the development package information. Once the creation is successful, it sends a binding request to the packaging system server to bind the development package information created by the advertising system server with the package body information on the packaging system server.

[0018] Preferably, the upload mechanism between the web client and the server is a chunked upload with breakpoint resumption, specifically including:

[0019] R&D personnel log in to the advertising system's web client, select a package file to upload, and the advertising system's web client performs hash calculations and fragmentation on the package file.

[0020] The advertising system's web client makes an upload request, and the packaging system's server returns a list of uploaded segments;

[0021] The advertising system's web client makes concurrent requests and uploads all segments to the packaging system server;

[0022] The advertising system's web client requests the packaging system server to merge the fragments. The packaging system server performs a merge verification based on the package file's hash value, the total number of fragments, and the total package size. If the verification fails, an exception is thrown. If the verification passes, the fragment files are merged to generate a complete APK file and all fragments are deleted.

[0023] After generating the complete APK file, the packaging system server returns the Uniform Resource Locator (URL) of the complete package file;

[0024] When the upload is interrupted due to human error or network issues, the uploaded package file fragments still exist on the packaging system server. When the developers re-upload the package file, the advertising system's web client only needs to upload the fragments that were missing from the packaging system server.

[0025] Preferably, the operator logs into the Web client, selects a development package from the list of uploaded development packages, defines media master package related information for the selected development package, including package body operation information and front-end information, and sends it to the server. After receiving the media master package related information, the server adds the task to the media master package queue for packaging, generating the media master package as follows:

[0026] Operators log in to the advertising system's web client, select a development package from the list of uploaded development packages, define media master package related information for the selected development package, including package operation information and front-end information, and initiate a request to create a media master package to the advertising system server;

[0027] After receiving the request, the server creates media master package information based on the information of the development package and the media master package, writes the packaging log with the status of pending packaging, and pushes the packaging message of creating media master package to the packaging system server;

[0028] The packaging system server receives the packaging message pushed by the advertising system server, adds the packaging message to the packaging queue and packages according to the queue order. When packaging starts, the packaging system server pushes the start packaging message to the advertising system server. The advertising system server updates the packaging status of the media master package to packaging and adds the corresponding packaging log.

[0029] When the packaging is complete, the packaging system server pushes a message to the advertising system server, and the advertising system server updates the packaging status of the media master package to "packaged" and adds the corresponding packaging log.

[0030] Preferably, the specific information related to the media master package defined for the selected R&D package is as follows:

[0031] Operators log in to the web client, select a development package from the list of uploaded development packages, bind the selected development package with package operation information including operation channels, media platforms, and media plugins, and modify the corresponding front-end information of the development package, including the APK application name, icon, login animation, and login background page, according to promotion needs.

[0032] Preferably, the operator logs into the web client, selects the corresponding media master package, configures the media reporting according to the delivery requirements based on the media master package, and submits the configured advertising application information to the server. After receiving the information, the server adds the task to the application packaging queue and regenerates the advertising application package according to the configuration information. Specifically:

[0033] Operators log in to the web client, select the corresponding media master package, configure the media reporting according to the delivery requirements based on the media master package, submit the configured advertising application information to the server, and initiate a request to create an advertising application package to the advertising system server.

[0034] After receiving the request, the server retains the relevant information of the advertising application based on the selected media master package, writes the packaging log with the status of pending packaging, and pushes the packaging message to the packaging system server to create the application packaging.

[0035] The packaging system server receives the packaging message pushed by the advertising system server, adds the packaging message to the packaging queue and packages according to the queue order. When packaging starts, the packaging system server pushes the start packaging message to the advertising system server, and the advertising system server updates the packaging status of the advertising application package to "packaging in progress" and adds the corresponding packaging log.

[0036] When the packaging is complete, the packaging system server will upload the generated advertising application package to Aliyun OSS. If the upload is successful, the advertising application package will be deleted from the packaging system server. The packaging system server will push a message that the packaging is complete to the advertising system server, and the advertising system server will update the packaging status of the advertising application package to "packaged" and add the corresponding packaging log.

[0037] On the other hand, the present invention provides a web-based self-service packaging system for advertising application packages, including a system building module, a development package management module, a media master package generation module, and an advertising application package generation module;

[0038] The system setup module is used to deploy Java projects that integrate the APKtool tool to the server.

[0039] The development package management module is used by R&D personnel to log in to the web client, upload the development package to the server, and after receiving the package body data, the server parses the package body to obtain the APK package metadata and performs basic verification of the APK package metadata. After the basic verification is passed, the package body information is stored in the database.

[0040] The media master package generation module is used by operators to log in to the web client, select a development package from the list of uploaded development packages, define media master package related information for the selected development package, including package body operation information and front-end information, and send it to the server. After receiving the media master package related information, the server adds the task to the media master package queue for packaging and generates the media master package.

[0041] The ad application package generation module is used by operators to log in to the web client, select the corresponding media master package, configure the media reporting according to the delivery requirements based on the media master package, and submit the configured ad application information to the server. After receiving the information, the server adds the task to the application packaging queue and regenerates the ad application package according to the configuration information.

[0042] In another aspect, the present invention also provides an electronic device, the electronic device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the self-packaging method for Web-based advertising application packages as described in any embodiment of the present invention.

[0043] In another aspect, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the self-packaging method for Web-based advertising application packages as described in any embodiment of the present invention.

[0044] Compared with the prior art, the present invention has the following technical effects:

[0045] 1. Convenient deployment: When unpacking and repackaging the APK, this invention integrates the JAR package into the Java project, simplifying the deployment process, reducing dependency configuration, and facilitating integration with the front-end Web interface.

[0046] 2. High stability: This invention abandons the traditional Python + Shell packaging method, which has higher integration and simpler dependencies, improves stability and reduces dependency conflict errors.

[0047] 3. Packet Information Management: This invention enables online information management of all physical packets, allowing non-developers to efficiently view the core information of the current packet, replacing the traditional offline management method of manually unpacking and extracting packet information.

[0048] 4. Reduced usage costs: This invention provides a visual user interface, eliminating the need for programming and scripting knowledge for non-professionals, thus reducing usage and learning costs.

[0049] 5. Improved processing efficiency: This invention supports simultaneous operation by multiple users, processes multiple tasks in a queue, utilizes system resources, and meets the needs of rapid promotion across multiple platforms and channels. Attached Figure Description

[0050] Figure 1 This is an overall flowchart of the self-service packaging method for Web-based advertising application packages described in this invention;

[0051] Figure 2 This is an interactive flowchart of the R&D package management steps described in this invention;

[0052] Figure 3 This is a flowchart of the segmented upload interaction process described in this invention;

[0053] Figure 4 This is a flowchart of the media master package generation interaction process described in this invention;

[0054] Figure 5 This is a flowchart illustrating the interactive process of generating the advertising application package as described in this invention. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present application and with reference to the accompanying drawings.

[0056] Example 1

[0057] This embodiment provides a web-based self-service packaging method for advertising application packages. Traditional advertising application package packaging schemes simply add the advertising promotion identifier to the development package. Non-application developers can only access the package information by having developers unpack the package. Furthermore, modifying front-end display elements such as the application name, icon, login page background image, and login button color requires front-end developers to modify the relevant code and repackage. Modifying payment-related behavior information reported to media users requires back-end developers to modify the reporting logic and repackage. Therefore, key pain points exist: the packaging process heavily relies on developers, there is no information management of the development package, and it does not support flexible modification of the advertising application package's display content and back-end advertising reporting configuration. To address these pain points, this embodiment, based on different application scenarios requiring different resources for game advertising application packages, adopts a layered design for the advertising application package, dividing it into a development package, a media master package, and an advertising application package.

[0058] The advantages of using different levels of package design in this embodiment are as follows:

[0059] Reduced development dependencies: Traditional packaging requires developers to intervene in modifying code and repackaging. With layered design, non-developers can directly modify the front-end display content (such as application name and icon) or adjust the back-end reporting configuration through the system interface without relying on developers.

[0060] Supports flexible customization: Through layered generation of media master packages (modifying front-end content) and advertising application packages (adjusting back-end reporting logic), it enables diversified customization of advertising packages for multiple channels and platforms to meet rapidly changing delivery needs.

[0061] Package information management: After the development package is uploaded, the system automatically parses and stores information such as package name, version number, and signature, which can be viewed directly by non-developers, replacing the traditional offline management method of manual unpacking.

[0062] Improve efficiency: The layered packaging process (development package → media master package → advertising application package) enables self-service operation, reduces cross-role collaboration costs, and improves the production efficiency of advertising application packages.

[0063] Lowering the barrier to entry: Through a visual web interface, non-technical personnel (such as marketing personnel) can independently modify and generate packages without needing to master development or scripting knowledge.

[0064] Optimize campaign performance: The ad application package supports dynamic adjustment of backend reporting configurations (such as user payment behavior information) to adapt to changes in media delivery models and improve ad delivery accuracy.

[0065] Enhanced scalability: The layered design supports multi-task queuing and adapts to the needs of large-scale ad package production across multiple platforms and channels.

[0066] See Figure 1 As shown, the method described in this embodiment includes the following steps:

[0067] System Setup: Deploy the Java project integrating the APKtool utility to the server and set up the web client interface. Ensure a stable network connection between the server and client, and that the database can store and retrieve data correctly.

[0068] The development package management is used by APK application developers to upload the original development package, and also by non-developers to view the basic information of the original application package. The development package is the original parent package of the advertising application package: developers log in to the web client, upload the development package to the server, the server receives the package body data, parses the package body to obtain the APK package metadata, and performs basic verification of the APK package metadata. After the basic verification is passed, the package body information is stored in the database.

[0069] As a preferred embodiment of this example, Figure 2 As shown, the specific steps for managing the R&D package are as follows:

[0070] R&D personnel log in to the advertising system's web client, select the R&D package to upload (select the R&D package file to be uploaded on the upload interface), and the packaging system server returns the Uniform Resource Locator (file_url) of the R&D package.

[0071] The advertising system web client (AD Client - ADS system web client) sends a request to the advertising system server (AD Server - ADS system server) to obtain packet body information using a Uniform Resource Locator (URL) and application name.

[0072] The advertising system server sends a package body parsing request to the packaging system server (Pack Server). The packaging system server obtains the corresponding package file and performs package body parsing to obtain APK package metadata, including package name, application name, SHA1 signature, icon, and version number. It also performs basic verification on the APK package metadata, such as signature and package name. If the verification fails, an exception is thrown. If there is no exception, the basic package body information is created and returned to the advertising system server.

[0073] The advertising system server receives the package body information returned by the advertising system server, and performs a secondary verification using the package body information and the package body configuration information of the application to which the current package body belongs. If the secondary verification fails, an exception is thrown; otherwise, the package body information is returned to the advertising system web client.

[0074] The advertising system web client receives the package information returned by the advertising system server. The developers manually verify the package information. If it is correct, they submit the creation of the development package information. The advertising system web client then sends a request to the advertising system server to create the development package information.

[0075] After receiving the request, the advertising system server creates the development package information. Once the creation is successful, it sends a binding request to the packaging system server to bind the development package information created by the advertising system server with the package body information on the packaging system server.

[0076] Game APK files are typically quite large (500MB to 2GB). If a web client sends the entire APK file as a single HTTP request to the server in the conventional manner, it will face several problems, including limitations related to network, server capacity, memory, timeouts, and the ability to resume interrupted downloads. As a preferred embodiment, the upload mechanism between the web client and server in the development package management step is segmented upload with breakpoint resumption, such as... Figure 3 As shown, it specifically includes:

[0077] Researchers log in to the advertising system's web client, select a package file to upload, and the advertising system's web client performs hash calculations and fragmentation on the package file.

[0078] The advertising system's web client makes an upload request, and the packaging system server returns a list of uploaded segments.

[0079] The advertising system's web client makes concurrent requests and uploads all segments to the packaging system server.

[0080] The advertising system's web client requests the packaging system server to merge the fragments. The packaging system server performs a merge verification based on the hash value of the package file, the total number of fragments, and the total size of the package. If the verification fails, an exception is thrown; if the verification passes, the fragment files are merged to generate a complete APK file and all fragments are deleted.

[0081] After generating the complete APK file, the packaging system server returns the Uniform Resource Locator (URL) for the complete package file.

[0082] When the upload is interrupted due to human error or network issues, the uploaded package file fragments still exist on the packaging system server. When the developers re-upload the package file, the advertising system's web client only needs to upload the fragments that were missing from the packaging system server.

[0083] The advantages of chunked upload and resumeable upload described in this embodiment are as follows: Chunked upload solves the core pain points of large file uploads by "breaking down the whole file into smaller parts": reliability (resumeable upload), compatibility (bypassing server restrictions), efficiency (concurrent upload + instant upload), and user experience (precise progress + pause and resume). Compared with traditional file upload methods, chunked upload improves efficiency by more than 3 times. Specifically:

[0084] Resume upload interrupted: If an upload is interrupted, only the failed segments need to be re-uploaded. For example, if the network connection drops after 99% of the upload is complete, only the remaining 1% needs to be uploaded upon recovery. Bypass server size limits: Each segment is requested independently, without being limited by single request size (e.g., a 1GB file can be split into 20 50MB requests). Accelerated concurrent uploads: Multiple segments can be uploaded simultaneously. Reduced server memory pressure: The server processes only small segments (e.g., 50MB) at a time, eliminating the need to cache the entire file. Precise progress control: Real-time calculation of the uploaded segment ratio (e.g., number of uploaded segments / total number of segments) ensures more accurate progress. Optimized instant upload: The server uses file hash verification to check if a duplicate file already exists; if so, the upload is skipped.

[0085] Media master package generation, accessible to all personnel, allows operators to quickly and flexibly customize the front-end content of advertising application packages, enabling diverse customization of multi-channel and multi-media media master packages: Operators log in to the web client, select a development package from the list of uploaded development packages, define media master package related information for the selected development package, including package operation information and front-end information, and send it to the server. After receiving the media master package related information, the server adds the task to the media master package queue for packaging and generates the media master package.

[0086] As a preferred embodiment of this example, Figure 4 As shown, the media master package generation steps are as follows:

[0087] Operators log in to the advertising system's web client, select a development package from the list of uploaded development packages, define media master package information for the selected development package, including package operation information and front-end information, and initiate a request to create a media master package to the advertising system server.

[0088] After receiving the request, the server creates media master package information based on the information of the development package and the media master package, writes the packaging log with the status of pending packaging, and pushes the packaging message of creating media master package to the packaging system server.

[0089] The packaging system server receives the packaging message pushed by the advertising system server, adds the packaging message to the packaging queue, and packages according to the queue order. When packaging starts, the packaging system server pushes the start packaging message to the advertising system server, and the advertising system server updates the packaging status of the media master package to packaging and adds the corresponding packaging log.

[0090] When packaging is complete, the packaging system server pushes a completion message to the advertising system server. The advertising system server then updates the packaging status of the media master package to "packaged" and adds a corresponding packaging log. After packaging is complete, operators can view the updated task status on the web client interface.

[0091] In a preferred embodiment of this practice, the specific steps for defining media master package information for the selected R&D package are as follows:

[0092] Operators log in to the web client, select a development package from the list of uploaded development packages, bind the selected development package with package operation information including operation channels, media platforms, and media plugins, and modify the corresponding front-end information of the development package, including the APK application name, icon, login animation, login background page, login button color, etc., according to promotion needs.

[0093] The ad application package is generated and is accessible to all users. When the ad application package is deployed, operators can adjust the payment behavior information reported to the media by the backend of the ad application package at any time according to changes in the media delivery model, thereby improving the effectiveness of ad delivery. Operators log in to the web client, select the corresponding media master package, configure the media reporting according to the delivery requirements based on the media master package, and submit the configured ad application-related information to the server. After receiving the information, the server adds the task to the application packaging queue and regenerates the ad application package according to the configuration information.

[0094] As a preferred embodiment of this example, Figure 5 As shown, the specific steps for generating the ad application package are as follows:

[0095] Operators log in to the web client, select the corresponding media master package, configure the media reporting according to the delivery requirements based on the media master package, submit the configured advertising application information to the server, and initiate a request to create an advertising application package to the advertising system server.

[0096] After receiving the request, the server retains the relevant information of the advertising application based on the selected media master package, writes the packaging log with the status of pending packaging, and pushes the packaging message to the packaging system server to create the application packaging.

[0097] The packaging system server receives the packaging message pushed by the advertising system server, adds the packaging message to the packaging queue, and packages according to the queue order. When packaging starts, the packaging system server pushes the start packaging message to the advertising system server, and the advertising system server updates the packaging status of the advertising application package to "packaging in progress" and adds the corresponding packaging log.

[0098] Once packaging is complete, the packaging system server uploads the generated ad application package to Aliyun OSS. If the upload is successful, the ad application package is deleted from the packaging system server. The packaging system server pushes a packaging completion message to the ad system server, which updates the packaging status of the ad application package to "packaged" and adds a corresponding packaging log. After the ad application package is generated, the system automatically generates a download link and QR code, which are then displayed to marketers on the web client interface.

[0099] The differences between the development package, media master package, and advertising application package are as follows: The development package is the original package body, without any modifications. The media master package is based on the development package, with modifications to the front-end style and binding of media master package information required for advertising reporting, such as the operation channel identifier, advertising media identifier, and advertising reporting plugin. The advertising application package binds to the unique identifier of the final advertisement to be delivered, and the reporting configuration can be flexibly adjusted during the advertising application delivery process.

[0100] In a preferred embodiment of this invention, the method further includes an automatic update mechanism and multi-task processing, specifically:

[0101] Automatic update mechanism: When a new development package is uploaded, the server automatically detects and verifies the validity of the new master package. Once confirmed, it iterates through all media master packages and advertising application packages based on that development package in the database and automatically executes the update operation. During the update process, operators can view the update progress in the web client.

[0102] Multi-task processing: Real-time monitoring of task status in each queue. When a new task is submitted, it is added to the end of the corresponding queue. The server processes tasks sequentially according to the queue order. After each task is completed, the task status is updated and displayed to the operator in the web client interface.

[0103] Example 2

[0104] Accordingly, this embodiment provides a web-based self-service packaging system for advertising application packages. The system is used to implement the web-based self-service packaging method for advertising application packages as described in Embodiment 1 of the present invention, including a system building module, a development package management module, a media master package generation module, and an advertising application package generation module.

[0105] The system setup module is used to deploy Java projects that integrate the APKtool tool to the server.

[0106] The development package management module is used by developers to log in to the web client, upload development packages to the server, and after receiving the package data, the server parses the package to obtain the APK package metadata and performs basic verification of the APK package metadata. After the basic verification is passed, the package information is stored in the database.

[0107] The media master package generation module is used by operators to log in to the web client, select a development package from the list of uploaded development packages, define media master package related information for the selected development package, including package body operation information and front-end information, and send it to the server. After receiving the media master package related information, the server adds the task to the media master package queue for packaging and generates the media master package.

[0108] The ad application package generation module is used by operators to log in to the web client, select the corresponding media master package, configure the media reporting according to the delivery requirements based on the media master package, and submit the configured ad application information to the server. After receiving the information, the server adds the task to the application packaging queue and regenerates the ad application package according to the configuration information.

[0109] Example 3

[0110] This embodiment provides an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the self-packaging method for web-based advertising application packages as described in Embodiment 1 of this invention.

[0111] Example 4

[0112] This embodiment provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the self-packaging method for Web-based advertising application packages as described in Embodiment 1 of this invention.

[0113] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, A and B simultaneously, or B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple.

[0114] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0115] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0116] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0117] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A self-service packaging method for web-based advertising application packages, characterized in that, Includes the following steps: Deploy the Java project that integrates the APKtool tool to the server. R&D personnel log in to the web client, upload the R&D package to the server, and after receiving the package body data, the server parses the package body to obtain the APK package metadata and performs basic verification of the APK package metadata. After the basic verification is passed, the package body information is stored in the database. Operators log in to the web client, select a development package from the list of uploaded development packages, define media master package related information for the selected development package, including package body operation information and front-end information, and send it to the server. After receiving the media master package related information, the server adds the task to the media master package queue for packaging and generates the media master package. Operators log in to the web client, select the corresponding media master package, configure the media reporting according to the delivery requirements based on the media master package, and submit the configured advertising application information to the server. After receiving the information, the server adds the task to the application packaging queue and regenerates the advertising application package according to the configuration information.

2. The self-service packaging method for Web-based advertising application packages according to claim 1, characterized in that, The R&D personnel log in to the web client, upload the R&D package to the server, and after receiving the package data, the server parses the package to obtain the APK package metadata and performs basic verification of the APK package metadata. After the basic verification is passed, the package information is stored in the database. Specifically: R&D personnel log in to the advertising system's web client, select the R&D package to upload, and the packaging system server returns the R&D package's Uniform Resource Locator (URL). The advertising system's web client sends a request to the advertising system server to obtain package body information using a Uniform Resource Locator (URL) and the application name. The advertising system server sends a package body parsing request to the packaging system server. The packaging system server obtains the corresponding package file and performs package body parsing to obtain APK package metadata, including package name, application name, SHA1 signature, icon, and version number. It also performs basic verification on the APK package metadata. If the verification fails, an exception is thrown. If there is no exception, basic package body information is created and the package body information is returned to the advertising system server. The advertising system server receives the package body information returned by the advertising system server, and performs a secondary verification using the package body information and the package body configuration information of the application to which the current package body belongs. If the secondary verification fails, an exception is thrown; otherwise, the package body information is returned to the advertising system web client. The advertising system web client receives the package body information returned by the advertising system server. The developers manually verify the package body information. If it is correct, they submit the creation of the development package information. The advertising system web client then sends a request to the advertising system server to create the development package information. After receiving the request, the advertising system server creates the development package information. Once the creation is successful, it sends a binding request to the packaging system server to bind the development package information created by the advertising system server with the package body information on the packaging system server.

3. The self-service packaging method for Web-based advertising application packages according to claim 2, characterized in that, The upload mechanism between the web client and the server is a chunked upload with resume capability, specifically including: R&D personnel log in to the advertising system's web client, select a package file to upload, and the advertising system's web client performs hash calculations and fragmentation on the package file. The advertising system's web client makes an upload request, and the packaging system's server returns a list of uploaded segments; The advertising system's web client makes concurrent requests and uploads all segments to the packaging system server; The advertising system's web client requests the packaging system server to merge the fragments. The packaging system server performs a merge verification based on the package file's hash value, the total number of fragments, and the total package size. If the verification fails, an exception is thrown. If the verification passes, the fragment files are merged to generate a complete APK file and all fragments are deleted. After generating the complete APK file, the packaging system server returns the Uniform Resource Locator (URL) of the complete package file; When the upload is interrupted due to human error or network issues, the uploaded package file fragments still exist on the packaging system server. When the developers re-upload the package file, the advertising system's web client only needs to upload the fragments that were missing from the packaging system server.

4. The self-service packaging method for Web-based advertising application packages according to claim 1, characterized in that, The operator logs into the web client, selects a development package from the list of uploaded development packages, defines media master package related information for the selected development package, including package body operation information and front-end information, and sends it to the server. After receiving the media master package related information, the server adds the task to the media master package queue for packaging, generating the media master package as follows: Operators log in to the advertising system's web client, select a development package from the list of uploaded development packages, define media master package related information for the selected development package, including package operation information and front-end information, and initiate a request to create a media master package to the advertising system server; After receiving the request, the server creates media master package information based on the information of the development package and the media master package, writes the packaging log with the status of pending packaging, and pushes the packaging message of creating media master package to the packaging system server; The packaging system server receives the packaging message pushed by the advertising system server, adds the packaging message to the packaging queue and packages according to the queue order. When packaging starts, the packaging system server pushes the start packaging message to the advertising system server. The advertising system server updates the packaging status of the media master package to packaging and adds the corresponding packaging log. When the packaging is complete, the packaging system server pushes a message to the advertising system server, and the advertising system server updates the packaging status of the media master package to "packaged" and adds the corresponding packaging log.

5. The self-service packaging method for Web-based advertising application packages according to claim 4, characterized in that, The specific information related to the media master package defined for the selected R&D package is as follows: Operators log in to the web client, select a development package from the list of uploaded development packages, bind the selected development package with package operation information including operation channels, media platforms, and media plugins, and modify the corresponding front-end information of the development package, including the APK application name, icon, login animation, and login background page, according to promotion needs.

6. The self-service packaging method for Web-based advertising application packages according to claim 1, characterized in that, The operator logs into the web client, selects the corresponding media master package, configures the media reporting according to the delivery requirements based on the media master package, and submits the configured advertising application information to the server. After receiving the information, the server adds the task to the application packaging queue and regenerates the advertising application package according to the configuration information. The specific steps are as follows: Operators log in to the web client, select the corresponding media master package, configure the media reporting according to the delivery requirements based on the media master package, submit the configured advertising application information to the server, and initiate a request to create an advertising application package to the advertising system server. After receiving the request, the server retains the relevant information of the advertising application based on the selected media master package, writes the packaging log with the status of pending packaging, and pushes the packaging message to the packaging system server to create the application packaging. The packaging system server receives the packaging message pushed by the advertising system server, adds the packaging message to the packaging queue and packages according to the queue order. When packaging starts, the packaging system server pushes the start packaging message to the advertising system server, and the advertising system server updates the packaging status of the advertising application package to "packaging in progress" and adds the corresponding packaging log. When the packaging is complete, the packaging system server will upload the generated advertising application package to Aliyun OSS. Once the upload is successful, the advertising application package will be deleted from the packaging system server. The packaging system server pushes a message indicating that the packaging is complete to the advertising system server. The advertising system server then updates the packaging status of the advertising application package to "packaged" and adds a corresponding packaging log.

7. A web-based self-service packaging system for advertising application packages, characterized in that, The system is used to implement the self-service packaging method for Web-based advertising application packages as described in any one of claims 1 to 6, including a system building module, a development package management module, a media master package generation module, and an advertising application package generation module; The system setup module is used to deploy Java projects that integrate the APKtool tool to the server. The development package management module is used by R&D personnel to log in to the web client, upload the development package to the server, and after receiving the package body data, the server parses the package body to obtain the APK package metadata and performs basic verification of the APK package metadata. After the basic verification is passed, the package body information is stored in the database. The media master package generation module is used by operators to log in to the web client, select a development package from the list of uploaded development packages, define media master package related information for the selected development package, including package body operation information and front-end information, and send it to the server. After receiving the media master package related information, the server adds the task to the media master package queue for packaging and generates the media master package. The ad application package generation module is used by operators to log in to the web client, select the corresponding media master package, configure the media reporting according to the delivery requirements based on the media master package, and submit the configured ad application information to the server. After receiving the information, the server adds the task to the application packaging queue and regenerates the ad application package according to the configuration information.

8. An electronic device, the electronic device comprising: A memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, when the processor executes the computer program, it implements the self-packaging method for Web-based advertising application packages as described in any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the self-packaging method for Web-based advertising application packages as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and system for realizing automatic packaging deployment based on application web end

    CN111736855A