CN108132808A - A kind of channel packet generation method and device - Google Patents

A kind of channel packet generation method and device Download PDF

Info

Publication number
CN108132808A
CN108132808A CN201611095833.6A CN201611095833A CN108132808A CN 108132808 A CN108132808 A CN 108132808A CN 201611095833 A CN201611095833 A CN 201611095833A CN 108132808 A CN108132808 A CN 108132808A
Authority
CN
China
Prior art keywords
packet
application program
target
channel
target channel
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
Application number
CN201611095833.6A
Other languages
Chinese (zh)
Other versions
CN108132808B (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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud 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 Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201611095833.6A priority Critical patent/CN108132808B/en
Publication of CN108132808A publication Critical patent/CN108132808A/en
Application granted granted Critical
Publication of CN108132808B publication Critical patent/CN108132808B/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/70Software maintenance or management
    • G06F8/73Program documentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The embodiment of the invention discloses a kind of channel packet generation methods and device, this method to include:Obtain original application program packet;Determine the target developing platform, target developing engine and the original application program packet target channel to be accessed of the original application program packet;According to the target developing platform and the target developing engine, embedded objective function system, obtains the first intermediate application program bag in the original application program packet;Embedded link information, obtains the second intermediate application program bag in the first intermediate application program bag, wherein, the link information is:For being connected to the information of the server of the objective function system;Using channel packet tools, according to the corresponding SDK of the target channel and the second intermediate application program bag, the corresponding target channel packet of the target channel is generated.Using the embodiment of the present invention, the workload that software developer makes channel packet can be reduced, shortens the time for making multiple support channels packet.

Description

A kind of channel packet generation method and device
Technical field
The present invention relates to Internet technical field, more particularly to a kind of channel packet generation method and device.
Background technology
SDK (Software Development Kit, Software Development Kit) refers to be used for as spy by software engineer Fixed software package, software frame, hardware platform, operating system etc. establish the set of the developing instrument of application software.Each channel Oneself unique SDK will be issued to software developer, when software developer develops a application program and using specific When channel is promoted, software developer needs to integrate the SDK of the channel in the original packet of the application program manually, thus will The original packet of the application program is fabricated to the channel packet for being suitble to the channel, then wraps channel and passes to the channel, it is possible to will The application program is linked into the channel, is promoted by the channel.Channel packet, that is, the installation issued in channel Packet.
Under normal conditions, for the application program that preferably promotion development goes out, software developer can be by the application journey of oneself Sequence is promoted by multiple support channels.In this way, software developer needs to integrate in the original packet of the application program of oneself respectively The SDK of different channels, so as to produce the corresponding channel packet of different channels.In this way, for each channel, software developer needs A corresponding channel packet is produced, is all manually-operated since software developer makes channel packet, makes multiple The workload of channel packet is larger, and the time it takes is longer.
Invention content
The embodiment of the present invention is designed to provide a kind of channel packet generation method and device, reduces software developer and makes The workload of channel packet shortens the time for making multiple support channels packet.Specific technical solution is as follows:
In order to achieve the above objectives, the embodiment of the invention discloses a kind of channel packet generation method, the method includes the steps:
Obtain original application program packet;
Determine the target developing platform, target developing engine and the original application program of the original application program packet Wrap the target channel to be accessed;
According to the target developing platform and the target developing engine, the embedded target in the original application program packet Function system obtains the first intermediate application program bag;
Embedded link information, obtains the second intermediate application program bag in the first intermediate application program bag, wherein, institute Stating link information is:For being connected to the information of the server of the objective function system;
Using channel packet tools, according to the corresponding SDK of the target channel and the second intermediate application program bag, Generate the corresponding target channel packet of the target channel.
Optionally, it is described according to the target developing platform and the target developing engine, in the original application program In packet the step of embedded objective function system, including:
According to the target developing platform and the target developing engine, the object code of objective function system is obtained;
The object code is embedded in the original application program packet.
Optionally, the link information is:The letter generated according to the interface message of the server of the objective function system Breath.
Optionally, the method further includes:
When generating the target channel packet failure, the target reason for causing to generate the target channel packet failure is determined;
According to the correspondence between predetermined failure cause and solution and the target reason, target is generated Solution;
The second intermediate application program bag is modified according to the targeted solution;
Using the channel packet tools, according in the corresponding SDK of the target channel and revised described second Between application package, regenerate the target channel packet.
Optionally, it after the step of generation target channel corresponding target channel packet, further includes:
The target channel is wrapped and passes to the target channel.
Optionally, the method further includes:
Obtain performance data of the target channel packet in the target channel;
Based on the performance data obtained, generation is for the channel of the corresponding program developer of the original application program packet Recommendation information.
Optionally, the objective function system includes at least one of following functions system:
Accounting system, login system, payment system, social share system, message push system, ad system, fingerprint are known Other system.
In order to achieve the above objectives, the embodiment of the invention also discloses a kind of channel packet generating means, described device includes:
First obtains module, for obtaining original application program packet;
First determining module, for determine the target developing platform of the original application program packet, target developing engine with And the original application program packet target channel to be accessed;
First insertion module, for according to the target developing platform and the target developing engine, it is described it is original should With objective function system embedded in program bag, the first intermediate application program bag is obtained;
Second insertion module for link information embedded in the first intermediate application program bag, is obtained among second Application package, wherein, the link information is:For being connected to the information of the server of the objective function system;
First generation module, for utilizing channel packet tools, according to the corresponding SDK of the target channel and described the Two intermediate application program bags generate the corresponding target channel packet of the target channel.
Optionally, the first insertion module, including:
Submodule is obtained, for according to the target developing platform and the target developing engine, obtaining objective function system The object code of system;
Embedded submodule, for the object code to be embedded in the original application program packet.
Optionally, the link information is:The letter generated according to the interface message of the server of the objective function system Breath.
Optionally, described device further includes:
Second determining module, for when generating the target channel packet failure, determining to cause to generate the target channel Wrap the target reason of failure;
Second generation module, for according to the correspondence between predetermined failure cause and solution and described Target reason generates targeted solution;
Correcting module, for being modified according to the targeted solution to the second intermediate application program bag;
Third generation module for utilizing the channel packet tools, according to the corresponding SDK of the target channel and is repaiied The second intermediate application program bag after just, regenerates the target channel packet.
Optionally, described device further includes:
Uploading module corresponds to for generating the target channel in first generation module or the third generation module Target channel packet after, the target channel is wrapped and passes to the target channel.
Optionally, described device further includes:
Second obtains module, for obtaining performance data of the target channel packet in the target channel;
4th generation module, for based on the performance data obtained, generation to be corresponded to for the original application program packet Program developer channel recommendation information.
Optionally, the objective function system includes at least one of following functions system:
Accounting system, login system, payment system, social share system, message push system, ad system, fingerprint are known Other system.
As seen from the above, the channel packet generation method and device that the embodiment of the present invention is provided are obtaining original application journey After sequence packet, the target developing platform, target developing engine and the target channel to be accessed of original application program packet, root are determined According to target developing platform, target developing engine, the embedded objective function system in original application program packet, obtaining should among first Use program bag;Embedded link information, obtains the second intermediate application program bag in the first intermediate application program bag, wherein, connection Information is:For being connected to the information of the server of objective function system;Using channel packet tools, according to target channel pair The SDK answered and the second intermediate application program bag, the corresponding target channel packet of generation target channel, wherein, channel packet tools Include the corresponding SDK of target channel.
As it can be seen that scheme provided in an embodiment of the present invention, embedded objective function system, obtains in original application program packet First intermediate application program bag, and the embedded link information in the first intermediate application program bag, obtain the second intermediate application program After packet, based on second application package, it is corresponding that multiple target channels can be automatically generated using channel packet tools Target channel packet.Therefore, this programme can reduce the workload that software developer makes channel packet, shorten and make multiple support channels packet Time.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of channel packet generation method provided in an embodiment of the present invention;
Fig. 2 is a kind of structure diagram of channel packet generating means provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
First below to involved in the present embodiment to technical terms simply introduced.
Application package is used to exist the relevant PL/SQL blocks of logic or element (variable, constant, process, function etc.) tissue Together, as a complete unit storage in the database, with packet title come identification application packet.Application programs packet It is made of two parts:Specification (specification) and main body (body).Application package specification is exactly packet explanation, to packet All components carry out a simple statement, function therein, process, variable, constant and vernier be all it is public, can be outer Boundary's application program is called in the process of implementation.Main body is then the specific implementation of function and storing process.
Original application program packet, is also named nude enamelled, refers to the SDK's for not accessing any channel also that software developer develops Pure function packet.
SDK (Software Development Kit, Software Development Kit) is typically all that some software developers are The set of the specific developing instrument of software package, software frame, hardware platform, operating system when establishing application program.Broad sense On, SDK can refer to the set of the relevant documentation including a kind of application program of auxiliary development, example and tool.It can be simple It is that some application programming provides required API (Application Programming Interface, application program Interface) file.SDK can also include code sample, supportive technical notes or other for the clarification of basic reference The support document of doubtful point.
To solve prior art problem, an embodiment of the present invention provides a kind of channel packet generation method and devices.Lower kept man of a noblewoman A kind of channel generation method first provided the embodiment of the present invention is described in detail.
Fig. 1 is the first flow diagram of channel packet generation method provided in an embodiment of the present invention, and this method can wrap It includes:
S101 obtains original application program packet.
It should be understood that application package refers to specific function, for completing particular task program or one Group program, such as game class, the application package of social class.In the present embodiment, application package can be applied to mobile whole The application package at end, or other kinds of application package, the present embodiment do not limit this.
S102 determines the target developing platform, target developing engine and original application program packet of original application program packet The target channel to be accessed.
Development platform, simple understanding are exactly:It is developed based on certain programming language or certain several programming language The software come.And this software is not a final software product, it is a secondary development software frame, software development Person can carry out the exploitation of various software products on this product, and developed on this product when Wait, do not need to write a large amount of code as previous programming mode, but only that carry out some simple configurations or It is to write minimal amount of code to complete the development of a software product.Common development platform has IOS, and (one kind belongs to The operating system of class Unix), Android (a kind of open source code operating system based on Linux and JAVA), Windows (Windows) etc..
It is (being referred to by the code of machine recognition of running that the machine of certain a kind of application program designs that exploitation engine, which is one, Enable) set.It controls the operation of application program as an engine.By taking game application as an example, a game application journey Sequence can be divided into exploitation engine and game resource two large divisions.Game resource includes image, sound, animation etc., one formula of row It is exactly:Game=exploitation engine (program code)+game resource (image, sound, animation etc.) exploitation engine is exactly according to application The sequence of the design requirement of program calls these game resources.Common exploitation engine has ObjectC, Unity 3D, Cocos 2D, Native etc., wherein, ObjectC can be used for writing the game application of iOS operating systems, Unity 3D, Cocos 2D, Native can be used for writing the game application of Android operation system.
It should be understood that for an application program, it can have the original packet of multiple and different types, wherein, often One original packet is all to be developed and be applied in a development platform based on an exploitation engine.With game application software For " happily disappear pleasure ", development platform Android and IOS can be respectively applied to there are two types of the original packet of type, In, the original packet applied to development platform Android can be developed based on exploitation engine Cocos 2D, flat applied to exploitation The original packet of platform IOS can be developed based on exploitation engine ObjectC.
It should be understood that the development platform of original application program packet, exploitation engine, can be by original application program packet That developer provides or be detected analysis to original application program packet and obtain, the present embodiment does not limit this.
In addition, the original application program packet channel to be accessed, that is, which channel this is promoted using journey by Sequence.Channel possesses the user resources of magnanimity, and serves application developer, and common channel has Kingsoft pass, Android Market etc..Channel has polymerize a large amount of user in itself, and then forms application program Extension Software Platform, and software developer can be by oneself Application program be linked into a channel, the application program of oneself is promoted to users by the user resources of the channel.
It should be noted that since the development platform of application program that different channels is promoted is there may be difference, because This, in practical applications, software developer can select according to the development platform that the original application program packet of oneself is applied The channel to be accessed.
For example it is assumed that channel A can only promote the application program of Android development platforms, channel B can promote Android With the application program of two kinds of development platforms of IOS, then, an original packet applied to the application program of development platform IOS can only Channel B is accessed, and an original packet applied to the application program of development platform Android can access channel A and/or channel B。
S103, according to target developing platform and target developing engine, the embedded objective function system in original application program packet System obtains the first intermediate application program bag.
In practical applications, objective function system can include at least one of following functions system:
Accounting system, login system, payment system, social share system, message push system, ad system, fingerprint are known Other system.
It is, of course, also possible to other embedded function systems in original application program packet, the present embodiment is only for above-mentioned The function system that can be embedded in original application program packet is illustrated, is defined not to this.
Specifically, according to target developing platform and target developing engine, the embedded objective function in original application program packet The step of system, can include:
According to target developing platform and target developing engine, the object code of objective function system is obtained;
Object code is embedded in original application program packet.
In practical application, the corresponding code wrap of above-mentioned each function system can be got up, only externally provide the function Interface message involved by system, and the code after all encapsulation is formed to general Software Development Kit SDK.
By taking the login system of game application as an example, login system be related to login interface, into game interface, publish and connect Mouthful etc., wherein, login interface is used to call when logging in, by pull-up login interface;It is used to login successfully into game interface It is formal into being called during game afterwards, interface will be entered;Interface is published for being called when exiting, will move out the trip of current account Play interface.Each interface that login system is related to is corresponded into code wrap respectively, login system correspondence can be obtained Software Development Tools.
As foregoing description it is found that different development platforms and exploitation engine corresponding to original application program packet used in Programming language is different, therefore, in the corresponding code of each function system of encapsulation, it is also necessary to according to different development platforms It is packaged respectively with exploitation engine, forms different development platforms and develops the general SDK corresponding to engine, met original The multifarious demand of application package.
In this way, determine original application program packet development platform, exploitation engine after, it may be determined that the original application program Wrap corresponding general SDK.The corresponding object code of the function system to be embedded in can be obtained from identified general SDK, so After object code can be embedded in original application program packet.For example, the corresponding file of object code is copied to original answer With in program bag, and in original application program packet some embedded codes to call the object code, etc..
S104, embedded link information, obtains the second intermediate application program bag in the first intermediate application program bag.
Wherein, link information is:For being connected to the information of the server of objective function system.
After the first intermediate application program bag is obtained, due to being embedded in function system in original application program packet, and The application program needs to interact the work(that could realize these function systems with corresponding server during operation Can, therefore, it is also desirable to the embedded link information in the first intermediate application program bag, for being connected to the service of objective function system Device.
It should be understood that link information can be:The letter generated according to the interface message of the server of objective function system Breath.In practical application, the interface message of the server of objective function system can be encapsulated, and the code after encapsulation is added Enter into general Software Development Kit SDK.When needing the embedded link information in the first intermediate application program bag, directly Call corresponding code in general SDK.
Illustratively, for the login system of a game application, when user is after the application program is installed in terminal, Every time when the corresponding client of the game is logged in, the corresponding server of the game needs to verify the log-on message of user, In the case where the log-on message to user is verified, game server can just allow the user to enter interface to be swum Play.Therefore, it is necessary to which the interface message of the game server is embedded into the first intermediate application program bag, so that the game is objective Family end may be coupled to the game server and interacts at runtime.
Further, due to the profit model of channel, channel defines that client or server in game can be with these In the case that the server of channel interacts, the game application can just be allowed to be linked into the channel and promoted.Therefore, Also need to the embedded and relevant interface message of channel server in the first intermediate application program bag.
S105 is raw according to the corresponding SDK of target channel and the second intermediate application program bag using channel packet tools Into the corresponding target channel packet of target channel.
Channel packet is exactly the installation kit issued in channel, and channel packet tools can also regard that installation kit makes as Tool.Installation kit tools are used to by the relevant file of application program be packaged to produce application program installation kit.
But for channel packet, it is also necessary to integrate each canal respectively on the basis of the second intermediate application program bag The SDK in road could generate the different channel packets for being suitble to each channel, therefore, can be according to the corresponding SDK of each channel and the Two intermediate application program bags using channel packet tools, automatically generate the corresponding channel packet of each channel.
In practical application, the corresponding channel packet of multiple support channels can be disposably generated using channel packet tools, also may be used To only generate the channel packet of a channel every time, the present embodiment does not limit this.
Specifically, using channel packet tools, canal is generated according to the corresponding SDK of channel and the second intermediate application program bag The detailed process of road packet is referred to utilize the process of installation kit tools fabrication and installation packet in the prior art, does not do herein superfluous It states.
It is emphasized that in original application program packet embedded function system obtain the first intermediate application program bag and Embedded link information obtains the second interlude packet in the first intermediate application program bag, the two steps are to need artificial carry out Operation.In the prior art, it when the channel that original application program packet needs are linked into is more, for each channel, all needs Manually the SDK of the channel is linked into original application program packet, for software developer, workload is larger for this.And Using the method for the present embodiment, it is only necessary to manually carry out an access operation, i.e., general SDK is linked into original application program packet In obtain intermediate application program bag, and the operation that different channel packets are generated according to intermediate application program bag can be packed work by channel Tool is automatically performed, in this way, reduce software developer make channel packet workload, shorten make multiple support channels packet when Between.
Seen from the above description, embedded function system obtains the first intermediate application program bag in original application program packet, The second interlude packet is obtained with link information embedded in the first intermediate application program bag, the two steps are by manual operation , due to manual operation, inevitably there are some mistakes, cause to ultimately generate the failure of channel packet.
In consideration of it, the channel packet generation method that the present embodiment is provided, can also include:
When generating the failure of target channel packet, the target reason for causing to generate the failure of target channel packet is determined;
According to the correspondence between predetermined failure cause and solution and target reason, generation target solves Scheme;
The second intermediate application program bag is modified according to targeted solution;
Using channel packet tools, according to the corresponding SDK of target channel and revised second intermediate application program bag, Regenerate the target channel packet.
Illustratively, a certain parameter android in the general SDK of channel A requirements access:The word of targetSdkVersion Number is saved no more than 20, then when the byte number of the parameter in the second interlude packet is set to exceed 20 a certain number During value, it will cause to generate the channel packet failure of channel A.Error reason can be prompted to application program by channel packet tools Developer, in order to which developer determines solution, and according to solution to the second interlude packet according to the error reason It is modified, by the parameter android in the second interlude packet:The byte number of targetSdkVersion is set as not Numerical value more than 20.It then, should according to the corresponding SDK of channel A and revised second centre using channel packet tools With program bag, the corresponding channel packets of channel A are regenerated.
It, can also be by the target channel packet after the corresponding target channel packet of generation target channel in practical application Target channel is uploaded to, to be promoted by target channel to application program.
Specifically, channel is wrapped to the method for passing to channel is referred to the prior art, this will not be repeated here.
After channel is wrapped and passes to channel, which can also include:
Obtain performance data of the target channel packet in target channel;
Based on the performance data obtained, generation is recommended for the channel of the corresponding program developer of original application program packet Information.
After channel, which is wrapped, passes to channel, which can be downloaded and used by the user of the channel.Channel packet is in canal The performance data in road can be:The click volume of the channel packet, download, using the application program number of devices, log in this should With the user account quantity of program, payment amount, number of paying, the user account quantity paid, etc..
After performance data of the channel packet in channel are got, it can be generated according to preset data analysis algorithm model For the channel recommendation information of the corresponding program developer of original application program packet, for example, providing benefit most to program developer The application program extension programme and advertisement promotion scheme changed greatly.
For example, using the corresponding each channel packet of same original application program packet in the performance data of each channel, it can be with Analysis obtains the promotion effect of the original application program packet on each channel, then the corresponding program of original application program packet is opened Originator can carry out promoting on the good channel of effect this using journey when needing to promote the other applications of same type Sequence or the advertisement for launching this application program, without being promoted or being launched on the distributor of effect difference.
For another example, it can be analyzed in the performance data of same channel according to the corresponding channel packet of different original application program packets Promotion effect of the different original application program packets on the channel is obtained, and then may determine that type of application program exists Promotion effect on the channel is preferable, then program developer can preferentially select to promote on the channel such using journey Sequence or the advertisement for launching such application program.
As known from the above, the channel packet generation method that the present embodiment is provided after original application program packet is obtained, determines Target developing platform, target developing engine and the target channel to be accessed of original application program packet, according to target developing Platform, target developing engine, embedded objective function system, obtains the first intermediate application program bag in original application program packet; Embedded link information, obtains the second intermediate application program bag in the first intermediate application program bag, wherein, link information is:With In the information for the server for being connected to objective function system;Using channel packet tools, according to the corresponding SDK of target channel and Second intermediate application program bag, the corresponding target channel packet of generation target channel, wherein, channel packet tools include target canal The corresponding SDK in road.
As it can be seen that scheme provided in this embodiment, embedded objective function system, obtains first in original application program packet Intermediate application program bag, and the embedded link information in the first intermediate application program bag, obtain the second intermediate application program bag it Afterwards, based on second application package, the corresponding target of multiple target channels can be automatically generated using channel packet tools Channel packet.Therefore, the present embodiment can reduce the workload that software developer makes channel packet, shorten and make multiple support channels packet Time.
Corresponding with above-mentioned channel packet generation method, the embodiment of the present invention additionally provides a kind of channel packet generating means.
Corresponding with embodiment of the method shown in FIG. 1, Fig. 2 is a kind of channel packet generating means provided in an embodiment of the present invention Structure diagram, which can include:
First obtains module 201, for obtaining original application program packet;
First determining module 202, for determining the target developing platform of the original application program packet, target developing engine And the original application program packet target channel to be accessed;
First insertion module 203, for according to the target developing platform and the target developing engine, described original Embedded objective function system, obtains the first intermediate application program bag in application package;
Second insertion module 204 for link information embedded in the first intermediate application program bag, is obtained in second Between application package, wherein, the link information is:For being connected to the information of the server of the objective function system;
First generation module 205, for utilizing channel packet tools, according to the corresponding SDK of the target channel and institute The second intermediate application program bag is stated, generates the corresponding target channel packet of the target channel.
Specifically, the first insertion module 203, can include:
Submodule (not shown) is obtained, for according to the target developing platform and the target developing engine, obtaining Obtain the object code of objective function system;
Embedded submodule (not shown), for the object code to be embedded in the original application program packet.
In practical application, the link information is:It is generated according to the interface message of the server of the objective function system Information.
Specifically, described device can also include:
Second determining module (not shown), for when generating the target channel packet failure, determining to cause to generate The target reason of the target channel packet failure;
Second generation module (not shown), for according to pair between predetermined failure cause and solution It should be related to and the target reason, generation targeted solution;
Correcting module (not shown), for according to the targeted solution to the second intermediate application program bag It is modified;
Third generation module (not shown), for utilizing the channel packet tools, according to the target channel Corresponding SDK and the revised second intermediate application program bag, regenerate the target channel packet.
Specifically, described device can also include:
Uploading module (not shown), for described in first generation module or third generation module generation After the corresponding target channel packet of target channel, the target channel is wrapped and passes to the target channel.
Specifically, described device can also include:
Second obtains module (not shown), for obtaining performance number of the target channel packet in the target channel According to;
4th generation module (not shown), for based on the performance data obtained, generation for it is described it is original should With the channel recommendation information of the corresponding program developer of program bag.
Specifically, the objective function system can include at least one of following functions system:
Accounting system, login system, payment system, social share system, message push system, ad system, fingerprint are known Other system.
As known from the above, the channel packet generating means that the present embodiment is provided after original application program packet is obtained, determine Target developing platform, target developing engine and the target channel to be accessed of original application program packet, according to target developing Platform, target developing engine, embedded objective function system, obtains the first intermediate application program bag in original application program packet; Embedded link information, obtains the second intermediate application program bag in the first intermediate application program bag, wherein, link information is:With In the information for the server for being connected to objective function system;Using channel packet tools, according to the corresponding SDK of target channel and Second intermediate application program bag, the corresponding target channel packet of generation target channel, wherein, channel packet tools include target canal The corresponding SDK in road.
As it can be seen that scheme provided in this embodiment, embedded objective function system, obtains first in original application program packet Intermediate application program bag, and the embedded link information in the first intermediate application program bag, obtain the second intermediate application program bag it Afterwards, based on second application package, the corresponding target of multiple target channels can be automatically generated using channel packet tools Channel packet.Therefore, the present embodiment can reduce the workload that software developer makes channel packet, shorten and make multiple support channels packet Time.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that Also there are other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment Point just to refer each other, and the highlights of each of the examples are difference from other examples.Especially for device reality For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (14)

1. a kind of channel packet generation method, which is characterized in that the method includes the steps:
Obtain original application program packet;
Determine the target developing platform, target developing engine and the original application program packet institute of the original application program packet The target channel to be accessed;
According to the target developing platform and the target developing engine, the embedded objective function in the original application program packet System obtains the first intermediate application program bag;
Embedded link information, obtains the second intermediate application program bag in the first intermediate application program bag, wherein, the company Connecing information is:For being connected to the information of the server of the objective function system;
Using channel packet tools, according to the corresponding SDK of the target channel and the second intermediate application program bag, generation The corresponding target channel packet of the target channel.
2. according to the method described in claim 1, it is characterized in that, described open according to the target developing platform and the target It carrys out the coffin upon burial and holds up, in the original application program packet the step of embedded objective function system, including:
According to the target developing platform and the target developing engine, the object code of objective function system is obtained;
The object code is embedded in the original application program packet.
3. according to the method described in claim 1, it is characterized in that,
The link information is:The information generated according to the interface message of the server of the objective function system.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
When generating the target channel packet failure, the target reason for causing to generate the target channel packet failure is determined;
According to the correspondence between predetermined failure cause and solution and the target reason, generation target solves Scheme;
The second intermediate application program bag is modified according to the targeted solution;
It, should according to the corresponding SDK of the target channel and revised second centre using the channel packet tools With program bag, the target channel packet is regenerated.
5. according to claim 1-4 any one of them methods, which is characterized in that corresponding in the generation target channel After the step of target channel packet, further include:
The target channel is wrapped and passes to the target channel.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
Obtain performance data of the target channel packet in the target channel;
Based on the performance data obtained, generation is recommended for the channel of the corresponding program developer of the original application program packet Information.
7. according to the method described in claim 1, it is characterized in that, the objective function system is included in following functions system It is at least one:
Accounting system, login system, payment system, social share system, message push system, ad system, fingerprint recognition system System.
8. a kind of channel packet generating means, which is characterized in that described device includes:
First obtains module, for obtaining original application program packet;
First determining module, for determining the target developing platform of the original application program packet, target developing engine and institute State the original application program packet target channel to be accessed;
First insertion module, for according to the target developing platform and the target developing engine, in the original application journey Embedded objective function system, obtains the first intermediate application program bag in sequence packet;
Second insertion module for link information embedded in the first intermediate application program bag, obtains the second intermediate application Program bag, wherein, the link information is:For being connected to the information of the server of the objective function system;
First generation module, for utilizing channel packet tools, according in the target channel corresponding SDK and described second Between application package, generate the corresponding target channel packet of the target channel.
9. device according to claim 8, which is characterized in that the first insertion module, including:
Submodule is obtained, for according to the target developing platform and the target developing engine, obtaining objective function system Object code;
Embedded submodule, for the object code to be embedded in the original application program packet.
10. device according to claim 8, which is characterized in that
The link information is:The information generated according to the interface message of the server of the objective function system.
11. device according to claim 8, which is characterized in that described device further includes:
Second determining module, for when generating the target channel packet failure, determining to cause to generate the target channel packet mistake The target reason lost;
Second generation module, for according to the correspondence between predetermined failure cause and solution and the target Reason generates targeted solution;
Correcting module, for being modified according to the targeted solution to the second intermediate application program bag;
Third generation module, for utilizing the channel packet tools, according to the corresponding SDK of the target channel and after correcting The second intermediate application program bag, regenerate the target channel packet.
12. according to claim 8-11 any one of them devices, which is characterized in that described device further includes:
Uploading module, for generating the corresponding mesh of the target channel in first generation module or the third generation module After marking channel packet, the target channel is wrapped and passes to the target channel.
13. device according to claim 12, which is characterized in that described device further includes:
Second obtains module, for obtaining performance data of the target channel packet in the target channel;
4th generation module, for based on the performance data obtained, generation to be for the corresponding journey of the original application program packet The channel recommendation information of sequence developer.
14. device according to claim 8, which is characterized in that the objective function system is included in following functions system At least one:
Accounting system, login system, payment system, social share system, message push system, ad system, fingerprint recognition system System.
CN201611095833.6A 2016-12-01 2016-12-01 Channel package generation method and device Active CN108132808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611095833.6A CN108132808B (en) 2016-12-01 2016-12-01 Channel package generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611095833.6A CN108132808B (en) 2016-12-01 2016-12-01 Channel package generation method and device

Publications (2)

Publication Number Publication Date
CN108132808A true CN108132808A (en) 2018-06-08
CN108132808B CN108132808B (en) 2021-05-14

Family

ID=62387761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611095833.6A Active CN108132808B (en) 2016-12-01 2016-12-01 Channel package generation method and device

Country Status (1)

Country Link
CN (1) CN108132808B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522030A (en) * 2018-11-29 2019-03-26 北纬通信科技南京有限责任公司 Platform contract-out party's method of multiple game channel packets is generated based on a key
CN111324381A (en) * 2020-02-17 2020-06-23 腾讯科技(深圳)有限公司 Development system, development method, development apparatus, computer device, and storage medium
CN111970542A (en) * 2020-08-21 2020-11-20 广州欢网科技有限责任公司 System and method for supporting SDK monitoring without upgrading self-advertising app compatibility of smart television
CN112069077A (en) * 2020-09-14 2020-12-11 深圳市小元元科技有限公司 H5 program multi-engine multi-channel quick packaging method
CN114253432A (en) * 2020-09-11 2022-03-29 腾讯科技(深圳)有限公司 Application channel package delivery method and system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799444A (en) * 2011-05-27 2012-11-28 华为软件技术有限公司 Method and device for packaging program in different platforms
CN103279355A (en) * 2013-06-04 2013-09-04 沈琼茂 System and method for creating mobile application stores
CN103731401A (en) * 2012-10-13 2014-04-16 成都哆可梦网络科技有限公司 Cell phone network game operation platform system and method
CN103838573A (en) * 2014-01-03 2014-06-04 浙江宇天科技股份有限公司 Application program generation method and device
US20140207575A1 (en) * 2013-01-22 2014-07-24 Index Systems, Inc. Electronic commerce network using mobile devices
CN104035778A (en) * 2014-06-26 2014-09-10 上海斐讯数据通信技术有限公司 Android application program development method
CN104363264A (en) * 2014-10-22 2015-02-18 北京棱镜云桥科技有限公司 Multi-channel SDK (software development kit) access system and multi-channel SDK access system for mobile terminal software
CN104461582A (en) * 2014-12-30 2015-03-25 乐视网信息技术(北京)股份有限公司 Service processing method and device and equipment
CN104516755A (en) * 2013-10-08 2015-04-15 博雅网络游戏开发(深圳)有限公司 Installation package generating method and device
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
WO2016061762A1 (en) * 2014-10-22 2016-04-28 刘大澎 Multi-channel sdk access system and method for mobile terminal software

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799444A (en) * 2011-05-27 2012-11-28 华为软件技术有限公司 Method and device for packaging program in different platforms
CN103731401A (en) * 2012-10-13 2014-04-16 成都哆可梦网络科技有限公司 Cell phone network game operation platform system and method
US20140207575A1 (en) * 2013-01-22 2014-07-24 Index Systems, Inc. Electronic commerce network using mobile devices
CN103279355A (en) * 2013-06-04 2013-09-04 沈琼茂 System and method for creating mobile application stores
CN104516755A (en) * 2013-10-08 2015-04-15 博雅网络游戏开发(深圳)有限公司 Installation package generating method and device
CN103838573A (en) * 2014-01-03 2014-06-04 浙江宇天科技股份有限公司 Application program generation method and device
CN104035778A (en) * 2014-06-26 2014-09-10 上海斐讯数据通信技术有限公司 Android application program development method
CN105323285A (en) * 2014-07-28 2016-02-10 上海指游网络技术有限公司 APP-product multi-platform release method
CN104363264A (en) * 2014-10-22 2015-02-18 北京棱镜云桥科技有限公司 Multi-channel SDK (software development kit) access system and multi-channel SDK access system for mobile terminal software
WO2016061762A1 (en) * 2014-10-22 2016-04-28 刘大澎 Multi-channel sdk access system and method for mobile terminal software
CN104461582A (en) * 2014-12-30 2015-03-25 乐视网信息技术(北京)股份有限公司 Service processing method and device and equipment
CN105068818A (en) * 2015-08-26 2015-11-18 网易(杭州)网络有限公司 Channel package generation method and apparatus and channel package batch generation method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
佚名: "教你快速高效接入SDK——iOS多渠道自动打包工具核心原理", 《HTTPS://BLOG.CSDN.NET/CHENJIE19891104/ARTICLE/DETAILS/52079215》 *
刘奕君: "基于Android的移动应用内支付平台设计与实现", 《软件导刊 软件开发与应用》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522030A (en) * 2018-11-29 2019-03-26 北纬通信科技南京有限责任公司 Platform contract-out party's method of multiple game channel packets is generated based on a key
CN109522030B (en) * 2018-11-29 2021-07-30 北纬通信科技南京有限责任公司 Platform package outlet method for generating multiple game channel packages based on one key
CN111324381A (en) * 2020-02-17 2020-06-23 腾讯科技(深圳)有限公司 Development system, development method, development apparatus, computer device, and storage medium
CN111324381B (en) * 2020-02-17 2021-06-15 腾讯科技(深圳)有限公司 Development system, development method, development apparatus, computer device, and storage medium
CN111970542A (en) * 2020-08-21 2020-11-20 广州欢网科技有限责任公司 System and method for supporting SDK monitoring without upgrading self-advertising app compatibility of smart television
CN114253432A (en) * 2020-09-11 2022-03-29 腾讯科技(深圳)有限公司 Application channel package delivery method and system
CN114253432B (en) * 2020-09-11 2023-09-08 腾讯科技(深圳)有限公司 Application channel package delivery method and system
CN112069077A (en) * 2020-09-14 2020-12-11 深圳市小元元科技有限公司 H5 program multi-engine multi-channel quick packaging method

Also Published As

Publication number Publication date
CN108132808B (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN108132808A (en) A kind of channel packet generation method and device
US10705866B2 (en) System and method for executing different types of blockchain contracts
AU2016304571B2 (en) Model integration tool
CN104363264B (en) The SDK access systems by all kinds of means of mobile terminal software
Kuhn et al. Cubist models for regression
CN102222012B (en) For the static type checking of external data source
CN105512304B (en) It is online to generate internet application method and system integration method and support platform
CN105765527A (en) Method and apparatus for custom software development kit (SDK) generation
JP2016505952A (en) System, method and computer program product for software build and load processing using compilation and deployment services
CN103582867A (en) High-level language for specifying configurations of cloud-based deployments
US20070073724A1 (en) System and method for automatic or semi-automatic software integration
WO2014204984A1 (en) Method and apparatus for code virtualization and remote process call generation
Quinton et al. SALOON: a platform for selecting and configuring cloud environments
CN109871241A (en) A kind of configuration method of Cross-environment application server
AU2022203306A1 (en) Computerized gaming system and method of operating thereof
CN110765010B (en) Method and device for online debugging visual development based on Flink
CN109918112B (en) Game hot update method, device and storage medium
CN107590064A (en) A kind of application upgrade method of testing, device and system
US20020133752A1 (en) Component/web service operational profile auto-sequencing
CN106484488A (en) Integrated cloud compilation method and system
CN113591279A (en) Method, device, equipment and storage medium for on-line modeling simulation
CN105471809A (en) Verification method and verification system for software authorization information
CN103984555A (en) Method for automatically generating specific platform communication protocol source code on basis of tree-table combination drive
CN113515452A (en) Automatic test method and system for application, electronic equipment and storage medium
CN110502241A (en) Intelligent contract online editing method, apparatus, computer equipment and storage medium

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