CN105721595A - IOS APP packaging method and system - Google Patents
IOS APP packaging method and system Download PDFInfo
- Publication number
- CN105721595A CN105721595A CN201610119583.9A CN201610119583A CN105721595A CN 105721595 A CN105721595 A CN 105721595A CN 201610119583 A CN201610119583 A CN 201610119583A CN 105721595 A CN105721595 A CN 105721595A
- Authority
- CN
- China
- Prior art keywords
- app
- server
- packing press
- task
- distribution
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
Abstract
The invention discloses an iphone operating system (IOS) APP packaging method and system. The IOS APP packaging method comprises the steps: S1, configuring a server cluster, including multiple servers, each of which is provided with a master node; S2, configuring an APP packaging machine cluster, including multiple APP packaging machines, each of which is provided with multiple slave nodes; S3, configuring a corresponding relation between each server and at least one APP packaging machine; S4, receiving an APP packaging task, and allocating the APP packaging task to the master nodes of the servers; S5, by the master node of each server, controlling corresponding slave nodes of at least one APP packaging machine to perform the allocated APP packaging task. The IOS APP packaging method and system fully exert capabilities of the APP packaging machines, have the capability of dynamically adjusting the APP packaging task as required, and implement optimal utilization of packaging resources.
Description
Technical field
The present invention relates to the packaging method of the app (application program) of a kind of IOS (Mobile operating system of Apple's exploitation) system and system.
Background technology
Now the app of IOS version is packed at present, has three kinds of modes:
(1) using black Fructus Mali pumilae virtual machine that app is packed, the method relates to safety and highlights with licensing issue, and the later stage introduces dangerous to the market.
(2) what adopt is Fructus Mali pumilae machine unit mode, still has a lot of technological gap for using cluster to pack, and what do not form a kind of maturation uses the cluster method to play the app bag of IOS system reliably.
(3) mode of cluster master node (Centroid) control centre+multiple Fructus Mali pumilae machines is used, but way typically now is that a Fructus Mali pumilae machine is as a slave node (slave node), how many machines are so had just to have great capacity, all of packing capacity belongs to static mode, distributed in demand can not be realized, dynamically adjusting, when the demand of packing is big, the tasks carrying that all of packing task must be waited in line above completes.Simultaneously once master capacity reach the upper limit cannot dilatation, master also cannot make HA (high availability) mode and form High Availabitity.
Summary of the invention
The technical problem to be solved in the present invention is to overcome the app packing manner of IOS system in prior art can not realize on-demand adjustment, the defect dynamically adjusted, it is provided that the packaging method of the app of a kind of IOS system and system.
The present invention solves above-mentioned technical problem by following technical proposals:
The invention provides the packaging method of the app of a kind of IOS system, it is characterized in that, comprises the following steps:
S1, server cluster is set, described server cluster includes multiple server, is equipped with a master node in each server;
S2, app packing press cluster is set, described app packing press cluster includes multiple app packing press, is equipped with multiple slave node in each app packing press;
S3, the corresponding relation of each server and at least one app packing press is set, wherein, the app packing press that each server is corresponding is all different;
S4, receive app and pack task, and task distribution of being packed by described app is to the master node of the plurality of server;
S5, slave node at least one app packing press corresponding to master node control in each server performs the app of distribution and packs task.
It is preferred that described packaging method also includes:
Master node for each server distributes different weight proportions;
Step S4In also described app is packed task according to described weight proportion distribution to the master node of the plurality of server.
It is preferred that step S2In different dispatching priorities is also set in each server, each app packing press corresponding with described server all has a slave node at same dispatching priority;
Step S5In for each server, also first determine whether whether the quantity of the app packing task of distribution exceedes the quantity of the app packing press corresponding with described server, if not, the slave node that at least one app packing press that then the master node control in described server is corresponding, dispatching priority is the highest performs the app packing task of distribution, if so, at least one app packing press that then the master node control in described server is corresponding, the slave node of multiple dispatching priorities performs the app of distribution and packs task.
It is preferred that step S2In each app packing press is equipped with 3 slave nodes.
It is preferred that the operating system of described app packing press is IOS system.
It is an object of the invention to additionally provide the packaging system of the app of a kind of IOS system, it is characterized in that, including:
First arranges module, is used for arranging server cluster, and described server cluster includes multiple server, is equipped with a master node in each server;
Second arranges module, is used for arranging app packing press cluster, and described app packing press cluster includes multiple app packing press, is equipped with multiple slave node in each app packing press;
3rd arranges module, and for arranging the corresponding relation of each server and at least one app packing press, wherein, the app packing press that each server is corresponding is all different;
Distribution module, is used for receiving app packing task the task distribution master node to the plurality of server of being packed by described app;
Controlling module, the slave node at least one app packing press corresponding for controlling master node control in each server performs the app of distribution and packs task.
It is preferred that the weight proportion that the master node distribution of each server is different;
Described distribution module is additionally operable to the task master node according to described weight proportion distribution to the plurality of server of being packed by described app.
It is preferred that described second arranges module and be additionally operable to arrange different dispatching priorities in each server, each app packing press corresponding with described server all there is a slave node at same dispatching priority;
Described control module is for for each server, also first determine whether whether the quantity of the app packing task of distribution exceedes the quantity of the app packing press corresponding with described server, if not, the slave node that at least one app packing press that then the master node control in described server is corresponding, dispatching priority is the highest performs the app packing task of distribution, if so, at least one app packing press that then the master node control in described server is corresponding, the slave node of multiple dispatching priorities performs the app of distribution and packs task.
It is preferred that each app packing press is equipped with 3 slave nodes.
It is preferred that the operating system of described app packing press is IOS system.
The actively progressive effect of the present invention is in that: the invention provides the mode of the app of a kind of efficiently available packing press cluster packing IOS, the ability of packing press can be given full play to, possess on-demand adjustment, dynamically adjust the ability of packing task, thus improve packing speed, a large amount of packing press cluster of management that energy is highly reliable substantially simultaneously;The invention enables automatization in hgher efficiency, and the Fructus Mali pumilae machinery equipment based on legal IOS and mandate, pack more safe and reliable, the present invention can realize High Availabitity HA ability, the dynamic adjustment of packing demand and packing time is realized, it is achieved packing resource optimal utilization by priority scheduling.
Accompanying drawing explanation
Fig. 1 is the flow chart of the packaging method of the app of the IOS system of presently preferred embodiments of the present invention.
Fig. 2 is the structured flowchart of the packaging system of the app of the IOS system of presently preferred embodiments of the present invention.
Detailed description of the invention
Mode by the examples below further illustrates the present invention, but does not therefore limit the present invention among described scope of embodiments.
As it is shown in figure 1, the packaging method of the app of the IOS system of the present invention comprises the following steps:
Step 101, arranging server cluster, described server cluster includes multiple server, is equipped with a master node in each server;
Step 102, arranging app packing press cluster, described app packing press cluster includes multiple app packing press, is equipped with multiple slave node in each app packing press;
Step 103, arranging the corresponding relation of each server and at least one app packing press, wherein, the app packing press that each server is corresponding is all different;
Step 104, reception app packing task, and the task distribution master node to the plurality of server that described app is packed;
Slave node at least one app packing press that master node control in step 105, each server is corresponding performs the app of distribution and packs task.
In the packaging method of the present invention, the weight proportion that concretely the master node distribution of each server is different, the task master node according to described weight proportion distribution to the plurality of server of also described app being packed at step 104.
Step 102 also arranges different dispatching priorities in each server, each app packing press corresponding with described server all has a slave node at same dispatching priority;
For each server in step 105, also first determine whether whether the quantity of the app packing task of distribution exceedes the quantity of the app packing press corresponding with described server, if not, the slave node that at least one app packing press that then the master node control in described server is corresponding, dispatching priority is the highest performs the app packing task of distribution, if so, at least one app packing press that then the master node control in described server is corresponding, the slave node of multiple dispatching priorities performs the app of distribution and packs task.
Preferably, being equipped with 3 slave nodes in step 102 in each app packing press, in the present invention, each master node can hang with a number of slave, and quantity can not also wait.
In the present invention, the dispatching priority of the slave node that dispatching priority is set in every machine can be divided into some grades, and the dispatching priority of the same grade of machinery compartment is parallel, the present invention can utilize the dispatching priority of slave node to realize the dynamic utilization that resource is optimum.In the present invention, the operating system of described app packing press is IOS system.
As in figure 2 it is shown, the packaging system of the app of the IOS system of the present invention include first arrange module 1, second arrange module the 2, the 3rd arrange module 3, distribution module 4 and control module 5;
Described first arranges module 1 for arranging server cluster, and described server cluster includes multiple server, is equipped with a master node in each server;
Described second arranges module 2 for arranging app packing press cluster, and described app packing press cluster includes multiple app packing press, is equipped with multiple slave node in each app packing press;
Described 3rd arranges module 3 for arranging the corresponding relation of each server and at least one app packing press, and wherein, the app packing press that each server is corresponding is all different;
Described distribution module 4 is used for receiving app packing task the task distribution master node to the plurality of server of being packed by described app;
Slave node at least one app packing press that described control module 5 is corresponding for controlling master node control in each server performs the app of distribution and packs task.
Wherein, the master node of each server is assigned different weight proportions, and described distribution module 4 is additionally operable to the task master node according to described weight proportion distribution to the plurality of server of being packed by described app.Described second arranges module 2 is additionally operable to arrange different dispatching priorities in each server, all has a slave node at same dispatching priority in each app packing press corresponding with described server;
Described control module 5 is for each server, also first determine whether whether the quantity of the app packing task of distribution exceedes the quantity of the app packing press corresponding with described server, if not, the slave node that at least one app packing press that then the master node control in described server is corresponding, dispatching priority is the highest performs the app packing task of distribution, if so, at least one app packing press that then the master node control in described server is corresponding, the slave node of multiple dispatching priorities performs the app of distribution and packs task.Wherein, the operating system of described app packing press is IOS system.
Although the foregoing describing the specific embodiment of the present invention, it will be appreciated by those of skill in the art that these are merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is under the premise without departing substantially from principles of the invention and essence, it is possible to these embodiments are made various changes or modifications, but these change and amendment each falls within protection scope of the present invention.
Claims (10)
1. the packaging method of the app of an IOS system, it is characterised in that comprise the following steps:
S1, server cluster is set, described server cluster includes multiple server, is equipped with a master node in each server;
S2, app packing press cluster is set, described app packing press cluster includes multiple app packing press, is equipped with multiple slave node in each app packing press;
S3, the corresponding relation of each server and at least one app packing press is set, wherein, the app packing press that each server is corresponding is all different;
S4, receive app and pack task, and task distribution of being packed by described app is to the master node of the plurality of server;
S5, slave node at least one app packing press corresponding to master node control in each server performs the app of distribution and packs task.
2. packaging method as claimed in claim 1, it is characterised in that described packaging method also includes:
Master node for each server distributes different weight proportions;
Step S4In also described app is packed task according to described weight proportion distribution to the master node of the plurality of server.
3. packaging method as claimed in claim 2, it is characterised in that step S2In different dispatching priorities is also set in each server, each app packing press corresponding with described server all has a slave node at same dispatching priority;
Step S5In for each server, also first determine whether whether the quantity of the app packing task of distribution exceedes the quantity of the app packing press corresponding with described server, if not, the slave node that at least one app packing press that then the master node control in described server is corresponding, dispatching priority is the highest performs the app packing task of distribution, if so, at least one app packing press that then the master node control in described server is corresponding, the slave node of multiple dispatching priorities performs the app of distribution and packs task.
4. packaging method as claimed in claim 1, it is characterised in that step S2In each app packing press is equipped with 3 slave nodes.
5. packaging method as described in any one in claim 1-4, it is characterised in that the operating system of described app packing press is IOS system.
6. the packaging system of the app of an IOS system, it is characterised in that including:
First arranges module, is used for arranging server cluster, and described server cluster includes multiple server, is equipped with a master node in each server;
Second arranges module, is used for arranging app packing press cluster, and described app packing press cluster includes multiple app packing press, is equipped with multiple slave node in each app packing press;
3rd arranges module, and for arranging the corresponding relation of each server and at least one app packing press, wherein, the app packing press that each server is corresponding is all different;
Distribution module, is used for receiving app packing task the task distribution master node to the plurality of server of being packed by described app;
Controlling module, the slave node at least one app packing press corresponding for controlling master node control in each server performs the app of distribution and packs task.
7. packaging system as claimed in claim 6, it is characterised in that
The master node of each server distributes different weight proportions;
Described distribution module is additionally operable to the task master node according to described weight proportion distribution to the plurality of server of being packed by described app.
8. packaging system as claimed in claim 7, it is characterized in that, described second arranges module is additionally operable to arrange different dispatching priorities in each server, all has a slave node at same dispatching priority in each app packing press corresponding with described server;
Described control module is for for each server, also first determine whether whether the quantity of the app packing task of distribution exceedes the quantity of the app packing press corresponding with described server, if not, the slave node that at least one app packing press that then the master node control in described server is corresponding, dispatching priority is the highest performs the app packing task of distribution, if so, at least one app packing press that then the master node control in described server is corresponding, the slave node of multiple dispatching priorities performs the app of distribution and packs task.
9. packaging system as claimed in claim 6, it is characterised in that be equipped with 3 slave nodes in each app packing press.
10. packaging system as described in any one in claim 6-9, it is characterised in that the operating system of described app packing press is IOS system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610119583.9A CN105721595B (en) | 2016-03-03 | 2016-03-03 | The packaging method and system of the app of IOS system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610119583.9A CN105721595B (en) | 2016-03-03 | 2016-03-03 | The packaging method and system of the app of IOS system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105721595A true CN105721595A (en) | 2016-06-29 |
CN105721595B CN105721595B (en) | 2019-04-09 |
Family
ID=56156329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610119583.9A Active CN105721595B (en) | 2016-03-03 | 2016-03-03 | The packaging method and system of the app of IOS system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105721595B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032786A (en) * | 2017-06-08 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | Jenkins continuous integrating cluster, APP packaging method and server |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521044A (en) * | 2011-12-30 | 2012-06-27 | 北京拓明科技有限公司 | Distributed task scheduling method and system based on messaging middleware |
CN103226467A (en) * | 2013-05-23 | 2013-07-31 | 中国人民解放军国防科学技术大学 | Data parallel processing method and system as well as load balancing scheduler |
CN103236949A (en) * | 2013-04-27 | 2013-08-07 | 北京搜狐新媒体信息技术有限公司 | Monitoring method, device and system for server cluster |
CN104023087A (en) * | 2014-06-26 | 2014-09-03 | 北京金和软件股份有限公司 | Polling method and device among multiple servers |
CN104539725A (en) * | 2015-01-15 | 2015-04-22 | 北京金和软件股份有限公司 | Method for clustering and packaging generated APP |
CN105183540A (en) * | 2015-07-29 | 2015-12-23 | 青岛海尔智能家电科技有限公司 | Task allocation method and system for real-time data stream processing |
-
2016
- 2016-03-03 CN CN201610119583.9A patent/CN105721595B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521044A (en) * | 2011-12-30 | 2012-06-27 | 北京拓明科技有限公司 | Distributed task scheduling method and system based on messaging middleware |
CN103236949A (en) * | 2013-04-27 | 2013-08-07 | 北京搜狐新媒体信息技术有限公司 | Monitoring method, device and system for server cluster |
CN103226467A (en) * | 2013-05-23 | 2013-07-31 | 中国人民解放军国防科学技术大学 | Data parallel processing method and system as well as load balancing scheduler |
CN104023087A (en) * | 2014-06-26 | 2014-09-03 | 北京金和软件股份有限公司 | Polling method and device among multiple servers |
CN104539725A (en) * | 2015-01-15 | 2015-04-22 | 北京金和软件股份有限公司 | Method for clustering and packaging generated APP |
CN105183540A (en) * | 2015-07-29 | 2015-12-23 | 青岛海尔智能家电科技有限公司 | Task allocation method and system for real-time data stream processing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032786A (en) * | 2017-06-08 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | Jenkins continuous integrating cluster, APP packaging method and server |
Also Published As
Publication number | Publication date |
---|---|
CN105721595B (en) | 2019-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ajiro et al. | Improving packing algorithms for server consolidation | |
CN108268317B (en) | Resource allocation method and device | |
CN101593134B (en) | Method and device for allocating CPU resources of virtual machine | |
CN103874049B (en) | Method and device for triggering BSR | |
CN102427475A (en) | Load balance scheduling system in cloud computing environment | |
Daniels et al. | Scheduling parallel manufacturing cells with resource flexibility | |
CN102685914B (en) | Scheduling and multiplexing method and device for logical channels | |
CN103051564B (en) | The method and apparatus of dynamic resource allocation | |
CN104158911A (en) | Server cluster-oriented control method and system | |
CN107222531A (en) | A kind of container cloud resource dispatching method | |
CN103945000A (en) | Load balance method and load balancer | |
CN103777950B (en) | Gridding method for resolving AOS (Advanced Orbiting System) telemetering data | |
CN104615498A (en) | Dynamic load balancing method of trunking system based on task immigration | |
CN105516325A (en) | Cloud load balancing method for carrying out elastic expansion and traffic distribution expansion according to application load | |
CN106909462A (en) | A kind of cloud resource regulating method and device | |
CN102541655A (en) | Method and device for implementing dynamic load balancing | |
CN106648900A (en) | Smart television-based supercomputing method and system | |
CN103902384A (en) | Method and device for allocating physical machines for virtual machines | |
CN101533362A (en) | Inter-process CPU resource balance scheduling method | |
CN103235744A (en) | Application resource management system for smart TV (television) | |
CN105210324B (en) | Strategy and charging rule functions virtual method, apparatus and system | |
CN106998340B (en) | Load balancing method and device for board resources | |
CN106020977A (en) | Distributed task scheduling method and apparatus used for monitoring system | |
CN105406983A (en) | Cloud calculation network management control method based on user demands | |
CN105721595A (en) | IOS APP packaging method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |