[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104394200A - A method for performing simultaneous preview and display between a mobile device and a web terminal - Google Patents

A method for performing simultaneous preview and display between a mobile device and a web terminal Download PDF

Info

Publication number
CN104394200A
CN104394200A CN201410636559.3A CN201410636559A CN104394200A CN 104394200 A CN104394200 A CN 104394200A CN 201410636559 A CN201410636559 A CN 201410636559A CN 104394200 A CN104394200 A CN 104394200A
Authority
CN
China
Prior art keywords
file
mobile terminal
terminal
web
web terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410636559.3A
Other languages
Chinese (zh)
Other versions
CN104394200B (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.)
Filing date
Publication date
Application filed by BEIJING ANQI ZHILIAN TECHNOLOGY Co Ltd filed Critical BEIJING ANQI ZHILIAN TECHNOLOGY Co Ltd
Priority to CN201410636559.3A priority Critical patent/CN104394200B/en
Publication of CN104394200A publication Critical patent/CN104394200A/en
Application granted granted Critical
Publication of CN104394200B publication Critical patent/CN104394200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for performing simultaneous preview and display between a mobile device and a web terminal, wherein the mobile terminal and the web terminal communicate with a server end at Cloud, and the method comprises steps that a) the mobile terminal selects a file to be previewed; b) the mobile terminal transmits an preview request instruction to the server end and the file to be previewed is displayed on the mobile terminal; c) the server terminal forwards the preview request to the web terminal; d) after receiving the request, the web terminal is triggered to generate a long connection address and starts web service to receive a transmitted file; e) the web terminal transmits the long connection address to the mobile terminal; f) the mobile terminal transmits a current previewed file to the web terminal; g) the web terminal buffers and presents the file; h) the mobile terminal receives a manipulation instruction for the previewed file; and i) the manipulation instruction is transmitted to the web terminal, and is analyzed and converted into an instruction that performs the same operation on a file in a buffer currently presented.

Description

For carrying out the method for synchronous preview display between mobile device and web terminal
Technical field
Present invention relates in general to moving communicating field, especially, relate to and a kind ofly carry out interconnecting and being manipulated by mobile terminal synchronization between mobile terminal and web terminal and the method and system shown in web terminal.
Background technology
At present, the such as mobile electronic device of mobile phone, panel computer, mobile media player has become more and more popular use in people's daily life.Mobile device has had the trend replacing conventional personal computer gradually, becomes the storage center of personal information.But PC is in a lot of application, and by means of it, significantly display screen, easily input mode and more various software and operating system still have its irreplaceable effect.Therefore people in daily life, often needs the transmission of information of carrying out between mobile device and PC, simultaneous display and mutual.
PC is connected with electronic equipment with method such as usage data line, the video/audio line etc. of simultaneous display by traditional manipulating between mobile electronic device and PC, and by running specific software to realize.But these methods are very troublesome, the experience of user is very bad.Such as, the mode of data wire makes user need additionally to prepare hardware, for user makes troubles.In addition, other more complicated functions that extra install driver could realize except transfer files are many times needed.The connection of data wire also can have special requirement to the hardware interface of equipment, such as conventional HDMI, and be only just configured on newer computer equipment, model outmoded a little does not all configure, and connection cannot be realized.
In addition, WiFi technology can provide synchronous manipulation between mobile electronic device and PC and display.But, realize in the scheme of simultaneous display at conventional by WiFi technology, usually need access point (AP).Access point is used as the wireless network relaying between mobile electronic device and PC, and PC and mobile device must be connected on this wireless network relaying simultaneously could realize interconnection.Taken as the leading factor by AP in the network formed, if disconnect AP, that can destroy whole network, also can destroy the connection between mobile device and PC simultaneously.
The short distance near-field communication technology such as Bluetooth technology have also got more and more now and have been used to realize between mobile electronic device, transmitting data thus realizing synchronous manipulation and display.But Bluetooth technology cannot provide data transmission bauds at a high speed usually.In addition, PC is not all be equipped with bluetooth module usually, thus makes to be bi-directionally connected communication and cannot realize.
In addition, due to multifunctionality and the portability of smart mobile phone, user takes pictures frequently by smart mobile phone, recording music, video etc., and be limited to the less screen of smart mobile phone, user needs show in PC or other large screen displays or watch the content on mobile phone, the photo etc. that mobile phone such as, store often.And smart mobile phone is owing to possessing multiple input modes, also good operation control terminal can be become.Therefore, how stablely on the basis of mobile electronic device and PC interconnection can realize the manipulation of mobile terminal to PC at high speed, and simultaneous display, be also this area problem urgently to be resolved hurrily.
Therefore, need a kind of simultaneous display scheme realized between mobile electronic device and PC reliably, at a high speed, thus solve the aforementioned problems in the prior.
Summary of the invention
The object of the present invention is to provide a kind of method for carrying out synchronous preview display between mobile device and web terminal, described mobile terminal and web terminal are communicated to connect with the server end being positioned at high in the clouds respectively by network, said method comprising the steps of: a) selected the file wanting preview to show by described mobile terminal; B) sent request the instruction of preview by described mobile terminal to described server end, want the file of preview in described mobile terminal display; C) described server end forwards the request of this preview to described web terminal; D) described web terminal receives this request, triggers and generates long link address, and opens web services to be used for receiving the file transmitted; E) this long link address is sent to mobile terminal by described web terminal; F) mobile terminal is by current preview file according to received long link address, sends to web terminal; G) received preview file is carried out buffer memory by web terminal, and presents this file in web terminal; H) the manipulation instruction to preview file is received at mobile terminal; I) this manipulation instruction is sent to web terminal; J) web terminal receives this instruction, resolves and is converted into the instruction file in the current buffer memory presented being carried out to same operation, and carrying out identical operation to this file.
Preferably, the long connection in described steps d connects for http is long.
Preferably, send after the long link address in described steps d or the file in step f carry out transfer by server end.
Preferably, when the file of institute's preview only needs single screen to show, this file is directly presented; When the file of institute's preview needs multihead display, show the homepage of this file.
Preferably, described manipulation instruction be selected from file amplified, reduce, page turning, roll screen, the specific paragraph of selection.
Preferably, the transmission in described step b and display are carried out simultaneously or carry out successively.
Preferably, when mobile terminal sends continuous multiple manipulation instruction, these instructions received store in the queue mode of first in first out by web terminal, then from queue, take out corresponding instruction carry out parsings conversion according to receiving the time sequencing of instruction.
Preferably, when the manipulation instruction that mobile terminal the sends alternative document related to outside to current preview file manipulates, return step f, then perform step g.
Preferably, when terminating all manipulations at mobile terminal, web terminal empties the file in local cache.
Preferably, before described step a), connect through the following steps between described web terminal and described mobile terminal: a01) send connection request by described web terminal to described server end; A02) described server end sends 2 D code information to described web terminal; A03) by 2 D code information described in described mobile scanning terminal; A04) in response to the operation of described scanning Quick Response Code, described mobile terminal and described web terminal send the network connection status of self respectively to described server end; A05) described server end obtains the network condition that described mobile terminal and described web terminal are connected to server end separately, under judging that described mobile terminal is connected with the network of described web terminal and whether is in same local area network (LAN), and for whether being in same LAN, network condition identifier is arranged different states; A06) described server end sends connection establishment license respectively to described mobile terminal and described web terminal, connects between described mobile terminal and described web terminal.
According to method and system of the present invention, user can realize reliably between mobile electronic device and the web terminal with web interface, at a high speed, stable, user-interaction experience better connects, realize by the good manipulation of mobile terminal to web terminal, and the scheme of synchronous preview display.
Should be appreciated that description and the follow-up detailed description of aforementioned cardinal principle are exemplary illustration and explanation, should not be used as the restriction to the claimed content of the present invention.
Accompanying drawing explanation
With reference to the accompanying drawing of enclosing, the following description by embodiment of the present invention is illustrated by the more object of the present invention, function and advantage, wherein:
Fig. 1 a and Fig. 1 b schematically shows according to the system block diagram being undertaken interconnecting between mobile terminal and web terminal by server end of the present invention.
Fig. 2 diagrammatically illustrates according to the interaction diagrams being undertaken interconnecting between mobile terminal and web terminal by server end of the present invention.
Fig. 3 a schematically shows the linkage interface of Exemplary mobile terminal 110 according to an embodiment of the invention.
The connection that Fig. 3 b schematically shows exemplary according to an embodiment of the invention web terminal 120 presents interface.
Fig. 4 schematically shows the method flow diagram carrying out synchronous preview display and manipulation according to the present invention between web terminal 120 and mobile terminal 110.
Fig. 5 a-Fig. 5 c schematically show the exemplary display of method on mobile terminal 110 and web terminal 120 according to Fig. 4.
Embodiment
By reference to one exemplary embodiment, object of the present invention and function and the method for realizing these objects and function will be illustrated.But the present invention is not limited to following disclosed one exemplary embodiment; Can be realized it by multi-form.The essence of specification is only help various equivalent modifications Integrated Understanding detail of the present invention.
Hereinafter, embodiments of the invention will be described with reference to the drawings.In the accompanying drawings, identical Reference numeral represents same or similar parts, or same or similar step.
system survey
Fig. 1 a and Fig. 1 b schematically shows according to the system block diagram being undertaken interconnecting between mobile terminal and web terminal by server end of the present invention.Wherein Fig. 1 a schematically shows according to the system block diagram being undertaken interconnecting between mobile terminal and web terminal by server end of the present invention, and Fig. 1 b shows and comprises the concrete framework of server end and the system block diagram of composition.As shown in Figure 1a, system 100 comprises at least one mobile terminal 110, at least one web terminal 120, and is positioned at long-range server end 130 for what realize carrying out between mobile terminal 110 and web terminal 120 interconnecting realizing interactive type communication.Mobile terminal 110 is connected with server end 130 respectively by first network 140 with web terminal 120, and mobile terminal 110 is connected by second network 150 each other with web terminal 120.For schematic object, Fig. 1 illustrate only a mobile terminal 110 and a web terminal 120.But be understandable that in other embodiments, system 100 can comprise more mobile terminal 110 and/or more web terminal 120.In one embodiment according to the present invention, when system 100 has multiple mobile terminal 110 and multiple web terminal 120, each mobile terminal 110 has unique web terminal 120 uniquely corresponding with it.
Mobile terminal 110 and web terminal 120 can carry out two-way communication respectively through between the first network 140 of any type and server end 130.Described first network 140 is such as selected from the wide area network (" WAN ") of the local area network (LAN) (" LAN ") of such as Intranet and so on and such as the Internet and so on.First network 140 can be configured to support to utilize various protocols to arrange the transmission of the information of form.In addition, first network 140 can be public network, dedicated network or its combination.First network 140 can also utilize any one or polytype physical medium to realize, comprising the wired communication path be associated with multiple service provider and wireless communications path.Communication is WiFi or WLAN, GPRS, cellular network such as, such as GSM network, 3G network, LTE network or cdma network.
Between mobile terminal 110 and web terminal 120 also can between set up direct network connect, carry out two-way communication by second network 150.The protocol mode that described second network 150 adopts is such as http poll in conjunction with the direct-connected mode of WebSocket.
Mobile terminal 110 can be smart phone, personal digital assistant (PDA), panel computer, Multi-featured Mobile Terminal or comprise any other mobile device of computing function and its communication ability.The previewing module 112 that mobile terminal 110 comprises app Application of Interface 111 (as shown in Figure 1 b) and comprises.App applies 111 such as customized application (app), for carrying out two-way communication with the application possessing web ability.
The specific operating instructions that previewing module 112 sends on mobile terminal 110 for receiving user, and be sent to web terminal 120, to carry out simultaneous operation to web terminal 120.Previewing module 112 can also be used for the simultaneous display of triggering mobile terminals 110 and web terminal 120.Introduce in detail when concrete synchronous manipulation and the method step of simultaneous display will be described below method flow of the present invention.
Mobile terminal 110 comprises one or more computing equipment, this one or more computing equipment can receive the manipulation instruction of input from user, and can output be presented, therefore mobile terminal 110 also comprises I/O interface (input/output interface) 112, can receive one or more input and present output.Such as, what input interface can comprise in camera, touch pad, touch-screen, screen touch pen, microphone is one or more.In addition, output can be presented by output interface, to export the control operation instruction of user or the feedback information etc. from other users.It is one or more that output interface comprises in display screen, one or more loud speaker and haptic interface.
Web terminal 120 can be the terminal equipment of any support web agreements such as desktop computer, laptop computer, notebook computer, panel computer, game machine, intelligent television.Web terminal 120 comprises web interface 121 and buffer memory 122 (as shown in Figure 1 b).Web interface 121 such as web browser.In certain embodiments, corresponding web terminal 120 comprises the browser application for asking, resolving, show, perform webpage and execution to be included in the application in webpage.Browser application 128 can be any application of resource (such as, webpage and web services) allowing user search, browse and/or use URL (URL(uniform resource locator)) or URI (Uniform Resource Identifier) to identify." URL " is used for meaning the network address or the position of document herein.In this case, " document " refers to any document or the content of any form that can be used by web browser or other application, includes but not limited to: word processing document, electronic form document, presentation file, drawing, webpage, text, image, audio frequency, video etc.
The file that buffer memory 122 is sent from mobile terminal 110 for buffer memory, for use in the synchronous manipulation and the simultaneous display function that realize mobile terminal 110 pairs of web terminals 120.After display or manipulation terminate, buffer memory 122 can empty the file of wherein buffer memory automatically.
Fig. 1 b shows and comprises the concrete framework of server end and the system block diagram of composition.As shown in Figure 1 b, server end 130 comprises Quick Response Code module 131, network access module 132, network condition identifier 133 and address generation module 134.
Quick Response Code module 131 is for generating the Quick Response Code scanned for mobile terminal 110.According to one embodiment of present invention, Quick Response Code contains general unique identifier (UUID), and UUID is exclusive identification code.Mobile terminal 110 is connected to server end 130 with the unique link address of acquisition request and session (session) by the UUID that answers of this two-dimentional code table of scanning.
Network access module 132 judges mobile terminal 110 and the respective network connection status of web terminal 120 after scanning Quick Response Code success for corresponding mobile terminal 110, connect with the suitability of carrying out for different network connection status between mobile terminal 110 and web terminal 120, thus set up the connection between mobile terminal 110 and web terminal 120.Preferably, the connection of setting up is the long connection of http.This connection can send multiple packet continuously, during connection keeps, if there is no Packet Generation, keep connecting in order to ensure two terminals, can send within the predetermined distance time and detect packet (i.e. heartbeat packet), need to send detection packet between mobile terminal 110 and web terminal 120 and connect to maintain this.
Particularly, network access module 132 obtains the network state that mobile terminal 110 and web terminal 120 are connected to server end 130 separately, under judging that mobile terminal 110 is connected with the network of web terminal 120 and whether is in consolidated network.Consolidated network according to the present invention refers to that the same network segment can directly connect under same router, and does not need through outer net.
And for whether being in same LAN, network condition identifier 133 is arranged different states.Such as, if be in consolidated network, then a mark is set in network condition identifier 133, such as numeral 1; If be not in consolidated network, then mark is not set in network condition identifier 133, or another different mark is set, such as numeral 0.
According to one embodiment of present invention, network access module 132 acquisition mobile terminal 110 and web terminal 120 can be connected to the network state of server termly separately, to judge that mobile terminal 110 is connected with the network of web terminal 120 state whether be under same local area network (LAN) and whether changes, and for the updating network state network condition identifier 133 changed.The frequency of described regular acquisition can be such as every 30 seconds once.This signal regularly sent is also referred to as " heartbeat signal ", and this signal can also be used to detection mobile terminal 110 and whether web terminal 120 is still connected to server end 130.Such as when the heartbeat response signal not receiving mobile terminal 110 or web terminal 120 feedback exceedes certain number of times, server end 130 can judge that mobile terminal 110 or web terminal 120 have disconnected the connection with server end 130.
The mark that network condition identifier 133 connects for producing suitability between memory mobile terminal 110 and web terminal 120 due to different network connection status.Such as, mobile terminal 110 and web terminal 120 are in consolidated network, arrange a mark in network condition identifier 133; If be not in consolidated network, then the mark that another are different is set.
Address generation module 134, for generating the file address needing to transmit between mobile terminal 110 and web terminal 120.After connecting according to method establishment of the present invention between mobile terminal 110 and web terminal 120, user can select by mobile terminal 110 upload file to Web terminal 120, or download the file into mobile terminal 110 from Web terminal 120.When user sends the request of this type of move, address generation module 134 is the network address of transmitted file generated, such as URL, send the mobile terminal 110 or web terminal 120 that need download file to, mobile terminal 110 and 120, web terminal need be accessed this address and can be downloaded to this file, thus realize the transmission of file.
interactive mode
Fig. 2 shows the method flow diagram that user is undertaken by server end 130 and web terminal 120 by mobile terminal 110 being connected alternately.As shown in Figure 2,
In step 205, user sends connection request by web terminal 120 to server end 130.Particularly, user can by starting the browser in web terminal 120, and the address information inputting www.****.cc in browser address bar is to send connection request.
Then, in step 210, the connection request that server end 130 can answer web terminal 120 to send sends 2 D code information to web terminal 120, and in web terminal 120, presents this 2 D code information in a step 220.Described 2 D code information contains general unique identifier (UUID), and UUID is exclusive identification code.Mobile terminal 110 is connected to server end 130 with the unique link address of acquisition request and session (session) by the UUID that answers of this two-dimentional code table of scanning.
Next, in step 225, user scans the 2 D code information in web terminal 120 by mobile terminal 110.Such as, by mobile terminal 110 with camera scan.Particularly, user starts the app software on mobile terminal 110, and app software can be pointed out scanning input Quick Response Code thus be realized connecting.
Then, in response to the operation of scanning input Quick Response Code, mobile terminal 110 and web terminal 120 initiate connection request in step 230a and step 230b to server end respectively, and the network connection status of self is sent to server end 130.Concrete, described network connection status is for be connected to server end by which kind of network.
In step 235, server end 130 is connected to the network condition of server separately by the mobile terminal 110 that obtains and web terminal 120, under judging that mobile terminal 110 is connected with the network of web terminal 120 and whether is in same local area network (LAN), and for whether being in same LAN, network condition identifier is arranged different states.Such as, if be in consolidated network, then a mark is set in network condition identifier 133, such as numeral 1; If be not in consolidated network, then mark is not set in network condition identifier 133, or another different mark is set, such as numeral 0.
Then, server end 130 sends connection establishment license in step 240a and step 240b to mobile terminal 110 and web terminal 120 respectively, thus connects between mobile terminal 110 and web terminal 120.Preferably, the long connection of http is set up.
Then, in step 245, the interface after mobile terminal 110 presents connection.Fig. 3 a schematically shows the linkage interface of Exemplary mobile terminal 110 according to an embodiment of the invention.As shown in Figure 3 a, mobile terminal 110 present in interface, be divided into the project hurdle 301 being positioned at top, interface and the file example hurdle 302 be positioned at below project hurdle 301.In project hurdle 301, the file of synchronous transmission can schematically be divided into the project such as " photo ", " picture library ", " music ", " video ", " document ", user can switch between disparity items.It will be appreciated by persons skilled in the art that above-mentioned project is only exemplary, according to different increase in demand or new project can be reduced.Under each project chosen, can show the file belonging to this project according to the classification and ordination mode that time, file size etc. are different, preferably show in modes such as thumbnail, filename, file icons.
According to one embodiment of present invention, the synchronizing information between more mobile terminal 110 and web terminal 120 can also be shown further after step 245.As shown in Figure 2, in step 250, the statistical information that mobile terminal 110 will carry out the file of synchronous driving is sent to server end 130, then through server end 130, these information is forwarded to web terminal 120 in step 255.Preferably, described synchronous statistical information comprises number of files, kind of document, each kind number of files separately that will carry out synchronized links transmission.Some essential informations of mobile terminal 110 can also be comprised, as operating system model, cellphone subscriber's essential information, version model etc.
Then in step 260, the interface after web terminal 120 presents connection, and present the synchronous statistical information forwarded through server end 130 simultaneously.The connection that Fig. 3 b schematically shows exemplary according to an embodiment of the invention web terminal 120 presents interface.As shown in Figure 3 b, present in interface in web terminal 120, be divided into the navigation bar 303 be positioned on the left of interface and the file statistics hurdle 304 be positioned on the right side of navigation bar 303.In navigation bar 303, the file of synchronous transmission can schematically be divided into the project such as " photo ", " picture library ", " music ", " video ", " document ", " note ", " file ", " application ", user can switch between disparity items." homepage " project can also be increased to browse overall file statistical information.It will be appreciated by persons skilled in the art that above-mentioned project is only exemplary, according to different increase in demand or new project can be reduced.Under " homepage " project, the quantity of various file can be shown according to the type of file in file statistics hurdle 304.Such as, in Fig. 3 b exemplary music icon 305a, and music number (39) the icon 305b below it.In addition, can also present some essential informations of transmitted mobile terminal 110, the storage capacity information of the mobile terminal 110 that such as, 306 places below in file statistics hurdle 304 present, so that user is by web terminal 120 managing mobile terminal 110.
When user needs web terminal 120 and mobile terminal 110 to disconnect, can by close web terminal 120 web interface (such as browser) or close app apply any one or the two realize disconnecting.
According to another embodiment of the present invention, when user does not initiatively disconnect, or user disconnects any one network of mobile terminal 110 or web terminal 120 when connecting, and whether server end 130 also still can keep being connected by sending heartbeat signal to check to mobile terminal 110 and web terminal 120.Such as, when the heartbeat response signal not receiving mobile terminal 110 or web terminal 120 feedback exceedes certain number of times, server end 130 can judge that mobile terminal 110 or web terminal 120 have disconnected the connection with server end 130.So server end 130 can disconnect the connection between mobile terminal 110 and web terminal 120.Particularly, when server end 130 judge mobile terminal 110 or web terminal 120 disconnected with the connection of server end 130 after, server end 130 sends order to web terminal 120, and web terminal 120 turns back to the state that the just beginning and end connect, such as, the page status of Quick Response Code is presented.Server end 130 also sends order to mobile terminal 110 simultaneously, makes mobile terminal 110 also be back to the state of just beginning and end connection.Also namely, when server end 130 detects mobile terminal 110 or web terminal 120 wherein any one disconnects, another one can be disconnected immediately, to guarantee the safety of information simultaneously.
According to one embodiment of present invention, when mobile terminal 110 or web terminal 120 are connected to server end 130 in mobile network's mode (such as GPRS, 3G, 4G etc.), server end 120 when detecting heartbeat signal, can detect mobile terminal 110 or the mobile network cell situation residing for web terminal 120 simultaneously.When wherein any one community connected switches for mobile terminal 110 or web terminal 120, can judge that mobile terminal 110 or web terminal 120 have left another one one section of physical distance.In order to ensure the fail safe of document backup, can be set in after both mobile terminal 110 and web terminal 120 leave specific distance, disconnect connection between the two.
synchronous manipulation and display mode
Fig. 4 shows by mobile terminal 110 synchronous manipulation web terminal 120 and the method flow diagram carrying out simultaneous display between web terminal 120 and mobile terminal 110.As shown in Figure 4,
In step 405, select by mobile terminal 110 file wanting preview.Fig. 5 a and Fig. 5 b shows two exemplary approach.Fig. 5 a shows the schematic diagram of preview picture format file, and Fig. 5 b shows the schematic diagram of preview document formatted file.User can choose the file that will carry out preview by clicking screen.
In step 410a, sent the instruction of request preview to server end by mobile terminal 110.According to one embodiment of present invention, this operation requests can be triggered by any button clicked on mobile terminal 110.Such as, " preview " button in Fig. 5 b below screen is clicked.
In step 410b, want the file of preview in mobile terminal 110 display.According to one embodiment of present invention, when the file of institute's preview only needs single screen to show (such as picture file), can directly present this file; When the file of institute's preview needs multihead display (being such as the document files of multipage), then can show the homepage of this file.
Step 410a and step 410b can carry out simultaneously, is namely sent the instruction of preview request by user, simultaneously triggered step 410a and step 410b.Or step 410a and step 410b also can carry out in order, the sequencing of step can be exchanged arbitrarily.
In step 415, based on the preview request that user sends, server end 130 forwards the request of this preview to web terminal 120.
In step 420, web terminal 120 receives this request, triggers and generates long link address, and meanwhile, web terminal 120 opens web services to be used for receiving the file transmitted.Preferably, this long connection connects for http is long.
In step 425, this long link address is sent to mobile terminal 110 by web terminal 120.According to one embodiment of present invention, this long link address sends to mobile terminal 110 after can carrying out transfer by server end 130.
In step 430, current preview file according to received long link address, is sent to web terminal 120 by mobile terminal 110.
According to another embodiment of the present invention, the transmission of preview file also can transfer and carry out in server end 130.Particularly, preview file first can be transferred to server end 130 in its storage area opened up by mobile terminal 110, and then preview file is transmitted to web terminal 120 by server end 130 again.Or, server end 130 also can transfer preview file memory address to web terminal 120, web terminal 120 again according to this address access go download needed for preview file.
In step 435, received preview file is carried out buffer memory by web terminal 120, and presents this file in web terminal 120.Now, the simultaneous display between web terminal 120 and mobile terminal 110 is achieved.Fig. 5 c shows the schematic diagram of the display document file of exemplary web terminal 120.
According to one embodiment of present invention, when the file of institute's preview only needs single screen to show, the file of buffer memory can directly be presented; When the file of institute's preview needs multihead display (being such as the document files of multipage), then can show the homepage of this file.
Then, in step 440, manipulate at mobile terminal 110 pairs of preview files.According to embodiments of the invention, described manipulation instruction includes but not limited to amplify file, reduce, page turning, roll screen, the specific paragraph of selection etc.
In step 445, this manipulation instruction is sent to web terminal 120.According to one embodiment of present invention, this manipulation instruction sends to web terminal 120 after also can carrying out transfer by server end 130.
In step 450, web terminal 120 receives this instruction, carries out resolving and is converted into the instruction file in the current buffer memory presented being carried out to same operation, and carrying out identical operation to this file.Like this, namely achieve the synchronous manipulation of mobile terminal 110 and web terminal 120, user can achieve synchronous manipulation to web terminal 120 and simultaneous display by means of only manipulation mobile terminal 110.
According to one embodiment of present invention, when mobile terminal 110 sends continuous multiple manipulation instruction, these instructions received can store in the queue mode of " first in first out " by web terminal 120, then from queue, take out corresponding instruction carry out parsings conversion according to receiving the time sequencing of instruction.
According to another embodiment of the invention, when the manipulation instruction that mobile terminal 110 the sends alternative document related to outside to current preview file manipulates, return step 430, new preview file is sent to web terminal 120, and carry out step 435, present new preview file in web terminal 120.Such as, when user is when the manipulation instruction that mobile terminal 110 sends is for carrying out page turn over operation to picture file, next pictures will be shown at mobile terminal 110.Now, need step 430 be returned, next pictures is sent to web terminal 120 and carry out preview display.
According to another embodiment of the invention, when user terminates all manipulations at mobile terminal 110, web terminal 120 can empty the file in local cache.
According to the method described in Fig. 4, by the method for synchronous manipulation instruction of the present invention, user can experience the effect being manipulated web terminal 120 by mobile terminal 110 well.By setting up long connection between mobile terminal 110 and web terminal 120, the continuous transmission of instruction and preview file can be guaranteed, thus the manipulation instruction that user is sent in mobile terminal 110 can be synchronized to web terminal immediately.In addition, by prior buffer memory preview file, also can avoid transfer files causes in manipulation process delay and card, thus realize seamless good synchronization and experience.
According to method and system of the present invention, user can realize reliably between mobile electronic device and the web terminal possessing web interface, at a high speed, the scheme of stable, the better synchronous manipulation of user-interaction experience and simultaneous display.
In conjunction with the explanation of the present invention disclosed here and practice, other embodiments of the present invention are all easy to expect and understand for those skilled in the art.Illustrate and embodiment be only considered to exemplary, true scope of the present invention and purport limited by claim.

Claims (10)

1., for carrying out a method for synchronous preview display between mobile device and web terminal, described mobile terminal and web terminal are communicated to connect with the server end being positioned at high in the clouds respectively by network, said method comprising the steps of:
A) file wanting preview to show is selected by described mobile terminal;
B) sent request the instruction of preview by described mobile terminal to described server end, want the file of preview in described mobile terminal display;
C) described server end forwards the request of this preview to described web terminal;
D) described web terminal receives this request, triggers and generates long link address, and opens web services to be used for receiving the file transmitted;
E) this long link address is sent to mobile terminal by described web terminal;
F) mobile terminal is by current preview file according to received long link address, sends to web terminal;
G) received preview file is carried out buffer memory by web terminal, and presents this file in web terminal;
H) the manipulation instruction to preview file is received at mobile terminal;
I) this manipulation instruction is sent to web terminal;
J) web terminal receives this instruction, resolves and is converted into the instruction file in the current buffer memory presented being carried out to same operation, and carrying out identical operation to this file.
2. the method for claim 1, the long connection in wherein said steps d connects for http is long.
3. the method for claim 1, sends after the long link address in wherein said steps d or the file in step f carry out transfer by server end.
4. the method for claim 1, wherein when the file of institute's preview only needs single screen to show, directly presents this file; When the file of institute's preview needs multihead display, show the homepage of this file.
5. the method for claim 1, wherein said manipulation instruction be selected from file amplified, reduce, page turning, roll screen, the specific paragraph of selection.
6. the method for claim 1, the transmission in wherein said step b and display are carried out simultaneously or carry out successively.
7. the method for claim 1, wherein when mobile terminal sends continuous multiple manipulation instruction, these instructions received store in the queue mode of first in first out by web terminal, then from queue, take out corresponding instruction carry out parsings conversion according to receiving the time sequencing of instruction.
8. the method for claim 1, wherein when the manipulation instruction that mobile terminal the sends alternative document related to outside to current preview file manipulates, returns step f, then performs step g.
9. the method for claim 1, wherein when terminating all manipulations at mobile terminal, web terminal empties the file in local cache.
10. the method for claim 1, wherein before described step is a), connects between described web terminal and described mobile terminal through the following steps:
A01) connection request is sent by described web terminal to described server end;
A02) described server end sends 2 D code information to described web terminal;
A03) by 2 D code information described in described mobile scanning terminal;
A04) in response to the operation of described scanning Quick Response Code, described mobile terminal and described web terminal send the network connection status of self respectively to described server end;
A05) described server end obtains the network condition that described mobile terminal and described web terminal are connected to server end separately, under judging that described mobile terminal is connected with the network of described web terminal and whether is in same local area network (LAN), and for whether being in same LAN, network condition identifier is arranged different states;
A06) described server end sends connection establishment license respectively to described mobile terminal and described web terminal, connects between described mobile terminal and described web terminal.
CN201410636559.3A 2014-11-06 2014-11-06 The method shown for synchronizing preview between mobile device and web terminals Active CN104394200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410636559.3A CN104394200B (en) 2014-11-06 2014-11-06 The method shown for synchronizing preview between mobile device and web terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410636559.3A CN104394200B (en) 2014-11-06 2014-11-06 The method shown for synchronizing preview between mobile device and web terminals

Publications (2)

Publication Number Publication Date
CN104394200A true CN104394200A (en) 2015-03-04
CN104394200B CN104394200B (en) 2018-01-05

Family

ID=52612035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410636559.3A Active CN104394200B (en) 2014-11-06 2014-11-06 The method shown for synchronizing preview between mobile device and web terminals

Country Status (1)

Country Link
CN (1) CN104394200B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486371A (en) * 2014-11-20 2015-04-01 北京安奇智联科技有限公司 Equipment and method for downloading file on batch
WO2016070373A1 (en) * 2014-11-06 2016-05-12 北京安奇智联科技有限公司 Method for implementing synchronous preview display between mobile terminal and web terminal
CN105653597A (en) * 2015-12-21 2016-06-08 广州视睿电子科技有限公司 Method and device for synchronously playing files at multiple ends
CN106210054A (en) * 2016-07-12 2016-12-07 泰康保险集团股份有限公司 Control method, device and server that far-end webpage represents
CN110337014A (en) * 2019-06-18 2019-10-15 北京世纪超星信息技术发展有限责任公司 A kind of real-time method for throwing screen
CN112822282A (en) * 2021-01-21 2021-05-18 湖北洪珞易联科技有限公司 Method and process for uploading pictures based on mobile terminal
CN113422833A (en) * 2021-06-29 2021-09-21 安徽文香科技有限公司 Multimedia file uploading method and device, electronic equipment and readable storage medium

Citations (4)

* 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
CN102281213A (en) * 2011-08-31 2011-12-14 王胄 Instant messaging method and system for supporting voice and video message
CN103516787A (en) * 2013-09-03 2014-01-15 深圳市创维软件有限公司 Method, terminal and system for synchronous display
CN103593153A (en) * 2012-08-21 2014-02-19 百度在线网络技术(北京)有限公司 Mobile terminal and page cross-equipment synchronization control method applied to same

Patent Citations (4)

* 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
CN102281213A (en) * 2011-08-31 2011-12-14 王胄 Instant messaging method and system for supporting voice and video message
CN103593153A (en) * 2012-08-21 2014-02-19 百度在线网络技术(北京)有限公司 Mobile terminal and page cross-equipment synchronization control method applied to same
CN103516787A (en) * 2013-09-03 2014-01-15 深圳市创维软件有限公司 Method, terminal and system for synchronous display

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ALVIN YBAÑEZ,: ""AirDroid: Remotely manage your Android from a Web browser"", 《HTTP://WWW.ANDROID AUTHORITY.COM/AIRDROID-CONTROL-ANDROID-FROM-PC-269186/》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016070373A1 (en) * 2014-11-06 2016-05-12 北京安奇智联科技有限公司 Method for implementing synchronous preview display between mobile terminal and web terminal
CN104486371A (en) * 2014-11-20 2015-04-01 北京安奇智联科技有限公司 Equipment and method for downloading file on batch
CN104486371B (en) * 2014-11-20 2018-11-23 北京安奇智联科技有限公司 Batch downloads the device and method of file
CN105653597A (en) * 2015-12-21 2016-06-08 广州视睿电子科技有限公司 Method and device for synchronously playing files at multiple ends
WO2017107476A1 (en) * 2015-12-21 2017-06-29 广州视睿电子科技有限公司 Method and device for synchronously playing file at multiple terminals
CN106210054A (en) * 2016-07-12 2016-12-07 泰康保险集团股份有限公司 Control method, device and server that far-end webpage represents
CN110337014A (en) * 2019-06-18 2019-10-15 北京世纪超星信息技术发展有限责任公司 A kind of real-time method for throwing screen
CN112822282A (en) * 2021-01-21 2021-05-18 湖北洪珞易联科技有限公司 Method and process for uploading pictures based on mobile terminal
CN113422833A (en) * 2021-06-29 2021-09-21 安徽文香科技有限公司 Multimedia file uploading method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN104394200B (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN104320417B (en) The method of interconnection and streaming and streaming media playing between mobile terminal and web terminals
CN104394200A (en) A method for performing simultaneous preview and display between a mobile device and a web terminal
US9231902B2 (en) Method and electronic device for content sharing
EP4130963A1 (en) Object dragging method and device
CN104320491A (en) Method for synchronous display between mobile device and web terminal
EP3714604A1 (en) Publication of applications using server-side virtual screen change capture
CN104333598A (en) Two-dimension code and network adaption based mobile terminal and web terminal interconnection method
CN103530096A (en) Remote control method, remote control equipment and display equipment
KR20110084325A (en) Method and apparatus for transmitting and receiving data
CN107948724B (en) Video transmission control method, device, storage medium and mobile terminal
EP2790142A1 (en) Terminal apparatus, server and method of controlling the same
WO2013103910A1 (en) Communicating media data
EP3151574A1 (en) System and method for maintaining connection channel in multi-device interworking service
US20150149586A1 (en) Information processing apparatus, information processing method, and information processing system
WO2016070373A1 (en) Method for implementing synchronous preview display between mobile terminal and web terminal
WO2020259153A1 (en) Special effect synchronization method, device, and storage medium
CN104378425B (en) The method of interconnection and synchronous communication information between mobile terminal and web terminal
CN104156372B (en) A kind of methods, devices and systems for opening webpage
JP2019139276A (en) Web sharing system and program
EP2786550B1 (en) Communicating media data
US20190278472A1 (en) Communication apparatus, communication method, and recording medium
CN102571832A (en) Resource sharing system and method
WO2016070372A1 (en) Method for implementing synchronous display between mobile terminal and web terminal
WO2016070371A1 (en) Method for mobile terminal and web terminal interconnection and streaming and streaming media playback
TWI527444B (en) Video data displaying system and video data displaying method

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