CN103618796B - A kind of server access method and device - Google Patents
A kind of server access method and device Download PDFInfo
- Publication number
- CN103618796B CN103618796B CN201310635005.7A CN201310635005A CN103618796B CN 103618796 B CN103618796 B CN 103618796B CN 201310635005 A CN201310635005 A CN 201310635005A CN 103618796 B CN103618796 B CN 103618796B
- Authority
- CN
- China
- Prior art keywords
- client
- access
- server
- http request
- transfer server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000012546 transfer Methods 0.000 claims abstract description 129
- 238000010276 construction Methods 0.000 claims abstract description 15
- 230000005540 biological transmission Effects 0.000 claims description 9
- 108010001267 Protein Subunits Proteins 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 4
- 238000005538 encapsulation Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 description 22
- 230000008859 change Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- WSGCGMGMFSSTNK-UHFFFAOYSA-M 1-methyl-4-phenyl-1-propan-2-ylpiperidin-1-ium;iodide Chemical compound [I-].C1C[N+](C(C)C)(C)CCC1C1=CC=CC=C1 WSGCGMGMFSSTNK-UHFFFAOYSA-M 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Abstract
The present invention is applied to Internet technical field, there is provided a kind of server access method, including:Receive the HTTP request that access client is sent;The HTTP request is sent to the second client by router by transfer server, so that the HTTP request is forwarded to the destination server by second client, the destination server responds the HTTP request and backward reference content, and the transfer server and second client are all in accordance with instant messaging IM protocol constructions;The access content that the destination server returns is received, the access content obtains by second client and transfer server forwarding successively;The access content is sent to the access client.In the present invention, HTTP request passes through the first client, transfer server and the second client transfer, penetrates router and reaches destination server, without being configured to router.
Description
Technical field
The invention belongs to Internet technical field, more particularly to a kind of server access method and device.
Background technology
In existing technology, the structured flowchart of client access target server is as shown in figure 1, destination server 103
After router 102, during 101 access target server 103 of access client, first by HTTP
(Hypertext Transfer Protocol, HTTP)Request is sent to router 102, is then forwarded to mesh by router 102
Server 103 is marked, after being handled via destination server 103 request, list is returned again to or other accesses content.It is this
Accessing the mode of server needs to carry out network address translation setting or port mapping on router 102.However, for
Home network establishes the situation of privately owned Cloud Server, during Cloud Server privately owned by internet access, it is above-mentioned on the router
Operation is all more complicated for domestic consumer, it is necessary to which professional knowledge frequently is completed.
The content of the invention
It is an object of the invention to provide a kind of server access method, it is intended to solves client in the prior art and passes through road
Need to carry out router complicated the problem of setting when accessing server by device.
The present invention is achieved in that a kind of server access method, including:
The HTTP request that access client is sent is received, the HTTP request is used for destination service
Device request accesses content;
The HTTP request is sent to the second client by router by transfer server, so that second visitor
The HTTP request is forwarded to the destination server by family end, and the destination server responds the HTTP request and returns to visit
Content is asked, the transfer server and second client are all in accordance with instant messaging IM protocol constructions;
Receive the access content that the destination server returns, the access content successively by second client and
The transfer server is forwarded and obtained;
The access content is sent to the access client.
Another object of the present invention is to provide a kind of server access method, including:
The HTTP request that access client is sent is received, the HTTP request passes through the first client and transfer service successively
Device forward, and by router and obtain, for destination server ask access content, first client and it is described in
Turn server all in accordance with IM protocol constructions;
The HTTP request is sent to the destination server;
Receive the access content that the destination server returns;
The access content is sent to first client by the transfer server, so that first client
The access content is forwarded to the access client by end.
Another object of the present invention is to provide a kind of server access device, including:
First access request receiving unit, for receiving the HTTP request of access client transmission, the HTTP request is used
In to destination server ask access content;
First access request transmitting element, for by transfer server by the HTTP request by router send to
Second client, so that the HTTP request is forwarded to the destination server, the destination service by second client
Device responds the HTTP request and backward reference content, and the transfer server and second client are all in accordance with instant messaging
IM protocol constructions;
First accesses content receipt unit, the access content returned for receiving the destination server, in the access
Hold and obtained successively by second client and transfer server forwarding;
First accesses content sending unit, for the access content to be sent to the access client.
Another object of the present invention is to provide a kind of server access device, including:
Second access request receiving unit, for receive access client transmission HTTP request, the HTTP request according to
It is secondary to be forwarded by the first client and transfer server, and obtained by router, for asking to access to destination server
Content, first client and the transfer server are all in accordance with IM protocol constructions;
Second access request transmitting element, for the HTTP request to be sent to the destination server;
Second accesses content receipt unit, the access content returned for receiving the destination server;
Second accesses content sending unit, for being sent the access content to described the by the transfer server
One client, so that the access content is forwarded to the access client by first client.
In the present invention, the first client and transfer server, the first client and transfer are disposed in the side of router
Server is connected, and in the second client that the opposite side deployment of router is connected with destination server, the second client passes through road
It is connected by device with transfer server, when access client is to destination server request access content, is sent to the first client
HTTP request, the first client, transfer server and the second client are according to instant messaging(Instant Messaging, IM)
Agreement carries out transfer to HTTP request, it is penetrated router and reaches destination server, without carrying out forwarding setting to router,
Without change access client and destination server.
Brief description of the drawings
Fig. 1 is the structured flowchart for the access client access target server that prior art provides;
Fig. 2 is a kind of visit of server access way access client access target server provided in an embodiment of the present invention
Ask process schematic;
Fig. 3 is the implementation process figure of the first client in a kind of server access method provided in an embodiment of the present invention;
Fig. 4 is access client access target server in a kind of server access method provided in an embodiment of the present invention
Access process schematic diagram;
Fig. 5 is the specific implementation flow chart of step S302 in Fig. 3;
Fig. 6 is the specific implementation flow chart of step S303 in Fig. 3;
Fig. 7 is the implementation process figure of the second client in a kind of server access method provided in an embodiment of the present invention;
Fig. 8 is Fig. 7 steps S701 specific implementation flow chart;
Fig. 9 is Fig. 7 steps S704 specific implementation flow chart;
Figure 10 be in a kind of server access method provided in an embodiment of the present invention access client and destination server it
Between the schematic diagram of request process and response process;
Figure 11 is a kind of structured flowchart of server access device provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In embodiments of the present invention, the first client and transfer server, the first client are disposed in the side of router
It is connected with transfer server, in the second client that the opposite side deployment of router is connected with destination server, the second client
It is connected by router with transfer server, when access client is to destination server request access content, to the first client
HTTP request is sent, the first client, transfer server and the second client carry out transfer to HTTP request according to IM agreements, made
It penetrates router and reaches destination server, without carrying out forwarding setting to router, without change access client and mesh
Mark server.
Fig. 2 shows a kind of server access way access client access target server provided in an embodiment of the present invention
Access process schematic diagram, for convenience of description, part related to the present embodiment is only shown.
As shown in Fig. 2 in the side of router 204, the first client 202 takes with access client 201 and transfer respectively
Being engaged in, device 203 is connected, and in the opposite side of router 204, the second client 205 is connected with destination server 206, second client
End 205 is connected by router 204 with transfer server 203.
IM agreements are a kind of instant messaging agreements, and the client and server based on IM protocol constructions is established in interface channel
Afterwards, between each other being capable of automatic transceiving message immediately.In embodiments of the present invention, IM agreements include but is not limited to:Immediately disappear
Cease and agreement be present(Instant Messaging and Presence Protocol, IMPP), presence and instant messaging agreement
PRIM(Presence and Instant Messaging Protocol, PRIM), SIP instant messages and Extended Protocol be present
(SIP for Instant Messaging and Presence Leveraging Extensions, SIMPLE)With it is expansible
With agreement be present in message(Extensible Messaging and Presence Protocol, XMPP).
First client 202 establishes interface channel to transfer server 203, and the second client 205 is out of router 204
The transfer server 203 of laterally outside establishes interface channel, the first client 202, the client of transfer server 203 and second
205 form a transferring system between access client and destination server, and the transferring system can together with router
Realize that information communicates, HTTP request reaches destination server 206 via the transferring system, and is arrived for the second client 205
The interface channel established from inboard to outside between transfer server 203, router 204 is to the message passed through from the passage
Do not process, therefore, it is not required that router 204 is set accordingly, so as to realize that outside message penetrates router 204
Reach the destination server 206 of inner side.
Fig. 3 shows a kind of implementation process figure of server access method provided in an embodiment of the present invention, and executive agent is
First client, details are as follows:
In step S301, the HTTP request that access client is sent is received, the HTTP request is used for destination service
Device request accesses content.
In embodiments of the present invention, for access client, its own need not make any change, according to existing
Mode send HTTP request, to ask to access content to destination server, e.g., ask the film and requested webpage etc. downloaded.
The HTTP request of access client transmission is received by the first client.
In step s 302, the HTTP request is sent to the second client by router by transfer server,
So that the HTTP request is forwarded to the destination server by second client, described in the destination server response
HTTP request and backward reference content, the transfer server and second client are all in accordance with IM protocol constructions.
In embodiments of the present invention, the communication between the first client, the second client and transfer server follows phase
Same IM agreements, transfer server are managed to the first client under it and the second client.
As one embodiment of the present of invention, before HTTP request is received, the first client is in the transfer server
The first account of middle registration, second account of first account with second client in the transfer server are uniquely right
Should, second account and the reference address of the destination server are uniquely corresponding.
In transfer server, the first client, the second client and destination server establish only one-to-one correspondence.
In follow-up communication, transfer server only forwards when receiving the message of the first client to the second client, equally, receives
To the second client message when only to the first client forward.Transfer server can manage simultaneously multipair client binding and
The forwarding of message.The first client and the second client of pairing are uniquely corresponding with destination server by reference address, access
When client needs access target server, HTTP request is forwarded by corresponding first client and the second client.
First client, the second client and destination server are provided by ISP, and Internet service carries
Above-mentioned transfer service, the access of access client access target server can be provided for business simultaneously for multiple destination servers
For journey schematic diagram as shown in figure 4, in the outside of router 404, virtual target server 402 manages multiple first clients 4021,
Each first client 4021 respectively from the different correspondences of destination server 406.First client 4021 and the second client 405
Unique corresponding relation is established with the reference address of the destination server 406 with destination server 406.
Virtual target server 402 receives and is the step of distributing HTTP request to the first client 4021:Receive and access
The HTTP request that client 401 is sent, wherein including the reference address of destination server 406;Please by HTTP according to reference address
Seek the first client 4021 corresponding to being distributed to.
First client 4021, the second client 405 and destination server 406 are with the reference address of destination server 406
Establish unique corresponding relation.Virtual target server 402 can be found pair according to the reference address included in HTTP request
The first client 4021 answered.Such as, the reference address included in HTTP request is 1.a.com, is advised according to the parsing of http protocol
Then, a.com is the reference address of virtual target server 402, then the reference address of destination server 406 is 1, virtual target clothes
The HTTP request is distributed to first client 4021 corresponding with reference address 1 by business device 402 according to analysis result, is then passed through
It is forwarded to up to the destination server 406 that reference address is 1.
After first client receives HTTP request, as one embodiment of the present of invention, as shown in figure 5, S302 is specially:
In S501, the HTTP request is encapsulated as by the first IM information according to IM agreements.
In S502, the first IM information is sent to the second client by router by the transfer server
End, so that second client decodes to the first IM information, wherein the HTTP request included, and turn
It is sent to the destination server.
HTTP request is encapsulated as the first IM information by the first client according to IM agreements, is then forwarded by transfer server
To corresponding second client.According to the structured flowchart shown in Fig. 2 and Fig. 4, the first IM information reaches route after router
Second client of device opposite side, because the interface channel is the Inside To Outside foundation from router, router is to the first IM
Information does not process.Following second client is decoded to the first IM information and sent to destination server, destination server and returns
The access content asked is returned hospitality, this process is described in detail in subsequent embodiment.
In step S303, the access content that the destination server returns is received, the access content passes through institute successively
State the second client and transfer server forwarding and obtain.
Destination server is objective to the inverse process that the process of access client backward reference content is above-mentioned request process, second
After family end receives access content, it is encapsulated as the 2nd IM message.As one embodiment of the present of invention, as shown in fig. 6, S303
Specially:
In S601, the 2nd IM information is received, the 2nd IM information is that second client receives the target clothes
It is engaged in after the access content that device returns, is encapsulated according to IM agreements and passes through the transfer server forwarding and obtain.
In S602, the 2nd IM information is decoded, wherein the access content included.
First client receives the 2nd IM information, the access content wherein included after decoding it.
In step s 304, the access content is sent to the access client.
It is above-mentioned be for access client it is transparent, its own need not make any change.
Fig. 7 shows a kind of implementation process figure of server access method provided in an embodiment of the present invention, and executive agent is
Second client, details are as follows:
In step s 701, the HTTP request that access client is sent is received, the HTTP request is successively by the first visitor
Family end and transfer server forwarding, and by router and obtain, for destination server ask access content, described first
Client and the transfer server are all in accordance with IM protocol constructions.
Equally, before HTTP request is received, the second client registers the second account in the transfer server, described
First account of second account with first client in the transfer server is uniquely corresponding, second account and institute
The reference address for stating destination server uniquely corresponds to.
As one embodiment of the present of invention, as shown in figure 8, S701 is specially:
In S801, the first IM information is received, the first IM information is that first client receives the access visitor
After the HTTP request that family end is sent, it is encapsulated according to IM agreements and passes through the transfer server forwarding and obtain.
In S802, the first IM information is decoded, wherein the HTTP request included.
In embodiments of the present invention, the second client and destination server are uniquely corresponded to by reference address.Second client
After termination receives the first IM information, it then follows the first IM information is decoded with the first client identical IM agreements, sealed
The HTTP request being installed therein, the HTTP is then sent to destination server.
In step S702, the HTTP request is sent to the destination server.
In step S703, the access content that the destination server returns is received.
Above-mentioned transfer process is transparent for destination server, and its own need not make any change, according to
Existing mode receives the HTTP request, and backward reference content.
In step S704, the access content is sent to first client by the transfer server, with
Make first client that the access content is forwarded into the access client.
As one embodiment of the present of invention, as shown in figure 9, S704 is specially:
In S901, the access content is encapsulated as by the 2nd IM information according to IM agreements.
In S902, the 2nd IM information is sent to first client by the transfer server, so that
First client decodes to the 2nd IM information, wherein the access content included, and it is forwarded to institute
State access client.
The process of backward reference content is sends the inverse process of request process, as described in above-mentioned embodiment, herein no longer
Repeat.
Request process and response process schematic diagram between access client and destination server is as shown in Figure 10, the first visitor
Family end 1002, the client 1004 of transfer server 1003 and second shape between access client 1001 and destination server 1005
Into a transferring system, transfer process therein be for access client 1001 and destination server 1005 it is transparent,
It need not make any change.
In embodiments of the present invention, the first client and transfer server, the first client are disposed in the side of router
It is connected with transfer server, in the second client that the opposite side deployment of router is connected with destination server, the second client
It is connected by router with transfer server, when access client is to destination server request access content, to the first client
HTTP request is sent, the first client, transfer server and the second client carry out transfer to HTTP request according to IM agreements, made
It penetrates router and reaches destination server, without carrying out forwarding setting to router, without change access client and mesh
Mark server.
Figure 11 shows a kind of structured flowchart of server access device provided in an embodiment of the present invention, and the device is used to hold
A kind of server access method described in row embodiment of the present invention Fig. 3 to Figure 10.For convenience of description, illustrate only and this implementation
The related part of example.
Reference picture 11, in the first client, the device includes:
First access request receiving unit 1101, receive access client send HTTP request, HTTP request be used for
Destination server request accesses content.
First access request transmitting element 1102, HTTP request is sent to second by router by transfer server
Client, so that HTTP request is forwarded to destination server by the second client, destination server response HTTP request simultaneously returns
Content is accessed, transfer server and the second client are all in accordance with IM protocol constructions.
First accesses content receipt unit 1103, receives the access content that destination server returns, and accesses content and passes through successively
Cross the second client and transfer server forwarding and obtain.
First accesses content sending unit 1104, will access content and sends to access client.
Alternatively, described device also includes:
First registering unit, registers the first account in transfer server, and the first account takes with the second client in transfer
The second account in business device uniquely corresponds to, and the second account and the reference address of destination server are uniquely corresponding.
Alternatively, the first access request transmitting element 1102 includes:
Access request encapsulates subelement, and HTTP request is encapsulated as into the first IM information according to IM agreements.
First transmission sub-unit, the first IM information is sent to the second client by router by transfer server,
So that the second client decodes to the first IM information, wherein the HTTP request included, and it is forwarded to destination server.
The first access content receipt unit 1103 includes:
First receiving subelement, receives the 2nd IM information, and the 2nd IM information is that the second client reception destination server returns
After the access content returned, it is encapsulated according to IM agreements and passes through transfer server forwarding and obtain.
Content decoding subelement is accessed, the 2nd IM information is decoded, wherein the access content included.
In the second client, the device includes:
Second access request receiving unit 1105, receives the HTTP request that access client is sent, and HTTP request passes through successively
The first client and transfer server forwarding are crossed, and is obtained by router, for asking to access content to destination server,
First client and the transfer server are all in accordance with IM protocol constructions.
Second access request transmitting element 1106, HTTP request is sent to destination server.
Second accesses content receipt unit 1107, receives the access content that destination server returns.
Second accesses content sending unit 1108, is sent by transfer server by content is accessed to the first client, with
The first client is set to be forwarded to access client by content is accessed.
Alternatively, described device also includes:
Second registering unit, registers the second account in transfer server, and the second account takes with the first client in transfer
The first account in business device uniquely corresponds to, and the second account and the reference address of the destination server are uniquely corresponding.
Alternatively, the second access request receiving unit 1105 includes:
Second receiving subelement, receives the first IM information, and the first IM information is that the first client receives access client hair
After the HTTP request sent, it is encapsulated according to IM agreements and passes through transfer server forwarding and obtain.
Access request decoding subunit, the first IM information is decoded, wherein the HTTP request included.
The second access content sending unit 1108 includes:
Content encapsulation subelement is accessed, the 2nd IM information is encapsulated as by content is accessed according to IM agreements.
Second transmission sub-unit, the 2nd IM information is sent to the first client by transfer server, so that the first visitor
Family end decodes to the 2nd IM information, wherein the access content included, and it is forwarded to access client.
In embodiments of the present invention, the first client and transfer server, the first client are disposed in the side of router
It is connected with transfer server, in the second client that the opposite side deployment of router is connected with destination server, the second client
It is connected by router with transfer server, when access client is to destination server request access content, to the first client
HTTP request is sent, the first client, transfer server and the second client carry out transfer to HTTP request according to IM agreements, made
It penetrates router and reaches destination server, without being configured to router, is taken without change access client and target
Business device.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.
Claims (12)
- A kind of 1. server access method, it is characterised in that methods described includes:The HTTP request that access client is sent is received, the HTTP request is used for please to destination server Seek access content;The HTTP request is sent to the second client by router by transfer server, so that second client The HTTP request is forwarded to the destination server, the destination server is responded in the HTTP request and backward reference Hold, the transfer server and second client are all in accordance with instant messaging IM protocol constructions, wherein the first client, described Communication between second client and the transfer server follows identical IM agreements, the client based on IM protocol constructions , between each other being capable of automatic transceiving message immediately with server after interface channel foundation;Receive the access content that the destination server returns, the access content is successively by second client and described Transfer server is forwarded and obtained;The access content is sent to the access client;Wherein, the first client establishes interface channel to transfer server, and the second client is from the Inside To Outside of router Transfer server establishes interface channel, and the first client, transfer server and the second client take in access client and target A transferring system is formd between business device, HTTP request reaches destination server via the transferring system.
- 2. the method as described in claim 1, it is characterised in that in the Hyper text transfer association that the reception access client is sent Before discussing HTTP request, methods described also includes:The first account is registered in the transfer server, first account is with second client in the transfer service The second account in device uniquely corresponds to, and second account and the reference address of the destination server are uniquely corresponding.
- 3. the method as described in claim 1, it is characterised in that it is described by transfer server by the HTTP request through passing by one's way Sent by device to the second client, so that the HTTP request is forwarded to the destination server bag by second client Include:The HTTP request is encapsulated as by the first IM information according to IM agreements;The first IM information is sent to the second client by router by the transfer server, so that described second Client decodes to the first IM information, wherein the HTTP request included, and it is forwarded to the target clothes Business device;The access content for receiving the destination server and returning, the access content successively by second client and Transfer server forwarding and including:The 2nd IM information is received, the 2nd IM information is that second client receives the access that the destination server returns After content, it is encapsulated according to IM agreements and passes through the transfer server forwarding and obtain;The 2nd IM information is decoded, wherein the access content included.
- A kind of 4. server access method, it is characterised in that methods described includes:The HTTP request that access client is sent is received, the HTTP request turns by the first client and transfer server successively Hair, and obtained by router, for asking to access content, first client and transfer clothes to destination server Device be engaged in all in accordance with IM protocol constructions;The HTTP request is sent to the destination server;Receive the access content that the destination server returns;The access content is sent to first client by the transfer server, so that first client will The access content is forwarded to the access client;Wherein, the first client establishes interface channel to transfer server, and the second client is from the Inside To Outside of router Transfer server establishes interface channel, and the first client, transfer server and the second client take in access client and target A transferring system is formd between business device, HTTP request reaches destination server via the transferring system.
- 5. method as claimed in claim 4, it is characterised in that the HTTP request for receiving access client and sending, it is described HTTP request forwards by the first client and transfer server successively, and is obtained by router, for destination service Before device request accesses content, methods described also includes:The second account is registered in the transfer server, second account is with first client in the transfer service The first account in device uniquely corresponds to, and second account and the reference address of the destination server are uniquely corresponding.
- 6. method as claimed in claim 4, it is characterised in that the HTTP request for receiving access client and sending, it is described HTTP request includes by the first client and transfer server forwarding successively:The first IM information is received, the first IM information is that first client receives the HTTP that the access client is sent After request, it is encapsulated according to IM agreements and passes through the transfer server forwarding and obtain;The first IM information is decoded, wherein the HTTP request included;It is described to be sent the access content to first client by the transfer server, so that first client The access content is forwarded to the access client by end to be included:The access content is encapsulated as by the 2nd IM information according to IM agreements;The 2nd IM information is sent to first client by the transfer server, so that first client The 2nd IM information is decoded, wherein the access content included, and it is forwarded to the access client.
- 7. a kind of server side subtraction unit, it is characterised in that described device includes:First access request receiving unit, for receive access client transmission HTTP request, the HTTP request be used for Destination server request accesses content;First access request transmitting element, for being sent the HTTP request to second by router by transfer server Client, so that the HTTP request is forwarded to the destination server by second client, the destination server rings Answer the HTTP request and backward reference content, the transfer server and second client are assisted all in accordance with instant messaging IM View structure, wherein the communication between the first client, second client and the transfer server follows identical IM Agreement, the client and server based on IM protocol constructions can be received automatically immediately between each other after interface channel foundation Send out message;First accesses content receipt unit, the access content returned for receiving the destination server, the access content according to It is secondary to be obtained by second client and transfer server forwarding;First accesses content sending unit, for the access content to be sent to the access client;Wherein, the first client establishes interface channel to transfer server, and the second client is from the Inside To Outside of router Transfer server establishes interface channel, and the first client, transfer server and the second client take in access client and target A transferring system is formd between business device, HTTP request reaches destination server via the transferring system.
- 8. device as claimed in claim 7, it is characterised in that described device also includes:First registering unit, for registering the first account, first account and the described second visitor in the transfer server Second account of the family end in the transfer server uniquely corresponds to, second account and the access of the destination server Location uniquely corresponds to.
- 9. device as claimed in claim 7, it is characterised in that the first access request transmitting element includes:Access request encapsulates subelement, for the HTTP request to be encapsulated as into the first IM information according to IM agreements;First transmission sub-unit, for being sent the first IM information to second by router by the transfer server Client, so that second client decodes to the first IM information, wherein the HTTP request included, And it is forwarded to the destination server;The first access content receipt unit includes:First receiving subelement, for receiving the 2nd IM information, the 2nd IM information is described in second client receives After the access content that destination server returns, it is encapsulated according to IM agreements and passes through the transfer server forwarding and obtain;Content decoding subelement is accessed, for being decoded to the 2nd IM information, wherein in the access included Hold.
- 10. a kind of server access device, it is characterised in that described device includes:Second access request receiving unit, for receiving the HTTP request of access client transmission, the HTTP request passes through successively The first client and transfer server forwarding are crossed, and is obtained by router, for asking to access content to destination server, First client and the transfer server are all in accordance with IM protocol constructions;Second access request transmitting element, for the HTTP request to be sent to the destination server;Second accesses content receipt unit, the access content returned for receiving the destination server;Second accesses content sending unit, for being sent the access content to the described first visitor by the transfer server Family end, so that the access content is forwarded to the access client by first client;Wherein, the first client establishes interface channel to transfer server, and the second client is from the Inside To Outside of router Transfer server establishes interface channel, and the first client, transfer server and the second client take in access client and target A transferring system is formd between business device, HTTP request reaches destination server via the transferring system.
- 11. device as claimed in claim 10, it is characterised in that described device also includes:Second registering unit, for registering the second account, second account and the described first visitor in the transfer server First account of the family end in the transfer server uniquely corresponds to, second account and the access of the destination server Location uniquely corresponds to.
- 12. device as claimed in claim 10, it is characterised in that the second access request receiving unit includes:Second receiving subelement, for receiving the first IM information, the first IM information is described in first client receives After the HTTP request that access client is sent, it is encapsulated according to IM agreements and passes through the transfer server forwarding and obtain;Access request decoding subunit, for being decoded to the first IM information, wherein the HTTP included please Ask;The second access content sending unit includes:Content encapsulation subelement is accessed, for the access content to be encapsulated as into the 2nd IM information according to IM agreements;Second transmission sub-unit, for being sent the 2nd IM information to first client by the transfer server End, so that first client decodes to the 2nd IM information, wherein the access content included, and turn It is sent to the access client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310635005.7A CN103618796B (en) | 2013-12-02 | 2013-12-02 | A kind of server access method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310635005.7A CN103618796B (en) | 2013-12-02 | 2013-12-02 | A kind of server access method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103618796A CN103618796A (en) | 2014-03-05 |
CN103618796B true CN103618796B (en) | 2018-03-06 |
Family
ID=50169500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310635005.7A Expired - Fee Related CN103618796B (en) | 2013-12-02 | 2013-12-02 | A kind of server access method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103618796B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105262795B (en) * | 2015-09-18 | 2019-07-30 | 惠州德赛信息科技有限公司 | A kind of on-line education system of private clound and public cloud combination |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101808118A (en) * | 2010-03-02 | 2010-08-18 | 浪潮(北京)电子信息产业有限公司 | Access method, device and system of server |
CN101951412A (en) * | 2010-10-15 | 2011-01-19 | 上海交通大学 | Multi-sub-stream media transmission system based on HTTP protocol and transmission method thereof |
CN102571999A (en) * | 2010-12-31 | 2012-07-11 | 中兴通讯股份有限公司 | Method and system for data transmission and access gateway |
CN102646049A (en) * | 2011-02-16 | 2012-08-22 | 阿里巴巴集团控股有限公司 | Component coordination method and system |
-
2013
- 2013-12-02 CN CN201310635005.7A patent/CN103618796B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101808118A (en) * | 2010-03-02 | 2010-08-18 | 浪潮(北京)电子信息产业有限公司 | Access method, device and system of server |
CN101951412A (en) * | 2010-10-15 | 2011-01-19 | 上海交通大学 | Multi-sub-stream media transmission system based on HTTP protocol and transmission method thereof |
CN102571999A (en) * | 2010-12-31 | 2012-07-11 | 中兴通讯股份有限公司 | Method and system for data transmission and access gateway |
CN102646049A (en) * | 2011-02-16 | 2012-08-22 | 阿里巴巴集团控股有限公司 | Component coordination method and system |
Also Published As
Publication number | Publication date |
---|---|
CN103618796A (en) | 2014-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3178205B1 (en) | Data transfer in a system of connected things | |
JP6629392B2 (en) | Device trigger | |
JP6054484B2 (en) | System and method using a client local proxy server to access a device having an assigned network address | |
KR101877188B1 (en) | Service layer interworking using mqtt protocol | |
US20200059976A1 (en) | IoT DEVICE CONNECTIVITY, DISCOVERY, AND NETWORKING | |
KR101579892B1 (en) | System and method using a web proxy-server to access a device having an assigned network address | |
TW201737667A (en) | Method and device for network load balancing, control, and network interaction | |
CN106605421B (en) | Method and apparatus for anonymous access and control of service nodes | |
EP3025525A1 (en) | End-to-end m2m service layer sessions | |
CN106604119B (en) | Network penetration method and system for private cloud equipment of smart television | |
EP3047636B1 (en) | Enabling mobile applications to acquire a mac address for obtaining location information | |
US20170054631A1 (en) | Remote Access to a Residential Multipath Entity | |
WO2018000312A1 (en) | Group communication method, device, and system | |
KR102204736B1 (en) | Message retargeting in machine-to-machine service layer communications | |
CN103618796B (en) | A kind of server access method and device | |
US9888001B2 (en) | Methods, systems, and computer readable media for negotiating diameter capabilities | |
US9609674B2 (en) | Machine-to-machine domain proxy | |
EP2789143A1 (en) | Method, server and user equipment for accessing an http server | |
US20160330169A1 (en) | Base station for ip communications with mobile terminal, and method for acquiring ip of base station | |
KR20130068205A (en) | Method for communicating between nodes by using address translation device and thereof apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180306 |
|
CF01 | Termination of patent right due to non-payment of annual fee |