CN104376090B - The browser of computing device and the screen synch of mobile terminal - Google Patents

The browser of computing device and the screen synch of mobile terminal Download PDF

Info

Publication number
CN104376090B
CN104376090B CN201410669601.1A CN201410669601A CN104376090B CN 104376090 B CN104376090 B CN 104376090B CN 201410669601 A CN201410669601 A CN 201410669601A CN 104376090 B CN104376090 B CN 104376090B
Authority
CN
China
Prior art keywords
browser
direct
mobile terminal
screen
server
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
CN201410669601.1A
Other languages
Chinese (zh)
Other versions
CN104376090A (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 CN201410669601.1A priority Critical patent/CN104376090B/en
Publication of CN104376090A publication Critical patent/CN104376090A/en
Application granted granted Critical
Publication of CN104376090B publication Critical patent/CN104376090B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems

Abstract

The invention discloses a kind of screen synch equipment.The screen synch equipment is resident in the terminal, and the mobile terminal can be connected by server with computing device.The screen synch equipment includes:Connection management device, the screen synch request message suitable for receiving the browser from the computing device, and the web addresses of the screenshot picture are sent to browser;And image processing apparatus, suitable for predetermined period screen printing and preserving.Wherein, described image processing unit is further adapted for the parameter setting screenshot picture resolution ratio in being asked according to screen synch and/or preserves form.The invention also discloses the screen method that the browser of the screen synch equipment in a kind of browser for residing in computing device, the screen synchronization method that mobile terminal is performed, computing device is performed.

Description

The browser of computing device and the screen synch of mobile terminal
Technical field
The present invention relates to field of data communication, more particularly to the neck that mobile terminal is communicated with computing device browser Domain.
Background technology
As user is increasingly improving for the frequency of use of the mobile terminals such as smart mobile phone, tablet personal computer, very Extremely traditional desktop computer (PC) and notebook computer is exceeded in many occasions.The calculating performance and memory space of mobile terminal Also in rapid growth, so as to allow installation and operation to widely apply and and then generation mass data.For example, a smart mobile phone By the use of user for a period of time, the pictures of the gigabytes that are often stored with, audio, video, using, document, communication The data such as record, short message.
Although user such as can be browsed, replicate, delete at the operation on mobile phone to these data, but if with Family is located at before giant-screen computing device (such as PC, notebook computer and intelligent television), and he may be more desirable to calculate by giant-screen Equipment operates to carry out these.The reason so done is that there is giant-screen computing device more powerful I/O equipment (to show as big Display screen, mouse, full size keyboard), operating efficiency can be improved;Another reason be with run on mobile terminal Android, IOS is compared with application, operating system and the application such as Windows, MAC OS of giant-screen computing device operation Tend to provide stronger big various function.
There are some softwares to provide data management function of the giant-screen computing device to mobile terminal at present.Typical example Son is the iTunes and various mobile phone assistants of Apple Inc..User is in operating systems such as operation Windows, MAC OS Mobile terminal data management software is installed on traditional computer, mobile terminal is connected to giant-screen meter by cables such as USB Equipment is calculated, mobile terminal data management software reads the various data in mobile terminal, and allows user to be managed accordingly Operation.However, this uses simultaneously inconvenience for user.Even if there is some software support mobile terminals to connect by WLAN Giant-screen computing device is connected to, but user stills need the advance mobile terminal data of installing on giant-screen computing device and manages soft Part.Software is installed in advance and is not only cumbersome and time-consuming, and is difficult in some cases.For example, the meter of enterprises The installation authority of software may be limited for security consideration by calculating equipment, or, the giant-screen as intelligent television is calculated and set It is standby and without using Windows, MAC OS operating systems, may be without available mobile terminal data management software.
Therefore, user wishes to more be managed the number of mobile terminal on giant-screen computing device with the mode of simple and fast According to.Further, it is desirable to can by the content shown on mobile terminal screen the easily simultaneous display on the screen of computing device, with Just slide demonstration, photo demonstration etc. are carried out.
The content of the invention
Asked therefore, the present invention provides a kind of new scheme with trying hard to solution or at least alleviating at least one existed above Topic.
There is provided a kind of screen synch equipment according to an aspect of the present invention.The screen synch equipment resides in mobile whole In end, the mobile terminal can be connected by server with computing device.The screen synch equipment includes:Connection management device, Screen synch request message suitable for receiving the browser from the computing device, and by the web of the screenshot picture Location is sent to browser;And image processing apparatus, suitable for predetermined period screen printing and preserving.Wherein, described image is handled Device is further adapted for the parameter setting screenshot picture resolution ratio in being asked according to screen synch and/or preserves form.
Connection management device can be adapted to send direct-connected logical to the browser of the computing device by the server Believe invitation message, the message package contains the direct-connected mailing address of mobile terminal.Screen synch equipment can also include:Message Processing Device, suitable for judging whether to receive the access request message from browser;And web server.Connection management device may be used also It is suitable for sending direct-connected communication response message to browser by server when receiving access request message, leads into direct-connected Letter pattern, starts web server.
Connection management device can be adapted under direct-connected communication pattern, be sent to browser comprising the screenshot picture The notification message of web addresses, the web addresses indicate web address of the screenshot picture in the web server of mobile terminal, with Just browser downloads the screenshot picture under direct-connected pattern from the web addresses.
Connection management device can be adapted to be in indirectly connected communication pattern when not receiving direct-connected communication response message. Connection management device can be adapted under indirectly connected communication pattern, and the screenshot picture is uploaded onto the server, set to calculate Standby browser downloads the screenshot picture from server.
There is provided a kind of screen synchronization method according to another aspect of the present invention.This method is performed in the terminal, the shifting Dynamic terminal can be connected by server with computing device.The screen synchronization method includes:Receive by the clear of the computing device The screen synch request message that device of looking at is sent;With predetermined period screen printing picture;According to the ginseng in screen synch request message Number sets the resolution ratio of screenshot picture and/or preserves form;And the web addresses of the screenshot picture are sent to the calculating Equipment, so as to its download and display screenshot picture.
Screen synchronization method can also include:Send direct-connected logical to the browser of the computing device by the server Believe invitation message, the message package contains the direct-connected mailing address of mobile terminal;Judge whether to receive the access from browser Request message;If with receive access request message, direct-connected communication response message is sent to browser by server, entered Enter direct-connected communication pattern, start web server.
The step of web addresses of the screenshot picture are sent into the computing device can include:In direct-connected communication mould Under formula, the notification message of the web addresses comprising the screenshot picture is sent to browser, the web addresses indicate that the screenshot picture exists Web addresses in the web server of mobile terminal, so that browser downloads the snapshot under direct-connected pattern from the web addresses Piece.The screen synchronization method can also include:If not receiving direct-connected communication response message, in indirectly connected communication mould Formula.The step of web addresses of the screenshot picture are sent into the computing device can also include:In indirectly connected communication pattern Under, the screenshot picture is uploaded onto the server, the screenshot picture is downloaded from server so as to the browser of computing device.
There is provided a kind of screen synch equipment according to another aspect of the present invention.The screen computing device resides in calculating and set In standby browser, computing device can be connected by server with mobile terminal.The screen synch equipment includes:Connection management Device, is adapted to respond to user's input, screen synch request message is sent to the mobile terminal, receive and come from the mobile terminal Screenshot picture web addresses, and download the screenshot picture from web addresses;And interface display apparatus, suitable for calculating Screenshot picture is shown on the screen of equipment.
Connection management device can be adapted to receive the direct-connected communication invitation message from mobile terminal by server, should Message package contains the direct-connected mailing address of mobile terminal.Connection management device, which can be adapted to send to the direct-connected mailing address, visits Request message is asked, if receiving the direct-connected communication response message from mobile terminal by server, enters direct-connected communication Pattern.
If connection management device can be adapted to not receive direct-connected communication response message, in indirectly connected communication mould Formula.
There is provided a kind of screen synchronization method according to another aspect of the present invention.Browser of the methods described in computing device Middle to perform, the computing device can be connected by server with mobile terminal.The screen synchronization method can include:In response to User is inputted, and screen synch request message is sent to the mobile terminal;And receive the web of the mobile terminal screenshot picture Address;Downloaded from web addresses and show the screenshot picture.
Screen synchronization method can also include:Direct-connected communication invitation message from mobile terminal is received by server, The message package contains the direct-connected mailing address of mobile terminal;Access request message is sent to the direct-connected mailing address;If passed through Server receives the direct-connected communication response message from mobile terminal, then into direct-connected communication pattern.Screen synchronization method is also If can include not receiving direct-connected communication response message, in indirectly connected communication pattern.
Include the mobile terminal of above-mentioned screen synch equipment there is provided a kind of according to another aspect of the present invention.
There is provided a kind of computing device for being provided with browser, including above-mentioned screen synch according to another aspect of the present invention Equipment.
Brief description of the drawings
In order to realize above-mentioned and related purpose, some illustrative sides are described herein in conjunction with following description and accompanying drawing Face, these aspects indicate the various modes of principles disclosed herein that can put into practice, and all aspects and its equivalent aspect It is intended to fall under in the range of theme claimed.The following detailed description by being read in conjunction with the figure, the disclosure it is above-mentioned And other purposes, feature and advantage will be apparent.Throughout the disclosure, identical reference generally refers to identical Part or element.
Fig. 1 shows the structured flowchart of a mobile terminal 1 00;
Fig. 2 shows the browser administration mobile terminal of utilization giant-screen computing device according to an embodiment of the invention The system 200 of file;
Fig. 3 A show the browser administration movement of utilization giant-screen computing device according to an embodiment of the invention eventually Hold the interface schematic diagram of the mobile terminal before connection is set up of system 200 of file;
Fig. 3 B show the interface signal of the browser two-dimensional code display of computing device according to an embodiment of the invention Figure;
Fig. 3 C show the browser administration movement of utilization giant-screen computing device according to an embodiment of the invention eventually The system 200 of end file sets up the interface schematic diagram of the browser of computing device after passage;
Fig. 4 shows the flow chart for the screen synchronization method 400 that mobile terminal according to an embodiment of the invention is performed;
Fig. 5 shows the screen synchronization method 500 that the browser of computing device according to an embodiment of the invention is performed Flow chart;
Fig. 6 shows the flow chart of the screen synch equipment 600 in mobile terminal according to an embodiment of the invention;
Fig. 7 shows the stream of the screen synch equipment 700 in the browser of computing device according to an embodiment of the invention Cheng Tu.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Fig. 1 is the structured flowchart of mobile terminal 1 00.Mobile terminal 1 00 can include memory interface 102, one or many Individual data processor, image processor and/or CPU 104, and peripheral interface 106.
Memory interface 102, one or more processors 104 and/or peripheral interface 106 both can be discrete components, It can be integrated in one or more integrated circuits.In the mobile terminal 100, various elements can pass through one or more communication Bus or signal wire are coupled.Sensor, equipment and subsystem may be coupled to peripheral interface 106, a variety of to help to realize Function.
For example, motion sensor 110, optical sensor 112 and range sensor 114 may be coupled to peripheral interface 106, with The functions such as convenient orientation, illumination and ranging.Other sensors 116 can equally be connected with peripheral interface 106, such as alignment system (such as GPS), temperature sensor, biometric sensor or other sensor devices, it is possible thereby to help to implement correlation Function.
Camera sub-system 120 and optical sensor 122 can be used for the camera of convenient such as recording photograph and video clipping The realization of function, wherein the camera sub-system and optical sensor for example can be charge coupling device (CCD) or complementary gold Belong to oxide semiconductor (CMOS) optical sensor.It can help to realize by one or more radio communication subsystems 124 Communication function, wherein radio communication subsystem can include radio-frequency transmitter and emitter and/or light (such as infrared) receiver And emitter.The particular design and embodiment of radio communication subsystem 124 can depend on mobile terminal 1 00 is supported one Individual or multiple communication networks.For example, mobile terminal 1 00 can include being designed to support GSM network, GPRS network, EDGE nets Network, Wi-Fi or WiMax network and BlueboothTMThe communication subsystem 124 of network.
Audio subsystem 126 can be coupled with loudspeaker 128 and microphone 130, to help to implement to enable voice Function, such as speech recognition, speech reproduction, digital record and telephony feature.I/O subsystems 140 can include touch-screen control Device 142 processed and/or other one or more input controllers 144.Touch screen controller 142 may be coupled to touch-screen 146.Lift For example, the touch-screen 146 and touch screen controller 142 can use any one of a variety of touch-sensing technologies to detect The contact and movement or pause carried out therewith, wherein detection technology include but is not limited to capacitive character, resistive, infrared and table Face technology of acoustic wave.Other one or more input controllers 144 may be coupled to other input/control devicess 148, such as one Or the pointer device of multiple buttons, rocker switch, thumb wheel, infrared port, USB port, and/or instruction pen etc.It is described One or more button (not shown)s can include the up/down for controlling loudspeaker 128 and/or the volume of microphone 130 Button.
Memory interface 102 can be coupled with memory 150.The memory 150 can be deposited including high random access Reservoir and/or nonvolatile memory, such as one or more disk storage equipments, one or more optical storage apparatus, and/ Or flash memories (such as NAND, NOR).Memory 150 can store an operating system 172, such as Android, IOS or Windows Phone etc operating system.The operating system 172 can include being used to handle basic system services and execution Instruction dependent on the task of hardware.Memory 150 can also store and apply 174., can be from memory when mobile device is run Operating system 172 is loaded in 150, and is performed by processor 104.Using 174 operationally, it can also add from memory 150 Carry, and performed by processor 104.Operate on operating system, provided using operating system and bottom hardware using 174 Interface realizes the desired function of various users, such as instant messaging, web page browsing, pictures management.It can be independently of using 174 It is that operating system 172 is provided or that operating system 172 is carried.
In above-mentioned various applications 174, a kind of application therein is that can support mobile terminal document according to the present invention The client application of management, user can be led to by the client application of the browser on giant-screen computing device and mobile terminal Believe and manage the file of mobile terminal.
Fig. 2 shows the browser administration mobile terminal of utilization giant-screen computing device according to an embodiment of the invention The system 200 of file.The system 200 includes mobile terminal 210, server 220 and computing device 230.Pacify on mobile terminal 210 Equipped with support mobile terminal document management client application 212, and the various files that are stored with, such as photo, audio, video, Document (such as document of Word, PDF form).Applications client 212 may operate in the operating systems such as Android, IOS. Server 220 for example can be the remote cloud server for being physically located at one or more places.Computing device 230 for example can be with There is the computing device of relatively large screen including personal computer (PC), notebook computer, intelligent television etc..Computing device Browser 232, such as IE, Chrome and Firefox browser are installed on 230.Browser 232 may operate in such as In the operating systems such as Windows, Mac.
Browser 232 receives the address that user inputs in browser address bar, e.g. domain name first Www.weline.cc, it corresponds to the IP address of server 220.Browser accesses server 220, specific behaviour according to the address Make to include such as inquiry DNS and obtain the IP address returned, set up TCP connections, sending HTTP request to server asks, this In be not repeated.After the access request from browser 232 is received, server 220 distributes the first session identification (Session ID) and gap marker (Channel ID).Server 220 generates invitation address corresponding with gap marker (inviteurl) it is two-dimension code pattern by the address conversion, to call Quick Response Code Transformation Service, and obtains the two-dimension code pattern URL addresses (qrcodeurl).In other words, the content that the two-dimension code pattern is included is inviteurl.Server 220 is to clear Device 232 of looking at returns to the URL addresses qrcodeurl containing two-dimension code pattern and the first session in response message (200OK), the message Mark.Wherein qrcodeurl format sample is as follows:
qrcodeurl:"qrcodeContent=http://192.168.0.1/inviteId= 12d345d8z834baef83 9c0",
Long connection is set up between server 220 and browser 232.Browser 232 accesses the URL addresses of two-dimension code pattern Qrcodeurl, obtain two-dimension code pattern simultaneously show, as shown in Figure 3 B, shown in the figure two-dimension code image with etc. end to be moved End scanning Quick Response Code.Fig. 3 A show that the browser administration of utilization giant-screen computing device according to an embodiment of the invention is moved The interface schematic diagram of the system 200 of dynamic terminal document mobile terminal when setting up connection, in the surface chart, the operation to user Pointed out, to set up the connection with server.User can be by mobile terminal client terminal using 212 scanning computing devices The two-dimension code pattern shown on 230 browser 232, so as to obtain the content of two-dimension code pattern, that is, invites address inviteurl.Mobile terminal client terminal accesses inviteurl using 212, and server 220 is identified to its backward channel, returned simultaneously Return the second session identification.Server can determine that the relation of browser and mobile terminal, i.e. mobile terminal are swept by gap marker What is retouched is the Quick Response Code shown on browser.Similar to the process that connection is set up between server 220 and browser 232, service Also long connection is set up between device 220 and client application 212.Server 220, which is stored between server and browser, grows connection The first session identification and server and client application between long connection the second session identification, between the two session identifications Associated by gap marker, a passage is so formed between browser and client application by gap marker, with meeting Words mark come distinguish object be connected with server length be mobile terminal client terminal apply or browser.In other words, in clothes Two long connection is established respectively between server and client application between business device and browser, and server is periodically to browsing Device and client application send heartbeat message.The two length connect through same channel logo and associate to form a passage, visitor The signaling or data that the application of family end is sent are pushed to browser via server by the passage.
After passage is set up, the client application 212 of mobile terminal is by the statistical information of mobile terminal, such as mobile terminal Model, system version, memory space, the contact person stored, short message, the quantity of Miscellaneous Documents etc., sent by passage To browser 232, specifically, these information for example pass through the second session connection by client application 212 by post modes Server 220 is sent to, server 220 finds the first session connection of association according to gap marker, and passes through the first session Connection sends information to browser 232.Browser 232 shows corresponding mobile terminal statistical information, and Fig. 3 C show basis The system 200 of the browser administration mobile terminal document of the utilization giant-screen computing device of one embodiment of the invention sets up connection The interface schematic diagram of the browser of computing device afterwards, foundation includes the master catalogue of various document classifications, such as picture master catalogue, sound Frequency master catalogue etc., and if when under such as picture master catalogue, multiple picture thumbnails etc. can be shown.User can be big Check the information of mobile terminal on the browser of the computing device of screen, and using computing device input equipment (such as mouse, Keyboard) the various operations to file are easily carried out, such as from acquisition for mobile terminal file, browse, delete file.By moving The passage via server is set up between dynamic terminal and the browser of computing device, need to only be browsed using existing on computing device Device is that the management to mobile terminal can be achieved, and without installing software in advance on the computing device, not only saves user's Time, also save the work of software developer.Set moreover, being especially suitable for calculating using the scheme of browser administration mobile terminal The installation limited authority of standby software or the situation for lacking available mobile terminal data management software.
After the browser of computing device and the client application of mobile terminal set up connection by server, work as server When the message or data from client application are received by the second session, server is searched and the second meeting according to gap marker First session identification of words mark association, the message or data is sent to by the first session the browser of computing device.By Transit server, therefore referred to as indirectly connected communication pattern are transferred through in this.The invention also provides one kind is without server The data-transmission mode of transfer, i.e., direct-connected communication pattern.Under direct-connected pattern, the browser of computing device and the visitor of mobile terminal Data transfer between the application of family end can be carried out by being directly connected between them, without transit server, so that Improve transmission speed and flow and expense may be saved.Direct-connected communication pattern explained below sets up process.
First, the passage that the client application of mobile terminal has been set up by server, i.e. the first session and the second session, The direct-connected communication invitation message for including the direct-connected mailing address of mobile terminal is sent to the browser of computing device.The example lattice of message Formula is as follows:
Wherein 192.168.1.119 is the direct-connected mailing address of mobile terminal oneself, the inside IP of such as WLAN Address.Authentication information can also be used as in direct-connected communication notifications message comprising the numerical value (id) generated at random.Browse Device request after direct-connected communication invitation message is received accesses the direct-connected address included in message.This access is similar to ping behaviour Make, i.e., browser sends packet to the direct-connected mailing address, if other side receives the packet, can return to an equal amount of number According to bag, thereby confirm that connection between the two is unimpeded, otherwise mean that browser can not access direct-connected mailing address, both Continue to operate under indirectly connected pattern.When the client application of mobile terminal receives the access request message from browser When, determine that mobile terminal and computing device can be carried out direct-connected.Can in security, the access request message of browser in order to strengthen So that comprising the numerical value in direct-connected communication notifications message, client application can be verified to the numerical value.If checking is consistent, move The client application of dynamic terminal sends direct-connected communication response message by server to browser, and format sample is
{
type:"directOK"
}
Client application enters direct-connected pattern, starts web server.Browser is receiving direct-connected communication response message Afterwards, also into direct-connected pattern.So, between client application and the browser of computing device in the way of server-client Carry out data transmission.In addition, after the access request message from browser is received, client application can record source IP Address and write-in cookie, browser, which downloads the request of file, for after will verify IP address and cookie, if not With then returning to 403 mistakes.Further, due to the client application not same area of server and mobile terminal, and browser and client Using access request can be sent using AJAX (asynchronous JavaScript and XML) modes, and in view of the same of browser The limitation of source policy, therefore, the client application of mobile terminal can also realize that cross-domain resource shares (CORS), and it can be direct-connected Being added in the response header of invitation message allows the information (Access-Control-Allow- of the cross-domain access of browser Origin), so that cross-domain access can be carried out when browser receives the direct-connected invitation message.
Under direct-connected communication pattern, signaling/message can also be switched to shifting from former passage (i.e. by the passage of server) It is dynamic to be directly connected to passage between terminal and computing device browser, so as to realize the localization of message.The correlation of switching channel Message format sample it is as follows:
The directChannel message is sent to the browser of computing device by mobile terminal by server, is informed straight Connect the address (url) of communication port.Browser is polled (polling) to url addresses upon receiving the message.It is mobile whole End can start direct communication channel after the GET request of poll is received, and stop toward former passage POST message.Mobile terminal to Browser send switchChannel message, format sample for
"type":"switchChannel"
}
SwitchChannel message informing browser switching channels.Browser is received after the message, is stopped to server Former passage POST message.
Once into direct-connected pattern, directly enterprise can be for example passed through without high in the clouds between browser and mobile terminal Internal local network transport data.So, the flow of mobile terminal is not only saved, and substantially increases the speed of data transfer Degree, also improves the Consumer's Experience by browser administration mobile terminal data.
The document transmission process under direct-connected communication pattern and indirectly connected communication pattern will be described respectively below.
Under direct-connected communication pattern, browser is operated in response to user, the file in acquisition request mobile terminal.For example, User views the information such as the listed files stored on mobile terminal, thumbnail on a web browser, is inputted by mouse, keyboard etc. Equipment specifies the file to be obtained.Browser sends in file request message (requestFile), the message to mobile terminal and wrapped Mark containing requested document.Mobile terminal returns to the logical of the web addresses comprising this document after file request is received Know message.The web addresses of this document indicate absolute url of this document in the web server of mobile terminal.Browser is being received To after response message, file is downloaded from mobile terminal according to web client-server mode.
In direct-connected communication pattern, it is understood that there may be some special implementations.For example, PDF.js may be obtained by AJAX Pdf document is taken, therefore, the problem of having cross-domain under direct-connected communication pattern.At this moment the web server of mobile terminal is needed to realize CORS (across source Resource Sharing Protocol).The setting and confirmation of some heads (Headers) that CORS passes through web server is realized Cross-domain request, is not detailed herein.
Under indirectly connected communication pattern, browser is operated in response to user, the file in acquisition request mobile terminal.Browse Device is sent in file request message (requestFile), the message by server to mobile terminal includes requested document Mark.Mobile terminal uploads onto the server this document after file request is received.Server is returned to browser and wrapped The notification message of web addresses containing this document.The web addresses of this document indicate this document in the web server of server Address.Browser downloads file according to web client-server mode after response message is received from server.
Except answering browse request, mobile terminal can also actively send the file to browser.For example, user can be Photo is sent to browser in the client application of mobile terminal.Under direct-connected pattern, browser sends text to mobile terminal Part sends message (sendFile).The message format example is
Mobile terminal sends the notification message of the web addresses comprising this document to browser.The web addresses of this document are indicated Absolute url of this document in the web server of mobile terminal.Browser is after response message is received, according to web client End-server mode downloads file from mobile terminal.In indirectly connected communication pattern, browser sends file to mobile terminal and sent out Message is sent, the file that mobile terminal will be sent is uploaded onto the server, server receives the web addresses that this document is included after file Notification message be sent to browser, browser is after response message is received, according to web client-server mode from clothes Business device downloads file.
It should be noted that transmission file here can be two-way, it can both send, also might be used from mobile terminal to browser To be sent from browser to mobile terminal.
So, file transmission easily can be carried out with mobile terminal by the browser of computing device, without in meter Calculate and software is installed in advance in equipment.
According to one embodiment of present invention, it is proposed that according to above-mentioned file transmission principle in mobile terminal and computing device Browser between subsequent screen scheme.
User can start screen synch, i.e. mobile terminal by selecting subsequent screen on the browser of computing device Screen and computing device screen synch, to realize the photo on mobile terminal, document etc. on giant-screen computing device Demonstration.First, browser sends the message for asking screen synch to mobile terminal.Mobile terminal upon receiving the message, Screenshotss operation is carried out with predetermined period, and preserves screenshot picture.Can be according to the parameter setting in screen synch request message Screenshot picture resolution ratio and/or preservation form.The scope of predetermined period was arranged between 0.5~2 second.Wherein, screenshot picture Preservation form can be configured to jpeg format, because jpeg file can be easily compressed, thus transmission data Amount can be substantially reduced, and user can also flexibly select different definition according to actual bandwidth, such as SD, high definition, from And realize smooth demonstration.According to one embodiment of present invention, screenshotss operation can be by carrying in Android operation system Sublayer ADB orders screencap carry out code revision completion so that the file format stored during screenshotss be jpeg format. The web addresses of screenshot picture are sent to browser by mobile terminal.The description transmitted with reference to file above, can be in direct-connected communication Worked under pattern and indirectly connected communication pattern.Browser is downloaded from web addresses and shows screenshot picture.The display of picture both can be with Carry out or be displayed in full screen in the interface of browser.
So, user can easily show the picture of mobile terminal on giant-screen computing device, it is not necessary to by movement The file of terminal copies computing device to and document demonstration function can be achieved in advance.With copying files to computing device and playing Existing scheme compare, not only save the time, nor occur that compatibility issue (for example in the terminal can be just Often open and the document of display normally may can not be opened and shown in computing device).In addition, when computing device is whole with movement End is not belonging to same user institute sometimes, the solution of the present invention due to need not by the file copy of mobile terminal to computing device, Therefore the problem of infringement privacy can be avoided and be safe.Under direct-connected communication pattern, flow can also be saved, screen synch is improved Speed.The definition of screenshot picture can be needed to set or be set automatically according to bandwidth according to user, it is ensured that screen synch is drilled The fluency shown.
Fig. 4 shows the flow chart for the screen synchronization method 400 that mobile terminal according to an embodiment of the invention is performed.
In step S410, the request screen synch message sent by the browser of computing device is received.In step S420, with Predetermined period screen printing picture.In step S430, the resolution ratio of the parameter setting screenshot picture in being asked according to screen synch And/or preserve form.In step S440, the web addresses of the screenshot picture are sent to browser, so as to its download and display Screenshot picture.This method can also include sending direct-connected communication invitation to the browser of the computing device by the server Message, the message package contains the direct-connected mailing address of mobile terminal, judges whether that receiving the access request from browser disappears Breath.If receiving access request message, direct-connected communication response message is sent to browser by server, led into direct-connected Letter pattern, starts web server.If direct-connected communication response message is not received, in indirectly connected communication pattern.Will be described The step of web addresses of screenshot picture are sent to the computing device can also include:Under direct-connected communication pattern, to browser The notification message of the web addresses comprising the screenshot picture is sent, the web addresses indicate web of the screenshot picture in mobile terminal Web addresses in server, so that browser downloads the screenshot picture under direct-connected pattern from the web addresses.By the screenshotss The step of web addresses of picture are sent to the computing device can also include:Under indirectly connected communication pattern, by the snapshot Piece is uploaded onto the server, and the screenshot picture is downloaded from server so as to the browser of computing device.
Fig. 5 is the stream of the screen synchronization method 500 of the browser execution of computing device according to an embodiment of the invention Cheng Tu.
In step S510, inputted in response to user, screen synch request message is sent to mobile terminal.In step S520, Receive the web addresses of mobile terminal screenshot picture.In step S530, downloaded from web addresses and show the screenshot picture.The party Method can also include receiving the direct-connected communication invitation message from mobile terminal by server, and the message package contains mobile terminal Direct-connected mailing address, send access request message to the direct-connected mailing address.If received by server from movement The direct-connected communication response message of terminal, then into direct-connected communication pattern.If not receiving direct-connected communication response message, it is in Indirectly connected communication pattern.
Fig. 6 is the flow chart of the screen synch equipment 600 in mobile terminal according to an embodiment of the invention.
Screen synch equipment 600 includes connection management device 610 and image processing apparatus 620.Connection management device 610 is fitted Sent in the screen synch request message for receiving the browser from the computing device, and by the web addresses of screenshot picture To browser.Image processing apparatus 620 is suitable to predetermined period screen printing and preserved.Image processing apparatus 620 is further adapted for root According to the parameter setting screenshot picture resolution ratio in screen synch request message and/or preservation form.
Connection management device 610 can be adapted to send direct-connected to the browser of the computing device by the server Communicate invitation message, and the message package contains the direct-connected mailing address of mobile terminal.The screen synch equipment 600 can also include Message processing apparatus 630 and web server 640.Message processing apparatus 630 may be adapted to judge whether to receive from browser Access request message.Connection management device can be adapted to when receiving access request message by server to browser Direct-connected communication response message is sent, into direct-connected communication pattern, starts web server 640.
Connection management device 610 can be adapted under direct-connected communication pattern, is sent to browser and includes the screenshot picture Web addresses notification message, the web addresses indicate web address of the screenshot picture in the web server of mobile terminal, So that browser downloads the screenshot picture under direct-connected pattern from the web addresses.Connection management device 610 can be adapted to ought be not Indirectly connected communication pattern is in when receiving direct-connected communication response message.Connection management device 610 can be adapted to indirectly connected Under communication pattern, the screenshot picture is uploaded onto the server, the snapshot is downloaded from server so as to the browser of computing device Piece.
Fig. 7 is the flow of the screen synch equipment 700 in the browser of computing device according to an embodiment of the invention Figure.
Screen synch equipment 700 includes connection management device 710 and interface display apparatus 720.Connection management device 710 is fitted In response user's input, the message for asking screen synch is sent to mobile terminal, the screenshot picture from mobile terminal is received Web addresses, and download screenshot picture from web addresses.Interface display apparatus 720 is suitable to the display on the screen of computing device and cut Shield picture.Connection management device 710 can be adapted to receive the direct-connected communication invitation message from mobile terminal by server, The message package contains the direct-connected mailing address of mobile terminal, and connection management device 710 is further adapted for sending to the direct-connected mailing address Access request message, if receiving the direct-connected communication response message from mobile terminal by server, enters direct-connected logical Letter pattern.If connection management device 710 can be adapted to not receive direct-connected communication response message, in indirectly connected communication Pattern.
In the specification that this place is provided, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, knot is not been shown in detail Structure and technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect The application claims of shield are than the feature more features that is expressly recited in each claim.More precisely, as following As claims reflect, inventive aspect is all features less than single embodiment disclosed above.Therefore, abide by Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself It is used as the separate embodiments of the present invention.
Those skilled in the art should be understood the module or unit or group of the equipment in example disclosed herein Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in the example In different one or more equipment.Module in aforementioned exemplary can be combined as a module or be segmented into addition multiple Submodule.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can or similar purpose identical, equivalent by offer alternative features come generation Replace.
A1:The screen synchronization method performed in the terminal also includes step:By server to the clear of computing device Device of looking at sends direct-connected communication invitation message, and the message package contains the direct-connected mailing address of mobile terminal;Judge whether to receive From the access request message of browser;If with receive access request message, by server to browser send it is direct-connected Communication response message, into direct-connected communication pattern, starts web server.A2:The web addresses of screenshot picture are sent to calculating Equipment includes step:Under direct-connected communication pattern, the notification message of the web addresses comprising the screenshot picture is sent to browser, The web addresses indicate web address of the screenshot picture in the web server of mobile terminal, so that browser is in direct-connected pattern Under download the screenshot picture from the web addresses.A3:The screen synchronization method performed in the terminal also includes step:If Direct-connected communication response message is not received, then in indirectly connected communication pattern.A4:The web addresses of screenshot picture are sent to meter Calculating equipment also includes step:Under indirectly connected communication pattern, the screenshot picture is uploaded onto the server, it is clear so as to computing device Device of looking at downloads the screenshot picture from server.A5:The scope of predetermined period was arranged between 0.5~2 second;And screenshot picture Preservation form be jpeg format.A6:The screen synch equipment resided in the browser of computing device, its connection management device It is further adapted for receiving the direct-connected communication invitation message from mobile terminal by server, the message package contains the direct-connected of mobile terminal Mailing address, connection management device is further adapted for sending access request message to the direct-connected mailing address, if connect by server The direct-connected communication response message from mobile terminal is received, then into direct-connected communication pattern.A7:Connection management device be further adapted for as Fruit does not receive direct-connected communication response message, then in indirectly connected communication pattern.A8:Performed in the browser of computing device Screen synchronization method also includes step:Direct-connected communication invitation message from mobile terminal, the message package are received by server Direct-connected mailing address containing mobile terminal;Access request message is sent to the direct-connected mailing address;If connect by server The direct-connected communication response message from mobile terminal is received, then into direct-connected communication pattern.A9:In the browser of computing device The screen synchronization method of execution also includes step:If not receiving direct-connected communication response message, in indirectly connected communication mould Formula.A10:A kind of computing device for being provided with browser, including screen synch equipment as described in the present invention.
Although in addition, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of be the same as Example does not mean in of the invention Within the scope of and form different embodiments.For example, in the following claims, times of embodiment claimed One of meaning mode can be used in any combination.
In addition, be described as herein can be by the processor of computer system or by performing for some in the embodiment Method or the combination of method element that other devices of the function are implemented.Therefore, with for implementing methods described or method The processor of the necessary instruction of element forms the device for implementing this method or method element.In addition, device embodiment Element described in this is the example of following device:The device is used to implement as in order to performed by implementing the element of the purpose of the invention Function.
As used in this, unless specifically stated so, come using ordinal number " first ", " second ", " the 3rd " etc. Description plain objects are merely representative of the different instances for being related to similar object, and are not intended to imply that the object being so described must Must have the time it is upper, spatially, in terms of sequence or given order in any other manner.
Although describing the present invention according to the embodiment of limited quantity, above description, the art are benefited from It is interior it is clear for the skilled person that in the scope of the present invention thus described, it can be envisaged that other embodiments.Additionally, it should be noted that The language that is used in this specification primarily to readable and teaching purpose and select, rather than in order to explain or limit Determine subject of the present invention and select.Therefore, in the case of without departing from the scope and spirit of the appended claims, for this Many modifications and changes will be apparent from for the those of ordinary skill of technical field.For the scope of the present invention, to this The done disclosure of invention is illustrative and not restrictive, and it is intended that the scope of the present invention be defined by the claims appended hereto.

Claims (16)

1. a kind of screen synch equipment, the screen synch equipment is resident in the terminal, the mobile terminal can pass through service Device is connected with computing device, and the screen synch equipment includes:
Connection management device, the screen synch request message suitable for receiving the browser from the computing device, and will cut The web addresses of screen picture are sent to browser, are further adapted for sending straight to the browser of the computing device by the server Connection letter invitation message, the message package contains the direct-connected mailing address of mobile terminal;With
Image processing apparatus, suitable for predetermined period screen printing and preserving;
Message processing apparatus, suitable for judging whether to receive the access request message from browser;
Web server,
Wherein, described image processing unit be further adapted for parameter setting screenshot picture resolution ratio in being asked according to screen synch and/ Or form is preserved, the connection management device is further adapted for sending to browser by server when receiving access request message Direct-connected communication response message, into direct-connected communication pattern, starts web server.
2. screen synch equipment as claimed in claim 1, the connection management device is further adapted under direct-connected communication pattern, to Browser sends the notification message of the web addresses comprising the screenshot picture, and the web addresses indicate the screenshot picture in mobile terminal Web server in web addresses, so that browser downloads the screenshot picture under direct-connected pattern from the web addresses.
3. screen synch equipment as claimed in claim 1, wherein connection management device are further adapted for receiving direct-connected communication Indirectly connected communication pattern is in during response message.
4. screen synch equipment as claimed in claim 3, the connection management device is further adapted under indirectly connected communication pattern, The screenshot picture is uploaded onto the server, the screenshot picture is downloaded from server so as to the browser of computing device.
5. screen synch equipment as claimed in claim 4, wherein the scope of the predetermined period be arranged on 0.5~2 second it Between;And
The preservation form of the screenshot picture is jpeg format.
6. a kind of screen synchronization method, methods described is performed in the terminal, the mobile terminal can pass through server and meter Calculate equipment to be connected, the screen synchronization method includes:
Receive the screen synch request message sent by the browser of the computing device;
With predetermined period screen printing picture;
The resolution ratio and/or preservation form of parameter setting screenshot picture in screen synch request message;And
The web addresses of the screenshot picture are sent to the computing device, so as to its download and display screenshot picture,
Wherein, the step of screen synchronization method also includes setting up direct-connected communication pattern with computing device:
Direct-connected communication invitation message is sent to the browser of the computing device by the server, the message package contains movement The direct-connected mailing address of terminal;
Judge whether to receive the access request message from browser;With
If receiving access request message, direct-connected communication response message is sent to browser by server, into direct-connected Communication pattern, starts web server.
7. screen synchronization method as claimed in claim 6, described that the web addresses of the screenshot picture are sent into the calculating Equipment includes:
Under direct-connected communication pattern, the notification message of the web addresses comprising the screenshot picture, the web addresses are sent to browser Indicate web address of the screenshot picture in the web server of mobile terminal, so as to browser under direct-connected pattern from the web Download the screenshot picture in address.
8. screen synchronization method as claimed in claim 6, in addition to:
If direct-connected communication response message is not received, in indirectly connected communication pattern.
9. screen synchronization method as claimed in claim 8, described that the web addresses of the screenshot picture are sent into the calculating Equipment includes:
Under indirectly connected communication pattern, the screenshot picture is uploaded onto the server, so as to computing device browser from server Download the screenshot picture.
10. the screen synchronization method as any one of claim 6-9, wherein the scope of the predetermined period is arranged on Between 0.5~2 second;And
The preservation form of the screenshot picture is jpeg format.
11. a kind of screen synch equipment, the equipment is resided in the browser of computing device, the computing device can pass through Server is connected with mobile terminal, and the screen synch equipment includes:
Connection management device, is adapted to respond to user's input, screen synch request message is sent to the mobile terminal, reception comes from The web addresses of the screenshot picture of the mobile terminal, and download the screenshot picture from web addresses;
Interface display apparatus, suitable for showing screenshot picture on the screen of computing device;And
The connection management device is further adapted for receiving the direct-connected communication invitation message from mobile terminal, the message by server Include the direct-connected mailing address of mobile terminal, connection management device is further adapted for disappearing to the direct-connected mailing address transmission access request Breath, if the direct-connected communication response message from mobile terminal is received by server, into direct-connected communication pattern.
12. screen synch equipment as claimed in claim 11, if wherein connection management device be further adapted for not receiving it is direct-connected Communication response message, then in indirectly connected communication pattern.
13. a kind of screen synchronization method, methods described is performed in the browser of computing device, the computing device can pass through Server is connected with mobile terminal, and the screen synchronization method includes:
In response to user's input, screen synch request message is sent to the mobile terminal;
Receive the web addresses of the mobile terminal screenshot picture;And
Downloaded from web addresses and show the screenshot picture,
Wherein, the step of screen synchronization method also includes setting up direct-connected communication pattern with mobile terminal:
Direct-connected communication invitation message from mobile terminal is received by server, the message package contains the direct-connected logical of mobile terminal Believe address;
Access request message is sent to the direct-connected mailing address;
If the direct-connected communication response message from mobile terminal is received by server, into direct-connected communication pattern.
14. screen synchronization method as claimed in claim 13, in addition to if not receiving direct-connected communication response message, then locate In indirectly connected communication pattern.
15. a kind of mobile terminal, including the screen synch equipment as any one of claim 1-5.
16. a kind of computing device for being provided with browser, including the screen synch equipment as described in claim 11 or 12.
CN201410669601.1A 2014-11-20 2014-11-20 The browser of computing device and the screen synch of mobile terminal Active CN104376090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410669601.1A CN104376090B (en) 2014-11-20 2014-11-20 The browser of computing device and the screen synch of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410669601.1A CN104376090B (en) 2014-11-20 2014-11-20 The browser of computing device and the screen synch of mobile terminal

Publications (2)

Publication Number Publication Date
CN104376090A CN104376090A (en) 2015-02-25
CN104376090B true CN104376090B (en) 2017-11-07

Family

ID=52554997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410669601.1A Active CN104376090B (en) 2014-11-20 2014-11-20 The browser of computing device and the screen synch of mobile terminal

Country Status (1)

Country Link
CN (1) CN104376090B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487859B (en) 2015-09-01 2019-08-30 北京国双科技有限公司 Monitor method, apparatus, terminal device and the system of user access activity
CN105608124A (en) * 2015-12-16 2016-05-25 小米科技有限责任公司 Screen capturing method and apparatus
CN106168974B (en) * 2016-07-11 2020-01-07 广州视睿电子科技有限公司 Method and system for processing multi-system screenshot file
CN107332914B (en) * 2017-07-04 2020-09-01 北京云测网络科技有限公司 Terminal display method and device
CN109587259A (en) * 2018-12-14 2019-04-05 深圳壹账通智能科技有限公司 The method for remote management and system of mobile device and the server for using the method
CN111355769B (en) * 2019-04-24 2023-04-28 深圳市鸿合创新信息技术有限责任公司 Remote monitoring method and device and electronic equipment
CN115793916A (en) * 2019-12-26 2023-03-14 华为技术有限公司 Method, electronic device and system for displaying multiple windows

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981793A (en) * 2012-11-22 2013-03-20 Tcl集团股份有限公司 Screen synchronization method and device
CN104320491A (en) * 2014-11-06 2015-01-28 北京安奇智联科技有限公司 Method for synchronous display between mobile device and web terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5151211B2 (en) * 2007-03-30 2013-02-27 ソニー株式会社 Multi-screen synchronized playback system, display control terminal, multi-screen synchronized playback method, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981793A (en) * 2012-11-22 2013-03-20 Tcl集团股份有限公司 Screen synchronization method and device
CN104320491A (en) * 2014-11-06 2015-01-28 北京安奇智联科技有限公司 Method for synchronous display between mobile device and web terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
闪传2.0新版上线,全面超越茄子快传;马汉;《计算机与网络》;20140426(第8期);第39页 *

Also Published As

Publication number Publication date
CN104376090A (en) 2015-02-25

Similar Documents

Publication Publication Date Title
CN104376090B (en) The browser of computing device and the screen synch of mobile terminal
CN104378435B (en) The browser of computing device and the file of mobile terminal transmit
US10116583B2 (en) Controlling resources used by computing devices
CN104394208B (en) Document transmission method and server
CN104486371B (en) Batch downloads the device and method of file
US10496354B2 (en) Terminal device, screen sharing method, and screen sharing system
US9794252B2 (en) Information processing system and device control method
WO2016106088A1 (en) Ubiquitous content access and management
CN106101091B (en) Method and device for processing data between terminals
US10063751B2 (en) System and method for accessing images with a captured query image
CN104462367B (en) A kind of browser and its method for viewing thumbnail of computing device
KR101720778B1 (en) Cloud system and method for displaying contents thereof
US20150058397A1 (en) Information processing system, information processing apparatus, terminal apparatus and information transmission method
US8631236B2 (en) Auto file locker
CN104462366A (en) Browser of computing device and thumbnail display method of browser
JP2012173801A (en) Communication apparatus, control method thereof, and program
CN104484338B (en) Listed files management equipment and method
CN104394210B (en) Direct-connected communication means and device
CN104468739B (en) Message treatment method, client and mobile terminal
US20130057708A1 (en) Real-time Wireless Image Logging Using a Standalone Digital Camera
CN104462250B (en) The communication of the browser and mobile terminal of computing device
WO2015165393A1 (en) Method and apparatus for sending file and user terminal
WO2019096207A1 (en) Image processing method and computer device, and computer readable storage medium
CN104394270A (en) Method and device for aiding phone answering
US9602562B2 (en) Terminal apparatus, information processing system and information processing 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