CN108829400B - A kind of channel packaging method that iOS need not be compiled repeatedly - Google Patents

A kind of channel packaging method that iOS need not be compiled repeatedly Download PDF

Info

Publication number
CN108829400B
CN108829400B CN201810459603.6A CN201810459603A CN108829400B CN 108829400 B CN108829400 B CN 108829400B CN 201810459603 A CN201810459603 A CN 201810459603A CN 108829400 B CN108829400 B CN 108829400B
Authority
CN
China
Prior art keywords
channel
main bag
ipa
packaging system
packet
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
CN201810459603.6A
Other languages
Chinese (zh)
Other versions
CN108829400A (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.)
Friendship time Technology Co.,Ltd.
Original Assignee
Suzhou Playing Friends Era Polytron Technologies Inc
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 Suzhou Playing Friends Era Polytron Technologies Inc filed Critical Suzhou Playing Friends Era Polytron Technologies Inc
Priority to CN201810459603.6A priority Critical patent/CN108829400B/en
Publication of CN108829400A publication Critical patent/CN108829400A/en
Application granted granted Critical
Publication of CN108829400B publication Critical patent/CN108829400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Packages (AREA)

Abstract

The present invention discloses a kind of channel packaging method that iOS need not be compiled repeatedly, since developer provides ipa main bag, in cloud packaging system typing channel to be packaged, channel parameter and other related resources, cloud packaging system is set to start packing task, it checks to exist and is then loaded into dynamic library backup file, from channel, related resource is obtained in feature card and is reintegrated, it generates new dynamic library file and is backed up, and then decompress ipa main bag, the original dynamic library file of ipa main bag is replaced with into the newly-generated dynamic library file of step 4, generate channel ipa packet, all channel necessary parameters are finally written in channel ipa packet, then it is signed again, generate the whole packet of final channel.By the above-mentioned means, the present invention provides a kind of channel packaging method that iOS need not be compiled repeatedly, it is only necessary to which developer's compiling is primary, generates a main bag, avoids compiling multiple bring time waste and translation and compiling environment changes the risk for leading to packet mistake.

Description

A kind of channel packaging method that iOS need not be compiled repeatedly
Technical field
The present invention relates to the channel packaging methods that field of software development more particularly to a kind of iOS need not compile repeatedly.
Background technique
SDK, i.e. Software Development Kit (Software Development Kit) refer to by software engineer for being Specific software package, software frame, hardware system, operating system etc. establish the set of the developing instrument of application software.In movement Field of terminal, content developer can develop corresponding program of mobile terminal based on the SDK that distributor provides, and upload to canal Road quotient promotes and distributes.
IOS is packaged: source code is compiled and is generated the process of ipa packet by the developing instrument provided by Apple Inc..To have Ipa one new this process of ipa file generated by weight signature technology generally also cry packing.
It is that every dozen of channels just need to recompilate generation binary file that packet traditional approach by all kinds of means is beaten in iOS application, Need to compile repeatedly if beating multiple support channels simultaneously repeatedly, waste the unnecessary time, and if twice intercompilation every Overlong time, it is possible to can be because environment changes and generates unnecessary risk;Channel access provider (is referred to as below Supplier) when providing cloud packaged service, then cloud packaged service could be enjoyed by needing developer to provide source code, the present invention provides A kind of settling mode that need not be compiled repeatedly, multiple support channels packet can be got without source code.
Summary of the invention
The invention mainly solves the technical problem of providing the channel packaging methods that a kind of iOS need not be compiled repeatedly, specifically It is related to the technology and packing manner of a kind of novel SDK access mobile terminal iOS, this mode allows beating Bao Shiwu by all kinds of means It need to compile repeatedly, without providing source code.And the plenty of time is saved, and evade translation and compiling environment variation bring risk.With with Under it is multinomial the utility model has the advantages that
1. whole process only needs developer's compiling primary, a main bag is generated, avoids compiling multiple bring time waste, with And translation and compiling environment variation leads to the risk of packet mistake.
2. supplier no longer needs to provide client strapping tool by all kinds of means to developer, many intermediate communications are eliminated, Implement link.
3. developer also no longer needs to provide source code to supplier to enjoy cloud packaged service, such Bussiness Communications more melt It is in harmony.
4. realizing the similar packing process of same Android system, a main bag is provided to get the whole packet of all channels.No Cross Android system be need decompiling apk to import resource, but the ipa packet of iOS system do not need decompiling equally can also be with Realize such process.IOS system itself is because Apple Inc. is for the attention of safety, and difficulty is all very big always, this hair It is bright to have evaded the step equally and realize this process, also very important advantage at last.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: providing a kind of iOS need not compile repeatedly Channel packaging method, comprising the following steps:
Step 1: developer makes new edition game engineering, the template SDK dynamic that game engineering access channel is provided Library is packaged into ipa main bag by developing instrument and uploads to cloud packaging system;
Step 2, main bag test: tester obtains ipa main bag from cloud packaging system, to all game functions of ipa main bag Quality inspection is carried out, repeats step 1 if there is quality inspection problem, if test using ipa main bag as new edition main bag by achieving To cloud packaging system;
Step 3 makes dynamic base: according to the actual demand of game item multiple sources to be accessed, all channels being joined Several and all feature cards and all intermediate layer datas are packaged into independent several channel SDK dynamic bases by developing instrument;
Step 4, make channel packet: developer extracts the old version main bag for being archived in cloud packaging system, by history version Each channel SDK dynamic base that this main bag and step 3 generate, which is packaged, generates several channel packets, uploads to cloud packaging system for surveying Examination personnel's quality inspection;
Step 5, channel SDK test, tester carries out quality inspection to several channel packets that step 4 generates, if there is matter Inspection problem then repeats step 3, wraps several channels if if test and passes to cloud packaging system archive;
Step 6: the channel packet that the new edition main bag for being archived in cloud packaging system and step 5 quality inspection are completed is packaged into whole Packet delivers tester by cloud packaging system and carries out quality inspection, is eventually submitted to channel and audited.
The beneficial effects of the present invention are: the channel packaging method that a kind of iOS provided by the invention need not be compiled repeatedly, has It is multinomial below the utility model has the advantages that
1. whole process only needs developer's compiling primary, a main bag is generated, avoids compiling multiple bring time waste, with And translation and compiling environment variation leads to the risk of packet mistake.
2. supplier no longer needs to provide client strapping tool by all kinds of means to developer, many intermediate communications are eliminated, Implement link.
3. developer also no longer needs to provide source code to supplier to enjoy cloud packaged service, such Bussiness Communications more melt It is in harmony.
4. realizing the similar packing process of same Android system, a main bag is provided to get the whole packet of all channels.No Cross Android system be need decompiling apk to import resource, but the ipa packet of iOS system do not need decompiling equally can also be with Realize such process.IOS system itself is because Apple Inc. is for the attention of safety, and difficulty is all very big always, this hair It is bright to have evaded the step equally and realize this process, also very important advantage at last.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing, in which:
Fig. 1 is the main bag structure of a preferred embodiment of the channel packaging method that a kind of iOS of the present invention need not be compiled repeatedly Schematic diagram;
Fig. 2 is that the SDK of a preferred embodiment of the channel packaging method that a kind of iOS of the present invention need not be compiled repeatedly is accessed Implementation process;
Fig. 3 is that the cloud of a preferred embodiment of the channel packaging method that a kind of iOS of the present invention need not be compiled repeatedly is packaged system System functional module structure figure;
Fig. 4 is the packing process of a preferred embodiment of the channel packaging method that a kind of iOS of the present invention need not be compiled repeatedly Figure.
Specific embodiment
The technical scheme in the embodiments of the invention will be clearly and completely described below, it is clear that described implementation Example is only a part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common Technical staff's all other embodiment obtained without making creative work belongs to the model that the present invention protects It encloses.
As shown in Figs 1-4, the embodiment of the present invention includes:
A kind of channel packaging method that iOS need not be compiled repeatedly, comprising the following steps:
Step 1: developer makes new edition game engineering, the template SDK dynamic that game engineering access channel is provided Library is packaged into ipa main bag by developing instrument and uploads to cloud packaging system;
Step 2, main bag test: tester obtains ipa main bag from cloud packaging system, to all game functions of ipa main bag Quality inspection is carried out, repeats step 1 if there is quality inspection problem, if test using ipa main bag as new edition main bag by achieving To cloud packaging system;
Step 3 makes dynamic base: according to the actual demand of game item multiple sources to be accessed, all channels being joined Several and all feature cards and all intermediate layer datas are packaged into independent several channel SDK dynamic bases by developing instrument;
Step 4, make channel packet: developer extracts the old version main bag for being archived in cloud packaging system, by history version Each channel SDK dynamic base that this main bag and step 3 generate, which is packaged, generates several channel packets, uploads to cloud packaging system for surveying Examination personnel's quality inspection;
Step 5, channel SDK test, tester carries out quality inspection to several channel packets that step 4 generates, if there is matter Inspection problem then repeats step 3, wraps several channels if if test and passes to cloud packaging system archive;
Step 6: the channel packet that the new edition main bag for being archived in cloud packaging system and step 5 quality inspection are completed is packaged into whole Packet delivers tester by cloud packaging system and carries out quality inspection, is eventually submitted to channel and audited.
Embodiment:
In development phase, according to channel, perhaps the own demand of company accesses or develops corresponding SDK for SDK research and development department, All SDK and middle layer are integrated into a dynamic base after exploitation, general different channel is required respectively to be packaged and be corresponded to Dynamic base, and finished in the configuration of channel access phase, game research and development department arbitrarily connects after development of games to access channel stage Enter the dynamic base that an above-mentioned SDK research and development department develops, is packaged after generating main bag and uploads to packaging system;
In main bag test phase, game various functions are tested, tests after passing through and main bag is stayed into shelves;
In channel test phase, to the access criteria of channel packet, situation is tested in place, test pass through after by dynamic base Stay shelves;
In whole packet test phase, the main bag for staying shelves and channel dynamic base are successively packaged into final whole packet, the form of expression Respective game channel is linked into for identical game resource.
By the above-mentioned means, recompility process can be avoided when being packaged, the main bag and dynamic base in whole process are all It has carried out that shelves is stayed to be isolated, ensure that backpack body safety.
Technology and packing manner of the above-mentioned steps more particularly to a kind of novel SDK access mobile terminal iOS, this mode Allow when playing packet by all kinds of means without compiling repeatedly, without providing source code.And the plenty of time is saved, and evade translation and compiling environment change Change bring risk.
As shown in Figure 1 it is microkernel architecture schematic diagram: provides the compact version of the kernel of operating system kernel function, it sets Count into and increase transplantability in the memory headroom of very little, modularized design is provided so that the interface that user installation is different, as DOS, Workplace OS, Workplace UNIX etc..It in the present invention, is exactly by realizing such a microkernel architecture, by core Heart realization is encapsulated into a micro-kernel module.Then it when playing channel packet, is realized with the core that this replaces channel, to play Generate the whole packet of multiple support channels.
Be illustrated in figure 2 polymerization SDK implementation process: the SDK generated by dynamic base technology has with common static library SDK It is distinguished, is mainly reflected in and just will do it chained library operation using the operation phase.And the ipa typed it out using dynamic base can be Dynamic library file after generating signature again in file directory, this file can be by dynamic replacement;It is abstract to polymerize SDK offer itself All channel realizations are sorted out, unified and are abstracted into fixed interface by business, final externally exposure by channel agreement.This Sample can accomplish developer's access once abstract channel interface, be equivalent to and accessed all channels.
It is illustrated in figure 3 cloud packaging system functional module structure: providing the system of online packaged service.By supplier's root It needs according to developer in advance by relevant parameter, iOS is packaged certificate etc. and is recorded in advance into packaging system database.Packaging system starts to beat When packet task, obtain all relevant parameters from lane database, resource, and by a high-performance mac pro packaged service device into It racks and holds packaged service.Packaging system is also provided that packing progress is checked, testing progress checks equal progress chasings function.
It is illustrated in figure 4 packing process: after developer provides main bag, it is necessary first in cloud packaging system typing canal to be packaged Road, channel parameter and other related resources.Packaging system calls packaged service device to start packing task.It is first when being packaged beginning Current channel, feature card are first checked with the presence or absence of dynamic library backup, if there is no then needing to obtain from channel, feature card Related resource is taken, new dynamic base is reintegrated and generate and is backed up.After having dynamic library backup file, then decompress Main bag, and the original dynamic base of main bag is replaced, and all channel necessary parameters are written, finally signature generates finally again The whole packet of channel.
First by all channel SDK, the plug-in unit and polymerization SDK for accessing channel SDK, which are abstracted the realization of channel interface, to shift to an earlier date It generates a dynamic base and backs up (subsequent general designation channel AM access module backup), premised on this.
Then this dynamic aggregation SDK is provided to mobile application developer (subsequent to be referred to as developer), polymerization SDK is mentioned For changeless abstract channel interface, developer disposably accesses the abstract channel interface.Developer compiles after exploitation It translates and generates first main bag and consign to mating packaging system, remember that whole process only needs to compile a main bag here.Due to beating Packet system keeps the parameter configuration of all channels in advance, and certificate signature configuration, packaging system is only needed for the main bag, dynamic Set SDK is successively substituted for the channel AM access module backup of main bag channel to be accessed, channel configuration is then written, and sign again Obtain the whole packet of final channel.It can both realize in this way and only need to compile once, so that it may get the whole packet of all channels.
In conclusion the present invention provides a kind of iOS need not the channel packaging method that compile repeatedly, having following multinomial has Beneficial effect:
1. whole process only needs developer's compiling primary, a main bag is generated, avoids compiling multiple bring time waste, with And translation and compiling environment variation leads to the risk of packet mistake.
2. supplier no longer needs to provide client strapping tool by all kinds of means to developer, many intermediate communications are eliminated, Implement link.
3. developer also no longer needs to provide source code to supplier to enjoy cloud packaged service, such Bussiness Communications more melt It is in harmony.
4. realizing the similar packing process of same Android system, a main bag is provided to get the whole packet of all channels.No Cross Android system be need decompiling apk to import resource, but the ipa packet of iOS system do not need decompiling equally can also be with Realize such process.IOS system itself is because Apple Inc. is for the attention of safety, and difficulty is all very big always, this hair It is bright to have evaded the step equally and realize this process, also very important advantage at last.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright description is applied directly or indirectly in other relevant technology necks Domain is included within the scope of the present invention.

Claims (1)

1. the channel packaging method that a kind of iOS need not be compiled repeatedly, which comprises the following steps:
Step 1: developer makes new edition game engineering, and the template SDK dynamic base that game engineering access channel is provided is led to Developing instrument is crossed to be packaged into ipa main bag and upload to cloud packaging system;
Step 2, main bag test: tester obtains ipa main bag from cloud packaging system, carries out to all game functions of ipa main bag Quality inspection repeats step 1 if there is quality inspection problem, if test is by being archived to cloud for ipa main bag as new edition main bag Packaging system;
Step 3 makes dynamic base: according to the actual demand of game item multiple sources to be accessed, by all channel parameters, with And all feature cards and all intermediate layer datas are packaged into independent several channel SDK dynamic bases by developing instrument;
Step 4, make channel packet: developer extracts the old version main bag for being archived in cloud packaging system, by old version mother Packet is packaged with each channel SDK dynamic base that step 3 generates and generates several channel packets, uploads to cloud packaging system for tester Member's quality inspection;
Step 5, channel SDK test, tester carry out quality inspection to several channel packets that step 4 generates, ask if there is quality inspection Topic then repeats step 3, wraps several channels if if test and passes to cloud packaging system archive;
Step 6: the channel packet that the new edition main bag for being archived in cloud packaging system and step 5 quality inspection are completed is packaged into whole packet, is led to It crosses cloud packaging system and delivers tester's progress quality inspection, be eventually submitted to channel and audited.
CN201810459603.6A 2018-05-15 2018-05-15 A kind of channel packaging method that iOS need not be compiled repeatedly Active CN108829400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810459603.6A CN108829400B (en) 2018-05-15 2018-05-15 A kind of channel packaging method that iOS need not be compiled repeatedly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810459603.6A CN108829400B (en) 2018-05-15 2018-05-15 A kind of channel packaging method that iOS need not be compiled repeatedly

Publications (2)

Publication Number Publication Date
CN108829400A CN108829400A (en) 2018-11-16
CN108829400B true CN108829400B (en) 2019-04-26

Family

ID=64148841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810459603.6A Active CN108829400B (en) 2018-05-15 2018-05-15 A kind of channel packaging method that iOS need not be compiled repeatedly

Country Status (1)

Country Link
CN (1) CN108829400B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381865B (en) * 2020-04-01 2023-04-07 深圳传趣网络技术有限公司 Packaging method, device and equipment of game application and storage medium
CN111949273B (en) * 2020-07-31 2023-04-07 深圳市艾特云信息技术有限公司 File extraction method and device based on iOS system
CN112416353A (en) * 2020-08-10 2021-02-26 上海幻电信息科技有限公司 Channel package packaging method and device and computer equipment
CN112231014A (en) * 2020-10-15 2021-01-15 北京明略昭辉科技有限公司 Plug-in processing method, device, equipment and computer readable medium
CN113094659B (en) * 2021-03-17 2022-10-21 青岛海尔科技有限公司 Method, device, platform equipment and system for publishing application file

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844301A (en) * 2017-12-12 2018-03-27 苏州蜗牛数字科技股份有限公司 A kind of Android application channel closes bag method and device
CN107885506A (en) * 2017-11-07 2018-04-06 深圳云步互娱网络科技有限公司 One kind configures Android game packaging method and system by all kinds of means based on cloud

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885506A (en) * 2017-11-07 2018-04-06 深圳云步互娱网络科技有限公司 One kind configures Android game packaging method and system by all kinds of means based on cloud
CN107844301A (en) * 2017-12-12 2018-03-27 苏州蜗牛数字科技股份有限公司 A kind of Android application channel closes bag method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
游戏客户端基于XSDK在云端自动化打包方法的研究;曹铭斌;《中国优秀硕士学位论文全文数据库.信息科技辑》;20170215(第2期);I138-2555

Also Published As

Publication number Publication date
CN108829400A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN108829400B (en) A kind of channel packaging method that iOS need not be compiled repeatedly
US5675801A (en) Object oriented system and method for generating target language code
US6708329B1 (en) Method and apparatus for producing modules compatible with a target system platform from simulation system modules utilized to model target system behavior
US6321376B1 (en) Apparatus and method for semi-automated generation and application of language conformity tests
US8615750B1 (en) Optimizing application compiling
KR20070014206A (en) Method and structure to develop a test program for semiconductor integrated circuits
Hartman Model based test generation tools
KR20050101216A (en) Method and structure for a test program for semiconductor integreated circuits
CN111859834B (en) UVM-based verification platform development method, system, terminal and storage medium
CN109213676A (en) A kind of offline adjustment method and device for test script
CN116090403B (en) Command processing system supporting multiple simulators
US20070150249A1 (en) Verification Operation Supporting System and Method of the Same
US10579342B1 (en) Encapsulated application templates for containerized application software development
Hartman et al. Model driven testing-AGEDIS architecture interfaces and tools
CN114398282A (en) Test script generation method, device, equipment and storage medium
Klammer et al. Testing Autogenerated OPC UA NodeSet Models for Product Variants in Industry
AU2001237027A1 (en) Tcl pli, a framework for reusable, run time configurable test benches
KR20070023762A (en) Method and structure to develop a test program for semiconductor integrated circuits
Konnerth Testing Autogenerated OPC UA NodeSet Models for Product Variants in Industry
CN116050112A (en) Linux-based FMU model generation method and device
Chen et al. The research and implementation of automatic unit test recording framework
Kua Unit Testing
JPH02103644A (en) Method for testing software module
Hawkins Altera JTAG-to-Avalon-MM Tutorial
CN114237615A (en) Packing method based on decision tree model and related equipment

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 215000 No.68, Qitai Road, Suzhou Industrial Park, Suzhou area, Suzhou pilot Free Trade Zone, Jiangsu Province

Patentee after: Friendship time Technology Co.,Ltd.

Address before: Building 18, Suhua Science Park, 208 Tongyuan Road, Suzhou Industrial Park, Jiangsu Province, 215006

Patentee before: SUZHOU WANYOU SHIDAI TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address