A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://patents.google.com/patent/CN104378435B/en below:

CN104378435B - The browser of computing device and the file of mobile terminal transmit

CN104378435B - The browser of computing device and the file of mobile terminal transmit - Google PatentsThe browser of computing device and the file of mobile terminal transmit Download PDF Info
Publication number
CN104378435B
CN104378435B CN201410667487.9A CN201410667487A CN104378435B CN 104378435 B CN104378435 B CN 104378435B CN 201410667487 A CN201410667487 A CN 201410667487A CN 104378435 B CN104378435 B CN 104378435B
Authority
CN
China
Prior art keywords
browser
server
mobile terminal
message
document
Prior art date
2014-11-20
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.)
Active
Application number
CN201410667487.9A
Other languages
Chinese (zh)
Other versions
CN104378435A (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 ANQI ZHILIAN TECHNOLOGY Co Ltd
Original Assignee
BEIJING ANQI ZHILIAN TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
2014-11-20
Filing date
2014-11-20
Publication date
2018-07-06
2014-11-20 Application filed by BEIJING ANQI ZHILIAN TECHNOLOGY Co Ltd filed Critical BEIJING ANQI ZHILIAN TECHNOLOGY Co Ltd
2014-11-20 Priority to CN201410667487.9A priority Critical patent/CN104378435B/en
2015-02-25 Publication of CN104378435A publication Critical patent/CN104378435A/en
2018-07-06 Application granted granted Critical
2018-07-06 Publication of CN104378435B publication Critical patent/CN104378435B/en
Status Active legal-status Critical Current
2034-11-20 Anticipated expiration legal-status Critical
Links Classifications Landscapes Abstract

The invention discloses the communication means that a kind of browser of computing device performs.The browser of the computing device can be connected by server with mobile terminal.This method includes:In response to the user's operation of the file in acquisition request mobile terminal, file request message is sent to mobile terminal, the mark of requested document is included in the message;Receive the notification message of the web addresses comprising this document;And download file from the web addresses.The invention also discloses a kind of communication means of mobile terminal execution, the browser of computing device, mobile terminal communication customer end.

Description The browser of computing device and the file of mobile terminal transmit

Technical field

The present invention relates to the necks that field of data communication more particularly to mobile terminal communicate with computing device browser Domain.

Background technology

As user is increasingly improving the frequency of use of the mobile terminals such as smart mobile phone, tablet computer, very To being more than traditional desktop computer (PC) and laptop in many occasions.The calculated performance and memory space of mobile terminal Also in rapid growth, so as to which installation and operation be allowed to widely apply and and then generate mass data.A for example, smart mobile phone By the use of user for a period of time, it is often stored with the pictures of gigabytes, audio, video, application, document, communication The data such as record, short message.

Although user can carry out these data on mobile phone the operations such as browsing, duplication, deletion, if with Before family is located at large screen computing device (such as PC, laptop and smart television), he may be more desirable to calculate by large screen Equipment carries out these operations.One done so is the reason is that there is large screen computing device more powerful I/O equipment (to be shown as big Display screen, mouse, full size keyboard), operating efficiency can be improved;Another reason be with run on mobile terminal Android, IOS operating system is compared with application, operating systems and the application such as Windows, MAC OS of the operation of large screen computing device It tends to provide stronger big various function.

There are some softwares to provide data management function of the large screen computing device to mobile terminal at present.Typical example Son is the iTunes of Apple Inc. and various mobile phone assistants.User is in operating systems such as operation Windows, MAC OS Mobile terminal data management software on traditional computer is installed, mobile terminal is connected to large screen meter by cables such as USB Equipment is calculated, mobile terminal data management software reads the various data in mobile terminal, and user is allowed to be managed accordingly Operation.However, this uses simultaneously inconvenience for user.Even if there are some software support mobile terminals to connect by WLAN Large screen computing device is connected to, but user is soft there is still a need for mobile terminal data management is installed in advance on large screen computing device Part.Installation software is not only cumbersome and takes in advance, and is difficult to realize in some cases.For example, the meter of enterprises The installation permission of software may be limited for security consideration by calculating equipment, alternatively, the large screen calculating as smart television is set It, may be without available mobile terminal data management software for and without using Windows, MAC OS operating systems.

Therefore, user wishes to more be managed the number of mobile terminal on large screen computing device with simple and fast mode According to.

Invention content

For this purpose, the present invention provides a kind of new scheme to try hard to solve or at least alleviate existing above at least one ask Topic.

According to an aspect of the present invention, the document transmission method that a kind of browser of computing device performs is provided.The meter The browser for calculating equipment can be connected by server with mobile terminal.This method includes:In response to acquisition request mobile terminal In file user's operation, send file request message to mobile terminal, the mark of requested document included in the message; Receive the notification message of the web addresses comprising this document;And download file from the web addresses.

This method can also include:Direct-connected communication invitation message from mobile terminal, the message are received by server Include the direct-connected mailing address of mobile terminal;Access request message is sent to the direct-connected mailing address;And pass through server The direct-connected communication response message from mobile terminal is received, into direct-connected communication pattern.Under direct-connected communication pattern, this document Web addresses can indicate web address of this document in the web server of mobile terminal.

This method can also include:If direct-connected communication response message is not received, in indirectly connected communication pattern. Under indirectly connected communication pattern, the web addresses of this document can indicate web address of this document in the web server of server.

This method can also include:The file request message from mobile terminal is received, includes and is asked in the message The mark of file;Under direct-connected communication pattern, the notification message of the web addresses comprising this document is sent to mobile terminal, so as to Mobile terminal downloads file from the web addresses, and the web addresses of this document indicate this document in the web server of browser Web addresses;Or under indirectly connected communication pattern, this document is uploaded onto the server, so that mobile terminal is downloaded from server File.

According to another aspect of the present invention, a kind of document transmission method of mobile terminal execution is provided.The mobile terminal energy Enough it is connected by server with the browser of computing device.This method can include:Receive the browser from computing device File request message includes the mark of requested document in the message;And under direct-connected communication pattern, sent to browser The notification message of web addresses comprising this document downloads file, this document so as to the browser of computing device from the web addresses Web addresses indicate web address of this document in the web server of mobile terminal.

This method can also be included under indirectly connected communication pattern, and this document is uploaded onto the server, so as to computing device Browser from server download file.This method can also include:It is sent directly to the browser of computing device by server Connection letter invitation message, the message package contain the direct-connected mailing address of mobile terminal;Judge whether to receive from browser Access request message;If receiving access request message, direct-connected communication response message is sent to browser by server, Into direct-connected communication pattern.This method can also include:If not receiving access request message, in indirectly connected communication mould Formula.

According to another aspect of the present invention, a kind of browser of computing device is provided, the browser of the computing device can It is connected by server with mobile terminal.The browser includes:Connection management device is adapted for acquisition request mobile terminal In file user's operation, send file request message to mobile terminal, the mark of requested document included in the message, And receive the notification message of the web addresses comprising this document;Message processing apparatus, suitable for extracting the web from notification message Address;And web client, suitable for downloading file from the web addresses.

Under direct-connected communication pattern, the web addresses of this document can indicate this document in the web server of mobile terminal Web addresses.Under indirectly connected communication pattern, the web addresses of this document can indicate web server of this document in server In web addresses.

According to another aspect of the present invention, the communication customer end in a kind of mobile terminal is provided, which can It is connected by server with the browser of computing device.The communication customer end includes:Connection management device, suitable for receiving from meter The file request message of the browser of equipment is calculated, the mark of requested document is included in the message;And message processing apparatus, it fits In the mark that requested document is extracted from file request message, wherein connection management device is suitable under direct-connected communication pattern, The notification message of the web addresses comprising this document is sent to browser, the web addresses of this document indicate this document in mobile terminal Web server in web addresses, so as under direct-connected pattern computing device browser from the web addresses download file.

Connection management device can be adapted under indirectly connected communication pattern, and this document is uploaded onto the server, to count The browser for calculating equipment downloads file from server.

According to another aspect of the present invention, a kind of computing device is provided, including browser as described above.

According to another aspect of the present invention, a kind of mobile terminal is provided, including communication customer end as described above.

Description of the drawings

In order to realize above-mentioned and related purpose, certain illustrative sides are described herein in conjunction with following description and attached drawing Face, these aspects indicate the various modes that can put into practice principles disclosed herein, and all aspects and its equivalent aspect It is intended to fall in the range of theme claimed.Read following detailed description in conjunction with the accompanying drawings, the disclosure it is above-mentioned And other purposes, feature and advantage will be apparent.Throughout the disclosure, identical reference numeral generally refers to identical Component or element.

Fig. 1 shows the structure diagram of a mobile terminal 100;

Fig. 2 shows the browser administration mobile terminals according to an embodiment of the invention using large screen computing device The system 200 of file;

Fig. 3 A show that the client application of mobile terminal according to an embodiment of the invention is established with server and connect Preceding interface schematic diagram;

Fig. 3 B show the interface signal of the browser two-dimensional code display of computing device according to an embodiment of the invention Figure;

Fig. 3 C show that the browser administration according to an embodiment of the invention using large screen computing device moves eventually The interface schematic diagram of the browser of computing device after the foundation connection of system 200 of end file;

Fig. 4 shows the document transmission method 400 that the browser of computing device according to an embodiment of the invention performs Flow chart;

Fig. 5 shows the flow chart of the document transmission method 500 of mobile terminal execution according to an embodiment of the invention;

Fig. 6 shows the block diagram of the browser 600 of computing device according to an embodiment of the invention;And

Fig. 7 shows the block diagram of the client application 700 of mobile terminal according to an embodiment of the invention.

Specific embodiment

The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.

Fig. 1 is the structure diagram of mobile terminal 100.Mobile terminal 100 can include memory interface 102, one or more A data processor, image processor and/or central processing unit 104 and peripheral interface 106.

Memory interface 102, one or more processors 104 and/or peripheral interface 106 either discrete component, It can be integrated in one or more integrated circuits.In the mobile terminal 100, various elements can pass through one or more communication Bus or signal wire couple.Sensor, equipment and subsystem may be coupled to peripheral interface 106, a variety of to help to realize Function.

For example, motion sensor 110, optical sensor 112 and range sensor 114 may be coupled to peripheral interface 106, with Facilitate the functions such as orientation, illumination and ranging.Other sensors 116 can equally be connected, such as alignment system with peripheral interface 106 (such as GPS receiver), temperature sensor, biometric sensor or other sensor devices, it is possible thereby to help to implement correlation Function.

Camera sub-system 120 and optical sensor 122 can be used for the camera of convenient such as recording photograph and video clipping The realization of function, wherein the camera sub-system and optical sensor for example can be charge coupling device (CCD) or complementary gold Belong to oxide semiconductor (CMOS) optical sensor.It can help to realize by one or more radio communication subsystems 124 Communication function, wherein radio communication subsystem can include radio-frequency transmitter and transmitter and/or light (such as infrared) receiver And transmitter.The particular design and embodiment of radio communication subsystem 124 can depend on mobile terminal 100 is supported one A or multiple communication networks.For example, mobile terminal 100 can include being designed to support GSM network, GPRS network, EDGE nets Network, Wi-Fi or WiMax network and BlueboothTMThe communication subsystem 124 of network.

Audio subsystem 126 can be coupled with loud speaker 128 and microphone 130, to help to implement to enable voice Function, such as speech recognition, speech reproduction, digital record and telephony feature.I/O subsystems 140 can include touch screen control Device 142 processed and/or other one or more input controllers 144.Touch screen controller 142 may be coupled to touch screen 146.It lifts For example, the touch screen 146 and touch screen controller 142 can be detected using any one of a variety of touch-sensing technologies The contact and movement or pause carried out therewith, wherein detection technology include but is not limited to capacitive character, resistive, infrared and table Face technology of acoustic wave.Other one or more input controllers 144 may be coupled to other input/control devicess 148, such as one Or the pointer device of multiple buttons, rocker switch, thumb wheel, infrared port, USB port, and/or stylus etc.It is described One or more button (not shown)s can include the up/down for 130 volume of controlling loudspeaker 128 and/or microphone Button.

Memory interface 102 can be coupled with memory 150.The memory 150 can be deposited including high random access Reservoir and/or nonvolatile memory, such as one or more disk storage equipment, one or more optical storage apparatus and/ Or flash memories (such as NAND, NOR).Memory 150 can store an operating system 172, for example, Android, IOS or The operating system of Windows Phone etc.The operating system 172 can include handling basic system services and execution The instruction of task dependent on hardware.Memory 150 can also be stored using 174.It, can be from memory in mobile equipment operation Load operating system 172 in 150, and performed by processor 104.Using 174 at runtime, can also add from memory 150 It carries, and is performed by processor 104.It operates on operating system using 174, is provided using operating system and bottom hardware Interface realizes the various desired functions of user, such as instant messaging, web page browsing, pictures management.It can be independently of using 174 That operating system 172 provides or included operating system 172.

In above-mentioned various applications 174, a kind of application therein is that can support mobile terminal document according to the present invention The client application of management, user can be led to by the browser on large screen computing device and the client application of mobile terminal Believe and manage the file of mobile terminal.

Fig. 2 shows the browser administration mobile terminals according to an embodiment of the invention using large screen computing device The system 200 of file.The system 200 includes mobile terminal 210, server 220 and computing device 230.Pacify on mobile terminal 210 Equipped with the client application 212 for supporting mobile terminal document management, and be stored with various files, as photo, audio, video, Document (such as document of Word, PDF form).Applications client 212 may operate in the operating systems such as Android, IOS. Server 220 for example can be the remote cloud server for being physically located at one or more places.Computing device 230 for example can be with There is the computing device of relatively large screen including personal computer (PC), laptop, smart television etc..Computing device Browser 232, such as IE, Chrome and Firefox browser are installed on 230.Browser 232 may operate in such as In the operating systems such as Windows, Mac.

Browser 232 receives user in the address that browser address bar inputs, e.g. domain name first Www.weline.cc corresponds to the IP address of server 220.Browser accesses server 220 according to the address, specific to grasp Make to include such as inquiry DNS and obtain the IP address returned, establish TCP connection, HTTP request requests are sent to server, this In be not repeated.After the access request from browser 232 is received, server 220 distributes the first session identification (Session ID) and gap marker (Channel ID).Server 220 generates invitation address corresponding with gap marker (inviteurl), which is two-dimension code pattern by calling Quick Response Code Transformation Service, and obtains the two-dimension code pattern URL addresses (qrcodeurl).In other words, the content which is included is inviteurl.Server 220 is to clear Look at 232 returning response message (200OK) of device, the URL addresses qrcodeurl containing two-dimension code pattern and the first session in the message Mark.The wherein format sample of qrcodeurl is as follows:

qrcodeurl:"qrcodeContent=http://192.168.0.1/inviteId= 12d345d8z834baef839c0",

Long connection is established between server 220 and browser 232.Browser 232 accesses the URL addresses of two-dimension code pattern Qrcodeurl obtains two-dimension code pattern and shows.For example, Fig. 3 B show that browser according to an embodiment of the invention connects Connect interface schematic diagram during server.Two-dimension code image is shown in the figure to wait for mobile scanning terminal Quick Response Code.

Fig. 3 A show that the client application 212 of mobile terminal according to an embodiment of the invention and server 220 are built Interface schematic diagram before vertical connection.In the surface chart, the operation of user is prompted, to establish the connection with server. User can scan the Quick Response Code figure shown on the browser 232 of computing device 230 by the client application 212 of mobile terminal Shape so as to obtain the content of two-dimension code pattern, that is, invites address inviteurl.Mobile terminal client terminal is accessed using 212 Inviteurl, server 220 are identified to its backward channel, while return to the second session identification.Server can by gap marker To determine the relationship of browser and mobile terminal, i.e., mobile scanning terminal is the Quick Response Code shown on browser.Similar to clothes The process of connection is established between business device and 220 browsers 232, long connect also is established between server 220 and client application 212 It connects.Server 220 is stored with the first session identification of long connection and server 220 and visitor between server 220 and browser 232 The second session identification of long connection between 212 is applied at family end, is associated between the two session identifications by gap marker, logical in this way Gap marker is crossed to form a channel between browser 232 and client application 212, is distinguished and is serviced with session identification The object of device length connection is that mobile terminal client terminal applies 212 or browser 232.In other words, in server 220 and browsing Establish two long connections between device 232 respectively between server 220 and client application 212, server is periodically to browsing Device and client application send heartbeat message.The two length connections are associated with to form a channel by same gap marker, visitor The signaling or data that the application of family end is sent are pushed to browser by the channel via server.

After channel is established, the client application 212 of mobile terminal is by the statistical information of mobile terminal, such as mobile terminal Model, system version, memory space, the contact person stored, short message, Miscellaneous Documents quantity etc., sent by channel To browser 232, specifically, these information for example pass through the second session connection by client application 212 by post modes Server 220 is sent to, server 220 finds associated first session connection according to gap marker, and passes through the first session Connection sends information to browser 232.Browser 232 shows corresponding mobile terminal statistical information.For example, Fig. 3 C are client After the statistical information of mobile terminal is sent to browser by end using 212 by server push, browser shows the statistical message Show surface chart.Establish and include the master catalogues of various document classifications, such as picture master catalogue, audio master catalogue etc., and if into Such as under picture master catalogue, then multiple picture thumbnails can be shown.

User can check the information of mobile terminal on the browser of the computing device of large screen, and be set using calculating Standby input equipment (such as mouse, keyboard) easily carries out the various operations to file, such as from acquisition for mobile terminal file, clear It lookes at, delete file etc..By establishing the channel via server between mobile terminal and the browser of computing device, profit is only needed The management to mobile terminal can be realized with browser existing on computing device, without installation in advance on the computing device Software not only saves the time of user, also saves the work of software developer.Moreover, it is moved eventually using browser administration The scheme at end is especially suitable for the installation limited authority of computing device software or lacks available mobile terminal data management software Situation.

After the browser of computing device and the client application of mobile terminal establish connection by server, work as server When the message or data from client application are received by the second session, server is searched and the second meeting according to gap marker Words identify associated first session identification, and the message or data are sent to the browser of computing device by the first session.By Transit server is transferred through in this, because of referred to herein as indirectly connected communication pattern.The invention also provides one kind without server The data-transmission mode of transfer, i.e., direct-connected communication pattern.Under direct-connected pattern, the browser of computing device and the visitor of mobile terminal Data transmission between the application of family end can by being directly connected to carry out between them, without transit server, so as to Flow and expense may simultaneously be saved by improving transmission speed.Direct-connected communication pattern explained below establishes process.

First, the client application 212 of mobile terminal passes through 220 established channel of server, i.e. the first session and Two sessions send the direct-connected communication invitation message for including the direct-connected mailing address of mobile terminal to the browser 232 of computing device.Disappear The format sample of breath is as follows:

Wherein 192.168.1.119 is the direct-connected mailing address of mobile terminal oneself, such as the inside IP of WLAN Address.The numerical value (id) generated at random can also be included in direct-connected communication notifications message, as authentication information.Browsing Device request after direct-connected communication invitation message is received accesses the direct-connected address included in message.This access is similar to ping behaviour Make, i.e., browser, if other side receives the data packet, can return to an equal amount of number to the direct-connected mailing address transmission data packet According to packet, thereby confirm that connection between the two is unimpeded, otherwise mean that browser can not access direct-connected mailing address, the two It continues to operate under indirectly connected pattern.When the client application of mobile terminal receives the access request message from browser When, it is direct-connected to determine that mobile terminal and computing device can carry out.It, can in the access request message of browser in order to enhance safety With comprising the numerical value in direct-connected communication notifications message, client application 212 can verify the numerical value.If verification one It causes, the client application 212 of mobile terminal sends direct-connected communication response message, example lattice by server 220 to browser 232 Formula is

{

type:"directOK"

}

Client application 212 enters direct-connected pattern, starts web server.Browser disappears receiving direct-connected communication response After breath, also into direct-connected pattern.In this way, with the side of server-client between client application and the browser of computing device Formula carries out data transmission.In addition, after the access request message from browser is received, client application can record source IP address and write-in cookie, the request of file is downloaded for browser later will verify IP address and cookie, if not Matching then returns to 403 mistakes.In addition, due to the client application of server and mobile terminal not same area, and browser and client End application can send access request and in view of browser using AJAX (asynchronous JavaScript and XML) modes The limitation of origin policy, therefore, the client application of mobile terminal can also realize that cross-domain resource shares (CORS), can be straight Even information (the Access-Control-Allow- for allowing the cross-domain access of browser is added in the response header of invitation message Origin), so that cross-domain access can be carried out when browser receives the direct-connected invitation message.

Under direct-connected communication pattern, signaling/message can also be switched to shifting from former channel (i.e. by the channel of server) It is dynamic to be directly connected to channel between terminal and computing device browser, so as to fulfill the localization of message.The correlation of switching channel Message format sample it is as follows:

The directChannel message is sent to the browser of computing device by mobile terminal by server, is informed straight The even address (url) of communication port.Browser is upon receiving the message polled (polling) url addresses.It is mobile whole End can start direct communication channel after the GET request of poll is received, and stop toward former channel POST message.Mobile terminal to Browser send switchChannel message, format sample for

"type":"switchChannel"

}

SwitchChannel message informing browser switching channels.After browser receives the message, stop to server Former channel POST message.

Once into direct-connected pattern, directly it can for example pass through enterprise without high in the clouds between browser and mobile terminal Internal local network transport data.In this way, not only saving the flow of mobile terminal, and substantially increase the speed of data transmission Degree, also improves the user experience by browser administration mobile terminal data.

To the document transmission process under direct-connected communication pattern and indirectly connected communication pattern be described respectively below.

Under direct-connected communication pattern, browser is in response to user's operation, the file in acquisition request mobile terminal.For example, User views the information such as the listed files stored on mobile terminal, thumbnail on a web browser, passes through the inputs such as mouse, keyboard Equipment specifies the file to be obtained.Browser sends file request message (requestFile) to mobile terminal, is wrapped in the message Mark containing requested document.Mobile terminal returns to the logical of the web addresses comprising this document after file request is received Know message.The web addresses of this document indicate absolute url of this document in the web server of mobile terminal.Browser is receiving To after response message, file is downloaded from mobile terminal according to web client-server mode.

In direct-connected communication pattern, it is understood that there may be some special realization methods.For example, PDF.js may be obtained by AJAX Take pdf document, therefore, under direct-connected communication pattern there are it is cross-domain the problem of.At this moment the web server of mobile terminal is needed to realize CORS (across source Resource Sharing Protocol).The setting and confirmation of some heads (Headers) that CORS passes through web server is realized Cross-domain request is not detailed herein.

Under indirectly connected communication pattern, browser is in response to user's operation, the file in acquisition request mobile terminal.Browsing Device sends file request message (requestFile) by server to mobile terminal, includes requested document in the message Mark.Mobile terminal is uploaded to server after file request is received, by this document.Server is returned to browser and is wrapped The notification message of web addresses containing this document.The web addresses of this document indicate this document in the web server of server Address.Browser downloads file after response message is received, according to web client-server mode from server.

In addition to answering browse request, mobile terminal can also actively send the file to browser.For example, user can be Photo is sent to browser in the client application of mobile terminal.Under direct-connected pattern, mobile terminal sends text to browser Part sends message (sendFile).The message format example is

Mobile terminal sends the notification message of the web addresses comprising this document to browser.The web addresses instruction of this document Absolute url of this document in the web server of mobile terminal.Browser is after response message is received, according to web client End-server mode downloads file from mobile terminal.In indirectly connected communication pattern, browser sends file hair to mobile terminal Message is sent, the file that mobile terminal will be sent is uploaded onto the server, and server receives the web addresses for including this document after file Notification message be sent to browser, browser is after response message is received, according to web client-server mode from clothes Business device downloads file.

It should be noted that transmission file here can be two-way, it can both send from mobile terminal to browser, also might be used To be sent from browser to mobile terminal.

In this way, can file transmission easily be carried out with mobile terminal by the browser of computing device, without counting It calculates and software is installed in advance in equipment.

According to one embodiment, under indirectly connected communication pattern, server is when receiving the file that mobile terminal uploads Using a kind of stronger mechanism of real-time.Specifically, when server receives the file upload request of mobile terminal (such as When POST), server notifies the browser of computing device rather than reinforms browser after file has uploaded immediately.Clothes The upper transmitting file received is divided into multiple pieces of storages, such as five pieces by business device.After browser receives the notification message of server, Access web addresses (such as GET) wherein included.The address corresponds to the web addresses of the first blocks of files of server storage, clear Device of looking at obtains blocks of files always from the address, until All Files block end of transmission.In this way, browser can be downloaded more quickly Complete file, this is especially advantageous in the case where file size is larger.

Fig. 4 shows the document transmission method 400 that the browser of computing device according to an embodiment of the invention performs Flow chart.

In step S410, browser in response to the file in acquisition request mobile terminal user's operation, to mobile terminal File request message is sent, the mark of requested document is included in the message.In step S420, browser is received comprising this article The notification message of the web addresses of part.Under direct-connected communication pattern, the web addresses of this document indicate this document in mobile terminal Web addresses in web server, under indirectly connected communication pattern, the web addresses of this document indicate this document in server Web addresses in web server.In step S430, browser downloads file from the web addresses.In addition, browser can also connect The file request message from mobile terminal is received, the mark of requested document is included in the message.Under direct-connected communication pattern, Browser sends the notification message of the web addresses comprising this document to mobile terminal, so that mobile terminal is downloaded from the web addresses File.The web addresses of this document indicate web address of this document in the web server of browser.In indirectly connected communication pattern Under, browser uploads onto the server this document, so that mobile terminal downloads file from server.

Fig. 5 shows 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 of the browser from computing device, is wrapped in the message Mark containing requested document.Under direct-connected communication pattern, in step S520, mobile terminal is sent to browser comprising this article The notification message of the web addresses of part downloads file so as to the browser of computing device from the web addresses.The web addresses of this document Indicate web address of this document in the web server of mobile terminal.It is mobile in step S530 under indirectly connected communication pattern Terminal uploads onto the server this document, and file is downloaded from server so as to the browser of computing device.

Fig. 6 shows the block diagram of the browser 600 of computing device according to an embodiment of the invention.

Browser 600 includes connection management device 610, message processing apparatus 620 and web client 630.Connection management fills The user's operation of 610 files being adapted in acquisition request mobile terminal is put, file request message is sent to mobile terminal, Include the mark of requested document in the message.Connection management device 610 is further adapted for receiving the web addresses comprising this document Notification message.Under direct-connected communication pattern, the web addresses of this document indicate this document in the web server of mobile terminal Web addresses, under indirectly connected communication pattern, the web addresses of this document indicate this document in the web server of server Web addresses.Message processing apparatus 620 is suitable for extracting the web addresses from notification message.Web client 630 is suitable for from the web Download file in address.

Fig. 7 shows the block diagram of the client application 700 of mobile terminal according to an embodiment of the invention.

Client application 700 includes connection management device 710, message processing apparatus 720 and web server 730.Connecting tube The file request message that device 710 is suitable for receiving the browser from computing device is managed, includes requested document in the message Mark.Message processing apparatus 720 is suitable for extracting the mark of requested document from file request message.Connection management device 710 are suitable under direct-connected communication pattern, and the notification message of the web addresses comprising this document is sent to browser.The web of this document Address indicates web address of this document in the web server 730 of mobile terminal, so as to the computing device under direct-connected pattern Browser downloads file from the web addresses.Connection management device 710 is further adapted under indirectly connected communication pattern, will be on this document Server is passed to, file is downloaded from server so as to the browser of computing device.

A1:A kind of browser of computing device, the browser of the computing device can pass through server and mobile terminal phase Even, which includes:Connection management device is adapted for the user's operation of the file in acquisition request mobile terminal, to Mobile terminal sends file request message, and the mark of requested document is included in the message and is received comprising this document The notification message of web addresses;Message processing apparatus, suitable for extracting the web addresses from notification message;And web client, it is suitable for File is downloaded from the web addresses.A2:Browser as described in A1, wherein under direct-connected communication pattern, the web addresses of this document Indicate web address of this document in the web server of mobile terminal.A3:Browser as described in A1, wherein in non-straight connection Under letter pattern, the web addresses of this document indicate web address of this document in the web server of server.B1:A kind of movement Communication customer end in terminal, the communication customer end can be connected by server with the browser of computing device, communication visitor Family end includes:Connection management device suitable for receiving the file request message of the browser from computing device, includes in the message There is the mark of requested document;Message processing apparatus, suitable for extracting the mark of requested document from file request message;With Web server, wherein connection management device are suitable under direct-connected communication pattern, to browser with sending the web comprising this document The notification message of location, the web addresses of this document indicate web address of this document in the web server of mobile terminal, thus The browser of computing device downloads file from the web addresses under direct-connected pattern.Communication customer ends of the B2 as described in claim B1, Wherein connection management device is further adapted under indirectly connected communication pattern, and this document is uploaded onto the server, so as to computing device Browser downloads file from server.C1:A kind of computing device, including browser according to the present invention.D1:It is a kind of mobile whole End, including communication customer end according to the present invention.

In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, knot is not been shown in detail Structure and technology, so as not to obscure the understanding of this description.

Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor Shield the present invention claims the feature more features than being expressly recited in each claim.More precisely, as following As claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, it abides by Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself Separate embodiments as the present invention.

Those skilled in the art should understand that the modules or unit or group of the equipment in example disclosed herein Part can be arranged in equipment as depicted in this embodiment or alternatively can be positioned at and the equipment in the example In different one or more equipment.Module in aforementioned exemplary can be combined into a module or be segmented into addition multiple Submodule.

Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit requirement, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.

In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.

In addition, be described as herein can be by the processor of computer system or by performing for some in the embodiment The method or the combination of method element that other devices of the function are implemented.Therefore, have to implement the method or method The processor of the necessary instruction of element forms the device for implementing this method or method element.In addition, device embodiment Element described in this is the example of following device:The device is for implementing as in order to performed by implementing the element of the purpose of the invention Function.

As used in this, unless specifically stated, come using ordinal number " first ", " second ", " third " etc. Description plain objects are merely representative of the different instances for being related to similar object, and are not intended to imply that the object being described in this way must Must have the time it is upper, spatially, in terms of sequence or given sequence in any other manner.

Although the embodiment according to limited quantity describes the present invention, above description, the art are benefited from It is interior it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other embodiments.Additionally, it should be noted that The language that is used in this specification primarily to readable and introduction purpose and select rather than in order to explain or limit Determine subject of the present invention and select.Therefore, in the case of without departing from the scope and spirit of the appended claims, for this Many modifications and changes will be apparent from for the those of ordinary skill of technical field.For the scope of the present invention, to this The done disclosure of invention is illustrative and not restrictive, and it is intended that the scope of the present invention be defined by the claims appended hereto.

Claims (8)

1. the document transmission method that a kind of browser of computing device performs, the browser of the computing device can pass through server It is connected with mobile terminal, the data-transmission mode between browser and mobile terminal includes direct-connected communication pattern and indirectly connected communication Pattern, this method include:

It receives server address input by user and server is accessed according to the address, so that server is according to from browser Access request distributes the first session identification and gap marker and generates and return the Quick Response Code of the corresponding gap marker;

It receives and shows the Quick Response Code of the corresponding gap marker, establish and service so as to mobile scanning terminal and according to the Quick Response Code The connection of device and the statistical information that mobile terminal is sent by the corresponding channel of the gap marker, wherein, the mobile terminal After scanning the Quick Response Code, suitable for receiving the second session identification and the gap marker that server returns, and according to second meeting Words mark establishes long connection with server, is connected between length connection and computing device and server by the long of the first session establishment It connected the gap marker to be associated, and formed the channel between browser and client;

Client application sends the direct-connected communication comprising the direct-connected mailing address of mobile terminal to browser by the channel and invites Message;

Browser request after direct-connected communication invitation message is received accesses the direct-connected address included in message;

Client application receives the access request message from browser, determines that mobile terminal and computing device can carry out directly Even, direct-connected communication response message is sent to browser by the channel;

Client application and browser enter direct-connected communication pattern;

It receives the statistical information from mobile terminal and is shown in display interface;

In response to the user's operation of the file in acquisition request mobile terminal, file request message is sent to mobile terminal, this disappears Include the mark of requested document in breath;

Under direct-connected communication pattern:Browser receives the notification message of the web addresses comprising this document, and web addresses instruction should Absolute address of the file in the web server of mobile terminal;And according to web client-server mode from the web addresses Download file;

Under indirectly connected communication pattern:This document is uploaded to server by mobile terminal, is wrapped so that server is returned to browser The notification message of web addresses containing this document, the web addresses of this document indicate this document in the web server of server Address;And browser downloads file according to web client-server mode after response message is received from server.

2. the method as described in claim 1 further includes:

If direct-connected communication response message is not received, in indirectly connected communication pattern.

3. method as claimed in claim 2, further includes:

The file request message from mobile terminal is received, the mark of requested document is included in the message;

Under direct-connected communication pattern, the notification message of the web addresses comprising this document is sent to mobile terminal, so as to mobile terminal File is downloaded from the web addresses, the web addresses of this document indicate web address of this document in the web server of browser; Or

Under indirectly connected communication pattern, this document is uploaded onto the server, so that mobile terminal downloads file from server.

4. a kind of document transmission method of mobile terminal execution, which can pass through the browsing of server and computing device Device is connected, and the data-transmission mode between browser and mobile terminal includes direct-connected communication pattern and indirectly connected communication pattern, should Method includes:

The Quick Response Code shown in scanning browser, and the two-dimension code pattern is converted into invitation address corresponding with gap marker;

To server ask access the invitation address, and receive server return the second session identification and with invite address it is corresponding Gap marker;

It is established according to second session identification and is connected with the long of server, in order to which server by utilizing gap marker connects the length It is associated between browser and server by the long connection that the first session identification is established, forms browser and mobile terminal Between channel, which corresponds to the gap marker of mobile terminal and the server;

Client application sends the direct-connected communication comprising the direct-connected mailing address of mobile terminal to browser by the channel and invites Message;

Browser request after direct-connected communication invitation message is received accesses the direct-connected address included in message;

Client application receives the access request message from browser, determines that mobile terminal and computing device can carry out directly Even, direct-connected communication response message is sent to browser by the channel;

Client application and browser enter direct-connected communication pattern;The local statistical information of generation, and pass through the gap marker pair The channel answered sends the statistical information to mobile terminal, so that browser shows the statistical information in display interface;

The file request message of the browser from computing device is received, the mark of requested document is included in the message;With And

Under direct-connected communication pattern, the notification message of the web addresses comprising this document is sent to browser, so as to computing device Browser downloads file from the web addresses, and the web addresses of this document indicate this document in the web server of mobile terminal Web addresses;

Under indirectly connected communication pattern:This document is uploaded to server by mobile terminal, is wrapped so that server is returned to browser The notification message of web addresses containing this document, the web addresses of this document indicate this document in the web server of server Address;And browser downloads file according to web client-server mode after response message is received from server.

5. a kind of browser of computing device, the browser of the computing device can be connected by server with mobile terminal, clear The data-transmission mode look between device and mobile terminal includes direct-connected communication pattern and indirectly connected communication pattern, the browser packet It includes:

Connection management device, suitable for receiving server address input by user and accessing server according to the address, to service Device distributes the first session identification and gap marker according to the access request from browser and generates and return to the corresponding channel mark The Quick Response Code of knowledge, the connection management device are further adapted for establishing long connection according to the first session identification and server;Message Processing Device suitable for receiving and showing the Quick Response Code of the corresponding gap marker, is established so as to mobile scanning terminal and according to the Quick Response Code Connection with server and the statistical information that mobile terminal is sent by the corresponding channel of the gap marker, wherein, the shifting After the dynamic terminal scanning Quick Response Code, suitable for receiving the second session identification and the gap marker that server returns, and according to this Second session identification establishes long connection with server, and the long connection between length connection and computing device and server passes through described Gap marker is associated with, and forms the channel between browser and client;The message processing apparatus is further adapted for receiving from movement The statistical information of terminal is simultaneously shown in display interface;

Wherein, client application and browser are suitable for entering direct-connected communication pattern as follows:

Client application sends the direct-connected communication comprising the direct-connected mailing address of mobile terminal to browser by the channel and invites Message;Browser request after direct-connected communication invitation message is received accesses the direct-connected address included in message;Client application The access request message from browser is received, it is direct-connected to determine that mobile terminal and computing device can carry out, by described logical Road sends direct-connected communication response message to browser;Client application and browser enter direct-connected communication pattern;

Wherein, under direct-connected communication pattern:Connection management device is further adapted in response to the file in acquisition request mobile terminal User's operation sends file request message to mobile terminal, and the mark of requested document is included in the message and receives packet The notification message of web addresses containing this document, the web addresses indicate that this document is absolute in the web server of mobile terminal Address;Message processing apparatus is suitable for extracting the web addresses from notification message;With web client be suitable for according to web client- Server mode downloads file from the web addresses;

Under indirectly connected communication pattern:This document is uploaded to server by mobile terminal, is wrapped so that server is returned to browser The notification message of web addresses containing this document, the web addresses of this document indicate this document in the web server of server Address;And browser downloads file according to web client-server mode after response message is received from server.

6. the communication customer end in a kind of mobile terminal, which can pass through server and the browser of computing device It is connected, the data-transmission mode between browser and mobile terminal includes direct-connected communication pattern and indirectly connected communication pattern, this is logical Letter client includes:

Suitable for the Quick Response Code that shows in scanning browser, which is converted to and gap marker for connection management device Corresponding invitation address asks to access the invitation address to server, receives the second session identification of server return and with inviting Please the corresponding gap marker in address, and established according to second session identification and connected with the long of server, which corresponds to The gap marker of mobile terminal and the server;

Message processing apparatus suitable for the local statistical information of generation, and passes through the corresponding channel of the gap marker and is sent out to mobile terminal The statistical information is given, so that browser shows the statistical information in display interface;

Connection management device is further adapted for receiving the file request message of the browser from computing device, is included in the message The mark of demand file;

Message processing apparatus, suitable for extracting the mark of requested document from file request message;With

Web server,

Wherein, client application and browser are suitable for entering direct-connected communication pattern as follows:

Client application sends the direct-connected communication comprising the direct-connected mailing address of mobile terminal to browser by the channel and invites Message;Browser request after direct-connected communication invitation message is received accesses the direct-connected address included in message;Client application The access request message from browser is received, it is direct-connected to determine that mobile terminal and computing device can carry out, by described logical Road sends direct-connected communication response message to browser;Client application and browser enter direct-connected communication pattern;

Wherein connection management device is suitable under direct-connected communication pattern, and the logical of the web addresses comprising this document is sent to browser Know message, the web addresses of this document indicate web address of this document in the web server of mobile terminal, so as in direct-connected mould The browser of computing device downloads file from the web addresses under formula;

Under indirectly connected communication pattern:This document is uploaded to server by connection management device, so that server is returned to browser The notification message of the web addresses comprising this document is returned, the web addresses of this document indicate web server of this document in server In address;Browser downloads file after response message is received, according to web client-server mode from server.

7. a kind of computing device, including browser as claimed in claim 5.

8. a kind of mobile terminal, including communication customer end as claimed in claim 6.

CN201410667487.9A 2014-11-20 2014-11-20 The browser of computing device and the file of mobile terminal transmit Active CN104378435B (en) Priority Applications (1) Application Number Priority Date Filing Date Title CN201410667487.9A CN104378435B (en) 2014-11-20 2014-11-20 The browser of computing device and the file of mobile terminal transmit Applications Claiming Priority (1) Application Number Priority Date Filing Date Title CN201410667487.9A CN104378435B (en) 2014-11-20 2014-11-20 The browser of computing device and the file of mobile terminal transmit Publications (2) Family ID=52557081 Family Applications (1) Application Number Title Priority Date Filing Date CN201410667487.9A Active CN104378435B (en) 2014-11-20 2014-11-20 The browser of computing device and the file of mobile terminal transmit Country Status (1) Families Citing this family (11) * Cited by examiner, † Cited by third party Publication number Priority date Publication date Assignee Title CN105224676A (en) * 2015-10-13 2016-01-06 北京奇虎科技有限公司 The method of mobile terminal file migration and device CN105915603B (en) * 2016-04-14 2019-09-10 北京小米移动软件有限公司 File management method and device CN107645551B (en) * 2017-09-19 2020-02-11 Oppo广东移动通信有限公司 File transfer method and device CN108462695B (en) * 2018-02-02 2020-07-28 北京云知声信息技术有限公司 Method, device and system for safely transmitting data CN110474942A (en) * 2018-05-10 2019-11-19 阿里巴巴集团控股有限公司 A kind of document transmission method, system and terminal CN111324384B (en) * 2018-12-14 2023-08-04 英业达科技有限公司 Device and method for selecting starting image file according to device message in pre-execution environment CN111506846B (en) * 2019-01-30 2023-05-02 杭州海康威视数字技术股份有限公司 Web page generation method and device, electronic equipment and storage medium CN111327690B (en) * 2020-01-23 2022-10-21 湖南快乐阳光互动娱乐传媒有限公司 Cross-domain file downloading method and device CN112579548A (en) * 2020-12-24 2021-03-30 深圳市优必选科技股份有限公司 File sharing method and device, electronic equipment and medium CN114024953B (en) * 2021-10-22 2024-02-23 北京达佳互联信息技术有限公司 File transmission method and device and electronic equipment CN114676356A (en) * 2022-03-31 2022-06-28 珠海豹趣科技有限公司 Bookmark collection method and device, electronic equipment and storage medium Citations (1) * Cited by examiner, † Cited by third party Publication number Priority date Publication date Assignee Title CN101416173A (en) * 2006-03-31 2009-04-22 STTWebOS股份有限公司 Method and apparatus for information exchange over a web based environment Family Cites Families (4) * Cited by examiner, † Cited by third party Publication number Priority date Publication date Assignee Title US6167441A (en) * 1997-11-21 2000-12-26 International Business Machines Corporation Customization of web pages based on requester type KR20070090858A (en) * 2007-03-15 2007-09-06 세창인스트루먼트(주) Internet service system linked to an access website and its method CN101453426B (en) * 2007-11-29 2016-01-06 中国电信股份有限公司 The system and method that a kind of Obj State information presents CN101583072B (en) * 2008-05-15 2011-09-21 北京凯思昊鹏软件工程技术有限公司 Middleware product for realizing Mobile Internet and method thereof Patent Citations (1) * Cited by examiner, † Cited by third party Publication number Priority date Publication date Assignee Title CN101416173A (en) * 2006-03-31 2009-04-22 STTWebOS股份有限公司 Method and apparatus for information exchange over a web based environment Non-Patent Citations (2) * Cited by examiner, † Cited by third party Title Alvin Ybañez.AirDroid: Remotely manage your Android from a Web browser.《www.androidauthority.com》.2013,第1页第1-3行、第LAN Connection Mode、Remote Connection Mode、Remote device management、Managing ringtones、Managing your apps节. * How-to Geek.Control Your Android from a Browser with AirDroid.《www.howtogeek.com》.2012,AirDroid’s Home Screen节. * Also Published As Similar Documents Publication Publication Date Title CN104378435B (en) 2018-07-06 The browser of computing device and the file of mobile terminal transmit CN104394208B (en) 2018-07-03 Document transmission method and server CN104376090B (en) 2017-11-07 The browser of computing device and the screen synch of mobile terminal CN104486371B (en) 2018-11-23 Batch downloads the device and method of file CN105100223B (en) 2019-10-15 File sharing method, device and system based on cloud storage CN105407134B (en) 2018-09-14 A kind of list submits equipment, method and mobile terminal CN103078868A (en) 2013-05-01 Application method and system of two-dimension code CN102867008A (en) 2013-01-09 Recognition system and method based on augmented reality and remote computing CN111368173A (en) 2020-07-03 File transmission method, device, electronic device and readable storage medium US10063751B2 (en) 2018-08-28 System and method for accessing images with a captured query image WO2014127675A1 (en) 2014-08-28 Method, device, and terminal for information sharing CN104462367B (en) 2018-09-14 A kind of browser and its method for viewing thumbnail of computing device WO2015100990A1 (en) 2015-07-09 Inter-terminal image sharing method, terminal device and communication system CN106534280B (en) 2019-12-03 Data sharing method and device CN103914266A (en) 2014-07-09 Method for distributing cloud data and actively printing cloud data by group printing end CN104462366A (en) 2015-03-25 Browser of computing device and thumbnail display method of browser US20160147900A1 (en) 2016-05-26 Automatic device upload configuration WO2016172968A1 (en) 2016-11-03 Cloud file transmission method, terminal and cloud server CN104484338B (en) 2018-05-29 Listed files management equipment and method CN104394210B (en) 2018-09-14 Direct-connected communication means and device KR20180068054A (en) 2018-06-21 Data sharing method among passengers of vehicle and system thereof CN104468739B (en) 2018-10-19 Message treatment method, client and mobile terminal CN104462250B (en) 2018-04-13 The communication of the browser and mobile terminal of computing device CN109299048A (en) 2019-02-01 The method for handling data and issuing data US20150242176A1 (en) 2015-08-27 Determining optimal rendering systems Legal Events Date Code Title Description 2015-02-25 C06 Publication 2015-02-25 PB01 Publication 2015-03-25 C10 Entry into substantive examination 2015-03-25 SE01 Entry into force of request for substantive examination 2018-07-06 GR01 Patent grant 2018-07-06 GR01 Patent grant

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4