Specific embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 is shown according to one aspect of the invention for obtaining the mobile equipment of target resource and the equipment of the network equipmentSchematic diagram.Wherein, mobile equipment 1 includes the first acquisition request device 11, the first send-request unit 12, information receiver13rd, using loading device 14, the second send-request unit 15 and resource reception device 16, the network equipment 2 includes the first request and connectsReceiving apparatus 21, information query device 22, information transmitting apparatus 23, second ask reception device 24, resource query device 25 and moneySource sending device 26.Specifically, the first acquisition request device 11 of mobile equipment 1 obtains what user was submitted by mobile equipment 1First about target resource downloads request;First send-request unit 12 downloads request by described first and is sent to the network equipment2;Correspondingly, the first request reception device 21 of the network equipment 2 receives first about target resource transmitted by mobile equipment 1Download request;Information query device 22 is downloaded according to described first and is asked, and matching inquiry is carried out in application message library, to obtainWith the corresponding application related information of the target resource;Information transmitting apparatus 23 by the application related information and with the meshThe mark corresponding resource related information of resource is sent to the mobile equipment 1;Then, the information receiver 13 of mobile equipment 1It receives the network equipment 2 and the letter related to the corresponding resource of the target resource for asking to be provided is provided based on described firstBreath and application related information;Using loading device 14 according to the application related information, loading and the application related information instituteCorresponding intended application;Second send-request unit 15 is according to the resource related information, by the intended application to describedThe network equipment 2 is sent downloads request about the second of the target resource;Correspondingly, the second request of the network equipment 2 receives dressThe second download request about the target resource that intended application in the 24 receptions mobile equipment 1 is initiated is put, wherein, instituteIt is corresponding with the application related information to state intended application;Resource query device 25 is downloaded according to described second and is asked, in resourceMatching inquiry is carried out in information bank, to obtain and the corresponding target resource information of the target resource;Resource sending device 26The target resource information is sent to the mobile equipment 1;Then, the resource reception device 16 of mobile equipment 1 receives describedThe network equipment 2 is downloaded based on described second and asks provided target resource information.
Here, mobile equipment 1, which can be any one, to carry out man-machine friendship by keyboard, touch screen, mouse etc. with userMutual electronic product, such as mobile phone, mobile equipment, PDA, vehicle-mounted computer etc..The network equipment 2 include but not limited to network host,The cloud that single network server, multiple network server collection or multiple servers are formed, wherein, cloud computing is Distributed CalculationOne kind, a super virtual computer being made of the computer collection of a group loose couplings.Here, cloud is by being based on cloud computingA large amount of computers or network server of (Cloud Computing) are formed.Between by network connection realize each other access andCommunication, here, network includes but not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, VPN network, wireless self-organization network(Ad Hoc networks) etc..Those skilled in the art will be understood that above-mentioned mobile equipment 1, the network equipment 2 are only for example, other are existingOr the mobile equipment or the network equipment that are likely to occur from now on be such as applicable to the present invention, should also be included in the scope of the present inventionWithin, and be incorporated herein by reference herein.
Specifically, the first acquisition request device 11 of mobile equipment 1 is provided by third party devices such as wap browsersApplication programming interfaces (API) communication mode is either arranged by http, https etc. or passes through the Dynamic Networks such as JSP, ASPPage technology obtains user and is asked by the first download about target resource that mobile equipment 1 is submitted, here, the target providesSource includes Downloadable resource, includes but not limited to:1) it is a certain or a few by completion of the developing operation on operating systemThe computer applied algorithm of item particular task, such as runs on cell phone platform such as Android platform, symbain platforms, windowsApplication program on phone platforms, mac os x platforms etc.;2) application software, as media player Baidu is audio-visual, communication workHave Baidu hi, image processing software adobe etc.;3) shared document etc. can download resource.Here, the first download request includesApplication program search, the download for the client downloaded request can be carried out by it by downloading user.Those skilled in the art should be able to manageTarget resource is only for example in solution, other target resources that are existing or being likely to occur from now on are such as applicable to the present invention, also shouldWithin the scope of the present invention, and it is incorporated herein by reference herein.
For example, user A is moved by it, equipment Samsung I9100GALAXY SII progress target resources such as Baidu is audio-visual to be searchedSuo Shi, user A input http in browser address bar://player.baidu.com/, by "enter" key", then user A pointsHit the download button audio-visual by mobile application client downloads Baidu of Baidu that the page of return includes such as " high-speed downloads ",Then the first acquisition request device 11 just gets user A by the application programming interfaces (API) of browser and moves equipment by itFirst audio-visual about target resource such as Baidu that Samsung I9100GALAXY SII are submitted downloads request.Those skilled in the artWill be understood that above-mentioned acquisition user is only to lift by way of the first download request about target resource that mobile equipment is submittedExample, other users that obtain that are existing or being likely to occur from now on are downloaded by what mobile equipment was submitted about the first of target resourceThe mode of request is such as applicable to the present invention, should also be included within the scope of the present invention, and includes by reference hereinIn this.
First send-request unit 12 is by the communication mode of agreement, such as http, https communication protocol, by describedOne, which downloads request, is sent to the network equipment 2.
Correspondingly, the first request communication mode of the reception device 21 by agreement of the network equipment 2, such as http, httpsCommunication protocol receives and downloads request about the first of target resource transmitted by mobile equipment 1.
Then, information query device 22 is downloaded according to described first and is asked, and matching inquiry is carried out in application message library, withAcquisition and the corresponding application related information of the target resource, here, the application related information includes but not limited to:1) withVersion information, installation requirement of the corresponding intended application of target resource etc.;2) with the corresponding mesh of the target resourceThe application program installation package informatin of mark application;3) with the download link address of the corresponding intended application of the target resource;4)With the update module content information of the version updating of the corresponding intended application of the target resource.For example, connecting example, information is looked intoIt askes device 22 and equipment Samsung I9100GALAXY SII is moved by it according to the user A that the first request reception device 21 receivesFirst transmitted audio-visual about target resource Baidu downloads request, that is, passes through mobile application client downloads Baidu of Baidu shadowSound, then information query device 22 first download and ask according to this, carry out matching inquiry in application message library, obtain and the meshThe audio-visual corresponding application related information of resource Baidu is marked, such as the version information such as V1.0 of Baidu's mobile application client, installationIt is required that as being suitble to android 2.1 and above Edition operating system, resource name such as AppSearch_baiduyingyin2012_20120717.apk download link address such as http://as.baidu.com/aPre=web_am_header etc..This fieldTechnical staff will be understood that above application relevant information is only for example, other application correlation letters that are existing or being likely to occur from now onBreath is such as applicable to the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference herein.
Information transmitting apparatus 23 applies phase by the communication mode of agreement, such as http, https communication protocol by describedIt closes information and is sent to the mobile equipment 1 with the corresponding resource related information of the target resource.Specifically, information is sentDevice 23 by modes such as field extraction, code conversion or combinations, is carried first according to the first request reception device 21Described first supplied downloads request, obtains and the corresponding resource related information of the target resource;Then again by the applicationRelevant information, by the communication mode of agreement, such as http, https communication protocol, is sent to the shifting with resource related informationDynamic equipment 1.Here, the resource related information includes but not limited to:1) the application program installation package informatin of target resource;2) meshMark the information such as version, the renewal time of resource;3) the download link address of target resource;4) the resource identification letter of target resourceBreath, such as target resource ID;5) the system installation requirement information of target resource;6) for determining the resource identification of the target resourceThe application file name of information, as installation targets are applied such as Baidu mobile application visitor under locally-installed catalogue in the mobile equipment 1The filename of correspondence installation file generated behind the end of family, such as installation file application program AppSearch_baiduyingyin2012_20120717.apk.Those skilled in the art will be understood that above-mentioned resource related information is only for example,Other resource related informations that are existing or being likely to occur from now on are such as applicable to the present invention, should also be included in present invention protection modelWithin enclosing, and it is incorporated herein by reference herein.
Correspondingly, the information receiver 13 of mobile equipment 1 is by arranging communication mode, such as http, https communication protocolsView, receive the network equipment 2 based on described first download request provided with the corresponding resource phase of the target resourceClose information and application related information.
Using loading device 14 according to the application related information, loading and the target corresponding to the application related informationUsing here, the intended application includes the client for providing the functions and one such as the search of collection target resource, download, management, such asBaidu's mobile application client, apple App Store, Nokia Ovi Store, Google Google Play Store etc..This, loads and includes but not limited to the mode of the intended application corresponding to the application related information:
If 1) do not install the intended application in mobile equipment 1, using loading device 14 according to the related letter of the applicationBreath, loading and the intended application corresponding to the application related information, the intended application as described in new installation, for example, it is assumed that user AEquipment Samsung I9100GALAXY SII are moved by it and have submitted the first download request audio-visual about target resource Baidu, such asIt is audio-visual by mobile application client downloads Baidu of Baidu, and information receiver 13 receives the network equipment 2 and is based on instituteState the first download request provided with the audio-visual corresponding application related information of the target resource such as Baidu for Baidu movementThe application program installation kit of applications client, version information, system installation requirement etc., then using loading device 14 according to the applicationRelevant information installs Baidu's mobile application client in Samsung I9100GALAXY SII, after installing, and starts BaiduMobile application client.
2) if the intended application has been installed in mobile equipment 1, but the mounted intended application with it is existing mostNew version mismatches, i.e. the version of the intended application of the installation lacks plug-in unit or update module, then using loading device 14According to the application related information, loading and the intended application corresponding to the application related information, as needed for installing plug-in unit orUpdate module simultaneously starts the intended application, for example, connecting example, it is assumed that its of user A moves equipment Samsung I9100GALAXYBaidu's mobile application client is already installed in SII, version V1.2 is then received according to information using loading device 14 and filledPut 13 receive the network equipment 2 based on described first download request provided with the audio-visual phase of the target resource such as BaiduThe application program installation kit of corresponding application related information such as Baidu's mobile application client, version information such as V2.0, installation are wantedIt asks, Baidu's mobile application client is installed in Samsung I9100GALAXY SII from V1.2 version updatings to V2.0 versions instituteThe plug-in unit or update module needed starts Baidu's mobile application client after installation update.
If 3) intended application is installed, but user is submitted by mobile equipment 1 about target resource in mobile equipment 1First intended application when downloading request it is not actuated, then using loading device 14 according to the application related information, start instituteIntended application is stated, for example, also connecting example, it is assumed that be already installed in its movement equipment Samsung I9100GALAXY SII of user ABaidu's mobile application client, and user A moves equipment Samsung I9100GALAXY SII by it and submits about target resourceFirst download request such as by mobile application client downloads Baidu of Baidu it is audio-visual when, the not actuated Samsung I9100GALAXY of user AMounted Baidu's mobile application client in SII, the then institute received using loading device 14 according to information receiver 13Application related information is stated, starts Baidu's mobile application client.
Those skilled in the art will be understood that above-mentioned loading and the side of the intended application corresponding to the application related informationFormula is only for example, other existing or loadings being likely to occur from now on and the intended application corresponding to the application related informationMode is such as applicable to the present invention, should also be included within the scope of the present invention, and is incorporated herein by reference herein.
Second send-request unit 15, by the intended application, communicates according to the resource related information according to agreementMode, such as http, https communication protocol send to download about the second of the target resource to the network equipment 2 and askIt asks.Here, the second download request includes the download request for downloading the target resource, it is audio-visual such as to download Baidu.
Correspondingly, the second request reception device 24 of the network equipment 2 is by arranging communication mode, such as http, https lead toBelieve agreement, receive the second download request about the target resource that intended application in the mobile equipment 1 is initiated,In, the intended application is corresponding with the application related information.
Resource query device 25 is downloaded according to described second and is asked, and matching inquiry is carried out in resource information bank, to obtainWith the corresponding target resource information of the target resource.Here, the target resource information includes answering for the target resourcePackage informatin is installed with program.For example, it is assumed that the second request reception device 24 receives intended application such as hundred in the mobile equipment 1What degree mobile application client was initiated downloads request about the second of the target resource, under as audio-visual in downloaded Baidu secondCarry request, then resource query device 25 is downloaded according to described second and is asked, and carries out matching inquiry in resource information bank, obtain withThe audio-visual corresponding audio-visual application program installation package informatin of target resource information Baidu of Baidu.
Resource sending device 26 is provided the target by the communication mode of agreement, such as http, https communication protocolSource information is sent to the mobile equipment 1.
Then, the resource reception device 16 for moving equipment 1 passes through the communication mode of agreement, such as http, https communication protocolsView receives the network equipment 2 and downloads the provided target resource information of request based on described second.
Preferably, the second send-request unit 15 of mobile equipment 1 can also be according to the resource related information, with reference to describedThe resource state information of mobile equipment 1 determines the target resource status information of the target resource by the intended application;SoAfterwards further according to the target resource status information, sent by the intended application to the network equipment 2 about the targetThe second of resource downloads request.Mobile equipment 1 further includes the first offer device (not shown), and specifically, first provides device willThe target resource status information is supplied to the user.
Specifically, the second send-request unit 15 calls the operation of the mobile equipment 1 by the intended application firstSystematic difference routine interface (API) or pass through the intended application and scan specific file catalogue such as/data/data/appUnder suffix for .apk (Android Package, Android installation kit) files or pass through the intended application call moveThe application programming interfaces (API) of the application program installing firmware of the operating system of dynamic equipment 1, such as operate Andriod (Android)The mobile equipment 1 of system can according to Package Manager (package manager), to obtain the resource state information of mobile equipment 1,Then the resource related information received further according to information receiver 13, with reference to the resource status of the mobile equipment 1Information determines the target resource status information of the target resource by the intended application;Then, the second send-request unit15, further according to the target resource status information, are sent to the network equipment 2 about the target by the intended applicationThe second of resource downloads request.Here, the resource state information includes but not limited to following at least any one:1) mobile equipmentIn mounted application information, such as application program sogou input methods, google maps, mobile phone QQ2012 have been installed(Android) etc.;2) relevant information of mounted application program in equipment, such as version information, set-up time etc. are moved.This, the target resource status information includes but not limited to following at least any one:1) mount message of the target resource, such asWhether the target resource has been installed in the mobile equipment 1;2) version information of the target resource to be installed, system peaceReload request etc..Those skilled in the art will be understood that above-mentioned resource state information is only for example with target resource status information,He is such as applicable to the present invention at resource state information or target resource status information existing or be likely to occur from now on, should also wrapIt is contained within the scope of the present invention, and is incorporated herein by reference herein.
It is had submitted for example, it is assumed that user A moves equipment Samsung I9100GALAXY SII by it about target resource BaiduAudio-visual first downloads request, such as audio-visual by mobile application client downloads Baidu of Baidu, using loading device 14 according to letterBreath reception device 13 receive the network equipment 2 based on described first download request provided with the target resource such as hundredSpend the application program installation kit, version information, system of audio-visual corresponding application related information such as Baidu's mobile application clientInstallation requirement etc., the installation Baidu mobile application client in mobile equipment Samsung I9100GALAXY SII, after installing,And starting Baidu's mobile application client, then the second send-request unit 15 passes through intended application Baidu mobile application client firstThe application programming interfaces (API) of the operating system of mobile equipment Samsung I9100GALAXY SII are called at end, obtain mobile equipment threeThe resource state information of star I9100GALAXY SII applies journey as mounted in mobile equipment Samsung I9100GALAXY SIISequence such as sogou input methods, google maps, mobile phone QQ2012 (Android) etc.;Then the second send-request unit 15 is according to letterBreath reception device 13 receive the network equipment 2 based on described first download request provided it is related to the target resourceInformation, such as target resource Baidu it is audio-visual application program installation package informatin, version information, resource ID, pass through intended application hundredThe target resource status information of the target resource such as non-installation targets resource Baidu that degree mobile application client determines is audio-visual.
Then, the second send-request unit 15, by the intended application, is pressed further according to the target resource status informationCommunication mode as agreed, such as http, https communication protocol are sent to the network equipment 2 about the target resourceSecond downloads request.
Those skilled in the art will be understood that the mode of the resource state information of above-mentioned acquisition movement equipment is only for example,The mode of the resource state information of his the mobile equipment of acquisition that is existing or being likely to occur from now on is such as applicable to the present invention, also shouldWithin the scope of the present invention, and it is incorporated herein by reference herein.
Those skilled in the art will be understood that the mode of the above-mentioned target resource status information for determining the target resource onlyFor citing, other modes for the target resource status information for determining the target resource that are existing or being likely to occur from now on such as may be usedIt suitable for the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference herein.
Then, first communication mode of the device according to agreement, such as http, https communication protocol are provided, by the targetResource state information is supplied to the user, reads and selects for user.
Preferably, the first acquisition request device 11, the first send-request unit 12, the information receiver of mobile equipment 113rd, using loading device 14, the second send-request unit 15 and resource reception device 16, the first request of the network equipment 2 receivesDevice 21, information query device 22, information transmitting apparatus 23, second ask reception device 24, resource query device 25 and resourceSending device 26 constantly works.Specifically, the first acquisition request device 11 of mobile equipment 1 persistently obtains user and leads toCross the first download request about target resource for moving the submission of equipment 1;First send-request unit 12 is persistently by described firstIt downloads request and is sent to the network equipment 2;Correspondingly, the first request reception device 21 of the network equipment 2 persistently receives mobile equipment 1Transmitted downloads request about the first of target resource;Information query device 22, which continues to download according to described first, asks,Matching inquiry is carried out in application message library, to obtain and the corresponding application related information of the target resource;Information sends dress23 are put to continue to be sent to the movement by the application related information and with the corresponding resource related information of the target resourceEquipment 1;Then, the information receiver 13 of mobile equipment 1 persistently receives the network equipment 2 and is based on the described first download requestThe resource related information corresponding with the target resource and application related information provided;Continue root using loading device 14According to the application related information, loading and the intended application corresponding to the application related information;Second send-request unit 15Continue according to the resource related information, sent by the intended application to the network equipment 2 about the target resourceSecond download request;Correspondingly, the second request reception device 24 of the network equipment 2 persistently receives mesh in the mobile equipment 1What mark application was initiated downloads request about the second of the target resource, wherein, the intended application is related to the applicationInformation is corresponding;Resource query device 25, which continues to download according to described second, asks, and matching inquiry is carried out in resource information bank,To obtain and the corresponding target resource information of the target resource;Resource sending device 26 continues the target resource informationIt is sent to the mobile equipment 1;Then, the resource reception device 16 of mobile equipment 1 persistently receives the network equipment 2 and is based on instituteIt states the second download and provided target resource information is provided.Here, it will be understood by those skilled in the art that " lasting " refers to that movement is setStandby 1 the first acquisition request device 11, the first send-request unit 12, information receiver 13, using loading device 14, secondSend-request unit 15 and resource reception device 16, the network equipment 2 first request reception device 21, information query device 22,Information transmitting apparatus 23, second asks reception device 24, resource query device 25 and resource sending device 26 respectively according to settingOr the operating mode requirement of in due course adjustment carry out the acquisition of target resource, until the first acquisition request device of mobile equipment 111 stop acquisition user in a long time is asked by the first download about target resource that mobile equipment 1 is submitted.
In a preferred embodiment (with reference to figure 1), wherein, mobile equipment 1 includes the first acquisition request device 11, firstSend-request unit 12, information receiver 13, using loading device 14, the second send-request unit 15, resource reception device16th, it is adapted to reception device (not shown) and second and device (not shown) is provided, the network equipment 2 includes the first request reception device21st, information query device 22, information transmitting apparatus 23, second ask reception device 24, device attribute acquisition device (not shown),Resource query device 25, resource sending device 26 and adaptation sending device (not shown), wherein, resource query device 25 includes suitableWith determination unit (not shown) and resource query unit (not shown).The preferred embodiments are described below with reference to Fig. 1:ToolBody, the first acquisition request device 11 of mobile equipment 1 obtain the about target resource that user is submitted by mobile equipment 1One downloads request;First send-request unit 12 downloads request by described first and is sent to the network equipment 2;Correspondingly, network is setStandby 2 the first request reception device 21 receives and downloads request about the first of target resource transmitted by mobile equipment 1;Information is looked intoIt askes device 22 and downloads request according to described first, matching inquiry is carried out in application message library, to obtain and the target resourceCorresponding application related information;Information transmitting apparatus 23 by the application related information and with the target resource it is correspondingResource related information is sent to the mobile equipment 1;Then, the information receiver 13 of mobile equipment 1 receives the network and setsStandby 2 download the resource related information corresponding to the target resource for asking to be provided based on described first and believe using relatedBreath;Using loading device 14 according to the application related information, loading and the intended application corresponding to the application related information;Second send-request unit 15 is sent to the network equipment 2 by the intended application and closed according to the resource related informationSecond in the target resource downloads request;Correspondingly, the second request reception device 24 of the network equipment 2 receives the movementIn equipment 1 intended application initiated about the target resource second download request, wherein, the intended application with it is describedApplication related information is corresponding;Device attribute acquisition device obtains the equipment association attributes of the mobile equipment 1;Adaptation determines singleMember is downloaded according to described second and is asked, determining the target resource with the mobile equipment with reference to the equipment association attributesThe resource adaptation information being adapted;Resource query unit is matched according to the resource adaptation information in resource information bankInquiry, to obtain and the corresponding targeted fit resource information of the target resource;Resource sending device 26 fits the targetThe mobile equipment 1 is sent to resource information;Then, the resource reception device 16 of mobile equipment 1 receives the network equipment 2The targeted fit resource information provided based on resource adaptation information;The adaptation sending device of the network equipment 2 fits the resourceThe mobile equipment 1 is sent to information;Correspondingly, the adaptation reception device of mobile equipment 1 receives the network equipment 2 and is carriedThe resource adaptation information supplied;Then, the resource adaptation information is supplied to the user by the second offer device.Here,First acquisition request device 11 of mobile equipment 1, the first send-request unit 12, information receiver 13, using loading device14 and second send-request unit 15, the first request reception device 21, information query device 22, the information of the network equipment 2 sendDevice 23, second asks the content of corresponding intrument in reception device 24 and Fig. 1 embodiments identical or essentially identical, is risen to be conciseSee, repeat no more, be incorporated herein by reference.
Specifically, the device attribute acquisition device of the network equipment 2 obtains the equipment association attributes of the mobile equipment 1,In, the equipment association attributes include following at least any one:
The system configuration information of the mobile equipment;
The screen attribute information of the mobile equipment;
The current network information of the mobile equipment.Here, obtain the mode of the equipment association attributes of the mobile equipmentIncluding but not limited to following at least any one:
1) according to the UA parameter informations of the browser of the mobile equipment, the equipment correlation category of the mobile equipment is obtainedProperty, for example, it is assumed that user A inputs http in browser address bar://player.baidu.com/, by "enter" key", thenUser A clicks the download button audio-visual by mobile application client downloads Baidu of Baidu such as " height that the page returned includesSpeed is downloaded ", and described first that the first acquisition request device 11 is got downloads request and includes the movement equipment SamsungThe UA parameter informations of the Mozilla browsers of I9100GALAXY SII are such as:User-Agent:Mozilla/5.0(Samsung;U;CPU Android OS 2.3;Zh-cn) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2Safari/6533.18.5), then device attribute acquisition device can be got by the UA parameter informationsThe equipment association attributes of movement equipment iphone4s, such as operation system information " CPU Android OS 2.3 ", equipmentType information " Samsung ", and then, device attribute acquisition device can also be according to the operation system information, in device parameter informationIt is inquired in library, obtains the screen attribute information of the movement equipment, if screen width is 320px.
2) the HTTP request data packet that the browser obtained according to the first acquisition request device 11 is sent to Resource ServerContent, to obtain the equipment association attributes of the mobile equipment, for example, it is assumed that user A is inputted in browser address barhttp://player.baidu.com/, by "enter" key", what the page that then user A clicks return included is moved by BaiduDynamic applications client downloads the audio-visual download button of Baidu such as " high-speed downloads ", and the first acquisition request device 11 gets browsingFollowing Post message body of HTTP request data packet content that device is sent to Resource Server, wherein,<CR>Represent carriage return:
GET/player.baidu.com HTTP/1.1<CR>
Accept:Image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
Application/x-shockwave-flash,
Application/vnd.ms-powerpoint, application/msword, */*<CR>
Accept-Language:zh-cn<CR>
Accept-Encoding:Gzip, deflate<CR>
User-Agent:Mozilla/5.0(Samsung;U;CPU Android OS 2.3;zh-cn)AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2Safari/6533.18.5)<CR>
Host:player.baidu.com<CR>
Connection:Keep-Alive<CR>
<CR>
Then content such as " User-Agent of the device attribute acquisition device in the HTTP request data packet:Mozilla/5.0(Samsung;U;CPU Android OS 2.3;Zh-cn) AppleWebKit/533.17.9 (KHTML, like Gecko)Version/5.0.2Mobile/8J2Safari/6533.18.5) ", the device type information of the movement equipment is got,Such as operation system information " CPU Android OS 2.3 ", unit type information " Samsung ".
3) application programming interfaces (API) of the network connection state firmware of the operating system of equipment are moved by calling, such asThe mobile equipment of Andriod (Android) operating system can be obtained according to ConnectivityManager (connection manager)The current network information of the mobile equipment, such as network state information, network connection mode, here, the network connection modeIncluding but not limited to wireless network connection pattern, including:
I) wireless broadband network pattern, including but not limited to, Wi-Fi, WiMax;
II) wireless cellular network pattern, including but not limited to, WCDMA, CDMA2000, TD-SCDMA, HSPA, LTE etc..
Those skilled in the art will be understood that the mode of the equipment association attributes of above-mentioned acquisition movement equipment is only for example,The mode of the equipment association attributes of his the mobile equipment of acquisition that is existing or being likely to occur from now on is such as applicable to the present invention, also shouldWithin the scope of the present invention, and it is incorporated herein by reference herein.
Then, adaptation determination unit is downloaded according to described second and is asked, and with reference to the equipment association attributes, determines the meshThe resource adaptation information being adapted with the mobile equipment of resource is marked, here, the resource adaptation information includes but not limited toThe advisory information of the target resource such as provided a user, such as whether downloading immediately, suggesting the target resource downloadedVersion information etc..For example, when the equipment association attributes include the system configuration information of the mobile equipment, it is adapted to determination unitWhen determining the resource adaptation information being adapted with the mobile equipment of the target resource, it is assumed that device attribute acquisition device obtainsThe system configuration attribute of the mobile equipment 1 taken includes " double-core 1.2GHz ", then is adapted to determination unit according to the system configurationAttribute determines the mobile equipment 1 as high terminal, the resource being adapted with the mobile equipment of the determining target resourceAdapted information is the target resource such as V2.0 versions of latest edition;Assuming that the movement that device attribute acquisition device obtainsThe system configuration attribute of equipment 1 includes " 1GHz high pass Snapdragon processors, using 2.3 operating systems of Android ", thenAdaptation determination unit determines the mobile equipment 1 as low side machine according to the system configuration attribute, the determining target resourceThe resource adaptation information being adapted with the mobile equipment is the target resource such as V1.0 versions of minimum version.For another example, whenThe equipment association attributes include the current network information of the mobile equipment, and adaptation determination unit determines the target resourceDuring the resource adaptation information being adapted with the mobile equipment, it is assumed that the mobile equipment 1 that device attribute acquisition device obtainsCurrent network information for GPRS connections, then be adapted to mutually being fitted with the mobile equipment for the target resource that determination unit determinesWhether the resource adaptation information matched is included such as " downloading immediately ".
Those skilled in the art will be understood that the above-mentioned money being adapted with the mobile equipment for determining the target resourceThe mode of source Adapted information is only for example, other it is existing or be likely to occur from now on determine the target resource with the shiftingThe mode of resource adaptation information that dynamic equipment is adapted such as is applicable to the present invention, should also be included in the scope of the present invention withIt is interior, and be incorporated herein by reference herein.
Resource query unit carries out matching inquiry according to the resource adaptation information in resource information bank, with obtain withThe corresponding targeted fit resource information of target resource, here, the targeted fit information includes but not limited to as describedTarget resource is adapted to version information etc. with what the mobile equipment was adapted.
Resource sending device 26 is fitted the target by the communication mode of agreement, such as http, https communication protocolThe mobile equipment 1 is sent to resource information.
Then, the resource reception device 16 for moving equipment 1 passes through the communication mode of agreement, such as http, https communication protocolsView, receives the targeted fit resource information that the network equipment 2 is provided based on resource adaptation information.
Adaptation communication mode of the sending device by agreement of the network equipment 2, such as http, https communication protocol, will be suitableThe resource adaptation information determined with determination unit is sent to the mobile equipment 1.
Correspondingly, the adaptation reception device for moving equipment 1 passes through the communication mode of agreement, such as http, https communication protocolsView, receives the resource adaptation information that the network equipment is provided.
Then, second communication mode of the device by agreement, such as http, https communication protocol are provided, by the resourceAdapted information is supplied to the user, reads and selects for user.
Those skilled in the art will be understood that in a particular embodiment the resource query unit of the network equipment 2 is with being adapted to hairIt can be parallel execution or serial execution to send device;Being adapted to sending device can be with resource sending device 26Mutually independent module can also integrate;The adaptation reception device and resource reception device 16 of mobile equipment 1 can be phasesIndependent module can also integrate.
Fig. 2 shows in accordance with a preferred embodiment of the present invention for obtaining the mobile equipment and the network equipment of target resourceEquipment schematic diagram, wherein, mobile equipment 1 includes the first acquisition request device 11 ', the first send-request unit 12 ', information and connectsReceiving apparatus 13 ' includes using loading device 14 ', the second send-request unit 15 ' and resource reception device 16 ', the network equipment 2First request reception device 21 ', information query device 22 ', information transmitting apparatus 23 ', the second request reception device 24 ', resourceInquiry unit 25 ' and resource sending device 26 '.Specifically, the first acquisition request device 11 ' of mobile equipment 1 obtains user and leads toCross the first download request about target resource for moving the submission of equipment 1;First send-request unit 12 ' is downloaded described firstRequest is sent to the network equipment 2;Correspondingly, the first request reception device 21 ' of the network equipment 2 is received transmitted by mobile equipment 1About target resource first download request;Information query device 22 ' is downloaded according to described first and is asked, in application message libraryMiddle carry out matching inquiry, to obtain and the corresponding application related information of the target resource;Information transmitting apparatus 23 ' is by described inApplication related information and the mobile equipment 1 is sent to the corresponding resource related information of the target resource, wherein, it is describedResource related information include for determine the target resource resource identification information application file name;Then, mobile equipment 1Information receiver 13 ' receive the network equipment 2 based on described first to download request being provided with the target resourceCorresponding resource related information and application related information, wherein, the resource related information includes determining the targetThe application file name of the resource identification information of resource;Using loading device 14 ' according to the application related information, loading with it is describedIntended application corresponding to application related information;Second send-request unit 15 ' is according to the resource related information, by describedIntended application sends to download about the second of the target resource to the network equipment and ask;Correspondingly, the of the network equipment 2Under intended application is initiated in the two request reception of reception devices 24 ' the mobile equipment 1 second about the target resourceRequest is carried, wherein, the intended application is corresponding with the application related information;Resource query device 25 ' is according to described secondRequest is downloaded, matching inquiry is carried out in resource information bank, to obtain and the corresponding target resource information of the target resource;The target resource information is sent to the mobile equipment 1 by resource sending device 26 ';Then, the resource of mobile equipment 1 receivesDevice 16 ' receives the network equipment 2 and downloads the provided target resource information of request based on described second.
Here, move the first acquisition request device 11 ' of equipment 1, the first send-request unit 12 ', using loading device14 ', second send-request unit 15 ' and resource reception device 16 ', the first request reception device 21 ', the information of the network equipment 2Inquiry unit 22 ', the second request reception device 24 ', resource query device 25 ' and resource sending device 26 ' respectively in Fig. 1The first acquisition request device 11, the first send-request unit 12, using loading device 14, the second send-request unit 15 and moneySource reception device 16, the network equipment 2 first request reception device 21, information query device 22, second ask reception device 24,The content of resource query device 25 and resource sending device 26 is identical or essentially identical, for simplicity, repeats no more, to drawIt is incorporated herein with mode.
Specifically, the information transmitting apparatus 23 ' of the network equipment 2 is logical by the communication mode of agreement, such as http, httpsBelieve agreement, by the application related information and be sent to the movement with the corresponding resource related information of the target resource and setStandby 1, wherein, the resource related information include for determine the target resource resource identification information application file name.
Correspondingly, the information receiver 13 ' for moving equipment 1 is logical by the communication mode of agreement, such as http, httpsBelieve agreement, receive the network equipment 2 based on described first download request provided with the corresponding money of the target resourceSource relevant information and application related information, wherein, the resource related information includes the resource for determining the target resourceThe application file name of identification information, such as AppSearch_baiduyingyin2012_20120717.
Preferably, the application loading device 14 ' of mobile equipment 1 is including applying loading unit 141 ' and file generating unit142 ', the second send-request unit 15 ' includes document determining unit 151 ', marker extraction unit 152 ' and request transmitting unit153’.Specifically, using loading unit 141 ' according to the application related information, corresponding to loading and the application related informationIntended application;File generating unit 142 ' according to the resource related information, generation with the intended application is corresponding shouldWith file, wherein, the title of at least one file matches with the application file name in the application file;File determines listMember 151 ' is by intended application scanning and the relevant file directory of the intended application, to determine and the application file nameThe application file to match;Marker extraction unit 152 ' is answered by the intended application from described and application file famous prime minister is matchedWith extracting the resource identification information in file;Request transmitting unit 153 ' passes through the mesh according to the resource identification informationMark application sends to download about the second of the target resource to the network equipment 2 and ask;Correspondingly, the of the network equipment 2Under intended application is initiated in the two request reception of reception devices 24 ' the mobile equipment 1 second about the target resourceRequest is carried, wherein, the intended application is corresponding with the application related information, wherein, it is included in the second download requestResource identification information;Resource query device 25 ' carries out matching inquiry according to the resource identification information in resource information bank,To obtain and the corresponding target resource information of the target resource;Resource sending device 26 ' sends out the target resource informationIt send to the mobile equipment 1;Then, the resource reception device 16 ' of mobile equipment 1 receives the network equipment 2 and is based on described theTwo download the provided target resource information of request.
Specifically, using loading unit 141 ' according to the application related information, loading and the application related information instituteCorresponding intended application, here, using the loading of loading unit 141 ' and the intended application corresponding to the application related informationMode applies loading device 14 to load with the mode of the intended application corresponding to the application related information identical or phase with Fig. 1Seemingly, for simplicity, therefore details are not described herein, and include by reference and this.
File generating unit 142 ' is according to the resource related information, generation and the corresponding practical writing of the intended applicationPart, wherein, the title of at least one file matches with the application file name in the application file, here, the applicationFile can be located at the browser that the user submits the described first browser for downloading the mobile equipment 1 corresponding during requestUnder file directory, as Mozilla download baidu AppSearch_baiduyingyin2012_20120717, also may be usedUnder the alternative document catalogue of the mobile equipment 1, such as mounted file download baidu AppSearch_baiduyingyin2012_20120717.It is submitted for example, it is assumed that user A moves equipment Samsung I9100GALAXY SII by itFirst audio-visual about target resource Baidu downloads request, such as audio-visual by mobile application client downloads Baidu of Baidu, vacationIf the target corresponding to the application related information received with information receiver 13 ' loaded using loading unit 141 'Using for Baidu's mobile application client, then file generating unit 142 ' is according to the resource related information, generation with applicationLoading unit 141 ' load the corresponding application file of the intended application Baidu mobile application client such as MozillaDownload baidu AppSearch_baiduyingyin2012_20120717.apk, be located at the mobile equipment 1Under the browser file directory of Mozilla browsers.
Document determining unit 151 ' is by intended application scanning and the relevant file directory of the intended application, with trueThe fixed and matched application file of application file famous prime minister;Wherein, the file directory includes following at least any one:
The user submits the browser text of the described first browser for downloading the mobile equipment corresponding during requestPart catalogue;
The all files catalogue that the mobile equipment includes;
The browser file directory for the invisible scanning that the network equipment is provided.
For example, when the file directory includes the movement corresponding when the user submits described first to download requestThe browser file directory of the browser of equipment, document determining unit 151 ' should with the target by intended application scanningWith relevant file directory, when determining application file matched with the application file famous prime minister, it is assumed that user A is set by its movementStandby Samsung I9100GALAXY SII have submitted first audio-visual about target resource Baidu and download request, are such as moved by BaiduIt is audio-visual that applications client downloads Baidu, it is assumed that information receiver 13 ' receives the network equipment 2 please based on the described first downloadIncluding with the target resource Baidu audio-visual corresponding resource related information of being there is provided is asked to determine the target resourceThe application file name of the audio-visual resource identification information of Baidu, such as AppSearch_baiduyingyin2012_20120717 are then literaryPart determination unit 151 ' generated by the intended application Baidu mobile application client scan file generating unit 142 ' withThe corresponding application file of the intended application Baidu mobile application client such as scans mobile equipment Samsung I9100GALAXYThe browser file directory of SII such as Mozilla browsers file directory, inquiry and application file name such as AppSearch_Baiduyingyin2012_20120717, the application file to match, by the entitled AppSearch_ of fileThe file of baiduyingyin2012_2012071 is as the application file.For another example, when the file directory includes the netThe browser file directory for the invisible scanning that network equipment is provided, document determining unit 151 ' by the intended application scanning withThe intended application relevant file directory when determining application file matched with the application file famous prime minister, also connects example, thenDocument determining unit 151 ' is generated by the intended application Baidu mobile application client scan file generating unit 142 'With the corresponding application file of the intended application Baidu mobile application client, the network equipment 2 provided as described in scanningThe browser file directory of invisible scanning, such as the browser file directory for the invisible scanning that the network equipment 2 is provided, such asMozilla browsers file directory, IE browser file directory, opera browsers file directory, safari browser file meshRecord etc., inquiry and application file name such as AppSearch_baiduyingyin2012_20120717, the application file to match,Using the file of the entitled AppSearch_baiduyingyin2012_2012071 of file as the application file.
Those skilled in the art will be understood that the above-mentioned mode determined with the matched application file of application file famous prime ministerIt is only for example, other modes determined with the matched application file of application file famous prime minister that are existing or being likely to occur from now onThe present invention is such as applicable to, should also be included within the scope of the present invention, and is incorporated herein by reference herein.
Preferably, document determining unit 151 ' passes through intended application scanning and the relevant file mesh of the intended applicationRecord, rule is determined according to scheduled file, is determined and the matched application file of application file famous prime minister;
Wherein, the scheduled file determines that rule includes following at least any one:
The file of predetermined file name naming rule will be met as the application file;
It is less than when the settling time of file with the time interval that the intended application is scanned to the current time corresponding to itDuring scheduled time threshold value, using the file as the application file;
Filename is met to the application file as described in of the file of predetermined regularity;
The file of specified file name will be met as the application file.
For example, when the scheduled file determines that rule includes to meet the file of predetermined file name naming rule as instituteWhen stating application file, document determining unit 151 ' by the intended application such as Baidu's mobile application client, scanning with it is describedThe intended application such as relevant file directory of Baidu's mobile application client, will meet filename and is started and met with appsearchThe file of appsearch_xxx_xxx.apk rules is the application file.For another example, when the scheduled file determines regular packetIt includes and is less than pre- timing when the settling time of file and the time interval of the current time corresponding to intended application scanning to itsBetween threshold value when, using the file as during the application file, document determining unit 151 ' passes through the intended application such as BaiduMobile application client, scanning and the intended application such as relevant file directory of Baidu's mobile application client, if filenameMeet the file such as appsearch_appid_time.apk of appsearch_xxx_xxx.apk rules, and the time of its establishmentIt is scanned with document determining unit 151 ' by the intended application to corresponding to this document appsearch_appid_time.apkThe difference of current time be less than scheduled time threshold value, then document determining unit 151 ' is by this document appsearch_appid_Time.apk is as the application file.Preferably, when the settling time of file such as appsearch_appid_time.apk withDocument determining unit 151 ' is more than predetermined time threshold by the difference of the current time corresponding to intended application scanning to itsDuring value, document determining unit 151 ' then judges that this document such as appsearch_appid_time.apk fails, and is deleted.AlsoSuch as, when the scheduled file determines that rule includes meeting filename into the practical writing as described in of the file of predetermined regularityDuring part, document determining unit 151 ' passes through the intended application such as Baidu's mobile application client, scanning and the intended applicationSuch as the relevant file directory of Baidu's mobile application client, such as filename appsearch_1586631501_120.apk, meetRegularity:^appsearch_ [0-9]+_ [0-9]+.apk $, then document determining unit 151 ' is by appsearch_1586631501_120.apk as the application file.
Those skilled in the art will be understood that it is above-mentioned according to scheduled file determine rule determine with the application file nameThe mode of the application file to match is only for example, other are existing or what is be likely to occur from now on determines to advise according to scheduled fileIt then determines that the mode with the matched application file of application file famous prime minister is such as applicable to the present invention, should also be included in the present inventionWithin protection domain, and it is incorporated herein by reference herein.
Marker extraction unit 152 ' is by the intended application, from the described and matched application file of application file famous prime ministerExtract the resource identification information, for example, it is assumed that document determining unit 151 ' determine with the application file name such asThe application file that AppSearch_baiduyingyin2012_2012071 matches is AppSearch_Baiduyingyin2012_2012071.apk, then marker extraction unit 152 ' is by the intended application, from this documentThe resource identification information is extracted in the filename of AppSearch_baiduyingyin2012_2012071.apk, such asbaiduyingyin2012。
Request transmitting unit 153 ' is according to the resource identification information, by the intended application, according to the communication of agreementMode, such as http, https communication protocol send to download about the second of the target resource to the network equipment 2 and askIt asks.
Correspondingly, the second request communication mode of the reception device 24 ' by agreement of the network equipment 2, such as http, httpsEtc. communication protocols, receive that intended application in the mobile equipment 1 initiated downloads request about the second of the target resource,Wherein, the intended application is corresponding with the application related information, wherein, described second downloads in request comprising resource identificationInformation.
Then, resource query device 25 ', such as according to baiduyingyin2012, is being provided according to the resource identification informationMatching inquiry is carried out in source information library, with acquisition and the corresponding target resource information of the target resource, as Baidu is audio-visualPackage informatin is installed.
Then, resource sending device 26 ' is by the communication mode of agreement, such as http, https communication protocol, will described inTarget resource information is sent to the mobile equipment 1.
Correspondingly, the resource reception device 16 ' for moving equipment 1 is logical by the communication mode of agreement, such as http, httpsBelieve agreement, receive the network equipment 2 and download the provided target resource information of request based on described second.
Those skilled in the art will be understood that the application loading unit 141 ' and text in a particular embodiment, moving equipment 1Part generation unit 142 ' can be parallel execution or serial execution, using loading unit 141 ' and file generatedUnit 142 ' can also be mutually independent module, can also integrate.
Fig. 3 shows that mobile equipment according to a further aspect of the present invention is realized to obtain target money with network equipment cooperationThe method flow diagram in source.
Specifically, in step sl, mobile equipment 1 obtain user by mobile equipment 1 submit about target resourceFirst downloads request;In step s 2, mobile equipment 1 downloads request by described first and is sent to the network equipment 2;Correspondingly, netNetwork equipment 2 receives and downloads request about the first of target resource transmitted by mobile equipment 1;In step s3, the network equipment 2It downloads and asks according to described first, matching inquiry is carried out in application message library, answered so that acquisition and the target resource are correspondingUse relevant information;In step s 4, the network equipment 2 by the application related information and with the corresponding resource of the target resourceRelevant information is sent to the mobile equipment 1;Then, mobile equipment 1 is received the network equipment 2 and is asked based on the described first downloadThe resource related information corresponding with the target resource provided and application related information are provided;In step s 5, movement is setStandby 1 according to the application related information, loading and the intended application corresponding to the application related information;In step s 6, it movesDynamic equipment 1 is sent to the network equipment 2 by the intended application and is provided about the target according to the resource related informationThe second of source downloads request;Correspondingly, the network equipment 2 receive that intended application in the mobile equipment 1 initiated about describedThe second of target resource downloads request, wherein, the intended application is corresponding with the application related information;In the step s 7,The network equipment 2 is downloaded according to described second and is asked, and matching inquiry is carried out in resource information bank, to obtain and the target resourceCorresponding target resource information;In step s 8, the target resource information is sent to the mobile equipment by the network equipment 21;Then, mobile equipment 1 receives the network equipment 2 and downloads the provided target resource information of request based on described second.
Here, mobile equipment 1, which can be any one, to carry out man-machine friendship by keyboard, touch screen, mouse etc. with userMutual electronic product, such as mobile phone, mobile equipment, PDA, vehicle-mounted computer etc..The network equipment 2 include but not limited to network host,The cloud that single network server, multiple network server collection or multiple servers are formed, wherein, cloud computing is Distributed CalculationOne kind, a super virtual computer being made of the computer collection of a group loose couplings.Here, cloud is by being based on cloud computingA large amount of computers or network server of (Cloud Computing) are formed.Between by network connection realize each other access andCommunication, here, network includes but not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, VPN network, wireless self-organization network(Ad Hoc networks) etc..Those skilled in the art will be understood that above-mentioned mobile equipment 1, the network equipment 2 are only for example, other are existingOr the mobile equipment or the network equipment that are likely to occur from now on be such as applicable to the present invention, should also be included in the scope of the present inventionWithin, and be incorporated herein by reference herein.
Specifically, in step sl, the application journey that mobile equipment 1 is provided by third party devices such as wap browsersSequence interface (API) either arranges communication mode or by dynamic web page techniques such as JSP, ASP by http, https etc., obtainsFamily is taken to ask by downloading about the first of target resource of submitting of mobile equipment 1, here, the target resource include can underThe resource of load, includes but not limited to:1) by a certain or a few particular task of completion of the developing operation on operating systemComputer applied algorithm, such as run on cell phone platform for example Android platform, symbain platforms, windows phone platforms,Application program on mac os x platforms etc.;2) application software, as media player Baidu is audio-visual, means of communication Baidu hi,Image processing software adobe etc.;3) shared document etc. can download resource.Here, the first download request includes downloading userApplication program search can be carried out by it, the download for the client downloaded is asked.Those skilled in the art will be understood that targetResource is only for example, other target resources that are existing or being likely to occur from now on are such as applicable to the present invention, should also be included in thisWithin invention protection domain, and it is incorporated herein by reference herein.
For example, user A is moved by it, equipment Samsung I9100GALAXY SII progress target resources such as Baidu is audio-visual to be searchedSuo Shi, user A input http in browser address bar://player.baidu.com/, by "enter" key", then user A pointsHit the download button audio-visual by mobile application client downloads Baidu of Baidu that the page of return includes such as " high-speed downloads ",Then in step sl, mobile equipment 1 just gets user A by the application programming interfaces (API) of browser and is set by its movementFirst audio-visual about target resource such as Baidu that standby Samsung I9100GALAXY SII are submitted downloads request.People in the artMember will be understood that above-mentioned acquisition user is only by way of the first download request about target resource that mobile equipment is submittedCiting, other users that obtain that are existing or being likely to occur from now on pass through under movement equipment is submitted first about target resourceThe mode for carrying request is such as applicable to the present invention, should also be included within the scope of the present invention, and wrap by reference hereinContained in this.
In step s 2, mobile communication mode of the equipment 1 by agreement, such as http, https communication protocol, by described inFirst, which downloads request, is sent to the network equipment 2.
Correspondingly, the network equipment 2 is received movement and is set by the communication mode of agreement, such as http, https communication protocolTransmitted by standby 1 request is downloaded about the first of target resource.
Then, in step s3, the network equipment 2 is downloaded according to described first and is asked, and is matched in application message libraryInquiry, with obtain with the corresponding application related information of the target resource, here, the application related information includes but unlimitedIn:1) with version information, the installation requirement of the corresponding intended application of the target resource etc.;2) it is opposite with the target resourceThe application program installation package informatin for the intended application answered;3) with the download link of the corresponding intended application of the target resourceLocation;4) with the update module content information of the version updating of the corresponding intended application of the target resource.For example, example is connected,In step s3, the network equipment 2 moves equipment Samsung according to the user A that it is received in step s 2 by itFirst audio-visual about target resource Baidu transmitted by I9100GALAXY SII downloads request, that is, passes through Baidu's mobile applicationClient downloads Baidu is audio-visual, then in step s3, the network equipment 2 according to this first download ask, in application message library intoRow matching inquiry, acquisition and the audio-visual corresponding application related information of the target resource Baidu, such as Baidu mobile application clientThe version information at end such as V1.0, installation requirement is as being suitble to android 2.1 and above Edition operating system, and resource name is such asAppSearch_baiduyingyin2012_20120717.apk, download link address such as http://as.baidu.com/aPre=web_am_header etc..Those skilled in the art will be understood that above application relevant information is only for example, other are existingOr the application related information that is likely to occur from now on be such as applicable to the present invention, should also be included within the scope of the present invention,And it is incorporated herein by reference herein.
In step s 4, the network equipment 2 is by the communication mode of agreement, such as http, https communication protocol, will described inApplication related information and it is sent to the mobile equipment 1 with the corresponding resource related information of the target resource.Specifically, existIn step S4, the network equipment 2 is first by modes such as field extraction, code conversion or combinations, according to it in step S2Provided in it is described first download request, obtain with the corresponding resource related information of the target resource;Then again by instituteCommunication mode of the application related information with resource related information by agreement, such as http, https communication protocol are stated, is sent toThe mobile equipment 1.Here, the resource related information includes but not limited to:1) the application program installation kit letter of target resourceBreath;2) information such as the version of target resource, renewal time;3) the download link address of target resource;4) resource of target resourceIdentification information, such as target resource ID;5) the system installation requirement information of target resource;6) for determining the money of the target resourceThe application file name of source identification information, as installation targets apply Baidu such as to move under locally-installed catalogue in the mobile equipment 1The filename of correspondence installation file generated after applications client, such as installation file application program AppSearch_baiduyingyin2012_20120717.apk.Those skilled in the art will be understood that above-mentioned resource related information is only for example,Other resource related informations that are existing or being likely to occur from now on are such as applicable to the present invention, should also be included in present invention protection modelWithin enclosing, and it is incorporated herein by reference herein.
Correspondingly, mobile equipment 1 receives the network by arranging communication mode, such as http, https communication protocolEquipment 2 downloads the resource related information corresponding to the target resource for asking to be provided based on described first and application is relatedInformation.
In step s 5, mobile equipment 1 is according to the application related information, corresponding to loading and the application related informationIntended application, here, the intended application include provide collection target resource search, download, management etc. functions with one visitorFamily end, as Baidu's mobile application client, apple App Store, Nokia Ovi Store, Google Google PlayStore etc..Here, loading and the mode of the intended application corresponding to the application related information include but not limited to:
If 1) do not install the intended application in mobile equipment 1, in step s 5, mobile equipment 1 is according to the applicationRelevant information, loading and the intended application corresponding to the application related information, the intended application as described in new installation, for example, falseIf user A moves equipment Samsung I9100GALAXY SII by it and has submitted first download audio-visual about target resource BaiduRequest, it is such as audio-visual by mobile application client downloads Baidu of Baidu, and in step s 4, mobile equipment 1 receives the netNetwork equipment 2 based on described first download that request provided related to the target resource such as Baidu audio-visual corresponding application believeCease application program installation kit, version information, system installation requirement for Baidu's mobile application client etc., then in step s 5,Mobile equipment 1 installs Baidu's mobile application client, peace according to the application related information in Samsung I9100GALAXY SIIAfter dress, and start Baidu's mobile application client.
2) if the intended application has been installed in mobile equipment 1, but the mounted intended application with it is existing mostNew version mismatches, i.e. the version of the intended application of the installation lacks plug-in unit or update module, then in step s 5, mobileEquipment 1 is inserted according to the application related information, loading and the intended application corresponding to the application related information as needed for installationPart or update module simultaneously start the intended application, for example, connecting example, it is assumed that its of user A moves equipment SamsungBaidu's mobile application client is already installed in I9100GALAXY SII, version V1.2 is then in step s 5, mobileEquipment 1 receives the network equipment 2 according to it in step s 4, and based on described first to download request being provided with the meshMark application program installation kit, the version of the audio-visual corresponding application related information of resource such as Baidu such as Baidu's mobile application clientInformation such as V2.0, installation requirement etc. install Baidu's mobile application client from V1.2 versions in Samsung I9100GALAXY SIIThe plug-in unit or update module being updated to needed for V2.0 versions start Baidu's mobile application client after installation update.
If 3) intended application is installed, but user is submitted by mobile equipment 1 about target resource in mobile equipment 1First intended application when downloading request it is not actuated, then in step s 5, mobile equipment 1 according to the application related information,Start the intended application, for example, also connecting example, it is assumed that its of user A is moved in equipment Samsung I9100GALAXY SIIBaidu's mobile application client is installed, and user A moves equipment Samsung I9100GALAXY SII by it and submits about targetResource first download request such as by mobile application client downloads Baidu of Baidu it is audio-visual when, the not actuated Samsungs of user AMounted Baidu's mobile application client in I9100GALAXY SII, then in step s 5, mobile equipment 1 is according to it in stepThe application related information received in rapid S4, starts Baidu's mobile application client.
Those skilled in the art will be understood that above-mentioned loading and the side of the intended application corresponding to the application related informationFormula is only for example, other existing or loadings being likely to occur from now on and the intended application corresponding to the application related informationMode is such as applicable to the present invention, should also be included within the scope of the present invention, and is incorporated herein by reference herein.
In step s 6, mobile equipment 1 is logical according to agreement by the intended application according to the resource related informationLetter mode, such as http, https communication protocol send to download about the second of the target resource to the network equipment 2 and askIt asks.Here, the second download request includes the download request for downloading the target resource, it is audio-visual such as to download Baidu.
Correspondingly, the network equipment 2 receives the movement by arranging communication mode, such as http, https communication protocolIn equipment 1 intended application initiated about the target resource second download request, wherein, the intended application with it is describedApplication related information is corresponding.
In the step s 7, the network equipment 2 is downloaded according to described second and is asked, and matching inquiry is carried out in resource information bank,To obtain and the corresponding target resource information of the target resource.Here, the target resource information is provided including the targetThe application program installation package informatin in source.For example, it is assumed that in step s 6, the network equipment 2 receives target in the mobile equipment 1Request is downloaded about the second of the target resource using what such as Baidu's mobile application client was initiated, it is audio-visual such as to download BaiduSecond download request, then in the step s 7, the network equipment 2 according to described second download ask, carried out in resource information bankMatching inquiry obtains and the audio-visual corresponding audio-visual application program installation package informatin of target resource information Baidu of Baidu.
In step s 8, the network equipment 2 is by the communication mode of agreement, such as http, https communication protocol, will described inTarget resource information is sent to the mobile equipment 1.
Then, mobile communication mode of the equipment 1 by agreement, such as http, https communication protocol, receive the networkEquipment 2 is downloaded based on described second and asks provided target resource information.
Preferably, in step s 6, mobile equipment 1 can also be according to the resource related information, with reference to the mobile equipment 1Resource state information, the target resource status information of the target resource is determined by the intended application;Then further according toThe target resource status information sends to the network equipment 2 about the target resource by the intended applicationTwo download request.It moves equipment 1 and further includes step S9 (not shown), specifically, in step s 9, move equipment 1 by the meshMark resource state information is supplied to the user.
Specifically, in step s 6, mobile equipment 1 calls the behaviour of the mobile equipment 1 by the intended application firstMake systematic difference routine interface (API) or specific file catalogue such as/data/data/ are scanned by the intended applicationSuffix under app is called for .apk (Android Package, Android installation kit) files or by the intended applicationThe application programming interfaces (API) of the application program installing firmware of the operating system of mobile equipment 1, such as grasp Andriod (Android)The mobile equipment 1 for making system can be according to Package Manager (package manager), to obtain the resource status of mobile equipment 1 letterBreath, then further according to the resource related information that equipment 1 receives in step s 4, is moved, with reference to the mobile equipment 1Resource state information determines the target resource status information of the target resource by the intended application;Then, in step S6In, mobile equipment 1 is sent to the network equipment 2 by the intended application and closed further according to the target resource status informationSecond in the target resource downloads request.Here, the resource state information includes but not limited to following at least any one:1) mounted application information in mobile equipment, has such as installed application program sogou input methods, google maps, mobile phoneQQ2012 (Android) etc.;2) relevant information of mounted application program in equipment, such as version information, set-up time are movedDeng.Here, the target resource status information includes but not limited to following at least any one:1) the installation letter of the target resourceBreath, as whether installed the target resource in the mobile equipment 1;2) version information of the target resource to be installed,System installation requirement etc..Those skilled in the art will be understood that above-mentioned resource state information is only lifted with target resource status informationExample, other resource state informations or target resource status information existing or be likely to occur from now on are such as applicable to the present invention,It should also be included within the scope of the present invention, and be incorporated herein by reference herein.
It is had submitted for example, it is assumed that user A moves equipment Samsung I9100GALAXY SII by it about target resource BaiduAudio-visual first downloads request, such as audio-visual by mobile application client downloads Baidu of Baidu, in step s 5, mobile equipment 1Receiving the network equipment 2 in step s 4 according to it, based on described first to download request being provided with the target resourceAs the application program installation kit of the audio-visual corresponding application related information of Baidu such as Baidu's mobile application client, version information,System installation requirement etc., installation Baidu mobile application client, installs in mobile equipment Samsung I9100GALAXY SIIAfterwards, and start Baidu's mobile application client, then in step s 6, mobile equipment 1 first should by the movement of intended application BaiduWith the application programming interfaces (API) of the operating system of client call movement equipment Samsung I9100GALAXY SII, movedIt is mounted in the resource state information of equipment Samsung I9100GALAXY SII, such as movement equipment Samsung I9100GALAXY SIIApplication program such as sogou input methods, google maps, mobile phone QQ2012 (Android) etc.;Then in step s 6, movement is setStandby 1 receives the network equipment 2 according to it in step s 4, and based on described first to download request being provided with the targetResource related information, such as target resource Baidu it is audio-visual application program installation package informatin, version information, resource ID, pass through meshThe target resource status information of the target resource such as non-installation targets resource that mark is determined using Baidu's mobile application clientBaidu is audio-visual.
Then, in step s 6, mobile equipment 1 is further according to the target resource status information, by the intended application,According to the communication mode of agreement, such as http, https communication protocol, sent to the network equipment 2 about the target resourceSecond download request.
Those skilled in the art will be understood that the mode of the resource state information of above-mentioned acquisition movement equipment is only for example,The mode of the resource state information of his the mobile equipment of acquisition that is existing or being likely to occur from now on is such as applicable to the present invention, also shouldWithin the scope of the present invention, and it is incorporated herein by reference herein.
Those skilled in the art will be understood that the mode of the above-mentioned target resource status information for determining the target resource onlyFor citing, other modes for the target resource status information for determining the target resource that are existing or being likely to occur from now on such as may be usedIt suitable for the present invention, should also be included within the scope of the present invention, and be incorporated herein by reference herein.
Then, in step s 9, communication mode of the equipment 1 according to agreement, such as http, https communication protocol are moved, it willThe target resource status information is supplied to the user, reads and selects for user.
Preferably, step S1, step S2, step S3, step S4, step S5, step S6, step S7 and step S8 are to continueConstantly work.Specifically, in step S 1, mobile equipment 1 persistently obtains user by the mobile submission of equipment 1 about meshMark resource first downloads request;In step s 2, mobile equipment 1 continues to download described first and asks to be sent to the network equipment2;Correspondingly, the network equipment 2 persistently receives and downloads request about the first of target resource transmitted by mobile equipment 1;In stepIn S3, the network equipment 2, which continues to download according to described first, asks, and matching inquiry is carried out in application message library, with acquisition and instituteState the corresponding application related information of target resource;In step s 4, the network equipment 2 continue by the application related information and withThe corresponding resource related information of target resource is sent to the mobile equipment 1;Then, mobile equipment 1 persistently receives instituteThe network equipment 2 is stated to download the resource related information corresponding with the target resource for asking to be provided based on described first and answerUse relevant information;In step s 5, mobile equipment 1 continues according to the application related information, loads letter related to the applicationThe corresponding intended application of breath;In step s 6, mobile equipment 1 continues according to the resource related information, passes through the targetIt is asked using sending to download about the second of the target resource to the network equipment 2;Correspondingly, the network equipment 2 persistently connectsThe second download request about the target resource that intended application in the mobile equipment 1 is initiated is received, wherein, the targetUsing corresponding with the application related information;In the step s 7, the network equipment 2 continues to download according to described second and ask,Matching inquiry is carried out in resource information bank, to obtain and the corresponding target resource information of the target resource;In step s 8,The network equipment 2 continues the target resource information being sent to the mobile equipment 1;Then, described in mobile equipment 1 persistently receivesThe network equipment 2 is downloaded based on described second and asks provided target resource information.Here, it will be understood by those skilled in the art that" lasting " refers to step S1, step S2, step S3, step S4, step S5, step S6, step S7 and step S8 respectively according to settingThe operating mode requirement of fixed or in due course adjustment carries out the acquisition of target resource, until in step sl, mobile equipment 1 is longerStopping obtains user and downloads request about the first of target resource by what mobile equipment 1 was submitted in time.
In a preferred embodiment (with reference to figure 3), wherein, mobile equipment 1 includes step S1, step S2, step S4, stepRapid S5, step S6, step S8, step S10 (not shown) and step S11 (not shown), the network equipment 2 include step S2, stepS3, step S4, step S6, step S12 (not shown), step S7, step S8 and step S10 (not shown), wherein, step S7 packetsInclude step S71 (not shown) and step S72 (not shown).The preferred embodiments are described below with reference to Fig. 3:Specifically,In step sl, mobile equipment 1 obtains user and is asked by the first download about target resource that mobile equipment 1 is submitted;In step S2, mobile equipment 1 downloads request by described first and is sent to the network equipment 2;Correspondingly, the network equipment 2 receives movementTransmitted by equipment 1 request is downloaded about the first of target resource;In step s3, the network equipment 2 is downloaded according to described firstRequest, carries out matching inquiry in application message library, to obtain and the corresponding application related information of the target resource;In stepIn rapid S4, the network equipment 2 is sent to by the application related information and with the corresponding resource related information of the target resourceThe mobile equipment 1;Then, mobile equipment 1 receive the network equipment 2 based on described first download that request provided with instituteState the corresponding resource related information of target resource and application related information;In step s 5, mobile equipment 1 is according to the applicationRelevant information, loading and the intended application corresponding to the application related information;In step s 6, mobile equipment 1 is according to describedResource related information sends to download about the second of the target resource and ask by the intended application to the network equipment 2It asks;Correspondingly, the network equipment 2 receives second about the target resource that intended application is initiated in the mobile equipment 1Request is downloaded, wherein, the intended application is corresponding with the application related information;In step s 12, the network equipment 2 obtainsThe equipment association attributes of the mobile equipment 1;In step S71, the network equipment 2 is downloaded according to described second and is asked, with reference to instituteEquipment association attributes are stated, determine the resource adaptation information being adapted with the mobile equipment of the target resource;In step S72In, the network equipment 2 carries out matching inquiry, to obtain and the target according to the resource adaptation information in resource information bankThe corresponding targeted fit resource information of resource;In step s 8, the targeted fit resource information is sent to by the network equipment 2The mobile equipment 1;Then, mobile equipment 1 receives the targeted fit that the network equipment 2 is provided based on resource adaptation informationResource information;In step slo, the resource adaptation information is sent to the mobile equipment 1 by the network equipment 2;Correspondingly, it movesDynamic equipment 1 receives the resource adaptation information that the network equipment 2 is provided;Then, in step s 11, mobile equipment 1 willThe resource adaptation information is supplied to the user.Here, step S1, step S2, step S3, step S4, step S5 and stepS6 and the content that step is corresponded in Fig. 3 embodiments are identical or essentially identical, for simplicity, repeat no more, wrap by referenceContained in this.
Specifically, in step s 12, the network equipment 2 obtains the equipment association attributes of the mobile equipment 1, wherein, it is describedEquipment association attributes include following at least any one:
The system configuration information of the mobile equipment;
The screen attribute information of the mobile equipment;
The current network information of the mobile equipment.
Here, the mode for obtaining the equipment association attributes of the mobile equipment includes but not limited to following at least any one:
1) according to the UA parameter informations of the browser of the mobile equipment, the equipment correlation category of the mobile equipment is obtainedProperty, for example, it is assumed that user A inputs http in browser address bar://player.baidu.com/, by "enter" key", thenUser A clicks the download button audio-visual by mobile application client downloads Baidu of Baidu such as " height that the page returned includesSpeed is downloaded ", and in step S1, the first download request that mobile equipment 1 is got includes the movement equipment SamsungThe UA parameter informations of the Mozilla browsers of I9100GALAXY SII are such as:User-Agent:Mozilla/5.0(Samsung;U;CPU Android OS 2.3;Zh-cn) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2Safari/6533.18.5), then in step s 12, the network equipment 2 can be obtained by the UA parameter informationsThe equipment association attributes of movement equipment iphone4s are got, such as operation system information " CPU Android OS 2.3 ",Unit type information " Samsung ", and then, in step s 12, the network equipment 2 can also be according to the operation system information, in equipmentParameter information is inquired in library, obtains the screen attribute information of the movement equipment, if screen width is 320px.
2) basis in step sl, moves the HTTP request data that the browser that equipment 1 obtains is sent to Resource ServerPacket content, to obtain the equipment association attributes of the mobile equipment, for example, it is assumed that user A is inputted in browser address barhttp://player.baidu.com/, by "enter" key", what the page that then user A clicks return included is moved by BaiduDynamic applications client downloads the audio-visual download button of Baidu such as " high-speed downloads ", and in step sl, and mobile equipment 1 gets clearFollowing Post message body of HTTP request data packet content that device of looking at is sent to Resource Server, wherein,<CR>Represent carriage return:
GET/player.baidu.com HTTP/1.1<CR>
Accept:Image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
Application/x-shockwave-flash,
Application/vnd.ms-powerpoint, application/msword, */*<CR>
Accept-Language:zh-cn<CR>
Accept-Encoding:Gzip, deflate<CR>
User-Agent:Mozilla/5.0(Samsung;U;CPU Android OS 2.3;zh-cn)AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2Mobile/8J2Safari/6533.18.5)<CR>
Host:player.baidu.com<CR>
Connection:Keep-Alive<CR>
<CR>
Then in step s 12, content such as " User-Agent of the network equipment 2 in the HTTP request data packet:Mozilla/5.0(Samsung;U;CPU Android OS 23;Zh-cn) AppleWebKit/533.17.9 (KHTML, likeGecko) Version/5.0.2Mobile/8J2Safari/6533.18.5) ", get the equipment class of the movement equipmentType information, such as operation system information " CPU Android OS 2.3 ", unit type information " Samsung ".
3) application programming interfaces (API) of the network connection state firmware of the operating system of equipment are moved by calling, such asThe mobile equipment of Andriod (Android) operating system can be obtained according to ConnectivityManager (connection manager)The current network information of the mobile equipment, such as network state information, network connection mode, here, the network connection modeIncluding but not limited to wireless network connection pattern, including:
I) wireless broadband network pattern, including but not limited to, Wi-Fi, WiMax;
II) wireless cellular network pattern, including but not limited to, WCDMA, CDMA2000, TD-SCDMA, HSPA, LTE etc..
Those skilled in the art will be understood that the mode of the equipment association attributes of above-mentioned acquisition movement equipment is only for example,The mode of the equipment association attributes of his the mobile equipment of acquisition that is existing or being likely to occur from now on is such as applicable to the present invention, also shouldWithin the scope of the present invention, and it is incorporated herein by reference herein.
Then, in step S71, the network equipment 2 is downloaded according to described second and is asked, with reference to the equipment association attributes,The resource adaptation information being adapted with the mobile equipment of the target resource is determined, here, the resource adaptation packetIt includes but is not limited to the advisory information of the target resource as provided a user, such as whether downloading immediately, suggesting the described of downloadVersion information of target resource etc..For example, when the equipment association attributes include the system configuration information of the mobile equipment,It is false when the network equipment 2 determines the resource adaptation information being adapted with the mobile equipment of the target resource in step S71If in step s 12, the system configuration attribute for the mobile equipment 1 that the network equipment 2 obtains includes " double-core 1.2GHz ", then existIn step S71, the network equipment 2 determines the mobile equipment 1 as high terminal according to the system configuration attribute, the determining targetThe resource adaptation information being adapted with the mobile equipment of resource is the target resource such as V2.0 versions of latest edition;It is falseIf in step s 12, the system configuration attribute for the mobile equipment 1 that the network equipment 2 obtains includes " 1GHz high passesSnapdragon processors, using Android2.3 operating systems ", then in step S71, the network equipment 2 is matched according to the systemIt puts attribute and determines the mobile equipment 1 as low side machine, the money being adapted with the mobile equipment of the determining target resourceSource Adapted information is the target resource such as V1.0 versions of minimum version.For another example, described in including when the equipment association attributesThe current network information of mobile equipment, in step S71, the network equipment 2 is determining the target resource with the mobile equipmentDuring the resource adaptation information being adapted, it is assumed that in step s 12, the current network for the mobile equipment 1 that the network equipment 2 obtainsInformation is GPRS connections, then in step S71, the determining target resource of the network equipment 2 is mutually fitted with the mobile equipmentWhether the resource adaptation information matched is included such as " downloading immediately ".
Those skilled in the art will be understood that the above-mentioned money being adapted with the mobile equipment for determining the target resourceThe mode of source Adapted information is only for example, other it is existing or be likely to occur from now on determine the target resource with the shiftingThe mode of resource adaptation information that dynamic equipment is adapted such as is applicable to the present invention, should also be included in the scope of the present invention withIt is interior, and be incorporated herein by reference herein.
In step S72, the network equipment 2 carries out matching inquiry according to the resource adaptation information in resource information bank,With obtain with the corresponding targeted fit resource information of the target resource, here, the targeted fit information includes but unlimitedIn such as described target resource version information etc. is adapted to what the mobile equipment was adapted.
In step s 8, the network equipment 2 is by the communication mode of agreement, such as http, https communication protocol, will described inTargeted fit resource information is sent to the mobile equipment 1.
Then, mobile communication mode of the equipment 1 by agreement, such as http, https communication protocol, receive the networkThe targeted fit resource information that equipment 2 is provided based on resource adaptation information.
In step slo, the network equipment 2 will be adapted to by the communication mode of agreement, such as http, https communication protocolThe resource adaptation information that determination unit determines is sent to the mobile equipment 1.
Correspondingly, mobile communication mode of the equipment 1 by agreement, such as http, https communication protocol, receive the netThe resource adaptation information that network equipment is provided.
Then, in step s 11, by the communication mode of agreement, such as http, https communication protocol, by the resourceAdapted information is supplied to the user, reads and selects for user.
Fig. 4 shows that mobile equipment in accordance with a preferred embodiment of the present invention is realized to obtain mesh with network equipment cooperationMark the method flow diagram of resource.
Specifically, in step S1 ', mobile equipment 1 obtain user by mobile equipment 1 submit about target resourceFirst downloads request;In step S2 ', mobile equipment 1 downloads request by described first and is sent to the network equipment 2;Correspondingly, netNetwork equipment 2 receives and downloads request about the first of target resource transmitted by mobile equipment 1;In step S3 ', the network equipment 2It downloads and asks according to described first, matching inquiry is carried out in application message library, it is corresponding with the target resource to obtainApplication related information;In step S4 ', the network equipment 2 by the application related information and with the target resource it is correspondingResource related information is sent to the mobile equipment 1, wherein, the resource related information includes determining the target resourceResource identification information application file name;Then, mobile equipment 1 is received the network equipment 2 and is asked based on the described first downloadThe resource related information corresponding with the target resource provided and application related information are provided, wherein, the resource is relatedInformation include for determine the target resource resource identification information application file name;In step S5 ', mobile equipment 1According to the application related information, loading and the intended application corresponding to the application related information;It is mobile in step S6 'Equipment 1 is sent to the network equipment about the target resource according to the resource related information by the intended applicationSecond download request;Correspondingly, the network equipment 2 receive that intended application in the mobile equipment 1 initiated about the meshMark resource second downloads request, wherein, the intended application is corresponding with the application related information;In step S7 ', netNetwork equipment 2 is downloaded according to described second and is asked, and matching inquiry is carried out in resource information bank, to obtain and the target resource phaseCorresponding target resource information;In step S8 ', the target resource information is sent to the mobile equipment by the network equipment 21;Then, mobile equipment 1 receives the network equipment 2 and downloads the provided target resource information of request based on described second.
Here, step S1 ', step S2 ', step S3 ', step S5 ', step S6 ', step S7 ' and step S8 ' respectively with figureThe content of step S1, step S2, step S3, step S5, step S6, step S7 and step S8 in 3 are identical or essentially identical, areIt for the sake of simplicity, repeats no more, is incorporated herein by reference.
Specifically, in step S4 ', the network equipment 2 passes through the communication mode of agreement, such as http, https communication protocolsView, the mobile equipment 1 is sent to by the application related information and with the corresponding resource related information of the target resource,Wherein, the resource related information include for determine the target resource resource identification information application file name.
Correspondingly, mobile communication mode of the equipment 1 by agreement, such as http, https communication protocol, receive the netNetwork equipment 2 asks the resource related information corresponding with the target resource provided and using phase based on the described first downloadClose information, wherein, the resource related information include for determine the target resource resource identification information application fileName, such as AppSearch_baiduyingyin2012_20120717.
Preferably, the step S5 ' of mobile equipment 1 includes step S51 ' and step S52 ', step S6 ' including step S61 ',Step S62 ' and step S63 '.Specifically, in step S51 ', mobile equipment 1 is according to the application related information, loading and instituteState the intended application corresponding to application related information;In step S52 ', mobile equipment 1 is raw according to the resource related informationInto with the corresponding application file of the intended application, wherein, in the application file title of at least one file with it is describedApplication file name matches;In step S61 ', mobile equipment 1 is scanned related to the intended application by the intended applicationFile directory, with determine with the matched application file of application file famous prime minister;In step S62 ', mobile equipment 1 passes throughThe intended application is from described with extracting the resource identification information in the matched application file of application file famous prime minister;In stepIn S63 ', mobile equipment 1 according to the resource identification information, by the intended application to the network equipment 2 send aboutThe second of the target resource downloads request;Correspondingly, the network equipment 2 receives intended application in the mobile equipment 1 and is initiatedAbout the target resource second download request, wherein, the intended application is corresponding with the application related information,In, described second downloads in request comprising resource identification information;In step S7 ', the network equipment 2 is believed according to the resource identificationBreath, carries out matching inquiry in resource information bank, to obtain and the corresponding target resource information of the target resource;In stepIn S8 ', the target resource information is sent to the mobile equipment 1 by the network equipment 2;Then, mobile equipment 1 receives the netNetwork equipment 2 is downloaded based on described second and asks provided target resource information.
Specifically, in step S51 ', mobile equipment 1 loads related to the application according to the application related informationIntended application corresponding to information, here, in step S51 ', corresponding to the mobile loading of equipment 1 and the application related informationIntended application mode and Fig. 3 in step s 5, the mobile loading of equipment 1 and the target corresponding to the application related informationThe mode of application is same or similar, and for simplicity, therefore details are not described herein, and include by reference and this.
In step S52 ', mobile equipment 1 generates corresponding with the intended application according to the resource related informationApplication file, wherein, the title of at least one file matches with the application file name in the application file, here, instituteThe described first browser for downloading the mobile equipment 1 corresponding during request can be submitted positioned at the user by stating application fileUnder browser file directory, as Mozilla download baidu AppSearch_baiduyingyin2012_20120717, may be alternatively located under the alternative document catalogue of the mobile equipment 1, such as mounted file download baiduAppSearch_baiduyingyin2012_20120717.For example, it is assumed that user A moves equipment Samsung by itI9100GALAXY SII have submitted first audio-visual about target resource Baidu and download request, such as pass through Baidu mobile application visitorIt is audio-visual that Baidu is downloaded at family end, it is assumed that in step S51 ', what mobile equipment 1 loaded receives described with it in step S4 'Intended application corresponding to application related information is Baidu's mobile application client, then in step S52 ', 1 basis of mobile equipmentThe resource related information, the intended application Baidu mobile application client phase loaded in step S51 ' with it of generationCorresponding application file such as Mozilla download baidu AppSearch_baiduyingyin2012-20120717.apk, under the browser file directory of the Mozilla browsers of the mobile equipment.
In step S61 ', mobile equipment 1 passes through intended application scanning and the relevant file mesh of the intended applicationRecord, to determine and the matched application file of application file famous prime minister;Wherein, the file directory includes following at least any:
The user submits the browser text of the described first browser for downloading the mobile equipment corresponding during requestPart catalogue;
The all files catalogue that the mobile equipment includes;
The browser file directory for the invisible scanning that the network equipment is provided.
For example, when the file directory includes the movement corresponding when the user submits described first to download requestThe browser file directory of the browser of equipment, in step S61 ', mobile equipment 1 by the intended application scan with it is describedThe relevant file directory of intended application, when determining application file matched with the application file famous prime minister, it is assumed that user A passes through itMobile equipment Samsung I9100GALAXY SII have submitted first audio-visual about target resource Baidu and download request, such as pass through hundredIt is audio-visual to spend mobile application client downloads Baidu, it is assumed that in step S4 ', mobile equipment 1 receives the network equipment 2 and is based on instituteThat states that the first download request provided includes determining with the target resource Baidu audio-visual corresponding resource related informationThe application file name of the audio-visual resource identification information of the target resource Baidu, such as AppSearch_baiduyingyin2012_20120717, then in step S61 ', mobile equipment 1 by the intended application Baidu mobile application client scan its in stepGenerate in rapid S52 ' with the corresponding application file of the intended application Baidu mobile application client, such as scan mobile equipmentThe browser file directory of Samsung I9100GALAXY SII such as Mozilla browsers file directory, inquiry and application file name are such asAppSearch_baiduyingyin2012_20120717, the application file to match, by the entitled AppSearch_ of fileThe file of baiduyingyin2012_2012071 is as the application file.For another example, when the file directory includes the netThe browser file directory for the invisible scanning that network equipment is provided, in step S61 ', mobile equipment 1 passes through the intended applicationScanning and the intended application relevant file directory when determining application file matched with the application file famous prime minister, also connectUpper example, then in step S61 ', mobile equipment 1 by the intended application Baidu mobile application client scan its in stepS52 ' is middle generating with the corresponding application file of the intended application Baidu mobile application client, and the network as described in scanning is setThe browser file directory of standby 2 invisible scannings provided, the browser of the invisible scanning text provided such as the network equipment 2Part catalogue, as Mozilla browsers file directory, IE browser file directory, opera browsers file directory, safari are clearLook at device file directory etc., inquiry and application file name such as AppSearch_baiduyingyin2012_20120717 matchApplication file, using the file of the entitled AppSearch_baiduyingyin2012_2012071 of file as the application file.
Those skilled in the art will be understood that the above-mentioned mode determined with the matched application file of application file famous prime ministerIt is only for example, other modes determined with the matched application file of application file famous prime minister that are existing or being likely to occur from now onThe present invention is such as applicable to, should also be included within the scope of the present invention, and is incorporated herein by reference herein.
Preferably, in step S61 ', mobile equipment 1 is scanned relevant with the intended application by the intended applicationFile directory determines rule according to scheduled file, determines and the matched application file of application file famous prime minister;
Wherein, the scheduled file determines that rule includes following at least any one:
The file of predetermined file name naming rule will be met as the application file;
It is less than when the settling time of file with the time interval that the intended application is scanned to the current time corresponding to itDuring scheduled time threshold value, using the file as the application file;
Filename is met to the application file as described in of the file of predetermined regularity;
The file of specified file name will be met as the application file.
For example, when the scheduled file determines that rule includes to meet the file of predetermined file name naming rule as instituteWhen stating application file, in step S61 ', mobile equipment 1 passes through the intended application such as Baidu's mobile application client, scanningWith the intended application such as relevant file directory of Baidu's mobile application client, will meet filename started with appsearch,And the file for meeting appsearch_xxx_xxx.apk rules is the application file.For another example, when the scheduled file determinesRule includes with the time interval that the intended application is scanned to the current time corresponding to it being less than when the settling time of fileDuring scheduled time threshold value, using the file as during the application file, in step S61 ', mobile equipment 1 passes through the meshMark application such as Baidu's mobile application client, scanning and the relevant file mesh of the intended application such as Baidu's mobile application clientRecord, if filename meets the file such as appsearch_appid_time.apk of appsearch_xxx_xxx.apk rules, and itsThe time of establishment passes through intended application scanning to this document appsearch_ in step S61 ', moving equipment 1The difference of current time corresponding to appid_time.apk is less than scheduled time threshold value, then in step S61 ', mobile equipment 1Using this document appsearch_appid_time.apk as the application file.Preferably, as file such as appsearch_The settling time of appid_time.apk in step S61 ', mobile equipment 1 is right to its institute by intended application scanningWhen the difference for the current time answered is more than scheduled time threshold value, in step S61 ', mobile equipment 1 then judges this document such asAppsearch_appid_time.apk fails, and is deleted.Also such as, when the scheduled file determines that rule is included fileDescribed in the conduct of file that name meets predetermined regularity during application file, in step S61 ', mobile equipment 1 passes through the meshMark application such as Baidu's mobile application client, scanning and the relevant file mesh of the intended application such as Baidu's mobile application clientRecord, such as filename appsearch_1586631501_120.apk, meets regularity:^appsearch_[0-9]+_[0-9]+ .apk $, then in step S61 ', mobile equipment 1 is using appsearch_1586631501_120.apk as the practical writingPart.
Those skilled in the art will be understood that it is above-mentioned according to scheduled file determine rule determine with the application file nameThe mode of the application file to match is only for example, other are existing or what is be likely to occur from now on determines to advise according to scheduled fileIt then determines that the mode with the matched application file of application file famous prime minister is such as applicable to the present invention, should also be included in the present inventionWithin protection domain, and it is incorporated herein by reference herein.
In step S62 ', mobile equipment 1 is by the intended application, from the described and matched application of application file famous prime ministerThe resource identification information is extracted in file, for example, it is assumed that in step S61 ', mobile equipment 1 is determining with the practical writingThe application file that part name such as AppSearch_baiduyingyin2012_2012071 matches is AppSearch_Baiduyingyin2012_2012071.apk, then in step S62 ', mobile equipment 1 is by the intended application, from this articleThe resource identification information is extracted in the filename of part AppSearch_aiduyingyin2012_2012071.apk, such asbaiduyingyin2012。
In step S63 ', mobile equipment 1 is according to the resource identification information, by the intended application, according to agreementCommunication mode, such as http, https communication protocol, under second that the network equipment 2 sends about the target resourceCarry request.
Correspondingly, the network equipment 2 receives the shifting by the communication mode of agreement, such as http, https communication protocolWhat intended application was initiated in dynamic equipment 1 downloads request about the second of the target resource, wherein, the intended application and instituteIt is corresponding to state application related information, wherein, described second downloads in request comprising resource identification information.
Then, in step S7 ', the network equipment 2 is according to the resource identification information, such as basisBaiduyingyin2012 carries out matching inquiry in resource information bank, to obtain and the corresponding target of the target resourceResource information, the audio-visual installation package informatin such as Baidu.
Then, in step S8 ', the network equipment 2 by the communication mode of agreement, such as http, https communication protocol,The target resource information is sent to the mobile equipment 1.
Correspondingly, mobile communication mode of the equipment 1 by agreement, such as http, https communication protocol, receive the netNetwork equipment 2 is downloaded based on described second and asks provided target resource information.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, can adoptIt is realized with application-specific integrated circuit (ASIC), general purpose computer or the similar hardware device of any auxiliary.In one embodimentIn, software program of the invention can perform to realize steps described above or function by processor.Similarly, it is of the inventionSoftware program can be stored in computer readable recording medium storing program for performing (including relevant data structure), for example, RAM memory,Magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the present invention, exampleSuch as, as coordinating with processor so as to perform the circuit of each step or function.
In addition, the part of the present invention can be applied to computer program product, such as computer program instructions, when its quiltWhen computer performs, by the operation of the computer, it can call or provide according to the method for the present invention and/or technical solution.And the program instruction of the method for the present invention is called, it is possibly stored in fixed or moveable recording medium and/or passes throughBroadcast or auxiliary signal carry the data flow in media and are transmitted and/or are stored according to described program instruction operationIn the working storage of computer equipment.Here, including a device according to one embodiment of present invention, which includes usingMemory in storage computer program instructions and processor for executing program instructions, wherein, when the computer program refers toWhen order is performed by the processor, method and/or skill of the device operation based on aforementioned multiple embodiments according to the present invention are triggeredArt scheme.
It is obvious to a person skilled in the art that the present invention is not limited to the details of above-mentioned exemplary embodiment, Er QieIn the case of without departing substantially from spirit or essential attributes of the invention, can the present invention be realized with the concrete form of auxiliary.Therefore, no matterFrom the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended powerProfit requirement rather than above description limit, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claimsVariation includes within the present invention.Any reference numeral in claim should not be considered as to the involved claim of limitation.ThisOutside, it is clear that one word of " comprising " is not excluded for auxiliary unit or step, and odd number is not excluded for plural number.That is stated in device claim is multipleUnit or device can also be realized by a unit or device by software or hardware.The first, the second grade words are used for tableShow title, and do not represent any particular order.