CN104754015B - A kind of methods, devices and systems for establishing remote session - Google Patents
A kind of methods, devices and systems for establishing remote session Download PDFInfo
- Publication number
- CN104754015B CN104754015B CN201310753475.3A CN201310753475A CN104754015B CN 104754015 B CN104754015 B CN 104754015B CN 201310753475 A CN201310753475 A CN 201310753475A CN 104754015 B CN104754015 B CN 104754015B
- Authority
- CN
- China
- Prior art keywords
- remote
- cloud terminal
- remote session
- session
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- 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
Abstract
The present embodiments relate to a kind of methods for establishing remote session,Device and system,The first remote session request of the first cloud terminal transmission can be received,When determining that it includes the mark of the first cloud terminal to authorize access user information,The authorization identifying information pre-saved can be obtained,And it sends first remote session to remote server and asks corresponding emulation session request,The emulation session request carries the authorization identifying information,To which the authorization identifying information carried by emulation session request can pass through the authorization identifying of the remote server,So that the remote server determination is established remote session with the first cloud terminal and is connect,The mandate access user information can dynamic configuration according to demand,The dynamic for realizing remote session is established,It can not dynamic configuration authorization identifying information in avoiding in the prior art,The problem of remote session connection can not dynamically be established.
Description
Technical field
The present embodiments relate to cloud computing technology, more particularly to a kind of methods, devices and systems for establishing remote session.
Background technology
Application virtualization technology can be by the human-computer interaction logic of application program(Such as the behaviour of Application Program Interface, keyboard
Work and audio input output etc.)Keep apart with calculating logic so that cloud terminal can access remote application by application gateway
(Application program on the remote server is installed).Since application virtualization technology makes cloud terminal in operation remote application
When, occupied resource is remote server, will not occupy the resource of a large amount of the machine, therefore cloud terminal(Such as it is mobile phone, a
People's computer, tablet computer, thin-client etc.)Configuration can be very low, meet the market demand, overall market scale is increasingly huge
Greatly.
Under the background of application virtualization technology, cloud terminal usually requires to build with remote server when accessing remote application
Vertical remote session connection is connected using the remote session and realizes that the remote application of cloud terminal accesses.However in the prior art, it is building
Before vertical remote session connection, the cloud terminal in system is required for obtaining the authorization identifying information of remote server in advance, utilizes
The authorization identifying information could be established remote with remote server by the cloud terminal of the authorization identifying of the remote server
Journey session connection accesses remote application.However, in actual application, the use demand of user may change frequent occurrence,
But the prior art makes the cloud terminal that can access remote server in system be predetermined, and flexibly cannot dynamically increase cloud
Terminal carries out the access of remote application.
In addition, when cloud terminal accesses remote application by remote session, if giving the data sharing of the application to it
His cloud terminal needs to rely on third party and shares agreement, needs all to install the related of the agreement to remote server in cloud terminal
Program so that initiate a shared side and the data of its desktop are uploaded to remote server in real time, remote server is then forwarded to
Other cloud terminals to be shared are to realize the data sharing of application.The prior art needs to share agreement progress data based on third party
Shared, shared data needs the transfer by remote server, and sharing efficiency is low, wastes system resource.
Invention content
The embodiment of the present invention proposes a kind of methods, devices and systems for establishing remote session, can according to demand dynamically
The remote session for establishing cloud terminal and remote server connects.
In a first aspect, an embodiment of the present invention provides a kind of method for establishing remote session, this method includes:
AM access module receives the first remote session request that the first cloud terminal is sent, and the first remote session request is used for
The first cloud terminal is established in request and the remote session of remote server connects, described in the first remote session request carrying
The mark of first cloud terminal;
When the AM access module determines that it includes the mark of the first cloud terminal to authorize access user information, obtains to authorize and recognize
Information is demonstrate,proved, the mandate access user information and the authorization identifying information are pre-stored in the AM access module;
The AM access module sends first remote session to the remote server asks corresponding emulation session to be asked
It asks, the emulation session request is used to ask to establish the first cloud terminal and be connect with the remote session of the remote server,
The emulation session request carries the authorization identifying information.
With reference to first aspect, in the first possible implementation, this method further includes:The AM access module receives the
The second remote session request that two cloud terminals are sent, the second remote session request establish the second cloud terminal for asking
It is connect with the remote session of the remote server, the second remote session request carries the authorization identifying information;It is described
AM access module preserves the authorization identifying information;The AM access module sends second remote session to the remote server
Request;The AM access module receives the connection that the remote server returns and confirms that response, the connection confirm that response shows institute
It states remote server and confirms that establishing remote session with the second cloud terminal connect.
The possible realization method of with reference to first aspect the first, in second of possible realization method, this method is also
Including:The AM access module receives the authorization requests that the second cloud terminal is sent, and the authorization requests carry the mandate and connect
Access customer information, the mandate access user information include the mark of the first cloud terminal;Described in the AM access module preserves
Authorize access user information.
Second aspect, an embodiment of the present invention provides the device for establishing remote session, described device includes:
Receiving unit, the first remote session request for receiving the transmission of the first cloud terminal, first remote session are asked
It asks for asking the remote session for establishing the first cloud terminal and remote server to connect, the first remote session request is taken
Mark with the first cloud terminal;
Acquiring unit, for when determining that it includes the mark of the first cloud terminal to authorize access user information, obtaining pre-
The authorization identifying information first preserved;
Transmission unit asks corresponding emulation session to be asked for described to remote server transmission first remote session
It asks, the emulation session request is used to ask to establish the first cloud terminal and be connect with the remote session of the remote server,
The emulation session request carries the authorization identifying information.
In conjunction with second aspect, in the first possible implementation, described device further includes:Interactive unit, for connecing
The second remote session request of the second cloud terminal transmission is received, the second remote session request establishes second cloud for asking
Terminal is connect with the remote session of the remote server, and the second remote session request carries the authorization identifying information;
Preserve the authorization identifying information;The second remote session request is sent to the remote server;And it receives described remote
The connection that journey server returns confirms that response, the connection confirm that response shows that the remote server confirms and first cloud
Terminal establishes remote session connection;Then the acquiring unit is specifically used for determining that it includes described second to authorize access user information
When the mark of cloud terminal, the authorization identifying information is obtained from the interactive unit.
In conjunction with the first possible realization method of second aspect, in second of possible realization method, described device
Further include:First granted unit, the authorization requests sent for receiving the second cloud terminal, described in the authorization requests carry
It includes the mark of the first cloud terminal to authorize access user information, the mandate access user information, preserves the mandate and connects
Access customer information.
The third aspect, an embodiment of the present invention provides a kind of system for establishing remote session, the system comprises:First cloud
Terminal, AM access module and remote server;
The first cloud terminal is used to send the request of the first remote session, first remote session to the AM access module
Request is used to ask to establish the first cloud terminal and be connect with the remote session of the remote server, first remote session
Request carries the mark of the first cloud terminal;
The AM access module is determining that it includes institute to authorize access user information for receiving the first remote session request
When stating the mark of the first cloud terminal, authorization identifying information is obtained, sending first remote session to the remote server asks
Corresponding emulation session is asked to ask, the emulation session request establishes the first cloud terminal and the remote service for asking
The remote session of device connects, and the emulation session request carries the authorization identifying information, wherein the mandate accessing user letter
Breath and the authorization identifying information are pre-stored in the AM access module;
The remote server is for receiving the emulation session request.
In conjunction with second aspect, in the first possible implementation, the system also includes the second cloud terminal, for
The AM access module sends the request of the second remote session, and the second remote session request is used to ask to establish second cloud whole
End is connect with the remote session of the remote server, and the second remote session request carries the authorization identifying information;
Second remote session that the AM access module is specifically used for receiving the transmission of the second cloud terminal is asked, described in preservation
Authorization identifying information sends the second remote session request to the remote server, receives the remote server and return
Connection confirm response;
The remote server is additionally operable to receive second remote session request that the AM access module is sent, confirm with
When the first cloud terminal establishes remote session connection, sends the connection to the AM access module and confirm response.
Fourth aspect, an embodiment of the present invention provides a kind of method of data sharing, this method includes:
AM access module obtains the emulation session request of the first cloud terminal, and the emulation session request carries authorization identifying information
With the mark of application, the emulation session request accesses remote application for asking, and the mark of the application is described for identifying
Remote application;
The AM access module sends the emulation session request to remote server;
The AM access module receives the session that the remote server returns and confirms that response, the session confirm that response carries
The session is confirmed that response is sent to the first cloud terminal by the data of the remote application;
The AM access module receives the Application share request that the first cloud terminal is sent, and the Application share request carries
The mark of second cloud terminal and the mark of the application;
The AM access module determines remote session used in the remote application according to the mark of the application, by institute
It states the data in remote session used in remote application and is supplied to the second cloud terminal.
In conjunction with fourth aspect, in the first possible realization method, AM access module obtains the emulation session of the first cloud terminal
Request includes:The AM access module receives the remote session request that the first cloud terminal is sent, and the remote session request is taken
The mark of mark with the application and the first cloud terminal;The AM access module determines that mandate access user information includes
When the mark of the first cloud terminal, the authorization identifying information is obtained, the mandate access user information and the mandate are recognized
Card information is pre-stored in the AM access module;The AM access module is according to the authorization identifying information and the long-range meeting
Words request generates the emulation session request.
In conjunction with the possible realization method of the first of fourth aspect or fourth aspect, in second of possible realization method
Described in method further include:The AM access module is that remote session used in the remote application distributes session identification;It is described
AM access module records the correspondence of the session identification of remote session used in the remote application and the mark of the application;
Then the AM access module determines remote session packet used in the remote application according to the mark of the application
It includes:Mark and the correspondence of the AM access module according to the application determine remote used in the remote application
Journey session.
5th aspect, the embodiment of the present invention propose a kind of data sharing device, which includes:
Acquiring unit, the emulation session request for obtaining the first cloud terminal, the emulation session request, which carries to authorize, to be recognized
The mark of information and application is demonstrate,proved, the emulation session request accesses remote application for asking, and the mark of the application is for marking
Know the remote application, the emulation session request is sent to remote server;
Interactive unit confirms that response, the session confirm that response is taken for receiving the session that the remote server returns
The session is confirmed that response is sent to the first cloud terminal by the data with the remote application;
Shared cell, the Application share request sent for receiving the first cloud terminal, the Application share request are taken
The mark of mark and the application with the second cloud terminal determines that the remote application is made according to the mark of the application
Remote session, and the data in remote session used in the remote application are supplied to the second cloud terminal.
In conjunction with the 5th aspect, in the first possible implementation, the acquiring unit is specifically used for receiving described the
The remote session request that one cloud terminal is sent, the remote session request carry mark and first cloud end of the application
The mark at end obtains the authorization identifying letter when determining that it includes the mark of the first cloud terminal to authorize access user information
Breath is asked according to the authorization identifying information and the remote session, generates the emulation session request;Wherein, described to award
Power access user information and the authorization identifying information are pre-stored in the acquiring unit.
In conjunction with the first possible realization method of the 5th aspect or the 5th aspect, in the first possible realization method
In, described device further includes:
Allocation unit is used to distribute session identification for remote session used in the remote application, and described in record
The correspondence of the session identification of remote session used in remote application and the mark of the application;
The shared cell is specifically used for mark according to the application and the correspondence, determines and described remotely answers
With used remote session.
6th aspect, an embodiment of the present invention provides a kind of systems of data sharing, which is characterized in that the system comprises
First cloud terminal, AM access module and remote server;
The AM access module is used to obtain the emulation session request of the first cloud terminal, and the emulation session request carries
The mark of authorization identifying information and application, the emulation session request access remote application, the mark of the application for asking
For identifying the remote application, the emulation session request is sent to the remote server, receives the remote server
The session of return confirms response, and the session is confirmed that response is sent to the first cloud terminal, receives the first cloud terminal
The Application share of transmission is asked, and is asked according to the Application share, remote session used in the remote application is determined, by institute
It states the data in remote session used in remote application and is supplied to the second cloud terminal.
The remote server is used to receive the emulation session request that the AM access module is sent, to the access mould
Block returns to the session and confirms that response, the session confirm that response carries the data of the remote application;
The first cloud terminal is used to receive the session that the AM access module is sent and confirms response, to realize described the
Access of the remote session establishment of connection and realization of one cloud terminal and the remote server to the remote application, to institute
It states AM access module and sends Application share request, the Application share request carries the mark of the second cloud terminal and described answers
Mark;
In conjunction with the 6th aspect, in the first possible implementation, the AM access module is specifically used for receiving described the
The remote session request that one cloud terminal is sent, the remote session request carry mark and first cloud end of the application
The mark at end obtains the authorization identifying letter when determining that it includes the mark of the first cloud terminal to authorize access user information
It ceases and the emulation session is requested to generate according to the authorization identifying information and the remote session and ask, wherein is described
Access user information and the authorization identifying information is authorized to be pre-stored in the AM access module.
In embodiments of the present invention, authorization identifying information can be obtained, and according to demand moves the authorization identifying information
State is allocated to the cloud terminal by qualification without authorization identifying, and the dynamic for realizing remote session is established, and existing skill is avoided
In in art can not dynamic configuration authorization identifying information, can not dynamically establish remote session connection the problem of.
In embodiments of the present invention, it can be sent out according to the first cloud terminal in the first cloud terminal access remote application
The application identities that the Application share request sent carries determine remote session used in the remote application, and will be described long-range
It is supplied to the second cloud terminal using the data in used remote session, to answer the long-range of the first cloud terminal access
The second cloud terminal is given in data sharing in, is realized the data sharing based on application, need not be realized number by remote server
According to it is shared, improve data sharing efficiency, avoid and be based on third party in the prior art and share agreement and carry out data sharing to lead
The problem of sharing efficiency of cause is low, system resource waste, improves sharing efficiency, has saved system resource, reduce system
Shared bandwidth.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to required in the prior art or embodiment
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings
Other attached drawings.
Fig. 1 is system architecture provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram for establishing remote session provided in an embodiment of the present invention;
Fig. 3 be it is provided in an embodiment of the present invention another establish the method flow diagram of remote session;
Fig. 4 is a kind of method flow diagram of data sharing provided in an embodiment of the present invention;
Fig. 5 is the method flow diagram of another data sharing provided in an embodiment of the present invention;
Fig. 6 is a kind of device composition figure for establishing remote session provided in an embodiment of the present invention;
Fig. 7 is a kind of data sharing device composition figure provided in an embodiment of the present invention.
Specific implementation mode
The embodiment of the present invention proposes a kind of methods, devices and systems for establishing remote session, can dynamically establish cloud end
End is connect with the remote session of remote server, and the problem of remote session connects can not dynamically be established in the prior art by avoiding.
It is the system architecture of the embodiment of the present invention as shown in Figure 1, which includes cloud terminal(110), 120 and of AM access module
Remote server 130.Include application program and operating system in the remote server 130, for carrying out void to application program
Quasi-ization so that the cloud terminal 110 can remotely access the application program of the remote server 130, that is, access remote application.
The AM access module 120 ensures for realizing the forwarding of the information between the cloud terminal 110 and the remote server 130
The uniformity and safety that cloud terminal 110 accesses.Wherein, the AM access module 120 can be application gateway or access service
Device, the cloud terminal 110 can be mobile phone, personal computer(Personal Computer), tablet computer, thin client
(Thin Client), thin cloud terminal etc., the cloud terminal 110 or one or more, Fig. 1 is shown with two, respectively
Cloud terminal A, cloud terminal B, the embodiment of the present invention are not limited thereto.
The cloud terminal 110 can ask to establish long-range meeting with the remote server 130 by the AM access module 120
Words connection, after passing through by 130 authorization identifying of remote server, the remote server 130 confirms and the cloud
Terminal 110 establishes remote session connection so that the cloud terminal 110 can pass through the long-range meeting with the remote server 130
Words carry out the transmission using data, realize the access to the remote application of the remote server 130.
However in system can by 130 authorization identifying of the remote server by cloud terminal, that is, have authorize recognize
Card is that system is preconfigured by the cloud terminal of qualification, can not dynamic configuration authorization identifying information according to demand, to can not
Dynamic establishes the remote session connection of the cloud terminal and remote server that pass through qualification without authorization identifying according to demand.
In embodiments of the present invention, in order to realize that the dynamic of remote session connection is established, function is carried out to AM access module 120
Enhancing so that the AM access module 120 can obtain authorization identifying information, and according to demand by authorization identifying information dynamic
It is allocated to and does not have cloud terminal of the authorization identifying by qualification, the dynamic for realizing remote session is established, and the prior art is avoided
In in can not dynamic configuration authorization identifying information, can not dynamically establish remote session connection the problem of.
In embodiments of the present invention, in order to realize the data sharing based on application, function increasing is carried out to AM access module 120
By force so that the AM access module 120 can be total according to the first cloud terminal sending application in the first cloud terminal access remote application
Enjoy request(The Application share request, which is used to indicate, shares the data of the remote application), obtain the remote application institute
Data in the remote session used, and it is supplied to the second cloud whole data in remote session used in the remote application
End realizes the data sharing of the application of the first cloud terminal to the second cloud terminal, need not realize number by remote server
According to it is shared, avoid and be based on third party in the prior art and share agreement carrying out that sharing efficiency caused by data sharing is low, system
The problem of wasting of resources, improves sharing efficiency, has saved system resource, reduces the shared bandwidth of system.
Expansion of the embodiment of the present invention is introduced in detail below.
A method of establishing remote session
In conjunction with system architecture shown in FIG. 1, an embodiment of the present invention provides a kind of method for establishing remote session, such as Fig. 2
Shown, the method can be executed by AM access module, the method includes:
S201:AM access module receives the first remote session request that the first cloud terminal is sent, and first remote session is asked
It asks for asking the remote session for establishing the first cloud terminal and remote server to connect, the first remote session request is taken
Mark with the first cloud terminal.
When the first cloud terminal request establishes remote session with remote server to be connect, first is sent to the AM access module
Remote session is asked, and the AM access module can receive the first remote session request.
S202:When the AM access module determines that it includes the mark of the first cloud terminal to authorize access user information, obtain
Authorization identifying information, the mandate access user information and the authorization identifying information are pre-stored in the AM access module.
Authorization identifying information is obtained and saved in the AM access module in advance, the authorization identifying information is for passing through institute
The authorization identifying of remote server is stated, also obtains and saves mandate access user information in the AM access module in advance, that is, have
There are the information of the cloud terminal using the authorization identifying information qualification, the mandate access user information can according to demand dynamically
Configuration, such as when newly increasing cloud terminal B in system, the mandate access user information is configured so that the mandate
Access user information includes the mark of cloud terminal B, then the cloud terminal B can use what is pre-saved in the AM access module to award
Authentication information is weighed, the dynamic configuration of authorization identifying information is realized.
S203:The AM access module sends first remote session to the remote server and asks corresponding simulation meeting
Words request, the emulation session request is for asking the remote session for establishing the first cloud terminal and the remote server to connect
It connects, the emulation session request carries the authorization identifying information.
When the mandate access user information includes the mark of the first cloud terminal, the AM access module obtains institute
Authorization identifying information is stated, and further sends first remote session to the remote server and asks corresponding emulation session
Request, emulation session request is the same in addition to that can be asked with first remote session, and the first cloud end is established in request
It holds except the remote session connection of remote server described in domain, the emulation session request also carries the authorization identifying letter
Breath so that can be by the authorization identifying of the remote server, so that described long-range according to the authorization identifying information
Server confirmation is established remote session with the first cloud terminal and is connect, to realize that the remote application of the first cloud terminal is visited
It asks.
In embodiments of the present invention, the AM access module can receive the first remote session that the first cloud terminal is sent and ask
It asks, when determining that it includes the mark of the first cloud terminal to authorize access user information, the mandate pre-saved can be obtained and recognized
Information is demonstrate,proved, and sends first remote session to remote server and asks corresponding emulation session request, the emulation session
Request carries the authorization identifying information, to which the authorization identifying information carried by emulation session request can pass through institute
State the authorization identifying of remote server so that the remote server is determined establishes remote session company with the first cloud terminal
It connects, the mandate access user information dynamic configuration, the dynamic for realizing remote session can be established according to demand, avoid existing
In having in technology can not dynamic configuration authorization identifying information, can not dynamically establish remote session connection the problem of.
Specific embodiment
In conjunction with system architecture shown in FIG. 1, an embodiment of the present invention provides a kind of method for establishing remote session, the sides
Method can dynamically establish cloud terminal according to the demand of user and the remote session of remote server connects, and realize the dynamic of remote application
State accesses, for example, the authorization identifying information of remote server distribution has been obtained ahead of time in cloud terminal A, there is authorization identifying to pass through money
Lattice can access remote application, and cloud terminal B is the user increased newly in system, not yet obtains authorization identifying and passes through qualification, Ke Yitong
Method shown in Fig. 3 is crossed, the remote session for establishing cloud terminal B and remote server connects, to realize the remote application of cloud terminal B
It accesses, the method includes:
S301:Cloud terminal A sends the request of the first remote session, and the first remote session request carries the cloud terminal A
Authorization identifying information.
When cloud terminal A is needed using some in application, such as APP1, needs to first pass through Handshake Protocol foundation and remote service
The remote session of device connects, and then utilizes the data of the remote session connected reference application and transmission application.Therefore, described
Cloud terminal A can send the request of the first remote session, and the first long-range meeting between cloud terminal A and remote server is established with request
Words, to which by first remote session, access of the cloud terminal A to application APP1 may be implemented.
First remote session is actually the Transfer pipe using data, can be with by first remote session
The data of application APP1 are transmitted between cloud terminal A and the remote server, cloud terminal A can be by different remote
Journey session goes to access different applications, such as accesses APP1 by the first remote session, and APP2 is accessed by the second remote session.
The first remote session request also carries the authorization identifying information of the cloud terminal A so that the remote service
Device carries out authorization identifying after getting the first remote session request according to the authorization identifying information of the cloud terminal A,
Authorization identifying confirms that establishing remote session with the cloud terminal A establishes after.Further, the first remote session request
The mark of application can also be carried so that realize that request establishes long-range meeting with remote server by the same Signalling exchange flow
Words connection and request access application.
S302:The AM access module receives the first remote session request, obtains and preserve the mandate of the cloud terminal A
Authentication information.
The AM access module can ask first remote session after receiving the first remote session request
It asks and is parsed, obtain the authorization identifying information of the cloud terminal A, and preserve the authorization identifying information of the cloud terminal A so that
The follow-up AM access module can be according to authorizing access user information by the authorization identifying information of the cloud terminal A in system
Other cloud terminals use, and carry out remote application access, realize the dynamic configuration of authorization identifying information.
S303:First remote session request is transmitted to remote server by the AM access module.
First remote session request is transmitted to remote server by the AM access module so that the remote server
After getting the first remote session request, asked to carry out authorization identifying according to first remote session, by institute
The authorization identifying information that the request of the first remote session carries the cloud terminal A is stated, then authorization identifying passes through, the remote server
It determines that establishing remote session with the cloud terminal A connect, returns to connection confirmation and respond to the AM access module, the AM access module
Connection confirmation is being responded into the cloud terminal A so that after the cloud terminal A receives the connection confirmation response,
Communication handshake agreement is completed, the remote session established between the remote server is connect.
Further, when not over the authorization identifying of the remote server, for example, the cloud terminal A authorization identifying
When information fails, then the remote server refusal is established remote session with the cloud terminal A and is connect, and returns to connection refusal and rings
It answers, the AM access module at this time according to the connection refusal respond, can delete the authorization identifying letter of the cloud terminal A of preservation
Breath.
S304:The cloud terminal A indicates that, to AM access module transmission authorization requests, the authorization requests are taken according to user
It includes the mark of cloud terminal B that band, which authorizes access user information, the mandate access user information,.
The cloud terminal A actively can give the authorization identifying information of itself according to the instruction of application demand or administrator
Other cloud terminals use, such as are used to cloud terminal B so that not obtaining authorization identifying can be with institute by the cloud terminal B of qualification
It states remote server and establishes remote session connection.Specifically, the cloud terminal A can send to authorize to the AM access module and ask
It asks, the authorization requests, which carry, authorizes access user information, and the mandate access user information includes the mark of cloud terminal B.
S305:The AM access module obtains according to the authorization requests and preserves the mandate access user information.
The AM access module can obtain and preserve the mandate access user information carried in institute's authorization requests so that
It can subsequently be believed by the mandate accessing user, determine that the cloud terminal B is to authorize accessing user, the cloud can be used whole
Hold remote server described in A authorization identifying message references.
Further, after receiving the authorization requests, the AM access module can also send to authorize to cloud terminal B and invite
Please message, if the cloud terminal B receive the AM access module mandate invite, return to confirmation message, the AM access module
The mark for authorizing the cloud terminal B in access user information can be preserved according to the confirmation message.
Step S304 and S305 are optional embodiment, and user or operator can also be according to demand directly described
The mandate access user information is configured in AM access module, the mandate access user information includes the mark of the cloud terminal B,
The embodiment of the present invention is not limited thereto.
S306:Cloud terminal B sends the request of the second remote session to the AM access module, and the second remote session request is used
The cloud terminal B is established in request to connect with the remote session of the remote server, the second remote session request carries
The mark of the cloud terminal B.
When user needs using some in application, some application, such as APP2, the cloud can be opened with Indicated Cloud terminal B
Terminal B can send the request of the second remote session according to the instruction of user to the AM access module, with request and the long-range clothes
Business device establishes remote session connection, to realize the access of remote application.
S307:The AM access module determines whether the cloud terminal B is to authorize to connect according to the mandate access user information
Access customer, if it is execution step S308.
The AM access module can be according to the mandate access user information, and determining in the mandate access user information is
The no mark for including the cloud terminal B, if including the mark of the cloud terminal B, it is determined that the cloud terminal B is to authorize to access
User executes step S308.
S308:The AM access module generates second remote session and asks corresponding emulation session request, the simulation
Session request carries the authorization identifying information of the cloud terminal A.
Since the cloud terminal B not yet obtains authorization identifying by qualification, can be the second of the cloud terminal B
Remote session requests to generate emulation session request, and the emulation session request carries the authorization identifying information of the cloud terminal A, from
And the cloud terminal B is allow to use the authorization identifying information of the cloud terminal A, establish long-range meeting with the remote server
Words connection, that realizes dynamic flexible establishes remote session connection.
S309:Emulation session request is sent to the remote server by the AM access module, to establish the cloud
Terminal B is connect with the remote session of the remote server.
The AM access module can ask the emulation session to be sent to the remote server so that the long-range clothes
Business device can be asked according to the emulation session, and foundation is connect with the remote session of the cloud terminal B.Specifically, the method
Further include following steps:
S309a:The remote server receives the emulation session request.
S309b:The remote server asks to carry out authorization identifying according to the emulation session, if authorization identifying is logical
It crosses, thens follow the steps S309c.
S309c:The remote server sends connection to the AM access module and confirms response.
S309d:The connection is confirmed that response is transmitted to the cloud terminal B by the AM access module.
S309e:The cloud terminal B receives the connection and confirms response, establishes the long-range meeting with the remote server
Words connection.
When the cloud terminal B gets the connection and confirms response, the logical of cloud terminal B and the remote server is completed
Believe Handshake Protocol, establishes and connect with the remote session of the remote server.
In embodiments of the present invention, the AM access module asks it in the first remote session for receiving the A transmissions of cloud terminal
Afterwards, the authorization identifying information that can obtain and record cloud terminal A is asked receiving the second remote session that cloud terminal B is sent
It later, can be according to authorizing access user information to determine whether the cloud terminal B is to authorize accessing user, in the cloud terminal B
When to authorize accessing user, corresponding emulation session request is requested to generate for second remote session, the emulation session is asked
The authorization identifying information for carrying the cloud terminal A is sought, and emulation session request is sent to remote server, to establish cloud
The remote session of terminal B and remote server connects so that establishes cloud terminal using the authorization identifying information of the cloud terminal A
The remote session of B and remote server connects, the mandates access user information can dynamic configuration according to demand, avoid and show
Have in technology can not dynamic configuration authorization identifying information, the problem of can not dynamically establishing remote session connection.
A kind of method of data sharing
In conjunction with system architecture shown in FIG. 1, an embodiment of the present invention provides a kind of methods of data sharing, as shown in figure 4,
The method includes:
S401:AM access module obtains the emulation session request of the first cloud terminal, and the emulation session request, which carries to authorize, to be recognized
The mark of information and application is demonstrate,proved, the emulation session request accesses remote application for asking, and the mark of the application is for marking
Know the remote application, the emulation session request is sent to remote server.
When remote application on the first cloud terminal access remote server, needs to establish remote session with remote server and connect
It connects, the data of the remote application are transmitted by remote session connection specifically can be asked by emulation session, be asked
It asks and establishes remote session with remote server and connect and ask to access the remote application of the remote server, the simulation meeting
Words request carries authorization identifying information and the mark of application.
AM access module can obtain the emulation session request, and the mode for obtaining the emulation session request can be cleverer
It is living, such as the first cloud terminal is to pass through the user of qualification, the AM access module reception first cloud with authorization identifying
The remote session request that terminal is sent, the remote session request carry authorization identifying information and the mark of application, in another example,
The AM access module can receive the remote session request that the first cloud terminal is sent, and the remote session request carries application
Mark, but the first cloud terminal do not have authorization identifying by qualification, the AM access module can be according to described first
The remote session request that cloud terminal is sent, generates the emulation session request of the first cloud terminal, and the emulation session request is taken
Band authorization identifying information so that the first cloud terminal can utilize the authorization identifying information, realize to the remote application
Access.
S402:The AM access module receives the session that the remote server returns and confirms response, and the session, which confirms, to ring
The session is confirmed that response is sent to the first cloud terminal by the data that should carry the remote application.
The remote server carries out authorization identifying, authorization identifying passes through after receiving the emulation session request
The backward AM access module return to session and confirm response, to determine that establishing remote session with the first cloud terminal connect.Institute
It states remote server and is established after remote session connect with the first cloud terminal confirming, it can also be according to the mark of the application
Know the calculating logic for calling the application, open the remote application and obtain using relevant data, the session, which confirms, to ring
The data of the application should also be carried.
The session can be confirmed that response is sent to by the AM access module after receiving the session and confirming response
The first cloud terminal is connect with completing the first cloud terminal with the remote session of the remote server, is realized to described
The access of remote application, the session confirm that response also carries the data of the remote application so that the first cloud terminal can
It is shown with the data of the remote application according to carrying, such as the program interface after word is opened in display, it is follow-up described
First cloud terminal can also carry out the transmission of the data of the remote application with the remote server by the remote session.
S403:The AM access module receives the Application share request that the first cloud terminal is sent, and the Application share is asked
Seek the mark of the mark and the application that carry the second cloud terminal.
The first cloud terminal, can be with sending application sharing request when accessing the remote application, will be described long-range
The data sharing of application gives other cloud terminals, the Application share request to carry the mark of client to be shared, such as the second cloud
The mark of terminal and the mark of application to be shared, for example, the application mark.
S404:The AM access module determines remote session used in the remote application according to the mark of the application,
Data in remote session used in the remote application are supplied to the second cloud terminal.
Since the first cloud terminal and the remote server carry out by remote session the data of the remote application
Transmission, therefore the AM access module can according to the Application share ask carry the application mark, determine transmission
The remote session of the data of the remote application, thus subsequently can be by the number on remote session used in the remote application
According to being sent to the second cloud terminal, to realize the data sharing of the remote application of the first cloud terminal access to described the
Two cloud terminals.
In embodiments of the present invention, the AM access module can be by the number in the remote application of the first cloud terminal access
According to the second cloud terminal is shared to, specifically, the application that can be carried according to the Application share request that the first cloud terminal is sent
Mark, determines remote session used in the remote application, and by the number in remote session used in the remote application
According to the second cloud terminal is supplied to, the data sharing based on application is realized, need not realize data by remote server
It is shared, data sharing efficiency is improved, avoids and is based in the prior art caused by the shared agreement progress data sharing of third party
The problem of sharing efficiency is low, system resource waste avoids shared other desktop datas other than application, improves shared effect
Rate has saved system resource, reduces the shared bandwidth of system.
Specific embodiment
In conjunction with system architecture shown in FIG. 1, an embodiment of the present invention provides a kind of methods of data sharing, and the method can
It can be logical with authorization identifying to give cloud terminal B, the cloud terminal A with the data sharing for the remote application for accessing cloud terminal A
The user for crossing qualification can also be user of the with no authorized certification by qualification, the method includes:
S501:Cloud terminal A sends remote session request to the AM access module, and the remote session request carries application
The mark of mark and the cloud terminal A.
The cloud terminal A can be asked by sending remote session, to ask to access the remote application on remote server,
Remote session request be used to indicate establish the cloud terminal A connect and indicate with the remote session of the remote server opening
The remote application.The i.e. described cloud Terminal A requests of mark that the remote session request can carry the application access remote
The mark of the mark of Cheng Yingyong and the cloud terminal A so that the remote server can be asked according to the remote session
It asks, determines that establishing remote session with the cloud terminal A connect, and according to the mark of the application, opens the remote application and returns
Return the relevant data of remote application.
Further, since before opening the remote application on the server, the remote server is needed to described
Remote session request carries out authorization identifying, the remote application could be opened after authorization identifying passes through, therefore, if the cloud
Terminal A is by the user of qualification, then the remote session request can also carry authorization identifying information, make with authorization identifying
Obtain the AM access module directly can be transmitted to the remote server by remote session request, to realize to remote application
Access.If the cloud terminal A is, by the user of qualification, the AM access module can be described without authorization identifying
Cloud terminal generates emulation session request, so that the cloud terminal A can access the remote application, refers to step S502.
S502:The AM access module obtains institute when determining that it includes the mark of the cloud terminal A to authorize access user information
Authorization identifying information is stated, the emulation session request of the cloud terminal A is generated, the emulation session request carries authorization identifying information
With the mark of the application.
The AM access module can receive the remote session request, since the remote session asks to authorize without carrying
Authentication information, the AM access module can determine whether the mandate access user information includes the mark of the cloud terminal A, such as
It includes the mark of the cloud terminal A that access user information is authorized described in fruit, then obtains the authorization identifying information pre-saved, then
The message body of remote session request expand or be replaced certain fields in message body so that the long-range meeting
Words request carries the authorization identifying information, that is, generates the emulation session request of the cloud terminal A, the emulation session request can
To substitute the remote session request of the cloud terminal A, to indicate to establish the long-range meeting of the cloud terminal A and the remote server
The remote application is opened in words connection and instruction.
The mandate access user information is pre-stored in the AM access module, and can be according to demand into Mobile state
Configuration realizes that the dynamic of remote session is established.The authorization identifying information can be pre-stored in the AM access module, described
AM access module can obtain the authorization identifying information in advance.
S503:The AM access module sends the emulation session request to the remote server.
S504:The remote server asks to carry out authorization identifying according to the emulation session, if authorization identifying passes through,
Then follow the steps S505.
S505:The remote server returns to session and confirms response, and it is related that the session confirms that response carries the application
Data.
After authorization identifying passes through, the remote server can be that emulation session request returns to session confirmation sound
It answers, to confirm that establishing remote session with the cloud terminal A connect.Further, the remote server is authorized in the cloud terminal A
After certification success, the calculating logic of the remote application according to the mark of the application, can be called to carry out operation, to open
The remote application, and in the remote session of the foundation, the relevant number of remote application is returned for the cloud terminal A
According to, such as word is opened, the application interface opened after word is returned to, then it is described remote to confirm that response can also carry for the session
The relevant data of Cheng Yingyong.
S506:The session is confirmed that response is transmitted to the cloud terminal A by the AM access module, to establish the cloud terminal
A connect with the remote session of the remote server and realizes the access to the application.
S507:The AM access module confirms according to the session to be responded, to be described using the remote session used point
With session identification, and it is corresponding with the mark of the application to record the session identification of remote session used in the remote application
Relationship.
The AM access module can confirm response according to the session received, determine that the remote server is true
Recognize and establish remote session with the cloud terminal A and connect, described can distribute session identification using the remote session used, and
Record the correspondence of the session identification of remote session used in the remote application and the mark of the application so that follow-up
It can be according to the mark of the application, it may be determined that transmit the remote session of the data of the application.
S508:The cloud terminal A carries cloud to the AM access module sending application sharing request, the Application share request
The mark of terminal B and the mark of the application.
The cloud terminal A can give the application data sharing of itself to other cloud terminals, such as cloud according to the instruction of user
Terminal B, then the cloud terminal A can be to the AM access module sending application sharing request, and the Application share request, which carries, to be waited for
The information of shared cloud terminal and the mark of application to be shared, such as the mark of cloud terminal B and the mark of the application.
The cloud terminal A can give the application data sharing of itself to one or more cloud terminals, therefore the cloud terminal B
Can be one or more, the embodiment of the present invention is not limited thereto.
S509:The mark for the application that the AM access module is carried according to Application share request determines described remote
Remote session used in Cheng Yingyong.
Since the AM access module has recorded the correspondence of the mark and the mark of the remote session of the application, because
This described AM access module can according to the mark of the application, confirm it is described using remote session mark, and then really
It is fixed described using remote session,
S510:The AM access module caches to be sent in cloud terminal A remote sessions used in the remote application
Application data.
During the cloud terminal A accesses the application by the remote session, the AM access module is to described
Data in remote session are forwarded, and therefore, the AM access module can receive and cache the cloud terminal A described
The application data sent in remote session used in remote application, so that the institute that can subsequently open the cloud terminal A
The data sharing of application is stated to the cloud terminal B.
S511:The AM access module is asked according to the Application share, is invited to the cloud terminal B sending applications are shared.
The AM access module can also be invited to the cloud terminal B sending applications are shared, described in cloud terminal B receiving
When Application share is invited, just the data sharing of the application of the cloud terminal A is given to the cloud terminal B, the Application share
Request can also carry the information of shared user, i.e., the information of the described cloud terminal A, or can also carry the letter of sharing application
Breath.
S512:The cloud terminal B returns to Application share to the AM access module and confirms response.
S513:The AM access module will be in cloud terminal A remote sessions used in the remote application of caching
The application data of transmission are supplied to the cloud terminal B.
When cloud terminal B confirmations receive Application share invitation, the AM access module can be whole by the cloud of caching
The application data forwarding sent in the A remote sessions used in the remote application of end is to the cloud terminal B, to realize application
Data are shared.
In embodiments of the present invention, the data in the remote application that the AM access module can access the cloud terminal A
Cloud terminal B is shared to, specifically, the AM access module can obtain the emulation session request of cloud terminal A, and by the simulation meeting
Words request is sent to the remote server, to realize access of the cloud terminal A to remote application A, and can be according to cloud end
The application identities that the Application share request that A is sent carries are held, determine remote session used in the remote application, and will be described
Data in remote session used in remote application are supplied to the cloud terminal B, realize the data sharing based on application, are not required to
The shared of data is realized by remote server, improved data sharing efficiency, avoided and be based on third party in the prior art
Shared agreement carries out the problem of low sharing efficiency caused by data sharing, system resource waste, avoids shared other than application
Other desktop datas, improve sharing efficiency, saved system resource, reduce the shared bandwidth of system.
A kind of device for establishing remote session
As shown in fig. 6, an embodiment of the present invention provides a kind of device for establishing remote session, described device includes:It receives
Unit 601, acquiring unit 602 and transmission unit 606.
The receiving unit 601 is used to receive the first remote session request of the first cloud terminal transmission, and described first is long-range
Session request is used to ask to establish the first cloud terminal and the remote session of remote server connects, first remote session
Request carries the mark of the first cloud terminal.
The acquiring unit 602 is used for when determining that it includes the mark of the first cloud terminal to authorize access user information,
The authorization identifying information pre-saved is obtained, the authorization identifying information is used for the authorization identifying by the remote server,
It is described to authorize the access user information i.e. information with the cloud terminal using the authorization identifying information qualification, the mandate access
User information can dynamic configuration according to demand, such as when newly increasing cloud terminal B in system, the mandate accessing user is believed
Breath is configured so that the mandate access user information includes the mark of cloud terminal B, then the cloud terminal B can use institute
The authorization identifying information pre-saved in AM access module is stated, the dynamic configuration of authorization identifying information is realized.
The transmission unit 606 is used for according to first remote session request and the authorization identifying information, to institute
It states remote server and sends the corresponding emulation session request of the first remote session request, the emulation session request is for asking
Ask and establish the first cloud terminal and connect with the remote session of the remote server, the emulation session request carry described in award
Weigh authentication information so that according to the authorization identifying information can by the authorization identifying of the remote server so that
The remote server confirmation is established remote session with the first cloud terminal and is connect, to realize the long-range of the first cloud terminal
Application access.The emulation session request can have the transmission unit 606 to be awarded according to described in the acquisition of the acquiring unit 602
Power authentication information and first remote session request to generate.
Device described further can also include:
Interactive unit 604, the second remote session request for receiving the transmission of the second cloud terminal, second remote session
Request is used to ask to establish the second cloud terminal and be connect with the remote session of the remote server, second remote session
Request carries the authorization identifying information, preserves the authorization identifying information, and it is remote to send described second to the remote server
Journey session request, and receive the connection that the remote server returns and confirm response, it is described that the connection confirms that response shows
Remote server confirmation is established remote session with the first cloud terminal and is connect;Then, the acquiring unit 602 is specifically used for true
Surely it when mandate access user information includes the mark of the first cloud terminal, obtains the mandate from the interactive unit 604 and recognizes
Demonstrate,prove information.
Further, described device can also include:
First granted unit 605, the authorization requests sent for receiving the second cloud terminal, the authorization requests carry
The mandate access user information, the mandate access user information include the mark of the first cloud terminal, are awarded described in preservation
Weigh access user information.
The acquiring unit 602 is additionally operable to, according to first granted unit 605, determine the mandate access user information
Whether the mark of the first cloud terminal is included.It includes institute that the acquiring unit 602 authorizes access user information shown in determination
When stating the mark of the first cloud terminal, the authorization identifying information is obtained from the interactive unit 604.
Further, described device can also include:
Second granted unit 606, the mandate access user information for obtaining and preserving user configuration, the mandate
Access user information includes the mark of the first cloud terminal.Then the acquiring unit 602 is additionally operable to authorize according to described second
Unit 606, determines whether the mandate access user information includes the mark of the first cloud terminal.
In embodiments of the present invention, in embodiments of the present invention, the receiving unit 601 can receive the first cloud terminal hair
The the first remote session request sent, the acquiring unit 602 are determining that it includes the first cloud terminal to authorize access user information
Mark when, the authorization identifying information pre-saved can be obtained, the transmission unit 606 can be according to the described first long-range meeting
Words request and the authorization identifying information send first remote session to remote server and ask corresponding simulation
Session request, the emulation session request carries the authorization identifying information, to what is carried by emulation session request
Authorization identifying information can pass through the authorization identifying of the remote server so that the remote server determines and described first
Cloud terminal establishes remote session connection, the mandate access user information can dynamic configuration according to demand, realize long-range meeting
The dynamics of words is established, in avoiding in the prior art can not dynamic configuration authorization identifying information, can not dynamically establish remote session
The problem of connection.
A kind of data sharing device
As shown in fig. 7, an embodiment of the present invention provides a kind of data sharing device, described device includes:
Acquiring unit 701, the emulation session request for obtaining the first cloud terminal, the emulation session request, which carries, to be authorized
The mark of authentication information and application, the emulation session request access remote application for asking, and the mark of the application is used for
Identify the remote application.Specifically, the acquiring unit 701 can receive the remote session that the first cloud terminal is sent and ask
It asks, the remote session request carries the mark of the application and the mark of the first cloud terminal, and access is authorized determining
When user information includes the mark of the first cloud terminal, the authorization identifying information is obtained, according to the authorization identifying information
And the remote session request, generate the emulation session request, wherein the mandate access user information and the mandate
Authentication information can be pre-stored in the acquiring unit 701;Or the first cloud terminal can send the simulation meeting
Words request, the acquiring unit 701 can receive the emulation session request that the first cloud terminal is sent.
Interactive unit 702 receives the remote server and returns for sending the emulation session request to remote server
The session returned confirms that response, the session confirm that response carries the data of the remote application, and the session is confirmed response hair
Give the first cloud terminal;
Shared cell 703, the Application share request sent for receiving the first cloud terminal, the Application share request
The mark of the second cloud terminal and the mark of the application are carried, according to the mark of the application, determines the remote application institute
The remote session used, and it is supplied to second cloud whole data in remote session used in the remote application
End.Specifically, the first cloud terminal, can be with sending application sharing request when accessing the remote application, will be described remote
The data sharing of Cheng Yingyong gives other cloud terminals, the Application share request to carry the mark of client to be shared, such as second
The mark of cloud terminal and the mark of application to be shared, for example, the application mark, the shared cell 703 can basis
The mark for the application that the Application share request carries, determines the remote session for the data for transmitting the remote application, from
And the data on remote session used in the remote application can be subsequently sent to the second cloud terminal, with realize by
The second cloud terminal is given in the data sharing of the remote application of the first cloud terminal access.
Further, described device can also include:
Allocation unit 704, for distributing session identification, and record institute for remote session used in the remote application
State the correspondence of the session identification of remote session used in remote application and the mark of the application.
Then, the mark and the correspondence that the shared cell 703 can be according to the application determine described long-range
Using used remote session.The shared cell 703 can also cache the first cloud terminal in the remote application institute
The data of the caching are sent to the second cloud terminal by the data sent in the remote session used.
In embodiments of the present invention, the AM access module can be by the number in the remote application of the first cloud terminal access
According to the second cloud terminal is shared to, specifically, the AM access module can obtain the emulation session request of the first cloud terminal, and by institute
It states emulation session request and is sent to the remote server, to realize the access of the first cloud terminal-pair remote application A, and can root
The application identities that the Application share request sent according to the first cloud terminal carries determine long-range used in the remote application
Session, and the data in remote session used in the remote application are supplied to the second cloud terminal, it realizes and is based on answering
Data sharing need not be realized the shared of data by remote server, improve data sharing efficiency, avoid existing
The problem of agreement carries out low sharing efficiency caused by data sharing, system resource waste is shared based on third party in technology, is avoided
Shared other desktop datas other than application improve sharing efficiency, have saved system resource, reduce the shared of system
Bandwidth.
A kind of system for establishing remote session provided in an embodiment of the present invention, as shown in Figure 1, the system comprises:First
Cloud terminal 110a, AM access module 120 and remote server 130;
The first cloud terminal 110a is used to send the first remote session to the AM access module 120 and ask, and described first
Remote session request is used to ask to establish the first cloud terminal 110a and be connect with the remote session of the remote server 130,
The first remote session request carries the mark of the first cloud terminal 110a;
The AM access module 120 authorizes access user information packet for receiving the first remote session request determining
When including the mark of the first cloud terminal 110a, authorization identifying information is obtained, described first is sent to the remote server 130
Remote session asks corresponding emulation session request, the emulation session request to establish the first cloud terminal 110a for asking
It is connect with the remote session of the remote server 130, the emulation session request carries the authorization identifying information, wherein
The mandate access user information and the authorization identifying information are pre-stored in the AM access module 120;
The remote server 130 is for receiving the emulation session request.It is awarded since emulation session request carries
Weigh authentication information, then it can be described long-range by the authorization identifying of the remote server 130 according to the authorization identifying information
Server 130 confirms establishes remote session request with the first cloud terminal 110a, and the dynamic for realizing remote session request is built
It is vertical.
Further, the system can also include:
Second cloud terminal 110b, for sending the request of the second remote session to the AM access module 120, described second is long-range
Session request is used to ask to establish the second cloud terminal 110b and be connect with the remote session of the remote server 130, described
The request of second remote session carries the authorization identifying information;
The AM access module 120 is specifically used for receiving second remote session request that the second cloud terminal 110b is sent,
The authorization identifying information is preserved, the second remote session request is sent to the remote server 130, receives described long-range
The connection that server 130 returns confirms response;
The remote server 130 is additionally operable to receive second remote session request of the transmission of the AM access module 120,
When confirming that establishing remote session with the first cloud terminal 110a connect, sends the connection to the AM access module 120 and confirm
Response.
In embodiments of the present invention, it is long-range can to receive the first cloud terminal 110a is sent first for the AM access module 120
Session request can obtain advance guarantor when determining that it includes the mark of the first cloud terminal 110a to authorize access user information
The authorization identifying information deposited, and send first remote session to remote server 130 and ask corresponding emulation session request,
The emulation session request carries the authorization identifying information, to which the authorization identifying carried by emulation session request is believed
Breath can pass through the authorization identifying of the remote server 130 so that the remote server 130 determines whole with first cloud
End 110a establishes remote session connection, the mandate access user information can dynamic configuration according to demand, realize long-range meeting
The dynamics of words is established, in avoiding in the prior art can not dynamic configuration authorization identifying information, can not dynamically establish remote session
The problem of connection.
The system of a kind of data sharing provided in an embodiment of the present invention, as shown in Figure 1, the system comprises the first cloud terminals
110a, AM access module 120 and remote server 130;
The AM access module 120 is used to obtain the emulation session request of the first cloud terminal 110a, the emulation session
Request carries the mark of authorization identifying information and application, and the emulation session request accesses remote application for asking, described to answer
Mark sends the emulation session for identifying the remote application, to the remote server 130 and asks, described in reception
The session that remote server 130 returns confirms response, and the session is confirmed that response is sent to the first cloud terminal 110a, is connect
The Application share request that the first cloud terminal 110a is sent is received, is asked according to the Application share, determines the remote application
Data in remote session used in the remote application are supplied to the second cloud terminal by used remote session
110b realizes the data sharing based on application.
The remote server 130 is used to receive the emulation session request of the transmission of the AM access module 120, to described
AM access module 120 returns to the session and confirms that response, the session confirm that response carries the data of the remote application;
The session that the first cloud terminal 110a is used to receive the transmission of the AM access module 120 confirms response, with reality
The existing first cloud terminal 110a is with the remote session establishment of connection of the remote server 130 and realization to described long-range
The access of application sends the Application share request to the AM access module 120, and it is whole that the Application share request carries the second cloud
Hold the mark of 110b and the mark of the application.
Further, the AM access module 120 can receive the remote session request that the first cloud terminal 110a is sent, institute
It states remote session request and carries the mark of the application and the mark of the first cloud terminal 110a, authorize access to use determining
When family information includes the mark of the first cloud terminal 110a, the authorization identifying information is obtained and according to the authorization identifying
Information and the remote session request to generate emulation session request, wherein the mandate access user information and described
Authorization identifying information is pre-stored in the AM access module 120.
In embodiments of the present invention, what the AM access module 120 can access the first cloud terminal 110a remotely answers
The second cloud terminal 110b is given in data sharing in, and specifically, the application that can be sent according to the first cloud terminal 110a is total
The application identities that request carries are enjoyed, determine remote session used in the remote application, and the remote application is used
Remote session in data be supplied to the second cloud terminal 110b, realize the data sharing based on application, need not pass through
Remote server 130 realizes the shared of data, improves data sharing efficiency, avoids shared based on third party in the prior art
Agreement carries out the problem of low sharing efficiency caused by data sharing, system resource waste, avoids sharing its other than application
His desktop data, improves sharing efficiency, has saved system resource, reduce the shared bandwidth of system.
It will be recognized by those of ordinary skill in the art that the possibility realization method of various aspects of the invention or various aspects
It can be embodied as system, method or computer program product.Therefore, each aspect of the present invention or various aspects
Complete hardware embodiment, complete software embodiment (including firmware, resident software etc.) may be used in possible realization method, or
The form of the embodiment of integration software and hardware aspect, collectively referred to herein as " circuit ", " module " or " system ".In addition,
The form of computer program product, computer journey may be used in the possibility realization method of each aspect of the present invention or various aspects
Sequence product refers to the computer readable program code of storage in computer-readable medium.
Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer can
Read storage medium including but not limited to electronics, magnetism, optics, electromagnetism, infrared or semiconductor system, equipment either device or
It is above-mentioned arbitrary appropriately combined, such as random access memory (RAM), read-only memory (ROM), the read-only storage of erasable programmable
Device (EPROM or flash memory), optical fiber, portable read-only memory (CD-ROM).
Processor in computer reads the computer readable program code of storage in computer-readable medium so that place
Reason device is able to carry out function action specified in the combination of each step or each step in flow charts;It generates and implements in block diagram
Each piece or each piece of combination specified in function action device.
Computer readable program code can execute on the user's computer completely, part is held on the user's computer
Row, as individual software package, part on the user's computer and part on the remote computer, or completely long-range
It is executed on computer or server.It is also noted that in certain alternate embodiments, each step or frame in flow charts
Each piece of function of indicating may not be occurred by the sequence indicated in figure in figure.For example, depending on involved function, show in succession
Two steps or two blocks gone out may be actually executed substantially concurrently or these blocks sometimes may be by with opposite suitable
Sequence executes.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (14)
1. a kind of method for establishing remote session, which is characterized in that including:
AM access module receives the first remote session request that the first cloud terminal is sent, and the first remote session request is for asking
The remote session for establishing the first cloud terminal and remote server connects, and the first remote session request carries described first
The mark of cloud terminal;
When the AM access module determines that it includes the mark of the first cloud terminal to authorize access user information, authorization identifying letter is obtained
Breath, the mandate access user information and the authorization identifying information are pre-stored in the AM access module;
The AM access module sends first remote session to the remote server and asks corresponding emulation session request, institute
It states emulation session to ask to be used to ask to establish the first cloud terminal to connect with the remote session of the remote server, the mould
Quasi- session request carries the authorization identifying information;
The AM access module receives the authorization requests that the first cloud terminal is sent, and the authorization requests carry the second cloud terminal
Mark;
The mark of the second cloud terminal is stored in the mandate access user information by the AM access module.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
The AM access module receives the second remote session request that the first cloud terminal is sent, the second remote session request
It is connect with the remote session of the remote server for asking to establish the first cloud terminal, the second remote session request
Carry the authorization identifying information;
The AM access module preserves the authorization identifying information;
The AM access module sends the second remote session request to the remote server;
The AM access module receives the connection that the remote server returns and confirms response, and it is described that the connection confirms that response shows
Remote server confirmation is established remote session with the first cloud terminal and is connect.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
The AM access module receives the third remote session request that third cloud terminal is sent, and the third remote session request is used for
Request is established the third cloud terminal and is connect with the remote session of the remote server, and the third remote session request carries
The authorization identifying information;
The AM access module preserves the authorization identifying information;
The AM access module sends the third remote session request to the remote server;
The AM access module receives the connection that the remote server returns and confirms response, and it is described that the connection confirms that response shows
Remote server confirmation is established remote session with the third cloud terminal and is connect.
4. according to the method described in claim 2, it is characterized in that, the method further includes:
The AM access module obtains and preserves the mandate access user information of user configuration, the mandate access user information
Include the mark of the first cloud terminal.
5. according to claim 1-4 any one of them methods, which is characterized in that AM access module receives what the first cloud terminal was sent
After the request of first remote session, before obtaining authorization identifying information, the method further includes:
The AM access module determines whether the mandate access user information includes the mark of the first cloud terminal.
6. according to claim 1-4 any one of them methods, which is characterized in that AM access module receives what the first cloud terminal was sent
After the request of first remote session, sends first remote session to the remote server and corresponding emulation session is asked to be asked
Before asking, the method further includes:
According to the authorization identifying information, generates first remote session and ask corresponding emulation session request.
7. a kind of device for establishing remote session, which is characterized in that described device includes:
Receiving unit, the first remote session request for receiving the transmission of the first cloud terminal, the first remote session request are used
The remote session that the first cloud terminal and remote server are established in request connects, and the first remote session request carries institute
State the mark of the first cloud terminal;
Acquiring unit, for when determining that it includes the mark of the first cloud terminal to authorize access user information, obtaining and protecting in advance
The authorization identifying information deposited;
Transmission unit asks corresponding emulation session request for sending first remote session to the remote server,
The emulation session request is used to ask to establish the first cloud terminal and be connect with the remote session of the remote server, described
Emulation session request carries the authorization identifying information;
The receiving unit is additionally operable to receive the authorization requests that the first cloud terminal is sent, and the authorization requests carry second
The mark of cloud terminal;
The acquiring unit is additionally operable to the mark of the second cloud terminal being stored in the mandate access user information.
8. device according to claim 7, which is characterized in that described device further includes:
Interactive unit, the second remote session request sent for receiving the first cloud terminal, second remote session are asked
It asks and is connect with the remote session of the remote server for asking to establish the first cloud terminal, second remote session is asked
It asks and carries the authorization identifying information;Preserve the authorization identifying information;It is long-range that described second is sent to the remote server
Session request;And receive the connection that the remote server returns and confirm response, it is described remote that the connection confirms that response shows
The confirmation of journey server is established remote session with the first cloud terminal and is connect;
Then the acquiring unit is specifically used for when determining that it includes the mark of the first cloud terminal to authorize access user information, from
The interactive unit obtains the authorization identifying information.
9. device according to claim 7, which is characterized in that described device further includes:
Interactive unit, the third remote session request for receiving the transmission of third cloud terminal, the third remote session request are used
The third cloud terminal is established in request to connect with the remote session of the remote server, the third remote session request is taken
With the authorization identifying information;Preserve the authorization identifying information;The third remote session is sent to the remote server
Request;And it receives the connection that the remote server returns and confirms that response, the connection confirm that response shows the long-range clothes
Business device confirmation is established remote session with the third cloud terminal and is connect;
Then the acquiring unit is specifically used for when determining that it includes the mark of the third cloud terminal to authorize access user information, from
The interactive unit obtains the authorization identifying information.
10. device according to claim 8, which is characterized in that described device further includes:
Second granted unit, the mandate access user information for obtaining and preserving user configuration, the mandate access are used
Family information includes the mark of the first cloud terminal.
11. according to claim 7-10 any one of them devices, which is characterized in that the transmission unit is additionally operable to according to
The authorization identifying information that acquiring unit obtains generates first remote session and the corresponding emulation session is asked to be asked
It asks.
12. a kind of system for establishing remote session, which is characterized in that the system comprises:First cloud terminal, AM access module and remote
Journey server;
The first cloud terminal is used to send the request of the first remote session, the first remote session request to the AM access module
It is connect with the remote session of the remote server for asking to establish the first cloud terminal, the first remote session request
Carry the mark of the first cloud terminal;
The AM access module is determining that it includes described the to authorize access user information for receiving first remote session request
When the mark of one cloud terminal, authorization identifying information is obtained, the first remote session request pair is sent to the remote server
The emulation session request answered, the emulation session request establish the first cloud terminal and the remote server for asking
Remote session connects, and emulation session request carries the authorization identifying information, wherein the mandates access user information with
The authorization identifying information is pre-stored in the AM access module;The mandate for being additionally operable to receive the first cloud terminal transmission is asked
It asks, the authorization requests carry the mark of the second cloud terminal, and the mark of the second cloud terminal is stored in the mandate and is accessed
User information;
The remote server is for receiving the emulation session request.
13. system according to claim 12, which is characterized in that the first cloud terminal is additionally operable to the access mould
Block sends the request of the second remote session, second remote session request for ask to establish the first cloud terminal with it is described remote
The remote session of journey server connects, and the second remote session request carries the authorization identifying information;
Second remote session that the AM access module is specifically used for receiving the first cloud terminal transmission is asked, described in preservation
Authorization identifying information sends the second remote session request to the remote server, receives the remote server and return
Connection confirm response;
The remote server is additionally operable to receive second remote session request that the AM access module is sent, confirm with it is described
When first cloud terminal establishes remote session connection, sends the connection to the AM access module and confirm response.
14. system according to claim 12, which is characterized in that the system also includes:
Third cloud terminal, for sending the request of third remote session to the AM access module, the third remote session request is used
The third cloud terminal is established in request to connect with the remote session of the remote server, the third remote session request is taken
With the authorization identifying information;
The third remote session that the AM access module is specifically used for receiving the third cloud terminal transmission is asked, described in preservation
Authorization identifying information sends the third remote session request to the remote server, receives the remote server and return
Connection confirm response;
The remote server is additionally operable to receive the third remote session request that the AM access module is sent, confirm with it is described
When third cloud terminal establishes remote session connection, sends the connection to the AM access module and confirm response.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310753475.3A CN104754015B (en) | 2013-12-31 | 2013-12-31 | A kind of methods, devices and systems for establishing remote session |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310753475.3A CN104754015B (en) | 2013-12-31 | 2013-12-31 | A kind of methods, devices and systems for establishing remote session |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104754015A CN104754015A (en) | 2015-07-01 |
CN104754015B true CN104754015B (en) | 2018-11-13 |
Family
ID=53593108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310753475.3A Active CN104754015B (en) | 2013-12-31 | 2013-12-31 | A kind of methods, devices and systems for establishing remote session |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104754015B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791309B (en) * | 2016-04-14 | 2019-09-17 | 北京小米移动软件有限公司 | A kind of method, apparatus and system executing business processing |
CN107612954A (en) * | 2016-07-12 | 2018-01-19 | 鸿富锦精密电子(天津)有限公司 | Control terminal, mobile device, mobile device control system and method |
CN111131287B (en) * | 2019-12-30 | 2022-06-17 | 深圳市创维软件有限公司 | Method for starting remote service of equipment, server and storage medium |
CN112187718B (en) * | 2020-08-31 | 2021-12-17 | 西安雷风电子科技有限公司 | Remote access cloud terminal and system of IDV cloud desktop |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080899A (en) * | 2005-04-18 | 2007-11-28 | 捷讯研究有限公司 | Method and system for remote server administration |
CN101453394A (en) * | 2007-12-03 | 2009-06-10 | 华为技术有限公司 | Method, system and equipment for access control |
CN102594914A (en) * | 2012-03-15 | 2012-07-18 | 广州亦云信息技术有限公司 | Remote debugging method based on cloud platform |
CN102769631A (en) * | 2012-07-31 | 2012-11-07 | 华为技术有限公司 | Method, system and access equipment for accessing Cloud server |
CN103095721A (en) * | 2013-01-31 | 2013-05-08 | 北京惠银通联科技有限公司 | A method and terminal and system for establishing secure connection |
-
2013
- 2013-12-31 CN CN201310753475.3A patent/CN104754015B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101080899A (en) * | 2005-04-18 | 2007-11-28 | 捷讯研究有限公司 | Method and system for remote server administration |
CN101453394A (en) * | 2007-12-03 | 2009-06-10 | 华为技术有限公司 | Method, system and equipment for access control |
CN102594914A (en) * | 2012-03-15 | 2012-07-18 | 广州亦云信息技术有限公司 | Remote debugging method based on cloud platform |
CN102769631A (en) * | 2012-07-31 | 2012-11-07 | 华为技术有限公司 | Method, system and access equipment for accessing Cloud server |
CN103095721A (en) * | 2013-01-31 | 2013-05-08 | 北京惠银通联科技有限公司 | A method and terminal and system for establishing secure connection |
Also Published As
Publication number | Publication date |
---|---|
CN104754015A (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10827503B2 (en) | Systems and methods for social-aware cooperative device-to-device communications | |
CN108306819A (en) | Instant communicating system implementation method, medium and computing device based on block chain | |
CN104754015B (en) | A kind of methods, devices and systems for establishing remote session | |
CN105378659A (en) | Method and system for enabling access of client device to remote desktop | |
CN105939335A (en) | Method and system for managing channel ownership in a publish-subscribe data processing environment | |
CN105531979B (en) | It is a kind of for exchanging the method and server of data between a client and a server | |
CN105099986B (en) | A kind of sharing method and server of online game game data | |
KR101999780B1 (en) | Server, device and method for providing instant messeging service by using virtual chatbot | |
CN109769227A (en) | End-to-end M2M services layer conversation | |
CN103916311A (en) | Information transmission control method, device and system | |
CN102333065A (en) | Cloud interaction protocol design | |
CN110548284A (en) | split screen interaction method and device based on cloud game | |
CN107920138A (en) | A kind of user's unifying identifier generation method, apparatus and system | |
CN109345242A (en) | Key storage, update method, device, equipment and medium based on block chain | |
CN108900562B (en) | Login state sharing method and device, electronic equipment and medium | |
CN108964893A (en) | A kind of cipher key processing method, device, equipment and medium | |
CN108837505B (en) | Network game data transmission method and system | |
CN100593779C (en) | Communication system and method for sharing information by mobile network interface | |
CN104219401B (en) | The distribution method of a kind of phone number, Apparatus and system | |
JP2008186338A (en) | Account linking system, account linking method, link server device, client device | |
CN106161224A (en) | Method for interchanging data, device and equipment | |
CN113141404B (en) | Intelligent gateway and data sharing system | |
CN110430478B (en) | Networking communication method, device, terminal equipment and storage medium | |
CN105357239A (en) | Method and device for providing service, and method and device for acquiring service | |
JP2007243655A (en) | Vpn management device, program and vpn management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220216 Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province Patentee after: Huawei Cloud Computing Technology Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |