CN108366103A - Long-range connection method, device, computer equipment and storage medium - Google Patents
Long-range connection method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN108366103A CN108366103A CN201810083258.0A CN201810083258A CN108366103A CN 108366103 A CN108366103 A CN 108366103A CN 201810083258 A CN201810083258 A CN 201810083258A CN 108366103 A CN108366103 A CN 108366103A
- Authority
- CN
- China
- Prior art keywords
- server
- domain name
- cloud desktop
- client
- connect
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0442—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
This application involves a kind of long-range connection method, system, computer equipment and storage mediums.Long-range connection method includes:Connection request is sent to server-side, whether triggering server-side detection service end cloud desktop address can connect, and receive the Connecting quantity of server-side return;When server-side cloud desktop address can not connect, server-side host domain name is intercepted from Connecting quantity, and can the host that detect place analysis service end main frame domain name;If can parse, the aster Resolution server-side host domain name at place is utilized, and the link order of the end main frame domain name containing service is called remotely to be connect with server-side cloud desktop.It can be broken down in server-side cloud desktop address using this method, when can not connect, so that client is passed through other server-side parameters and remotely connect with server-side.
Description
Technical field
This application involves fields of communication technology, more particularly to a kind of long-range connection method, device, computer equipment and deposit
Storage media.
Background technology
It is an important module in many cloud management platforms to be managed to the cloud desktop on backstage, in Windows systems
In, it needs to create the long-range connection with terminal server or other remote computers when being managed cloud desktop.
Traditional long-range connection type is by MSTSC (the Microsoft terminal services in system
Client, Remote desk process), the cloud desktop at client remote login service end is managed cloud desktop.In Telnet
The RDP (Remote Desktop Protocol, Remote Desktop Protocol) used during cloud desktop is needed by cloud desktop
IP (Internet Protoco, internet agreement) address.However when the IP address of cloud desktop breaks down, client can not be with
Cloud desktop is attached.
Invention content
Based on this, it is necessary to which in view of the above technical problems, providing one kind can not have to access cloud table by IP address yet
Long-range connection method, device, computer equipment and the storage medium in face.
A kind of long-range connection method, the method includes:
Connection request is sent to server-side, triggers whether server-side detection service end cloud desktop address can connect, and
Receive the Connecting quantity that server-side returns;
When the server-side cloud desktop address can not connect, server-side host domain name is intercepted from the Connecting quantity,
And can the host where detecting parse the server-side host domain name;
If can parse, server-side host domain name described in the aster Resolution using place, and according to the server-side master
Machine domain name establishes the long-range connection with server-side cloud desktop.
In one embodiment, in the long-range connection method, connection request is sent to server-side, triggers the service
Hold detection service end cloud desktop address whether reachable, and the step of receiving the Connecting quantity of server-side return, including:
Key pair is generated, connection request is sent to server-side, the public key of the cipher key pair is carried in the connection request,
The connection request is encrypted Connecting quantity by the public key to obtain ciphertext for triggering server-side;
The ciphertext that server-side is sent is received, the ciphertext is parsed by private key and obtains the Connecting quantity.
In one embodiment, the long-range connection method further includes:
If the host at place cannot parse the server-side host domain name, in reflecting for locally addition client host file
It penetrates, is remotely connect with server-side cloud desktop according to link order of the invoking upon mapping containing the server-side host domain name.
In one embodiment, the long-range connection method further includes:
When the server-side cloud desktop address can connect, added in local system according to the server-side cloud desktop address
Add and logs in authority;
According to it is described log in authority call link order containing the server-side cloud desktop address and server-side cloud desktop into
The long-range connection of row.
A kind of long-range connection method, the long-range connection method include:
The connection request that client is sent is received, whether detection cloud desktop address can connect, and returns and connect to client
Parameter;
When the cloud desktop address can connect, triggering client intercepts server-side host domain name and is examined from Connecting quantity
Can client host be looked into parse the server-side host domain name;
If server-side host domain name described in the main functional analysis where client, the client call is triggered containing described
The link order of server-side host domain name is attached with server-side cloud desktop.
A kind of remote connecting device, the remote connecting device include:
Request module triggers server-side detection service end cloud desktop address for sending connection request to server-side
Whether can connect, and receive the Connecting quantity of server-side return;
Interception module, for when the server-side cloud desktop address can not connect, clothes to be intercepted from the Connecting quantity
Business end main frame domain name, and can the host that detect place parse the server-side host domain name;
Link block, if for that can parse, server-side host domain name described in the aster Resolution using place, and according to
The server-side host domain name establishes the long-range connection with server-side cloud desktop.
A kind of remote connecting device, described device include:
Whether receiving module, the connection request for receiving client transmission, detection cloud desktop address can connect, and to visitor
Family end returns to Connecting quantity;
First trigger module, for when the cloud desktop address can connect, triggering client to be intercepted from Connecting quantity
Server-side host domain name simultaneously checks that can client host parse the server-side host domain name;
If second trigger module triggers institute for server-side host domain name described in the main functional analysis where client
Link order of the client call containing the server-side host domain name is stated to be attached with server-side cloud desktop.
A kind of long-range connection system, the long-range connection system include:
Server-side and client;
The client is for executing following steps:
Connection request is sent to server-side, triggers whether server-side detection service end cloud desktop address can connect, and
Receive the Connecting quantity that server-side returns;
When the server-side cloud desktop address can not connect, server-side host domain name is intercepted from the Connecting quantity,
And can the host where detecting parse the server-side host domain name;
If can parse, server-side host domain name described in the aster Resolution using place, and according to the server-side master
Machine domain name establishes the long-range connection with server-side cloud desktop;
The server-side is for executing following steps:
The connection request that client is sent is received, whether detection cloud desktop address can connect, and returns and connect to client
Parameter;
When the cloud desktop address can connect, triggering client intercepts server-side host domain name and is examined from Connecting quantity
Can client host be looked into parse the server-side host domain name;
If server-side host domain name described in the main functional analysis where client, the client call is triggered containing described
The link order of server-side host domain name is attached with server-side cloud desktop.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor
Computer program, the processor realize following steps when executing the computer program:
Connection request is sent to server-side, triggers whether server-side detection service end cloud desktop address can connect, and
Receive the Connecting quantity that server-side returns;
When the server-side cloud desktop address can not connect, server-side host domain name is intercepted from the Connecting quantity,
And can the host where detecting parse the server-side host domain name;
If can parse, server-side host domain name described in the aster Resolution using place, and according to the server-side master
Machine domain name establishes the long-range connection with server-side cloud desktop;
Or the processor realizes following steps when executing the computer program:
The connection request that client is sent is received, whether detection cloud desktop address can connect, and returns and connect to client
Parameter;
When the cloud desktop address can connect, triggering client intercepts server-side host domain name and is examined from Connecting quantity
Can client host be looked into parse the server-side host domain name;
If server-side host domain name described in the main functional analysis where client, the client call is triggered containing described
The link order of server-side host domain name is attached with server-side cloud desktop.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
Following steps are realized when row:
Connection request is sent to server-side, triggers whether server-side detection service end cloud desktop address can connect, and
Receive the Connecting quantity that server-side returns;
When the server-side cloud desktop address can not connect, server-side host domain name is intercepted from the Connecting quantity,
And can the host where detecting parse the server-side host domain name;
If can parse, server-side host domain name described in the aster Resolution using place, and according to the server-side master
Machine domain name establishes the long-range connection with server-side cloud desktop;
Or the computer program realizes following steps when being executed by processor:
The connection request that client is sent is received, whether detection cloud desktop address can connect, and returns and connect to client
Parameter;
When the cloud desktop address can connect, triggering client intercepts server-side host domain name and is examined from Connecting quantity
Can client host be looked into parse the server-side host domain name;
If server-side host domain name described in the main functional analysis where client, the client call is triggered containing described
The link order of server-side host domain name is attached with server-side cloud desktop.
Above-mentioned long-range connection method, device, computer equipment and storage medium are receiving client by server-side
Whether detection service end cloud desktop address can connect when connection request, and return to Connecting quantity to client, when server-side cloud table
When face address can not connect, server-side host domain name is intercepted from the Connecting quantity, when client can be with analysis service end master
When machine domain name, calls the link order containing the server-side host domain name remotely to be connect with server-side cloud desktop, servicing
It holds cloud desktop address to break down, when can not connect, so that client is passed through other server-side parameters and remotely connected with server-side
It connects.
Description of the drawings
Fig. 1 is the applied environment figure of one embodiment medium-long range connection method;
Fig. 2 is the flow diagram of one embodiment medium-long range connection method;
Fig. 3 is the flow diagram to Connecting quantity encrypting step in one embodiment;
Fig. 4 is the flow diagram of another embodiment medium-long range connection method;
Fig. 5 is the flow diagram of another embodiment medium-long range connection method;
Fig. 6 is the flow diagram of further embodiment medium-long range connection method;
Fig. 7 is the flow diagram of still further embodiment medium-long range connection method;
Fig. 8 is the structure diagram of one embodiment medium-long range attachment device;
Fig. 9 is the structure diagram of another embodiment medium-long range attachment device;
Figure 10 is the sequence diagram that one embodiment medium-long range connects system;
Figure 11 is the internal structure chart of one embodiment Computer equipment.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
The technical solution that the embodiment of the present invention is provided, the browser that can be used in various equipment are quick by client
Access website scenario in, application hardware environment can as shown in FIG. 1, FIG. 1 is the application system structures of one embodiment to show
Be intended to, please refer to Fig.1 shown in, technical scheme of the present invention is applied in the telecommunication of client 101 and server-side 102, visitor
Family end 101 may include the equipment such as PC, smart mobile phone, tablet computer, personal digital assistant, and however, it is not limited to this.
Client 101 can access public network, such as Internet by modes such as wired or wireless ways, with server-side 102
It is communicated.Browser, various communication tools and web page access tool etc. can be run in server-side 102, user utilizes browser
Etc. can pass through internet access server-side 102.Server in server-side 102 can with independent server or
It is the server cluster of multiple servers composition to realize.
In one embodiment, as shown in Fig. 2, providing a kind of long-range connection method, it is applied in Fig. 1 in this way
It illustrates, includes the following steps for client:
S201 sends connection request to server-side, and whether triggering server-side detection service end cloud desktop address can connect, and
Receive the Connecting quantity that server-side returns.
Wherein, Connecting quantity is the return value that server-side is returned to when server receives connection request.Cloud desktop address
It can be the IP address of cloud desktop.Server-side, can be with the cloud at detection service end when receiving the connection request of client transmission
Desktop whether reachable (can connect) may include the IP address of cloud desktop in return value if cloud desktop is reachable, if cloud desktop
Location is unreachable, then can not include the IP address of cloud desktop in return value, client is by judging in return value whether to include table
The IP address in face would know that whether the cloud desktop address of server is reachable.Can also include client and server-side in return value
Between establish the connection type of communication.When cloud desktop address up to when, VMconnect (virtual can be corresponded in connection type
Machine connect, virtual connection manager);When cloud desktop address is unreachable, MSTSC can be corresponded in connection type
(Microsoft terminal services client, Remote desk process).
S202 can intercept server-side host domain name when server-side cloud desktop address can not connect from Connecting quantity,
And can the host where detecting analysis service end main frame domain name.
May include server-side host domain name in above-mentioned steps, in Connecting quantity, when there is no cloud desktop IP in return value,
Client detect client host can analysis service end main frame domain name, and carry out next operation according to testing result.
S203 utilizes the aster Resolution server-side host domain name at place if can parse, and calls the end main frame containing service
The link order of domain name is remotely connect with server-side cloud desktop.
In above-mentioned steps, if client host energy analysis service end main frame domain name, VMconnect companies can be directly invoked
Instruction is connect to be attached, in addition, the backstage of server-side can also directly intercept the relevant parameter of other servers, such as:Service
The domain name and IP of the username and password, server that device logs in, the uuid etc. of cloud desktop, return to client, and client can be with
By the necessary configuration of modification system and starts VMconnect and be attached.Wherein, link order can be " VMconnect master
Machine domain name cloud desktop uuid/user:Host username/password:Host password ".
In above-mentioned long-range connection method, by server-side in the connection request for receiving client detection service end cloud table
Whether face address can connect, and return to Connecting quantity to client.When cloud desktop address can connect, in the Connecting quantity of return
It may include cloud desktop IP address, can not include cloud desktop IP when cloud desktop address can not connect, in the Connecting quantity of return
Address.Whether client is by judging in Connecting quantity to include cloud desktop IP address it may determine that whether cloud desktop address may be used
It reaches.When server-side cloud desktop address can not connect, server-side host domain name is intercepted from Connecting quantity, when client can solve
When analysing server-side host domain name, the link order of the end main frame domain name containing service is called remotely to be connect with server-side cloud desktop,
It breaks down in server-side cloud desktop address, when can not connect, so that client is passed through other server-side parameters and carried out with server-side
Long-range connection.
It in one embodiment, can be by following steps to server and client as shown in figure 3, for step S201
The Connecting quantity of end transmission is encrypted:
S301 generates key pair, sends connection request to server-side, the public key of cipher key pair is carried in connection request, even
Request is connect Connecting quantity is encrypted to obtain ciphertext for triggering server-side by public key;
In above-mentioned steps, key is a kind of parameter, it is to be converted to ciphertext in plain text or converting ciphertext into the calculation of plaintext
The parameter inputted in method.Simultaneously using that could complete encryption and decryption overall process, key generates the public key and private key of cipher key pair
When can generate public key and private key of a pair of secret keys respectively as oneself at random by user.
S302 receives the ciphertext that server-side is sent, and parsing ciphertext by private key obtains Connecting quantity.Wherein, pass through private key
The Connecting quantity that parsing ciphertext obtains can be plaintext parameter.
Above-described embodiment, by using the key pair that client generates, to the Connecting quantity of server and client side's transmission
It is encrypted, improves the safety of information transmission.
In one embodiment, as shown in figure 4, long-range connection method includes the following steps:
S401 sends connection request to server-side, and whether triggering server-side detection service end cloud desktop address can connect, and
Receive the Connecting quantity that server-side returns;
S402 intercepts server-side host domain name, and examine when server-side cloud desktop address can not be connected from Connecting quantity
Can the host where surveying analysis service end main frame domain name;
S4031 utilizes the aster Resolution server-side host domain name at place, and call master containing server-side if can parse
The link order of machine domain name is remotely connect with server-side cloud desktop;
S4032:If cannot parse, then in the mapping of locally addition client host file, according to invoking upon mapping containing service
The link order of end main frame domain name is remotely connect with server-side cloud desktop.
In above-described embodiment, when executing step S4032, server-side host domain name can be intercepted, service can also be intercepted
End main frame IP.Can be " IP server-side masters in the command format of locally addition client host file when executing step S4032
Machine domain name ".The type of link order can call VMconnect connections.
Above-described embodiment, by server-side, in the connection request for receiving client, detection service end cloud desktop address is
It is no to connect, and return to Connecting quantity to client and intercepted from Connecting quantity when server-side cloud desktop address can not be connected
Server-side host domain name calls the connection of the end main frame domain name containing service to refer to when client can be with analysis service end main frame domain name
Order is remotely connect with server-side cloud desktop, is broken down in server-side cloud desktop address, when can not connect, keeps client logical
Other server-side parameters are crossed remotely to be connect with server-side.
In one embodiment, as shown in figure 5, long-range connection method includes the following steps:
S501 generates key pair, sends connection request to server-side, the public key of cipher key pair is carried in connection request, even
Request is connect Connecting quantity is encrypted to obtain ciphertext for triggering server-side by public key;
S502 receives the ciphertext that server-side is sent, and parsing ciphertext by private key obtains Connecting quantity;
S503 intercepts server-side host domain name, and examine when server-side cloud desktop address can not be connected from Connecting quantity
Can the host where surveying analysis service end main frame domain name;
S5041 utilizes the aster Resolution server-side host domain name at place, and call master containing server-side if can parse
The link order of machine domain name is remotely connect with server-side cloud desktop;
S5042, in the mapping of locally addition client host file, according to the company of invoking upon mapping end main frame domain name containing service
Instruction is connect remotely to be connect with server-side cloud desktop.
In above-described embodiment, when executing step S502, server-side host domain name can be intercepted, server-side can also be intercepted
Host ip.Can be that " IP services end main frame in the command format of locally addition client host file when executing step S5042
Domain name ".The type of link order can call VMconnect connections.
Above-described embodiment, by server-side, in the connection request for receiving client, detection service end cloud desktop address is
It is no to connect, and return to Connecting quantity to client and intercepted from Connecting quantity when server-side cloud desktop address can not be connected
Server-side host domain name calls the connection of the end main frame domain name containing service to refer to when client can be with analysis service end main frame domain name
Order is remotely connect with server-side cloud desktop, is broken down in server-side cloud desktop address, when can not connect, keeps client logical
Other server-side parameters are crossed remotely to be connect with server-side.
As shown in fig. 6, in one embodiment, long-range connection method includes the following steps:
S601 generates key pair, sends connection request to server-side, the public key of cipher key pair is carried in connection request, even
Request is connect Connecting quantity is encrypted to obtain ciphertext for triggering server-side by public key;
S602 receives the ciphertext that server-side is sent, and parsing ciphertext by private key obtains Connecting quantity;
When server-side cloud desktop address can not connect, step can be executed:S603, S6041 and S6042:
S603 intercepts server-side host domain name and is examined from Connecting quantity when server-side cloud desktop address can not be connected
Can the host where surveying analysis service end main frame domain name;
S6041 utilizes the aster Resolution server-side host domain name at place, and call master containing server-side if can parse
The link order of machine domain name is remotely connect with server-side cloud desktop;
S6042, if cannot parse, then in the mapping of locally addition client host file, according to invoking upon mapping containing service
The link order of end main frame domain name is remotely connect with server-side cloud desktop
When server-side cloud desktop address can connect, S605 and S606 can be executed:
S605 is added according to server-side cloud desktop address in local system when server-side cloud desktop address can be connected
Log in authority;
S606 calls the link order of the desktop address of cloud containing server-side to be carried out far with server-side cloud desktop according to authority is logged in
Journey connects.
For step S605, when server-side cloud desktop address can connect, connection type that client is communicated with server-side
Can be MSTSC, client can use IP, the username and password of cloud desktop, client to add one into the system of oneself
Bar windows domain logon authority, it can be " cmdkey/generic to log in authority:ip/user:name/pass:password”.
For step S606, the link order of server-side cloud desktop address can be by calling MSTSC to be attached, having
The call instruction of body can be " mstsc/v:ip”.
Above-described embodiment under the scene whether reachable by judging cloud desktop IP, is managed the connection switching of cloud desktop
Preferred approach, different according to the respective realization methods of MSTSC and VMconnect, adaptation module is handled using different methods
Connecting quantity ensures the correctness called, in addition, client and server-side communication use encrypted mode, enhances system itself
Safety.
In one embodiment, it is illustrated by taking the server-side that long-range connection method is applied in Fig. 1 as an example, such as Fig. 7 institutes
Show, remote method includes:
S701 receives the connection request that client is sent, and whether detection cloud desktop address can connect, and be returned to client
Connecting quantity;
S702, when cloud desktop address can connect, triggering client intercepts server-side host domain name simultaneously from Connecting quantity
Check that can client host analysis service end main frame domain name;
S703 triggers client call and contains server-side if the host energy analysis service end main frame domain name where client
The link order of host domain name is attached with server-side cloud desktop.
The step of being executed after the connection request for receiving client embodiments described above illustrate server-side, when cloud desktop
When address can connect, corresponding connection type can be VMconnect.
Above-mentioned long-range connection method, by server-side in the connection request for receiving client detection service end cloud desktop
Whether address can connect, and return to Connecting quantity to client, when server-side cloud desktop address can not connect, from Connecting quantity
Middle interception server-side host domain name calls the end main frame domain name containing service when client can be with analysis service end main frame domain name
Link order is remotely connect with server-side cloud desktop, is broken down in server-side cloud desktop address, when can not connect, is made visitor
Family end is remotely connect by other server-side parameters with server-side.
It should be understood that although each step in the flow chart of Fig. 2-7 is shown successively according to the instruction of arrow,
These steps are not that the inevitable sequence indicated according to arrow executes successively.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-7
Part steps may include that either these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can either the sub-step of other steps or at least part in stage be in turn or alternately with other steps
It executes.
In one embodiment, as shown in figure 8, providing a kind of remote connecting device, including:Request module, interception mould
Block and link block, wherein:
Request module 81, for sending connection request to server-side, triggering server-side detection service end cloud desktop address is
It is no to connect, and receive the Connecting quantity of server-side return;
Interception module 82, for when server-side cloud desktop address can not connect, server-side master to be intercepted from Connecting quantity
Machine domain name, and can the host that detect place analysis service end main frame domain name;
If link block 83 utilizes the aster Resolution server-side host domain name at place, and call and contain for that can parse
The link order of server-side host domain name is remotely connect with server-side cloud desktop.
In one embodiment, the request module 81 in remote connecting device may include:
Key production module sends connection request to server-side, institute is carried in the connection request for generating key pair
The public key of cipher key pair is stated, the connection request is encrypted to obtain by the public key for triggering server-side to Connecting quantity
Ciphertext;
Parsing module, the ciphertext for receiving server-side transmission parse the ciphertext by private key and obtain the connection ginseng
Number.
In one embodiment, remote connecting device can also include:
First link block, if the host for place cannot parse the server-side host domain name, in local addition
The mapping of client host file, according to link order of the invoking upon mapping containing the server-side host domain name and server-side cloud
Desktop is remotely connected.
In one embodiment, remote connecting device can also include:
Add module, for when the server-side cloud desktop address can connect, according to the server-side cloud desktop address
Addition logs in authority in local system;
Second link block calls the link order containing the server-side cloud desktop address for logging in authority according to
It is remotely connect with server-side cloud desktop.
In one embodiment, as shown in figure 9, providing a kind of remote connecting device, including:Receiving module, first section
Modulus block and the first interception module, wherein:
Whether receiving module 91, the connection request for receiving client transmission, detection cloud desktop address can connect, and to
Client returns to Connecting quantity;
First trigger module 92, for when cloud desktop address can connect, triggering client to intercept clothes from Connecting quantity
Business end main frame domain name simultaneously checks that can client host analysis service end main frame domain name;
If second trigger module 93 triggers client for the host energy analysis service end main frame domain name where client
The link order of the end main frame domain name containing service is called to be attached with server-side cloud desktop in end.
Specific about remote connecting device limits the restriction that may refer to above for long-range connection method, herein not
It repeats again.Modules in above-mentioned remote connecting device can be realized fully or partially through software, hardware and combinations thereof.On
Stating each module can be embedded in or independently of in the processor in computer equipment, can also store in a software form in the form of hardware
In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
It should be noted that the term " first second third " involved by the embodiment of the present invention is only to be that difference is similar
Object, do not represent the particular sorted for object, it is possible to understand that ground, " Yi Er thirds " can be in the case of permission
Exchange specific sequence or precedence.It should be appreciated that the object that " first second third " is distinguished in the appropriate case can be mutual
It changes, so that the embodiment of the present invention described herein can be real with the sequence other than those of illustrating or describing herein
It applies.
The term " comprising " and " having " of the embodiment of the present invention and their any deformations, it is intended that cover non-exclusive
Including.Such as contain series of steps or the process, method, system, product or equipment of (module) unit are not limited to
The step of listing or unit, but further include the steps that optionally not listing or unit, or further include optionally for these
The intrinsic other steps of process, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
In one embodiment, system is remotely connected, including:Server-side and client.As shown in Figure 10 for server-side and
The sequence diagram of client interaction, includes the following steps:
(1):Client sends connection request to server-side;
(2):After receiving connection request, whether detection cloud desktop address can connect server-side;
(3):Server-side sends Connecting quantity to client;
(4):If cloud desktop address can not connect, client intercepts the host domain name in Connecting quantity, and to host domain
Name is parsed;
(5):According to the link order for call by result host end main frame domain name containing service that parsing obtains;
(6):It is remotely connect with server-side according to link order.
The client is for executing following steps in Fig. 2:
S201 sends connection request to server-side, triggers whether server-side detection service end cloud desktop address can connect
It connects, and receives the Connecting quantity of server-side return;
S202, when the server-side cloud desktop address can not connect, the interception service end main frame from the Connecting quantity
Domain name, and can the host that detect place parse the server-side host domain name;
S203, if can parse, server-side host domain name described in the aster Resolution using place, and according to the service
End main frame domain name establishes the long-range connection with server-side cloud desktop;
The server-side is for executing following steps in Fig. 7:
S701 receives the connection request that client is sent, and whether detection cloud desktop address can connect, and be returned to client
Connecting quantity;
S702, when the cloud desktop address can connect, triggering client intercepts server-side host domain from Connecting quantity
Name simultaneously checks that can client host parse the server-side host domain name;
S703, if server-side host domain name described in main functional analysis where client, triggers the client call
Link order containing the server-side host domain name is attached with server-side cloud desktop.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure
Figure can be as shown in figure 11.The computer equipment includes the processor connected by system bus, memory, network interface, shows
Display screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment
Memory includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer
Program.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The meter
The network interface for calculating machine equipment is used to communicate by network connection with external terminal.When the computer program is executed by processor
To realize a kind of long-range connection method.The display screen of the computer equipment can be that liquid crystal display or electric ink are shown
Screen, the input unit of the computer equipment can be the touch layer covered on display screen, can also be on computer equipment shell
Button, trace ball or the Trackpad of setting can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Figure 11, only with the relevant part of application scheme
The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set
Standby may include either combining certain components than more or fewer components as shown in the figure or being arranged with different components.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory
And the computer program that can be run on a processor, processor realize following steps in Fig. 2 when executing computer program:
S201 sends connection request to server-side, triggers whether server-side detection service end cloud desktop address can connect
It connects, and receives the Connecting quantity of server-side return;
S202, when the server-side cloud desktop address can not connect, the interception service end main frame from the Connecting quantity
Domain name, and can the host that detect place parse the server-side host domain name;
S203, if can parse, server-side host domain name described in the aster Resolution using place, and according to the service
End main frame domain name establishes the long-range connection with server-side cloud desktop;
Or realize following steps in Fig. 7 when processor execution computer program:
S701 receives the connection request that client is sent, and whether detection cloud desktop address can connect, and be returned to client
Connecting quantity;
S702, when the cloud desktop address can connect, triggering client intercepts server-side host domain from Connecting quantity
Name simultaneously checks that can client host parse the server-side host domain name;
S703, if server-side host domain name described in main functional analysis where client, triggers the client call
Link order containing the server-side host domain name is attached with server-side cloud desktop.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program realizes following steps in Fig. 2 when being executed by processor:
S201 sends connection request to server-side, triggers whether server-side detection service end cloud desktop address can connect
It connects, and receives the Connecting quantity of server-side return;
S202, when the server-side cloud desktop address can not connect, the interception service end main frame from the Connecting quantity
Domain name, and can the host that detect place parse the server-side host domain name;
S203, if can parse, server-side host domain name described in the aster Resolution using place, and according to the service
End main frame domain name establishes the long-range connection with server-side cloud desktop;
Or computer program realizes following steps in Fig. 7 when being executed by processor:
S701 receives the connection request that client is sent, and whether detection cloud desktop address can connect, and be returned to client
Connecting quantity;
S702, when the cloud desktop address can connect, triggering client intercepts server-side host domain from Connecting quantity
Name simultaneously checks that can client host parse the server-side host domain name;
S703, if server-side host domain name described in main functional analysis where client, triggers the client call
Link order containing the server-side host domain name is attached with server-side cloud desktop.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein,
Any reference to memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above example can be combined arbitrarily, to keep description succinct, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield is all considered to be the range of this specification record.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the protection domain of the application patent should be determined by the appended claims.
Claims (10)
1. a kind of long-range connection method, the long-range connection method include:
Connection request is sent to server-side, triggers whether server-side detection service end cloud desktop address can connect, and receive
The Connecting quantity that server-side returns;
When the server-side cloud desktop address can not connect, server-side host domain name is intercepted from the Connecting quantity, and examine
Can the host where surveying parse the server-side host domain name;
If can parse, server-side host domain name described in the aster Resolution using place, and according to the server-side host domain
Name establishes the long-range connection with server-side cloud desktop.
2. long-range connection method according to claim 1, which is characterized in that send connection request to server-side, trigger institute
State whether server-side detection service end cloud desktop address is reachable, and the step of receiving the Connecting quantity of server-side return, including:
Key pair is generated, connection request is sent to server-side, the public key of the cipher key pair is carried in the connection request, it is described
Connection request is encrypted Connecting quantity by the public key to obtain ciphertext for triggering server-side;
The ciphertext that server-side is sent is received, the ciphertext is parsed by private key and obtains the Connecting quantity.
3. long-range connection method according to claim 1 or 2, which is characterized in that further include:
If the host at place cannot parse the server-side host domain name, the mapping of client host file is added in local,
It is remotely connect with server-side cloud desktop according to link order of the invoking upon mapping containing the server-side host domain name.
4. long-range connection method according to claim 1, which is characterized in that further include:
When the server-side cloud desktop address can connect, is added and stepped in local system according to the server-side cloud desktop address
Land authority;
The link order containing the server-side cloud desktop address is called to be carried out far with server-side cloud desktop according to the authority that logs in
Journey connects.
5. a kind of long-range connection method, the long-range connection method include:
The connection request that client is sent is received, whether detection cloud desktop address can connect, and return to Connecting quantity to client;
When the cloud desktop address can connect, triggering client intercepts server-side host domain name from Connecting quantity and checks visitor
Can family end main frame parse the server-side host domain name;
If server-side host domain name described in the main functional analysis where client, triggers the client call and contain the service
The link order of end main frame domain name is attached with server-side cloud desktop.
6. a kind of remote connecting device, the remote connecting device include:
Whether request module triggers server-side detection service end cloud desktop address for sending connection request to server-side
It can connect, and receive the Connecting quantity of server-side return;
Interception module, for when the server-side cloud desktop address can not connect, server-side to be intercepted from the Connecting quantity
Host domain name, and can the host that detect place parse the server-side host domain name;
Link block, if for that can parse, server-side host domain name described in the aster Resolution using place, and according to described
Server-side host domain name establishes the long-range connection with server-side cloud desktop.
7. a kind of remote connecting device, the remote connecting device include:
Whether receiving module, the connection request for receiving client transmission, detection cloud desktop address can connect, and to client
Return to Connecting quantity;
First trigger module, for when the cloud desktop address can connect, triggering client to intercept service from Connecting quantity
End main frame domain name simultaneously checks that can client host parse the server-side host domain name;
If second trigger module triggers the visitor for server-side host domain name described in the main functional analysis where client
The link order containing the server-side host domain name is called to be attached with server-side cloud desktop in family end.
8. a kind of long-range connection system, the long-range connection system include:
Server-side and client;
The step of client requires any one of 1 to the 4 long-range connection method for perform claim;
The step of server-side requires the 5 long-range connection method for perform claim.
9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, which is characterized in that the processor realizes any one of Claims 1-4 or 5 when executing the computer program
The step of long-range connection method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of long-range connection method of any one of Claims 1-4 or 5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810083258.0A CN108366103B (en) | 2018-01-29 | 2018-01-29 | Remote connection method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810083258.0A CN108366103B (en) | 2018-01-29 | 2018-01-29 | Remote connection method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108366103A true CN108366103A (en) | 2018-08-03 |
CN108366103B CN108366103B (en) | 2021-03-02 |
Family
ID=63007262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810083258.0A Active CN108366103B (en) | 2018-01-29 | 2018-01-29 | Remote connection method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108366103B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109460278A (en) * | 2018-11-05 | 2019-03-12 | 长沙远大住工智能科技有限公司 | Cloud desktop architectural design software management method, device and computer equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103370111A (en) * | 2012-10-31 | 2013-10-23 | 华为技术有限公司 | Method and device for sending cloud server address |
CN103634414A (en) * | 2013-12-24 | 2014-03-12 | 北京本果信息技术有限公司 | Management device, server, system and method for remote management |
CN104038527A (en) * | 2013-03-08 | 2014-09-10 | 腾讯科技(深圳)有限公司 | Remote operation method and system |
CN104378252A (en) * | 2014-08-26 | 2015-02-25 | 国家电网公司 | Cloud testing service platform |
CN105323174A (en) * | 2014-07-31 | 2016-02-10 | 中兴通讯股份有限公司 | Method, equipment and system for remote desktop protocol gateway to carry out routing and switching |
CN105357248A (en) * | 2015-09-24 | 2016-02-24 | 福建天晴数码有限公司 | Remote desktop network acceleration method and system |
CN106534219A (en) * | 2016-12-31 | 2017-03-22 | 中国移动通信集团江苏有限公司 | Security authentication method and device for desktop cloud portal |
CN106686038A (en) * | 2015-11-10 | 2017-05-17 | 中兴通讯股份有限公司 | Method and device for calling cloud desktop |
CN107566433A (en) * | 2016-06-30 | 2018-01-09 | 中兴通讯股份有限公司 | A kind of cloud terminal logs in virtual desktop method and device |
-
2018
- 2018-01-29 CN CN201810083258.0A patent/CN108366103B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103370111A (en) * | 2012-10-31 | 2013-10-23 | 华为技术有限公司 | Method and device for sending cloud server address |
CN104038527A (en) * | 2013-03-08 | 2014-09-10 | 腾讯科技(深圳)有限公司 | Remote operation method and system |
CN103634414A (en) * | 2013-12-24 | 2014-03-12 | 北京本果信息技术有限公司 | Management device, server, system and method for remote management |
CN105323174A (en) * | 2014-07-31 | 2016-02-10 | 中兴通讯股份有限公司 | Method, equipment and system for remote desktop protocol gateway to carry out routing and switching |
CN104378252A (en) * | 2014-08-26 | 2015-02-25 | 国家电网公司 | Cloud testing service platform |
CN105357248A (en) * | 2015-09-24 | 2016-02-24 | 福建天晴数码有限公司 | Remote desktop network acceleration method and system |
CN106686038A (en) * | 2015-11-10 | 2017-05-17 | 中兴通讯股份有限公司 | Method and device for calling cloud desktop |
CN107566433A (en) * | 2016-06-30 | 2018-01-09 | 中兴通讯股份有限公司 | A kind of cloud terminal logs in virtual desktop method and device |
CN106534219A (en) * | 2016-12-31 | 2017-03-22 | 中国移动通信集团江苏有限公司 | Security authentication method and device for desktop cloud portal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109460278A (en) * | 2018-11-05 | 2019-03-12 | 长沙远大住工智能科技有限公司 | Cloud desktop architectural design software management method, device and computer equipment |
CN109460278B (en) * | 2018-11-05 | 2022-04-01 | 长沙远大住工智能科技有限公司 | Cloud desktop building design software management method and device and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108366103B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109543463B (en) | Data security access method, device, computer equipment and storage medium | |
CN107612736B (en) | WEB browser operation and maintenance auditing method based on container | |
CN108829528B (en) | Content sharing method and device, and message processing method and device | |
US8762724B2 (en) | Website authentication | |
CN108833355A (en) | Data processing method, device, computer equipment and computer readable storage medium | |
CN110401641B (en) | User authentication method and device and electronic equipment | |
CN105376216A (en) | Remote access method, agent server and client end | |
EP2239677A1 (en) | Integration of a non-token-based relying party into a token-based information card system | |
US9544769B2 (en) | Method for providing application service | |
US20060020793A1 (en) | Method and system for authentication in a computer network | |
CN110597541B (en) | Interface updating processing method, device, equipment and storage medium based on block chain | |
CN101582856A (en) | Session setup method of Portal server and BAS (broadband access server) device and system thereof | |
CN111988295A (en) | Database auditing method and device, WEB server, database auditing system and storage medium | |
CN109697370A (en) | Database data encipher-decipher method, device, computer equipment and storage medium | |
CN109582583B (en) | Software testing method, device, computer equipment and storage medium | |
CN112118238A (en) | Method, device, system, equipment and storage medium for authentication login | |
CN113507475A (en) | Cross-domain access method and device | |
US20110126292A1 (en) | Method and System for Providing Security Seals on Web Pages | |
CN109040284B (en) | Information display and information push method, device, equipment and storage medium | |
CN110445757A (en) | Personnel information encryption method, device, computer equipment and storage medium | |
CN107645474A (en) | Log in the method for open platform and log in the device of open platform | |
CN108366103A (en) | Long-range connection method, device, computer equipment and storage medium | |
CN112068929A (en) | Unified management method for accessing multi-architecture cloud platform to third-party web service | |
CN116244682A (en) | Database access method, device, equipment and storage medium | |
CN104753774A (en) | Distributed enterprise integrated access gateway |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |