CN107147750A - Upload, packing apparatus and service platform, download server and distribution method - Google Patents
Upload, packing apparatus and service platform, download server and distribution method Download PDFInfo
- Publication number
- CN107147750A CN107147750A CN201710605684.1A CN201710605684A CN107147750A CN 107147750 A CN107147750 A CN 107147750A CN 201710605684 A CN201710605684 A CN 201710605684A CN 107147750 A CN107147750 A CN 107147750A
- Authority
- CN
- China
- Prior art keywords
- software kit
- channel
- download address
- module
- download
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/566—Grouping or aggregating service requests, e.g. for unified processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0435—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0442—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present invention provides a kind of upload, packing apparatus and service platform, download server and distribution method, is related to mobile Internet field.Distribution method provided in an embodiment of the present invention, software kit deposit cloud storage is got after software kit download address, channel mark is spliced into software kit download address, just be can be transmitted to client after splicing by service platform.Compared to each channel will service platform upload a channel number and software kit, the embodiment of the present invention only needs each one software kit of software upload, time-consuming significantly to shorten.When user's operation client accesses channel bag download address, the access request of client is forwarded to download server by cloud storage, download server can will extract channel mark from channel bag download address, and reading software kit is issued to client from cloud storage in real time, and channel mark is delivered into client in the lump.So, it is possible to reduce the software kit quantity that service platform is uploaded, the file amount of storage of cloud storage is reduced.
Description
Technical field
The present invention relates to mobile Internet field, in particular to upload, packing apparatus and service platform, clothes are downloaded
Business device and distribution method.
Background technology
At present, game when distribution, it is necessary to which toward different channel marks are squeezed into game package, generation is with corresponding canal
The game package of road mark, is distributed popularization, is easy to the channel data statistics of game developer.At present, gaming platform is packed
Flow is, first from cloud storage download games source bag to packaged service device, then to squeeze into channel mark, each channel mark
One channel APMB package of correspondence, finally channel APMB package and game package, which are packed and uploaded to again on Ali's cloud, supplies under user
Carry.Time-consuming for this mode, and file download is uploaded and taken considerable time and network traffics, and for each playing each
It is required for generating a channel APMB package on channel, takes huge memory space.
As business increases, the quantity of game and channels (such as UC browsers, pea pods) all significantly rises, and swims
Service platform of playing needs the game package quantity packed to increase in geometry level, causes the handling capacity that gaming platform is packed to reach bottle
Neck, game package channel distribution efficiency declines increasingly, and the memory space that APMB package of at the same time playing takes also expands rapidly, safeguards
Cost is increased sharply.The packing scheme of going game platform can not meet growing business demand.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of upload, packing apparatus and service platform, downloads clothes
Business device and distribution method, upload time-consuming, memory space occupancy greatly, the problem of maintenance cost is high to improve.
The embodiment of the present invention provides a kind of upload device, and applied to service platform, the service platform leads to cloud storage
Letter connection, the service platform is pre-stored with software kit, and the upload device includes:Address acquisition module, for will be described soft
Part, which is wrapped, reaches the cloud storage, obtains software kit download address;Concatenation module, for by channel mark and the software kit
Download address is spliced, and obtains channel bag download address;Bag module is thrown, for the channel bag download address to be sent to client
End.
The embodiment of the present invention also provides a kind of packing apparatus, applied to download server, and the download server is deposited with cloud
Reservoir is communicated to connect, and the download server is stored with the channel bag download address forwarded by the cloud storage, the channel
Bag download address is spliced the channel obtained for the software kit download address received from the cloud storage with channel mark
Bag download address, the packing apparatus includes:Extraction module, is downloaded for obtaining software kit from the channel bag download address
Simultaneously extract channel mark in address;Read module, for reading software kit from cloud storage according to the software kit download address;
Module is provided, for the software kit and the channel mark to be delivered into the client.
The embodiment of the present invention also provides a kind of service platform, and the service platform is communicated to connect with cloud storage, the clothes
Business platform includes:Processor;Memory, the memory is pre-stored with software kit;And upload device;It is described upload device by with
It is set to and is stored in the memory, and including one or more functional modules by the computing device, the upload device
Including:Address acquisition module, for the software kit to be uploaded into the cloud storage, obtains software kit download address;Splicing
Module, for channel mark and the software kit download address to be spliced, obtains channel bag download address;Bag module is thrown, is used for
The channel bag download address is sent to client.
The embodiment of the present invention also provides a kind of download server, and the download server is communicated to connect with cloud storage, its
It is characterised by, the download server includes:Processor;Memory, is stored with the channel bag forwarded by the cloud storage
Set address, the channel bag download address is that the software kit download address received from the cloud storage is spelled with channel mark
The channel bag download address for connecing and obtaining;And packing apparatus;The packing apparatus is configured to store in the memory, and is wrapped
One or more functional modules by the computing device are included, the packing apparatus includes:Extraction module, for from the canal
Software kit download address is obtained in road bag download address and channel mark is extracted;Read module, for according under the software kit
Set address reads software kit from cloud storage;Module is provided, for the software kit and the channel mark to be delivered into institute
State client.
The embodiment of the present invention also provides a kind of distribution method, applied to the service platform being in communication with each other, download server and
Cloud storage, methods described includes:The cloud storage by the channel bag download address received from client be forwarded to it is described under
Server is carried, the channel bag download address is by the service platform in advance by the software kit download address and channel mark of acquisition
Spliced and obtained;The download server obtains software kit download address from the channel bag download address and extracts canal
Road is identified;The download server reads software kit according to the software kit download address from cloud storage, and will be described soft
Part bag and the channel mark are delivered to the client.
Compared with prior art, upload device and service platform provided in an embodiment of the present invention, by the way that software kit is stored in
Cloud storage is got after software kit download address, then channel mark is spliced into software kit download address, just can be by after splicing
Service platform is sent to client, without often corresponding to a channel mark, just uploads a software kit with channel mark and arrives
Cloud storage, it is time-consuming significantly to shorten, so that the distribution for the process for greatly improving the uploading speed of software kit and entirely distributing is fast
Degree, and take the space reduction of cloud storage.
Distribution method provided in an embodiment of the present invention, when user's operation client accesses channel bag download address, client
End sends download request to cloud storage, and the download request of client is forwarded to download server by cloud storage, it is described under
Carry and channel bag download address is carried in request, download server can will extract channel mark from the channel bag download address
Know, and the software kit download address in channel bag download address reads software kit from cloud storage and is issued to client,
Also the channel mark of extraction is delivered in client, the present invention program in the lump, without in advance by channel mark and software kit one
Play packing and upload to cloud storage service device, but dexterously to download channel mark splicing soft in client in download address
When part bag, channel mark is extracted from download address, channel mark and software kit are delivered to client, greatly reduced
The file amount of storage of cloud storage, reduces maintenance cost.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
Service platform, cloud storage, download server and the client that Fig. 1 provides for present pre-ferred embodiments are carried out
Interactive schematic diagram.
The applied environment figure for the service platform that Fig. 2 provides for first embodiment of the invention.
The block diagram for the service platform that Fig. 3 provides for first embodiment of the invention.
The high-level schematic functional block diagram for the upload device that Fig. 4 provides for first embodiment of the invention.
The applied environment figure for the download server that Fig. 5 provides for second embodiment of the invention.
The block diagram for the download server that Fig. 6 provides for second embodiment of the invention.
The high-level schematic functional block diagram for the packing apparatus that Fig. 7 provides for second embodiment of the invention.
The flow chart for the distribution method that Fig. 8 provides for third embodiment of the invention.
Icon:10- service platforms;11- first memories;The storage controls of 12- first;13- first processors;Under 20-
Carry server;21- second memories;The storage controls of 22- second;23- second processors;30- cloud storages;40- clients;
100- uploads device;101- address acquisition modules;102- concatenation modules;103- throws bag module;The encrypting modules of 104- first;200-
Packing apparatus;201- extraction modules;202- read modules;203- provides module;204- writing modules;205- second encrypts mould
Block.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist
The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause
This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Fig. 1 is refer to, is the service platform 10, cloud storage 30, download server 20 of present pre-ferred embodiments offer
And the schematic diagram that client 40 is interacted.The service platform 10 can provide packing, management, storage, the download of software kit
Deng service, such as game center game package service platform can be the trip game packing platform of love nine.The cloud storage 30 has number
According to the function of processing and storage, the cloud storage 30 is preferably Ali's cloud storage.The download server 20 is provided the user
Software kit is downloaded, and download server 20 may be, but not limited to, user-defined function (User-defined function, UDF)
Server.The client 40 may be, but not limited to, smart mobile phone, PC (personal computer, PC), put down
Plate computer etc..
Service platform 10 can upload to cloud storage 30 and store software kit, while download address can be obtained, by canal
Road mark is spelled into download address and issues client 40.The channel mark is the popularization canal that service platform 10 confirms software kit
Road, so as to service platform 10 and channel platform progress service computation, deduction etc., the unique identification mark formulated, the channel
Mark can be " 001 " " 002 ", " ABC " etc..Such as service platform 10 goes to promote a certain trip by Alipay and UC browsers
Play, service platform 10 has different channel marks from Alipay and UC browsers respectively, and Alipay and UC browsers are channel
Platform.
When user clicks on download address in client 40 and is downloaded, download request is forwarded to by cloud storage 30
Download server 20, the channel information that download server 20 can be in download address writes channel mark in game APMB package
Return to user.By the service platform 10, cloud storage 30 and download server 20 of the embodiment of the present invention, client can be achieved
When 40 download software kit, channel mark is write into software kit in real time and user is returned to.Wherein, the software kit is preferred
For game package, such as Android game package.
First embodiment
Fig. 2 is refer to, is the applied environment figure for the service platform 10 that first embodiment of the invention is provided.The service platform
10 are pre-stored with software kit and channel mark, and the software kit and channel mark can be by playing on developer or operation personnel
Pass.Software kit can be uploaded to cloud storage 30 by service platform 10, to facilitate user to download, while cloud storage 30 can be returned
One software kit download address, by software kit download address, can download the software kit.Service platform 10 is by under software kit
Set address and channel mark can be spliced, and obtain channel bag download address, then channel bag download address is thrown into bag to client
End 40.
Fig. 3 is refer to, is the block diagram for the service platform 10 that first embodiment of the invention is provided.The service platform 10 is wrapped
Include first memory 11, the first storage control 12, the Peripheral Interface of first processor 13 and first.Each element is straight each other
Connect or be electrically connected with indirectly, to realize the transmission or interaction of data.For example, these elements can pass through one or many each other
Bar communication bus or signal wire, which are realized, to be electrically connected with.Described upload device 100 can be with software or firmware including at least one
(firmware) form is stored in the first memory 11 or is solidificated in the operating system of the service platform 10
Software function module in (operating system, OS).The first processor 13 is used to perform in first memory 11
The executable module of storage, for example, software function module or computer program that described upload device 100 includes.
Various input/output devices are coupled to first processor 13 and first memory 11 by the first Peripheral Interface.
In some embodiments, the first Peripheral Interface, the storage control 12 of first processor 13 and first can be real in one single chip
It is existing.In some other example, they can be realized by independent chip respectively.
It refer to Fig. 4 and combine Fig. 2, the functional module for the upload device 100 that Fig. 4 provides for first embodiment of the invention is shown
It is intended to.The upload device 100 includes address acquisition module 101, concatenation module 102 and throws bag module 103.
The address acquisition module 101, for software kit to be uploaded into the cloud storage 30, and obtains software kit download
Address.Specifically, software kit and channel mark can be uploaded to the service platform 10 by developer or operation personnel, and it is stored in
First memory 11, when service platform 10 needs to carry out upload service, cloud storage 30 is uploaded to by software kit.Cloud storage
30 are stored software kit, and feed back a software kit download address, and deposit can be downloaded by this software kit download address
The software kit of cloud storage 30.
The concatenation module 102, for channel mark and the software kit download address to be spliced, obtains the download of channel bag
Address.Address acquisition module 101 is completed after address acquisition, can obtain software kit download address, and concatenation module 102 will be pre-stored
Channel mark and software kit download address splice obtaining channel bag download address, such as directly regard channel mark as parameter
Spell behind software kit download address.
For example, channel mark is " 001 ", software kit download address is:
http://dowali.9game.cn/s/6/6/201607121706439e1a18_20160712170555.apk X-oss-process=udf/uc-apk;
Then channel bag download address is:
http://dowali.9game.cn/s/6/6/201607121706439e1a18_20160712170555.apk X-oss-process=udf/uc-apk, 001。
The upload device 100 can also include the first encrypting module 104, described to be used to encrypt the channel mark,
Obtain the first encryption channel mark.The cipher mode that can be used is at least one in RC4 and MD5.Wherein, RC4 is a kind of
The variable stream cipher algorithm of key length, MD5 is a kind of widely used hash function of computer safety field, is disappeared to provide
The integrity protection of breath.
First encryption channel mark can be " AC7DjEob82a5c4169943242e ".Concatenation module 102 can be by
One encryption channel mark is spliced with software kit download address, and the channel bag download address now obtained is:
http://dowali.9game.cn/s/6/6/201607121706439e1a18_20160712170555.apk X-oss-process=udf/uc-apk, AC7DjEob82a5c4169943242e。
The throwing bag module 103, for the channel bag download address to be sent to client 40.Specifically, described spell
The splicing of connection module 102 is obtained after channel bag download address, can be sent directly to client 40;Can also be by first sending to canal
Road platform (such as UC browsers, Alipay, Taobao's client 40), by the popularization (as delivered advertisement) of channel platform, is provided
To client 40.Work is issued in this way, uploading device 100 and completing the uploading operation and channel bag download address of software kit.
Compared to prior art, the service platform 10 of first embodiment of the invention is eliminated downloads and squeezes into canal to software kit
The step of then Taoist monastic name uploads again, need to only spell channel mark just can throw bag into download address, time-consuming significantly to shorten, and reach second level
Not, so as to greatly improve the distribution speed of software kit.
Second embodiment
Fig. 5 is refer to, is the applied environment figure for the download server 20 that second embodiment of the invention is provided.The client
40 receive after the channel bag download address from service platform 10 or the transmission of channel platform, when user needs to download the software
When, by clicking on channel bag download address on the display of client 40, client 40 can send to cloud storage 30 and download
Request, download request includes channel bag download address.The download request can be transmitted to download server by cloud storage 30
20, download server 20 can receive channel bag download address.
Download server 20 can be decomposed channel bag download address, obtain channel mark and software kit downloads ground
Location.Download server 20 reads software kit from cloud storage 30 and is sent to client 40 in real time, and also by channel mark
Write-in software kit is sent to client 40 in the lump, and client 40 can obtain the software kit with channel mark.
Fig. 6 is refer to, is the block diagram for the download server 20 that second embodiment of the invention is provided.The download server
20 include second memory 21, the second storage control 22, the Peripheral Interface of second processor 23 and second.Each element mutually it
Between be directly or indirectly electrically connected with, to realize the transmission or interaction of data.For example, these elements can pass through one each other
Or a plurality of communication bus or signal wire are realized and are electrically connected with.Described packing apparatus 200 includes at least one can be with software or solid
The form of part (firmware) is stored in the second memory 21 or is solidificated in the operating system of the download server 20
Software function module in (operating system, OS).The second processor 23 is used to perform in second memory 21
The executable module of storage, for example, software function module or computer program that described packing apparatus 200 includes.
The first memory 11 and the second memory 21 may be, but not limited to, random access memory
(Random Access Memory, RAM), read-only storage (Read Only Memory, ROM), programmable read only memory
(Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable
Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable
Read-Only Memory, EEPROM) etc..Wherein, first memory 11 and the second memory 21 are used equally for storing journey
Sequence, the first processor 13 and second processor 23, can be with configuration processors, the embodiment of the present invention after execute instruction is received
Method performed by the computer of the flow definition of announcement can apply in first processor 13 and second processor 23.
First processor 13 and second processor 23 are probably a kind of IC chip, the disposal ability with signal.
First processor 13 and second processor 23 can be general processors, including central processing unit (Central Processing
Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other PLDs, discrete gate
Or transistor logic, discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention,
Step and logic diagram.
Various input/output devices are coupled to second processor 23 and second memory 21 by the second Peripheral Interface.
In some embodiments, the second Peripheral Interface, the storage control 22 of second processor 23 and second can be real in one single chip
It is existing.In some other example, they can be realized by independent chip respectively.
It refer to Fig. 7 and combine Fig. 5, Fig. 7 is that the functional module for the packing apparatus 200 that second embodiment of the invention is provided is shown
It is intended to.The packing apparatus 200 includes extraction module 201, read module 202 and provides module 203.
The extraction module 201, for obtaining software kit download address from the channel bag download address and extracting canal
Road is identified.
Specifically, when user needs to download software to client 40, by clicking on the channel shown in client 40
Bag download address, client 40 will send download request to cloud storage 30, and the download request includes, but are not limited to channel bag
Download address.Cloud storage 30 is received after download request, and channel bag download address is forwarded into the download server 20.Carry
Modulus block 201 can be extracted the channel mark in channel bag download address, obtain software kit download address and channel mark.
If the channel mark is the first encryption channel mark, download server 20 can also encrypt channel mark by first
Knowledge is decrypted, and obtains channel mark.
The read module 202, for reading software kit from cloud storage 30 according to the software kit download address.
Module 203 is provided, for the software kit and the channel mark to be delivered into the client 40.Due to reading
Module 202 can read software kit according to software kit download address from cloud storage 30, and providing module 203 can be by the soft of reading
Part bag is delivered to client 40 in real time, during granting, and channel mark is write into software kit, client is delivered in the lump
40。
In the present embodiment, the packing apparatus 200 also includes the second encrypting module 205 and writing module 204.
The channel mark that second encrypting module 205 is used to extract the channel module is encrypted, and obtains
To the second encryption channel mark.In this way, can prevent from distorting.It is preferred that, the cipher mode of second encrypting module 205 is logical
Advanced Encryption Standard (Advanced Encryption Standard, AES) algorithm is crossed to encrypt channel mark.
Said write module 204 is used to write the channel mark in the software kit, the present embodiment, writing module
Second encryption channel mark is write software kit by 204.In the present embodiment, when read module 202 reads software kit and by providing
When module 203 is delivered to client 40 in real time, download server 20 can calculate the position for having read software kit, if read module
During 202 reading software kit to location of annotated information, the second encryption channel mark write-in software kit is provided module 203 by writing module 204
The data for the software kit that continuation will be sent continue to send to client 40, and client 40 obtains soft with channel mark
Part bag.Wherein, the location of annotated information can be software kit from the optional position for reading granting, it is preferred that when software kit is APK
During (Android Package) file, when read module 202 is read to the comment of file, writing module 204 adds second
Close channel mark writes software kit.
The download server 20 provided by second embodiment of the invention, it is possible to achieve client 40 sends download request
Afterwards, download server 20 writes channel mark when downloading, and by repeatedly testing, under the software kit and traditional approach of download
The software kit of load is consistent, and without influence on user's speed of download, compared to the packing scheme of prior art, the cloud of the present embodiment is deposited
Reservoir 30 need to store game source APMB package, and file amount of storage declines to a great extent.
3rd embodiment
Fig. 8 is refer to, is the flow chart for the distribution method that third embodiment of the invention is provided.The distribution method of the present embodiment
Applied to the service platform 10 being in communication with each other, download server 20 and cloud storage 30.The distribution method includes:
Software kit is uploaded to the cloud storage 30 by step S101, service platform 10, and obtains software kit download address.
Software kit can pre-deposit service platform 10 by developer or operation personnel, and developer or operation personnel may be used also
So that channel mark is pre-deposited into service platform 10, the software kit and channel mark can be stored in first memory 11.
When service platform 10 needs to carry out upload service, software kit is uploaded to cloud storage 30, cloud storage 30 enters software kit
Row storage, and feed back a software kit download address.
It is described to be performed in step S101 by address acquisition module 101 in the embodiment of the present invention.
Step S102, service platform 10 splices channel mark and the software kit download address, obtains the download of channel bag
Address.
The concatenation module 102 of service platform 10 is spliced pre-stored channel mark with software kit download address
Channel bag download address.Such as, directly spelled channel mark as parameter behind software kit download address.For example, channel mark
For " 001 ", software kit download address is:
http://dowali.9game.cn/s/6/6/201607121706439e1a18_20160712170555.apk X-oss-process=udf/uc-apk;Then channel bag download address is:
http://dowali.9game.cn/s/6/6/201607121706439e1a18_20160712170555.apk X-oss-process=udf/uc-apk, 001。
It is described to be performed in step S102 by concatenation module 102 in the embodiment of the present invention.
It can also include before step S102:Service platform 10 encrypts pre-stored channel mark, obtains first and adds
Close channel mark.For example, the first encryption channel mark can be " AC7DjEob82a5c4169943242e ".Now pass through step
S102 splices obtained channel bag download address:
http://dowali.9game.cn/s/6/6/201607121706439e1a18_20160712170555.apk X-oss-process=udf/uc-apk, AC7DjEob82a5c4169943242e。
Step S103, service platform 10 sends the channel bag download address to the client 40.
Service platform 10 directly can send channel bag download address to client 40, can also be by first sending to canal
Road platform (such as UC browsers, Alipay, Taobao's client), visitor is delivered to by the popularization (as delivered advertisement) of channel platform
Family end 40.
It is described to be performed in step S103 by throwing bag module 103 in the embodiment of the present invention.
Step S104, client 40 sends channel bag download address to cloud storage 30.When user is in client 40
Click on after the channel bag download address, client 40 can send download request to cloud storage 30, described to include channel bag
Download address.
Channel bag download address is forwarded to download server 20 by step S105, cloud storage 30.Cloud storage 30 is received
After the download request sent to client 40, this download request is transmitted to download server 20, download service by cloud storage 30
Device 20 just receives the channel bag download address of the transmission of cloud storage 30.
Step S106, download server 20 obtains software kit download address from the channel bag download address and extracts canal
Road is identified.
The channel bag download address of reception can be carried out decomposition extraction by download server 20, obtain channel mark and software
Bag download address.If the channel mark is the first encryption channel mark, download server 20 can also encrypt canal by first
Road mark is decrypted, and obtains channel mark.
In the embodiment of the present invention, the step S106 can be performed by extraction module 201.
Step S107, download server 20 reads software kit from cloud storage 30, and software kit and channel mark are sent out
Put to the client 40.
Download server 20 according to software kit download address from cloud storage 30 can read software by read module 202
Bag, is delivered to client 40, during granting, by channel mark in real time by providing module 203 by the software kit of reading
Software kit is write, client 40 is delivered in the lump.
In the embodiment of the present invention, the step S107 can be by read module 202, granting module 203 and writing module 204
It is common to perform.
In step s 107, step can also be included:The channel mark that the channel module is extracted is added
It is close, obtain the second encryption channel mark.
Specifically, when read module 202 reads software kit and is delivered to client 40 in real time by providing module 203,
Download server 20 can calculate the position for having read software kit, if read module 202 reads software kit to location of annotated information, write
Enter module 204 by the second encryption channel mark write-in software kit, granting module 203 continues the number for the software kit that will be sent
According to transmission is continued to client 40, client 40 obtains the software kit with channel mark, can by this software kit client 40
To install corresponding software, and client 40 also carries channel mark, the canal that service platform 10 can be according to client 40
Road is identified, and confirms the corresponding channel platform of channel bag download address that client 40 is obtained.
In summary, upload provided in an embodiment of the present invention, packing apparatus and service platform, download server and distributor
Method, software kit deposit cloud storage is got after software kit download address, channel mark is spliced to soft by service platform
Part bag download address, client just can be sent to by service platform or client is sent to by channel platform after splicing, or logical
Cross channel platform and be sent to client.Will service platform one channel number of upload and software kit, this hair compared to each channel
Bright embodiment only needs to each one software kit of software upload, time-consuming significantly to shorten, so as to greatly improve software whole
The upload of individual process, distribution speed.When user's operation client accesses channel bag download address, cloud storage is by the access of client
Request is forwarded to download server, and download server can will extract channel mark from the channel bag download address, and in real time
Software kit is read from cloud storage and is issued to client, when reading to mark solution position, by the channel mark of extraction
Client is delivered in the lump, and does not influence the speed of download of user.So, it is possible to reduce the quantity that service platform is uploaded, subtract
Few network traffics, are also greatly reduced the file amount of storage of cloud storage, reduce maintenance cost.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through
Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing
Show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code
Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more
Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from
The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes
It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart
The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action
Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need
Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with
Another entity or operation make a distinction, and not necessarily require or imply between these entities or operation there is any this reality
The relation or order on border.Moreover, term " comprising ", "comprising" or its any other variant are intended to the bag of nonexcludability
Contain, so that process, method, article or equipment including a series of key elements are not only including those key elements, but also including
Other key elements being not expressly set out, or also include for this process, method, article or the intrinsic key element of equipment.
In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element
Process, method, article or equipment in also there is other identical element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists
Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing
It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (10)
1. one kind uploads device, applied to service platform, the service platform is communicated to connect with cloud storage, it is characterised in that
The service platform is pre-stored with software kit, and the upload device includes:
Address acquisition module, for the software kit to be uploaded into the cloud storage, obtains software kit download address;
Concatenation module, for channel mark and the software kit download address to be spliced, obtains channel bag download address;
Bag module is thrown, for the channel bag download address to be sent to client.
2. upload device according to claim 1, it is characterised in that also including the first encrypting module, first encryption
Module is used to encrypt the channel mark, obtains the first encryption channel mark;
The concatenation module is specifically for the described first encryption channel mark is spliced with the software kit download address.
3. a kind of packing apparatus, applied to download server, the download server is communicated to connect with cloud storage, and its feature exists
It is stored with the channel bag download address forwarded by the cloud storage, the channel bag download address in, the download server
Spliced the channel bag download address obtained for the software kit download address and channel mark that are received from the cloud storage,
The packing apparatus includes:
Extraction module, for obtaining software kit download address from the channel bag download address and extracting channel mark;
Read module, for reading software kit from cloud storage according to the software kit download address;
Module is provided, for the software kit and the channel mark to be delivered into client.
4. packing apparatus according to claim 3, it is characterised in that also including writing module, said write module is used for
The channel mark is write into the software kit.
5. packing apparatus according to claim 4, it is characterised in that also including the second encrypting module, second encryption
The channel mark that module is used to extract the channel module is encrypted, and obtains the second encryption channel mark, described
It is the described second encryption channel mark that writing module, which is written to the channel mark in software kit,.
6. a kind of service platform, the service platform is communicated to connect with cloud storage, it is characterised in that the service platform bag
Include:
Processor;
Memory, the memory is pre-stored with software kit;And
Upload device;
The upload device is configured to store in the memory, and including one or more work(by the computing device
Energy module, the upload device includes:
Address acquisition module, for the software kit to be uploaded into the cloud storage, obtains software kit download address;
Concatenation module, for channel mark and the software kit download address to be spliced, obtains channel bag download address;
Bag module is thrown, for the channel bag download address to be sent to client.
7. a kind of download server, the download server is communicated to connect with cloud storage, it is characterised in that the download service
Device includes:
Processor;
Memory, be stored with the channel bag download address forwarded by the cloud storage, and the channel bag download address is from institute
State the channel bag download address that the software kit download address of cloud storage reception is spliced and obtained with channel mark;And
Packing apparatus;
The packing apparatus is configured to store in the memory, and including one or more work(by the computing device
Energy module, the packing apparatus includes:
Extraction module, for obtaining software kit download address from the channel bag download address and extracting channel mark;
Read module, for reading software kit from cloud storage according to the software kit download address;
Module is provided, for the software kit and the channel mark to be delivered into client.
8. a kind of distribution method, applied to the service platform being in communication with each other, download server and cloud storage, it is characterised in that
Methods described includes:
The channel bag download address received from client is forwarded to the download server, the channel bag by the cloud storage
The software kit download address of acquisition is spliced by the service platform and obtained by download address with channel mark in advance;
The download server obtains software kit download address from the channel bag download address and extracts channel mark;
The download server reads software kit according to the software kit download address from the cloud storage, by the software
Bag and the channel mark are delivered to the client.
9. distribution method according to claim 8, it is characterised in that the canal that will be received in the cloud storage from client
Also include before the step of road bag download address is forwarded to the download server:
Software kit is uploaded to the cloud storage by the service platform, and obtains software kit download address;
The service platform splices channel mark and the software kit download address, obtains channel bag download address;
The service platform sends the channel bag download address to the client.
10. distribution method according to claim 8, it is characterised in that methods described also includes:The download server from
The software kit is read in the cloud storage, the channel mark software kit is write into, and be delivered to the visitor in real time
Family end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710605684.1A CN107147750A (en) | 2017-07-21 | 2017-07-21 | Upload, packing apparatus and service platform, download server and distribution method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710605684.1A CN107147750A (en) | 2017-07-21 | 2017-07-21 | Upload, packing apparatus and service platform, download server and distribution method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107147750A true CN107147750A (en) | 2017-09-08 |
Family
ID=59776608
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710605684.1A Pending CN107147750A (en) | 2017-07-21 | 2017-07-21 | Upload, packing apparatus and service platform, download server and distribution method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107147750A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107786644A (en) * | 2017-10-11 | 2018-03-09 | 五八有限公司 | Method for down loading, device and the equipment of channel bag |
CN107844518A (en) * | 2017-09-30 | 2018-03-27 | 链家网(北京)科技有限公司 | Assess the method for specifying APP downloads, data server, packing platform and system |
CN109257428A (en) * | 2018-09-27 | 2019-01-22 | 火烈鸟网络(广州)股份有限公司 | Using the distribution method of packet, device, storage medium and equipment |
CN110620827A (en) * | 2019-10-29 | 2019-12-27 | 广州趣丸网络科技有限公司 | Fragment packaging method, host, system and equipment on Android cloud |
CN111488600A (en) * | 2020-04-09 | 2020-08-04 | 南京维沃软件技术有限公司 | Resource processing method, electronic equipment and server |
CN111596931A (en) * | 2020-05-27 | 2020-08-28 | 北京学之途网络科技有限公司 | Application program packaging method and device, electronic equipment and readable storage medium |
CN113709569A (en) * | 2020-06-19 | 2021-11-26 | 天翼智慧家庭科技有限公司 | Method and system for batch automatic upgrading of multiple application clients in set top box |
CN114253432A (en) * | 2020-09-11 | 2022-03-29 | 腾讯科技(深圳)有限公司 | Application channel package delivery method and system |
CN115412589A (en) * | 2022-07-12 | 2022-11-29 | 湖南于一科技有限公司 | Method for realizing upgrading in application without service end based on appointed mode |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104333599A (en) * | 2014-11-06 | 2015-02-04 | 北京奇虎科技有限公司 | Application sharing method and system and application service platform |
CN104966211A (en) * | 2015-06-04 | 2015-10-07 | 广州优蜜移动科技股份有限公司 | Method and system for automatically identifying channel relationship |
CN105608145A (en) * | 2015-12-17 | 2016-05-25 | 北京奇虎科技有限公司 | Method and device for carrying out statistics on downloading amount of application software on the basis of downloading channel |
CN105718276A (en) * | 2014-12-02 | 2016-06-29 | 北京奇虎科技有限公司 | Method and device for providing APK download and NGINX server |
CN106658200A (en) * | 2016-12-30 | 2017-05-10 | 乐蜜科技有限公司 | Live video sharing and obtaining methods and devices, and terminal equipment thereof |
-
2017
- 2017-07-21 CN CN201710605684.1A patent/CN107147750A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104333599A (en) * | 2014-11-06 | 2015-02-04 | 北京奇虎科技有限公司 | Application sharing method and system and application service platform |
CN105718276A (en) * | 2014-12-02 | 2016-06-29 | 北京奇虎科技有限公司 | Method and device for providing APK download and NGINX server |
CN104966211A (en) * | 2015-06-04 | 2015-10-07 | 广州优蜜移动科技股份有限公司 | Method and system for automatically identifying channel relationship |
CN105608145A (en) * | 2015-12-17 | 2016-05-25 | 北京奇虎科技有限公司 | Method and device for carrying out statistics on downloading amount of application software on the basis of downloading channel |
CN106658200A (en) * | 2016-12-30 | 2017-05-10 | 乐蜜科技有限公司 | Live video sharing and obtaining methods and devices, and terminal equipment thereof |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107844518A (en) * | 2017-09-30 | 2018-03-27 | 链家网(北京)科技有限公司 | Assess the method for specifying APP downloads, data server, packing platform and system |
CN107786644B (en) * | 2017-10-11 | 2021-02-02 | 五八有限公司 | Channel package downloading method, device and equipment |
CN107786644A (en) * | 2017-10-11 | 2018-03-09 | 五八有限公司 | Method for down loading, device and the equipment of channel bag |
CN109257428A (en) * | 2018-09-27 | 2019-01-22 | 火烈鸟网络(广州)股份有限公司 | Using the distribution method of packet, device, storage medium and equipment |
CN110620827A (en) * | 2019-10-29 | 2019-12-27 | 广州趣丸网络科技有限公司 | Fragment packaging method, host, system and equipment on Android cloud |
CN110620827B (en) * | 2019-10-29 | 2022-02-25 | 广州趣丸网络科技有限公司 | Fragment packaging method, host, system and equipment on Android cloud |
CN111488600A (en) * | 2020-04-09 | 2020-08-04 | 南京维沃软件技术有限公司 | Resource processing method, electronic equipment and server |
CN111488600B (en) * | 2020-04-09 | 2023-03-21 | 南京维沃软件技术有限公司 | Resource processing method, electronic equipment and server |
CN111596931A (en) * | 2020-05-27 | 2020-08-28 | 北京学之途网络科技有限公司 | Application program packaging method and device, electronic equipment and readable storage medium |
CN113709569A (en) * | 2020-06-19 | 2021-11-26 | 天翼智慧家庭科技有限公司 | Method and system for batch automatic upgrading of multiple application clients in set top box |
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 |
CN115412589A (en) * | 2022-07-12 | 2022-11-29 | 湖南于一科技有限公司 | Method for realizing upgrading in application without service end based on appointed mode |
CN115412589B (en) * | 2022-07-12 | 2023-10-31 | 湖南于一科技有限公司 | Method for realizing upgrading in service-free end application based on appointed mode |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107147750A (en) | Upload, packing apparatus and service platform, download server and distribution method | |
US10367790B2 (en) | Efficient sensor data delivery | |
CN108734028B (en) | Data management method based on block chain, block chain link point and storage medium | |
US20170053138A1 (en) | Decentralized Token Table Generation | |
ES2917200T3 (en) | Verification of data processes in a network of computing resources | |
CN104966211A (en) | Method and system for automatically identifying channel relationship | |
KR101434860B1 (en) | Method for Verifying Integrity of Dynamic Code Using Hash | |
CN109417482A (en) | For verifying the method and system of identity attribute information | |
CN104503745B (en) | A kind of method and apparatus generated using channel packet | |
CN105162760B (en) | Randomly select method, apparatus and system | |
CN104040552B (en) | Safely distribute method, processor, computing device and the system for safely storing and performing application of software | |
CN104246784B (en) | For protecting the method, apparatus and system with safely transmission media content | |
CN110427779A (en) | A kind of the Encrypt and Decrypt method and data server of database table field | |
CN103136678A (en) | Identification method and device of intelligent terminal, processing method and device of identification information and identification system | |
CN101578608B (en) | Methods and apparatuses for accessing content based on a session ticket | |
CN104767761B (en) | A kind of cloud storage platform access control method and device | |
CN110022558A (en) | The encryption and decryption method and electronic device and storage medium of a kind of upgrade package | |
CN105407088A (en) | Game shelf hitting method and device | |
CN113127915A (en) | Data encryption desensitization method and device, electronic equipment and storage medium | |
CN108415707A (en) | A kind of method, apparatus and electronic equipment for realizing page personalization | |
CN113364753A (en) | Anti-crawler method and device, electronic equipment and computer readable storage medium | |
CN108055585A (en) | Data processing method, set top box upgrading method, terminal and set-top box | |
CN111339201A (en) | Evaluation method and system based on block chain | |
CN110135542B (en) | The method, apparatus and system of user's interactive mode Internet of Things verifying based on RF tag | |
CN105404470B (en) | Date storage method and safety device, data-storage system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170908 |
|
RJ01 | Rejection of invention patent application after publication |