CN105721595B - The packaging method and system of the app of IOS system - Google Patents

The packaging method and system of the app of IOS system Download PDF

Info

Publication number
CN105721595B
CN105721595B CN201610119583.9A CN201610119583A CN105721595B CN 105721595 B CN105721595 B CN 105721595B CN 201610119583 A CN201610119583 A CN 201610119583A CN 105721595 B CN105721595 B CN 105721595B
Authority
CN
China
Prior art keywords
app
server
packing press
task
packaged
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.)
Active
Application number
CN201610119583.9A
Other languages
Chinese (zh)
Other versions
CN105721595A (en
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.)
Shanghai Ctrip Business Co Ltd
Original Assignee
Shanghai Ctrip Business 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 Shanghai Ctrip Business Co Ltd filed Critical Shanghai Ctrip Business Co Ltd
Priority to CN201610119583.9A priority Critical patent/CN105721595B/en
Publication of CN105721595A publication Critical patent/CN105721595A/en
Application granted granted Critical
Publication of CN105721595B publication Critical patent/CN105721595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling 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/61Scheduling 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Auxiliary Devices For And Details Of Packaging Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses the packaging method and system of a kind of app of IOS system, packaging method includes S1, setting server cluster, including multiple servers, each server be equipped with a master node;S2, setting app packing press cluster, including multiple app packing presses are equipped with multiple slave nodes in each app packing press;S3, setting each server and at least one app packing press corresponding relationship;S4, receive app be packaged task, and by app packing task distribute to the master node of multiple servers;S5, the slave node at least one corresponding app packing press of master node control in each server executes the app of distribution and is packaged task.The present invention gives full play to the ability of packing press, has the ability on demand, dynamically adjusting packing task, realizes and be packaged resource optimal utilization.

Description

The packaging method and system of the app of IOS system
Technical field
The present invention relates to beating for app (application program) of a kind of IOS (Mobile operating system of Apple Inc.'s exploitation) system Packet method and system.
Background technique
Now IOS editions app are packaged at present, there are three types of modes:
(1) app is packaged using black apple virtual machine, this method is related to safety and licensing issue is prominent, the later period Introduce dangerous to the market.
(2) using apple machine single machine mode, being packaged for using cluster still has many technological gaps, not shape At a kind of method of the reliable app packet for beating IOS system using cluster of maturation.
(3) cluster master node (central node) control centre+multiple apples machine mode is used, but now Common practice is an apple machine as a slave node (slave node), how many platform machine so just has much Capacity, all packing capacity belong to static mode, can not achieve distributed in demand, and dynamic adjusts, when the demand of packing is big, institute The task execution that some packing tasks must wait in line front is completed.Once master capacity, which reaches the upper limit, simultaneously to expand Hold, master cannot also be made into HA (high availability) mode and form High Availabitity.
Summary of the invention
The technical problem to be solved by the present invention is in order to overcome the app packing manner of IOS system in the prior art cannot be real The now defect that adjustment, dynamic adjust on demand, provides the packaging method and system of a kind of app of IOS system.
The present invention is to solve above-mentioned technical problem by following technical proposals:
The present invention provides the packaging methods of the app of IOS system a kind of, it is characterized in that, comprising the following steps:
S1, setting server cluster, the server cluster includes multiple servers, is equipped with one in each server Master node;
S2, setting app packing press cluster, the app packing press cluster includes multiple app packing presses, each app Multiple slave nodes are equipped in packing press;
S3, setting each server and at least one app packing press corresponding relationship, wherein each server correspondence App packing press it is different;
S4, receive app be packaged task, and by the app packing task distribute to the multiple server master section Point;
S5, slave node at least one corresponding app packing press of master node control in each server The app for executing distribution is packaged task.
Preferably, the packaging method further include:
Different weight proportions is distributed for the master node of each server;
Step S4In the app be also packaged task distribute to the multiple server according to the weight proportion Master node.
Preferably, step S2In different dispatching priorities is also set in each server, it is corresponding with the server Each app packing press in have a slave node in the same dispatching priority;
Step S5In for each server, also first determine whether distribution app be packaged task quantity whether be more than and institute The quantity of the corresponding app packing press of server is stated, if it is not, the master node control then in the server is corresponding at least The app that the highest slave node of dispatching priority executes distribution in one app packing press is packaged task, if so, the clothes The slave node of multiple dispatching priorities is held at least one corresponding app packing press of master node control in business device The app of row distribution is packaged task.
Preferably, step S2In be equipped with 3 slave nodes in each app packing press.
Preferably, the operating system of the app packing press is IOS system.
It is an object of the invention to additionally provide the packaging system of the app of IOS system a kind of, it is characterized in that, comprising:
First setup module, for server cluster to be arranged, the server cluster includes multiple servers, each service A master node is equipped in device;
Second setup module, for app packing press cluster to be arranged, the app packing press cluster includes that multiple app are beaten Chartered plane device is equipped with multiple slave nodes in each app packing press;
Third setup module, for the corresponding relationship of each server Yu at least one app packing press to be arranged, wherein The corresponding app packing press of each server is different;
Distribution module is packaged task for receiving app, and app packing task is distributed to the multiple server Master node;
Control module, for controlling at least one corresponding app baling press of the master node control in each server The app that slave node in device executes distribution is packaged task.
Preferably, the master node of each server distributes different weight proportions;
The distribution module is also used to the app being packaged task and distribute according to the weight proportion to the multiple service The master node of device.
Preferably, second setup module is also used to that different dispatching priorities is arranged in each server, with institute Stating in the corresponding each app packing press of server has a slave node in the same dispatching priority;
Whether the quantity for the app packing task that the control module is used to also first determine whether to distribute for each server More than the quantity of app packing press corresponding with the server, if it is not, the then master node control pair in the server The app that the highest slave node of dispatching priority executes distribution at least one the app packing press answered is packaged task, if so, Multiple dispatching priorities at least one corresponding app packing press of master node control then in the server The app that slave node executes distribution is packaged task.
Preferably, being equipped with 3 slave nodes in each app packing press.
Preferably, the operating system of the app packing press is IOS system.
The positive effect of the present invention is that: the present invention provides a kind of efficiently available packing press clusters to be packaged The mode of the app of IOS operating system can give full play to the ability of packing press, have adjustment on demand, dynamic adjustment is packaged and appoints The ability of business is packaged speed to maximumlly improve, while a large amount of packing press clusters of management that can be highly reliable;The present invention makes More efficient, and the apple machinery equipment based on legal IOS operating system and authorization must be automated, is packaged that more safety can It leaning on, High Availabitity HA ability may be implemented in the present invention, it is adjusted by the dynamic that priority scheduling realizes packing demand and is packaged the time, It realizes and is packaged resource optimal utilization.
Detailed description of the invention
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 structural block diagram of the packaging system of the app of the IOS system of presently preferred embodiments of the present invention.
Specific embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to the reality It applies among a range.
As shown in Figure 1, the packaging method of the app of IOS system of the invention the following steps are included:
Step 101, setting server cluster, the server cluster includes multiple servers, is all provided in each server There is a master node;
Step 102, setting app packing press cluster, the app packing press cluster includes multiple app packing presses, often Multiple slave nodes are equipped in a app packing press;
The corresponding relationship of step 103, setting each server and at least one app packing press, wherein each server Corresponding app packing press is different;
Step 104 receives app packing task, and app packing task is distributed to the multiple server Master node;
In at least one corresponding app packing press of master node control in step 105, each server The app that slave node executes distribution is packaged task.
In packaging method of the invention, concretely the master node of each server distributes different weight ratios The app is also packaged task at step 104 and distributed according to the weight proportion to the master of the multiple server by example Node.
Different dispatching priorities is also set in each server in step 102, it is corresponding with the server each There is a slave node in the same dispatching priority in app packing press;
For each server in step 105, also first determine whether distribution app be packaged task quantity whether be more than and institute The quantity of the corresponding app packing press of server is stated, if it is not, the master node control then in the server is corresponding at least The app that the highest slave node of dispatching priority executes distribution in one app packing press is packaged task, if so, the clothes The slave node of multiple dispatching priorities is held at least one corresponding app packing press of master node control in business device The app of row distribution is packaged task.
Preferably, it is equipped with 3 slave nodes in step 102 in each app packing press, it is each in the present invention Master node can hang with a certain number of slave, and quantity can not also wait.
The dispatching priority for the slave node that dispatching priority is set as in every machine in the present invention can be divided into several Grade, and the dispatching priority of the same grade of machinery compartment is parallel, the dispatching priority that the present invention can use slave node comes Realize that the optimal dynamic of resource utilizes.In the present invention, the operating system of the app packing press is IOS system.
As shown in Fig. 2, the packaging system of the app of IOS system of the invention includes that mould is arranged in the first setup module 1, second Block 2, third setup module 3, distribution module 4 and control module 5;
First setup module 1 is for being arranged server cluster, and the server cluster includes multiple servers, each A master node is equipped in server;
For second setup module 2 for app packing press cluster to be arranged, the app packing press cluster includes multiple App packing press is equipped with multiple slave nodes in each app packing press;
The third setup module 3 is used to be arranged the corresponding relationship of each server Yu at least one app packing press, In, the corresponding app packing press of each server is different;
The distribution module 4 is packaged task for receiving app, and app packing task is distributed to the multiple clothes The master node of business device;
At least one corresponding app of master node control that the control module 5 is used to control in each server is beaten The app that slave node in chartered plane device executes distribution is packaged task.
Wherein, the master node of each server is assigned different weight proportions, the distribution module 4 be also used to by The app is packaged task and distributes according to the weight proportion to the master node of the multiple server.Second setting Module 2 is also used to that different dispatching priorities is arranged in each server, each app baling press corresponding with the server There is a slave node in the same dispatching priority in device;
The control module 5 for each server, also first determine whether distribution app be packaged task quantity whether be more than The quantity of app packing press corresponding with the server, if it is not, the master node control then in the server is corresponding The app that the highest slave node of dispatching priority executes distribution at least one app packing press is packaged task, if so, institute State the slave section of multiple dispatching priorities at least one corresponding app packing press of master node control in server The app that point executes distribution is packaged task.Wherein, the operating system of the app packing press is IOS system.
Although specific embodiments of the present invention have been described above, it will be appreciated by those of skill in the art that these It is merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is not carrying on the back Under the premise of from the principle and substance of the present invention, many changes and modifications may be made, but these are changed Protection scope of the present invention is each fallen with modification.

Claims (6)

1. a kind of packaging method of the app of IOS system, which comprises the following steps:
S1, setting server cluster, the server cluster includes multiple servers, and a master is equipped in each server Node;
S2, setting app packing press cluster, the app packing press cluster includes multiple app packing presses, and each app is packaged Multiple slave nodes are equipped in machine;
S3, setting each server and at least one app packing press corresponding relationship, wherein the corresponding app of each server Packing press is different;
S4, receive app be packaged task, and by the app packing task distribute to the master node of the multiple server;
S5, the slave node at least one corresponding app packing press of master node control in each server executes The app of distribution is packaged task;
The packaging method further include:
Different weight proportions is distributed for the master node of each server;
Step S4In also by the app be packaged task according to the weight proportion distribute to the multiple server master section Point;
Step S2In different dispatching priorities is also set in each server, each app corresponding with the server is packaged There is a slave node in the same dispatching priority in machine;
Step S5In for each server, also first determine whether distribution app be packaged task quantity whether be more than and the service The quantity of the corresponding app packing press of device, if it is not, master node control then in the server it is corresponding at least one The app that the highest slave node of dispatching priority executes distribution in app packing press is packaged task, if so, the server In at least one corresponding app packing press of master node control in multiple dispatching priorities slave node execute point The app matched is packaged task.
2. packaging method as described in claim 1, which is characterized in that step S2In be equipped with 3 in each app packing press Slave node.
3. packaging method as claimed in claim 1 or 2, which is characterized in that the operating system of the app packing press is IOS System.
4. a kind of packaging system of the app of IOS system characterized by comprising
First setup module, for being arranged server cluster, the server cluster includes multiple servers, in each server It is equipped with a master node;
Second setup module, for app packing press cluster to be arranged, the app packing press cluster includes multiple app baling presses Device is equipped with multiple slave nodes in each app packing press;
Third setup module, for the corresponding relationship of each server Yu at least one app packing press to be arranged, wherein each The corresponding app packing press of server is different;
Distribution module is packaged task for receiving app, and app packing task is distributed to the multiple server Master node;
Control module, for controlling at least one corresponding app packing press of the master node control in each server Slave node execute distribution app be packaged task;
The master node of each server distributes different weight proportions;
The distribution module is also used to the app being packaged task and distribute according to the weight proportion to the multiple server Master node;
Second setup module is also used to that different dispatching priorities is arranged in each server, corresponding with the server Each app packing press in have a slave node in the same dispatching priority;
The control module be used for for each server, also first determine whether distribution app be packaged task quantity whether be more than The quantity of app packing press corresponding with the server, if it is not, the master node control then in the server is corresponding The app that the highest slave node of dispatching priority executes distribution at least one app packing press is packaged task, if so, institute State the slave section of multiple dispatching priorities at least one corresponding app packing press of master node control in server The app that point executes distribution is packaged task.
5. packaging system as claimed in claim 4, which is characterized in that be equipped with 3 slave sections in each app packing press Point.
6. packaging system as described in claim 4 or 5, which is characterized in that the operating system of the app packing press is IOS System.
CN201610119583.9A 2016-03-03 2016-03-03 The packaging method and system of the app of IOS system Active CN105721595B (en)

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 CN105721595A (en) 2016-06-29
CN105721595B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN105721595A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN105391797B (en) Cloud Server load-balancing method and device based on SDN
CN101593134B (en) Method and device for allocating CPU resources of virtual machine
CN102427475A (en) Load balance scheduling system in cloud computing environment
CN106033371A (en) Method and system for dispatching video analysis task
CN105577801B (en) A kind of business accelerating method and device
CN106453646A (en) Resource scheduling method and device for security service platform
CN104468407A (en) Method and device for performing service platform resource elastic allocation
CN111880939A (en) Container dynamic migration method and device and electronic equipment
CN107343112B (en) Intelligent telephone traffic distribution method based on call center seat layering
CN108170517A (en) A kind of container allocation method, apparatus, server and medium
CN109257399A (en) Cloud platform application management method and management platform, storage medium
CN101533362A (en) Inter-process CPU resource balance scheduling method
CN106648900A (en) Smart television-based supercomputing method and system
CN104317947B (en) A kind of real-time architecture comparing system based on mass data
US20160081103A1 (en) Method and apparatus for adjusting physical resource, and controller
CN105677451A (en) Load balancing method and equipment used for multiple processes
CN103677983A (en) Scheduling method and device of application
CN106059940A (en) Flow control method and device
CN105721595B (en) The packaging method and system of the app of IOS system
CN104268007A (en) Distributed event request scheduling method and system
CN105207856A (en) Load balancing system and method based on SDN virtual switch
CN104991825B (en) A kind of excessive distribution of Hypervisor resource and dynamic adjusting method and system based on Load-aware
CN109697105A (en) A kind of container cloud environment physical machine selection method and its system, virtual resource configuration method and moving method
CN105792247A (en) Data pushing method and device
CN103297511A (en) Client/ server scheduling method and system under highly dynamic environment

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