CN104394200B - The method shown for synchronizing preview between mobile device and web terminals - Google Patents

The method shown for synchronizing preview between mobile device and web terminals Download PDF

Info

Publication number
CN104394200B
CN104394200B CN201410636559.3A CN201410636559A CN104394200B CN 104394200 B CN104394200 B CN 104394200B CN 201410636559 A CN201410636559 A CN 201410636559A CN 104394200 B CN104394200 B CN 104394200B
Authority
CN
China
Prior art keywords
mobile terminal
web terminals
file
web
preview
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.)
Active
Application number
CN201410636559.3A
Other languages
Chinese (zh)
Other versions
CN104394200A (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

Abstract

The invention provides a kind of method that preview is synchronized between mobile device and web terminals and is shown, mobile terminal and web terminals are communicated to connect with the server end positioned at high in the clouds respectively by network, are comprised the following steps:A) file for wanting preview to show is selected by mobile terminal;B) instruction of request preview is sent to server end by mobile terminal, the file for wanting preview is shown in mobile terminal;C) server end forwards the request of the preview to web terminals;D) web terminals receive the request, and triggering generates long link address, and open web services with for receiving the file of transmission;E) the long link address is sent to mobile terminal by web terminals;F) current preview file is sent to web terminals by mobile terminal;G) web terminals by file cache and are presented;H) manipulation instruction to preview file is received in mobile terminal;I) manipulation instruction is sent to web terminals, parses and be converted into the instruction that same operation is carried out to the file in the caching that currently presents.

Description

The method shown for synchronizing preview between mobile device and web terminals
Technical field
Present invention relates in general to moving communicating field, especially, is related to one kind and enters between mobile terminal and web terminals Row interconnection and the method and system for being manipulated by mobile terminal synchronization and being shown in web terminals.
Background technology
At present, such as mobile phone, tablet personal computer, the mobile electronic device of mobile media player are daily in people Become more and more popular use in life.Mobile device has had the trend of gradually substitution conventional personal computer, turns into personal information Storage center.However, PC is in many application fields, by its significantly display screen, convenient input mode with And still to play the role of its irreplaceable for more various software and operating system.Therefore people in daily life, often need To enter transmission, simultaneous display and the interaction of row information between mobile device and PC.
Traditional method of manipulation and simultaneous display between mobile electronic device and PC for example using data wire, PC is connected by video/audio line etc. with electronic equipment, and is realized by running specific software.But these methods are Very troublesome, the experience of user is very bad.For example, the mode of data wire cause user's needs additionally prepare hardware, for Make troubles at family.In addition, many times need extra installation driver could realize in addition to transmitting file other more For the function of complexity.The connection of data wire can also have special requirement, such as conventional HDMI to the hardware interface of equipment, Only just configured on newer computer equipment, somewhat outmoded model is configured without so that connection can not be realized.
In addition, WiFi technology can provide synchronous manipulation and the display between mobile electronic device and PC.However, Realized in conventional with WiFi technology in the scheme of simultaneous display, it usually needs access point (AP).Access point is used as moving It is wireless that dynamic wireless network relaying between electronic equipment and PC, PC and mobile device must be connected to this simultaneously Interconnection could be realized in network trunk.In being to dominate the network formed by AP, if off AP, that can destroy whole network, The connection that can also destroy between mobile device and PC simultaneously.
The short distance near-field communication technology such as Bluetooth technology is present also more and more to be used to realize and is set in mobile electron Data are transmitted between standby so as to realize synchronous manipulation and display.However, the data that Bluetooth technology can not generally provide high speed pass Defeated speed.In addition, PC is generally not to be equipped with bluetooth module, so that being bi-directionally connected communication can not realize.
Further, since the multifunctionality and portability of smart mobile phone, user shoots photo frequently by smart mobile phone, recorded Music, video etc., and the less screen of smart mobile phone is limited to, user needs in PC or other large screen displays often The content for showing or being watched on mobile phone on device, such as photo stored on mobile phone etc..And smart mobile phone is due to possessing a variety of inputs Mode, good operation control terminal can also be turned into.Therefore, how on the basis that mobile electronic device and PC interconnect Upper stabilization realizes manipulation of the mobile terminal to PC, and simultaneous display at high speed, and this area it is urgently to be resolved hurrily one Individual problem.
Therefore, it is necessary to which a kind of realize reliable, the simultaneous display scheme of high speed between mobile electronic device and PC, So as to solve above mentioned problem of the prior art.
The content of the invention
It is used to synchronize what preview was shown between mobile device and web terminals it is an object of the invention to provide a kind of Method, mobile terminal and the web terminal are communicated to connect with the server end positioned at high in the clouds respectively by network, methods described bag Include following steps:A) file for wanting preview to show is selected by the mobile terminal;B) by the mobile terminal to the clothes Business device end sends the instruction of request preview, and the file for wanting preview is shown in the mobile terminal;C) server end is to described Web terminals forward the request of the preview;D) the web terminals receive the request, and triggering generates long link address, and opens web Service is with for receiving the file of transmission;E) the long link address is sent to mobile terminal by the web terminals;F) mobile terminal By current preview file according to received long link address, web terminals are sent to;G) web terminals will be received Preview file is cached, and this document is presented in web terminals;H) manipulation received in mobile terminal to preview file refers to Order;I) manipulation instruction is sent to web terminals;J) web terminals receive the instruction, parse and are converted into slow to what is currently presented File in depositing carries out the instruction of same operation, and carries out identical operation to this document.
Preferably, the length in the step d is connected as http length connections.
Preferably, the file in long link address or the step f in the step d is sent out after carrying out transfer by server end Send.
Preferably, when the file of institute's preview only needs single screen to show, this document is directly presented;When the file of institute's preview needs During multihead display, the homepage of this document is shown.
Preferably, the manipulation instruction be selected from file is amplified, reduced, page turning, roll screen, the specific paragraph of selection.
Preferably, the transmission in the step b and display are carried out or carried out successively simultaneously.
Preferably, when mobile terminal sends continuous multiple manipulation instructions, web terminals are by these instructions received with advanced The queue mode first gone out is stored, and corresponding instruction is taken out from queue according still further to the time sequencing for receiving instruction is parsed Conversion.
Preferably, the alternative document outside current preview file is grasped when the manipulation instruction that mobile terminal is sent is related to During control, return to step f, step g is then performed.
Preferably, when terminating all manipulations in mobile terminal, web terminals empty the file in local cache.
Preferably, before the step a), established through the following steps between the web terminals and the mobile terminal Connection:A01) connection request is sent to the server end from the web terminals;A02) server end is whole to the web End sends 2 D code information;A03 2 D code information described in the mobile scanning terminal) is passed through;A04) in response to the scanning two The operation of code is tieed up, the mobile terminal and the web terminals send the network connection status of itself to the server end respectively; A05) server end obtains the mobile terminal and the web terminals are connected respectively to the network condition of server end, sentences Whether the network connection of the disconnected mobile terminal and the web terminals is under same LAN, and for whether in same LAN sets network condition identifier different states;A06) server end is respectively to the mobile terminal and institute State web terminals and send connection and establish and permit, connection is established between the mobile terminal and the web terminals.
The method according to the invention and system, user can mobile electronic device and with web interface web terminals it Between realize it is reliable, at a high speed, stably, user-interaction experience preferably connect, realize the good behaviour to web terminals by mobile terminal Control, and the scheme that synchronous preview is shown.
It should be appreciated that foregoing description substantially and follow-up description in detail are exemplary illustration and explanation, should not As the limitation to the claimed content of the present invention.
Brief description of the drawings
With reference to the accompanying drawing enclosed, the present invention more purpose, function and advantages will pass through the as follows of embodiment of the present invention Description is illustrated, wherein:
Fig. 1 a and Fig. 1 b schematically show entering between mobile terminal and web terminals by server end according to the present invention The system block diagram of row interconnection.
Fig. 2 diagrammatically illustrates to be carried out mutually according to the present invention between mobile terminal and web terminals by server end Interaction diagrams even.
Fig. 3 a schematically show the linkage interface of Exemplary mobile terminal 110 according to an embodiment of the invention.
The connection that Fig. 3 b schematically show exemplary web terminals 120 according to an embodiment of the invention is in current bound Face.
Fig. 4 is schematically shown synchronizes preview according to the present invention between web terminals 120 and mobile terminal 110 Display and the method flow diagram of manipulation.
Fig. 5 a- Fig. 5 c schematically show the method according to Fig. 4 on mobile terminal 110 and web terminals 120 Exemplary display.
Embodiment
By reference to one exemplary embodiment, the purpose of the present invention and function and the side for realizing these purposes and function Method will be illustrated.However, the present invention is not limited to one exemplary embodiment as disclosed below;Can by multi-form come It is realized.The essence of specification is only to aid in the detail of the various equivalent modifications Integrated Understanding present invention.
Hereinafter, embodiments of the invention will be described with reference to the drawings.In the accompanying drawings, identical reference represents identical Or similar part, or same or like step.
System survey
Fig. 1 a and Fig. 1 b schematically show entering between mobile terminal and web terminals by server end according to the present invention The system block diagram of row interconnection.Wherein Fig. 1 a schematically show according to the present invention between mobile terminal and web terminals by clothes The system block diagram that business device end is interconnected, Fig. 1 b show the system block diagram of the specific framework comprising server end and composition.Such as Shown in Fig. 1 a, system 100 includes at least one mobile terminal 110, at least one web terminals 120, and for realizing in movement Be interconnected to realize interactive type communication between terminal 110 and web terminals 120 is located at long-range server end 130.It is mobile whole End 110 and web terminals 120 are connected by first network 140 with server end 130 respectively, mobile terminal 110 and web terminals 120 Connected each other by the second network 150.For illustrative purposes, Fig. 1 illustrate only a mobile terminal 110 and one Web terminals 120.It is understood, however, that in other embodiments, system 100 can include more mobile terminals 110 And/or more web terminals 120.In one embodiment according to the present invention, when system 100 has multiple mobile terminals 110 and during multiple web terminals 120, each mobile terminal 110 has unique web terminals 120 unique corresponding with it.
Mobile terminal 110 and web terminals 120 can respectively by any type of first network 140 and server end 130 it Between carry out two-way communication.The first network 140 is selected from the LAN (" LAN ") of such as Intranet etc and such as interconnected The wide area network (" WAN ") of net etc.First network 140 can be configured as supporting to set using various protocols the biography of the information of form It is defeated.In addition, first network 140 can be public network, dedicated network or its combination.First network 140 can also utilize any The physical medium of one or more types realizes, including the wired communication path associated with multiple service providers and Wireless communications path.Communication such as WiFi or WLAN, GPRS, cellular network, such as GSM network, 3G network, LTE Network or cdma network.
Between mobile terminal 110 and web terminals 120 can also between establish direct network connection, pass through the second network 150 carry out two-way communication.The protocol mode that second network 150 uses is, for example, http poll combinations WebSocket direct-connected Mode.
Mobile terminal 110 can be smart phone, personal digital assistant (PDA), tablet personal computer, Multi-featured Mobile Terminal or Person includes any other mobile device of computing function and its communication ability.Mobile terminal 110 includes app Application of Interface 111 (as shown in Figure 1 b) and its comprising previewing module 112.App applies 111 such as customized applications (app), for possessing web energy The application of power carries out two-way communication.
Previewing module 112 is used to receive the specific operating instructions that user is sent on mobile terminal 110, and sends extremely Web terminals 120, to synchronize operation to web terminals 120.Previewing module 112 can be also used for triggering mobile terminal 110 With the simultaneous display of web terminals 120.Specific synchronous manipulation and the method and step of simultaneous display will be described below the present invention's It is discussed in detail during method flow.
Mobile terminal 110 includes one or more computing devices, and one or more computing devices can receive from user The manipulation instruction of input, and output can be presented, therefore mobile terminal 110 also includes I/O interfaces (input/output interface) 112, can Receive one or more inputs and output is presented.For example, input interface may include camera, touch pad, touch-screen, screen touch pen, One or more of microphone.In addition, output can be presented by output interface, to export the instruction of the control operation of user or come Feedback information from other users etc..Output interface includes one in display screen, one or more loudspeakers and haptic interface It is or multiple.
Web terminals 120 can be desktop computer, laptop computer, notebook computer, tablet personal computer, game machine, intelligence Any terminal device for supporting web protocol such as energy TV.Web terminals 120 include web interface 121 and caching 122 (such as Fig. 1 b institutes Show).Such as web browser of web interface 121.In certain embodiments, corresponding web terminals 120 include being used to ask, parse, show Show, perform webpage and perform the browser application for the application being included in webpage.Browser application 128 can allow user Search for, browse and/or identified using URL (URL) or URI (Uniform Resource Identifier) resource (for example, Webpage and web services) any application." URL " is used for meaning network address or the position of document herein.In this case, " document ", which refers to, to be included but is not limited to by any document or content of any form that web browser or other application use: Word processing document, electronic form document, presentation file, drawing, webpage, text, image, audio, video etc..
Caching 122 is used to cache the file sent from mobile terminal 110, for use in realizing that mobile terminal 110 is whole to web The synchronous manipulation and simultaneous display function at end 120.After display or manipulation terminate, caching 122 can empty automatically wherein to be cached File.
Fig. 1 b show the system block diagram of the specific framework comprising server end and composition.As shown in Figure 1 b, server end 130 include Quick Response Code module 131, network access module 132, network condition identifier 133 and address generation module 134.
Quick Response Code module 131 is used to generate the Quick Response Code scanned for mobile terminal 110.According to one of present invention implementation Example, Quick Response Code contain general unique identifier (UUID), and UUID is exclusive identification code.Mobile terminal 110 by scan this two The UUID that dimension code table is answered is connected to server end 130 with the unique link address of acquisition request and session (session).
Network access module 132 judges the He of mobile terminal 110 after being used for the scanning Quick Response Code success of corresponding mobile terminal 110 120 respective network connection status of web terminals, to move terminal 110 and web terminals for different network connection status Suitability connection between 120, so as to establish the connection between mobile terminal 110 and web terminals 120.Preferably, established It is connected as http length connections.The connection can continuously transmit multiple packets, during holding is connected, if sent out without packet Send, in order to ensure two terminals keep connecting, detection packet (i.e. heartbeat packet) can be sent within the predetermined distance time, it is mobile whole Need to send detection packet to maintain this connection between end 110 and web terminals 120.
Specifically, network access module 132 obtains mobile terminal 110 and web terminals 120 are connected respectively to server end 130 network state, judges whether the network connection of mobile terminal 110 and web terminals 120 is under consolidated network.According to this The consolidated network of invention refers to that the same network segment can be directly connected under same router, without by outer net.
And for whether in same LAN network condition identifier 133 to be set to different states.If for example, place In in consolidated network, then one is set to identify in network condition identifier 133, such as numeral 1;If being not at consolidated network, Mark is set not 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 can regularly obtain mobile terminal 110 and web is whole End 120 is connected respectively to the network state of server, to judge whether the network connection of mobile terminal 110 and web terminals 120 is located Whether the state under same LAN changes, and the updating network state network condition identifier 133 for having changed. The frequency periodically obtained for example can be every 30 seconds once.The signal periodically sent is also referred to as " heartbeat signal ", should Signal can also be used to detect mobile terminal 110 and whether web terminals 120 remain attached to server end 130.Such as when not receiving The heartbeat response signal fed back to mobile terminal 110 or web terminals 120 exceedes certain number, and server end 130 can determine whether Mobile terminal 110 or web terminals 120 are already off with the connection of server end 130.
Network condition identifier 133 is used between memory mobile terminal 110 and web terminals 120 because different networks connects Connect situation and produce the mark of suitability connection.For example, mobile terminal 110 and web terminals 120 are in consolidated network, network One mark is set in condition flag symbol 133;If being not at consolidated network, another different mark is set.
Address generation module 134, for generating the file for needing to be transmitted between mobile terminal 110 and web terminals 120 Location.After the method according to the invention establishes connection between mobile terminal 110 and web terminals 120, user can select to lead to Transmitting file on mobile terminal 110 is crossed to download the file on mobile terminal 110 to Web terminals 120, or from Web terminals 120.When When user sends the request of such mobile file, address generation module 134 is the network address of file generated transmitted, Such as URL, send the mobile terminal 110 or web terminals 120 for needing to download file, mobile terminal 110 and 120, web terminals to The address, which need to be accessed, can download to this document, so as to realize the transmission of file.
Interactive mode
Fig. 2 shows that user interacts what is be connected by server end 130 by mobile terminal 110 with web terminals 120 Method flow diagram.As shown in Fig. 2
In step 205, user sends connection request by web terminals 120 to server end 130.Specifically, user can be with By starting the browser in web terminals 120, and www.****.cc address information is inputted in browser address bar to send out Send connection request.
Then, in step 210, the connection request that server end 130 can answer web terminals 120 to send sends 2 D code information To web terminals 120, and the 2 D code information is presented in web terminals 120 in a step 220.The 2 D code information contains General unique identifier (UUID), UUID is exclusive identification code.Mobile terminal 110 is connected by scanning the UUID that the two-dimentional code table is answered Server end 130 is connected to the unique link address of acquisition request and session (session).
Next, in step 225, user scans the 2 D code information in web terminals 120 by mobile terminal 110.Example Such as, it is scanned by the camera carried on mobile terminal 110.Specifically, the app that user starts on mobile terminal 110 is soft Part, app softwares can prompt scanning input Quick Response Code so as to realize connection.
Then, in response to the operation of scanning input Quick Response Code, mobile terminal 110 and web terminals 120 are respectively in step 230a Connection request is initiated to server end with step 230b, and the network connection status of itself is sent to server end 130.Specifically , the network connection status is which kind of network connection to server end passed through.
In step 235, server end 130 is connected respectively to service by the mobile terminal 110 and web terminals 120 of acquisition The network condition of device, judges whether the network connection of mobile terminal 110 and web terminals 120 is under same LAN, and is directed to Whether it is in same LAN and network condition identifier is set to different states.If for example, in the consolidated network, One mark, such as numeral 1 are set in network condition identifier 133;If being not at consolidated network, not in network condition identifier Mark is set in 133, or another different mark is set, such as numeral 0.
Then, server end 130 is sent in step 240a and step 240b to mobile terminal 110 and web terminals 120 respectively License is established in connection, so as to establish connection between mobile terminal 110 and web terminals 120.Preferably, http length connections are established.
Then, in step 245, the interface after connection is presented in mobile terminal 110.Fig. 3 a are schematically shown according to this The linkage interface of the Exemplary mobile terminal 110 of invention one embodiment.As shown in Figure 3 a, the presentation interface of mobile terminal 110 In, it is divided into the project column 301 at the top of interface and the file example column 302 below project column 301.On project column 301 In, the projects such as " photo ", " picture library ", " music ", " video ", " document " will can be schematically divided into the file of synchronous transfer, User can switch between disparity items.It will be appreciated by persons skilled in the art that above-mentioned project is only example Property, new project can be increased or decreased according to different demands., can be big according to time, file under each project chosen The different classification and ordination mode such as small is shown to the file for belonging to the project, preferably with thumbnail, filename, file icon It is shown etc. mode.
According to one embodiment of present invention, more mobile terminals 110 can also be further shown after step 245 Synchronizing information between web terminals 120.As shown in Fig. 2 in step 250, mobile terminal 110 will be synchronized into transmission The statistical information of file is sent to server end 130, then these information are forwarded into web through server end 130 in step 255 Terminal 120.Preferably, the synchronous statistical information includes synchronizing the number of files of connection transmission, kind of document, each The respective number of files of species.Some essential informations of mobile terminal 110 can also be included, as operating system model, mobile phone are used Family essential information, version model etc..
Then in step 260, the interface after connection is presented in web terminals 120, and present simultaneously through 130 turns of server end The synchronous statistical information of hair.Fig. 3 b schematically show the company of exemplary web terminals 120 according to an embodiment of the invention Connect and interface is presented.As shown in Figure 3 b, in the presentation interface of web terminals 120, the He of navigation bar 303 that is divided on the left of interface File positioned at the right side of navigation bar 303 counts column 304.In navigation bar 303, be able to will schematically it be divided with the file of synchronous transfer For the project such as " photo ", " picture library ", " music ", " video ", " document ", " short message ", " file ", " application ", user can be Switched between disparity items." homepage " project can also be increased to browse overall file statistical information.Art technology Personnel can increase or decrease new project it is understood that what above-mentioned project was merely exemplary according to different demands. Under " homepage " project, the quantity of various files can be shown according to the type of file in file counts column 304.Such as show in Fig. 3 b The music icon 305a of example property, and music number (39) icon 305b below.Furthermore it is also possible to transmitted shifting is presented Some essential informations of dynamic terminal 110, such as depositing for the mobile terminal 110 presented at 306 of lower section in column 304 is counted in file Capacity information is stored up, in order to which user manages mobile terminal 110 by web terminals 120.
, can be by closing web terminals 120 when user needs to disconnect web terminals 120 and mobile terminal 110 Web interface (such as browser) or close app using any one or the two come realize disconnect.
According to another embodiment of the present invention, when user does not disconnect actively, or user disconnects mobile terminal 110 Or during any one the network connection of web terminals 120, server end 130 can also be by mobile terminal 110 and web terminals 120 send heartbeat signals to check whether to remain in that connection.For example, it ought not receive mobile terminal 110 or web terminals 120 The heartbeat response signal of feedback exceedes certain number, and server end 130 can determine whether mobile terminal 110 or web terminals 120 Through disconnecting the connection with server end 130.Server end 130 can be then disconnected between mobile terminal 110 and web terminals 120 Connection.Specifically, when server end 130 judges that mobile terminal 110 or web terminals 120 are already off with server end 130 Connection after, server end 130 sends to web terminals 120 and ordered, and web terminals 120 return to initially not connected state, example Such as, the page status of Quick Response Code is presented.Server end 130 also sends to mobile terminal 110 and ordered simultaneously so that mobile terminal 110 also return to initially not connected state.That is, when server end 130 detect mobile terminal 110 or web terminals 120 its In any one when disconnecting, another one can be simultaneously switched off immediately, to ensure the safety of information.
According to one embodiment of present invention, when mobile terminal 110 or web terminals 120 in a manner of mobile network (such as GPRS, 3G, 4G etc.) when being connected to server end 130, server end 120 can be when detecting heartbeat signal, while detects movement Mobile network cell situation residing for terminal 110 or web terminals 120.When mobile terminal 110 or web terminals 120 are wherein any one When the cell that person is connected switches, it can be determined that go out mobile terminal 110 or web terminals 120 have been moved off one section of another one Physical distance.In order to ensure the security of file transmission, it may be set in both mobile terminal 110 and web terminals 120 and leave spy After fixed distance, connection between the two is disconnected.
Synchronous manipulation and display mode
Fig. 4 is shown by the synchronous manipulation web terminals 120 of mobile terminal 110 and in web terminals 120 and mobile terminal The method flow diagram of display is synchronized between 110.As shown in figure 4,
In step 405, select to want the file of preview by mobile terminal 110.Fig. 5 a and Fig. 5 b show two it is exemplary Mode.Fig. 5 a show the schematic diagram of preview picture formatted file, and Fig. 5 b show the schematic diagram of preview document formatted file.With Family can choose the file of preview to be carried out by clicking on screen.
In step 410a, the instruction of request preview is sent to server end by mobile terminal 110.According to the one of the present invention Individual embodiment, this operation requests can be triggered by clicking on any button on mobile terminal 110.For example, click on Fig. 5 b " preview " button below middle screen.
In step 410b, the file for wanting preview is shown in mobile terminal 110.According to one embodiment of present invention, institute is worked as When the file of preview only needs the single screen to show (such as picture file), this document can directly be presented;When the file of institute's preview needs During multihead display (being, for example, the document files of multipage), then the homepage of this document can be shown.
Step 410a and step 410b can be carried out simultaneously, i.e., the instruction of preview request is sent by user, is triggered simultaneously Step 410a and step 410b.Or step 410a and step 410b can also be carried out in order, the sequencing of step can appoint Meaning is exchanged.
In step 415, the preview request sent based on user, server end 130 forwards the preview to web terminals 120 Request.
In step 420, web terminals 120 receive the request, and triggering generates long link address, meanwhile, web terminals 120 are opened Web services are with for receiving the file of transmission.Preferably, the length is connected as http length connections.
In step 425, the long link address is sent to mobile terminal 110 by web terminals 120.According to one of the present invention Embodiment, the long link address are sent 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 by mobile terminal 110 Web terminals 120.
According to another embodiment of the present invention, preview file transmission can also pass through server end 130 in transfer into OK.Specifically, mobile terminal 110 can first transmit preview file in the storage region opened up to server end 130 for it, so Preview file is transmitted to web terminals 120 by server end 130 again afterwards.Or server end 130 can also transfer preview file Storage address to web terminals 120, web terminals 120 access according still further to the address and go to download required preview file.
In step 435, web terminals 120 are cached received preview file, and are presented in web terminals 120 This document.Now, the simultaneous display between web terminals 120 and mobile terminal 110 is realized.Fig. 5 c show exemplary web The schematic diagram of the display document files of terminal 120.
According to one embodiment of present invention, when the file of institute's preview only needs single screen to show, caching can directly be presented File;When the file of institute's preview needs multihead display (being, for example, the document files of multipage), then this document can be shown Homepage.
Then, in step 440, preview file is manipulated in mobile terminal 110.According to an embodiment of the invention, institute State manipulation instruction include but is not limited to be amplified file, reduce, page turning, roll screen, specific paragraph of selection etc..
In step 445, the manipulation instruction is sent to web terminals 120.According to one embodiment of present invention, the manipulation Instruction is sent to web terminals 120 after can also carrying out transfer by server end 130.
In step 450, web terminals 120 receive the instruction, are parsed and are converted into the text in the caching that currently presents Part carries out the instruction of same operation, and carries out identical operation to this document.So, that is, it is whole to realize mobile terminal 110 and web The synchronous manipulation at end 120, user only can be realized to the synchronous manipulation of web terminals 120 and same by manipulating mobile terminal 110 Step display.
According to one embodiment of present invention, when mobile terminal 110 sends continuous multiple manipulation instructions, web terminals 120 These instructions received can be stored in a manner of the queue of " first in first out ", according still further to receive instruction time sequencing from Corresponding instruction is taken out in queue and carries out parsing conversion.
According to another embodiment of the invention, when the manipulation instruction that mobile terminal 110 is sent is related to current preview When alternative document outside file is manipulated, return to step 430, new preview file is sent to web terminals 120, gone forward side by side Row step 435, new preview file is presented in web terminals 120.For example, the manipulation instruction sent in mobile terminal 110 as user During to carry out page turn over operation to picture file, next pictures will be shown in mobile terminal 110.Now, return to step 430 is needed, Next pictures are sent and carries out preview to web terminals 120 and shows.
According to another embodiment of the invention, when user terminates all manipulations in mobile terminal 110, web terminals 120 The file in local cache can be emptied.
According to the method described in Fig. 4, the method instructed by the synchronous manipulation of the present invention, user can experience well The effect of web terminals 120 is manipulated by mobile terminal 110.By establishing long connect between mobile terminal 110 and web terminals 120 Connect, it can be ensured that instruction continuously transmits with preview file, so that the manipulation instruction that user sends in mobile terminal 110 Web terminals can be synchronized to immediately.In addition, by caching preview file in advance, can also avoid transmitting text during manipulation Delay and interim card caused by part, so as to realize seamless good synchronization experience.
The method according to the invention and system, user can mobile electronic device and possess web interface web terminals it Between realize it is reliable, at a high speed, stably, the scheme of the more preferable synchronous manipulation of user-interaction experience and simultaneous display.
With reference to the explanation of the invention disclosed here and practice, other embodiment of the invention is for those skilled in the art It all will be readily apparent and understand.Illustrate and embodiment is to be considered only as exemplary, of the invention true scope and purport is equal It is defined in the claims.

Claims (10)

1. a kind of be used to synchronize the method that preview is shown, the mobile terminal and web between mobile device and web terminals Terminal is communicated to connect with the server end positioned at high in the clouds respectively by network, the described method comprises the following steps:
A) file for wanting preview to show is selected by the mobile terminal;
B) instruction of request preview is sent to the server end by the mobile terminal, is shown in the mobile terminal pre- The file look at;
C) server end forwards the request of the preview to the web terminals;
D) the web terminals receive the request, and triggering generates long link address, and open web services with for receiving transmission File;
E) the long link address is sent to mobile terminal by the web terminals;
F) mobile terminal is sent to web terminals by current preview file according to received long link address;
G) web terminals are cached received preview file, and this document is presented in web terminals, realize web terminals with The simultaneous display of mobile terminal;
H) manipulation instruction of the user to preview file is received in mobile terminal;
I) manipulation instruction is sent to web terminals;
J) web terminals receive the instruction, parse and be converted into the finger that same operation is carried out to the file in the caching that currently presents Order, and identical operation is carried out to this document, the synchronous manipulation of mobile terminal and web terminals is realized, user can only pass through behaviour Control synchronous manipulation and simultaneous display of the mobile terminal realization to web terminals.
2. the method as described in claim 1, wherein the length in the step d is connected as http length connections.
3. the method as described in claim 1, wherein the file in long link address or step f in the step d passes through clothes Business device end is sent after carrying out transfer.
4. the method as described in claim 1, wherein when the file of institute's preview only needs single screen to show, this document is directly presented; When the file of institute's preview needs multihead display, the homepage of this document is shown.
5. the method as described in claim 1, wherein the manipulation instruction be selected from file is amplified, reduced, page turning, rolling Shield, select specific paragraph.
6. the method as described in claim 1, wherein the transmission and display in the step b are same
Shi Jinhang is carried out successively.
7. the method as described in claim 1, wherein when mobile terminal sends continuous multiple manipulation instructions, web terminals will be received To these instructions stored in a manner of the queue of first in first out, according still further to receive instruction time sequencing taken out from queue Corresponding instruction carries out parsing conversion.
8. the method as described in claim 1, wherein when the manipulation instruction that mobile terminal is sent be related to current preview file it When outer alternative document is manipulated, return to step f, step g is then performed.
9. the method as described in claim 1, wherein when terminating all manipulations in mobile terminal, web terminals empty local slow File in depositing.
10. the method as described in claim 1, wherein before the step a), the web terminals and the mobile terminal it Between through the following steps establish connection:
A01) connection request is sent to the server end from the web terminals;
A02) server end sends 2 D code information to the web terminals;
A03 2 D code information described in the mobile scanning terminal) is passed through;
A04) in response to the operation of the scanning Quick Response Code, the mobile terminal and the web terminals are respectively to the server End sends the network connection status of itself;
A05) server end obtains the mobile terminal and the web terminals are connected respectively to the network-like of server end Condition, judges whether the network connection of the mobile terminal and the web terminals is under same LAN, and for whether being in Same LAN sets network condition identifier different states;
A06) server end sends connection to the mobile terminal and the web terminals respectively and establishes license, in the shifting It is dynamic that connection is established between terminal and the web terminals.
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 CN104394200A (en) 2015-03-04
CN104394200B true 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)

Families Citing this family (7)

* 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
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 terminals
CN106210054A (en) * 2016-07-12 2016-12-07 泰康保险集团股份有限公司 Control method, device and server that far-end webpage represents
CN110337014B (en) * 2019-06-18 2022-08-09 北京世纪超星信息技术发展有限责任公司 Real-time screen projection method
CN112822282A (en) * 2021-01-21 2021-05-18 湖北洪珞易联科技有限公司 Method and process for uploading pictures based on mobile terminal
CN113422833B (en) * 2021-06-29 2022-12-09 安徽文香科技有限公司 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
"AirDroid: Remotely manage your Android from a Web browser";Alvin Ybañez,;《http://www.android authority.com/airdroid-control-android-from-pc-269186/》;20130918;第1页第1-3行、LAN Connection Mode、Remote Connection Mode、Remote device management、Managing ringtones以及Managing your apps *

Also Published As

Publication number Publication date
CN104394200A (en) 2015-03-04

Similar Documents

Publication Publication Date Title
CN104394200B (en) The method shown for synchronizing preview between mobile device and web terminals
CN104320417B (en) The method of interconnection and streaming and streaming media playing between mobile terminal and web terminals
EP4130963A1 (en) Object dragging method and device
CN110597774B (en) File sharing method, system, device, computing equipment and terminal equipment
US9231902B2 (en) Method and electronic device for content sharing
US10049147B2 (en) Method, apparatus and terminal for processing documents
KR102037930B1 (en) Mobile terminal and control method for the mobile terminal
KR101702659B1 (en) Appratus and method for syncronizing moving picture contents and e-book contents and system thereof
KR20110084325A (en) Method and apparatus for transmitting and receiving data
CN106303679B (en) Media playing control method and media playing client
EP2704033A1 (en) Method, apparatus and system for remote browsing
CN104320491A (en) Method for synchronous display between mobile device and web terminal
CN107948724B (en) Video transmission control method, device, storage medium and mobile terminal
CN104333598A (en) Two-dimension code and network adaption based mobile terminal and web terminal interconnection method
JP2011160119A (en) Portable terminal and information display link system
AU2014200631A1 (en) Terminal apparatus, server and method of controlling the same
CN113741765A (en) Page jump method, device, equipment, storage medium and program product
CN104639609A (en) Method and device for sharing network
CN104378425B (en) The method of interconnection and synchronous communication information between mobile terminal and web terminal
WO2016070373A1 (en) Method for implementing synchronous preview display between mobile terminal and web terminal
JP2019139276A (en) Web sharing system and program
CN108322691A (en) Video meeting implementing method, device and system, computer readable storage medium
EP3085103A1 (en) Method and tv associated communication device for switching user personalized interface
EP2786550B1 (en) Communicating media data
WO2016070372A1 (en) Method for implementing synchronous display between mobile terminal and web terminal

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