CN103957234A - Method for sending download files in browser and browser device - Google Patents

Method for sending download files in browser and browser device Download PDF

Info

Publication number
CN103957234A
CN103957234A CN201410126673.1A CN201410126673A CN103957234A CN 103957234 A CN103957234 A CN 103957234A CN 201410126673 A CN201410126673 A CN 201410126673A CN 103957234 A CN103957234 A CN 103957234A
Authority
CN
China
Prior art keywords
download
installation kit
file
equipment
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410126673.1A
Other languages
Chinese (zh)
Other versions
CN103957234B (en
Inventor
熊鹏
张敏仪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410126673.1A priority Critical patent/CN103957234B/en
Publication of CN103957234A publication Critical patent/CN103957234A/en
Application granted granted Critical
Publication of CN103957234B publication Critical patent/CN103957234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method for sending download files in a browser and a browser device. The method includes the steps that triggering of a file downloading event is identified in a current webpage; a file requested to be downloaded currently is detected as a first type software install package; a download window is loaded in the browser, and the download window comprises a transmission inlet for conducting transmission in a first device corresponding to the first type software install package, and the transmission inlet is in communication with the first device; the transmission inlet sends the first type software install package into the first device. The first type software install package is sent into the first device through the transmission inlet, downloading and installing procedures of the software install package are simplified, the software install package can be obtained fast, and operation is simple and convenient.

Description

The sending method of download file and browser device in browser
Technical field
The present invention relates to field of computer technology, particularly relate to sending method and a kind of browser device of download file in a kind of browser.
Background technology
Web browser is the file in display web page server or archives economy, and allows a kind of software of user and these file interactions, is the client-side program that user often uses.It is used for being presented at word, image and other information in World Wide Web (WWW) or local local networking etc.These words or image, can be the hyperlink that connects other network address, and user can browse rapidly and easily various information.Webpage adopts the form of HTML (HyperText Mark-up Language, HTML) conventionally.Some webpage is to need to use specific browser correctly to show.Web browser common in PC is as Firefox, Maxthon and the Safari etc. of Internet Explorer, the Opera of Microsoft, Mozilla.Wherein World Wide Web (WWW) is maximum link file network library, the whole world.
At present, this locality that uses web browser that the installation kit of software is downloaded to computer is very common a kind of means, thereby can carry out the installation of program so that user moves the installation kit file of download.For example in Windows, download office installation bag, and after download completes, move this installation kit and carry out the installation of office program.
But, when user uses the browser downloads mobile terminal software program installation kit of the PC terminals such as computer, often complete after download, also this installation kit to be sent in mobile terminal, in mobile terminal, manually search this installation kit again and could download software, method is loaded down with trivial details, uses inconvenience very.
Summary of the invention
In view of the above problems, the present invention has been proposed to sending method and the corresponding browser device of download file in a kind of browser that overcomes the problems referred to above or address the above problem are at least in part provided.
According to one aspect of the present invention, the sending method of download file in a kind of browser is provided, comprising: in current web page, recognize the triggering of file download event; The file that detects current request download is first kind software installation kit; In browser, load a download window, this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection; By described transmission entrance, first kind software installation kit is sent in the first equipment.
Alternatively, after the described triggering that recognizes file download event in current web page, also comprise: receive the request response according to the triggering feedback of described file download event; The file type that parses the file of request download from described request response is detected.
Alternatively, the file that described detection current request is downloaded is after first kind software installation kit, also comprise: obtain the mount message of described first kind software installation kit according to the request response of the triggering feedback to described file download event, wherein said mount message comprises download address and the descriptor of described first kind software installation kit; Generate the Download Info of described installation kit according to described mount message, and show described Download Info in described download window.
Alternatively, the described mount message of described foundation generates the Download Info of described installation kit, and show described Download Info in described download window, comprising: adopt Quick Response Code generating algorithm to process described mount message, generate the Quick Response Code original character string of described installation kit; Concatenate into Quick Response Code according to described Quick Response Code original character, and show described Quick Response Code in described download window, carry out the download of installation kit so that described the first equipment parses the mount message of described installation kit from the Quick Response Code of taking.
Alternatively, describedly by described transmission entrance, first kind software installation kit is sent in the first equipment, comprise: when after the download acknowledge message receiving according to described download window feedback, the download address of described first kind software installation kit is sent to described the first equipment by described transmission entrance, to download described installation kit in described the first equipment.
According to another aspect of the present invention, provide a kind of browser device, having comprised: identification module, for recognize the triggering of file download event at current web page; Detection module, the file of downloading for detection of current request is first kind software installation kit; Window load-on module, for load a download window at browser, this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection; Transport module, for sending to the first equipment by described transmission entrance by first kind software installation kit.
Preferably, also comprise: communication module, for receiving the request response according to the triggering feedback of described file download event; Described detection module, also for detecting the file type that parses the file of request download from described request response.
Preferably, also comprise: acquisition of information module, the mount message that obtains described first kind software installation kit for the request response of the triggering feedback according to described file download event, wherein said mount message comprises download address and the descriptor of described first kind software installation kit; Generate the Download Info of described installation kit according to described mount message; Described window load-on module, also for showing described Download Info at described download window.
Preferably, described acquisition of information module, for adopting Quick Response Code generating algorithm to process described mount message, generates the Quick Response Code original character string of described installation kit; Described window load-on module, for concatenating into Quick Response Code according to described Quick Response Code original character, and show described Quick Response Code in described download window, so that parsing the mount message of described installation kit from the Quick Response Code of taking, described the first equipment carries out the download of installation kit.
Preferably, described transport module, after the download acknowledge message when receiving according to described download window feedback, the download address of described first kind software installation kit is sent to described the first equipment by described transmission entrance, to download described installation kit in described the first equipment.
According to the sending method of download file in browser of the present invention, to recognize the triggering of file download event in webpage, if detecting the file of current request download is first kind software installation kit, in browser, load a download window, this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection, thereby by this transmission entrance, first kind software installation kit is sent in the first equipment, simplify the download of software installation kit, installation procedure, can obtain fast software installation kit, easy and simple to handle.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Brief description of the drawings
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skill in the art.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the flow chart of steps of the sending method embodiment of download file in browser according to an embodiment of the invention;
Fig. 2 shows the flow chart of steps of the optional embodiment of sending method of download file in browser according to an embodiment of the invention;
Fig. 3 shows and downloads according to an embodiment of the invention window schematic diagram;
Fig. 4 A shows the structured flowchart of browser device embodiment according to an embodiment of the invention;
Fig. 4 B shows the structured flowchart of browser device embodiment according to an embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, but should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can be by the those skilled in the art that conveys to complete the scope of the present disclosure.
The embodiment of the present invention provides the sending method of download file in a kind of browser, to recognize the triggering of file download event in webpage, if detecting the file of current request download is first kind software installation kit, in browser, load a download window, this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection, thereby by this transmission entrance, first kind software installation kit is sent in the first equipment, simplify the download of software installation kit, installation procedure, can obtain fast software installation kit, easy and simple to handle.
Embodiment mono-
With reference to Fig. 1, show the flow chart of steps of the sending method embodiment of download file in browser according to an embodiment of the invention, specifically can comprise the steps:
Step 102 recognizes the triggering of file download event in current web page.
Browser is opened webpage or download, is in fact all to initiate network request, and the data type difference of returning according to network, carries out different disposal, is html web page such as what return, just opens webpage; What return is file type, with regard to download file, for example, while download, in webpage, may have download button or the download address etc. of a certain resource, can trigger file download event by clicking download button or download address.In the present embodiment, the triggering of file download event refers to the triggering of click that file is downloaded, for example, clicked the request of the download file URL that a download button triggers.As in the time that user clicks download button, browser can recognize the triggering of file download event in current web page.
Step 104, the file that detects current request download is first kind software installation kit.
Trigger after file download event, can send download request to the server of this file of storage, server can feed back corresponding request response, thereby can know the information of current request download file, thereby this file is detected, determine that the file that current request is downloaded is first kind software installation kit.
Step 106 loads a download window in browser.
Can in browser, load and download window, wherein this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection, and browser can communicate with the first equipment by this transmission entrance.
Step 108, sends to first kind software installation kit in the first equipment by described transmission entrance.
First kind software installation kit can be sent to the first equipment by this transmission entrance, wherein, can directly send this first kind software installation kit, also can send the descriptor of this first kind software installation kit, as download address etc.
In sum, to recognize the triggering of file download event in webpage, if detecting the file of current request download is first kind software installation kit, in browser, load a download window, this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection, thereby by this transmission entrance, first kind software installation kit is sent in the first equipment, simplify the download of software installation kit, installation procedure, can obtain fast software installation kit, easy and simple to handle.
Embodiment bis-
On the basis of above-described embodiment, the present embodiment is further discussed the sending method of download file.
With reference to Fig. 2, show the flow chart of steps of the optional embodiment of sending method of download file in browser according to an embodiment of the invention, specifically can comprise the steps:
Step 202 recognizes the triggering of file download event in current web page.
Step 204, receives the request response according to the triggering feedback of described file download event.
Step 206, detects the file type that parses the file of request download from described request response.
Trigger after file download event, can send download request to the server of this file of storage, server can feed back corresponding request response, receives after this request response, can from request response, parse the file that request is downloaded, the file type of the file of then this request being downloaded is resolved.
In the time asking the file type of the file of downloading to be installation kit file, execution step 208; In the time asking the file type of the file of downloading to be non-installation kit file, execution step 210.
Step 208, the file type of the file of downloading according to described request, the download window of the process that establishment is mated with described file type.
Step 210 loads the mount message of the corresponding installation kit of described file type in the download window of described process.
Browser is supported the network request of different agreement, and such as HTTP, HTTPS or FTP etc., open webpage or download conventionally, and the data format great majority of network request are to observe http protocol.Http protocol comprises a lot of contents, wherein has a field ContentType, is used for representing the type of data.
In the present embodiment, installation kit file including number of different types, as .exe executable file, and for example installation kit apk file of Android (andriod) etc., if application/vnd.android.package-archive is a type for representing apk file.In the time detecting that the file type of the file that described request is downloaded is installation kit file, can create according to different file types the download window of the process of mating with described file type, and then in this download window, load the mount message of the corresponding installation kit of described file type.
Therefore, in an optional embodiment, the file type of local downloaded file is detected, and according to the file type of downloaded file described in testing result, described downloaded file is sent to corresponding equipment by described transmission entrance.Wherein, when the file type of file of downloading when the request of being resolved to is first kind software, by the transmission entrance of downloading window, described first kind software installation kit is sent in described the first equipment.When the file type of file of downloading when the request of being resolved to is Second Type software, by the transmission entrance of described download window, described Second Type software installation kit is sent in described the second equipment.
For example, the type of the file of downloading for browser side, can match according to different types the startup that different ejection dialog boxes replaces original downloading process, and the type of APK just adopts the transmission of the delivery means of andoid mobile phone in this way; If the APP file of ipa form, use exactly the delivery means (as instruments such as mobile phone assistants) of ipad, iphone to send, the and for example download of the file to non-installation kit type, can carry out follow-up corresponding transmission or download according to being transferred on mobile phone or to local options.
Sending method taking first kind software installation kit is discussed as example, and the software installation kit of other types similarly, repeats no more.
In optional embodiment of the present invention, the file that described detection current request is downloaded is after first kind software installation kit, comprise: obtain the mount message of described first kind software installation kit according to the request response of the triggering feedback to described file download event, wherein said mount message comprises download address and the descriptor of described first kind software installation kit; Generate the Download Info of described installation kit according to described mount message, and show described Download Info in described download window.
The request response of the triggering feedback to described file download event comprises the mount message of first kind software installation kit, described mount message comprises download address and the descriptor of described first kind software installation kit, and described descriptor can comprise: the information such as dbase, software version, installation kit size.
After obtaining this mount message, can generate according to this mount message the Download Info of first kind software installation kit, in described download window, show described Download Info, as dbase, download address, installation kit size etc.
Preferably, the described mount message of described foundation generates the Download Info of described installation kit, and show described Download Info in described download window, comprising: adopt Quick Response Code generating algorithm to process described mount message, generate the Quick Response Code original character string of described installation kit; Concatenate into Quick Response Code according to described Quick Response Code original character, and show described Quick Response Code in described download window, carry out the download of installation kit so that described the first equipment parses the mount message of described installation kit from the Quick Response Code of taking.
In actual treatment, can adopt the form of Quick Response Code to show, wherein, Quick Response Code (QR (Quick Response) code), claim again two-dimensional bar code, it is the chequered with black and white figure above distributing in plane (two-dimensional directional) according to certain rules with specific geometric figure, is a key of all information datas.Adopt Quick Response Code generating algorithm to process described mount message, the Quick Response Code original character string of the mount message that generation comprises installation kit, then corresponding Quick Response Code concatenated in this Quick Response Code original character of browser resolves, and show this Quick Response Code in download window.
The first equipment can adopt camera to take this Quick Response Code, then resolves this Quick Response Code and obtains mount message wherein, as download address, thereby according to this mount message, first kind software installation kit is downloaded and is installed.
In optional embodiment of the present invention, describedly by described transmission entrance, first kind software installation kit is sent in the first equipment, comprise: when after the download acknowledge message receiving according to described download window feedback, the download address of described first kind software installation kit is sent to described the first equipment by described transmission entrance, to download described installation kit in described the first equipment.
Downloading after window demonstration Download Info, can will transmit this first kind software installation kit or related download information by transmission entrance, can receive the download message of the first equipment feedback, as can feed back download acknowledge message while confirming to download, then the download address of described first kind software installation kit can be sent to described the first equipment by described transmission entrance, the first equipment can be downloaded first kind software installation kit according to this download address.
In optional embodiment of the present invention, describedly by described transmission entrance, first kind software installation kit is sent in the first equipment, comprise: according to configuring at least one account information in configuration information, by described transmission entrance, the Download Info of described first kind software installation kit is sent to the first equipment corresponding to described account information.
When user uses browser, conventionally can adopt account information to login, thereby preserve better the contents such as browsing information, because same browser may be logined by multiple accounts, therefore can configure corresponding configuration information, record therein at least one accounts information, and the first equipment corresponding to account information, while being mobile phone as the first equipment, can record the phone number of user name and the first equipment in accounts information, thereby determine and obtaining after the Download Info of first kind software installation kit, by transmission entrance, this Download Info is transferred to the first equipment corresponding to this account information.
For example, when use mobile phone assistant's same account sends different equipment, can optionally configure in browser side, which associate device the file that chooses current download need to be synchronized in, and mobile phone assistant will carry out the simultaneous operation of corresponding associate device while being connected like this.
In optional embodiment of the present invention, by described transmission entrance, first kind software installation kit is sent in the first equipment, comprising: described first kind software installation kit is downloaded; Adopt described transmission entry call third party transfer assembly, described first kind software installation kit and corresponding descriptor are formed to the data flow of initialize format; Described data flow is sent to described the first equipment by call driver interface, so that described the first equipment is installed described first kind software installation kit by resolving described data flow.
When described first kind software installation kit is downloaded, can adopt described transmission entry call third party transfer assembly, as mobile phone assistant PC end etc., described first kind software installation kit and corresponding descriptor be formed to the data flow of initialize format.Can defined file type, file name, file size in the data flow of initialize format and ask the data such as valency content, then described data flow is sent to described the first equipment by call driver interface, after on the first equipment, corresponding third party transfer assembly (as mobile phone assistant mobile terminal) receives data flow, this data flow is resolved and obtained corresponding first kind software installation kit, thereby install on the first equipment.
One download window schematic diagram as shown in Figure 3, this download window focus acquiescence is on " key is installed " button.After clicking " key is installed ", the title of apk and address are issued mobile phone assistant pc end by browser, and click " cancellation " or X button can be closed download window, click " only downloading to computer ", a key is installed mobile phone software window and is closed, and carries out according to the original download logic of secure browser.Wherein, Quick Response Code link can be the network download address of this apk.
Wherein, file download process can not occur in browser, browser can be only by the name of the URL of download file or download file, version informations etc. send to mobile phone assistant's transmission assembly, transmission assembly only sends the name of URL or download file, in the mobile client of version information machine aided hand in one's hands, mobile phone assistant can use the name of URL or download file, version information provides corresponding installation kit file after searching for its background server, thereby avoid the installation kit failed download of browser place download and cause this installation kit bust this.Owing to can preserving the application of number of different types in mobile phone assistant's background server, therefore will be according to the definite corresponding installation kit of name, the version information etc. of corresponding URL, download file, guarantee at a high speed, stable download.
Step 212, downloads described non-installation kit file according to the download address in described request response, or sends the download address of described non-installation kit file according to described request response.
In the time detecting that the file type of the file that described request is downloaded is non-installation kit file, browser can directly be downloaded this non-installation kit file according to the download address in this request response, if equipment also will be accepted this non-installation kit file, can give this equipment by transfer files, also can directly download address be sent to corresponding equipment, voluntarily this non-installation kit file be downloaded by equipment.
In optional embodiment of the present invention, can work as when described download window is triggered to local preservation, in described browser, start independent downloading process; Adopt described independent process to download described installation kit, and be kept at this locality.
In the time adopting browsers local to download file, while described download window being triggered to local preservation, can in browser, open a downloading process independently, adopt this independently to download and carry out the files such as installation kit to download and be stored in this locality, after this adopt again third party's download component etc. to send to other equipment.
In the embodiment of the present invention, between transmission entrance and equipment, there is communication connection, this communication connection comprises wired connection (as adopted fiber optic cables) and wireless connections, wherein said wireless connections adopt following any one communication mode: Wireless Fidelity (WIreless-FIdelity, Wifi), 3G (Third Generation) Moblie technology (3rd-Generation, 3G), general packet radio service technology (General Packet Radio Service, GPRS) the and four third-generation mobile communication technology (the4Generation mobile communication technology, 4G) etc.
For embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not subject to the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action might not be that the embodiment of the present invention is necessary.
Embodiment tri-
With reference to Fig. 4 A, show the structured flowchart of browser device embodiment according to an embodiment of the invention, specifically can comprise as lower module:
The embodiment of the present invention also provides a kind of browser device, comprising: identification module 401, detection module 402, window load-on module 403 and transport module 404.
Wherein: identification module 401, for recognize the triggering of file download event at current web page; Detection module 402, the file of downloading for detection of current request is first kind software installation kit; Window load-on module 403, for load a download window at browser, this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection; Transport module 404, for sending to the first equipment by described transmission entrance by first kind software installation kit.
In sum, to recognize the triggering of file download event in webpage, if detecting the file of current request download is first kind software installation kit, in browser, load a download window, this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection, thereby by this transmission entrance, first kind software installation kit is sent in the first equipment, simplify the download of software installation kit, installation procedure, can obtain fast software installation kit, easy and simple to handle.
On the basis of above-described embodiment, continue to discuss the optional structure of this browser device.
With reference to Fig. 4 B, show the structured flowchart of browser device embodiment according to an embodiment of the invention, specifically can comprise as lower module:
This browser device, also comprises: communication module 405, acquisition of information module 406 and download module 406.
Wherein:
Communication module 405, for receiving the request response according to the triggering feedback of described file download event; Described detection module 402, also for detecting the file type that parses the file of request download from described request response.
Acquisition of information module 406, the mount message that obtains described first kind software installation kit for the request response of the triggering feedback according to described file download event, wherein said mount message comprises download address and the descriptor of described first kind software installation kit; Generate the Download Info of described installation kit according to described mount message; Described window load-on module 403, also for showing described Download Info at described download window.
Preferably, described acquisition of information module 406, for adopting Quick Response Code generating algorithm to process described mount message, generates the Quick Response Code original character string of described installation kit; Described window load-on module 403, for concatenating into Quick Response Code according to described Quick Response Code original character, and show described Quick Response Code in described download window, so that parsing the mount message of described installation kit from the Quick Response Code of taking, described the first equipment carries out the download of installation kit.
In optional embodiment of the present invention, transport module 404, after the download acknowledge message when receiving according to described download window feedback, the download address of described first kind software installation kit is sent to described the first equipment by described transmission entrance, to download described installation kit in described the first equipment.
Described transport module 404, while being also Second Type software for the file type of file of downloading when the request of being resolved to, sends to described Second Type software installation kit in described the second equipment by the transmission entrance of described download window.
In optional embodiment of the present invention, described window load-on module 403, for the file type of the file according to described request download, creates the download window of the process of mating with described file type; In the download window of described process, load the mount message of the corresponding installation kit of described file type.
Download module 407, for in the time detecting that the file type of the file that described request is downloaded is non-installation kit file, download described non-installation kit file according to the download address in described request response, or send the download address of described non-installation kit file according to described request response.
Preferably, described transport module 404, also, for according to after the file type of local downloaded file is detected, according to the file type of downloaded file described in testing result, described downloaded file is sent to corresponding equipment by described transmission entrance.
Described transport module 404, for configure the account information of at least one according to configuration information, sends to the first equipment corresponding to described account information by described transmission entrance by the Download Info of described first kind software installation kit.
Download module 407 in the time that described download window is triggered to local preservation, starts independent downloading process in described browser; Adopt described independent process to download described installation kit, and be kept at this locality.
In optional embodiment of the present invention, described communication connection comprises wired connection and wireless connections, and wherein said wireless connections adopt following any one communication mode: Wireless Fidelity Wifi, 3G (Third Generation) Moblie technology 3G and general packet radio service technology GPRS.
Described transport module 404, for downloading described first kind software installation kit; Adopt described transmission entry call third party transfer assembly, described first kind software installation kit and corresponding descriptor are formed to the data flow of initialize format; Described data flow is sent to described the first equipment by call driver interface, so that described the first equipment is installed described first kind software installation kit by resolving described data flow.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the specification that provided herein, a large amount of details are described.But, can understand, embodiments of the invention can be put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.But, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them in addition multiple submodules or subelement or sub-component.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this specification (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature instead of further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module of moving on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the sending method of download file in the browser of the embodiment of the present invention and browser device equipment.The present invention can also be embodied as part or all equipment or the device program (for example, computer program and computer program) for carrying out method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described instead of limit the invention, and those skilled in the art can design alternative embodiment in the case of not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has multiple such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim of having enumerated some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The sending method that the invention discloses download file in A1, a kind of browser, comprising: in current web page, recognize the triggering of file download event; The file that detects current request download is first kind software installation kit; In browser, load a download window, this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection; By described transmission entrance, first kind software installation kit is sent in the first equipment.
A2, method as described in A1, after the described triggering that recognizes file download event in current web page, also comprise: receive the request response according to the triggering feedback of described file download event; The file type that parses the file of request download from described request response is detected.
A3, method as described in A1, the file that described detection current request is downloaded is after first kind software installation kit, also comprise: obtain the mount message of described first kind software installation kit according to the request response of the triggering feedback to described file download event, wherein said mount message comprises download address and the descriptor of described first kind software installation kit; Generate the Download Info of described installation kit according to described mount message, and show described Download Info in described download window.
A4, according to the method described in A3, the described mount message of described foundation generates the Download Info of described installation kit, and show described Download Info in described download window, comprise: adopt Quick Response Code generating algorithm to process described mount message, generate the Quick Response Code original character string of described installation kit; Concatenate into Quick Response Code according to described Quick Response Code original character, and show described Quick Response Code in described download window, carry out the download of installation kit so that described the first equipment parses the mount message of described installation kit from the Quick Response Code of taking.
A5, according to the method described in A1 or 3, it is characterized in that, describedly by described transmission entrance, first kind software installation kit is sent in the first equipment, comprise: when after the download acknowledge message receiving according to described download window feedback, the download address of described first kind software installation kit is sent to described the first equipment by described transmission entrance, to download described installation kit in described the first equipment.
A6, according to the method described in A2, it is characterized in that, also comprise: when the file type of file of downloading when the request of being resolved to is Second Type software, by the transmission entrance of described download window, described Second Type software installation kit is sent in described the second equipment.
A7, according to the method described in A6, it is characterized in that, the described download window that loads in browser, comprising: the file type of file of downloading according to described request, creates the download window of the process of mating with described file type; In the download window of described process, load the mount message of the corresponding installation kit of described file type.
A8, according to the method described in A2, it is characterized in that, also comprise: in the time detecting that the file type of the file that described request is downloaded is non-installation kit file, download described non-installation kit file according to the download address in described request response, or send the download address of described non-installation kit file according to described request response.
A9, according to the method described in A6, it is characterized in that, also comprise: the file type to local downloaded file detects, and according to the file type of downloaded file described in testing result, described downloaded file is sent to corresponding equipment by described transmission entrance.
A10, according to the method described in A1, it is characterized in that, describedly by described transmission entrance, first kind software installation kit is sent in the first equipment, comprise: according to configuring at least one account information in configuration information, by described transmission entrance, the Download Info of described first kind software installation kit is sent to the first equipment corresponding to described account information.
A11, according to the method described in A1, it is characterized in that, also comprise: in the time that described download window is triggered to local preservation, in described browser, start independent downloading process; Adopt described independent process to download described installation kit, and be kept at this locality.
A12, according to the method described in A1, it is characterized in that, described communication connection comprises wired connection and wireless connections, and wherein said wireless connections adopt following any one communication mode: Wireless Fidelity Wifi, 3G (Third Generation) Moblie technology 3G and general packet radio service technology GPRS.
A13, according to the method described in A1, it is characterized in that, by described transmission entrance, first kind software installation kit is sent in the first equipment, comprising: described first kind software installation kit is downloaded; Adopt described transmission entry call third party transfer assembly, described first kind software installation kit and corresponding descriptor are formed to the data flow of initialize format; Described data flow is sent to described the first equipment by call driver interface, so that described the first equipment is installed described first kind software installation kit by resolving described data flow.
The invention also discloses B14, a kind of browser device, comprising: identification module, for recognize the triggering of file download event at current web page; Detection module, the file of downloading for detection of current request is first kind software installation kit; Window load-on module, for load a download window at browser, this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection; Transport module, for sending to the first equipment by described transmission entrance by first kind software installation kit.
B15, device as described in B14, is characterized in that, also comprises: communication module, for receiving the request response according to the triggering feedback of described file download event; Described detection module, also for detecting the file type that parses the file of request download from described request response.
B16, according to the device described in B14, also comprise: acquisition of information module, the mount message that obtains described first kind software installation kit for the request response of the triggering feedback according to described file download event, wherein said mount message comprises download address and the descriptor of described first kind software installation kit; Generate the Download Info of described installation kit according to described mount message; Described window load-on module, also for showing described Download Info at described download window.
B17, according to the device described in B16, it is characterized in that: described acquisition of information module, for adopting Quick Response Code generating algorithm to process described mount message, generates the Quick Response Code original character string of described installation kit; Described window load-on module, for concatenating into Quick Response Code according to described Quick Response Code original character, and show described Quick Response Code in described download window, so that parsing the mount message of described installation kit from the Quick Response Code of taking, described the first equipment carries out the download of installation kit.
B18, according to the device described in B14 or 16, it is characterized in that: described transport module, after the download acknowledge message when receiving according to described download window feedback, the download address of described first kind software installation kit is sent to described the first equipment by described transmission entrance, to download described installation kit in described the first equipment.
B19, according to the device described in B15, it is characterized in that: described transport module, while being also Second Type software for the file type of file of downloading when the request of being resolved to, by the transmission entrance of described download window, described Second Type software installation kit is sent in described the second equipment.
B20, according to the device described in B19, it is characterized in that: described window load-on module, for the file type of file of downloading according to described request, creates the download window of the process of mating with described file type; In the download window of described process, load the mount message of the corresponding installation kit of described file type.
B21, according to the device described in B15, it is characterized in that: download module, for in the time detecting that the file type of the file that described request is downloaded is non-installation kit file, download described non-installation kit file according to the download address in described request response, or send the download address of described non-installation kit file according to described request response.
B22, according to the device described in B19, it is characterized in that, also comprise: described transport module, also for after the file type of local downloaded file being detected in foundation, according to the file type of downloaded file described in testing result, described downloaded file is sent to corresponding equipment by described transmission entrance.
B23, according to the device described in B14, it is characterized in that: described transport module, for configure the account information of at least one according to configuration information, by described transmission entrance, the Download Info of described first kind software installation kit is sent to the first equipment corresponding to described account information.
B24, according to the device described in B14, it is characterized in that, also comprise: download module in the time that described download window is triggered to local preservation, starts independent downloading process in described browser; Adopt described independent process to download described installation kit, and be kept at this locality.
B25, according to the device described in B14, it is characterized in that, described communication connection comprises wired connection and wireless connections, and wherein said wireless connections adopt following any one communication mode: Wireless Fidelity Wifi, 3G (Third Generation) Moblie technology 3G and general packet radio service technology GPRS.
B26, according to the device described in B14, it is characterized in that: described transport module, for described first kind software installation kit is downloaded; Adopt described transmission entry call third party transfer assembly, described first kind software installation kit and corresponding descriptor are formed to the data flow of initialize format; Described data flow is sent to described the first equipment by call driver interface, so that described the first equipment is installed described first kind software installation kit by resolving described data flow.

Claims (10)

1. a sending method for download file in browser, comprising:
In current web page, recognize the triggering of file download event;
The file that detects current request download is first kind software installation kit;
In browser, load a download window, this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection;
By described transmission entrance, first kind software installation kit is sent in the first equipment.
2. the method for claim 1, is characterized in that, after the described triggering that recognizes file download event in current web page, also comprises:
Receive the request response according to the triggering feedback of described file download event;
The file type that parses the file of request download from described request response is detected.
3. method according to claim 1, is characterized in that, the file that described detection current request is downloaded is after first kind software installation kit, also comprises:
The mount message that obtains described first kind software installation kit according to the request response of the triggering feedback to described file download event, wherein said mount message comprises download address and the descriptor of described first kind software installation kit;
Generate the Download Info of described installation kit according to described mount message, and show described Download Info in described download window.
4. want the method described in 3 according to right, it is characterized in that, the described mount message of described foundation generates the Download Info of described installation kit, and shows described Download Info in described download window, comprising:
Adopt Quick Response Code generating algorithm to process described mount message, generate the Quick Response Code original character string of described installation kit;
Concatenate into Quick Response Code according to described Quick Response Code original character, and show described Quick Response Code in described download window, carry out the download of installation kit so that described the first equipment parses the mount message of described installation kit from the Quick Response Code of taking.
5. according to the method described in claim 1 or 3, it is characterized in that, describedly by described transmission entrance, first kind software installation kit sent in the first equipment, comprising:
When after the download acknowledge message receiving according to described download window feedback, the download address of described first kind software installation kit is sent to described the first equipment by described transmission entrance, to download described installation kit in described the first equipment.
6. a browser device, comprising:
Identification module, for recognizing the triggering of file download event at current web page;
Detection module, the file of downloading for detection of current request is first kind software installation kit;
Window load-on module, for load a download window at browser, this download window comprises: to the transmission entrance transmitting in the first equipment corresponding to first kind software installation kit, wherein this transmission entrance and the first equipment have communication connection;
Transport module, for sending to the first equipment by described transmission entrance by first kind software installation kit.
7. device as claimed in claim 6, is characterized in that, also comprises:
Communication module, for receiving the request response according to the triggering feedback of described file download event;
Described detection module, also for detecting the file type that parses the file of request download from described request response.
8. device according to claim 6, also comprises:
Acquisition of information module, the mount message that obtains described first kind software installation kit for the request response of the triggering feedback according to described file download event, wherein said mount message comprises download address and the descriptor of described first kind software installation kit; Generate the Download Info of described installation kit according to described mount message;
Described window load-on module, also for showing described Download Info at described download window.
9. device according to claim 8, is characterized in that:
Described acquisition of information module, for adopting Quick Response Code generating algorithm to process described mount message, generates the Quick Response Code original character string of described installation kit;
Described window load-on module, for concatenating into Quick Response Code according to described Quick Response Code original character, and show described Quick Response Code in described download window, so that parsing the mount message of described installation kit from the Quick Response Code of taking, described the first equipment carries out the download of installation kit.
10. according to the device described in claim 6 or 8, it is characterized in that:
Described transport module, after the download acknowledge message when receiving according to described download window feedback, the download address of described first kind software installation kit is sent to described the first equipment by described transmission entrance, to download described installation kit in described the first equipment.
CN201410126673.1A 2014-03-31 2014-03-31 The sending method and browser device of file are downloaded in browser Active CN103957234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410126673.1A CN103957234B (en) 2014-03-31 2014-03-31 The sending method and browser device of file are downloaded in browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410126673.1A CN103957234B (en) 2014-03-31 2014-03-31 The sending method and browser device of file are downloaded in browser

Publications (2)

Publication Number Publication Date
CN103957234A true CN103957234A (en) 2014-07-30
CN103957234B CN103957234B (en) 2018-05-04

Family

ID=51334457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410126673.1A Active CN103957234B (en) 2014-03-31 2014-03-31 The sending method and browser device of file are downloaded in browser

Country Status (1)

Country Link
CN (1) CN103957234B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506521A (en) * 2014-12-18 2015-04-08 北京奇虎科技有限公司 Method for sending file to mobile terminal by browser, browser client side and device
CN104537019A (en) * 2014-12-18 2015-04-22 北京奇虎科技有限公司 Method for sharing information through browser and browser client and device
CN106599017A (en) * 2016-10-20 2017-04-26 广州优视网络科技有限公司 Method and device for scanning and resolving installation packages, and mobile terminal
CN108228751A (en) * 2017-12-21 2018-06-29 国云科技股份有限公司 A kind of method realized browser multifile while downloaded
CN110597550A (en) * 2019-08-14 2019-12-20 平安国际智慧城市科技股份有限公司 Application program recommendation downloading method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1649300A (en) * 2004-01-09 2005-08-03 微软公司 On-device application catalog updated by management servers
CN101369930A (en) * 2008-09-01 2009-02-18 深圳市深信服电子科技有限公司 Security examination method, system and equipment for network plug-in
CN101977262A (en) * 2010-10-12 2011-02-16 彭扬 Method and system for installing mobile phone software
CN103269396A (en) * 2013-05-02 2013-08-28 百度在线网络技术(北京)有限公司 Method and system capable of conducting management on mobile terminal
CN103338254A (en) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 Terminal across application pushing method, device, terminal and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1649300A (en) * 2004-01-09 2005-08-03 微软公司 On-device application catalog updated by management servers
CN101369930A (en) * 2008-09-01 2009-02-18 深圳市深信服电子科技有限公司 Security examination method, system and equipment for network plug-in
CN101977262A (en) * 2010-10-12 2011-02-16 彭扬 Method and system for installing mobile phone software
CN103269396A (en) * 2013-05-02 2013-08-28 百度在线网络技术(北京)有限公司 Method and system capable of conducting management on mobile terminal
CN103338254A (en) * 2013-06-28 2013-10-02 腾讯科技(深圳)有限公司 Terminal across application pushing method, device, terminal and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104506521A (en) * 2014-12-18 2015-04-08 北京奇虎科技有限公司 Method for sending file to mobile terminal by browser, browser client side and device
CN104537019A (en) * 2014-12-18 2015-04-22 北京奇虎科技有限公司 Method for sharing information through browser and browser client and device
CN106599017A (en) * 2016-10-20 2017-04-26 广州优视网络科技有限公司 Method and device for scanning and resolving installation packages, and mobile terminal
CN108228751A (en) * 2017-12-21 2018-06-29 国云科技股份有限公司 A kind of method realized browser multifile while downloaded
CN110597550A (en) * 2019-08-14 2019-12-20 平安国际智慧城市科技股份有限公司 Application program recommendation downloading method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103957234B (en) 2018-05-04

Similar Documents

Publication Publication Date Title
CN104111944B (en) Page processing method and device and page generation method and device
CN103150513B (en) The method of the implantation information in interception application program and device
US8819698B2 (en) Cross-platform web-based native device feature access
CN106406844B (en) Method and device for realizing public number menu of communication interaction platform
CN103678508A (en) Webpage opening method and device
CN105872083A (en) Method and system supporting server access by different types of clients as well as server
CN103957234A (en) Method for sending download files in browser and browser device
CN103647803A (en) A method for a mobile terminal to subscribe content and an apparatus
US9602329B1 (en) Dynamic remote procedure call
CN104077162A (en) Mobile terminal application template updating and issuing method and device
CN107729014B (en) Page jump method and structure based on Android
CN108762767B (en) Application publishing method, device and computer readable storage medium
US9614901B2 (en) Data infrastructure for providing interconnectivity between platforms, devices, and operating systems
CN103188328A (en) Mobile terminal application program sharing method, server and system
CN111930382B (en) Application page access method, device and equipment
CN104504060A (en) File downloading method in browser, browser client side and device
CN104239775A (en) Method and device for establishing wireless connection of mobile phone end and PC (Personal Computer) end by short message
CN102629194B (en) Novel application store adaptor facing mobile terminals
CN108549586B (en) Information processing method and device
CN113268245A (en) Code analysis method, device and storage medium
CN104537022A (en) Method for sharing information through browser and browser client and device
CN110928571A (en) Business program development method and device
CN103888505A (en) File transmission method and system, and terminal devices and servers
CN103561082B (en) Compressing request processing method and server
CN103942277A (en) Method and device for downloading file in browsers and browsers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right