CN105357238A - Point-to-point data transmission method and device - Google Patents

Point-to-point data transmission method and device Download PDF

Info

Publication number
CN105357238A
CN105357238A CN201410410289.4A CN201410410289A CN105357238A CN 105357238 A CN105357238 A CN 105357238A CN 201410410289 A CN201410410289 A CN 201410410289A CN 105357238 A CN105357238 A CN 105357238A
Authority
CN
China
Prior art keywords
user terminal
browser
locality
webpage
positional information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410410289.4A
Other languages
Chinese (zh)
Other versions
CN105357238B (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.)
Alibaba China Network Technology Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201410410289.4A priority Critical patent/CN105357238B/en
Publication of CN105357238A publication Critical patent/CN105357238A/en
Application granted granted Critical
Publication of CN105357238B publication Critical patent/CN105357238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a computer system, particularly relates to a point-to-point data transmission method and device in the computer system, and the point-to-point data transmission method and device are used for reducing the operation complexity of point-to-point data transmission. The method includes that: a first user terminal acquires a web page from a specified server, then issues local connection associated information to a second user terminal based on the web page, and the first user terminal and the second user terminal can establish P2P connection through browsers used by the two user terminals, in such a way that the point-to-point data transmission between the first user terminal and the second user terminal can be completed. In this way, the point-to-point data transmission among user terminals cannot be limited by application scenarios, and the point-to-point data transmission method and device are suitable for various situations, so that the operation complexity is reduced, and the data transmission is more convenient and faster; and meanwhile, terminal side data cannot need to be uploaded to a central server during a transmission process, and decentralization can be achieved thoroughly, so that the risk of data loss can be effectively reduced, and the data security can be improved.

Description

A kind of method of Point-to-Point Data Transmission and device
Technical field
The present invention relates to computer system, particularly the method for Point-to-Point Data Transmission and device in a kind of computer system.
Background technology
Along with the development of science and technology, the demand of people at work or for real-time data transmission in life is more and more higher, and relevant solution also emerges in multitude thereupon.Such as, the Point-to-Point Data Transmission between mobile terminal and computer, Point-to-Point Data Transmission between mobile terminal and mobile terminal etc.
But all kinds of solutions under prior art but have weak point.
Such as, first kind solution is: adopt cloud dish to be that user storage data is downloaded in real time for user.
Adopt first kind solution can store great mass of data beyond the clouds, facilitate user to download at any time; But need user to register cloud to check accounts family, after logon account, user just downloads required information by link.Obviously, which increase the complexity that data is downloaded, a lot of user does not wish because disposable data downloads demand and registers new account, and material upload to high in the clouds too increases the risk that data leaks.
Again such as, Equations of The Second Kind solution is: be user's real-time Transmission data by Software tool.Adopt Equations of The Second Kind solution to register new account without the need to user, only existing Software tool need be used can to obtain required information in real time.But when data transmission, user still needs the software using same type on different user terminals, could real-time files transmission.As, two users log in the instant communication software of same type respectively on respective mobile phone, and Account History is each other in the address list of the other side, and so, after login, these two users could transmit data among each other.
As can be seen here, the limited and complex steps of the application scenarios of existing solution, need to use specific account or specific software to realize transfer of data, operation complexity is high, can not meet the demand of most of user.
Summary of the invention
The embodiment of the present invention provides method and the device of Point-to-Point Data Transmission in a kind of computer system, in order to reduce the operation complexity of Point-to-Point Data Transmission.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
A method for Point-to-Point Data Transmission, comprising:
First user terminal is connected to the central server of specifying by the first browser according to user instruction;
The Webpage that first user terminal receiving center server returns, and issue based on the connection related information of described Webpage by this locality;
When first user terminal receives the connection establishment request that the second user terminal sends based on described connection related information, connect between the second browser that the first browser and second user terminal of this locality use use, and carry out transfer of data based on described being connected between this locality and the second user terminal.
First user terminal is issued based on the connection related information of described Webpage by this locality, comprising:
First user terminal obtains local positional information, connect for this and generate corresponding identification information, and be connected based on the positional information of this locality the identification information generated with for this, call described Webpage and generate corresponding Quick Response Code, and by described Webpage, described Quick Response Code is issued;
Or,
First user terminal obtains local positional information, connect for this and generate corresponding identification information, and call described Webpage and generate a random number, and by described Webpage, described random number is issued, and the identification information positional information of this locality being connected generation with for this pushes to central server, wherein, described random number is used for being connected in the positional information of central server acquisition first user terminal the identification information generated with for this.
First user terminal obtains local positional information, comprising:
If first user terminal and the second user terminal are in same local area network (LAN), then first user terminal obtains local lan address as positional information;
If first user terminal and the second user terminal be not in same local area network (LAN), then first user terminal obtains local public network address as positional information.
Connect between the first browser that first user terminal uses in this locality and the second browser that the second user terminal uses, comprising:
Between the first browser that first user terminal uses in this locality and the second browser that the second user terminal uses, set up P2P computing P2P based on Javascript agreement and connect.
A method for Point-to-Point Data Transmission, it comprises:
Second user terminal receives the connection related information of the first user terminal that first user terminal is issued based on Webpage, and described Webpage obtains after first user terminal is connected to the central server of specifying;
Second user terminal sends connection establishment request based on described connection related information to first user terminal, and connect between the first browser of using of the second browser used in this locality according to the response of first user terminal and the first family terminal, and carry out transfer of data based on described being connected between this locality and first user terminal.
Second user terminal receives the connection related information of the first user terminal that first user terminal is issued based on Webpage, comprising:
Second user terminal receives the Quick Response Code that first user terminal is issued based on described Webpage, described Quick Response Code be the positional information of first user terminal based on first user terminal be connected with for this generate corresponding identification information, call described Webpage generate;
Or,
Second user terminal receives the random number that first user terminal is issued based on described Webpage, and the positional information adopting described random number to obtain from described central server the first user terminal that first user terminal is uploaded is connected the identification information generated with for this.
Connect between the second browser that second user terminal uses in this locality and the first browser that the first family terminal uses, comprising:
Between the first browser that second user terminal uses in this locality and the second browser that the second user terminal uses, set up P2P computing P2P based on Javascript agreement and connect.
A device for Point-to-Point Data Transmission, comprising:
Communication unit, for being connected to the central server of specifying by the first browser according to user instruction;
Release unit, for the Webpage that receiving center server returns, and issues based on the connection related information of described Webpage by this locality;
Transmission unit, for when receiving the connection establishment request that the second user terminal sends based on described connection related information, connect between the second browser that the first browser and second user terminal of this locality use use, and carry out transfer of data based on described being connected between this locality and the second user terminal.
When the connection related information of this locality being issued based on described Webpage, described release unit specifically for:
Obtain local positional information, connect for this and generate corresponding identification information, and be connected based on the positional information of this locality the identification information generated with for this, call described Webpage and generate corresponding Quick Response Code, and by described Webpage, described Quick Response Code is issued;
Or,
Obtain local positional information, connect for this and generate corresponding identification information, and call described Webpage and generate a random number, and by described Webpage, described random number is issued, and the identification information positional information of this locality being connected generation with for this pushes to central server, wherein, described random number is used for being connected in the positional information of central server acquisition first user terminal the identification information generated with for this.
When obtaining local positional information, described release unit specifically for:
If first user terminal and the second user terminal are in same local area network (LAN), then first user terminal obtains local lan address as positional information;
If first user terminal and the second user terminal be not in same local area network (LAN), then first user terminal obtains local public network address as positional information.
This locality use the first browser and the second user terminal use the second browser between connect, described transmission unit specifically for:
Between the second browser that the first browser and second user terminal of this locality use use, set up P2P computing P2P based on Javascript agreement and connect.
A device for Point-to-Point Data Transmission, comprising:
Communication unit, for receiving the connection related information of the first user terminal that first user terminal is issued based on Webpage, described Webpage obtains after first user terminal is connected to the central server of specifying;
Transmission unit, for sending connection establishment request based on described connection related information to first user terminal, and connect between the first browser of using of the second browser used in this locality according to the response of first user terminal and the first family terminal, and carry out transfer of data based on described being connected between this locality and first user terminal.
Receiving the connection related information of the first user terminal that first user terminal is issued based on Webpage, described communication unit specifically for:
Receive the Quick Response Code that first user terminal is issued based on described Webpage, described Quick Response Code is that the positional information of first user terminal based on first user terminal is connected with for this and generates corresponding identification information, calls the generation of described Webpage;
Or,
Receive the random number that first user terminal is issued based on described Webpage, and the positional information adopting described random number to obtain from described central server the first user terminal that first user terminal is uploaded is connected the identification information generated with for this.
When connecting between the first browser that the second browser used in this locality and the first family terminal use, described transmission unit specifically for:
Between the first browser that second user terminal uses in this locality and the second browser that the second user terminal uses, set up P2P computing P2P based on Javascript agreement and connect.
In the embodiment of the present invention, after first user terminal obtains Webpage from the server of specifying, issue to the second user terminal based on the connection related information of this Webpage by this locality, first user terminal and the second user terminal just can make land used browser set up P2P by two places to be connected, thus complete the Point-to-Point Data Transmission between first user terminal and the second user terminal.Like this, user terminal need not be installed specific software or register specific account, only local browser need be used to realize point-to-point transmission, and the type of browser is not limited, obviously, this can make the point-to-point transmission between user terminal no longer be limited to application scenarios, is applicable to various situation, thus reduce operation complexity, also more convenient and swift; Meanwhile, in transmitting procedure, the data of end side need not be uploaded to central server, achieves decentralization more up hill and dale, thus the risk that the data that effectively reduces leaks, improve Information Security.
Accompanying drawing explanation
Figure 1A is system architecture schematic diagram in the embodiment of the present invention;
Figure 1B is Point-to-Point Data Transmission first pass figure in the embodiment of the present invention;
Fig. 2 is Point-to-Point Data Transmission second flow chart in the embodiment of the present invention;
Fig. 3 is first user termination function structure chart in the embodiment of the present invention;
Fig. 4 is the second user terminal functional structure chart in the embodiment of the present invention.
Embodiment
In order to reduce the operation complexity of Point-to-Point Data Transmission, in the embodiment of the present invention, between two user terminals, set up session connection by the Web browser on user terminal, thus realize the Point-to-Point Data Transmission between user terminal.
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is described in detail.
In the embodiment of the present application, the system architecture of first user terminal, the second user terminal and central server as shown in Figure 1A, based on this system architecture, consult shown in Figure 1B, in the embodiment of the present invention, when carrying out Point-to-Point Data Transmission between the ues, it is as follows that first user terminal performs flow process:
Step 100: first user terminal is connected to the central server of specifying by the first browser according to user instruction.
In the embodiment of the present invention, first user terminal receives user instruction, carry the chained address of the central server of specifying in this user instruction, first user terminal, based on this chained address, is connected to above-mentioned central server of specifying by first browser of this locality.
Step 110: the Webpage that first user terminal receiving center server returns, and issue based on the connection related information of this Webpage by this locality.
In the embodiment of the present invention, can be provided with certain specific feature card in the Webpage that central server returns, user terminal can be issued based on the connection related information of this feature card by this locality.
Concrete, can adopt but be not limited to following two kinds of modes:
First kind of way is: first user terminal obtains local positional information, connect for this and generate corresponding identification information, and being connected based on the positional information of this locality the identification information generated with for this, the Webpage calling reception generates corresponding Quick Response Code.And issued by the Quick Response Code of this Webpage by generation.
The positional information of first user terminal can have multiple, as, if first user terminal and the second user terminal (e.g., are all connected to the Internet by same wireless router) in same local area network (LAN), then the positional information that first user terminal uses is the lan address of self; If first user terminal and the second user terminal be not in same local area network (LAN), (e.g., being connected to the Internet by GPRS, 3G or 4G), then the positional information of first user terminal is the public network address of self.
On the other hand, first user terminal, after receiving above-mentioned Webpage, can generate an identification information, and this identification information is used for unique identification, and this connects.
Then, first user terminal can pass through Webpage (e.g., the function button of " generation Quick Response Code " printed words in the webpage clicking page), and the identification information that the positional information based on this locality is connected with this generates a Quick Response Code.
Now, second user terminal can be scanned the Quick Response Code that first user terminal screen is issued by camera, thus the identification information that the positional information obtaining first user terminal is connected with this, and send connection establishment request based on the positional information obtained and identification information to first user terminal.
First kind of way is applicable to the user terminal that can scan Quick Response Code.When adopting first kind of way, any data of end side all do not transfer to network side, and user terminal only needs to obtain specific Webpage can realize point-to-point transmission, and Information Security obtains effective guarantee.
The second way is: first user terminal obtains local positional information, connect for this and generate corresponding identification information, and the Webpage calling reception generates a random number, and by this Webpage, random number is issued, and the identification information positional information of this locality being connected generation with for this pushes to central server, wherein, this random number is used for being connected in the positional information of central server acquisition first user terminal the identification information generated with for this.
In like manner, the positional information of first user terminal can have multiple, e.g., if first user terminal and the second user terminal in same local area network (LAN) (as, all be connected to the Internet by same wireless router), then the positional information that first user terminal uses is the lan address of self; If first user terminal and the second user terminal be not in same local area network (LAN), (e.g., being connected to the Internet by GPRS, 3G or 4G), then the positional information of first user terminal is the public network address of self.
On the other hand, first user terminal, after receiving above-mentioned Webpage, can generate an identification information, and this identification information is used for unique identification, and this connects.
Then, first user terminal can by Webpage and (as, " set up and newly connect " function button of printed words in the webpage clicking page) generate a random number, and this random number issued by Webpage, and the identification information that the positional information of this locality is connected with this is pushed to central server.
Now, second user terminal can be connected to this central server, the random number that input first user terminal is issued by screen, the identification information that the positional information of first user terminal is connected with this just can be sent to the second user terminal by central server, and the second user terminal just can send connection establishment request based on the positional information obtained and identification information to first user terminal.
The second way is applicable to the user terminal that cannot scan Quick Response Code more.Although the identification information that local position information is connected with this is sent to central server by first user terminal, but central server only it can be used as a pair key value to preserve, and delete voluntarily after being supplied to the second user terminal or delete voluntarily when the second user terminal does not obtain in data validity interval, therefore, also can not cause the leakage of user data, fail safe can also obtain effective guarantee.
Step 120: first user terminal receives the connection establishment request that the second user terminal sends based on the connection related information obtained, connect between the second browser that the first browser used in this locality and the second user terminal use, and adopt this to be connected between this locality and the second user terminal to carry out transfer of data.
When first user terminal receives the connection establishment request of the second user terminal transmission, the connection related information of the second user terminal can be obtained by this connection establishment request, like this, connect between the second browser that first browser that just can use in this locality and the second user terminal use, thus complete Point-to-Point Data Transmission.Concrete, first user terminal and the second user terminal can be set up P2P computing (PeertoPeer, P2P) based on Javascript agreement and connect between the first browser and the second browser, thus complete point-to-point transmission.
Adopt such scheme, when realizing the Point-to-Point Data Transmission between user terminal, avoid material upload to cloud space, thus the risk that the data that effectively reduces leaks, and user is without the need to installing specific software on the subscriber terminal, and also without the need to registering particular account, only need to use embedded browser on user terminal namely can realize the point-to-point transmission between user terminal, this greatly reduces realization and operation complexity, also more convenient and swift.
After transfer of data, user's the first browser that each self closing this locality uses in first user terminal and the second user terminal and the second browser both can terminate current point-to-point transmission flow process, without the need to performing operation bidirectional, even if user forgets closedown browser, after Webpage exceedes the term of validity, point-to-point transmission flow process terminates automatically, continues transmission data, then need to re-establish new connection if want.
Under prior art, Bluetooth technology also can realize point-to-point transmission, but some equipment acquiescence is not with blue-tooth device, e.g., and desktop computer and part notebook computer, the therefore technology that provides not as good as the embodiment of the present invention of the range of application of Bluetooth technology.On the other hand, typical bluetooth transmission speed is at 1-3Mb/s, and the technology using the embodiment of the present invention to provide, if two user terminals are in same local area network (LAN), transmission rate can reach local area network (LAN) extreme value in theory, usually can reach 72Mb/s ~ 150Mb/s, exceedes bluetooth more than 50 times.Further, Bluetooth transmission distance is very short, within 10M, and the technology adopting the embodiment of the present invention to provide, for WLAN (wireless local area network), transmission range equals the range of signal of wireless network, a usual router when there is no directional antenna range of signal at about 100M.Further, bluetooth does not send outer net request, so the bluetooth applications that cannot upgrade in time.And the technology adopting the embodiment of the present invention to provide, the Webpage that can center server be used at any time up-to-date, thus make user terminal can use up-to-date function.
Consult shown in Fig. 2, in the embodiment of the present invention, when carrying out Point-to-Point Data Transmission between the ues, it is as follows that the second user terminal performs flow process:
Step 200: the second user terminal receives the connection related information of the first user terminal that first user terminal is issued based on Webpage, and this Webpage obtains after first user terminal is connected to the central server of specifying.
The concrete obtain manner of Webpage, see step 100, does not repeat them here.
When performing step 200, the second user terminal can adopt but be not limited to following two kinds of modes:
First kind of way is: the second user terminal receives the Quick Response Code that first user terminal is issued based on above-mentioned Webpage, this Quick Response Code be the positional information of first user terminal based on first user terminal be connected with for this generate corresponding identification information, call above-mentioned Webpage generate;
The second way is: the second user terminal receives the random number that first user terminal is issued based on above-mentioned Webpage, and the positional information adopting this random number to obtain from central server the first user terminal that first user terminal is uploaded is connected the identification information generated with for this.
Step 210: the second user terminal sends connection establishment request based on the connection related information obtained to first user terminal, and connect between the first browser of using of the second browser used in this locality according to the response of first user terminal and the first family terminal, and be connected between this locality and first user terminal carry out transfer of data based on this.
Concrete, between the first browser that the second user terminal uses in this locality and the second browser that the second user terminal uses, set up P2P connection based on Javascript agreement.
Based on above-described embodiment, consult shown in Fig. 3, in the embodiment of the present invention, first user terminal comprises communication unit 30, release unit 31 and transmission unit 32, wherein,
Communication unit 30, for being connected to the central server of specifying by the first browser according to user instruction;
Release unit 31, for the Webpage that receiving center server returns, and issues based on the connection related information of this Webpage by this locality;
Transmission unit 32, for when receiving the connection establishment request that the second user terminal sends based on above-mentioned connection related information, connect between the second browser that the first browser used in this locality and the second user terminal use, and be connected between this locality and the second user terminal carry out transfer of data based on this.
Release unit 31 specifically for:
Obtain local positional information, connect for this and generate corresponding identification information, and be connected based on the positional information of this locality the identification information generated with for this, call above-mentioned Webpage and generate corresponding Quick Response Code, and by this Webpage, Quick Response Code is issued;
Or,
Obtain local positional information, connect for this and generate corresponding identification information, and call above-mentioned Webpage and generate a random number, and by this Webpage, this random number is issued, and the identification information positional information of this locality being connected generation with this pushes to central server, wherein, this random number be used in the genuinely convinced device positional information that obtains first user terminal to be connected the identification information of generation with for this.
Release unit 31 specifically for:
If first user terminal and the second user terminal are in same local area network (LAN), then first user terminal obtains local lan address as positional information;
If first user terminal and the second user terminal be not in same local area network (LAN), then first user terminal obtains local public network address as positional information.
Transmission unit 32 specifically for:
Between the second browser that the first browser and second user terminal of this locality use use, set up P2P based on Javascript agreement and connect.
Consult shown in Fig. 4, in the embodiment of the present invention, the second user terminal comprises communication unit 40 and transmission unit 41, wherein,
Communication unit 40, for receiving the connection related information of the first user terminal that first user terminal is issued based on Webpage, this Webpage obtains after first user terminal is connected to the central server of specifying;
Transmission unit 41, for sending connection establishment request based on the connection related information obtained to first user terminal, and connect between the first browser of using of the second browser used in this locality according to the response of first user terminal and the first family terminal, and be connected between this locality and first user terminal carry out transfer of data based on this.
Communication unit 40 specifically for:
Receive the Quick Response Code that first user terminal is issued based on above-mentioned Webpage, Quick Response Code is that the positional information of first user terminal based on first user terminal is connected with for this and generates corresponding identification information, calls the generation of this Webpage;
Or,
Receive the random number that first user terminal is issued based on above-mentioned Webpage, and the positional information adopting random number to obtain from central server the first user terminal that first user terminal is uploaded is connected the identification information generated with for this.
Transmission unit 41 specifically for:
Between the first browser that second user terminal uses in this locality and the second browser that the second user terminal uses, set up P2P computing P2P based on Javascript agreement and connect.
In sum, in the embodiment of the present invention, after first user terminal obtains Webpage from the server of specifying, issue to the second user terminal based on the connection related information of this Webpage by this locality, first user terminal and the second user terminal just can make land used browser set up P2P by two places to be connected, thus complete the Point-to-Point Data Transmission between first user terminal and the second user terminal.Like this, user terminal need not be installed specific software or register specific account, only local browser need be used to realize point-to-point transmission, and the type of browser is not limited, obviously, this can make the point-to-point transmission between user terminal no longer be limited to application scenarios, is applicable to various situation, thus reduce operation complexity, also more convenient and swift; Meanwhile, in transmitting procedure, the data of end side need not be uploaded to central server, achieves decentralization more up hill and dale, thus the risk that the data that effectively reduces leaks, improve Information Security.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present invention and not depart from the spirit and scope of the embodiment of the present invention.Like this, if these amendments of the embodiment of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (14)

1. a method for Point-to-Point Data Transmission, is characterized in that, comprising:
First user terminal is connected to the central server of specifying by the first browser according to user instruction;
The Webpage that first user terminal receiving center server returns, and issue based on the connection related information of described Webpage by this locality;
When first user terminal receives the connection establishment request that the second user terminal sends based on described connection related information, connect between the second browser that the first browser and second user terminal of this locality use use, and carry out transfer of data based on described being connected between this locality and the second user terminal.
2. the method for claim 1, is characterized in that, first user terminal is issued based on the connection related information of described Webpage by this locality, comprising:
First user terminal obtains local positional information, connect for this and generate corresponding identification information, and be connected based on the positional information of this locality the identification information generated with for this, call described Webpage and generate corresponding Quick Response Code, and by described Webpage, described Quick Response Code is issued;
Or,
First user terminal obtains local positional information, connect for this and generate corresponding identification information, and call described Webpage and generate a random number, and by described Webpage, described random number is issued, and the identification information positional information of this locality being connected generation with for this pushes to central server, wherein, described random number is used for being connected in the positional information of central server acquisition first user terminal the identification information generated with for this.
3. method as claimed in claim 2, is characterized in that, first user terminal obtains local positional information, comprising:
If first user terminal and the second user terminal are in same local area network (LAN), then first user terminal obtains local lan address as positional information;
If first user terminal and the second user terminal be not in same local area network (LAN), then first user terminal obtains local public network address as positional information.
4. the method as described in claim 1,2 or 3, is characterized in that, connects, comprising between the first browser that first user terminal uses in this locality and the second browser that the second user terminal uses:
Between the first browser that first user terminal uses in this locality and the second browser that the second user terminal uses, set up P2P computing P2P based on Javascript agreement and connect.
5. a method for Point-to-Point Data Transmission, is characterized in that, comprising:
Second user terminal receives the connection related information of the first user terminal that first user terminal is issued based on Webpage, and described Webpage obtains after first user terminal is connected to the central server of specifying;
Second user terminal sends connection establishment request based on described connection related information to first user terminal, and connect between the first browser of using of the second browser used in this locality according to the response of first user terminal and the first family terminal, and carry out transfer of data based on described being connected between this locality and first user terminal.
6. method as claimed in claim 5, is characterized in that, the second user terminal receives the connection related information of the first user terminal that first user terminal is issued based on Webpage, comprising:
Second user terminal receives the Quick Response Code that first user terminal is issued based on described Webpage, described Quick Response Code be the positional information of first user terminal based on first user terminal be connected with for this generate corresponding identification information, call described Webpage generate;
Or,
Second user terminal receives the random number that first user terminal is issued based on described Webpage, and the positional information adopting described random number to obtain from described central server the first user terminal that first user terminal is uploaded is connected the identification information generated with for this.
7. the method as described in claim 5 or 6, is characterized in that, connects, comprising between the second browser that the second user terminal uses in this locality and the first browser that the first family terminal uses:
Between the first browser that second user terminal uses in this locality and the second browser that the second user terminal uses, set up P2P computing P2P based on Javascript agreement and connect.
8. a device for Point-to-Point Data Transmission, is characterized in that, comprising:
Communication unit, for being connected to the central server of specifying by the first browser according to user instruction;
Release unit, for the Webpage that receiving center server returns, and issues based on the connection related information of described Webpage by this locality;
Transmission unit, for when receiving the connection establishment request that the second user terminal sends based on described connection related information, connect between the second browser that the first browser and second user terminal of this locality use use, and carry out transfer of data based on described being connected between this locality and the second user terminal.
9. device as claimed in claim 8, is characterized in that, when the connection related information of this locality being issued based on described Webpage, described release unit specifically for:
Obtain local positional information, connect for this and generate corresponding identification information, and be connected based on the positional information of this locality the identification information generated with for this, call described Webpage and generate corresponding Quick Response Code, and by described Webpage, described Quick Response Code is issued;
Or,
Obtain local positional information, connect for this and generate corresponding identification information, and call described Webpage and generate a random number, and by described Webpage, described random number is issued, and the identification information positional information of this locality being connected generation with for this pushes to central server, wherein, described random number is used for being connected in the positional information of central server acquisition first user terminal the identification information generated with for this.
10. device as claimed in claim 9, is characterized in that, when obtaining local positional information, described release unit specifically for:
If first user terminal and the second user terminal are in same local area network (LAN), then first user terminal obtains local lan address as positional information;
If first user terminal and the second user terminal be not in same local area network (LAN), then first user terminal obtains local public network address as positional information.
11. devices as described in claim 8,9 or 10, is characterized in that, connect between the second browser that the first browser used in this locality and the second user terminal use, described transmission unit specifically for:
Between the second browser that the first browser and second user terminal of this locality use use, set up P2P computing P2P based on Javascript agreement and connect.
The device of 12. 1 kinds of Point-to-Point Data Transmission, is characterized in that, comprising:
Communication unit, for receiving the connection related information of the first user terminal that first user terminal is issued based on Webpage, described Webpage obtains after first user terminal is connected to the central server of specifying;
Transmission unit, for sending connection establishment request based on described connection related information to first user terminal, and connect between the first browser of using of the second browser used in this locality according to the response of first user terminal and the first family terminal, and carry out transfer of data based on described being connected between this locality and first user terminal.
13. devices as claimed in claim 12, is characterized in that, are receiving the connection related information of the first user terminal that first user terminal is issued based on Webpage, described communication unit specifically for:
Receive the Quick Response Code that first user terminal is issued based on described Webpage, described Quick Response Code is that the positional information of first user terminal based on first user terminal is connected with for this and generates corresponding identification information, calls the generation of described Webpage;
Or,
Receive the random number that first user terminal is issued based on described Webpage, and the positional information adopting described random number to obtain from described central server the first user terminal that first user terminal is uploaded is connected the identification information generated with for this.
14. devices as described in claim 12 or 13, is characterized in that, when connecting between the first browser that the second browser used in this locality and the first family terminal use, described transmission unit specifically for:
Between the first browser that second user terminal uses in this locality and the second browser that the second user terminal uses, set up P2P computing P2P based on Javascript agreement and connect.
CN201410410289.4A 2014-08-19 2014-08-19 A kind of method and device of Point-to-Point Data Transmission Active CN105357238B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410410289.4A CN105357238B (en) 2014-08-19 2014-08-19 A kind of method and device of Point-to-Point Data Transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410410289.4A CN105357238B (en) 2014-08-19 2014-08-19 A kind of method and device of Point-to-Point Data Transmission

Publications (2)

Publication Number Publication Date
CN105357238A true CN105357238A (en) 2016-02-24
CN105357238B CN105357238B (en) 2019-02-05

Family

ID=55333099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410410289.4A Active CN105357238B (en) 2014-08-19 2014-08-19 A kind of method and device of Point-to-Point Data Transmission

Country Status (1)

Country Link
CN (1) CN105357238B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635181A (en) * 2016-03-08 2016-06-01 浙江工业大学 Method for decentralized data transmission
CN108234620A (en) * 2017-12-28 2018-06-29 北京奇虎科技有限公司 Cross-platform data transmission method, apparatus and system
CN117544632A (en) * 2024-01-10 2024-02-09 城云科技(中国)有限公司 Method, system and application for direct interaction of browser pages in multiple terminals

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102651746A (en) * 2012-05-18 2012-08-29 珠海德百祺科技有限公司 Point-to-point information transmission method, system and device
CN102891889A (en) * 2012-09-26 2013-01-23 腾讯科技(深圳)有限公司 Information sharing method and device
CN103023930A (en) * 2011-09-20 2013-04-03 中兴通讯股份有限公司 Webpage sharing method and device
CN103944864A (en) * 2013-01-22 2014-07-23 腾讯科技(深圳)有限公司 Information transmission method, information sending device, receiving device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023930A (en) * 2011-09-20 2013-04-03 中兴通讯股份有限公司 Webpage sharing method and device
CN102651746A (en) * 2012-05-18 2012-08-29 珠海德百祺科技有限公司 Point-to-point information transmission method, system and device
CN102891889A (en) * 2012-09-26 2013-01-23 腾讯科技(深圳)有限公司 Information sharing method and device
CN103944864A (en) * 2013-01-22 2014-07-23 腾讯科技(深圳)有限公司 Information transmission method, information sending device, receiving device and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635181A (en) * 2016-03-08 2016-06-01 浙江工业大学 Method for decentralized data transmission
CN105635181B (en) * 2016-03-08 2018-10-23 浙江工业大学 A kind of data transmission method of decentralization
CN108234620A (en) * 2017-12-28 2018-06-29 北京奇虎科技有限公司 Cross-platform data transmission method, apparatus and system
CN117544632A (en) * 2024-01-10 2024-02-09 城云科技(中国)有限公司 Method, system and application for direct interaction of browser pages in multiple terminals
CN117544632B (en) * 2024-01-10 2024-03-29 城云科技(中国)有限公司 Method, system and application for direct interaction of browser pages in multiple terminals

Also Published As

Publication number Publication date
CN105357238B (en) 2019-02-05

Similar Documents

Publication Publication Date Title
US10848946B2 (en) Network access method, device, and system
CN104702665B (en) Information sharing method and information sharing apparatus
CN102201846B (en) Wireless data transmission system and method based on soft AP (access point) technology
CN101807945B (en) Wireless data transmission system and data transmission method utilizing same
CN103428898A (en) Transmission method, transmission terminal and transmission system of application software
CN105516960B (en) Non-perception authentication method and system, and management method and system based on method and system
KR20170139582A (en) Internet access authentication methods and clients, and computer storage media
EP2858332A1 (en) Method and device for establishing a connection
CN104243517A (en) Content sharing method and device used between different terminals
CN114124452B (en) Terminal authentication method, related equipment and authentication system
CN103902339A (en) Application installation method, terminal and server
CN104243429B (en) A kind of method, apparatus and system for realizing that browser bookmark is synchronous
CN105389175A (en) Application program sharing method and mobile terminal
CN104462033A (en) Method and device for realizing editing operation among devices
CN105530630B (en) A kind of OTA upgrade method and equipment
JP2009509210A (en) How to start an application
CN105357238A (en) Point-to-point data transmission method and device
CN108370500B (en) Optimized settings for wireless devices
US8989166B1 (en) Method and system for detection and correction of a WiFi login failure
US20160088076A1 (en) Method, device and system for obtaining mobile network data resources
CN103780478A (en) Information sharing method and mobile terminal
US20230137283A1 (en) Systems and methods to optimize registration and session establishment in a wireless network
CN103634348A (en) Terminal device and method for releasing information
US8406786B2 (en) Methods and apparatus for extended generic messaging in a networked geolocation system
CN102088696B (en) Method and system for downloading large file from target server by 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
TR01 Transfer of patent right

Effective date of registration: 20211111

Address after: No. 699, Wangshang Road, Binjiang District, Hangzhou, Zhejiang

Patentee after: Alibaba (China) Network Technology Co., Ltd

Address before: P.O. Box 847, 4th floor, capital building, Grand Cayman, British Cayman Islands

Patentee before: Alibaba Group Holdings Limited

TR01 Transfer of patent right