CN107395705A - APP method for down loading and gateway device - Google Patents

APP method for down loading and gateway device Download PDF

Info

Publication number
CN107395705A
CN107395705A CN201710570890.3A CN201710570890A CN107395705A CN 107395705 A CN107395705 A CN 107395705A CN 201710570890 A CN201710570890 A CN 201710570890A CN 107395705 A CN107395705 A CN 107395705A
Authority
CN
China
Prior art keywords
app
files
gateway device
http message
app files
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710570890.3A
Other languages
Chinese (zh)
Other versions
CN107395705B (en
Inventor
李超
吴飞
符庆秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201710570890.3A priority Critical patent/CN107395705B/en
Publication of CN107395705A publication Critical patent/CN107395705A/en
Application granted granted Critical
Publication of CN107395705B publication Critical patent/CN107395705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/30Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information
    • H04L63/304Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information intercepting circuit switched data communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of APP method for down loading and gateway device, and methods described is applied to APP service systems, and APP service systems include being in communication with each other the terminal device of connection, gateway device and using shop server.Methods described includes:Terminal device initiates APP download requests to application shop server.HTTP message and APP files are issued according to APP download requests using shop server, wherein, APP files include the APP files of at least one different editions.Gateway device is handled HTTP message and APP files according to default APP cache policies, and selection target version APP files are cached.Terminal device downloads target version APP files from gateway device, to complete APP downloads.Thereby, it is possible to the APP that optionally cache user needs, avoid disk from overflowing, reduce bandwidth consumption, there is preferable Consumer's Experience.

Description

APP method for down loading and gateway device
Technical field
The present invention relates to resource downloading technical field, in particular to a kind of APP method for down loading and gateway device.
Background technology
At present, apple APP can not be directly downloaded by http, it is necessary to the app for passing through Apple Inc. by development platform Store issues the APP.Apple terminal device downloads APP firstly the need of certification and purchasing contract, when certification by after can just obtain APP download address.Also, after same APP uploads to app store, development platform can be according to the hardware version of terminal device This compiles out the APP versions of more than 10 with software version.Apple APP's downloads APP certainty using user by corporate intranet The outlet bandwidth of corporate intranet can be largely taken, and speed of download is slow, Consumer's Experience is poor, is also unfavorable for APP popularization.
In the prior art, some equipment vendors propose a solution, according to apple APP download link address Feature, all apple APP by egress gateways equipment to the Internet download are cached to egress gateways equipment simultaneously.But the party Case still suffers from some problems, egress gateways equipment can not APP that accurately cache user needs, also, due on internet APP applications are very more, can consume the disk space of egress gateways equipment quickly, it is necessary to periodic cleaning, however it remains repeatedly from mutual APP is downloaded in networking and consumes the situation of bandwidth, can not be tackled the problem at its root.
The content of the invention
In order to overcome above-mentioned deficiency of the prior art, the present invention provides a kind of APP method for down loading and gateway device, its energy The APP that enough optionally cache users need, avoids disk from overflowing, and reduces bandwidth consumption, has preferable Consumer's Experience.
The first object of the present invention is to provide a kind of APP method for down loading, applied to APP service systems, the APP services System includes being in communication with each other the terminal device of connection, gateway device and included using shop server, methods described:
The terminal device initiates APP download requests to the application shop server;
The application shop server issues HTTP message and APP files according to the APP download requests, wherein, it is described APP files include the APP files of at least one different editions;
The gateway device is handled the HTTP message and APP files according to default APP cache policies, selects mesh Mark version APP files are cached;
The terminal device downloads the target version APP files from the gateway device, to complete APP downloads.
The second object of the present invention is to provide a kind of APP method for down loading, taken applied to terminal device and application shop The gateway device of business device communication connection, methods described include:
When the APP download requests that the terminal device initiation is received using shop server, and according to the APP When download request issues HTTP message and APP files, the gateway device is according to default APP cache policies to the HTTP message And APP files are handled, selection target version APP files are cached, wherein, the APP files include it is at least one not With the APP files of version;
The target version APP files of caching are sent to the terminal device by the gateway device, so that the end End equipment is completed APP and downloaded.
The third object of the present invention is to provide a kind of gateway device, the gateway device respectively with terminal device and application Shop server communicates to connect, and the gateway device includes:
Cache module is handled, the APP download requests that the terminal device initiates are received using shop server when described, And when issuing HTTP message and APP files according to the APP download requests, for the default APP cache policies of basis to described HTTP message and APP files are handled, and selection target version APP files are cached, wherein, the APP files are included extremely The APP files of few different editions;
Sending module, for the target version APP files of caching to be sent into the terminal device, so that the end End equipment is installed according to the target version APP files to APP.
In terms of existing technologies, the invention has the advantages that:
The present invention provides a kind of APP method for down loading and gateway device, methods described are applied to APP service systems, the APP Service system includes being in communication with each other the terminal device of connection, gateway device and included using shop server, methods described:It is described Terminal device initiates APP download requests to the application shop server.The application shop server is downloaded according to the APP Request issues HTTP message and APP files, wherein, the APP files include the APP files of at least one different editions.It is described Gateway device is handled the HTTP message and APP files according to default APP cache policies, selection target version APP texts Part is cached.The terminal device downloads the target version APP files from the gateway device, to complete APP downloads.By This, can optionally cache user need APP, avoid disk from overflowing, reduce bandwidth consumption, there is preferable user's body Test.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be 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.
Fig. 1 is the block diagram for the APP service systems that present pre-ferred embodiments provide.
Fig. 2 is one of step flow chart of APP method for down loading that first embodiment of the invention provides.
Fig. 3 is the sub-step flow chart of the step S140 shown in Fig. 2 that first embodiment of the invention provides.
Fig. 4 is the sub-step flow chart of the sub-step S142 shown in Fig. 3 that first embodiment of the invention provides.
Fig. 5 is the two of the step flow chart for the APP method for down loading that first embodiment of the invention provides.
Fig. 6 is one of step flow chart of APP method for down loading that second embodiment of the invention provides.
Fig. 7 is the two of the step flow chart for the APP method for down loading that second embodiment of the invention provides.
Fig. 8 is the functional block diagram for the gateway device that third embodiment of the invention provides.
Fig. 9 is the sub-function module figure for the processing cache module that third embodiment of the invention provides.
Icon:10-APP service systems;100- gateway devices;110- handles cache module;111- intercepts submodule;112- Analysis identification submodule;113- cache sub-modules;120- sending modules;200- terminal devices;300- application shop servers; 400- development platforms.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Generally herein The component of the embodiment of the present invention described and illustrated in place's accompanying drawing can be configured to arrange and design with a variety of.Therefore, The detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit the model of claimed invention below Enclose, but be merely representative of the selected embodiment of the present invention.Based on the embodiment in the present invention, those of ordinary skill in the art are not having There is the every other embodiment made and obtained under the premise of creative work, belong 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, then it further need not be defined and explained in subsequent accompanying drawing in individual accompanying drawing.In addition, term " the One ", " second " etc. is only used for distinguishing description, and it is not intended that instruction or hint relative importance.
Fig. 1 is refer to, Fig. 1 is the block diagram for the APP service systems 10 that present pre-ferred embodiments provide.It is described APP service systems 10 include gateway device 100, terminal device 200, using shop server 300 and development platform 400.
In the present embodiment, the gateway device 100 communicates with terminal device 200 and using shop server 300 respectively Connection, the gateway device 100 are used to carry out selective caching to the APP that user needs, can accelerate speed of download, reduce bandwidth Consumption.
In the present embodiment, the gateway device 100 may be, but not limited to, NAS (Network Attached Storage, network attached storage) equipment.NAS is to be connected to the equipment for possessing data storage function on network, also referred to as " net Network memory ".NAS is defined as a kind of special exclusive data storage server, including memory device (such as disk array, CD/DVD drivers, tape drive or moveable storage medium) and embedded systems software, it is possible to provide cross-platform file-sharing Function.NAS can support various protocols (such as NFS, CIFS, FTP, HTTP) in itself, and can support various operating systems. By any work station, directly perceived, convenient management is carried out to NAS device using IE or netscape browser can. Wherein, this programme preferably uses ISG equipment, and ISG (internet secure gateway internet securities gateway) is that NAS is set One kind in standby.
In the present embodiment, the terminal device 200 using shop server 300 with communicating to connect, the terminal device 200 may be, but not limited to, PC, smart mobile phone, tablet personal computer, portable computing device etc..
In the present embodiment, the application shop server 300 communicates to connect with the development platform 400, the exploitation The APP of exploitation is distributed to the application shop server 300 by platform 400, with by showing use using shop server 300 Family.
First embodiment
Fig. 2 is refer to, Fig. 2 is one of step flow chart of APP method for down loading that first embodiment of the invention provides.It is described Method is applied to APP service systems 10, and terminal device 200, the gateway that the APP service systems 10 include being in communication with each other connection are set For 100 and apply shop server 300.The APP method for down loading is applied to the apple system with IOS.APP is downloaded below The idiographic flow of method is described in detail.
Step S120, the terminal device 200 initiate APP download requests to the application shop server 300.
In the present embodiment, recognize when terminal device 200 needs to download APP, it is necessary to first be sent to application shop server 300 Card is asked and buys APP agreements.The mainly HTTPS agreements that this stage interacts, HTTPS is with safely for the HTTP of target Passage, HTTPS add ssl protocol on the basis of HTTP, an information security passage are established, to ensure data transfer Safety.
In the present embodiment, when certification by after, the terminal device 200 obtains APP download address, and by under APP Set address downloads APP to the application request of shop server 300.
Step S130, the application shop server 300 issue HTTP message and APP texts according to the APP download requests Part.
In the present embodiment, the APP download requests initiated using the receiving terminal apparatus 200 of shop server 300, root HTTP message and APP files are issued according to the APP download requests.Wherein, the APP files include at least one different editions APP files.
Step S140, the gateway device 100 enter according to default APP cache policies to the HTTP message and APP files Row processing, selection target version APP files are cached.
Fig. 3 is refer to, Fig. 3 is the sub-step flow chart of the step S140 shown in Fig. 2 that first embodiment of the invention provides. The step S140 includes sub-step S141, sub-step S142 and sub-step S143.
Sub-step S141, the gateway device 100 intercept the HTTP message issued using shop server 300 and APP files.
In the present embodiment, when the application shop server 300 issues HTTP message and APP files, the gateway Equipment 100 intercepts to the HTTP message and APP files that issue, so that analysis is identified, HTTP message and APP will not be allowed literary Part is directly handed down to terminal device 200.
Sub-step S142, the gateway device 100 carry out analysis identification to the HTTP message and APP files of interception, Recognize the need for the target version APP files of caching.
Fig. 4 is refer to, Fig. 4 is the sub-step flow of the sub-step S142 shown in Fig. 3 that first embodiment of the invention provides Figure.The sub-step S142 includes sub-step S1421, sub-step S1422 and sub-step S1423.
Sub-step S1421, the gateway device 100 are literary from the APP of the HTTP message and/or at least one different editions At least one feature string to be identified is obtained in part.
In the present embodiment, due to URL (the Uniform Resource in HTTP message corresponding to APP files Locator, URL) typically ended up with " .signed.dpkg.ipa ", it may determine that by carrying out detection to URL It is to download APP files to go out which HTTP request, and in IOS, APP files are a zip compressed files.Thus, can be according to HTTP The APP files which version message and/or APP file identifications go out are the APP files for needing to cache.
In the present embodiment, at least one is obtained from the APP files of the HTTP message and/or at least one different editions The mode of individual feature string to be identified includes:
1. the gateway device 100 caches to the APP files of at least one different editions, and to after caching at least One APP file is decompressed, the feature string to be identified according to corresponding to the APP file acquisitions after decompression.
In the present embodiment, the feature string to be identified can be the title of APP corresponding to APP files.Zip compresses Pathname in file can include APP title, and path is generally "/Playload/<APP titles>/ ", such as:E rows are melted in industrial and commercial bank The pathname that can be included in APP APP is "/Playload/ICBCiPhoneBank.app/ ".Also, this APP name It is unrelated to claim with the model and ios release of apple terminal device 200.Thus, by decompressing zip compressed files, it can be found In APP titles.
In the present embodiment, the gateway device 100 is obtained by decompressing different editions corresponding A PP zip compressed files Corresponding stream information during different zip compressed files is decompressed, according to tagged word to be identified corresponding to the generation of the stream information of acquisition Symbol string.
2. the gateway device 100 is according to obtaining feature string to be identified in the HTTP message.
In the present embodiment, due to slower, the gateway device 100 that gets off to decompress speed again by whole APP file caches Can be according to obtaining feature string to be identified in the HTTP message.Downloading APP stream letter in the position that occurs of usual APP titles In the range of the preceding 1KB of breath, the gateway device 100 can obtain feature to be identified according to HTTP message from the stream information for downloading APP Character string.
Sub-step S1422, the gateway device 100 enter each feature string to be identified and a default feature string Row compares.
In the present embodiment, each feature string to be identified and one can be preset characteristic character by the gateway device 100 String is compared, and obtains corresponding similarity, if being compared in the presence of a feature string to be identified and the default feature string Obtained similarity is more than a default similarity (such as 98%), then can determine that the feature string to be identified with it is described pre- If characteristic character is identical.Wherein, the default feature string can be preset according to the APP parameters of user's request, institute Stating default similarity can also be set according to being actually needed.
Sub-step S1423, if identical with the default feature string comparison result in the presence of a feature string to be identified, APP files corresponding to the feature string to be identified are then judged to need the target version APP files cached.
Sub-step S143, the gateway device 100 carry out caching process to the target version APP files identified.
In the present embodiment, the gateway device 100 can only delay to the target version APP files identified Deposit, only can APP that accurately cache user needs, will not be to the APP files for the different editions that issue using shop server 300 Carry out whole cachings.Disk occupancy is reduced, reduces bandwidth consumption, there is preferable Consumer's Experience.
Referring to Fig. 2, methods described also includes:
Step S150, the terminal device 200 downloads the target version APP files from the gateway device 100, with complete Downloaded into APP.
In the present embodiment, after the gateway device 100 completes the caching to target version APP files, the terminal is set Standby 200 directly can download the target version APP files from the gateway device 100, to complete APP downloads.Without by answering It is downloaded with shop server 300, speed of download is fast, and Consumer's Experience is good.
Fig. 5 is refer to, Fig. 5 is the two of the step flow chart for the APP method for down loading that first embodiment of the invention provides.It is described Method also includes:
Step S160, when the target version APP files correspond to the APP of version by request download again, request is downloaded Terminal device 200 the target version APP files are directly downloaded from the gateway device 100, with complete APP download.
In the present embodiment, when the terminal device 200 again ask download target version APP files, or exist with Target version APP texts are downloaded in the request of another terminal device 200 of the above-mentioned hardware version of terminal device 200, software version all same During part, the terminal device 200 for asking to download can directly download the target version APP files from the gateway device 100, with APP is completed to download.
Step S110, the development platform 400 generate at least one different editions according to the release type of terminal device 200 APP files, and by the APP file distributions of at least one different editions to it is described application shop server 300.
In the present embodiment, the development platform 400 can be directed to same APP, root to meet the use demand of user The APP of at least one different editions is compiled out according to the hardware version and/or software version of terminal device 200, and by described at least The APP file distributions of one different editions apply shop server 300 to described, for selection by the user.
Second embodiment
Fig. 6 is refer to, Fig. 6 is one of step flow chart of APP method for down loading that second embodiment of the invention provides.It is described APP method for down loading is applied to the gateway device 100 communicated to connect with terminal device 200 and application shop server 300.It is right below The idiographic flow for the APP method for down loading that second embodiment provides is described in detail.
Step S210, when the APP downloads that the initiation of terminal device 200 is received using shop server 300 please When asking, and issuing HTTP message and APP files according to the APP download requests, the gateway device 100 delays according to default APP Deposit strategy to handle the HTTP message and APP files, selection target version APP files are cached.
In the present embodiment, the introduction that can be found in above-mentioned Fig. 2 to step S140 is discussed in detail on step S210, with And the introduction in Fig. 3, Fig. 4 to step S140 sub-step.
The target version APP files of caching are sent to the terminal device by step S220, the gateway device 100 200, so that the terminal device 200 is completed APP and downloaded.
In the present embodiment, the introduction that can be found in above-mentioned Fig. 2 to step S150 is discussed in detail on step S220.
Fig. 7 is refer to, Fig. 7 is the two of the step flow chart for the APP method for down loading that second embodiment of the invention provides.It is described Method also includes:
Step S230, when the target version APP files correspond to the APP of version by request download again, the gateway The target version APP files are sent to the terminal device 200 of request download by equipment 100, so that the terminal device 200 is complete Downloaded into APP.
In the present embodiment, the introduction that can be found in above-mentioned Fig. 5 to step S160 is discussed in detail on step S230.
3rd embodiment
Fig. 8 is refer to, Fig. 8 is the functional block diagram for the gateway device 100 that third embodiment of the invention provides.The gateway Equipment 100 communicates to connect with terminal device 200 and using shop server 300 respectively.The gateway device 100 includes:Processing Cache module 110 and sending module 120.
Cache module 110 is handled, for being handled according to default APP cache policies HTTP message and APP files, is selected Target version APP files are selected to be cached, wherein, the APP files include the APP files of at least one different editions.
In the present embodiment, the processing cache module 110 is used to perform the step in the step S140 and Fig. 6 in Fig. 2 S210, the specific descriptions on the processing cache module 110 are referred to the description of step S140 in Fig. 2.
Fig. 9 is refer to, Fig. 9 is the sub-function module figure for the processing cache module 110 that third embodiment of the invention provides.Institute Stating processing cache module 110 includes:
Submodule 111 is intercepted, for intercepting the HTTP message issued using shop server 300 and APP files.
In the present embodiment, the submodule 111 that intercepts is used to perform the step S141 in Fig. 3, and son is intercepted on described The specific descriptions of module 111 are referred to the description of step S141 in Fig. 3.
Analysis identification submodule 112, carries out analysis identification for the HTTP message to interception and APP files, identifies Go out to need the target version APP files cached.
In the present embodiment, the analysis identification submodule 112 is used to perform the step S142 in Fig. 3, on described point The specific descriptions of analysis identification submodule 112 are referred to the description of step S142 in Fig. 3.
Cache sub-module 113, for carrying out caching process to the target version APP files identified.
In the present embodiment, the cache sub-module 113 is used to perform the step S143 in Fig. 3, on caching The specific descriptions of module 113 are referred to the description of step S143 in Fig. 3.
Sending module 120, for the target version APP files of caching to be sent into the terminal device 200, so that The terminal device 200 is installed according to the target version APP files to APP.
In the present embodiment, the sending module 120 is used to perform the step S220 in the step S150 and Fig. 6 in Fig. 2, Specific descriptions on the sending module 120 are referred to the description of step S150 in Fig. 2.
In summary, the present invention provides a kind of APP method for down loading and gateway device, and methods described is applied to APP services system System, the APP service systems include being in communication with each other the terminal device of connection, gateway device and using shop server.The side Method includes:The terminal device initiates APP download requests to the application shop server.It is described application shop server according to The APP download requests issue HTTP message and APP files, wherein, the APP files include at least one different editions APP files.The gateway device is handled the HTTP message and APP files according to default APP cache policies, selects mesh Mark version APP files are cached.The terminal device downloads the target version APP files from the gateway device, with complete Downloaded into APP.
Thereby, it is possible to the APP that optionally cache user needs, avoid disk from overflowing, reduce bandwidth consumption, have preferable Consumer's Experience.
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.

Claims (13)

1. a kind of APP method for down loading, applied to APP service systems, the APP service systems include the terminal for being in communication with each other connection Equipment, gateway device and using shop server, it is characterised in that methods described includes:
The terminal device initiates APP download requests to the application shop server;
The application shop server issues HTTP message and APP files according to the APP download requests, wherein, the APP texts Part includes the APP files of at least one different editions;
The gateway device is handled the HTTP message and APP files according to default APP cache policies, selection target version This APP files are cached;
The terminal device downloads the target version APP files from the gateway device, to complete APP downloads.
2. according to the method for claim 1, it is characterised in that the gateway device is according to default APP cache policies to institute State HTTP message and APP files are handled, the step of selection target version APP files are cached includes:
The gateway device intercepts the HTTP message issued using shop server and APP files;
The gateway device carries out analysis identification to the HTTP message and APP files of interception, recognizes the need for the mesh of caching Mark version APP files;
The gateway device carries out caching process to the target version APP files identified.
3. according to the method for claim 2, it is characterised in that the gateway device to the HTTP message of interception and APP files carry out analysis identification, recognize the need for caching target version APP files the step of include:
The gateway device obtains at least one treat from the APP files of the HTTP message and/or at least one different editions Identification feature character string;
Each feature string to be identified is compared the gateway device with a default feature string;
If identical with the default feature string comparison result in the presence of a feature string to be identified, judge described to be identified The target version APP files that APP files corresponding to feature string cache for needs.
4. according to the method for claim 3, it is characterised in that the gateway device is from the HTTP message and/or at least The mode of at least one feature string to be identified is obtained in the APP files of one different editions to be included:
The gateway device caches to the APP files of at least one different editions, and at least one APP texts after caching Part is decompressed, the feature string to be identified according to corresponding to the APP file acquisitions after decompression;Or
The gateway device obtains feature string to be identified from the HTTP message.
5. according to the method for claim 1, it is characterised in that methods described also includes:
When the target version APP files correspond to the APP of version by request download again, ask the terminal device of download direct The target version APP files are downloaded from the gateway device, to complete APP downloads.
6. according to the method for claim 1, it is characterised in that the APP service systems also include development platform, the side Method also includes:
The development platform generates the APP files of at least one different editions according to the release type of terminal device, and by described in The APP file distributions of at least one different editions are to the server using shop.
7. a kind of APP method for down loading, applied to the gateway device with terminal device and application shop server communication connection, it is special Sign is that methods described includes:
The APP download requests of the terminal device initiation are received using shop server when described, and are downloaded according to the APP Request is when issuing HTTP message and APP files, the gateway device according to default APP cache policies to the HTTP message and APP files are handled, and selection target version APP files are cached, wherein, the APP files include at least one difference The APP files of version;
The target version APP files of caching are sent to the terminal device by the gateway device, so that the terminal is set The standby APP that completes is downloaded.
8. according to the method for claim 7, it is characterised in that the gateway device is according to default APP cache policies to institute State HTTP message and APP files are handled, the step of selection target version APP files are cached includes:
The gateway device intercepts the HTTP message issued using shop server and APP files;
The gateway device carries out analysis identification to the HTTP message and APP files of interception, recognizes the need for the mesh of caching Mark version APP files;
The gateway device carries out caching process to the target version APP files identified.
9. according to the method for claim 8, it is characterised in that the gateway device to the HTTP message of interception and APP files carry out analysis identification, recognize the need for caching target version APP files the step of include:
The gateway device obtains at least one treat from the APP files of the HTTP message and/or at least one different editions Identification feature character string;
Each feature string to be identified is compared the gateway device with a default feature string;
If identical with the default feature string comparison result in the presence of a feature string to be identified, judge described to be identified The target version APP files that APP files corresponding to feature string cache for needs.
10. according to the method for claim 9, it is characterised in that the gateway device is from the HTTP message and/or at least The mode of at least one feature string to be identified is obtained in the APP files of one different editions to be included:
The gateway device caches to the APP files of at least one different editions, and at least one APP texts after caching Part is decompressed, the feature string to be identified according to corresponding to the APP file acquisitions after decompression;Or
The gateway device obtains feature string to be identified from the HTTP message.
11. according to the method for claim 7, it is characterised in that methods described also includes:
When the target version APP files correspond to the APP of version by request is downloaded again when, the gateway device is by the target Version APP files are sent to the terminal device that request is downloaded, so that the terminal device is completed APP and downloaded.
12. a kind of gateway device, it is characterised in that the gateway device communicates with terminal device and using shop server respectively Connection, the gateway device include:
Cache module is handled, the APP download requests that the terminal device initiates, and root are received using shop server when described When issuing HTTP message and APP files according to the APP download requests, for being reported according to default APP cache policies to the HTTP Text and APP files are handled, and selection target version APP files are cached, wherein, the APP files include at least one The APP files of different editions;
Sending module, for the target version APP files of caching to be sent into the terminal device, so that the terminal is set It is standby that APP is installed according to the target version APP files.
13. gateway device according to claim 12, it is characterised in that the processing cache module includes:
Submodule is intercepted, for intercepting the HTTP message issued using shop server and APP files;
Analysis identification submodule, carries out analysis identification for the HTTP message to interception and APP files, recognizes the need for delaying The target version APP files deposited;
Cache sub-module, for carrying out caching process to the target version APP files identified.
CN201710570890.3A 2017-07-13 2017-07-13 APP downloading method and gateway equipment Active CN107395705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710570890.3A CN107395705B (en) 2017-07-13 2017-07-13 APP downloading method and gateway equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710570890.3A CN107395705B (en) 2017-07-13 2017-07-13 APP downloading method and gateway equipment

Publications (2)

Publication Number Publication Date
CN107395705A true CN107395705A (en) 2017-11-24
CN107395705B CN107395705B (en) 2021-03-26

Family

ID=60340481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710570890.3A Active CN107395705B (en) 2017-07-13 2017-07-13 APP downloading method and gateway equipment

Country Status (1)

Country Link
CN (1) CN107395705B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822241A (en) * 2020-12-31 2021-05-18 北京安博通科技股份有限公司 Method and device for realizing APP dynamic cache based on HTTPS protocol

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904935A (en) * 2012-09-25 2013-01-30 中国联合网络通信集团有限公司 Downloading method, downloading device and downloading system based on home gateway
CN105099774A (en) * 2015-07-08 2015-11-25 上海斐讯数据通信技术有限公司 Router software upgrading method and system
CN105204915A (en) * 2015-10-29 2015-12-30 小米科技有限责任公司 Application program updating method, device and system
CN105516787A (en) * 2015-12-09 2016-04-20 深圳Tcl数字技术有限公司 Storage control method and device of application cache data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904935A (en) * 2012-09-25 2013-01-30 中国联合网络通信集团有限公司 Downloading method, downloading device and downloading system based on home gateway
CN105099774A (en) * 2015-07-08 2015-11-25 上海斐讯数据通信技术有限公司 Router software upgrading method and system
CN105204915A (en) * 2015-10-29 2015-12-30 小米科技有限责任公司 Application program updating method, device and system
CN105516787A (en) * 2015-12-09 2016-04-20 深圳Tcl数字技术有限公司 Storage control method and device of application cache data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822241A (en) * 2020-12-31 2021-05-18 北京安博通科技股份有限公司 Method and device for realizing APP dynamic cache based on HTTPS protocol
CN112822241B (en) * 2020-12-31 2022-08-26 北京安博通科技股份有限公司 APP dynamic cache implementation method and device based on HTTPS protocol

Also Published As

Publication number Publication date
CN107395705B (en) 2021-03-26

Similar Documents

Publication Publication Date Title
US20190020536A1 (en) Enabling planned upgrade/downgrade of network devices without impacting network sessions
US7506059B2 (en) Mobile client provisioning web service
CN102082817B (en) Method and apparatus for ensuring transport of user agent information
CN102904959B (en) Network accelerating method and gateway
US20070254635A1 (en) System and method to query wireless network offerings
CN102271165B (en) Device and method for sharing and managing resources searched on Internet
CN104202411B (en) Document transmission method and server
CN105516246B (en) A kind of method and server of anti-application program downloading abduction
CN102571941B (en) Cloud point-to-point data transmission method and system
CN107181804B (en) The method for down loading and device of resource
CN101877710A (en) Proxy gateway anti-virus implement method, pre-sorter and proxy gateway
CN106302445A (en) For the method and apparatus processing request
CN102651861A (en) Download method for mobile terminal, mobile terminal and proxy download server
CN107809470B (en) Method and device for automatically deploying application program
CN104811439A (en) Portal authentication method and device
US7792965B2 (en) Method and apparatus for simplified user access to multiple browser transports in a mobile communication device
US20060168227A1 (en) System, method, device, module and computer code product for progressively downloading a content file
CN108880923A (en) The method and apparatus that policer operation applied to application server is requested
CN103416027B (en) The system of the method, buffer and cache optimization of cache optimization
CN108134811B (en) Method, device and system for distributing or downloading target file
CN107395705A (en) APP method for down loading and gateway device
CN104702634A (en) Method, device and system for processing data operation request
CN109379179A (en) Method and apparatus for updating digital certificate
CN102904935B (en) Downloading method, downloading device and downloading system based on home gateway
CN101170576A (en) A method, system and device for file upload

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant