WO2016091034A1 - Method and device for providing application channel packet - Google Patents

Method and device for providing application channel packet Download PDF

Info

Publication number
WO2016091034A1
WO2016091034A1 PCT/CN2015/093590 CN2015093590W WO2016091034A1 WO 2016091034 A1 WO2016091034 A1 WO 2016091034A1 CN 2015093590 W CN2015093590 W CN 2015093590W WO 2016091034 A1 WO2016091034 A1 WO 2016091034A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
application
package
installation package
party
Prior art date
Application number
PCT/CN2015/093590
Other languages
French (fr)
Chinese (zh)
Inventor
东玮
魏钦刚
尹俊
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2016091034A1 publication Critical patent/WO2016091034A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • the present invention relates to the field of data processing technologies, and in particular, to a method for providing an application channel package and an apparatus for providing an application channel package.
  • the Android application installation package uses the original installation package of the manufacturer.
  • the original installation package cannot identify the channel information, and cannot perform statistical settlement and other processes with the third-party channel, so the application cannot be handed over to a third-party channel for promotion. Therefore, the original application installation package greatly restricts the promotion of application software.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method for providing an application channel package, which can provide an installation package that can identify channel information to a third party channel.
  • the embodiment of the present invention further provides an apparatus for providing an application channel package, which is used to ensure implementation and application of the foregoing method.
  • the present invention discloses a method for providing an application channel package, including: obtaining an application installation package;
  • the application channel package corresponding to the channel party generated according to the application installation package is obtained for the channel party to download.
  • An embodiment of the present invention further provides an apparatus for providing an application channel package, including:
  • a determining unit configured to determine whether the application installation package accesses a software development kit SDK for reading tail data
  • a channel packet obtaining unit configured to: when the determining unit determines that the application installation package is connected to the SDK, and obtain a download request of the channel side, obtain a corresponding to the channel side generated according to the application installation package The channel package is applied for download by the channel.
  • the embodiment of the invention further provides a computer program comprising computer readable code, when the computer readable code is run on the terminal device, causing the terminal device to perform the method for providing an application channel package according to the above.
  • the embodiment of the invention further provides a computer readable medium, wherein the computer program described above is stored.
  • the embodiments of the invention include the following advantages:
  • the embodiment of the present invention obtains an application installation package that is accessed by the SDK.
  • the application channel package may be obtained according to the channel information of the channel side and the application installation package, because the SDK in the application channel package may be The channel information is read out, so that an installation package that can identify the channel information can be provided to the third-party channel, which facilitates the promotion of the application.
  • FIG. 1 is a flow chart showing the steps of an embodiment of a method for providing an application channel package according to the present invention
  • FIG. 2 is a flow chart showing the steps of another embodiment of a method for providing an application channel package according to the present invention
  • FIG. 3 is a structural block diagram of an apparatus for providing an application channel package according to the present invention.
  • FIG. 4 is a structural block diagram of a channel packet obtaining unit according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of another embodiment of an apparatus for providing an application channel package according to the present invention.
  • Figure 6 shows schematically a block diagram of a terminal device for carrying out the method according to the invention
  • Fig. 7 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • FIG. 1 a flow chart of steps of a method for providing an application channel package according to the present invention is shown. Specifically, the method may include the following steps:
  • step 101 an application installation package is obtained.
  • the device for providing the application channel package may be a stand-alone system with its own storage system, or may be integrated into an existing server, such as a Content Delivery Network (CDN) server.
  • CDN Content Delivery Network
  • an application installation package for the device that provides the application channel package.
  • the application developer generally pre-stores the application installation package in the CDN server.
  • the device can download the application installation package from the CDN server through the Linux shell script and decompress it, or the CDN server can actively send it to the CDN server. The device.
  • Step 102 Determine whether the application installation package accesses a software development kit SDK for reading tail data.
  • the device can read the decompression file of the application installation package, and further determine, according to the content of the file, whether the application installation package is connected to a software development kit (Software Development Kit, SDK) that can read the data at the end of the file. ).
  • a software development kit Software Development Kit, SDK
  • the version number of the SDK may be recorded in the file of the application installation package; for example, the record item in the file is a field of VersionName, and if the version number is recorded, it may be determined that the application installation package is connected to the SDK.
  • the application installation package obtained by the device may be partially or completely connected to the SDK, and the application developer may access the SDK in the source code of the application installation package in advance, and the SDK can identify the end identifier of the application installation package and can read out The data after the end identifier.
  • step 103 is performed. Otherwise, the application installation package may be directly provided to the channel party or the user for download according to the existing processing flow.
  • Step 103 Upon receiving the download request of the channel party, obtain an application channel package corresponding to the channel party generated according to the application installation package, for the channel party to download.
  • the device may obtain the channel information of the channel according to the request, and then recompile the application installation package according to the channel information and the application installation package to obtain the application channel package, or the corresponding data of the channel information.
  • the device may also send related data of the channel to other servers, such as a CDN server, and the corresponding application channel package is generated by the other server and then returned to the device.
  • the application channel package can use the SDK to read the channel data, and then the channel information to achieve multi-channel distribution.
  • the device can provide a data reading interface as a network service, so that a channel party and the like can obtain data in the device through the interface.
  • the data requested by the channel party from the interface is an application installation package that is connected to the SDK
  • the device obtains the application channel package corresponding to the application installation package in real time for the channel to download.
  • the device can also provide webpage version information, which can be directly used by the channel party or the user, and the channel party or the user can download and obtain the application channel package from the webpage by accessing the webpage.
  • the embodiment of the present invention obtains an application installation package that is accessed by the SDK.
  • the application channel package may be obtained according to the channel information of the channel side and the application installation package, because the SDK in the application channel package may be The channel information is read out, so that an installation package that can identify the channel information can be provided to the third-party channel, which facilitates the promotion of the application.
  • the process for obtaining the application channel package by the device may be as shown in FIG. 2, including:
  • Step 201 Obtain channel information of the channel side according to the download request of the channel party.
  • the device providing the application channel package receives a request for downloading an application channel package sent by the channel, and the request includes channel information of the channel side.
  • Step 202 Send the channel information to the server.
  • the device can specifically transmit the channel information to the server by means of URL passing.
  • the server may be a CDN server.
  • the server may use the agreed key to encrypt the channel information to obtain the channel data, and then recompile the application installation package according to the channel data and the application installation package to obtain the application channel package.
  • the channel data can be continually generated at the end of the application installation package to generate an application channel package.
  • the server After the server generates the application channel package, it sends it to the device that provides the application channel package.
  • Step 203 The sending server sends the generated information according to the channel information and the application installation package. Application channel package.
  • the device After receiving the application channel package, the device can provide the channel party with the download of the application channel package.
  • the server may further obtain the association information of the application channel package, such as the installation package length, the check value, the installation package name, the software name corresponding to the installation package, and the software corresponding to the installation package. .
  • the server compares the length of the application installation package with the length of the channel data as the installation package length of the application channel package; calculates the MD5 value of the application channel package after the application installation package and the channel data are combined as the verification value of the application channel package, and the like. .
  • the server may send the association information of the application channel package to the device that provides the application channel package together with the application channel package, or may also send the requested information when the device sends the associated information of the application channel package.
  • the associated information is sent to the device.
  • Step 204 Receive association information of the application channel package calculated by the server according to the channel information and the application installation package, where the association information includes at least one of the following: an installation package length, a check value, an installation package name, and software corresponding to the installation package. The name, the picture of the software corresponding to the installation package.
  • Step 205 Receive a request for the association information of the application channel package sent by the channel party.
  • Step 206 Send association information of the application channel package to the channel side.
  • the sequence between the foregoing method steps 204-205 may be adjusted as needed.
  • the device may first perform steps 201-203, and then perform step 205 to receive a request from the channel party for the associated information.
  • the server sends a request for acquiring the associated information, and then step 204 is performed, and finally step 206 is performed.
  • the process and storage for generating the channel installation package are completed in a server (such as a CDN), which can meet the requirements of the network service for efficiency.
  • FIG. 3 a structural block diagram of an apparatus for providing an application channel package according to the present invention is shown, which may specifically include the following units:
  • the installation package obtaining unit 301 is configured to obtain an application installation package.
  • the determining unit 302 is configured to determine whether the application installation package accesses a software development kit SDK for reading tail data.
  • the channel package obtaining unit 303 is configured to: when the determining unit 302 determines that the application installation package is connected to the SDK, and obtain a download request from the channel side, obtain the channel side generated according to the application installation package Corresponding application channel package for download by the channel party.
  • the embodiment of the present invention obtains an application installation package that accesses the SDK through the foregoing unit.
  • the application channel package may be obtained according to the channel information of the channel side and the application installation package, because the application channel package is The SDK can read out the channel information, so that the installation package that can identify the channel information can be provided to the third-party channel, which facilitates the promotion of the application.
  • the determining unit 302 is specifically configured to determine whether the version number of the SDK is recorded in the file of the application installation package; if yes, determine that the application installation package is connected to the Said SDK.
  • the channel package obtaining unit 303 may further include:
  • the information obtaining sub-unit 401 is configured to obtain channel information of the channel side according to the download request of the channel side.
  • the information sending subunit 402 is configured to send the channel information to a server.
  • the receiving subunit 403 is configured to receive an application channel package that is generated by the server according to the channel information and the application installation package.
  • FIG. 5 is a schematic structural diagram of another apparatus for providing an application channel package according to an embodiment of the present invention.
  • the device may include: an installation package obtaining unit 301, a determining unit 302, and a channel package acquiring unit 303, and may further include:
  • the association data obtaining unit 501 is configured to receive association information of the application channel package calculated by the server according to the channel information and the application installation package, where the association information includes at least one of the following: an installation package length, Check value, installation package name, software name corresponding to the installation package, and picture of the software corresponding to the installation package.
  • the request receiving unit 502 is configured to receive a request for the associated information of the application channel package sent by the channel party;
  • the information providing unit 503 is configured to send association information of the application channel package to the channel party.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • embodiments of the embodiments of the invention may be provided as a method, apparatus, or computer program product.
  • embodiments of the invention may be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • embodiments of the invention may take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device
  • Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the means for providing an application channel package in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • FIG. 6 illustrates a terminal device, such as an application terminal device, that can implement the method of providing an application channel package in accordance with the present invention.
  • the terminal device conventionally includes a processor 410 And a computer program product or computer readable medium in the form of a memory 420.
  • the memory 420 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
  • Memory 420 has a memory space 430 for program code 431 for performing any of the method steps described above.
  • storage space 430 for program code may include various program code 431 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 420 in the terminal device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit comprises computer readable code 431', ie code that can be read by a processor, such as 410, which, when executed by the terminal device, causes the terminal device to perform each of the methods described above step.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present invention provides a method and device for providing an application channel packet. The method for providing the application channel packet comprises: obtaining an application installation packet; determining whether or not the application installation packet accesses a software development kit (SDK) for reading tail data; and if so, obtaining the application channel packet corresponding to the channel party and generated according to the application installation packet for the channel party to download, when receiving the download request from the channel party. The embodiment of the present invention can obtain the application channel packet according to the channel information of the channel party and the application installation packet by obtaining the application installation packet accessing the SDK, when the request from the channel party is received. Because the SDK in the application channel packet can read the channel information therein, thus the installation packet capable of identifying the channel information is provided to a third-party channel and the application is convenient to popularize.

Description

一种提供应用渠道包的方法和装置Method and device for providing application channel package 技术领域Technical field
本发明涉及数据处理技术领域,特别是涉及一种提供应用渠道包的方法和一种提供应用渠道包的装置。The present invention relates to the field of data processing technologies, and in particular, to a method for providing an application channel package and an apparatus for providing an application channel package.
背景技术Background technique
随着移动互联网的不断发展,各类手机应用软件越来越多,极大的方便了和丰富了人们的生活。With the continuous development of the mobile Internet, more and more mobile phone application software has greatly facilitated and enriched people's lives.
以手机助手中的安卓应用为例,安卓应用安装包使用的是厂商的原始安装包。然而,原始安装包无法识别渠道信息,无法和第三方渠道做统计结算等流程,所以不能将应用交给第三方渠道进行推广。因此,原始应用安装包极大制约了应用软件的推广。Take the Android app in the mobile assistant as an example. The Android application installation package uses the original installation package of the manufacturer. However, the original installation package cannot identify the channel information, and cannot perform statistical settlement and other processes with the third-party channel, so the application cannot be handed over to a third-party channel for promotion. Therefore, the original application installation package greatly restricts the promotion of application software.
因此,目前需要本领域技术人员迫切解决的一个技术问题就是:如何能向第三方渠道提供可以识别渠道信息的安装包。。Therefore, a technical problem that needs to be solved urgently by those skilled in the art is how to provide an installation package that can identify channel information to a third party channel. .
发明内容Summary of the invention
本发明实施例所要解决的技术问题是提供一种提供应用渠道包的方法,能够向第三方渠道提供可以识别渠道信息的安装包。The technical problem to be solved by the embodiments of the present invention is to provide a method for providing an application channel package, which can provide an installation package that can identify channel information to a third party channel.
相应的,本发明实施例还提供了一种提供应用渠道包的装置,用以保证上述方法的实现及应用。Correspondingly, the embodiment of the present invention further provides an apparatus for providing an application channel package, which is used to ensure implementation and application of the foregoing method.
为了解决上述问题,本发明公开了一种提供应用渠道包的方法,包括:获得应用安装包;In order to solve the above problem, the present invention discloses a method for providing an application channel package, including: obtaining an application installation package;
判断所述应用安装包是否接入用于读取尾数据的软件开发工具包SDK;Determining whether the application installation package accesses a software development kit SDK for reading tail data;
若是,则在接收到渠道方的下载请求时,获得根据所述应用安装包生成的与所述渠道方对应的应用渠道包,以供所述渠道方下载。If yes, when the download request of the channel party is received, the application channel package corresponding to the channel party generated according to the application installation package is obtained for the channel party to download.
本发明实施例还提供一种提供应用渠道包的装置,包括:An embodiment of the present invention further provides an apparatus for providing an application channel package, including:
安装包获取单元,用于获得应用安装包;An installation package obtaining unit for obtaining an application installation package;
判定单元,用于判断所述应用安装包是否接入用于读取尾数据的软件开发工具包SDK; a determining unit, configured to determine whether the application installation package accesses a software development kit SDK for reading tail data;
渠道包获取单元,用于当所述判定单元判定所述应用安装包接入了SDK,并在接收到渠道方的下载请求时,获得根据所述应用安装包生成的与所述渠道方对应的应用渠道包,以供所述渠道方下载。a channel packet obtaining unit, configured to: when the determining unit determines that the application installation package is connected to the SDK, and obtain a download request of the channel side, obtain a corresponding to the channel side generated according to the application installation package The channel package is applied for download by the channel.
本发明实施例还提供一种计算机程序,包括计算机可读代码,当所述计算机可读代码在终端设备上运行时,导致所述终端设备执行根据上述的提供应用渠道包的方法。The embodiment of the invention further provides a computer program comprising computer readable code, when the computer readable code is run on the terminal device, causing the terminal device to perform the method for providing an application channel package according to the above.
本发明实施例还提供一种计算机可读介质,其中存储了上述的计算机程序。The embodiment of the invention further provides a computer readable medium, wherein the computer program described above is stored.
与现有技术相比,本发明实施例包括以下优点:Compared with the prior art, the embodiments of the invention include the following advantages:
本发明实施例通过获得接入了SDK的应用安装包,当接收到渠道方的请求时,可以根据该渠道方的渠道信息及应用安装包获得应用渠道包,由于该应用渠道包中的SDK可以读取出其中的渠道信息,从而可以实现向第三方渠道提供可以识别渠道信息的安装包,方便了将应用的推广。The embodiment of the present invention obtains an application installation package that is accessed by the SDK. When receiving the request of the channel party, the application channel package may be obtained according to the channel information of the channel side and the application installation package, because the SDK in the application channel package may be The channel information is read out, so that an installation package that can identify the channel information can be provided to the third-party channel, which facilitates the promotion of the application.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1是本发明的一种提供应用渠道包的方法实施例的步骤流程图;1 is a flow chart showing the steps of an embodiment of a method for providing an application channel package according to the present invention;
图2是本发明的另一种提供应用渠道包的方法实施例的步骤流程图;2 is a flow chart showing the steps of another embodiment of a method for providing an application channel package according to the present invention;
图3是本发明的一种提供应用渠道包的装置实施例的结构框图;3 is a structural block diagram of an apparatus for providing an application channel package according to the present invention;
图4是本发明实施例中一种渠道包获取单元的结构框图;4 is a structural block diagram of a channel packet obtaining unit according to an embodiment of the present invention;
图5是本发明的另一种提供应用渠道包的装置实施例的结构框图。FIG. 5 is a structural block diagram of another embodiment of an apparatus for providing an application channel package according to the present invention.
图6示意性地示出了用于执行根据本发明的方法的终端设备的框图;以及 Figure 6 shows schematically a block diagram of a terminal device for carrying out the method according to the invention;
图7示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。Fig. 7 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
具体实施例Specific embodiment
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。The present invention will be further described in detail with reference to the accompanying drawings and specific embodiments.
参照图1,示出了本发明的一种提供应用渠道包的方法实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1 , a flow chart of steps of a method for providing an application channel package according to the present invention is shown. Specifically, the method may include the following steps:
步骤101,获得应用安装包。In step 101, an application installation package is obtained.
本发明实施例中,提供应用渠道包的装置可以是具有自己的存储系统的独立系统,也可以是集成在现有的某一服务器中,例如内容分发网络(Content Delivery Network,CDN)服务器等。In the embodiment of the present invention, the device for providing the application channel package may be a stand-alone system with its own storage system, or may be integrated into an existing server, such as a Content Delivery Network (CDN) server.
该提供应用渠道包的装置获得应用安装包的方法有多种。例如,应用开发商一般会将应用安装包预先存储在CDN服务器中,该装置可以通过linux的shell脚本将应用安装包从CDN服务器中下载下来,并对其解压,也可以是CDN服务器主动发送给该装置的。There are several ways to obtain an application installation package for the device that provides the application channel package. For example, the application developer generally pre-stores the application installation package in the CDN server. The device can download the application installation package from the CDN server through the Linux shell script and decompress it, or the CDN server can actively send it to the CDN server. The device.
步骤102,判断应用安装包是否接入用于读取尾数据的软件开发工具包SDK。Step 102: Determine whether the application installation package accesses a software development kit SDK for reading tail data.
该装置获得应用安装包后,可以读取该应用安装包的解压文件,并进一步根据文件内容判断该应用安装包是否接入了可以读取文件尾数据的软件开发工具包(Software Development Kit,SDK)。After obtaining the application installation package, the device can read the decompression file of the application installation package, and further determine, according to the content of the file, whether the application installation package is connected to a software development kit (Software Development Kit, SDK) that can read the data at the end of the file. ).
具体的,可以是判断应用安装包的文件中是否记录有SDK的版本号;例如查看文件中的记录项为VersionName的字段,若记录有版本号,则可确定该应用安装包接入了SDK。Specifically, it may be determined whether the version number of the SDK is recorded in the file of the application installation package; for example, the record item in the file is a field of VersionName, and if the version number is recorded, it may be determined that the application installation package is connected to the SDK.
该装置获得的应用安装包中可能部分或全部接入了SDK,应用开发商可以预先在应用安装包的源代码中接入SDK,SDK可以识别出应用安装包的结尾标识,并可以读取出位于该结尾标识后的数据。The application installation package obtained by the device may be partially or completely connected to the SDK, and the application developer may access the SDK in the source code of the application installation package in advance, and the SDK can identify the end identifier of the application installation package and can read out The data after the end identifier.
若该装置判定应用安装包中接入了SDK,则执行步骤103,否则,按照现有处理流程可以直接提供应用安装包给渠道方或者用户下载。If the device determines that the SDK is accessed in the application installation package, step 103 is performed. Otherwise, the application installation package may be directly provided to the channel party or the user for download according to the existing processing flow.
步骤103,在接收到渠道方的下载请求时,获得根据应用安装包生成的与渠道方对应的应用渠道包,以供该渠道方下载。Step 103: Upon receiving the download request of the channel party, obtain an application channel package corresponding to the channel party generated according to the application installation package, for the channel party to download.
当该装置接收到渠道方对该应用安装包对应的应用渠道包的下载 请求时,该装置可以根据该请求获得渠道方的渠道信息,然后根据该渠道信息及应用安装包利用现有方法对应用安装包进行重新编译获得应用渠道包,也可以将该渠道信息的对应数据续接在应用安装包尾部生成应用渠道包。该装置还可以将渠道方的相关数据发送至其它服务器,例如CDN服务器,由其它服务器生成对应的应用渠道包后再返回给该装置,具体请参见后续实施例的描述。该应用渠道包可以利用其中的SDK读取其中的渠道数据,进而渠道信息,实现多渠道分发。When the device receives the download of the application channel package corresponding to the application installation package by the channel party Upon request, the device may obtain the channel information of the channel according to the request, and then recompile the application installation package according to the channel information and the application installation package to obtain the application channel package, or the corresponding data of the channel information. Continue to generate an application channel package at the end of the application installation package. The device may also send related data of the channel to other servers, such as a CDN server, and the corresponding application channel package is generated by the other server and then returned to the device. For details, refer to the description of the subsequent embodiments. The application channel package can use the SDK to read the channel data, and then the channel information to achieve multi-channel distribution.
该装置可以提供数据读取接口作为网络服务,使渠道方等方面能够通过该接口获取本装置内的数据。当渠道方从该接口内申请读取的数据是接入了SDK的应用安装包时,该装置将实时获得该应用安装包对应的应用渠道包供渠道方下载。同时该装置还可以提供网页版信息,给渠道方或者用户直接使用,渠道方或者用户通过访问该网页,可以从网页中下载获得应用渠道包。The device can provide a data reading interface as a network service, so that a channel party and the like can obtain data in the device through the interface. When the data requested by the channel party from the interface is an application installation package that is connected to the SDK, the device obtains the application channel package corresponding to the application installation package in real time for the channel to download. At the same time, the device can also provide webpage version information, which can be directly used by the channel party or the user, and the channel party or the user can download and obtain the application channel package from the webpage by accessing the webpage.
本发明实施例通过获得接入了SDK的应用安装包,当接收到渠道方的请求时,可以根据该渠道方的渠道信息及应用安装包获得应用渠道包,由于该应用渠道包中的SDK可以读取出其中的渠道信息,从而可以实现向第三方渠道提供可以识别渠道信息的安装包,方便了将应用的推广。The embodiment of the present invention obtains an application installation package that is accessed by the SDK. When receiving the request of the channel party, the application channel package may be obtained according to the channel information of the channel side and the application installation package, because the SDK in the application channel package may be The channel information is read out, so that an installation package that can identify the channel information can be provided to the third-party channel, which facilitates the promotion of the application.
在本发明的另一实施例中,该装置获得应用渠道包的过程可以如图2所示,包括:In another embodiment of the present invention, the process for obtaining the application channel package by the device may be as shown in FIG. 2, including:
步骤201,根据渠道方的下载请求获得渠道方的渠道信息。Step 201: Obtain channel information of the channel side according to the download request of the channel party.
该提供应用渠道包的装置接收渠道方发送的下载应用渠道包的请求,该请求中包含该渠道方的渠道信息。The device providing the application channel package receives a request for downloading an application channel package sent by the channel, and the request includes channel information of the channel side.
步骤202,向服务器发送该渠道信息。Step 202: Send the channel information to the server.
该装置具体可以通过URL传参的方式将渠道信息传递到服务器中。本实施例中该服务器可以是CDN服务器。The device can specifically transmit the channel information to the server by means of URL passing. In this embodiment, the server may be a CDN server.
服务器接收到渠道信息后,可以利用约定密钥对该渠道信息进行加密处理获得渠道数据,然后可以根据该渠道数据及应用安装包利用现有方法对应用安装包进行重新编译获得应用渠道包,也可以将该渠道数据续接在应用安装包尾部生成应用渠道包。After receiving the channel information, the server may use the agreed key to encrypt the channel information to obtain the channel data, and then recompile the application installation package according to the channel data and the application installation package to obtain the application channel package. The channel data can be continually generated at the end of the application installation package to generate an application channel package.
服务器生成应用渠道包后,发送给该提供应用渠道包的装置。After the server generates the application channel package, it sends it to the device that provides the application channel package.
步骤203,接收服务器发送的根据该渠道信息及应用安装包生成的 应用渠道包。Step 203: The sending server sends the generated information according to the channel information and the application installation package. Application channel package.
该装置接收到应用渠道包后,即可向渠道方提供该应用渠道包的下载。After receiving the application channel package, the device can provide the channel party with the download of the application channel package.
另外,服务器在生成应用渠道包后,还可以进一步获得该应用渠道包的关联信息,例如安装包长度、校验值、安装包名称、安装包对应的软件名称、安装包对应的软件的图片等。In addition, after the server generates the application channel package, the server may further obtain the association information of the application channel package, such as the installation package length, the check value, the installation package name, the software name corresponding to the installation package, and the software corresponding to the installation package. .
例如,服务器将应用安装包的长度与渠道数据的长度的和作为应用渠道包的安装包长度;计算应用安装包与渠道数据组合后的应用渠道包的MD5值作为应用渠道包的校验值等。For example, the server compares the length of the application installation package with the length of the channel data as the installation package length of the application channel package; calculates the MD5 value of the application channel package after the application installation package and the channel data are combined as the verification value of the application channel package, and the like. .
服务器可以连同应用渠道包一并将应用渠道包的关联信息发送至该提供应用渠道包的装置,也可以是在接收到该装置发送的获取该应用渠道包的关联信息时,再将所请求的关联信息发送至该装置。The server may send the association information of the application channel package to the device that provides the application channel package together with the application channel package, or may also send the requested information when the device sends the associated information of the application channel package. The associated information is sent to the device.
步骤204,接收服务器发送的根据该渠道信息及应用安装包计算获得的应用渠道包的关联信息,该关联信息包括以下至少一个:安装包长度、校验值、安装包名称、安装包对应的软件名称、安装包对应的软件的图片。Step 204: Receive association information of the application channel package calculated by the server according to the channel information and the application installation package, where the association information includes at least one of the following: an installation package length, a check value, an installation package name, and software corresponding to the installation package. The name, the picture of the software corresponding to the installation package.
该装置获得应用渠道包的关联信息后还可以执行以下步骤205~206。After the device obtains the associated information of the application channel package, the following steps 205-206 can also be performed.
步骤205,接收渠道方发送的对应用渠道包的关联信息的请求。Step 205: Receive a request for the association information of the application channel package sent by the channel party.
步骤206,向渠道方发送应用渠道包的关联信息。Step 206: Send association information of the application channel package to the channel side.
在另一实施例中,上述方法步骤204~205之间的顺序可以根据需要调整,例如,可以是该装置首先执行步骤201~203,然后执行步骤205,在接收到渠道方对关联信息的请求后,向服务器发送获取关联信息的请求,然后执行步骤204,最后执行步骤206。In another embodiment, the sequence between the foregoing method steps 204-205 may be adjusted as needed. For example, the device may first perform steps 201-203, and then perform step 205 to receive a request from the channel party for the associated information. After that, the server sends a request for acquiring the associated information, and then step 204 is performed, and finally step 206 is performed.
本实施例中,将生成渠道安装包的流程和存储都在服务器(如CDN)中完成,能够满足网络服务对效率的要求。In this embodiment, the process and storage for generating the channel installation package are completed in a server (such as a CDN), which can meet the requirements of the network service for efficiency.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。 It should be noted that, for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the embodiments of the present invention are not limited by the described action sequence, because In accordance with embodiments of the invention, certain steps may be performed in other sequences or concurrently. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
参照图3,示出了本发明一种提供应用渠道包的装置实施例的结构框图,具体可以包括如下单元:Referring to FIG. 3, a structural block diagram of an apparatus for providing an application channel package according to the present invention is shown, which may specifically include the following units:
安装包获取单元301,用于获得应用安装包。The installation package obtaining unit 301 is configured to obtain an application installation package.
判定单元302,用于判断所述应用安装包是否接入用于读取尾数据的软件开发工具包SDK。The determining unit 302 is configured to determine whether the application installation package accesses a software development kit SDK for reading tail data.
渠道包获取单元303,用于当所述判定单元302判定所述应用安装包接入了SDK,并在接收到渠道方的下载请求时,获得根据所述应用安装包生成的与所述渠道方对应的应用渠道包,以供所述渠道方下载。The channel package obtaining unit 303 is configured to: when the determining unit 302 determines that the application installation package is connected to the SDK, and obtain a download request from the channel side, obtain the channel side generated according to the application installation package Corresponding application channel package for download by the channel party.
本发明实施例通过上述单元获得接入了SDK的应用安装包,当接收到渠道方的请求时,可以根据该渠道方的渠道信息及应用安装包获得应用渠道包,由于该应用渠道包中的SDK可以读取出其中的渠道信息,从而可以实现向第三方渠道提供可以识别渠道信息的安装包,方便了将应用的推广。The embodiment of the present invention obtains an application installation package that accesses the SDK through the foregoing unit. When receiving the request of the channel party, the application channel package may be obtained according to the channel information of the channel side and the application installation package, because the application channel package is The SDK can read out the channel information, so that the installation package that can identify the channel information can be provided to the third-party channel, which facilitates the promotion of the application.
在本发明的另一实施例中,判定单元302,具体可以用于判断所述应用安装包的文件中是否记录有所述SDK的版本号;若是,则确定所述应用安装包接入了所述SDK。In another embodiment of the present invention, the determining unit 302 is specifically configured to determine whether the version number of the SDK is recorded in the file of the application installation package; if yes, determine that the application installation package is connected to the Said SDK.
在本发明的另一实施例中,如图4所示,渠道包获取单元303可以进一步包括:In another embodiment of the present invention, as shown in FIG. 4, the channel package obtaining unit 303 may further include:
信息获取子单元401,用于根据所述渠道方的下载请求获得所述渠道方的渠道信息。The information obtaining sub-unit 401 is configured to obtain channel information of the channel side according to the download request of the channel side.
信息发送子单元402,用于向服务器发送所述渠道信息。The information sending subunit 402 is configured to send the channel information to a server.
接收子单元403,用于接收所述服务器发送的根据所述渠道信息及所述应用安装包生成的应用渠道包。The receiving subunit 403 is configured to receive an application channel package that is generated by the server according to the channel information and the application installation package.
如图5所示为本发明实施例另一种提供应用渠道包的装置结构示意图,该装置除了可以包括安装包获取单元301,判定单元302,渠道包获取单元303之外,还可以包括:FIG. 5 is a schematic structural diagram of another apparatus for providing an application channel package according to an embodiment of the present invention. The device may include: an installation package obtaining unit 301, a determining unit 302, and a channel package acquiring unit 303, and may further include:
关联数据获取单元501,用于接收所述服务器发送的根据所述渠道信息及所述应用安装包计算获得的所述应用渠道包的关联信息,所述关联信息包括以下至少一个:安装包长度、校验值、安装包名称、安装包对应的软件名称、安装包对应的软件的图片。The association data obtaining unit 501 is configured to receive association information of the application channel package calculated by the server according to the channel information and the application installation package, where the association information includes at least one of the following: an installation package length, Check value, installation package name, software name corresponding to the installation package, and picture of the software corresponding to the installation package.
请求接收单元502,用于接收所述渠道方发送的对所述应用渠道包的关联信息的请求; The request receiving unit 502 is configured to receive a request for the associated information of the application channel package sent by the channel party;
信息提供单元503,用于向所述渠道方发送所述应用渠道包的关联信息。The information providing unit 503 is configured to send association information of the application channel package to the channel party.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。The various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments can be referred to each other.
本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the embodiments of the invention may be provided as a method, apparatus, or computer program product. Thus, embodiments of the invention may be in the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, embodiments of the invention may take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device such that a series of operational steps are performed on the computer or other programmable terminal device to produce computer-implemented processing, such that the computer or other programmable terminal device The instructions executed above provide steps for implementing the functions specified in one or more blocks of the flowchart or in a block or blocks of the flowchart.
尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。While a preferred embodiment of the present invention has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities. There is any such actual relationship or order between operations. Furthermore, the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, or terminal device that includes a plurality of elements includes not only those elements but also Other elements that are included, or include elements inherent to such a process, method, article, or terminal device. An element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that comprises the element, without further limitation.
以上对本发明所提供的一种提供应用渠道包的方法和一种提供应用渠道包的装置,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method for providing an application channel package and the device for providing an application channel package provided by the present invention are described in detail. The principle and implementation manner of the present invention are described in the following. The descriptions are only used to help understand the method of the present invention and its core ideas; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The description is not to be construed as limiting the invention.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的提供应用渠道包的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the means for providing an application channel package in accordance with embodiments of the present invention. The invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
例如,图6示出了可以实现根据本发明的提供应用渠道包的方法的终端设备,例如应用终端设备。该终端设备传统上包括处理器410 和以存储器420形式的计算机程序产品或者计算机可读介质。存储器420可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器420具有用于执行上述方法中的任何方法步骤的程序代码431的存储空间430。例如,用于程序代码的存储空间430可以包括分别用于实现上面的方法中的各种步骤的各个程序代码431。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图7所述的便携式或者固定存储单元。该存储单元可以具有与图6的终端设备中的存储器420类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码431’,即可以由例如诸如410之类的处理器读取的代码,这些代码当由终端设备运行时,导致该终端设备执行上面所描述的方法中的各个步骤。For example, FIG. 6 illustrates a terminal device, such as an application terminal device, that can implement the method of providing an application channel package in accordance with the present invention. The terminal device conventionally includes a processor 410 And a computer program product or computer readable medium in the form of a memory 420. The memory 420 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM. Memory 420 has a memory space 430 for program code 431 for performing any of the method steps described above. For example, storage space 430 for program code may include various program code 431 for implementing various steps in the above methods, respectively. The program code can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG. The storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 420 in the terminal device of FIG. The program code can be compressed, for example, in an appropriate form. Typically, the storage unit comprises computer readable code 431', ie code that can be read by a processor, such as 410, which, when executed by the terminal device, causes the terminal device to perform each of the methods described above step.
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。"an embodiment," or "an embodiment," or "an embodiment," In addition, it is noted that the phrase "in one embodiment" is not necessarily referring to the same embodiment.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。 It is to be noted that the above-described embodiments are illustrative of the invention and are not intended to be limiting, and that the invention may be devised without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" does not exclude the presence of the elements or steps that are not recited in the claims. The word "a" or "an" The invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。 In addition, it should be noted that the language used in the specification has been selected for the purpose of readability and teaching, and is not intended to be construed or limited. Therefore, many modifications and changes will be apparent to those skilled in the art without departing from the scope of the invention. The disclosure of the present invention is intended to be illustrative, and not restrictive, and the scope of the invention is defined by the appended claims.

Claims (12)

  1. 一种提供应用渠道包的方法,其特征在于,包括:A method for providing an application channel package, comprising:
    获得应用安装包;Obtain an application installation package;
    判断所述应用安装包是否接入用于读取尾数据的软件开发工具包SDK;Determining whether the application installation package accesses a software development kit SDK for reading tail data;
    若是,则在接收到渠道方的下载请求时,获得根据所述应用安装包生成的与所述渠道方对应的应用渠道包,以供所述渠道方下载。If yes, when the download request of the channel party is received, the application channel package corresponding to the channel party generated according to the application installation package is obtained for the channel party to download.
  2. 根据权利要求1所述的方法,其特征在于,所述判断所述应用安装包是否接入用于读取尾数据的SDK,包括:The method according to claim 1, wherein the determining whether the application installation package accesses an SDK for reading tail data comprises:
    判断所述应用安装包的文件中是否记录有所述SDK的版本号;Determining whether the version number of the SDK is recorded in the file of the application installation package;
    若是,则确定所述应用安装包接入了所述SDK。If yes, it is determined that the application installation package is connected to the SDK.
  3. 根据权利要求1所述的方法,其特征在于,所述在接收到渠道方的下载请求时,获得根据所述应用安装包生成的与所述渠道方对应的应用渠道包,包括:The method of claim 1, wherein the obtaining an application channel package corresponding to the channel party generated according to the application installation package is obtained when the downloading request of the channel party is received, including:
    根据所述渠道方的下载请求获得所述渠道方的渠道信息;Obtaining channel information of the channel party according to the download request of the channel party;
    向服务器发送所述渠道信息;Sending the channel information to the server;
    接收所述服务器发送的根据所述渠道信息及所述应用安装包生成的应用渠道包。Receiving an application channel package generated by the server according to the channel information and the application installation package.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, wherein the method further comprises:
    接收所述服务器发送的根据所述渠道信息及所述应用安装包计算获得的所述应用渠道包的关联信息,所述关联信息包括以下至少一个:安装包长度、校验值、安装包名称、安装包对应的软件名称、安装包对应的软件的图片。Receiving, by the server, the association information of the application channel package calculated according to the channel information and the application installation package, where the association information includes at least one of the following: an installation package length, a check value, an installation package name, The software name corresponding to the installation package and the software corresponding to the installation package.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    接收所述渠道方发送的对所述应用渠道包的关联信息的请求;Receiving a request for the associated information of the application channel package sent by the channel party;
    向所述渠道方发送所述应用渠道包的关联信息。Sending the associated information of the application channel package to the channel party.
  6. 一种提供应用渠道包的装置,其特征在于,包括:An apparatus for providing an application channel package, comprising:
    安装包获取单元,用于获得应用安装包;An installation package obtaining unit for obtaining an application installation package;
    判定单元,用于判断所述应用安装包是否接入用于读取尾数据的软件开发工具包SDK;a determining unit, configured to determine whether the application installation package accesses a software development kit SDK for reading tail data;
    渠道包获取单元,用于当所述判定单元判定所述应用安装包接入 了SDK,并在接收到渠道方的下载请求时,获得根据所述应用安装包生成的与所述渠道方对应的应用渠道包,以供所述渠道方下载。a channel packet obtaining unit, configured to: when the determining unit determines that the application installation package is accessed The SDK, and when receiving the download request of the channel party, obtain an application channel package corresponding to the channel party generated according to the application installation package, for the channel party to download.
  7. 根据权利要求6所述的装置,其特征在于,The device of claim 6 wherein:
    所述判定单元,具体用于判断所述应用安装包的文件中是否记录有所述SDK的版本号;若是,则确定所述应用安装包接入了所述SDK。The determining unit is specifically configured to determine whether the version number of the SDK is recorded in the file of the application installation package; if yes, determine that the application installation package accesses the SDK.
  8. 根据权利要求6所述的装置,其特征在于,所述渠道包获取单元包括:The device according to claim 6, wherein the channel package obtaining unit comprises:
    信息获取子单元,用于根据所述渠道方的下载请求获得所述渠道方的渠道信息;An information obtaining subunit, configured to obtain channel information of the channel side according to the download request of the channel party;
    信息发送子单元,用于向服务器发送所述渠道信息;An information sending subunit, configured to send the channel information to a server;
    接收子单元,用于接收所述服务器发送的根据所述渠道信息及所述应用安装包生成的应用渠道包。The receiving subunit is configured to receive an application channel package generated by the server according to the channel information and the application installation package.
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括:The device according to claim 8, wherein the device further comprises:
    关联数据获取单元,用于接收所述服务器发送的根据所述渠道信息及所述应用安装包计算获得的所述应用渠道包的关联信息,所述关联信息包括以下至少一个:安装包长度、校验值、安装包名称、安装包对应的软件名称、安装包对应的软件的图片。The associated data obtaining unit is configured to receive, by the server, association information of the application channel package calculated according to the channel information and the application installation package, where the association information includes at least one of the following: an installation package length, a school The value of the test, the name of the installation package, the software name corresponding to the installation package, and the picture of the software corresponding to the installation package.
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括:The device according to claim 9, wherein the device further comprises:
    请求接收单元,用于接收所述渠道方发送的对所述应用渠道包的关联信息的请求;a request receiving unit, configured to receive a request for the associated information of the application channel package sent by the channel party;
    信息提供单元,用于向所述渠道方发送所述应用渠道包的关联信息。And an information providing unit, configured to send association information of the application channel package to the channel party.
  11. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在终端设备上运行时,导致所述终端设备执行根据权利要求1-5中的任一个所述的提供应用渠道包的方法。A computer program comprising computer readable code, when the computer readable code is run on a terminal device, causing the terminal device to perform the method of providing an application channel package according to any one of claims 1-5 .
  12. 一种计算机可读介质,其中存储了如权利要求11所述的计算机程序。 A computer readable medium storing the computer program of claim 11.
PCT/CN2015/093590 2014-12-09 2015-11-02 Method and device for providing application channel packet WO2016091034A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410751661.8A CN104503780B (en) 2014-12-09 2014-12-09 It is a kind of that method and apparatus that applying channel packet are provided
CN201410751661.8 2014-12-09

Publications (1)

Publication Number Publication Date
WO2016091034A1 true WO2016091034A1 (en) 2016-06-16

Family

ID=52945181

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093590 WO2016091034A1 (en) 2014-12-09 2015-11-02 Method and device for providing application channel packet

Country Status (2)

Country Link
CN (1) CN104503780B (en)
WO (1) WO2016091034A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145342A (en) * 2017-03-31 2017-09-08 腾讯科技(深圳)有限公司 The treating method and apparatus of the channel information of application
CN108196878A (en) * 2018-01-22 2018-06-22 广东小天才科技有限公司 Generation method, device, electronic equipment and the storage medium of application program installation kit
CN110830559A (en) * 2019-10-24 2020-02-21 北京城市网邻信息技术有限公司 Channel package automatic batch processing method, device, equipment and storage medium
CN111610984A (en) * 2020-05-09 2020-09-01 上海万间信息技术有限公司 Plug-in-based android application packaging and distributing method and system and application terminal
CN113535185A (en) * 2020-04-09 2021-10-22 北京沃东天骏信息技术有限公司 Sharing implementation method and device

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503780B (en) * 2014-12-09 2018-12-14 深圳市奇付通科技有限公司 It is a kind of that method and apparatus that applying channel packet are provided
CN104850444A (en) * 2015-05-29 2015-08-19 百度在线网络技术(北京)有限公司 Software installation package distribution method, software installation package distribution device, software installation method and software installation device
DE112016002120T5 (en) * 2015-09-02 2018-03-22 Google LLC (n.d.Ges.d. Staates Delaware) Development and sales platform for software
CN105608145B (en) * 2015-12-17 2019-05-24 北京奇虎科技有限公司 The method and device of download based on downloading channel statistics application software
CN108228246B (en) * 2016-12-14 2021-07-27 北京国双科技有限公司 Method and device for generating application installation package
CN107145373A (en) * 2017-05-10 2017-09-08 深圳市创世互动科技有限公司 A kind of method and device that Games Software is accessed to target channel SDK
CN109471738B (en) * 2018-10-16 2021-08-20 五八有限公司 Method for identifying application program downloading channel and related equipment
CN109766077B (en) * 2018-12-13 2022-05-17 桂林能创信息科技有限公司 Computer software personalization method based on promotion channel
CN110851170A (en) * 2019-09-29 2020-02-28 深圳市星河互动科技有限公司 Software multi-channel publishing method and related equipment
CN114253432B (en) * 2020-09-11 2023-09-08 腾讯科技(深圳)有限公司 Application channel package delivery method and system
CN113064822A (en) * 2021-03-29 2021-07-02 上海酷量信息技术有限公司 Application joint debugging method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019708A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Method and system for releasing software
CN103246997A (en) * 2013-05-23 2013-08-14 北京微云即趣科技有限公司 Transmission method and system of application store channel mark
CN103684800A (en) * 2012-09-20 2014-03-26 中国移动通信集团公司 Application installation system and method, and device
CN104503780A (en) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 Method and device for providing application channel packet

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4671332B2 (en) * 2005-03-10 2011-04-13 株式会社日立製作所 File server that converts user identification information
CN103577762B (en) * 2012-07-23 2017-02-01 北京掌汇天下科技有限公司 Channel marking system and method in Android application distribution system
CN103064666B (en) * 2012-11-30 2016-08-24 北京奇虎科技有限公司 One software distribution method by all kinds of means and system
CN103729186A (en) * 2013-12-31 2014-04-16 上海网达软件股份有限公司 Method for generating multi-channel apk file packages in batches
CN104090946B (en) * 2014-06-30 2018-05-15 广州华多网络科技有限公司 The method and device of information is added in application installation package
CN104077503A (en) * 2014-07-22 2014-10-01 百度在线网络技术(北京)有限公司 Processing method and device for APK (Android Package) files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103684800A (en) * 2012-09-20 2014-03-26 中国移动通信集团公司 Application installation system and method, and device
CN103019708A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Method and system for releasing software
CN103246997A (en) * 2013-05-23 2013-08-14 北京微云即趣科技有限公司 Transmission method and system of application store channel mark
CN104503780A (en) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 Method and device for providing application channel packet

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145342A (en) * 2017-03-31 2017-09-08 腾讯科技(深圳)有限公司 The treating method and apparatus of the channel information of application
CN107145342B (en) * 2017-03-31 2024-03-19 腾讯科技(深圳)有限公司 Method and device for processing channel information of application
CN108196878A (en) * 2018-01-22 2018-06-22 广东小天才科技有限公司 Generation method, device, electronic equipment and the storage medium of application program installation kit
CN108196878B (en) * 2018-01-22 2020-12-18 广东小天才科技有限公司 Method and device for generating application program installation package, electronic equipment and storage medium
CN110830559A (en) * 2019-10-24 2020-02-21 北京城市网邻信息技术有限公司 Channel package automatic batch processing method, device, equipment and storage medium
CN113535185A (en) * 2020-04-09 2021-10-22 北京沃东天骏信息技术有限公司 Sharing implementation method and device
CN111610984A (en) * 2020-05-09 2020-09-01 上海万间信息技术有限公司 Plug-in-based android application packaging and distributing method and system and application terminal
CN111610984B (en) * 2020-05-09 2023-10-27 上海万间信息技术有限公司 Android application packaging and distributing method and system based on plug-in and application terminal

Also Published As

Publication number Publication date
CN104503780A (en) 2015-04-08
CN104503780B (en) 2018-12-14

Similar Documents

Publication Publication Date Title
WO2016091034A1 (en) Method and device for providing application channel packet
JP6752969B2 (en) Methods, devices and servers for account login
KR20210120978A (en) Use of an on-demand application for generating virtual numbers for contactless cards for secure autofilling of forms
US9613156B2 (en) Cookie information sharing method and system
US11012496B2 (en) Mobile-optimized file transfer mechanism based on QR code
US20180253503A1 (en) Method, Apparatus and System for Preloading of APP Launch Advertising
EP3044936B1 (en) Method and apparatus of downloading and installing a client
US10223239B1 (en) Definition-driven test agent
US20140365342A1 (en) Resource provisioning for electronic books
US10973458B2 (en) Daily cognitive monitoring of early signs of hearing loss
CN106250770B (en) Electronic device and method for encrypting content
US20180268820A1 (en) Method and system for generating content using speech comment
US10146951B2 (en) Electronic device and method for providing DRM content by electronic device
CN103577516A (en) Method and device for displaying contents
US20140215220A1 (en) Application distribution system and method
CN110334542B (en) Network evidence preservation and network evidence preservation verification method and device
CN105684027A (en) House resource verifying method and system for real estate network
WO2016058478A1 (en) Data acquisition method, device and system
WO2016070690A1 (en) Method, device and system for realizing communication between application and webpage on terminal device
WO2016107343A1 (en) Detection method and device for application privacy security information
US20150302181A1 (en) Method and System for Simplified Recording to Discrete Media
US11631416B1 (en) Audio content validation via embedded inaudible sound signal
JP2017535089A (en) Interactive voice response system crawler
CN110287087B (en) Method and device for detecting application
US20140366092A1 (en) Data transmission method and mobile storage device using the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15866830

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15866830

Country of ref document: EP

Kind code of ref document: A1