CN104394210A - Direction connection communication method and device - Google Patents
Direction connection communication method and device Download PDFInfo
- Publication number
- CN104394210A CN104394210A CN201410668863.6A CN201410668863A CN104394210A CN 104394210 A CN104394210 A CN 104394210A CN 201410668863 A CN201410668863 A CN 201410668863A CN 104394210 A CN104394210 A CN 104394210A
- Authority
- CN
- China
- Prior art keywords
- direct
- browser
- mobile terminal
- server
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 115
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000004044 response Effects 0.000 claims abstract description 32
- 238000012545 processing Methods 0.000 claims description 14
- 235000014510 cooky Nutrition 0.000 claims description 8
- 238000007726 management method Methods 0.000 description 23
- 230000015654 memory Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 239000003550 marker Substances 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000009434 installation Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000033001 locomotion Effects 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- VYZAMTAEIAYCRO-UHFFFAOYSA-N Chromium Chemical compound [Cr] VYZAMTAEIAYCRO-UHFFFAOYSA-N 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000012010 growth Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a direct connection communication method executed through a mobile terminal. The mobile terminal can be connected with a browser of a computation device through a server. The method includes the steps of sending direction connection communication invitation information to the browser of the computation device through the server, wherein the information contains the direct connection communication address of the mobile terminal; judging whether access request information from the browser is received or not; sending direction connection communication response information to the browser through the server and entering the direct connection communication mode if the access request information is receive; starting the web server so that the browser can conveniently have access to files of the mobile terminal.
Description
Technical field
The present invention relates to field of data communication, particularly relate to the field that mobile terminal and the browser of computing equipment carry out communicating.
Background technology
Along with user improves day by day for the frequency of utilization of the such as mobile terminal such as smart mobile phone, panel computer, even traditional desktop computer (PC) and notebook computer are exceeded in a lot of occasion.The calculated performance of mobile terminal and memory space also in quick growth, thus allow installation and operation to widely apply and and then produce mass data.Such as, a smart mobile phone, through the use of user's a period of time, often stores the data such as the picture of gigabytes, audio frequency, video, application, document, address list, short message.
Operations such as although user such as can browse these data on mobile phone, copy, deletions, if but user to be positioned at large-screen computing equipment (as PC, notebook computer and intelligent television) front, he may more wish to carry out these operations by large-screen computing equipment.The reason done like this is that large-screen computing equipment has more powerful I/O equipment (as large display screen), can improve operating efficiency; The operating systems such as Another reason compares with application with the Android that mobile terminal runs, IOS, such as Windows, MAC OS that large-screen computing equipment runs and application often can provide more powerful various function.
Some softwares have been had to provide large-screen computing equipment to the data management function of mobile terminal at present.Typical example is the iTunes of Apple and various mobile phone assistant.User installs mobile terminal data management software on the traditional computer running the operating systems such as such as Windows, MAC OS, mobile terminal is connected to large-screen computing equipment by cables such as such as USB, mobile terminal data management software reads the various data in mobile terminal, and allows user to carry out corresponding bookkeeping.But this uses and inconvenience concerning user.Even if there are some software support mobile terminals to be connected to large-screen computing equipment by WLAN (wireless local area network), but user still needs to install mobile terminal data management software in advance on large-screen computing equipment.Mounting software is not only loaded down with trivial details and consuming time in advance, and is difficult in some cases realize.Such as, the computing equipment of enterprises may limit the installation authority of software for security consideration, or the large-screen computing equipment as intelligent television so does not use Windows, MAC OS operating system, available mobile terminal data management software may be there is no.
Therefore, user wishes the data more using mode managing mobile terminal on large-screen computing equipment of simple and fast.
Summary of the invention
For this reason, the invention provides a kind of new scheme to try hard to solve or at least alleviate Problems existing above.
According to an aspect of the present invention, the direct-connected communication means providing a kind of mobile terminal to perform.This mobile terminal can be connected by the browser of server and computing equipment.The method comprises: send direct-connected communication invitation message by server to the browser of computing equipment, this message includes the direct-connected mailing address of mobile terminal; Judge whether to receive the access request message from browser; If receive access request message, then send direct-connected communication response message by server to browser, enter direct-connected communication pattern; Start web server so that the file of browser access mobile terminal.
The method can also comprise: if do not receive access request message, be then in indirectly connected communication pattern.Direct-connected communication invitation message can also comprise authentication information.The method can also comprise: whether comprise this authentication information in authentication-access request message, and only just sends direct-connected communication response message by server to browser when comprising this authentication information.The method can also comprise: the source IP addresses of record access request message and write cookie, to the file access of mobile terminal after verifying browser.Authentication information can comprise the numerical value of stochastic generation.
According to a further aspect in the invention, provide the direct-connected communication means that a kind of browser of computing equipment performs, wherein the browser of computing equipment can be connected by server and mobile terminal.The method comprises: receive the direct-connected communication invitation message from mobile terminal by server, this message includes the direct-connected mailing address of mobile terminal; Access request message is sent to this direct-connected mailing address; And receive the direct-connected communication response message from mobile terminal by server, enter direct-connected communication pattern.
The method can also comprise: if do not receive direct-connected communication response message, be then in indirectly connected communication pattern.Authentication information can also be comprised in direct-connected communication invitation message.The method can also be included in access request message and comprise this authentication information.
According to a further aspect in the invention, provide a kind of communication customer end of mobile terminal, comprising: connection management device, be suitable for sending direct-connected communication invitation message by server to the browser of computing equipment, this message includes the direct-connected mailing address of mobile terminal; Message processing apparatus, is suitable for judging whether to receive the access request message from browser; And web server.Wherein connection management device is also suitable for sending direct-connected communication response message by server to browser when receiving access request message, enters direct-connected communication pattern, starts web server.
Connection management device can also be suitable for being in indirectly connected communication pattern when not receiving access request message.Direct-connected communication invitation message can also comprise authentication information, message processing apparatus can also be suitable for whether comprising this authentication information in authentication-access request message, and connection management device can also be suitable for only just sending direct-connected communication response message by server to browser when comprising this authentication information.Connection management device can also be suitable for source IP addresses and the write cookie of record access request message, to the file access of mobile terminal after verifying browser.Authentication information can comprise the numerical value of stochastic generation.
According to a further aspect in the invention, a kind of browser of computing equipment is provided, comprise: connection management device, be suitable for receiving by server the direct-connected communication invitation message applied from mobile terminal client terminal, this message includes the direct-connected mailing address of mobile terminal; And message processing apparatus, be suitable for extracting direct-connected mailing address.Wherein connection management device is also suitable for sending access request message to this direct-connected mailing address, if receive the direct-connected communication response message from mobile terminal client terminal application by server, then enters direct-connected communication pattern.
If connection management device can also be suitable for not receiving direct-connected communication response message, be then in indirectly connected communication pattern.Can also comprise authentication information in direct-connected communication invitation message, message processing apparatus can also be suitable for comprising this authentication information in access request message.
According to a further aspect in the invention, provide a kind of mobile terminal, comprise communication customer end as above.
According to a further aspect in the invention, provide a kind of computing equipment, comprise browser as above.
Accompanying drawing explanation
In order to realize above-mentioned and relevant object; combine description below and accompanying drawing herein to describe some illustrative aspect; these aspects indicate the various modes can putting into practice principle disclosed herein, and all aspects and equivalent aspect thereof are intended to fall in the scope of theme required for protection.Read detailed description below in conjunction with the drawings, above-mentioned and other object of the present disclosure, Characteristics and advantages will become more obvious.Throughout the disclosure, identical Reference numeral is often referred to for identical parts or element.
Fig. 1 shows the structured flowchart of a mobile terminal 100;
Fig. 2 shows the system 200 of the browser administration mobile terminal document utilizing large-screen computing equipment according to an embodiment of the invention;
Fig. 3 A show the client application of mobile terminal according to an embodiment of the invention and server connect before interface schematic diagram;
Fig. 3 B shows the interface schematic diagram of the browser display Quick Response Code of computing equipment according to an embodiment of the invention;
The interface schematic diagram of the browser of computing equipment after Fig. 3 C shows and utilizes the system 200 of the browser administration mobile terminal document of large-screen computing equipment to connect according to an embodiment of the invention;
Fig. 4 shows the flow chart of the direct-connected communication means 400 that mobile terminal client terminal according to an embodiment of the invention application performs;
The flow chart of the direct-connected communication means 500 that the browser that Fig. 5 shows computing equipment according to an embodiment of the invention performs;
Fig. 6 illustrates the block diagram of mobile terminal client terminal application 600 according to an embodiment of the invention; And
Fig. 7 shows the block diagram of the browser 700 of computing equipment according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 is the structured flowchart of mobile terminal 100.Mobile terminal 100 can comprise memory interface 102, one or more data processor, image processor and/or CPU 104, and peripheral interface 106.
Memory interface 102, one or more processor 104 and/or peripheral interface 106 both can be discrete components, also can be integrated in one or more integrated circuit.In the mobile terminal 100, various element can be coupled by one or more communication bus or holding wire.Transducer, equipment and subsystem can be coupled to peripheral interface 106, to help to realize several functions.
Such as, motion sensor 110, optical sensor 112 and range sensor 114 can be coupled to peripheral interface 106, to facilitate the functions such as orientation, illumination and range finding.Other transducers 116 can be connected with peripheral interface 106 equally, such as navigation system (such as GPS), temperature sensor, biometric sensor or other sensor devices, can help thus to implement relevant function.
Camera sub-system 120 and optical pickocff 122 may be used for the realization of the camera function of convenient such as recording photograph and video clipping, and wherein said camera sub-system and optical pickocff can be such as charge coupled device (CCD) or complementary metal oxide semiconductors (CMOS) (CMOS) optical pickocff.Can help realize communication function by one or more radio communication subsystem 124, wherein radio communication subsystem can comprise radio-frequency transmitter and transmitter and/or light (such as infrared) Receiver And Transmitter.The particular design of radio communication subsystem 124 and execution mode can depend on one or more communication networks that mobile terminal 100 is supported.Such as, mobile terminal 100 can comprise be designed to support GSM network, GPRS network, EDGE network, Wi-Fi or WiMax network and Bluebooth
tMthe communication subsystem 124 of network.
Audio subsystem 126 can be coupled with loud speaker 128 and microphone 130, such as, to help the function of implementing to enable voice, speech recognition, speech reproduction, digital record and telephony feature.I/O subsystem 140 can comprise touch screen controller 142 and/or other input control devices 144 one or more.Touch screen controller 142 can be coupled to touch-screen 146.For example, what this touch-screen 146 and touch screen controller 142 can use any one in multiple touch-sensing technology to detect to carry out with it contact and movement or time-out, and wherein detection technology is including, but not limited to capacitive character, resistive, infrared and surface acoustic wave technique.Other input control devices 144 one or more can be coupled to other input/control devicess 148, the indication equipment of such as one or more button, rocker switch, thumb wheel, infrared port, USB port and/or stylus and so on.Described one or more button (not shown) can comprise the up/down button for control loudspeaker 128 and/or microphone 130 volume.
Memory interface 102 can be coupled with memory 150.This memory 150 can comprise high-speed random access memory and/or nonvolatile memory, such as one or more disk storage device, one or more optical storage apparatus, and/or flash memories (such as NAND, NOR).Memory 150 can storage operation system 172, the such as operating system of Android, IOS or Windows Phone and so on.This operating system 172 can comprise the instruction of the task of depending on hardware for the treatment of basic system services and execution.Memory 150 can also store application 174.When mobile device runs, meeting load operation system 172 from memory 150, and performed by processor 104.Application 174 operationally, also can load, and be performed by processor 104 from memory 150.Application 174 operates on operating system, the function that the various user of the Interface realization utilizing operating system and bottom hardware to provide expects, as instant messaging, web page browsing, pictures management etc.Application 174 can provide independent of operating system 172, also can be that operating system 172 carries.
In above-mentioned various application 174, a kind of client application being applied as the direct-connected communication of support according to the present invention wherein, can realize mobile terminal and be connected with the direct of computing equipment browser, to meet the straight-forward network transmission of mass data.
Fig. 2 shows the system 200 of the browser administration mobile terminal document utilizing large-screen computing equipment according to an embodiment of the invention.This system 200 comprises mobile terminal 210, server 220 and computing equipment 230.Mobile terminal 210 is provided with the client application 212 supporting mobile terminal document management, and stores various file, as photo, audio frequency, video, document (document as forms such as Word, PDF).Applications client 212 may operate in the such as operating system such as Android, IOS.Server 220 can be such as the remote cloud server being physically located at one or more place.Computing equipment 230 such as can comprise the computing equipment that personal computer (PC), notebook computer, intelligent television etc. have relatively large screen.Computing equipment 230 is provided with browser 232, such as IE, Chrome and Firefox browser.Browser 232 may operate in the operating systems such as such as Windows, Mac.
First browser 232 receives the address that user inputs in browser address bar, such as, be domain name www.weline.cc, and it corresponds to the IP address of server 220.Browser is according to this address access services device 220, and concrete operations comprise such as inquiry DNS and obtain the IP address returned, and set up TCP and connect, send HTTP request request, be not repeated here to server.After receiving the access request from browser 232, server 220 distributes the first session identification (Session ID) and gap marker (Channel ID).Server 220 generates the invitation address (inviteurl) corresponding with gap marker, and calling Quick Response Code Transformation Service by this address transition is two-dimension code pattern, and obtains the URL address (qrcodeurl) of this two-dimension code pattern.In other words, the content that this two-dimension code pattern comprises is inviteurl.Server 220 returns response message (200OK) to browser 232, the URL address qrcodeurl containing two-dimension code pattern in this message and the first session identification.Wherein the format sample of qrcodeurl is as follows:
qrcodeurl:"qrcode?content=http://192.168.0.1/invite?id=12d345d8z834baef839c0",
Long connection is set up between server 220 with browser 232.The URL address qrcodeurl of two-dimension code pattern accessed by browser 232, obtains two-dimension code pattern and shows.Such as, interface schematic diagram when Fig. 3 B shows browser connection server according to an embodiment of the invention.Two-dimension code image is shown to wait for mobile scanning terminal Quick Response Code in this figure.
Interface schematic diagram before the client application 212 that Fig. 3 A shows mobile terminal according to an embodiment of the invention connects with server 220.In this surface chart, the operation of user is pointed out, to set up the connection with server.User can scan by the client application 212 of mobile terminal the two-dimension code pattern that the browser 232 of computing equipment 230 shows, thus obtains the content of two-dimension code pattern, namely invites address inviteurl.Mobile terminal client terminal application 212 access inviteurl, server 220 identifies to its backward channel, returns the second session identification simultaneously.Server can determine the relation of browser and mobile terminal by gap marker, and namely mobile scanning terminal is the Quick Response Code that browser shows.Be similar to the process connected between server and 220 browsers 232, between server 220 with client application 212, also set up long connection.Server 220 stores the first session identification that between server 220 with browser 232, length is connected and the second session identification that between server 220 with client application 212, length is connected, associated by gap marker between these two session identifications, between browser 232 and client application 212, forms a passage by gap marker like this, with session identification distinguish long with server be connected apply 212 or browser 232 to liking mobile terminal client terminal.In other words, establish two respectively and be longly connected between server 220 with browser 232 and between server 220 with client application 212, server regularly sends heartbeat message to browser and client application.These two long connections are by same gap marker association formation passage, and the signaling that client application sends or data are pushed to browser by this passage via server.
After setting up passage, the client application 212 of mobile terminal is by the statistical information of mobile terminal, as the model of mobile terminal, system version, memory space, store contact person, short message, Miscellaneous Documents quantity etc., browser 232 is sent to by passage, specifically, these information such as send to server 220 by post mode by the second session connection by client application 212, server 220 finds the first session connection of association according to gap marker, and by the first session connection, information is sent to browser 232.Browser 232 shows corresponding mobile terminal statistical information.Such as, Fig. 3 C is that after the statistical information of mobile terminal is delivered to browser by server push by client application 212, browser is to the display interface figure of this statistical message.Set up the master catalogue comprising various document classification, such as picture master catalogue, audio frequency master catalogue etc., and if under entering such as picture master catalogue, then can show multiple picture thumbnail.
User can check the information of mobile terminal on the browser of the computing equipment of large-screen, and use the input equipment of computing equipment (as mouse, keyboard) carry out the various operation to file easily, as from acquisition for mobile terminal file, browse, deleted file etc.By setting up the passage via server between mobile terminal and the browser of computing equipment, only existing browser on computing equipment need be utilized can to realize the management to mobile terminal, and do not need mounting software in advance on the computing device, not only save the time of user, also save the work of software developer.And, utilize the scheme of browser administration mobile terminal be especially applicable to the installation limited authority of computing equipment software or lack the situation of available mobile terminal data management software.
After the browser of computing equipment and the client application of mobile terminal are connected by server, when server is received from the message of client application or data by the second session, server searches the first session identification associated with the second session identification according to gap marker, this message or data are sent to the browser of computing equipment by the first session.Be transferred through transit server due to this, be therefore called indirectly connected communication pattern.The invention allows for a kind of data-transmission mode without transit server, i.e. direct-connected communication pattern.Under direct-connected pattern, the transfer of data between the browser of computing equipment and the client application of mobile terminal can be undertaken by direct connection the between them, and does not need transit server, thus improves transmission speed and may save flow and expense.The process of establishing of direct-connected communication pattern will be described below.
First, the passage that the client application 212 of mobile terminal has been set up by server 220, i.e. the first session and the second session, the browser 232 to computing equipment sends the direct-connected communication invitation message comprising the direct-connected mailing address of mobile terminal.The format sample of message is as follows:
Wherein 192.168.1.119 is the direct-connected mailing address of mobile terminal oneself, the implicit IP address of such as WLAN (wireless local area network).The numerical value (id) of a stochastic generation can also be comprised, as authentication information in direct-connected communication notifications message.The direct-connected address that browser comprises in request access message after receiving direct-connected communication invitation message.This access classes is similar to ping operation, namely browser sends packet to this direct-connected mailing address, if the other side receives this packet, onesize packet can be returned, confirm that connection is between the two unimpeded thus, otherwise mean that browser cannot access direct-connected mailing address, under both continue to operate in indirectly connected pattern.When the client application of mobile terminal receives the access request message from browser, determine that mobile terminal and computing equipment can carry out direct-connected.In order to strengthen fail safe, can comprise the numerical value in direct-connected communication notifications message in the access request message of browser, client application 212 can be verified this numerical value.If checking is consistent, the client application 212 of mobile terminal sends direct-connected communication response message by server 220 to browser 232, and format sample is
{
type:"directOK"
}
Client application 212 enters direct-connected pattern, starts web server.Browser, after receiving direct-connected communication response message, also enters direct-connected pattern.Like this, transfer of data is carried out in the mode of server-client between client application and the browser of computing equipment.In addition, after receiving the access request message from browser, client application can record source IP addresses and write cookie, and the request for browser downloads file afterwards will verify IP address and cookie, if do not mated, returns 403 mistakes.Also have, due to the client application not same area of server and mobile terminal, and browser and client application can adopt AJAX (asynchronous JavaScript and XML) mode to send access request, and consider the restriction of same source policy of browser, therefore, the client application of mobile terminal can also realize cross-domain resource and share (CORS), it can add the information (Access-Control-Allow-Origin) allowing the cross-domain access of browser in the response header of direct-connected invitation message, cross-domain access can be carried out when receiving this direct-connected invitation message with convenient browser.
Under direct-connected communication pattern, signaling/message also can be switched to direct interface channel between mobile terminal and computing equipment browser from former passage (namely through the passage of server), thus realizes the localization of message.The format sample of the relevant message of switching channel is as follows:
This directChannel message is sent to the browser of computing equipment by server by mobile terminal, inform the address (url) of direct communication channel.Browser carries out poll (polling) to url address upon receiving the message.Mobile terminal, after the GET request receiving poll, can start direct communication channel, stop toward former passage POST message.Mobile terminal sends switchChannel message to browser, format sample be
"type":"switchChannel"
}
SwitchChannel message informing browser switching channel.After browser receives this message, stop the former passage POST message to server.
Once enter direct-connected pattern, can without high in the clouds directly such as by the local network transport data of enterprises between browser and mobile terminal.Like this, not only save the flow of mobile terminal, and substantially increase the speed of transfer of data, also improve the Consumer's Experience by browser administration mobile terminal data.
Fig. 4 shows the flow chart of the direct-connected communication means 400 that mobile terminal client terminal according to an embodiment of the invention application performs.
In step S410, mobile terminal sends direct-connected communication invitation message by server to the browser of computing equipment, and this message includes the direct-connected mailing address of mobile terminal.In step S420, mobile terminal judges whether to receive the access request message from browser.If receive access request message, then send direct-connected communication response message by server to browser in step S430, enter direct-connected communication pattern.In step S440, start web server so that the file of browser access mobile terminal.If do not receive access request message, be then in indirectly connected communication pattern in step S450.In order to strengthen fail safe, authentication information can be comprised in direct-connected communication invitation message, as the numerical value of stochastic generation.Whether comprise this authentication information in the access request message of mobile terminal checking browser, only have and just perform step S430 when comprising this authentication information.The source IP addresses of all right record access request message of client application and write cookie, to the file access of mobile terminal after verifying browser.
The flow chart of the direct-connected communication means 500 that the browser that Fig. 5 shows computing equipment according to an embodiment of the invention performs.
In step S510, browser receives the direct-connected communication invitation message from mobile terminal by server, and this message includes the direct-connected mailing address of mobile terminal.In step S520, browser sends access request message to this direct-connected mailing address.In step S530, receive the direct-connected communication response message from mobile terminal by server, enter direct-connected communication pattern.If do not receive direct-connected communication response message, be then in indirectly connected communication pattern.In order to strengthen fail safe, authentication information can be comprised in direct-connected communication invitation message, as the numerical value of stochastic generation.Browser comprises this authentication information in access request message.
Fig. 6 illustrates the block diagram of mobile terminal client terminal application 600 according to an embodiment of the invention.
As shown in Figure 6, client application 600 comprises connection management device 610, message processing apparatus 620 and web server 630.Connection management device 610 is suitable for sending direct-connected communication invitation message by server to the browser of computing equipment, and this message includes the direct-connected mailing address of mobile terminal.Message processing apparatus 620 is suitable for judging whether to receive the access request message from browser.If receive access request message, then connection management device 610 sends direct-connected communication response message by server to browser, enters direct-connected communication pattern, starts web server 630.If do not receive access request message, be then in indirectly connected communication pattern.In order to strengthen fail safe, authentication information can be comprised in direct-connected communication invitation message, as the numerical value of stochastic generation.Message processing apparatus 620 is suitable for whether comprising this authentication information in the access request message of checking browser, only has and just sends direct-connected communication response message when comprising this authentication information.Connection management device 610 is also suitable for source IP addresses and the write cookie of record access request message, to the file access of mobile terminal after verifying browser.
Fig. 7 shows the block diagram of the browser 700 of computing equipment according to an embodiment of the invention.
As shown in Figure 7, browser 700 comprises connection management device 710 and message processing apparatus 720.Connection management device 710 is suitable for receiving by server the direct-connected communication invitation message applied from mobile terminal client terminal, and this message includes the direct-connected mailing address of mobile terminal.Message processing apparatus 720 is suitable for extracting direct-connected mailing address.Connection management device 710 is also suitable for sending access request message to this direct-connected mailing address, if receive the direct-connected communication response message from mobile terminal client terminal application by server, then enters direct-connected communication pattern.If do not receive direct-connected communication response message, be then in indirectly connected communication pattern.In order to strengthen fail safe, authentication information can be comprised in direct-connected communication invitation message, as the numerical value of stochastic generation.Message processing apparatus 720 is suitable in access request message, comprise this authentication information.
A1: according to communication customer end of the present invention, wherein direct-connected communication invitation message also comprises authentication information, message processing apparatus is also suitable for whether comprising this authentication information in authentication-access request message, and connection management device is also suitable for only just sending direct-connected communication response message by server to browser when comprising this authentication information.A2: according to communication customer end of the present invention, connection management device is also suitable for source IP addresses and the write cookie of record access request message, to the file access of mobile terminal after verifying browser.A3: according to communication customer end of the present invention, wherein authentication information comprises the numerical value of stochastic generation.
B1: a kind of browser of computing equipment, comprising: connection management device, be suitable for receiving by server the direct-connected communication invitation message applied from mobile terminal client terminal, this message includes the direct-connected mailing address of mobile terminal; And message processing apparatus, be suitable for extracting direct-connected mailing address, wherein connection management device is also suitable for sending access request message to this direct-connected mailing address, if receive the direct-connected communication response message from mobile terminal client terminal application by server, then enters direct-connected communication pattern.B2: the browser as described in B1, if wherein connection management device is also suitable for not receiving direct-connected communication response message, is then in indirectly connected communication pattern.B3: the browser as described in B1, wherein also comprises authentication information in direct-connected communication invitation message, and message processing apparatus is also suitable for comprising this authentication information in access request message.
C1: a kind of mobile terminal, comprises according to communication customer end of the present invention.
D1: a kind of computing equipment, comprises according to browser of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires than the feature more multiple features clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are to be understood that the module of the equipment in example disclosed herein or unit or assembly can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned in one or more equipment different from the equipment in this example.Module in aforementioned exemplary can be combined as a module or can be divided into multiple submodule in addition.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
In addition, some in described embodiment are described as at this can by the processor of computer system or the method implemented by other device performing described function or the combination of method element.Therefore, there is the device of processor formation for implementing the method or method element of the necessary instruction for implementing described method or method element.In addition, the element described herein of device embodiment is the example as lower device: this device is for implementing the function performed by the element of the object in order to implement this invention.
As used in this, unless specifically stated so, use ordinal number " first ", " second ", " the 3rd " etc. to describe plain objects and only represent the different instances relating to similar object, and be not intended to imply the object be described like this must have the time upper, spatially, sequence aspect or in any other manner to definite sequence.
Although the embodiment according to limited quantity describes the present invention, benefit from description above, those skilled in the art understand, in the scope of the present invention described thus, it is contemplated that other embodiment.In addition, it should be noted that the language used in this specification is mainly in order to object that is readable and instruction is selected, instead of select to explain or limiting theme of the present invention.Therefore, when not departing from the scope and spirit of appended claims, many modifications and changes are all apparent for those skilled in the art.For scope of the present invention, be illustrative to disclosing of doing of the present invention, and nonrestrictive, and scope of the present invention is defined by the appended claims.
Claims (10)
1. a direct-connected communication means for mobile terminal execution, wherein this mobile terminal can be connected by the browser of server and computing equipment, and the method comprises:
Send direct-connected communication invitation message by server to the browser of computing equipment, this message includes the direct-connected mailing address of mobile terminal;
Judge whether to receive the access request message from browser;
If receive access request message, then send direct-connected communication response message by server to browser, enter direct-connected communication pattern;
Start web server so that the file of browser access mobile terminal.
2. the method for claim 1, also comprises:
If do not receive access request message, be then in indirectly connected communication pattern.
3. the method for claim 1, wherein direct-connected communication invitation message also comprises authentication information, and described method also comprises:
Whether comprise this authentication information in authentication-access request message, and only just send direct-connected communication response message by server to browser when comprising this authentication information.
4. the method for claim 1, also comprises:
The source IP addresses of record access request message and write cookie, to the file access of mobile terminal after verifying browser.
5. method as claimed in claim 3, wherein authentication information comprises the numerical value of stochastic generation.
6. a direct-connected communication means for the browser execution of computing equipment, wherein the browser of computing equipment can be connected by server and mobile terminal, and the method comprises:
Receive the direct-connected communication invitation message from mobile terminal by server, this message includes the direct-connected mailing address of mobile terminal;
Access request message is sent to this direct-connected mailing address; And
Receive the direct-connected communication response message from mobile terminal by server, enter direct-connected communication pattern.
7. method as claimed in claim 6, also comprises:
If do not receive direct-connected communication response message, be then in indirectly connected communication pattern.
8. method as claimed in claim 6, wherein also comprise authentication information in direct-connected communication invitation message, described method is also included in access request message and comprises this authentication information.
9. a communication customer end for mobile terminal, comprising:
Connection management device, be suitable for sending direct-connected communication invitation message by server to the browser of computing equipment, this message includes the direct-connected mailing address of mobile terminal;
Message processing apparatus, is suitable for judging whether to receive the access request message from browser; With
Web server,
Wherein connection management device is also suitable for sending direct-connected communication response message by server to browser when receiving access request message, enters direct-connected communication pattern, starts web server.
10. communication customer end as claimed in claim 9, wherein connection management device is also suitable for being in indirectly connected communication pattern when not receiving access request message.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410668863.6A CN104394210B (en) | 2014-11-20 | 2014-11-20 | Direct-connected communication means and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410668863.6A CN104394210B (en) | 2014-11-20 | 2014-11-20 | Direct-connected communication means and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104394210A true CN104394210A (en) | 2015-03-04 |
| CN104394210B CN104394210B (en) | 2018-09-14 |
Family
ID=52612045
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410668863.6A Active CN104394210B (en) | 2014-11-20 | 2014-11-20 | Direct-connected communication means and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104394210B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109754309A (en) * | 2018-11-29 | 2019-05-14 | 北京千方科技股份有限公司 | Vehicle about rents method, apparatus, electronic equipment and medium |
| CN113965993A (en) * | 2020-07-21 | 2022-01-21 | 维沃移动通信有限公司 | Direct communication starting control method and related equipment |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101416173A (en) * | 2006-03-31 | 2009-04-22 | STTWebOS股份有限公司 | Method and apparatus for exchanging information in a web-based environment |
| EP2093974A1 (en) * | 2007-09-13 | 2009-08-26 | Research In Motion Limited | System and method for interfacing between a mobile device and a personal computer |
| CN102413436A (en) * | 2011-09-14 | 2012-04-11 | 华为技术有限公司 | Information transmission method and system, and browser on mobile terminal |
| CN103229559A (en) * | 2010-09-27 | 2013-07-31 | 捷讯研究有限公司 | Method, apparatus and system for accessing application across a plurality of computers |
-
2014
- 2014-11-20 CN CN201410668863.6A patent/CN104394210B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101416173A (en) * | 2006-03-31 | 2009-04-22 | STTWebOS股份有限公司 | Method and apparatus for exchanging information in a web-based environment |
| EP2093974A1 (en) * | 2007-09-13 | 2009-08-26 | Research In Motion Limited | System and method for interfacing between a mobile device and a personal computer |
| CN103229559A (en) * | 2010-09-27 | 2013-07-31 | 捷讯研究有限公司 | Method, apparatus and system for accessing application across a plurality of computers |
| CN102413436A (en) * | 2011-09-14 | 2012-04-11 | 华为技术有限公司 | Information transmission method and system, and browser on mobile terminal |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109754309A (en) * | 2018-11-29 | 2019-05-14 | 北京千方科技股份有限公司 | Vehicle about rents method, apparatus, electronic equipment and medium |
| CN113965993A (en) * | 2020-07-21 | 2022-01-21 | 维沃移动通信有限公司 | Direct communication starting control method and related equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104394210B (en) | 2018-09-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104378435A (en) | Method for transmitting file between browser of computing device and mobile terminal | |
| US9794252B2 (en) | Information processing system and device control method | |
| US9210159B2 (en) | Information processing system, information processing device, and authentication method | |
| EP3203709A1 (en) | Cloud service server and method for managing cloud service server | |
| CN104394208A (en) | File transmission method and server | |
| US10021213B2 (en) | Systems and methods for adaptive cloning of mobile devices | |
| CN104376090A (en) | Screen synchronization equipment of browser in computing equipment and mobile terminal | |
| CN111400777B (en) | Network storage system, user authentication method, device and equipment | |
| CN104486371A (en) | Equipment and method for downloading file on batch | |
| CN103067257A (en) | Method and server and system for achieving data mutual communication in social networking service | |
| CN105072080A (en) | Information verification method, device and system | |
| CN106534280B (en) | Data sharing method and device | |
| CN103618710A (en) | Individual processing method and device of file between mobile device and computing device | |
| CN104158889A (en) | Business card information querying method and cloud server | |
| CN104980448B (en) | A remote monitoring method, device and system | |
| CN104462367A (en) | Browser of computing device and thumbnail display method of browser | |
| CN104462366A (en) | Browser of computing device and thumbnail display method of browser | |
| CN105187562A (en) | System and method for operating remote file | |
| CN116304403A (en) | Web page access method, device, computer equipment and storage medium | |
| WO2015035899A1 (en) | Search methods and terminals | |
| CN103812887A (en) | File opening method and system | |
| CN104394210A (en) | Direction connection communication method and device | |
| CN109543398B (en) | Application program account migration method and device and electronic equipment | |
| CN104484338A (en) | File list management equipment and method | |
| CN104462250A (en) | Communication method of browser of computing device and mobile 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 |