CN107580049A - A kind of expansible efficient APP channels bag packing platform - Google Patents

A kind of expansible efficient APP channels bag packing platform Download PDF

Info

Publication number
CN107580049A
CN107580049A CN201710789146.2A CN201710789146A CN107580049A CN 107580049 A CN107580049 A CN 107580049A CN 201710789146 A CN201710789146 A CN 201710789146A CN 107580049 A CN107580049 A CN 107580049A
Authority
CN
China
Prior art keywords
packing
app
channel
module
bag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710789146.2A
Other languages
Chinese (zh)
Inventor
朱光
彭莉莉
胡研
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongcheng Network Technology Co Ltd
Original Assignee
Tongcheng Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tongcheng Network Technology Co Ltd filed Critical Tongcheng Network Technology Co Ltd
Priority to CN201710789146.2A priority Critical patent/CN107580049A/en
Publication of CN107580049A publication Critical patent/CN107580049A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

A kind of expansible efficient APP channels bag packing platform, including:Web administration backstage, for packing channel to be write into public task queue, APP memory space, packing manner are set, check packing progress and packing result;Public task queue, for storing the channel list to be packed, and channel crawl interface is provided, competed for distributed multiple packaged services, consumption packing list;Distributed packaged service module, for monitoring public task queue and competition consumption public task queue, and multiple packing threads are opened according to packing task and packed parallel;Distributed storage module, for providing expansible distributed storage for channel bag, store each version channel bag;Download module, for providing resource output service for each APP;CDN memory modules, for caching channel bag, and provide the user installation kit and download money;Using distributed packaged service technology, each service can be packed simultaneously with multithreading, effectively increased the efficiency of packing, extended storage performance.

Description

A kind of expansible efficient APP channels bag packing platform
Technical field
A kind of packing platform of present invention design, more particularly to a kind of expansible efficient APP channels bag packing platform.
Background technology
Current APP species is more, and channel bag packing manner is different, and each APP oneself realizes respective channel packaging system, beats Bag efficiency is low, and automatization level is low, and occupancy manpower is more, and maintenance cost is high.On the other hand, each APP has many popularizations Channel, the packing of channel bag is time-consuming big, and occupancy memory space is big, can not realize old version management and the rollback of problem version.
The content of the invention
In view of the defects of above-mentioned prior art is present, the purpose of the present invention is exactly to propose a kind of expansible efficient APP canals Road bag packing platform, using distributed packaged service technology, each service can multithreading pack simultaneously, effectively increase dozen The efficiency of bag, extend packing performance.
The purpose of the present invention, it will be achieved by the following technical programs:A kind of expansible efficient APP channels bag packing Platform, including web administration backstage, public task queue, distributed packaged service module, distributed storage module, download website mould Block and CDN memory modules;
Web administration backstage, for starting packing task, by packing channel write-in public task queue, set APP storage empty Between, packing manner, check packing progress and packing result;
Public task queue, for storing the channel list to be packed, and the channel crawl interface of atomicity can be provided, for dividing Multiple packaged services competition of cloth, consumption packing list;
Distributed packaged service module, for monitoring public task queue and competition consumption public task queue, and according to packing Task is opened multiple packing threads in respective server and packed parallel, and completed channel bag is output into distribution Memory module;Packaged service can be according to actual task demand, extended theorem quantity.
Distributed storage module, for providing expansible distributed storage for channel bag, store each APP each version canal Road bag;
Download module, for providing resource output service for each APP, and the channel bag of web administration backstage issue is output to CDN Memory module;
CDN memory modules, for caching channel bag, and provide the user installation kit and download resource.
The technical scheme that further limits of the present invention is:Public task queue, which possesses, is capable of connecing for atomicity acquisition channel number Mouthful, carry out packing simultaneously for multiple packaged services and data support is provided.
As a further improvement on the present invention, further, public task queue can not be limited by data storage storehouse, With require to realize grab can atom obtain the interface of channel number, data storage storehouse can use Sql Server, MySql data Storehouse queue or Redis cache queues.
As a further improvement on the present invention, further, the packing principle of distributed packaged service module is:
PackingService is that each APP starts an AppService, and by different App packing task, trustship is had App One AppService object of mark;
AppService starts corresponding Module, will specifically pack task, and trustship is to Module according to packing task;
Module is realized by the data grabber of public task queue;The batch crawl channel number of atomicity from public queue, And it is stored in memory queue;Start multiple Handler threads simultaneously, and manage these Handler threads, by consumption internal memory team The Handler threads having been started up are given in the task of row, trustship, realize that a service multi-threaded parallel plays channel bag;
Handler threads, the internal memory channel queue in the packaged service where oneself is consumed, and in packing, according to APP's Difference, different packing devices is loaded, will specifically pack trustship packing device;To realize that packaged service can support any number of APP Packing task so that packaged service can support packing App number of types can be with unrestricted extension.
As a further improvement on the present invention, further, distributed storage module can store a large amount of App packings generations High quantity channel bag;Distributed storage mode can expand memory space and backup file.
As a further improvement on the present invention, further, download website deposits according to the setting on web administration backstage by distribution Store up module and CDN release quickly redactions, redaction can quick rollback legacy version.
The present invention protrusion effect be:
1st, using distributed packaged service, the quantity of packaged service has been expanded, and has been packed simultaneously using multithreading in each service, Effectively increase the speed and efficiency of packing.
2nd, packing device can be expanded for interface, and the APP quantity of support is unrestricted, it is possibility to have the integration of effect is more APP channel bag packing, and by management get up.
3rd, expansible storage performance, can store the channel bag of each version, the quick rollback of problem of implementation version, simultaneously The security of storage is enhanced using back mechanism.
4th, the installation kit that high-speed can have been provided the user using third party CDN storages downloads resource, improves well The customer experience degree of terminal user.
Brief description of the drawings
Fig. 1 is the platform structure schematic diagram of the present invention;
Fig. 2 is the packaged service principle schematic of the present invention.
Embodiment
Embodiment one
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings with specific embodiment to this hair It is bright to be described in detail.
Refering to a kind of expansible efficient APP channels bag packing platform of Fig. 1 present invention, including web administration backstage, distribution Formula packaged service module, distributed storage module, download website module and CDN memory modules;
Web administration backstage, for starting packing task, by packing channel write-in public queue, APP memory space is set, beaten Packet mode, check packing progress and packing result, final publication channel bag and refreshing CDN;
Distributed packaged service module, for monitoring packing task and consumption public queue, multiple beat is opened according to packing task Envelope curve journey completes packing, and can provide support for more packing tasks with packaged service extending transversely, and will be completed Channel bag is output to distributed storage module;
Distributed storage module, for providing expansible distributed storage for channel bag, store each APP each version channel Bag;
Download module, for providing resource output service for each APP, the channel bag of web administration backstage issue is output into CDN deposits Store up module;
CDN memory modules, for caching channel bag, and provide the user optimal installation kit and download resource.
The operation rules in upper each module, mode etc. will be described in detail below.
Public queue, the databases such as Sql Server, MySql can be used, Redis cache queues can also be used, Major responsibility is for distributed packaged service, there is provided a public task queue, carries out packing simultaneously for multiple packaged services and carries Supported for data.
The packing principle of distributed packaged service module is as shown in Figure 2:
PackingService is that each APP starts an AppService, and by different App packing task, trustship is had App One AppService object of mark;
AppService starts corresponding Module, will specifically pack task, and trustship is to Module according to packing task;
Module realizes that the batch of atomicity captures channel number from public queue by the data grabber of public task queue, And it is stored in memory queue;Start multiple Handler threads simultaneously, and manage these Handler threads, by consumption internal memory team The Handler threads having been started up are given in the task of row, trustship, realize that a service multi-threaded parallel plays channel bag;
Handler threads, the internal memory channel queue in the packaged service where oneself is consumed, and in packing, according to APP's Difference, different packing devices is loaded, will specifically pack trustship packing device;To realize that packaged service can support any number of APP Packing task so that packing can support packing App number of types can be with unrestricted extension.
Redaction can quick rollback legacy version in distributed storage module.Distributed storage module uses back mechanism, Ensure the safety of channel bag data.
The compatible packing demand of diversified forms of packaged service.
This platform need the Web site of deployment management system, the Web site of packaged service, download output Web site, Distributed storage service, CDN service access.And for user, it is only necessary to which operational administrative backstage, all packing process are right User is transparent, and user only need to create packing task start packing in management backstage, monitoring and inquiry packing state, complete After carry out an acceptance inspection and issue.
The platform makes channel packing whole flow process more automate, and simplifies the operation of post staff;Beaten using distribution Bag service, is easy to expand packaged service quantity, and each service can multiple threads pack simultaneously, effectively raise dozen Speed packet and packing efficiency;Expansible storage performance solves channel and asked because channel ID does not stop to increase the storage bottleneck that brings Topic, and can store multiple version channel bags, and the rollback function of problem of implementation version makes management backstage can be more effectively to carry out version This management;The installation kit that high-speed is provided for the user of various regions using third party CDN platforms downloads resource, is easy to user to download, Effectively increase the customer experience degree of terminal user.
In addition to the implementation, the present invention can also have other embodiment.It is all to use equivalent substitution or equivalent transformation shape Into technical scheme, all fall within the protection domains of application claims.

Claims (6)

1. a kind of expansible efficient APP channels bag packing platform, it is characterised in that including web administration backstage, public task team Row, distributed packaged service module, distributed storage module, download website module and CDN memory modules;
The web administration backstage, for starting packing task, by packing channel write-in public task queue, APP storage is set Space, packing manner, check packing progress and packing result;
The public task queue, for storing the channel list to be packed, and the channel crawl interface of atomicity is provided, for dividing Multiple packaged services competition of cloth, consumption packing list;
The distributed packaged service module, the public task queue is consumed for monitoring public task queue and competition, and Multiple packing threads are opened in respective server to be packed parallel, and completed channel bag is exported according to packing task To distributed storage module;
The distributed storage module, for providing expansible distributed storage for channel bag, store each APP each version canal Road bag;
The download module, for providing resource output service, and the channel bag that web administration backstage is issued for each APP It is output to CDN memory modules;
The CDN memory modules, for caching channel bag, and provide the user installation kit and download resource.
A kind of 2. expansible efficient APP channels bag packing platform according to claim 1, it is characterised in that the public affairs Task queue possesses the interface realization for being capable of atomicity acquisition channel number altogether, and carrying out parallel packing for multiple packaged services provides number According to support.
3. a kind of expansible efficient APP channels bag packing platform according to claim 1 or 2, it is characterised in that described Public task queue can not be limited by data storage storehouse, with require to realize grab can atom obtain the interface of channel number, The data storage storehouse can use Sql Server, MySql queue databases or Redis cache queues.
4. a kind of expansible efficient APP channels bag packing platform according to claim 1, it is characterised in that described point The packing principle of cloth packaged service module is:
PackingService is that each APP starts an AppService, and by different App packing task, trustship is had App One AppService object of mark;
AppService starts corresponding Module, will specifically pack task, and trustship is to Module according to packing task;
Module realizes that the batch of atomicity captures channel from public task queue by the data grabber of public task queue Number, and be stored in memory queue;Start multiple Handler threads simultaneously, and manage these Handler threads, by consumption The task of queue is deposited, the Handler threads having been started up are given in trustship;
Handler threads, the internal memory channel queue in the packaged service where oneself is consumed, and in packing, according to APP's Difference, different packing devices is loaded, the trustship that will specifically pack is to packing device;To realize that it is any number of that packaged service can be supported APP packing task so that the supported unrestricted extension of App number of types of packaged service.
5. a kind of expansible efficient APP channels bag packing platform according to claim 1, it is characterised in that described point Cloth memory module can store the channel bag of the big quantity of a large amount of App packings generations;Distributed storage mode can be expanded and deposited Store up space and backup file.
6. a kind of expansible efficient APP channels bag packing platform according to claim 1, it is characterised in that under described Carrying station can be quick by distributed storage module and CDN release quickly redactions, redaction according to the setting on web administration backstage Rollback legacy version.
CN201710789146.2A 2017-09-05 2017-09-05 A kind of expansible efficient APP channels bag packing platform Pending CN107580049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710789146.2A CN107580049A (en) 2017-09-05 2017-09-05 A kind of expansible efficient APP channels bag packing platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710789146.2A CN107580049A (en) 2017-09-05 2017-09-05 A kind of expansible efficient APP channels bag packing platform

Publications (1)

Publication Number Publication Date
CN107580049A true CN107580049A (en) 2018-01-12

Family

ID=61031374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710789146.2A Pending CN107580049A (en) 2017-09-05 2017-09-05 A kind of expansible efficient APP channels bag packing platform

Country Status (1)

Country Link
CN (1) CN107580049A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660607A (en) * 2018-12-05 2019-04-19 北京金山云网络技术有限公司 A kind of service request distribution method, method of reseptance, device and server cluster
CN110347398A (en) * 2018-04-08 2019-10-18 阿里巴巴集团控股有限公司 A kind of packaging method and device of application program
CN111596931A (en) * 2020-05-27 2020-08-28 北京学之途网络科技有限公司 Application program packaging method and device, electronic equipment and readable storage medium
CN112416353A (en) * 2020-08-10 2021-02-26 上海幻电信息科技有限公司 Channel package packaging method and device and computer equipment
CN113094121A (en) * 2021-04-30 2021-07-09 腾讯科技(成都)有限公司 Data processing method, data processing equipment and computer readable storage medium
CN113238820A (en) * 2021-05-12 2021-08-10 北京达佳互联信息技术有限公司 Task processing method, device, server and storage medium
CN114205351A (en) * 2021-11-01 2022-03-18 北京中合谷投资有限公司 Cloud game service system and method for family customers

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932750A (en) * 2005-09-13 2007-03-21 佳能株式会社 Information processing apparatus, information processing method, and program
CN103729186A (en) * 2013-12-31 2014-04-16 上海网达软件股份有限公司 Method for generating multi-channel apk file packages in batches
CN104516755A (en) * 2013-10-08 2015-04-15 博雅网络游戏开发(深圳)有限公司 Installation package generating method and device
US20150160939A1 (en) * 2013-12-05 2015-06-11 Kaspersky Lab Zao System and method for modifying a software distribution package without recalculating digital signatures
CN105068818A (en) * 2015-08-26 2015-11-18 网易(杭州)网络有限公司 Channel package generation method and apparatus and channel package batch generation method and system
CN105323285A (en) * 2014-07-28 2016-02-10 上海指游网络技术有限公司 APP-product multi-platform release method
CN106126205A (en) * 2016-06-14 2016-11-16 武汉斗鱼网络科技有限公司 The rapid batch of a kind of Android program installation kit generates method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932750A (en) * 2005-09-13 2007-03-21 佳能株式会社 Information processing apparatus, information processing method, and program
CN104516755A (en) * 2013-10-08 2015-04-15 博雅网络游戏开发(深圳)有限公司 Installation package generating method and device
US20150160939A1 (en) * 2013-12-05 2015-06-11 Kaspersky Lab Zao System and method for modifying a software distribution package without recalculating digital signatures
CN103729186A (en) * 2013-12-31 2014-04-16 上海网达软件股份有限公司 Method for generating multi-channel apk file packages in batches
CN105323285A (en) * 2014-07-28 2016-02-10 上海指游网络技术有限公司 APP-product multi-platform release method
CN105068818A (en) * 2015-08-26 2015-11-18 网易(杭州)网络有限公司 Channel package generation method and apparatus and channel package batch generation method and system
CN106126205A (en) * 2016-06-14 2016-11-16 武汉斗鱼网络科技有限公司 The rapid batch of a kind of Android program installation kit generates method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KIVEN_ ANDROID: "Android多渠道打包三种方式", 《HTTPS://BLOG.CSDN.NET/HPC19950723/ARTICLE/DETAILS/60592643》 *
UNCLECHEN的博客: "Android Studio Gradle实践之多渠道自动化打包+版本号管理", 《UNCLECHEN.GITHUB.IO/2015/10/22/ANDROID STUDIO GRADLE实践之多渠道自动化打包+版本号管理/ 》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347398A (en) * 2018-04-08 2019-10-18 阿里巴巴集团控股有限公司 A kind of packaging method and device of application program
CN109660607A (en) * 2018-12-05 2019-04-19 北京金山云网络技术有限公司 A kind of service request distribution method, method of reseptance, device and server cluster
CN109660607B (en) * 2018-12-05 2021-08-27 北京金山云网络技术有限公司 Service request distribution method, service request receiving method, service request distribution device, service request receiving device and server cluster
CN111596931A (en) * 2020-05-27 2020-08-28 北京学之途网络科技有限公司 Application program packaging method and device, electronic equipment and readable storage medium
CN112416353A (en) * 2020-08-10 2021-02-26 上海幻电信息科技有限公司 Channel package packaging method and device and computer equipment
CN112416353B (en) * 2020-08-10 2024-07-23 上海幻电信息科技有限公司 Channel package packing method and device and computer equipment
CN113094121A (en) * 2021-04-30 2021-07-09 腾讯科技(成都)有限公司 Data processing method, data processing equipment and computer readable storage medium
CN113094121B (en) * 2021-04-30 2023-03-10 腾讯科技(成都)有限公司 Data processing method, data processing equipment and computer readable storage medium
CN113238820A (en) * 2021-05-12 2021-08-10 北京达佳互联信息技术有限公司 Task processing method, device, server and storage medium
CN114205351A (en) * 2021-11-01 2022-03-18 北京中合谷投资有限公司 Cloud game service system and method for family customers

Similar Documents

Publication Publication Date Title
CN107580049A (en) A kind of expansible efficient APP channels bag packing platform
CN103197979B (en) Method and device for realizing data interaction access among processes
CN104317650B (en) A kind of job scheduling method towards Map/Reduce type mass data processing platforms
Ropke et al. A unified heuristic for a large class of vehicle routing problems with backhauls
CN111124277B (en) Deep learning data set caching method, system, terminal and storage medium
CN104270421B (en) A kind of multi-tenant cloud platform method for scheduling task for supporting Bandwidth guaranteed
CN108351885A (en) Reduce resource consumption associated with the storage of container and operation
CN108667867A (en) Date storage method and device
CN107590226A (en) A kind of map vector rendering intent based on tile
CN107229721A (en) A kind of method and device for changing data pick-up
CN107480717A (en) Train job processing method and system, computing device, computer-readable storage medium
CN106547612A (en) A kind of multi-task processing method and device
CN107357630A (en) A kind of method, apparatus and storage medium for realizing that virtual machine is synchronous
CN103946803A (en) Processor with efficient work queuing
CN110532059B (en) Quota management method and device for K8s cluster management software
CN102508709A (en) Distributed-cache-based acquisition task scheduling method in purchase, supply and selling integrated electric energy acquiring and monitoring system
CN106199696A (en) seismic data processing system and method
CN106095524A (en) A kind of virtual machine deployment method, system and device
CN106453618A (en) Remote sensing image processing service cloud platform system based on G-Cloud cloud computing
CN106682110A (en) Video file storing and managing system and method based on Hash grid index
CN107870871A (en) The method and apparatus for distributing caching
CN105210059B (en) A kind of data processing method and system
CN110262998A (en) A kind of reconciliation data processing method and device
US20150234841A1 (en) System and Method for an Efficient Database Storage Model Based on Sparse Files
CN104050193A (en) Message generating method and data processing system for realizing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180112

RJ01 Rejection of invention patent application after publication