CN104394208A - File transmission method and server - Google Patents
File transmission method and server Download PDFInfo
- Publication number
- CN104394208A CN104394208A CN201410665762.3A CN201410665762A CN104394208A CN 104394208 A CN104394208 A CN 104394208A CN 201410665762 A CN201410665762 A CN 201410665762A CN 104394208 A CN104394208 A CN 104394208A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- browser
- server
- file
- message
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Abstract
The invention discloses a file transmission method which is executed in a server. A browser of calculation equipment can be connected with a mobile terminal through the server. The file transmission method comprises receiving a file request message for the mobile terminal from the browser of the calculation equipment, wherein the file request message comprises an identifier of a request file; sending the file request message to the mobile terminal; receiving a file uploading request of the mobile terminal; transmitting the request file to the browser according to the web server-client mode. The invention also discloses the server.
Description
Technical field
The present invention relates to field of data communication, particularly relate to the field that mobile terminal and computing equipment browser carry out communicating.
Background technology
Along with user improves day by day for the frequency of utilization of the such as mobile terminal such as smart mobile phone, panel computer, even traditional desktop computer (PC) and notebook computer are exceeded in a lot of occasion.The calculated performance of mobile terminal and memory space also in quick growth, thus allow installation and operation to widely apply and and then produce mass data.Such as, a smart mobile phone, through the use of user's a period of time, often stores the data such as the picture of gigabytes, audio frequency, video, application, document, address list, short message.
Operations such as although user such as can browse these data on mobile phone, copy, deletions, if but user to be positioned at large-screen computing equipment (as PC, notebook computer and intelligent television) front, he may more wish to carry out these operations by large-screen computing equipment.The reason done like this is that large-screen computing equipment has more powerful I/O equipment (as large display screen, mouse, full size keyboard), can improve operating efficiency; The operating systems such as Another reason compares with application with the Android that mobile terminal runs, IOS, such as Windows, MAC OS that large-screen computing equipment runs and application often can provide more powerful various function.
Some softwares have been had to provide large-screen computing equipment to the data management function of mobile terminal at present.Typical example is the iTunes of Apple and various mobile phone assistant.User installs mobile terminal data management software on the traditional computer running the operating systems such as such as Windows, MAC OS, mobile terminal is connected to large-screen computing equipment by cables such as such as USB, mobile terminal data management software reads the various data in mobile terminal, and allows user to carry out corresponding bookkeeping.But this uses and inconvenience concerning user.Even if there are some software support mobile terminals to be connected to large-screen computing equipment by WLAN (wireless local area network), but user still needs to install mobile terminal data management software in advance on large-screen computing equipment.Mounting software is not only loaded down with trivial details and consuming time in advance, and is difficult in some cases realize.Such as, the computing equipment of enterprises may limit the installation authority of software for security consideration, or the large-screen computing equipment as intelligent television so does not use Windows, MAC OS operating system, available mobile terminal data management software may be there is no.
Therefore, user wishes the data more using mode managing mobile terminal on large-screen computing equipment of simple and fast.
Summary of the invention
For this reason, the invention provides a kind of new scheme to try hard to solve or at least alleviate at least one problem existed above.
According to an aspect of the present invention, provide a kind of document transmission method performed in the server, the browser of computing equipment can be connected with mobile terminal by this server.The method comprises: receive the file request message to mobile terminal from the browser of computing equipment, include the mark of requested document in this message; File request message is sent to mobile terminal; The files passe request of mobile terminal receive; And according to the mode of web server-client by asked file transfer to browser.
The method can also comprise: the browser immediately to computing equipment after the files passe request receiving mobile terminal sends the notification message of include file web address.
The method can also comprise: be divided into multiple blocks of files to store the upload file received; According to the mode of web server-client, multiple blocks of files is transferred to browser.
According to a further aspect in the invention, provide a kind of server, the browser of computing equipment can be connected with mobile terminal.This server comprises: connection management device, is suitable for the file request message of browser reception to mobile terminal from computing equipment, includes the mark of requested document in this message; Message processing apparatus, is suitable for the mark extracting requested document from file request message; Wherein connection management device is suitable for file request message to send to mobile terminal, the files passe request of mobile terminal receive.
The connection management device browser that can also be suitable for immediately to computing equipment after the files passe request receiving mobile terminal sends the notification message of include file web address.Server can also comprise memory.Connection management device can also be suitable for the upload file received being divided into multiple blocks of files to store in memory, according to the mode of web server-client, multiple blocks of files is transferred to browser.
Accompanying drawing explanation
In order to realize above-mentioned and relevant object; combine description below and accompanying drawing herein to describe some illustrative aspect; these aspects indicate the various modes can putting into practice principle disclosed herein, and all aspects and equivalent aspect thereof are intended to fall in the scope of theme required for protection.Read detailed description below in conjunction with the drawings, above-mentioned and other object of the present disclosure, Characteristics and advantages will become more obvious.Throughout the disclosure, identical Reference numeral is often referred to for identical parts or element.
Fig. 1 shows the structured flowchart of a mobile terminal 100;
Fig. 2 shows the system 200 of the browser administration mobile terminal document utilizing large-screen computing equipment according to an embodiment of the invention;
Fig. 3 A show the client application of mobile terminal according to an embodiment of the invention and server connect before interface schematic diagram;
Fig. 3 B shows the interface schematic diagram of the browser display Quick Response Code of computing equipment according to an embodiment of the invention;
The interface schematic diagram of the browser of computing equipment after Fig. 3 C shows and utilizes the system 200 of the browser administration mobile terminal document of large-screen computing equipment to connect according to an embodiment of the invention;
Fig. 4 illustrates the flow chart of the document transmission method 400 that the browser of computing equipment according to an embodiment of the invention performs;
Fig. 5 illustrates the flow chart of the document transmission method 500 of mobile terminal execution according to an embodiment of the invention;
Fig. 6 illustrates the block diagram of the browser 600 of computing equipment according to an embodiment of the invention;
Fig. 7 illustrates the block diagram of the client application 700 of mobile terminal according to an embodiment of the invention;
Fig. 8 illustrates the flow chart of the document transmission method 800 of server execution according to an embodiment of the invention; And
Fig. 9 illustrates the block diagram of server 900 according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 is the structured flowchart of mobile terminal 100.Mobile terminal 100 can comprise memory interface 102, one or more data processor, image processor and/or CPU 104, and peripheral interface 106.
Memory interface 102, one or more processor 104 and/or peripheral interface 106 both can be discrete components, also can be integrated in one or more integrated circuit.In the mobile terminal 100, various element can be coupled by one or more communication bus or holding wire.Transducer, equipment and subsystem can be coupled to peripheral interface 106, to help to realize several functions.
Such as, motion sensor 110, optical sensor 112 and range sensor 114 can be coupled to peripheral interface 106, to facilitate the functions such as orientation, illumination and range finding.Other transducers 116 can be connected with peripheral interface 106 equally, such as navigation system (such as GPS), temperature sensor, biometric sensor or other sensor devices, can help thus to implement relevant function.
Camera sub-system 120 and optical pickocff 122 may be used for the realization of the camera function of convenient such as recording photograph and video clipping, and wherein said camera sub-system and optical pickocff can be such as charge coupled device (CCD) or complementary metal oxide semiconductors (CMOS) (CMOS) optical pickocff.Can help realize communication function by one or more radio communication subsystem 124, wherein radio communication subsystem can comprise radio-frequency transmitter and transmitter and/or light (such as infrared) Receiver And Transmitter.The particular design of radio communication subsystem 124 and execution mode can depend on one or more communication networks that mobile terminal 100 is supported.Such as, mobile terminal 100 can comprise be designed to support GSM network, GPRS network, EDGE network, Wi-Fi or WiMax network and Bluebooth
tMthe communication subsystem 124 of network.
Audio subsystem 126 can be coupled with loud speaker 128 and microphone 130, such as, to help the function of implementing to enable voice, speech recognition, speech reproduction, digital record and telephony feature.I/O subsystem 140 can comprise touch screen controller 142 and/or other input control devices 144 one or more.Touch screen controller 142 can be coupled to touch-screen 146.For example, what this touch-screen 146 and touch screen controller 142 can use any one in multiple touch-sensing technology to detect to carry out with it contact and movement or time-out, and wherein detection technology is including, but not limited to capacitive character, resistive, infrared and surface acoustic wave technique.Other input control devices 144 one or more can be coupled to other input/control devicess 148, the indication equipment of such as one or more button, rocker switch, thumb wheel, infrared port, USB port and/or stylus and so on.Described one or more button (not shown) can comprise the up/down button for control loudspeaker 128 and/or microphone 130 volume.
Memory interface 102 can be coupled with memory 150.This memory 150 can comprise high-speed random access memory and/or nonvolatile memory, such as one or more disk storage device, one or more optical storage apparatus, and/or flash memories (such as NAND, NOR).Memory 150 can storage operation system 172, the such as operating system of Android, IOS or Windows Phone and so on.This operating system 172 can comprise the instruction of the task of depending on hardware for the treatment of basic system services and execution.Memory 150 can also store application 174.When mobile device runs, meeting load operation system 172 from memory 150, and performed by processor 104.Application 174 operationally, also can load, and be performed by processor 104 from memory 150.Application 174 operates on operating system, the function that the various user of the Interface realization utilizing operating system and bottom hardware to provide expects, as instant messaging, web page browsing, pictures management etc.Application 174 can provide independent of operating system 172, also can be that operating system 172 carries.
In above-mentioned various application 174, a kind of being applied as wherein can support according to of the present invention the client application that mobile terminal document manages, and user can be communicated and the file of managing mobile terminal with the client application of mobile terminal by the browser on large-screen computing equipment.
Fig. 2 shows the system 200 of the browser administration mobile terminal document utilizing large-screen computing equipment according to an embodiment of the invention.This system 200 comprises mobile terminal 210, server 220 and computing equipment 230.Mobile terminal 210 is provided with the client application 212 supporting mobile terminal document management, and stores various file, as photo, audio frequency, video, document (document as forms such as Word, PDF).Applications client 212 may operate in the such as operating system such as Android, IOS.Server 220 can be such as the remote cloud server being physically located at one or more place.Computing equipment 230 such as can comprise the computing equipment that personal computer (PC), notebook computer, intelligent television etc. have relatively large screen.Computing equipment 230 is provided with browser 232, such as IE, Chrome and Firefox browser.Browser 232 may operate in the operating systems such as such as Windows, Mac.
First browser 232 receives the address that user inputs in browser address bar, such as, be domain name www.weline.cc, and it corresponds to the IP address of server 220.Browser is according to this address access services device 220, and concrete operations comprise such as inquiry DNS and obtain the IP address returned, and set up TCP and connect, send HTTP request request, be not repeated here to server.After receiving the access request from browser 232, server 220 distributes the first session identification (Session ID) and gap marker (Channel ID).Server 220 generates the invitation address (inviteurl) corresponding with gap marker, and calling Quick Response Code Transformation Service by this address transition is two-dimension code pattern, and obtains the URL address (qrcodeurl) of this two-dimension code pattern.In other words, the content that this two-dimension code pattern comprises is inviteurl.Server 220 returns response message (200 OK) to browser 232, the URL address qrcodeurl containing two-dimension code pattern in this message and the first session identification.Wherein the format sample of qrcodeurl is as follows:
qrcodeurl:"qrcode?content=http://192.168.0.1/invite?id=12d345d8z834baef839c0",
Long connection is set up between server 220 with browser 232.The URL address qrcodeurl of two-dimension code pattern accessed by browser 232, obtains two-dimension code pattern and shows.Such as, interface schematic diagram when Fig. 3 B shows browser connection server according to an embodiment of the invention.Two-dimension code image is shown to wait for mobile scanning terminal Quick Response Code in this figure.
Interface schematic diagram before the client application 212 that Fig. 3 A shows mobile terminal according to an embodiment of the invention connects with server 220.In this surface chart, the operation of user is pointed out, to set up the connection with server.User can scan by the client application 212 of mobile terminal the two-dimension code pattern that the browser 232 of computing equipment 230 shows, thus obtains the content of two-dimension code pattern, namely invites address inviteurl.Mobile terminal client terminal application 212 access inviteurl, server 220 identifies to its backward channel, returns the second session identification simultaneously.Server can determine the relation of browser and mobile terminal by gap marker, and namely mobile scanning terminal is the Quick Response Code that browser shows.Be similar to the process connected between server and 220 browsers 232, between server 220 with client application 212, also set up long connection.Server 220 stores the first session identification that between server 220 with browser 232, length is connected and the second session identification that between server 220 with client application 212, length is connected, associated by gap marker between these two session identifications, between browser 232 and client application 212, forms a passage by gap marker like this, with session identification distinguish long with server be connected apply 212 or browser 232 to liking mobile terminal client terminal.In other words, establish two respectively and be longly connected between server 220 with browser 232 and between server 220 with client application 212, server regularly sends heartbeat message to browser and client application.These two long connections are by same gap marker association formation passage, and the signaling that client application sends or data are pushed to browser by this passage via server.
After setting up passage, the client application 212 of mobile terminal is by the statistical information of mobile terminal, as the model of mobile terminal, system version, memory space, store contact person, short message, Miscellaneous Documents quantity etc., browser 232 is sent to by passage, specifically, these information such as send to server 220 by post mode by the second session connection by client application 212, server 220 finds the first session connection of association according to gap marker, and by the first session connection, information is sent to browser 232.Browser 232 shows corresponding mobile terminal statistical information.Such as, Fig. 3 C is that after the statistical information of mobile terminal is delivered to browser by server push by client application 212, browser is to the display interface figure of this statistical message.Set up the master catalogue comprising various document classification, such as picture master catalogue, audio frequency master catalogue etc., and if under entering such as picture master catalogue, then can show multiple picture thumbnail.
User can check the information of mobile terminal on the browser of the computing equipment of large-screen, and use the input equipment of computing equipment (as mouse, keyboard) carry out the various operation to file easily, as from acquisition for mobile terminal file, browse, deleted file etc.By setting up the passage via server between mobile terminal and the browser of computing equipment, only existing browser on computing equipment need be utilized can to realize the management to mobile terminal, and do not need mounting software in advance on the computing device, not only save the time of user, also save the work of software developer.And, utilize the scheme of browser administration mobile terminal be especially applicable to the installation limited authority of computing equipment software or lack the situation of available mobile terminal data management software.
After the browser of computing equipment and the client application of mobile terminal are connected by server, when server is received from the message of client application or data by the second session, server searches the first session identification associated with the second session identification according to gap marker, this message or data are sent to the browser of computing equipment by the first session.Be transferred through transit server due to this, be therefore called indirectly connected communication pattern.The invention allows for a kind of data-transmission mode without transit server, i.e. direct-connected communication pattern.Under direct-connected pattern, the transfer of data between the browser of computing equipment and the client application of mobile terminal can be undertaken by direct connection the between them, and does not need transit server, thus improves transmission speed and may save flow and expense.The process of establishing of direct-connected communication pattern will be described below.
First, the passage that the client application 212 of mobile terminal has been set up by server 220, i.e. the first session and the second session, the browser 232 to computing equipment sends the direct-connected communication invitation message comprising the direct-connected mailing address of mobile terminal.The format sample of message is as follows:
Wherein 192.168.1.119 is the direct-connected mailing address of mobile terminal oneself, the implicit IP address of such as WLAN (wireless local area network).The numerical value (id) of a stochastic generation can also be comprised, as authentication information in direct-connected communication notifications message.The direct-connected address that browser comprises in request access message after receiving direct-connected communication invitation message.This access classes is similar to ping operation, namely browser sends packet to this direct-connected mailing address, if the other side receives this packet, onesize packet can be returned, confirm that connection is between the two unimpeded thus, otherwise mean that browser cannot access direct-connected mailing address, under both continue to operate in indirectly connected pattern.When the client application of mobile terminal receives the access request message from browser, determine that mobile terminal and computing equipment can carry out direct-connected.In order to strengthen fail safe, can comprise the numerical value in direct-connected communication notifications message in the access request message of browser, client application 212 can be verified this numerical value.If checking is consistent, the client application 212 of mobile terminal sends direct-connected communication response message by server 220 to browser 232, and format sample is
{
type:"directOK"
}
Client application 212 enters direct-connected pattern, starts web server.Browser, after receiving direct-connected communication response message, also enters direct-connected pattern.Like this, transfer of data is carried out in the mode of server-client between client application and the browser of computing equipment.In addition, after receiving the access request message from browser, client application can record source IP addresses and write cookie, and the request for browser downloads file afterwards will verify IP address and cookie, if do not mated, returns 403 mistakes.Also have, due to the client application not same area of server and mobile terminal, and browser and client application can adopt AJAX (asynchronous JavaScript and XML) mode to send access request, and consider the restriction of same source policy of browser, therefore, the client application of mobile terminal can also realize cross-domain resource and share (CORS), it can add the information (Access-Control-Allow-Origin) allowing the cross-domain access of browser in the response header of direct-connected invitation message, cross-domain access can be carried out when receiving this direct-connected invitation message with convenient browser.
Under direct-connected communication pattern, signaling/message also can be switched to direct interface channel between mobile terminal and computing equipment browser from former passage (namely through the passage of server), thus realizes the localization of message.The format sample of the relevant message of switching channel is as follows:
This directChannel message is sent to the browser of computing equipment by server by mobile terminal, inform the address (url) of direct communication channel.Browser carries out poll (polling) to url address upon receiving the message.Mobile terminal, after the GET request receiving poll, can start direct communication channel, stop toward former passage POST message.Mobile terminal sends switchChannel message to browser, format sample be
"type":"switchChannel"
}
SwitchChannel message informing browser switching channel.After browser receives this message, stop the former passage POST message to server.
Once enter direct-connected pattern, can without high in the clouds directly such as by the local network transport data of enterprises between browser and mobile terminal.Like this, not only save the flow of mobile terminal, and substantially increase the speed of transfer of data, also improve the Consumer's Experience by browser administration mobile terminal data.
The document transmission process under direct-connected communication pattern and indirectly connected communication pattern will be described in respectively below.
Under direct-connected communication pattern, browser in response to user operation, the file in acquisition request mobile terminal.Such as, user views the information such as listed files, thumbnail that mobile terminal stores on a web browser, is specified the file that will obtain by the input equipment such as mouse, keyboard.Browser sends file request message (requestFile) to mobile terminal, includes the mark of requested document in this message.Mobile terminal, after receiving file request, returns the notification message of the web address comprising this file.The web address of this file indicates the absolute url of this file in the web server of mobile terminal.Browser after receiving response message, according to web client-server mode from mobile terminal download file.
In direct-connected communication pattern, the implementation that some are special may be there is.Such as, PDF.js can obtain pdf document by AJAX, therefore, under direct-connected communication pattern, there is cross-domain problem.At this moment the web server of mobile terminal is needed to realize CORS (across source Resource Sharing Protocol).CORS passes through the setting of some heads (Headers) of web server and confirms to realize cross-domain request, is not described in detail here.
Under indirectly connected communication pattern, browser in response to user operation, the file in acquisition request mobile terminal.Browser sends file request message (requestFile) by server to mobile terminal, includes the mark of requested document in this message.This file, after receiving file request, uploads onto the server by mobile terminal.Server returns the notification message of the web address comprising this file to browser.The web address of this file indicates the address of this file in the web server of server.Browser after receiving response message, according to web client-server mode from server download file.
Except answering browse request, file also initiatively can be sent to browser by mobile terminal.Such as, photo can be sent to browser by user in the client application of mobile terminal.Under direct-connected pattern, mobile terminal sends file to browser and sends message (sendFile).This message format example is
Mobile terminal sends the notification message comprising the web address of this file to browser.The web address of this file indicates the absolute url of this file in the web server of mobile terminal.Browser after receiving response message, according to web client-server mode from mobile terminal download file.In indirectly connected communication pattern, browser sends file to mobile terminal and sends message, the files passe that mobile terminal will send is to server, server comprises the web address of this file notification message after receiving file sends to browser, browser after receiving response message, according to web client-server mode from server download file.
It should be noted that transmission file here can be two-way, both can send to browser from mobile terminal, and also can send to mobile terminal from browser.
Like this, file transfer can be carried out with mobile terminal easily by the browser of computing equipment, and without the need to prior mounting software on the computing device.
According to an execution mode, under indirectly connected communication pattern, server adopts when the file that mobile terminal receive is uploaded the mechanism that a kind of real-time is stronger.Specifically, when server receives files passe request (as the POST) of mobile terminal, server notifies the browser of computing equipment immediately, instead of waits until that files passe reinforms browser after complete.The upload file received is divided into multiple pieces of storages by server, such as five pieces.After browser receives the notification message of server, access the web address (such as GET) wherein comprised.This address corresponds to the web address of the first blocks of files of server stores, and browser obtains blocks of files from this address always, until All Files Bulk transport is complete.Like this, browser can download complete file more quickly, and this is especially favourable when file size is larger.
Fig. 4 illustrates the flow chart of the document transmission method 400 that the browser of computing equipment according to an embodiment of the invention performs.
In step S410, browser, in response to the user operation of the file in acquisition request mobile terminal, sends file request message to mobile terminal, includes the mark of requested document in this message.In step S420, browser receiving package is containing the notification message of the web address of this file.Under direct-connected communication pattern, the web address of this file indicates the web address of this file in the web server of mobile terminal, and under indirectly connected communication pattern, the web address of this file indicates the web address of this file in the web server of server.In step S430, browser is from this web address download file.In addition, browser can also receive the file request message from mobile terminal, includes the mark of requested document in this message.Under direct-connected communication pattern, browser sends the notification message comprising the web address of this file to mobile terminal, so that mobile terminal is from this web address download file.The web address of this file indicates the web address of this file in the web server of browser.Under indirectly connected communication pattern, this file is uploaded onto the server by browser, so that mobile terminal is from server download file.
Fig. 5 illustrates the flow chart of the document transmission method 500 of mobile terminal execution according to an embodiment of the invention.
In step S510, mobile terminal receives the file request message from the browser of computing equipment, includes the mark of requested document in this message.Under direct-connected communication pattern, in step S520, mobile terminal sends the notification message comprising the web address of this file to browser, so that the browser of computing equipment is from this web address download file.The web address of this file indicates the web address of this file in the web server of mobile terminal.Under indirectly connected communication pattern, in step S530, this file is uploaded onto the server by mobile terminal, so that the browser of computing equipment is from server download file.
Fig. 6 illustrates the block diagram of the browser 600 of computing equipment according to an embodiment of the invention.
Browser 600 comprises connection management device 610, message processing apparatus 620 and web client 630.Connection management device 610 is suitable for the user operation in response to the file in acquisition request mobile terminal, sends file request message, include the mark of requested document in this message to mobile terminal.Connection management device 610 is also suitable for the notification message of receiving package containing the web address of this file.Under direct-connected communication pattern, the web address of this file indicates the web address of this file in the web server of mobile terminal, and under indirectly connected communication pattern, the web address of this file indicates the web address of this file in the web server of server.Message processing apparatus 620 is suitable for from notification message, extract this web address.Web client 630 is suitable for from this web address download file.
Fig. 7 illustrates the block diagram of the client application 700 of mobile terminal according to an embodiment of the invention.
Client application 700 comprises connection management device 710, message processing apparatus 720 and web server 730.Connection management device 710 is suitable for receiving the file request message from the browser of computing equipment, includes the mark of requested document in this message.Message processing apparatus 720 is suitable for the mark extracting requested document from file request message.Connection management device 710 is suitable under direct-connected communication pattern, sends the notification message comprising the web address of this file to browser.The web address of this file indicates the web address of this file in the web server 730 of mobile terminal, thus under direct-connected pattern the browser of computing equipment from this web address download file.Connection management device 710 is also suitable for, under indirectly connected communication pattern, being uploaded onto the server by this file, so that the browser of computing equipment is from server download file.
Fig. 8 illustrates the flow chart of the document transmission method 800 of server execution according to an embodiment of the invention.
In step S810, server receives the file request message to the file of mobile terminal from the browser of computing equipment, includes the mark of requested document in this message.In step S820, file request message is sent to mobile terminal by server.In step S830, the files passe request of mobile terminal receive, in step S840, server sends the notification message of include file web address immediately to the browser of computing equipment, and is divided into multiple blocks of files to store the upload file received.In step S850, according to the mode of web server-client, multiple blocks of files is transferred to browser.
Fig. 9 illustrates the block diagram of server 900 according to an embodiment of the invention.
Server 900 comprises connection management device 910, message processing apparatus 920 and memory 930.Connection management device 910 is suitable for the file request message of browser reception to the file of mobile terminal from computing equipment, includes the mark of requested document in this message.Message processing apparatus 920 is suitable for the mark extracting requested document from file request message.Connection management device 910 is suitable for file request message to send to mobile terminal.Connection management device 910 is suitable for the files passe request of mobile terminal receive, immediately to the notification message of the browser transmission include file web address of computing equipment, and is divided into multiple blocks of files to be stored in memory 930 upload file received.Connection management device 910 is suitable for, according to the mode of web server-client, multiple blocks of files is transferred to browser.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having 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 in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires than the feature more multiple features clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims 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 to be understood that the module of the equipment in example disclosed herein or unit or assembly can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned in one or more equipment different from the equipment in this example.Module in aforementioned exemplary can be combined as a module or can be divided into multiple submodule in addition.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment 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 multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
In addition, some in described embodiment are described as at this can by the processor of computer system or the method implemented by other device performing described function or the combination of method element.Therefore, there is the device of processor formation for implementing the method or method element of the necessary instruction for implementing described method or method element.In addition, the element described herein of device embodiment is the example as lower device: this device is for implementing the function performed by the element of the object in order to implement this invention.
As used in this, unless specifically stated so, use ordinal number " first ", " second ", " the 3rd " etc. to describe plain objects and only represent the different instances relating to similar object, and be not intended to imply the object be described like this must have the time upper, spatially, sequence aspect or in any other manner to definite sequence.
Although the embodiment according to limited quantity describes the present invention, benefit from description above, those skilled in the art understand, in the scope of the present invention described thus, it is contemplated that other embodiment.In addition, it should be noted that the language used in this specification is mainly in order to object that is readable and instruction is selected, instead of select to explain or limiting theme of the present invention.Therefore, when not departing from the scope and spirit of appended claims, many modifications and changes are all apparent for those skilled in the art.For scope of the present invention, be illustrative to disclosing of doing of the present invention, and nonrestrictive, and scope of the present invention is defined by the appended claims.
Claims (6)
1. the document transmission method performed in the server, the browser of computing equipment can be connected with mobile terminal by this server, and the method comprises:
Receive the file request message to mobile terminal from the browser of computing equipment, in this message, include the mark of requested document;
File request message is sent to mobile terminal;
The files passe request of mobile terminal receive; And
According to the mode of web server-client by asked file transfer to browser.
2. the method for claim 1, also comprises:
Browser immediately to computing equipment after the files passe request receiving mobile terminal sends the notification message of include file web address.
3. method as claimed in claim 2, also comprises:
Multiple blocks of files is divided into store the upload file received;
According to the mode of web server-client, multiple blocks of files is transferred to browser.
4. a server, the browser of computing equipment can be connected with mobile terminal, this server comprises:
Connection management device, is suitable for the file request message of browser reception to mobile terminal from computing equipment, includes the mark of requested document in this message; With
Message processing apparatus, is suitable for the mark extracting requested document from file request message;
Wherein connection management device is suitable for file request message to send to mobile terminal, the files passe request of mobile terminal receive.
5. server as claimed in claim 4, wherein the connection management device browser be also suitable for immediately to computing equipment after the files passe request receiving mobile terminal sends the notification message of include file web address.
6. server as claimed in claim 5, also comprises memory,
Wherein connection management device is also suitable for the upload file received being divided into multiple blocks of files to store in memory, according to the mode of web server-client, multiple blocks of files is transferred to browser.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410665762.3A CN104394208B (en) | 2014-11-20 | 2014-11-20 | Document transmission method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410665762.3A CN104394208B (en) | 2014-11-20 | 2014-11-20 | Document transmission method and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104394208A true CN104394208A (en) | 2015-03-04 |
CN104394208B CN104394208B (en) | 2018-07-03 |
Family
ID=52612043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410665762.3A Active CN104394208B (en) | 2014-11-20 | 2014-11-20 | Document transmission method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104394208B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105338055A (en) * | 2015-09-23 | 2016-02-17 | 百度在线网络技术(北京)有限公司 | Information interaction method, server, and information interaction system |
CN105915603A (en) * | 2016-04-14 | 2016-08-31 | 北京小米移动软件有限公司 | File management method and apparatus |
CN106250455A (en) * | 2016-07-27 | 2016-12-21 | 北京奇虎科技有限公司 | Mobile terminal document management method and system |
CN106453230A (en) * | 2016-08-08 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Data processing method and apparatus |
WO2017193926A1 (en) * | 2016-05-12 | 2017-11-16 | 腾讯科技(深圳)有限公司 | Data transmission method and device |
CN108848197A (en) * | 2018-09-19 | 2018-11-20 | 江苏瑞中数据股份有限公司 | A kind of method and system of file transmission |
CN114374686A (en) * | 2022-01-05 | 2022-04-19 | 北京百度网讯科技有限公司 | File processing method, device and equipment based on browser |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238523A (en) * | 2010-04-20 | 2011-11-09 | 苏州彭华信息技术有限公司 | Mobile phone information content backup/recovery method |
US20140019520A1 (en) * | 2012-05-18 | 2014-01-16 | Andrew Milburn | Method and system for synchronized distributed display over multiple client devices |
-
2014
- 2014-11-20 CN CN201410665762.3A patent/CN104394208B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238523A (en) * | 2010-04-20 | 2011-11-09 | 苏州彭华信息技术有限公司 | Mobile phone information content backup/recovery method |
US20140019520A1 (en) * | 2012-05-18 | 2014-01-16 | Andrew Milburn | Method and system for synchronized distributed display over multiple client devices |
Non-Patent Citations (1)
Title |
---|
ALVIN YBAñEZ: "AirDroid: Remotely manage your Android from a Web browser", 《HTTP://WWW.ANDROIDAUTHORITY.COM/AIRDROID-CONTROL-ANDROID-FROM-PC-269186/》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105338055A (en) * | 2015-09-23 | 2016-02-17 | 百度在线网络技术(北京)有限公司 | Information interaction method, server, and information interaction system |
CN105915603A (en) * | 2016-04-14 | 2016-08-31 | 北京小米移动软件有限公司 | File management method and apparatus |
CN105915603B (en) * | 2016-04-14 | 2019-09-10 | 北京小米移动软件有限公司 | File management method and device |
WO2017193926A1 (en) * | 2016-05-12 | 2017-11-16 | 腾讯科技(深圳)有限公司 | Data transmission method and device |
US10547999B2 (en) | 2016-05-12 | 2020-01-28 | Tencent Technology (Shenzhen) Company Limited | Data transmission method and apparatus |
CN106250455A (en) * | 2016-07-27 | 2016-12-21 | 北京奇虎科技有限公司 | Mobile terminal document management method and system |
CN106250455B (en) * | 2016-07-27 | 2020-02-11 | 北京奇虎科技有限公司 | Mobile terminal file management method and system |
CN106453230A (en) * | 2016-08-08 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Data processing method and apparatus |
CN106453230B (en) * | 2016-08-08 | 2019-11-08 | 腾讯科技(深圳)有限公司 | Data processing method and device |
CN108848197A (en) * | 2018-09-19 | 2018-11-20 | 江苏瑞中数据股份有限公司 | A kind of method and system of file transmission |
CN108848197B (en) * | 2018-09-19 | 2021-06-08 | 江苏瑞中数据股份有限公司 | File transmission method and system |
CN114374686A (en) * | 2022-01-05 | 2022-04-19 | 北京百度网讯科技有限公司 | File processing method, device and equipment based on browser |
Also Published As
Publication number | Publication date |
---|---|
CN104394208B (en) | 2018-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104378435A (en) | Method for transmitting file between browser of computing device and mobile terminal | |
CN104394208A (en) | File transmission method and server | |
CN104376090A (en) | Screen synchronization equipment of browser in computing equipment and mobile terminal | |
CN104486371A (en) | Equipment and method for downloading file on batch | |
EP3203709B1 (en) | Cloud service server and method for managing cloud service server | |
CN103338255B (en) | Cross-terminal input method, device and system | |
CN105072080A (en) | Information verification method, device and system | |
US20180014063A1 (en) | Method and Apparatus for Accessing a Terminal Device Camera to a Target Device | |
CN104462367B (en) | A kind of browser and its method for viewing thumbnail of computing device | |
CN103475682A (en) | File transfer method and file transfer equipment | |
CN105357110A (en) | Mail sending method, device and system | |
CN104158889A (en) | Business card information querying method and cloud server | |
US20150256605A1 (en) | Information processing system, an information processing apparatus and a medium storing an information processing program | |
CN104462366B (en) | The browser and its method for viewing thumbnail of a kind of computing device | |
US9436769B2 (en) | Automatic device upload configuration | |
CN103716230A (en) | Message sending method, device and server | |
US20150058397A1 (en) | Information processing system, information processing apparatus, terminal apparatus and information transmission method | |
CN105187562A (en) | System and method for operating remote file | |
US20140189055A1 (en) | Migration of usage sessions between devices | |
CN104484338A (en) | File list management equipment and method | |
CN104394210A (en) | Direction connection communication method and device | |
CN104702634A (en) | Method, device and system for processing data operation request | |
CN104468739B (en) | Message treatment method, client and mobile terminal | |
US20150242176A1 (en) | Determining optimal rendering systems | |
CN104394270A (en) | Method and device for aiding phone answering |
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 |