CN108347462A - A kind of method and apparatus of communicating operational data - Google Patents
A kind of method and apparatus of communicating operational data Download PDFInfo
- Publication number
- CN108347462A CN108347462A CN201710057119.6A CN201710057119A CN108347462A CN 108347462 A CN108347462 A CN 108347462A CN 201710057119 A CN201710057119 A CN 201710057119A CN 108347462 A CN108347462 A CN 108347462A
- Authority
- CN
- China
- Prior art keywords
- session
- target remote
- gateway
- remote device
- gateway device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- 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
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/142—Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
-
- 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/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- 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/148—Migration or transfer of sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The purpose of the application is to provide a kind of method and apparatus of communicating operational data, the application is by being introduced into the data forwarding point that gateway device is used as in remote login procedure, the gateway device obtains the session that management equipment synchronizes, dialogue-based to establish session connection with corresponding target remote device;It is established after session connection between gateway device and target remote device, gateway device receives and records the operational order under the session of peripheral equipment transmission, and operational order is sent to target remote device, then receive and record the operating result that target remote device is returned based on operational order, and operating result is sent to peripheral equipment, it realizes and the operation data of all transmission between all user equipmenies and target remote device is all transmitted and is collected in this gateway device, not only avoid any operation of the user equipment to operation data, also assure safety and the integrality of all operation datas during session connection.
Description
Technical field
This application involves computer realm more particularly to a kind of method and apparatus of communicating operational data.
Background technology
In the prior art, ssh (Secure Shell, secure remote login agreement) is in linux operating systems for remote
The basic function of Cheng Denglu, using with ssh (Secure Shell, secure remote login agreement) related software (for example,
Putty, secureCRT etc.) telnet server is carried out, but some optimizations have been done to the login interface of user equipment.It is existing
Target logging device is logged in technology by traditional ssh modes to be operated, the specific steps are:First choice is set in target login
(logging request for receiving ssh in linux operating systems simultaneously logs on to target and logs in base on machine by standby upper startup sshd
Plinth service) service;Then, configuration registry account and key and card for logging in the ssh used on target login machine
Book;Finally, after key and certification authentication pass through, target is logged on to by ssh in the user equipment for Telnet and is stepped on
On recording apparatus, realize user equipment by way of point-to-point in Telnet to target logging device;But due to point-to-point
Login mode, it is difficult supervision to lead to flow and operation between user equipment and target logging device;Again due to passing through ssh modes
When carrying out Telnet, be user equipment with target logging device be it is point-to-point be directly connected to, can cause to step on target
The operational order that recording apparatus carries out can only record user equipment by the history (historical record) in linux operating systems
The operation of the order line in operational order is carried out to target logging device, if user equipment has the ability to put forward power and deletes these behaviour
Make instruction and the corresponding operating result of operational order if, then can cause include operational order and operating result operand
According to safety cannot be guaranteed and the loss of operation data.
Invention content
The purpose of the application is to provide a kind of method and apparatus of communicating operational data, solves to pass through traditional ssh
Mode logs in target logging device and is operated, and the safety of caused operation data cannot be guaranteed and operation data is lost
The problem of mistake.
According to the one side of the application, a kind of method in gateway device end communicating operational data, this method are provided
Including:
The session that management equipment synchronizes is obtained, establishing session with corresponding target remote device based on the session connects
It connects;
It receives and records the operational order under the session that peripheral equipment is sent, and the operational order is sent to institute
State target remote device;
Receive and record the operating result that the target remote device is returned based on the operational order, and by the operation
As a result it is sent to the peripheral equipment.
Further, in the above method, the session includes session identification, the corresponding target remote device and described
Corresponding process identification (PID) in target remote device.
Further, described to obtain the session that synchronizes of management equipment in the above method, based on the session with it is corresponding
Target remote device establish session connection, including:
Obtain the session that management equipment synchronizes;
Based on corresponding process identification (PID) on the session identification and corresponding target remote device, judge corresponding with the session
Target remote device whether have built up session connection;
If so, obtaining the session connection being had built up in the corresponding target remote device of the process identification (PID).
Further, in the above method, it is described based on the session identification and corresponding target remote device it is corresponding into
Journey identifies, and judges whether target remote device corresponding with the session has built up session connection, further includes:
If it is not, then the corresponding not connected notice of the session is sent to the management equipment, to wait for that the management equipment will
The not connected notice is sent to the target remote device;
Obtain the not connected notice of the target remote device based on reception, the session connection request of transmission;
Based on the session connection request and the session identification and corresponding process identification (PID) in target remote device is corresponded to,
Session process corresponding with the target remote device establishes session connection.
Further, described to be based on the session connection request and the session identification and corresponding target in the above method
Corresponding process identification (PID) on remote equipment, session process corresponding with the target remote device establish session connection, including:
It will be in corresponding process identification (PID) and the session connection request on the session identification and corresponding target remote device
Session identification and its corresponding process identification (PID) be compared,
When comparison result is consistent, session process corresponding with the target remote device establishes session connection.
According to further aspect of the application, a kind of method of the communicating operational data at management equipment end is provided,
In, the method includes:
Session is established, by the session synchronization to corresponding gateway device, based on the gateway device according to the session
The session connection state of feedback notifies corresponding target remote device to establish session connection with the gateway device;
Receive the gateway requests that the operational order under the session of the peripheral equipment based on reception is sent;
The corresponding gateway equipment of the session synchronization is notified to the peripheral equipment based on the gateway requests.
Further, in the above method, the session includes session identification, the corresponding target remote device and described
Corresponding process identification (PID) in target remote device.
Further, in the above method, it is described based on the gateway device according to the session connection state of the session
Feedback notifies corresponding target remote device to establish session connection with the gateway device, including:
It receives the gateway device and is based on corresponding process identification (PID) in the session identification and corresponding target remote device, instead
The corresponding target remote device of the session of feedback does not set up the corresponding not connected notice of the state of connection with the gateway device;
Based on the not connected notice, notice target remote device starts the corresponding session process of the process identification (PID), institute
It states session process and sends session connection request to the gateway device.
Further, in the above method, the management equipment receives the net including local host node and locally from node
Close equipment and be based on corresponding process identification (PID) in the session identification and corresponding target remote device, feedback it is corresponding with the session
Target remote device the corresponding not connected notice of the state of connection is not set up with the gateway device, including:
The not connected notice is received by local host node, and the not connected notice is sent to locally from node;
Based on the not connected notice, notice target remote device starts the corresponding session process of the process identification (PID) to institute
It states gateway device and sends session connection request, including:
It is based on the not connected notice from node by the local, notice target remote device starts the process identification (PID)
Corresponding session process sends session connection request to the gateway device.
Further, described that corresponding target remote device is notified to establish session with the gateway device in the above method
Before connection, further include:
Long connection is established with target remote device.
Further, described to establish long connection with target remote device in the above method, including:
By local long connection is established from node and the target remote device.
According to further aspect of the application, a kind of method in target remote device end communicating operational data is provided,
Wherein, the method includes:
Judge whether to get the notice for establishing session connection with corresponding gateway device that management equipment is sent, if so,
Based on the notice session connection is established with corresponding gateway device;
Receive the operational order under the corresponding session of the session connection that the gateway device is sent;
It executes the operational order and obtains corresponding operating result, and the operating result is sent to the gateway and is set
It is standby.
Further, in the above method, the session includes session identification, the corresponding target remote device and described
Corresponding process identification (PID) in target remote device.
Further, in the above method, judge whether to get establishing with corresponding gateway device for management equipment transmission
After the notice of session connection, further include:
It is had built up in the corresponding target remote device of the process identification (PID) if it is not, obtaining from the gateway device
Session connection.
Further, described that session connection is established with corresponding gateway device based on the notice in the above method, also wrap
It includes:
Receive the notice that session connection is established with corresponding gateway device that the management equipment is sent;
Based on the notice, start the session process in the corresponding target remote device of the process identification (PID), the session
Process sends session connection request to the gateway device;
The receiving feedback that the session connection request is received based on the gateway device establishes session with the gateway device
Connection.
Further, in the above method, what the reception management equipment was sent establishes meeting with corresponding gateway device
The notice of connection is talked about, including:
Receive that the management equipment sent by local from node establishes the logical of session connection with corresponding gateway device
Know.
Further, described judging whether to get management equipment transmission with corresponding gateway device in the above method
The notice of session connection is established, if so, before establishing session connection with corresponding gateway device based on the notice, further includes:
Long connection is established with management equipment.
Further, described to establish long connection with management equipment in the above method, including:
With management equipment locally long connection is established from node.
According to further aspect of the application, a kind of method in peripheral equipment end communicating operational data is provided, wherein
The method includes:
The operational order under the same session sent based on user equipment sends gateway requests to management equipment;
It receives the management equipment and is based on the corresponding gateway device of gateway requests return;
The operational order is sent to the gateway device, and receives the gateway device and is sent out based on the operational order
The operating result sent;
The operating result is sent to the user equipment.
Further, in the above method, the session includes session identification, corresponding process identification (PID) and the corresponding mesh
Mark remote equipment.
According to further aspect of the application, a kind of gateway device of communicating operational data is provided, wherein the gateway
Equipment includes:
Session connection device, the session synchronized for obtaining management equipment are based on the session and corresponding target
Remote equipment establishes session connection;
Lower transmitting apparatus, the operational order under the session for receiving and recording peripheral equipment transmission, and by the behaviour
Make instruction and is sent to the target remote device;
Reporting device, the operation knot returned based on the operational order for receiving and recording the target remote device
Fruit, and the operating result is sent to the peripheral equipment.
Further, in above-mentioned gateway device, the session include session identification, the corresponding target remote device and
Corresponding process identification (PID) in the target remote device.
Further, in above-mentioned gateway device, the session connection device is used for:
Obtain the session that management equipment synchronizes;
Based on corresponding process identification (PID) on the session identification and corresponding target remote device, judge corresponding with the session
Target remote device whether have built up session connection;
If so, obtaining the session connection being had built up in the corresponding target remote device of the process identification (PID).
Further, in above-mentioned gateway device, the session connection device is used for:
If it is not, then the corresponding not connected notice of the session is sent to the management equipment, to wait for that the management equipment will
The not connected notice is sent to the target remote device;
Obtain the not connected notice of the target remote device based on reception, the session connection request of transmission;
Based on the session connection request and the session identification and corresponding process identification (PID) in target remote device is corresponded to,
Session process corresponding with the target remote device establishes session connection.
Further, in above-mentioned gateway device, the session connection device is used for:
It will be in corresponding process identification (PID) and the session connection request on the session identification and corresponding target remote device
Session identification and its corresponding process identification (PID) be compared,
When comparison result is consistent, session process corresponding with the target remote device establishes session connection.
According to further aspect of the application, a kind of management equipment of communicating operational data is provided, wherein the management
Equipment includes:
Conversational device is established, for establishing session, by the session synchronization to corresponding gateway device, is based on the gateway
The session connection state that equipment is fed back according to the session notifies corresponding target remote device to establish meeting with the gateway device
Words connection;
Reception device, the gateway sent for receiving the operational order from peripheral equipment under the session based on reception
Request;
Notify device, the corresponding gateway for notifying the session synchronization to the peripheral equipment based on the gateway requests
Equipment.
Further, in above-mentioned management equipment, the session include session identification, the corresponding target remote device and
Corresponding process identification (PID) in the target remote device.
Further, in above-mentioned management equipment, the conversational device of establishing is used for:
It receives the gateway device and is based on corresponding process identification (PID) in the session identification and corresponding target remote device, instead
The corresponding target remote device of the session of feedback does not set up the corresponding not connected notice of the state of connection with the gateway device;
Based on the not connected notice, notice target remote device starts the corresponding session process of the process identification (PID), institute
It states session process and sends session connection request to the gateway device.
Further, in above-mentioned management equipment, the management equipment is described to build including local host node and locally from node
Vertical conversational device is used for:
The not connected notice is received by local host node, and the not connected notice is sent to locally from node;
It is based on the not connected notice from node by the local, notice target remote device starts the process identification (PID)
Corresponding session process sends session connection request to the gateway device.
Further, in above-mentioned management equipment, the conversational device of establishing is additionally operable to:
Long connection is established with target remote device.
Further, in above-mentioned management equipment, the conversational device of establishing is used for:
By local long connection is established from node and the target remote device.
According to further aspect of the application, a kind of target remote device of communicating operational data is provided, wherein described
Target remote device includes:
Attachment device is established, session is established with corresponding gateway device for judge whether to get management equipment transmission
The notice of connection, if so, establishing session connection with corresponding gateway device based on the notice;
Order reception apparatus, for receiving the operation under the corresponding session of the session connection that the gateway device is sent
Instruction;
Sending device is executed, corresponding operating result is obtained for executing the operational order, and by the operating result
It is sent to the gateway device.
Further, in above-mentioned target remote device, the session includes that session identification, the corresponding target remote are set
Corresponding process identification (PID) in the standby and described target remote device.
Further, in above-mentioned target remote device, the attachment device of establishing is additionally operable to:
It is had built up in the corresponding target remote device of the process identification (PID) if it is not, obtaining from the gateway device
Session connection.
Further, in above-mentioned target remote device, the attachment device of establishing is additionally operable to:
Receive the not connected notice that the management equipment is sent;
Based on the not connected notice, start the session process in the corresponding target remote device of the process identification (PID), institute
It states session process and sends session connection request to the gateway device;
The receiving feedback that the session connection request is received based on the gateway device establishes session with the gateway device
Connection.
Further, in above-mentioned target remote device, the attachment device of establishing is used for:
Receive that the management equipment sent by local from node establishes the logical of session connection with corresponding gateway device
Know.
Further, in above-mentioned target remote device, the attachment device of establishing is additionally operable to:
Long connection is established with management equipment.
Further, in above-mentioned target remote device, the attachment device of establishing is used for:
With management equipment locally long connection is established from node.
According to further aspect of the application, a kind of peripheral equipment of communicating operational data is provided, wherein the periphery
Equipment includes:
Request unit, the operational order under the same session for being sent based on user equipment are sent to management equipment
Gateway requests;
Return mechanism is based on the corresponding gateway device of gateway requests return for receiving the management equipment;
Retransmission unit for the operational order to be sent to the gateway device, and receives the gateway device and is based on
The operating result that the operational order is sent;
Operating result sending device, for the operating result to be sent to the user equipment.
Further, in above-mentioned peripheral equipment, the session includes session identification, corresponding process identification (PID) and corresponding institute
State target remote device.
According to further aspect of the application, a kind of equipment based on calculating is provided, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
The session that management equipment synchronizes is obtained, establishing session with corresponding target remote device based on the session connects
It connects;
It receives and records the operational order under the session that peripheral equipment is sent, and the operational order is sent to institute
State target remote device;
Receive and record the operating result that the target remote device is returned based on the operational order, and by the operation
As a result it is sent to the peripheral equipment.
According to further aspect of the application, a kind of equipment based on calculating is provided, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
Session is established, by the session synchronization to corresponding gateway device, based on the gateway device according to the session
The session connection state of feedback notifies corresponding target remote device to establish session connection with the gateway device;
Receive the gateway requests that the operational order under the session of the peripheral equipment based on reception is sent;
The corresponding gateway equipment of the session synchronization is notified to the peripheral equipment based on the gateway requests.
According to further aspect of the application, a kind of equipment based on calculating is provided, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
Judge whether to get the notice for establishing session connection with corresponding gateway device that management equipment is sent, if so,
Based on the notice session connection is established with corresponding gateway device;
Receive the operational order under the corresponding session of the session connection that the gateway device is sent;
It executes the operational order and obtains corresponding operating result, and the operating result is sent to the gateway and is set
It is standby.
According to further aspect of the application, a kind of equipment based on calculating is provided, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
The operational order under the same session sent based on user equipment sends gateway requests to management equipment;
It receives the management equipment and is based on the corresponding gateway device of gateway requests return;
The operational order is sent to the gateway device, and receives the gateway device and is sent out based on the operational order
The operating result sent;
The operating result is sent to the user equipment.
Compared with prior art, the application is by being introduced into the data forwarding point that gateway device is used as in remote login procedure,
The gateway device obtains the session that management equipment synchronizes first, is built with corresponding target remote device based on the session
Vertical session connection;It is established between gateway device and target remote device after the session connection, the gateway device receives
And the operational order under the session of peripheral equipment transmission is recorded, and the operational order is sent to the target remote and is set
It is standby, so that the target remote device executes the operational order received and is sent to obtained corresponding operating result
Gateway device;The gateway device receives and records the operation knot that the target remote device is returned based on the operational order
Fruit, and the operating result is sent to the peripheral equipment, realizing will be between all user equipmenies and target remote device
The operation datas of all transmission be all transmitted and collect in this gateway device, not only avoid user equipment to operation data
Any operation, it is ensured that the safety of all operation datas during session connection and integrality.
Further, the application is set the session synchronization to corresponding gateway by establishing session at management equipment end
It is standby, based on the session connection state that the gateway device is fed back according to the session, notify corresponding target remote device and institute
It states gateway device and establishes session connection;When establishing the corresponding session of the session between the gateway device and target remote device
After connection, the management equipment receives the gateway that the operational order under the session of the peripheral equipment based on reception is sent
Request;Since the management equipment is while establishing session, by the session synchronization to corresponding gateway device, and to described
Session and its corresponding gateway device are managed, therefore are being received from the peripheral equipment under the session based on reception
Operational order send gateway requests after, the management equipment be based on the gateway requests to the peripheral equipment notify institute
The corresponding gateway equipment of session synchronization is stated, so that the operational order under the session is sent to the session by the peripheral equipment
Synchronous corresponding gateway equipment, realizes the correspondence that the operational order under the session is accurately sent to the session synchronization
Gateway device ensure that the accurate of the operational order under session issues.
Further, the application by target remote device end judge whether to get management equipment transmission with it is corresponding
Gateway device establish the notice of session connection, if so, establishing session connection with corresponding gateway device based on the notice;When
It is successfully established between the target remote device and the gateway device after the corresponding session connection of the session, by described
Session connection, the target remote device receive the operation under the corresponding session of the session connection that the gateway device is sent
Instruction;Then, the target remote device executes the operational order and obtains corresponding operating result, and by the operating result
It is sent to the gateway device, so that the gateway device returns the corresponding operating result of operational order under the session indirectly
Back to user equipment, realize between user equipment and target remote device through the session connection to corresponding under the session
Operation data be transmitted, avoid any behaviour for the operation data that user equipment is transmitted between target remote device
Make, it is ensured that the safety of all operation datas during the session connection and integrality.
Further, the application is in remote login procedure, when introducing the gateway device for being used for transmission operation data with
After having built up the corresponding session connection of session that the management equipment is established between target remote device, the peripheral equipment
Operational order of the end group under the same session that user equipment is sent sends gateway requests, so that management equipment to management equipment
Based on the gateway requests received to peripheral equipment notice and the corresponding gateway equipment of the session synchronization;Then,
The peripheral equipment receives the management equipment and is based on the corresponding gateway device of gateway requests return, realizes the meeting
Operational order under words is accurately sent to the corresponding gateway equipment of the session synchronization, ensure that the follow-up gateway device pair
The accurate of operational order under the session issues;Then, the operational order is sent to the gateway by the peripheral equipment
Equipment, and receive the operating result that the gateway device is sent based on the operational order;Finally, the peripheral equipment will be described
Operating result is sent to the user equipment.It realizes and transmits the user equipment and target remote device by gateway device
Between operation data, avoid between user equipment in the prior art and target remote device point-to-point is directly connected to lead
The user equipment of cause deletes the power that puies forward of the operation data, ensure that the session between gateway device and target remote device
The safety of all operation datas in connection procedure and integrality.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 shows that the gateway device in the method according to a kind of communicating operational data of the application one side is set with management
Data flow diagram between standby, peripheral equipment and target remote device;
Fig. 2 shows the management equipments in the method according to a kind of communicating operational data of the application one side to be set with gateway
Data flow diagram between standby, peripheral equipment and target remote device;
Fig. 3 shows the target remote device in the method according to a kind of communicating operational data of the application one side and pipe
Manage the data flow diagram between equipment, gateway device and peripheral equipment;
Fig. 4 shows that the peripheral equipment in the method according to a kind of communicating operational data of the application one side is set with user
Data flow diagram between standby, management equipment and gateway device;
Fig. 5 shows a kind of overall flow signal of the systems approach of communicating operational data according to the application one side
Figure;
Fig. 6 is shown according to a kind of method applied to the communicating operational data in remote login procedure provided by the present application
The schematic diagram of practical application scene.
Same or analogous reference numeral represents same or analogous component in attached drawing.
Specific implementation mode
The application is described in further detail below in conjunction with the accompanying drawings.
In a typical configuration of this application, terminal, the equipment of service network and trusted party include one or more
Processor (CPU), input/output interface, network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, magnetic tape disk storage or other magnetic storage apparatus or
Any other non-transmission medium can be used for storage and can be accessed by a computing device information.As defined in this article, computer
Readable medium does not include non-temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
Fig. 1 shows that the gateway device in the method according to a kind of communicating operational data of the application one side is set with management
Data flow diagram between standby, peripheral equipment and target remote device, wherein the gateway being applied in remote login procedure
Equipment end, the method comprising the steps of S11, step S12 and step S13, wherein
The step S11, the gateway device obtain the session that management equipment synchronizes first;Then, the step
S11 establishes session connection based on the session with corresponding target remote device;Between gateway device and target remote device
It establishing after the session connection, the step S12 receives and records the operational order under the session of peripheral equipment transmission,
And the operational order is sent to the target remote device, so that the target remote device executes the behaviour received
Make to instruct and obtained corresponding operating result is sent to gateway device;Finally, the step S13 is received and is recorded the mesh
The operating result that mark remote equipment is returned based on the operational order, and the operating result is sent to the peripheral equipment,
It realizes and all carries out the operation data of all transmission between all user equipmenies and target remote device in this gateway device
It transmits and collects, not only avoid any operation of the user equipment to operation data, it is ensured that the institute during session connection
There are safety and the integrality of operation data.
It should be noted that in remote login procedure in embodiments herein, it is preferably by the gateway device
TS Gateway (Terminal Service Gateway, terminal service gateway device), are preferably TSM by the management equipment
Cluster (Terminal Service Manager cluster terminal services manage cluster), by the target remote device
The peripheral equipment is preferably TS Gateway (terminal services by preferably host (host in terminal services remote equipment)
Gateway device), wherein the target remote device (host) is the machine that the user equipment needs Telnet, the pipe
Reason equipment is the equipment being managed to all machines that (TSM cluster) is in remote login procedure, and the gateway is set
Standby (TS Gateway) is the equipment that operation data transmission is really carried out in remote login procedure.Certainly, above to Telnet
The preferred embodiment for being preferably only the application one side of equipment in the process, other institutes that are existing or being likely to occur from now on
It states gateway device, the management equipment, the target remote device and the peripheral equipment and is such as applicable to the application, should also wrap
It is contained within the application protection domain, and is incorporated herein by reference herein.
In order to be managed to the session and subsequently establish the corresponding session connection of the session, then the session packet
Include session identification, corresponding process identification (PID) in the corresponding target remote device and the target remote device, i.e., the described meeting
Words include for and other sessions distinguished session identification (Session), be used to indicate the gateway device with it is corresponding
Corresponding target remote device (the host machines of the corresponding session process of the session are established between target remote device
Name), and be used to indicate and start corresponding session process in corresponding target remote device to establish the corresponding meeting of the session
Corresponding process identification (PID) (Slave ID) in the target remote device of connection is talked about, realizes the accurate management to session.
Further, the step S11 obtains the session that management equipment synchronizes, and is based on the session and corresponding mesh
Mark remote equipment establishes session connection, including:
Obtain the session that management equipment synchronizes;
Based on corresponding process identification (PID) on the session identification and corresponding target remote device, judge corresponding with the session
Target remote device whether have built up session connection;
If so, obtaining the session connection being had built up in the corresponding target remote device of the process identification (PID).
In one embodiment of the application, when the management equipment sends over a session request, the management equipment is based on
The session request establishes session (Session A), and the session (Session A) is synchronized to corresponding gateway device
(TS Gateway 1) so that the gateway device obtains the session synchronized from management equipment in the step S11
(Session A), and carried out in target remote device corresponding with the session based on the session (Session A) synchronized
The corresponding session process of session identification establish session connection, then the step S11 is according to the session of session (Session A)
It is corresponding with the session to identify corresponding process identification (PID) (Slave 1) judgement in (SessionA) and corresponding target remote device
Whether target remote device (host 1) has built up session connection;If so, the step S11 obtains the process identification (PID)
The session connection being had built up on (Slave 1) corresponding described target remote device (host 1), realizes quick obtaining institute
State the process identification (PID) (Slave in the session (Session A) being had built up between gateway device and target remote device
1) corresponding session connection will be set so that the follow-up gateway device is by the session connection having built up from user
Operational order under the standby session is sent to the corresponding target remote device of the process identification (PID) (Slave 1)
(host 1)。
Then above-described embodiment of the application, in the step S11 based on the session identification and corresponding target remote
Corresponding process identification (PID) in equipment, judges whether target remote device corresponding with the session has built up session connection, also
Including:
If it is not, then the corresponding not connected notice of the session is sent to the management equipment, to wait for that the management equipment will
The not connected notice is sent to the target remote device;
Obtain the not connected notice of the target remote device based on reception, the session connection request of transmission;
Based on the session connection request and the session identification and corresponding process identification (PID) in target remote device is corresponded to,
Session process corresponding with the target remote device establishes session connection.
Then above-described embodiment of the application, when in the step S11 according to the session identification of session (Session A)
(SessionA) and in corresponding target remote device corresponding process identification (PID) (Slave 1) judges target corresponding with the session
When whether remote equipment (host 1) has built up session connection;If it is not, then the step S11 can be sent to the management equipment
The corresponding gateway device (TS Gateway 1) of the session (Session A) and the target remote device (host 1)
Between there are no the not connected notice for establishing session connection so that the management equipment the not connected notice is sent to it is described
Target remote device (host 1), when the target remote device (host 1) receives the corresponding not connected notice of the session
Later, the target remote device (host 1) can start the corresponding target remote device (host of the session (Session A)
1) the corresponding session process of corresponding process identification (PID) (Slave 1) on is sent pair to the gateway device (TS Gateway 1)
The session connection request answered, the step S11 are received from the not connected notice of the target remote device based on reception
After the session connection request of transmission, it is synchronous with the management equipment that the step S11 can be based on the session connection request
Corresponding process identification (PID) on the session identification (Session A) and corresponding target remote device (host 1) in the session come
(Slave 1), session process corresponding with the target remote device (host 1) establish session connection, realize real-time gateway
Session connection is established between equipment (TS Gateway 1) and the target remote device (host 1), so as to the follow-up gateway
Equipment (TS Gateway 1) is forwarded by the session connection of foundation and collects the user equipment and the target remote
All operation datas between equipment.
Further, in the step S11 based on the session connection request and the session identification and corresponding target
Corresponding process identification (PID) on remote equipment, session process corresponding with the target remote device establish session connection, including:
It will be in corresponding process identification (PID) and the session connection request on the session identification and corresponding target remote device
Session identification and its corresponding process identification (PID) be compared,
When comparison result is consistent, session process corresponding with the target remote device establishes session connection.
Then above-described embodiment of the application passes through process identification (PID) (Slave 1) when receiving from target remote device
The session connection request that corresponding session process sends over, then the gateway device (TS Gateway 1) can be by the management
It is corresponding on the session identification (Session A) and corresponding target remote device (host 1) in the session that equipment synchronizes
Process identification (PID) (Slave 1), with the session identification (Session ID) that is carried in the session connection request and its corresponding
Process identification (PID) (Slave ID) is compared, when the result of comparison is consistent, i.e., as Session ID=Session A and
When Slave ID=Slave1, the gateway device (TS Gateway 1) just can in the target remote device (host 1)
The corresponding session process of process identification (PID) (Slave 1) establish session connection, realize the session that the management equipment synchronizes
The standard of session connection is established between the corresponding gateway device (TS Gateway 1) and the target remote device (host1)
True property.
Fig. 2 shows the management equipments in the method according to a kind of communicating operational data of the application one side to be set with gateway
Data flow diagram between standby, peripheral equipment and target remote device, wherein the management being applied in remote login procedure
Equipment (TSM cluster) is held, the method comprising the steps of S21, step S22 and step S23, wherein
The step S21, establishes session, by the session synchronization to corresponding gateway device, is based on the gateway device
According to the session connection state that the session is fed back, corresponding target remote device is notified to establish session company with the gateway device
It connects;After having built up the session connection between the gateway device and the target remote device, the user equipment
When needing to synchronize operation to target remote device, outside peripheral equipment sends the operational order under the session;Due to management
Equipment while establishing session by the session synchronization to corresponding gateway device when, had recorded the session and synchronized
The corresponding gateway device, and the session and its corresponding gateway device are managed, therefore peripheral equipment is receiving
After operational order under to the session, it is desirable to the operational order sent to which gateway device under the session known,
The peripheral equipment need to send gateway requests based on the operational order under the session of reception to management equipment;Then, described
Step S22 receives the gateway requests that the operational order under the session of the peripheral equipment based on reception is sent;Finally, described
Step S23 notifies the corresponding gateway equipment of the session synchronization based on the gateway requests to the peripheral equipment, so that described
Operational order under the session is sent to the corresponding gateway equipment of the session synchronization by peripheral equipment, is realized the meeting
Operational order under words is accurately sent to the corresponding gateway equipment of the session synchronization, ensure that the operational order under session
Accurately issue.
In order to be managed to the session and subsequently establish the corresponding session connection of the session, then the session packet
Include session identification, corresponding process identification (PID) in the corresponding target remote device and the target remote device, i.e., the described meeting
Words include for and other sessions distinguished session identification (Session), be used to indicate the gateway device with it is corresponding
Corresponding target remote device (the host machines of the corresponding session process of the session are established between target remote device
Name), and be used to indicate and start corresponding session process in corresponding target remote device to establish the corresponding meeting of the session
Corresponding process identification (PID) (Slave ID) in the target remote device of connection is talked about, realizes the accurate management to session.
Further, real time steps S21 establishes session, by the session synchronization to corresponding gateway device, based on described
The session connection state that gateway device is fed back according to the session, notifies corresponding target remote device to be built with the gateway device
Before vertical session connection, further include:
Long connection is established with target remote device.
In the embodiment of the application, the management equipment before carrying out establishing session, just in remote login procedure
All target remote devices between establish long connection so that the form that the target remote device passes through reversely long connection connects
It is connected to the management equipment (TSM cluster), and the Wait Orders such as the management equipment end setting are connected to by the length, it is real
Target remote device Opposite direction connection is showed to the management equipment, and then has needed to carry out Telnet to target remote device
When notice arrives, target remote device can rapidly be notified to start corresponding session process and be synchronized to corresponding net with by session
It closes equipment and establishes session connection.
Further, long connection is established with target remote device in the step S21, including:
By local long connection is established from node and the target remote device.
Then above-described embodiment of the application, since the management equipment (TSM cluster) needs to manage Telnet
All sessions in the process and its gateway device being synchronized to and the long connection between target remote device, cause management to set
Standby resource load is larger, and a machine is caused to be difficult to bear, therefore the management equipment includes local host node (TS MMaster)
With local from node (TS SMaster), wherein the local host node (TS MMaster) is used for all sessions and its same
The management of the gateway device of step extremely, the local are used for the form by long connection and corresponding institute from node (TS SMaster)
It states target remote device and establishes long connection, alleviate the resource load in management equipment (TSM cluster), and connect by long
Form keep connecting with local host node (TS MMaster) so that management equipment (TSM cluster) is saved by this landlord
Point (TS MMaster) and local reach the Balance route to load from node (TS SMaster).
Further, the step S21 based on the gateway device according to the feedback of the session connection state of the session,
Corresponding target remote device is notified to establish session connection with the gateway device, including:
It receives the gateway device and is based on corresponding process identification (PID) in the session identification and corresponding target remote device, instead
The corresponding target remote device of the session of feedback does not set up the corresponding not connected notice of the state of connection with the gateway device;
Based on the not connected notice, notice target remote device starts the corresponding session process of the process identification (PID), institute
It states session process and sends session connection request to the gateway device.
Then above-described embodiment of the application, when the management equipment (TSM cluster) is in local host node (TS
MMaster after establishing session (Session A) in), the session (Session A) can be synchronized to corresponding gateway device
(TS Gateway 1), the gateway device (TS Gateway 1) is based on the corresponding session of the session synchronized
Corresponding process identification (PID) (Slave 1) in (Session A) and corresponding target remote device is identified, is judged corresponding with the session
Target remote device (host1) whether have built up session connection, if so, the gateway device (TS Gateway 1) meeting
The session having built up on the corresponding target remote device (host 1) of the process identification (PID) (Slave 1) is directly acquired to connect
It connects, if it is not, then the gateway device (TS Gateway 1) can feed back the session to the management equipment (TSM cluster)
Corresponding not connected notice, then, the step S21 can receive the meeting of the gateway device (TS Gateway 1) feedback
Talking about corresponding target remote device (host 1), with the gateway device (TS Gateway 1) not set up the state of connection corresponding
Not connected notice;Not connected notices of the step S21 based on reception is notified that the session (Session A) is corresponding
The target remote device (host 1) starts the corresponding session process of the process identification (PID) (Slave 1), so that the session
Process sends session connection request to the gateway device (TS Gateway 1), realizes that the corresponding target remote of fast notification is set
Session connection is established with corresponding gateway device for corresponding session process is started, so that the follow-up user equipment is described in
Session process carries out the transmission of operation data with the target remote device.
Further, for balanced, the management equipment to the resource load progress in management equipment (TSM cluster)
(TSM cluster) includes local host node (TS MMaster) and local from node (TS SMaster), the step S21
The reception gateway device be based on corresponding process identification (PID) in the session identification and corresponding target remote device, feedback with
The corresponding not connected notice of state that the corresponding target remote device of the session does not set up connection with the gateway device, packet
It includes:
The not connected notice is received by local host node, and the not connected notice is sent to locally from node;
Based on the not connected notice, notice target remote device starts the corresponding session process of the process identification (PID) to institute
It states gateway device and sends session connection request, including:
It is based on the not connected notice from node by the local, notice target remote device starts the process identification (PID)
Corresponding session process sends session connection request to the gateway device.
Then above-described embodiment of the application, when the management equipment (TSM cluster) is by the session of foundation
(Session A) is synchronized to after corresponding gateway device (TS Gateway 1), the gateway device (TS Gateway 1)
Corresponding process on the corresponding session identification (Session A) of the session synchronized and corresponding target remote device
It identifies (Slave 1), judges whether target remote device (host 1) corresponding with the session has built up session connection, if
Local host node (TS no, then that the gateway device (TS Gateway 1) can be into the management equipment (TSM cluster)
MMaster the corresponding not connected notice of the session) is fed back, then, the step S21 can pass through local host node (TS
MMaster the corresponding target remote device (host of the session of gateway device (the TS Gateway 1) feedback) is received
1) the corresponding not connected notice of the state of connection is not set up with the gateway device (TS Gateway 1), and will be described not connected
Notice is sent to locally in the form of broadcasting from node (TS SMaster), so that corresponding with the process identification (PID) (Slave 1)
Target remote device establish the local of long connection from node (TS SMaster) to receive the session corresponding not connected
Notice;Then, the step S21 establishes long connection by target remote device corresponding with the process identification (PID) (Slave 1)
The local from node (TS SMaster) be based on the not connected notice, notify the session (Session A) corresponding
The target remote device (host 1) starts the corresponding session process of the process identification (PID) (Slave 1), and realization is set in management
The end standby (TSM cluster) is by local host node (TS MMaster) and locally from node (TS SMaster) to the session
Corresponding not connected notice is accurately forwarded, so that the follow-up target remote device (host 1) starts the process identification (PID)
(Slave 1) corresponding session process, dialogue-based connection request establish corresponding session connection with gateway device.
Fig. 3 shows the target remote device in the method according to a kind of communicating operational data of the application one side and pipe
Manage the data flow diagram between equipment, gateway device and peripheral equipment;Wherein, the target being applied in remote login procedure
Remote equipment (host) is held, the method comprising the steps of S31, step S32 and step S33, wherein
The step S31, judge whether to get management equipment transmission establishes session connection with corresponding gateway device
Notice, if so, with corresponding gateway device establishing session connection based on the notice;When the target remote device with it is described
It is successfully established between gateway device after the corresponding session connection of the session, by the session connection, the step S32 connects
Receive the operational order under the corresponding session of the session connection that the gateway device is sent;Then, the step S33 executes institute
It states operational order and obtains corresponding operating result, and the operating result is sent to the gateway device, so that the gateway
The corresponding operating result of operational order under the session is returned to user equipment by equipment indirectly, realizes user equipment and mesh
Corresponding operation data under the session is transmitted by the session connection between mark remote equipment, user is avoided and sets
Any operation of the standby operation data being transmitted between target remote device, it is ensured that the institute during the session connection
There are safety and the integrality of operation data.
In order to be managed to the session and subsequently establish the corresponding session connection of the session, then the session packet
Include session identification, corresponding process identification (PID) in the corresponding target remote device and the target remote device, i.e., the described meeting
Words include for and other sessions distinguished session identification (Session), be used to indicate the gateway device with it is corresponding
Corresponding target remote device (the host machines of the corresponding session process of the session are established between target remote device
Name), and be used to indicate and start corresponding session process in corresponding target remote device to establish the corresponding meeting of the session
Corresponding process identification (PID) (Slave ID) in the target remote device of connection is talked about, realizes the accurate management to session.
Further, the step S31 judges whether to get establishing with corresponding gateway device for management equipment transmission
The notice of session connection, if so, based on it is described notice establish session connection with corresponding gateway device before, further include:
Long connection is established with management equipment.
It should be noted that the target remote device includes terminal service agency (TS Agent) and at least one meeting
Words process (Slave), wherein the terminal service agency (TS Agent) is used for target remote logging device (host) process
Management is just connected directly to management equipment (TSM cluster) once starting, and the session process (Slave) is for startup pair
A session is answered, ensures that a session carries out the transmission of operation data in a session process.
In the embodiment of the application, the target remote device (host) by gateway device (TS Gateway) with
Before the transmission for carrying out the operation data under same session between user equipment, the terminal in the target remote device (host)
Service broker (TS Agent) is just connected to the management equipment (TSM cluster) by the form of reversely long connection, i.e., logical
It crosses between terminal service agency (TS Agent) and the management equipment (TSM cluster) and establishes long connection, the target
Remote equipment (host) is connected to the Wait Orders such as the management equipment (TSM cluster) setting by the length so that is needing
It is described when carrying out notice arrival management equipment (the TSM cluster) of Telnet to target remote device (host)
Management equipment (TSM cluster) can rapidly notify target remote device (host), and then the target remote device
(host) in terminal service agency (TS Agent) can start immediately corresponding session process with by the session synchronization extremely
Corresponding gateway device establishes session connection.
Further, long connection is established with management equipment in the step S31, including:
With management equipment locally long connection is established from node.
Then above-described embodiment of the application, since the management equipment (TSM cluster) needs to manage Telnet
All sessions in the process and its gateway device being synchronized to and the long connection between target remote device, cause management to set
Standby resource load is larger, and a machine is caused to be difficult to bear, therefore the management equipment includes local host node (TS MMaster)
With local from node (TS SMaster), then the target remote device (host) by gateway device (TS Gateway) with
Before the transmission for carrying out the operation data under same session between user equipment, the terminal in the target remote device (host)
Service broker (TS Agent) is just connected to the sheet in the management equipment (TSM cluster) by the form of reversely long connection
Ground passes through terminal service agency (TS Agent) and the management equipment (TSM cluster) from node (TS SMaster)
In it is local from establishing long connection, the terminal service in the target remote device (host) between node (TS SMaster)
Agency (TS Agent) is connected to the Wait Orders such as the management equipment (TSM cluster) setting by the length so that is needing
It is described when carrying out notice arrival management equipment (the TSM cluster) of Telnet to target remote device (host)
Management equipment (TSM cluster) can rapidly notify the terminal service in target remote device (host) to act on behalf of (TS
Agent), the terminal service agency (TS Agent) and then in the target remote device (host) can start corresponding immediately
Session process establishes session connection with by the session synchronization to corresponding gateway device.
Further, the step S31 is judging whether to get building with corresponding gateway device for management equipment transmission
After the notice of vertical session connection, further include:
It is had built up in the corresponding target remote device of the process identification (PID) if it is not, obtaining from the gateway device
Session connection.
Then above-described embodiment of the application, when the step S31 is judging whether to get management equipment (TSM
Cluster after what is) sent establishes the notice of session connection with corresponding gateway device (TS Gateway 1), if it is not, then saying
The session pair is had built up between the bright target remote device (host 1) and the gateway device (TS Gateway 1)
The session connection answered then directly can obtain the process identification (PID) (Slave 1) from the gateway device (TS Gateway 1)
The session connection being had built up on the corresponding target remote device (host 1), to wait for the target remote device (host
1) by the corresponding session connection of the session having been had built up between the gateway device (TS Gateway 1), with
Family equipment carries out the transmission of the operation data under the session.
Further, session connection is established with corresponding gateway device based on the notice in the step S31, also wrapped
It includes:
Receive the notice that session connection is established with corresponding gateway device that the management equipment is sent;
Based on the notice, start the session process in the corresponding target remote device of the process identification (PID), the session
Process sends session connection request to the gateway device;
The receiving feedback that the session connection request is received based on the gateway device establishes session with the gateway device
Connection.
It needs, the notice corresponds to:After session synchronization to gateway device, the gateway device judges to obtain
When not establishing session connection between corresponding target remote device, gateway device is sent to the session pair of management equipment
To corresponding target remote device, i.e., the not connected notice answered, management equipment are notified that after receiving the not connected notice
The notice that session connection is established with corresponding gateway device for the management equipment transmission that target remote device receives corresponds to described
Not connected notice.
Then above-described embodiment of the application, when the corresponding target remote device of session (host 1) and the gateway device
Session connection is not established between (TS Gateway 1), the management equipment (TSM cluster) can receive gateway device hair
The not connected notice sent, so that the not connected notice is transmitted to corresponding target by the management equipment (TSM cluster)
Remote equipment (host 1), after the step S31 receives the not connected notice of management equipment (TSM cluster) transmission,
The target remote device (host 1) starts the corresponding session process of the process identification (PID) (Slave 1), then, the step
The session process in S31 is based on the not connected notice, and the meeting is sent to the gateway device (TS Gateway 1)
After talking about corresponding session connection request;When the gateway device (TS Gateway 1) is corresponding based on the synchronous session
Process identification (PID) (Slave 1) in session identification (Session 1) and its corresponding target device, and in the session connection request
Session identification (Session ID) and its after process identification (PID) (Slave ID) is compared, obtained comparison result is consistent,
I.e. as Session ID=Session A and Slave ID=Slave 1, the gateway device (TS Gateway 1) can connect
By the session connection request, session connection is established with the target remote device, finally, the step S31 is based on the net
The receiving feedback for closing equipment (TS Gateway 1) the reception session connection request establishes session connection with the gateway device,
It realizes and quickly establishes the corresponding session connection of the session between target remote device and gateway device.
Further, what the reception management equipment in the step S31 was sent establishes meeting with corresponding gateway device
The notice of connection is talked about, including:
Receive that the management equipment sent by local from node establishes the logical of session connection with corresponding gateway device
Know.
Then above-described embodiment of the application, before carrying out establishing session, in order to quickly from management equipment (TSM
Cluster notice) is obtained, the target remote device passes through terminal service agency (TS Agent) and management equipment (TSM
Cluster long connection has been established between node (TS SMaster) in local in), when gateway device and target remote device it
Between for when establishing session connection, the management equipment (TSM cluster) is sent by local from node (TS SMaster)
The session corresponding not connected notice starts the process identification (PID) after the step S31 receives the not connected notice
Session process in (Slave 1) corresponding target remote device (host 1), the session process can be based on the session pair
The not connected notice answered sends session connection request to the gateway device (TS Gateway 1), so as to the follow-up session
The process identification (PID) is established between corresponding target remote device (host 1) and the gateway device (TS Gateway 1)
(Slave 1) corresponding session connection.
Fig. 4 shows that the peripheral equipment in the method according to a kind of communicating operational data of the application one side is set with user
Data flow diagram between standby, management equipment and gateway device, wherein the peripheral equipment being applied in remote login procedure
(TS Portal) is held, the method comprising the steps of S41, step S42, step S43 and step S44, wherein
When the gateway device (TS Gateway 1) for being used for transmission operation data and target remote device (host of introducing
1) after the corresponding session connection of session for having built up the management equipment (TSM cluster) foundation between, the step
S41, the operational order under the same session sent based on user equipment are sent gateway to management equipment (TSM cluster) and asked
It asks;So that the local host node (TS MMaster) in management equipment (TSM cluster) is asked based on the gateway received
Seek the corresponding gateway equipment (TS Gateway 1) to the peripheral equipment (TS Portal) notice and the session synchronization;So
Afterwards, the step S42 receives the management equipment and is based on corresponding gateway device (the TS Gateway of gateway requests return
1);Realize the corresponding gateway equipment (TS that the operational order under the session is accurately sent to the session synchronization
Gateway 1), it ensure that the follow-up gateway device issues the accurate of the operational order under the session;Then, the step
The operational order is sent to the gateway device by rapid S43, and is received the gateway device and sent based on the operational order
Operating result;Finally, the operating result is sent to the user equipment by the step S44.It realizes and is set by gateway
It is standby to transmit the operation data between the user equipment and target remote device, avoid user equipment in the prior art with
User equipment caused by point-to-point between target remote device is directly connected to deletes the power that puies forward of the operation data, ensure that
The safety of all operation datas during session connection between gateway device and target remote device and integrality.
In order to be managed to the session and subsequently establish the corresponding session connection of the session, then the session packet
Include session identification, corresponding process identification (PID) in the corresponding target remote device and the target remote device, i.e., the described meeting
Words include for and other sessions distinguished session identification (Session), be used to indicate the gateway device with it is corresponding
Corresponding target remote device (the host machines of the corresponding session process of the session are established between target remote device
Name), and be used to indicate and start corresponding session process in corresponding target remote device to establish the corresponding meeting of the session
Corresponding process identification (PID) (Slave ID) in the target remote device of connection is talked about, realizes the accurate management to session.
Fig. 5 shows a kind of overall flow signal of the systems approach of communicating operational data according to the application one side
Figure;Wherein, systems approach includes step S101~step S114, wherein
The step S101, after user equipment one session of transmission is requested to be come, the management equipment is based on the meeting
Session is established in words request
The step S102, management equipment is by the session synchronization to gateway device;
The step S103, gateway device judge whether that establishing session with the target remote device in the session connects, if so,
The session connection is directly acquired to walk to gateway device;
The step S103 is if it is not, gateway device sends the corresponding session connection state correspondence of the session to management equipment
Not connected notice;
The step S104, management equipment are based on the corresponding not connected notice of the session, notify corresponding target remote
Equipment establishes session connection with the gateway device;
The step S105, gateway device establish session connection with corresponding target remote device;
The step S106, peripheral equipment receive the operational order under the same session that user equipment is sent;
The step S107, peripheral equipment send gateway requests to management equipment;
The step S108, management equipment are based on the gateway requests and return to corresponding gateway device;
The operational order is sent to the gateway device by step S109, peripheral equipment;
The operational order is sent to the target remote device by the step S110, gateway device;
The step S111, target remote device execute the operational order and obtain corresponding operating result;
The operating result is sent to the gateway device by the step S112, target remote device;
The operating result is sent to the peripheral equipment by the step S113, gateway device;
The operating result is sent to the user equipment by the step S114, peripheral equipment.
S101~step S114 through the above steps, established between gateway device and target remote device session connection it
Afterwards, it realizes and forwards the user equipment with the target remote device long-range to carry out record by the gateway device of introducing
All operation datas in login process not only avoid any operation of the user equipment to operation data, it is ensured that session
The safety of all operation datas in connection procedure and integrality.
The structural schematic diagram of the gateway device of a kind of communicating operational data of the application one side, wherein be applied to remote
Gateway device end in journey login process includes:Session connection device 11, lower transmitting apparatus 12 and reporting device 13, wherein
The session connection device 11, the session synchronized for obtaining management equipment;Then, the session connection dress
11 are set in establishing session connection with corresponding target remote device based on the session;Gateway device and target remote device it
Between establish after the session connection, the lower transmitting apparatus 12 be used for receive and record peripheral equipment transmission the session under
Operational order, and the operational order is sent to the target remote device, so that the target remote device executes reception
To the operational order and obtained corresponding operating result is sent to gateway device;Finally, the reporting device 13 is used
In the operating result for receiving and recording the target remote device and returned based on the operational order, and the operating result is sent out
The peripheral equipment is given, is realized the operation data of all transmission between all user equipmenies and target remote device all
It is transmitted and collects in this gateway device, not only avoid any operation of the user equipment to operation data, it is ensured that meeting
Talk about safety and the integrality of all operation datas in connection procedure.
It should be noted that in remote login procedure in embodiments herein, it is preferably by the gateway device
The management equipment is preferably TSM cluster (terminal service management collection by TS Gateway (terminal service gateway device)
Group), it is preferably host (host in terminal services remote equipment) by the target remote device, the peripheral equipment is preferred
For TS Gateway (terminal service gateway device), wherein the target remote device (host) needs for the user equipment
The machine of Telnet, the management equipment are that (TSM cluster) is to be carried out to all machines in remote login procedure
The equipment of management, the gateway device (TS Gateway) are really to carry out setting for operation data transmission in remote login procedure
It is standby.Certainly, the preferred embodiment for being preferably only the application one side of the above equipment in remote login procedure, other are existing
The gateway device that is having or being likely to occur from now on, the management equipment, the target remote device and the peripheral equipment
It is such as applicable to the application, should also be included within the application protection domain, and is incorporated herein by reference herein.
In order to be managed to the session and subsequently establish the corresponding session connection of the session, then the session packet
Include session identification, corresponding process identification (PID) in the corresponding target remote device and the target remote device, i.e., the described meeting
Words include for and other sessions distinguished session identification (Session), be used to indicate the gateway device with it is corresponding
Corresponding target remote device (the host machines of the corresponding session process of the session are established between target remote device
Name), and be used to indicate and start corresponding session process in corresponding target remote device to establish the corresponding meeting of the session
Corresponding process identification (PID) (Slave ID) in the target remote device of connection is talked about, realizes the accurate management to session.
Further, the session connection device 11 is used for:
Obtain the session that management equipment synchronizes;
Based on corresponding process identification (PID) on the session identification and corresponding target remote device, judge corresponding with the session
Target remote device whether have built up session connection;
If so, obtaining the session connection being had built up in the corresponding target remote device of the process identification (PID).
In one embodiment of the application, when the management equipment sends over a session request, the management equipment is based on
The session request establishes session (Session A), and the session (Session A) is synchronized to corresponding gateway device
(TS Gateway 1) so that the gateway device is obtained in the session connection device 11 and synchronized from management equipment
Session (Session A), and target remote corresponding with the session is carried out based on the session (Session A) synchronized
The corresponding session process of session identification in equipment establishes session connection, and then the session connection device 11 is according to session
Corresponding process identification (PID) (Slave 1) is sentenced on the session identification (SessionA) of (Session A) and corresponding target remote device
Whether target remote device (host 1) corresponding with the session of breaking has built up session connection;If so, the session connects
Connection device 11 obtains the meeting being had built up on the corresponding target remote device (host 1) of the process identification (PID) (Slave 1)
Words connection, realizes the session (Session being had built up between gateway device and target remote device described in quick obtaining
A the corresponding session connection of process identification (PID) (Slave 1) in) has built up so as to the follow-up gateway device described in
It is corresponding to be sent to the process identification (PID) (Slave 1) by session connection for operational order under the session from user equipment
The target remote device (host 1).
Then above-described embodiment of the application, the session connection device 11 are additionally operable to:
If it is not, then the corresponding not connected notice of the session is sent to the management equipment, to wait for that the management equipment will
The not connected notice is sent to the target remote device;
Obtain the not connected notice of the target remote device based on reception, the session connection request of transmission;
Based on the session connection request and the session identification and corresponding process identification (PID) in target remote device is corresponded to,
Session process corresponding with the target remote device establishes session connection.
Then above-described embodiment of the application, when in the session connection device 11 according to session (Session A)
Corresponding process identification (PID) (Slave 1) judges and the session pair on session identification (SessionA) and corresponding target remote device
When whether the target remote device (host 1) answered has built up session connection;If it is not, then the session connection device 11 can be to
The management equipment sends the corresponding gateway device (TS Gateway 1) of the session (Session A) and the target
There are no the not connected notices for establishing session connection between remote equipment (host1), so that the management equipment does not connect described
Connection, which is known, is sent to the target remote device (host 1), when the target remote device (host 1) receives the session
After corresponding not connected notice, the target remote device (host 1) can start the session (Session A) and correspond to mesh
The corresponding session process of corresponding process identification (PID) (Slave 1) on remote equipment (host 1) is marked, to the gateway device (TS
Gateway 1) corresponding session connection request is sent, the session connection device 11, which receives, comes from the target remote device base
After the session connection request that the not connected notice of reception is sent, the session connection device 11 can be based on the session
Connection request and the management equipment synchronize session identification (Session A) in the session that comes and corresponding target remote
Corresponding process identification (PID) (Slave 1) in equipment (host 1), with corresponding session in the target remote device (host1) into
Cheng Jianli session connections are realized and are built between real-time gateway device (TS Gateway 1) and the target remote device (host 1)
Vertical session connection, so that the follow-up gateway device (TS Gateway 1) is forwarded and collected by the session connection of foundation
All operation datas between the user equipment and the target remote device.
Further, the session connection device 11 is used for:
It will be in corresponding process identification (PID) and the session connection request on the session identification and corresponding target remote device
Session identification and its corresponding process identification (PID) be compared,
When comparison result is consistent, session process corresponding with the target remote device establishes session connection.
Then above-described embodiment of the application passes through process identification (PID) (Slave 1) when receiving from target remote device
The session connection request that corresponding session process sends over, then the gateway device (TS Gateway 1) can be by the management
It is corresponding on the session identification (Session A) and corresponding target remote device (host 1) in the session that equipment synchronizes
Process identification (PID) (Slave 1), with the session identification (Session ID) that is carried in the session connection request and its corresponding
Process identification (PID) (Slave ID) is compared, when the result of comparison is consistent, i.e., as Session ID=Session A and
When Slave ID=Slave1, the gateway device (TS Gateway 1) just can in the target remote device (host 1)
The corresponding session process of process identification (PID) (Slave 1) establish session connection, realize the session that the management equipment synchronizes
The standard of session connection is established between the corresponding gateway device (TS Gateway 1) and the target remote device (host1)
True property.
According to a kind of structural schematic diagram of the management equipment of communicating operational data of the application other side, wherein answer
Include for management equipment (TSM cluster) end in remote login procedure:It establishes conversational device 21, reception device 22 and leads to
Know device 23, wherein
It is described to establish conversational device 21, for establishing session, by the session synchronization to corresponding gateway device, it is based on institute
The session connection state that gateway device is fed back according to the session is stated, notifies corresponding target remote device and the gateway device
Establish session connection;After having built up the session connection between the gateway device and the target remote device, institute
When stating user equipment and needing to synchronize operation to target remote device, the operation that outside peripheral equipment is sent under the session refers to
It enables;Due to management equipment while establishing session by the session synchronization to corresponding gateway device when, had recorded institute
The corresponding gateway device that session is synchronized is stated, and the session and its corresponding gateway device are managed, thus it is outer
Peripheral equipment is after the operational order under receiving the session, it is desirable to know sent under the session to which gateway device
Operational order, the peripheral equipment need to based on the operational order under the session of reception to management equipment send gateway ask
It asks;Then, the operational order that the reception device 22 is used to receive from peripheral equipment under the session based on reception is sent
Gateway requests;Finally, the notice device 23 is used to notify the session to the peripheral equipment based on the gateway requests
Synchronous corresponding gateway equipment, so that the operational order under the session is sent to the session synchronization by the peripheral equipment
Corresponding gateway equipment realizes and the operational order under the session is accurately sent to the corresponding gateway of the session synchronization sets
It is standby, it ensure that the accurate of the operational order under session issues.
In order to be managed to the session and subsequently establish the corresponding session connection of the session, then the session packet
Include session identification, corresponding process identification (PID) in the corresponding target remote device and the target remote device, i.e., the described meeting
Words include for and other sessions distinguished session identification (Session), be used to indicate the gateway device with it is corresponding
Corresponding target remote device (the host machines of the corresponding session process of the session are established between target remote device
Name), and be used to indicate and start corresponding session process in corresponding target remote device to establish the corresponding meeting of the session
Corresponding process identification (PID) (Slave ID) in the target remote device of connection is talked about, realizes the accurate management to session.
Further, conversational device 21 is established in real time to be additionally operable to:
Long connection is established with target remote device.
In the embodiment of the application, the management equipment before carrying out establishing session, just in remote login procedure
All target remote devices between establish long connection so that the form that the target remote device passes through reversely long connection connects
It is connected to the management equipment (TSM cluster), and the Wait Orders such as the management equipment end setting are connected to by the length, it is real
Target remote device Opposite direction connection is showed to the management equipment, and then has needed to carry out Telnet to target remote device
When notice arrives, target remote device can rapidly be notified to start corresponding session process and be synchronized to corresponding net with by session
It closes equipment and establishes session connection.
Further, the conversational device 21 of establishing is used for:
By local long connection is established from node and the target remote device.
Then above-described embodiment of the application, since the management equipment (TSM cluster) needs to manage Telnet
All sessions in the process and its gateway device being synchronized to and the long connection between target remote device, cause management to set
Standby resource load is larger, and a machine is caused to be difficult to bear, therefore the management equipment includes local host node (TS MMaster)
With local from node (TS SMaster), wherein the local host node (TS MMaster) is used for all sessions and its same
The management of the gateway device of step extremely, the local are used for the form by long connection and corresponding institute from node (TS SMaster)
It states target remote device and establishes long connection, alleviate the resource load in management equipment (TSM cluster), and connect by long
Form keep connecting with local host node (TS MMaster) so that management equipment (TSM cluster) is saved by this landlord
Point (TS MMaster) and local reach the Balance route to load from node (TS SMaster).
Further, the conversational device 21 of establishing is used for:
It receives the gateway device and is based on corresponding process identification (PID) in the session identification and corresponding target remote device, instead
The corresponding target remote device of the session of feedback does not set up the corresponding not connected notice of the state of connection with the gateway device;
Based on the not connected notice, notice target remote device starts the corresponding session process of the process identification (PID), institute
It states session process and sends session connection request to the gateway device.
Then above-described embodiment of the application, when the management equipment (TSM cluster) is in local host node (TS
MMaster after establishing session (Session A) in), the session (Session A) can be synchronized to corresponding gateway device
(TS Gateway 1), the gateway device (TS Gateway 1) is based on the corresponding session of the session synchronized
Corresponding process identification (PID) (Slave 1) in (Session A) and corresponding target remote device is identified, is judged corresponding with the session
Target remote device (host1) whether have built up session connection, if so, the gateway device (TS Gateway 1) meeting
The session having built up on the corresponding target remote device (host 1) of the process identification (PID) (Slave 1) is directly acquired to connect
It connects, if it is not, then the gateway device (TS Gateway 1) can feed back the session to the management equipment (TSM cluster)
Corresponding not connected notice, then, the conversational device 21 of establishing can receive the gateway device (TS Gateway 1) feedback
The corresponding target remote device of the session (host 1) do not set up with the gateway device (TS Gateway 1) and to connect
The corresponding not connected notice of state;It is described to establish not connected notice of the conversational device 21 based on reception, it is notified that the session
(Session A) corresponding described target remote device (host 1) starts the corresponding session of the process identification (PID) (Slave 1)
Process is realized quickly logical so that the session process sends session connection request to the gateway device (TS Gateway 1)
Know that corresponding target remote device starts corresponding session process and establishes session connection with corresponding gateway device, so as to follow-up institute
State the transmission that user equipment carries out operation data by the session process and the target remote device.
Further, for balanced, the management equipment to the resource load progress in management equipment (TSM cluster)
(TSM cluster) is described to establish session including local host node (TS MMaster) and locally from node (TS SMaster)
Device 21 is used for:
The not connected notice is received by local host node, and the not connected notice is sent to locally from node;
It is based on the not connected notice from node by the local, notice target remote device starts the process identification (PID)
Corresponding session process sends session connection request to the gateway device.
Then above-described embodiment of the application, when the management equipment (TSM cluster) is by the session of foundation
(Session A) is synchronized to after corresponding gateway device (TS Gateway 1), the gateway device (TS Gateway 1)
Corresponding process on the corresponding session identification (Session A) of the session synchronized and corresponding target remote device
It identifies (Slave 1), judges whether target remote device (host 1) corresponding with the session has built up session connection, if
Local host node (TS no, then that the gateway device (TS Gateway 1) can be into the management equipment (TSM cluster)
MMaster the corresponding not connected notice of the session) is fed back, then, the conversational device 21 of establishing can be by local host node
(TS MMaster) receives the corresponding target remote device of the session of gateway device (the TS Gateway 1) feedback
(host 1) and the gateway device (TS Gateway 1) do not set up the corresponding not connected notice of the state of connection, and will be described
Not connected notice is sent to locally in the form of broadcasting from node (TS SMaster), so that with the process identification (PID) (Slave
1) it is corresponding from node (TS SMaster) the reception session to establish the long local connected for corresponding target remote device
Not connected notice;Then, the conversational device 21 of establishing is set by target remote corresponding with the process identification (PID) (Slave 1)
The standby local for establishing long connection is based on the not connected notice from node (TS SMaster), notifies the session
(Session A) corresponding described target remote device (host 1) starts the corresponding session of the process identification (PID) (Slave 1)
Process is realized at management equipment (TSM cluster) end by local host node (TS MMaster) and locally from node (TS
SMaster) not connected notice corresponding to the session is accurately forwarded, so as to the follow-up target remote device (host
1) start the corresponding session process of the process identification (PID) (Slave 1), dialogue-based connection request is corresponding with gateway device foundation
Session connection.
The structural schematic diagram of the target remote device of a kind of communicating operational data of the application other side, wherein answer
For target remote device (host) end in remote login procedure, this method includes establishing attachment device 31, command reception dress
Set 32 and instruction sending device 33, wherein
It is described to establish attachment device 31, get being built with corresponding gateway device for management equipment transmission for judging whether
The notice of vertical session connection, if so, establishing session connection with corresponding gateway device based on the notice;When the target remote
It is successfully established between equipment and the gateway device after the corresponding session connection of the session, passes through the session connection, institute
Order reception apparatus 32 is stated for receiving the operational order under the corresponding session of the session connection that the gateway device is sent;
Then, described instruction sending device 33 obtains corresponding operating result for executing the operational order, and the operation is tied
Fruit is sent to the gateway device, so that the gateway device is indirect by the corresponding operating result of operational order under the session
User equipment is returned to, is realized between user equipment and target remote device through the session connection to right under the session
The operation data answered is transmitted, and avoids any of the operation data that user equipment is transmitted between target remote device
Operation, it is ensured that the safety of all operation datas during the session connection and integrality.
In order to be managed to the session and subsequently establish the corresponding session connection of the session, then the session packet
Include session identification, corresponding process identification (PID) in the corresponding target remote device and the target remote device, i.e., the described meeting
Words include for and other sessions distinguished session identification (Session), be used to indicate the gateway device with it is corresponding
Corresponding target remote device (the host machines of the corresponding session process of the session are established between target remote device
Name), and be used to indicate and start corresponding session process in corresponding target remote device to establish the corresponding meeting of the session
Corresponding process identification (PID) (Slave ID) in the target remote device of connection is talked about, realizes the accurate management to session.
Further, the attachment device 31 of establishing is additionally operable to:
Long connection is established with management equipment.
It should be noted that the target remote device includes terminal service agency (TS Agent) and at least one meeting
Words process (Slave), wherein the terminal service agency (TS Agent) is used for target remote logging device (host) process
Management is just connected directly to management equipment (TSM cluster) once starting, and the session process (Slave) is for startup pair
A session is answered, ensures that a session carries out the transmission of operation data in a session process.
In the embodiment of the application, the target remote device (host) by gateway device (TS Gateway) with
Before the transmission for carrying out the operation data under same session between user equipment, the terminal in the target remote device (host)
Service broker (TS Agent) is just connected to the management equipment (TSM cluster) by the form of reversely long connection, i.e., logical
It crosses between terminal service agency (TS Agent) and the management equipment (TSM cluster) and establishes long connection, the target
Remote equipment (host) is connected to the Wait Orders such as the management equipment (TSM cluster) setting by the length so that is needing
It is described when carrying out notice arrival management equipment (the TSM cluster) of Telnet to target remote device (host)
Management equipment (TSM cluster) can rapidly notify target remote device (host), and then the target remote device
(host) in terminal service agency (TS Agent) can start immediately corresponding session process with by the session synchronization extremely
Corresponding gateway device establishes session connection.
Further, the attachment device 31 of establishing is used for:
With management equipment locally long connection is established from node.
Then above-described embodiment of the application, since the management equipment (TSM cluster) needs to manage Telnet
All sessions in the process and its gateway device being synchronized to and the long connection between target remote device, cause management to set
Standby resource load is larger, and a machine is caused to be difficult to bear, therefore the management equipment includes local host node (TS MMaster)
With local from node (TS SMaster), then the target remote device (host) by gateway device (TS Gateway) with
Before the transmission for carrying out the operation data under same session between user equipment, the terminal in the target remote device (host)
Service broker (TS Agent) is just connected to the sheet in the management equipment (TSM cluster) by the form of reversely long connection
Ground passes through terminal service agency (TS Agent) and the management equipment (TSM cluster) from node (TS SMaster)
In it is local from establishing long connection, the terminal service in the target remote device (host) between node (TS SMaster)
Agency (TS Agent) is connected to the Wait Orders such as the management equipment (TSM cluster) setting by the length so that is needing
It is described when carrying out notice arrival management equipment (the TSM cluster) of Telnet to target remote device (host)
Management equipment (TSM cluster) can rapidly notify the terminal service in target remote device (host) to act on behalf of (TS
Agent), the terminal service agency (TS Agent) and then in the target remote device (host) can start corresponding immediately
Session process establishes session connection with by the session synchronization to corresponding gateway device.
Further, the attachment device 31 of establishing is additionally operable to:
It is had built up in the corresponding target remote device of the process identification (PID) if it is not, obtaining from the gateway device
Session connection.
Then above-described embodiment of the application, when the attachment device 31 of establishing is judging whether to get management equipment
After what (TSM cluster) was sent establishes the notice of session connection with corresponding gateway device (TS Gateway 1), if it is not,
Then illustrate to have built up the meeting between the target remote device (host 1) and the gateway device (TS Gateway 1)
Corresponding session connection is talked about, then directly can obtain the process identification (PID) (Slave from the gateway device (TS Gateway 1)
1) session connection being had built up on the corresponding target remote device (host 1), to wait for the target remote device
(host 1) is connected by the corresponding session of the session having been had built up between the gateway device (TS Gateway 1)
It connects, the transmission of the operation data under the session is carried out with user equipment.
Further, the attachment device 31 of establishing is additionally operable to:
Receive the notice that session connection is established with corresponding gateway device that the management equipment is sent;
Based on the notice, start the session process in the corresponding target remote device of the process identification (PID), the session
Process sends session connection request to the gateway device;
The receiving feedback that the session connection request is received based on the gateway device establishes session with the gateway device
Connection.
Then above-described embodiment of the application, when the corresponding target remote device of session (host 1) and the gateway device
Session connection is not established between (TS Gateway 1), the management equipment (TSM cluster) can receive gateway device hair
The not connected notice sent, so that the not connected notice is transmitted to corresponding target by the management equipment (TSM cluster)
Remote equipment (host 1), it is described establish attachment device 31 receive the management equipment (TSM cluster) send it is not connected logical
After knowing, the target remote device (host 1) starts the corresponding session process of the process identification (PID) (Slave 1), then,
The session process established in attachment device 31 is based on the not connected notice, to the gateway device (TS
Gateway 1) send the corresponding session connection request of the session after;When the gateway device (TS Gateway 1) is based on
Process identification (PID) (Slave 1) in the synchronous corresponding session identification of the session (Session1) and its corresponding target device,
With in the session connection request session identification (Session ID) and its after process identification (PID) (Slave ID) is compared,
Obtained comparison result is consistent, i.e., as Session ID=Session A and Slave ID=Slave 1, the gateway is set
Standby (TS Gateway 1) can receive the session connection request, and session connection is established with the target remote device, finally, institute
It states and establishes the receiving feedback that attachment device 31 is based on the gateway device (TS Gateway 1) the reception session connection request
Session connection is established with the gateway device, it is corresponding quickly to establish the session between realization target remote device and gateway device
Session connection.
Further, the attachment device 31 of establishing is used for:
Receive that the management equipment sent by local from node establishes the logical of session connection with corresponding gateway device
Know.
Then above-described embodiment of the application, before carrying out establishing session, in order to quickly from management equipment (TSM
Cluster notice) is obtained, the target remote device passes through terminal service agency (TS Agent) and management equipment (TSM
Cluster long connection has been established between node (TS SMaster) in local in), when gateway device and target remote device it
Between for when establishing session connection, the management equipment (TSM cluster) is sent by local from node (TS SMaster)
The corresponding not connected notice of the session, it is described to establish after attachment device 31 receives the not connected notice, described in startup
Session process on the corresponding target remote device (host 1) of process identification (PID) (Slave 1), the session process can be based on institute
The corresponding not connected notice of session is stated, session connection request is sent to the gateway device (TS Gateway 1), so as to follow-up
The process is established between the corresponding target remote device (host1) of session and the gateway device (TS Gateway 1)
Identify (Slave 1) corresponding session connection.
The structural schematic diagram of the peripheral equipment of a kind of communicating operational data of the application other side, wherein be applied to
Peripheral equipment (TS Portal) end in remote login procedure, this method include request unit 41, return mechanism 42, forwarding dress
Set 43 and operating result sending device 44, wherein
When the gateway device (TS Gateway 1) for being used for transmission operation data and target remote device (host of introducing
1) after the corresponding session connection of session for having built up the management equipment (TSM cluster) foundation between, the request
Device 41, the operational order under same session for being sent based on user equipment, is sent to management equipment (TSM cluster)
Gateway requests;So that local host node (TS MMaster) in management equipment (TSM cluster) is based on described in receiving
Corresponding gateway equipment (TS Gateway of the gateway requests to the peripheral equipment (TS Portal) notice and the session synchronization
1);Then, the return mechanism 42 is based on the corresponding gateway device of gateway requests return for receiving the management equipment
(TS Gateway 1);Realize the corresponding gateway that the operational order under the session is accurately sent to the session synchronization
Equipment (TS Gateway 1) ensure that the follow-up gateway device issues the accurate of the operational order under the session;It connects
It, the retransmission unit 43, for the operational order to be sent to the gateway device, and receives the gateway device and be based on
The operating result that the operational order is sent;Finally, the operating result sending device 44, for sending the operating result
To the user equipment.Realize the operand transmitted by gateway device between the user equipment and target remote device
According to avoid between user equipment in the prior art and target remote device point-to-point is directly connected to caused user equipment
The power that carries of the operation data is deleted, during ensure that the session connection between gateway device and target remote device
The safety of all operation datas and integrality.
In order to be managed to the session and subsequently establish the corresponding session connection of the session, then the session packet
Include session identification, corresponding process identification (PID) in the corresponding target remote device and the target remote device, i.e., the described meeting
Words include for and other sessions distinguished session identification (Session), be used to indicate the gateway device with it is corresponding
Corresponding target remote device (the host machines of the corresponding session process of the session are established between target remote device
Name), and be used to indicate and start corresponding session process in corresponding target remote device to establish the corresponding meeting of the session
Corresponding process identification (PID) (Slave ID) in the target remote device of connection is talked about, realizes the accurate management to session.
In conclusion the application is by being introduced into the data forwarding point that gateway device is used as in remote login procedure, the net
It closes equipment and obtains the session that management equipment synchronizes first, session is established with corresponding target remote device based on the session
Connection;It is established between gateway device and target remote device after the session connection, the gateway device is received and recorded
Operational order under the session that peripheral equipment is sent, and the operational order is sent to the target remote device, with
So that the target remote device is executed the operational order received and obtained corresponding operating result is sent to gateway
Equipment;The gateway device receives and records the operating result that the target remote device is returned based on the operational order, and
The operating result is sent to the peripheral equipment, realizing will be all between all user equipmenies and target remote device
The operation data of transmission is all transmitted and collects in this gateway device, not only avoids user equipment to any of operation data
Operation, it is ensured that the safety of all operation datas during session connection and integrality.
Further, the application is set the session synchronization to corresponding gateway by establishing session at management equipment end
It is standby, based on the session connection state that the gateway device is fed back according to the session, notify corresponding target remote device and institute
It states gateway device and establishes session connection;When establishing the corresponding session of the session between the gateway device and target remote device
After connection, the management equipment receives the gateway that the operational order under the session of the peripheral equipment based on reception is sent
Request;Since the management equipment is while establishing session, by the session synchronization to corresponding gateway device, and to described
Session and its corresponding gateway device are managed, therefore are being received from the peripheral equipment under the session based on reception
Operational order send gateway requests after, the management equipment be based on the gateway requests to the peripheral equipment notify institute
The corresponding gateway equipment of session synchronization is stated, so that the operational order under the session is sent to the session by the peripheral equipment
Synchronous corresponding gateway equipment, realizes the correspondence that the operational order under the session is accurately sent to the session synchronization
Gateway device ensure that the accurate of the operational order under session issues.
Further, the application by target remote device end judge whether to get management equipment transmission with it is corresponding
Gateway device establish the notice of session connection, if so, establishing session connection with corresponding gateway device based on the notice;When
It is successfully established between the target remote device and the gateway device after the corresponding session connection of the session, by described
Session connection, the target remote device receive the operation under the corresponding session of the session connection that the gateway device is sent
Instruction;Then, the target remote device executes the operational order and obtains corresponding operating result, and by the operating result
It is sent to the gateway device, so that the gateway device returns the corresponding operating result of operational order under the session indirectly
Back to user equipment, realize between user equipment and target remote device through the session connection to corresponding under the session
Operation data be transmitted, avoid any behaviour for the operation data that user equipment is transmitted between target remote device
Make, it is ensured that the safety of all operation datas during the session connection and integrality.
Further, the application is in remote login procedure, when introducing the gateway device for being used for transmission operation data with
After having built up the corresponding session connection of session that the management equipment is established between target remote device, the peripheral equipment
Operational order of the end group under the same session that user equipment is sent sends gateway requests, so that management equipment to management equipment
Based on the gateway requests received to peripheral equipment notice and the corresponding gateway equipment of the session synchronization;Then,
The peripheral equipment receives the management equipment and is based on the corresponding gateway device of gateway requests return, realizes the meeting
Operational order under words is accurately sent to the corresponding gateway equipment of the session synchronization, ensure that the follow-up gateway device pair
The accurate of operational order under the session issues;Then, the operational order is sent to the gateway by the peripheral equipment
Equipment, and receive the operating result that the gateway device is sent based on the operational order;Finally, the peripheral equipment will be described
Operating result is sent to the user equipment.It realizes and transmits the user equipment and target remote device by gateway device
Between operation data, avoid between user equipment in the prior art and target remote device point-to-point is directly connected to lead
The user equipment of cause deletes the power that puies forward of the operation data, ensure that the session between gateway device and target remote device
The safety of all operation datas in connection procedure and integrality.
As shown in fig. 6, a kind of method applied to the communicating operational data in remote login procedure provided by the present application
Include user equipment (DEV-OPS), terminal service management in the practical application scene of the systems approach in practical application scene
Equipment (TSM cluster), terminal service peripheral equipment (TS Portal), terminal service gateway device (TS Gateway) with
And target remote device (host), in order to achieve the purpose that Workload Balance, the terminal service management equipment (TSM
Cluster) including local host node (TS MMaster) and locally from node (TS SMaster), the local host node (TS
MMaster it) is used for the management to all sessions and its gateway device being synchronized to, the local to be used from node (TS SMaster)
Long connection is established with the corresponding target remote device in the form by long connection, alleviates management equipment (TSM
Cluster the resource load in);The target remote device (host) includes terminal service agency (TS Agent) and at least one
A session process (Slave), the terminal service agency (TS Agent) are used for target remote logging device (host) process
Management, the session process (Slave) is for connecting target remote device with corresponding gateway device, so as to follow-up right
Corresponding operation data is transmitted under the session.
In the practical application scene of the application in figure 6, first, in the cluster of the target remote device of standby management,
The TSAgent disposed in each target remote device can be connected to the terminal service management equipment by the form of long connection
One in (TSM cluster) is local from node (TS SMaster), in Wait Orders such as TS SMaster settings, so as to
It subsequently can rapidly send a notice to target remote device.
It then, can be by externally providing when the user equipment needs target device described in Telnet (host 1)
For session request is authenticated and is accessed terminal service (TS) built-in system TJ API (Application
Programming, application programming interface), this landlord section into the terminal service management equipment (TSM cluster)
Point (TS MMaster) sends session request, when close by login account, account to the session request in the TJ API
After the identification authentication of code and key, the local host node (TS in the terminal service management equipment (TSM cluster)
MMaster session is established based on the session request in), and the session synchronization of foundation to the terminal service gateway is set
Standby (TS Gateway 1), wherein connect in order to which the corresponding session of the session is managed and subsequently established to the session
It connects, then the session includes session identification (Session A), the corresponding target remote device (host 1) and the target
Corresponding process identification (PID) (Slave 1) on remote equipment (host1).
Then, the terminal service gateway device (TS Gateway 1) judges the corresponding target remote of the session
Whether equipment (host 1) has had been started up the corresponding session process of the process identification (PID) (Slave 1), with present terminal service
Gateway device (TS Gateway 1) establishes session connection, if judging to obtain having built up session connection, directly acquires the meeting
Talk about corresponding terminal service gateway device (TS Gateway 1) and the process identification (PID) in target remote device (host 1)
(Slave 1) corresponding session connection, subsequently to carry out the transmission of the operation data under the session;If judgement is not built
Vertical session connection, then the terminal service gateway device (TS Gateway 1) can be to terminal service management equipment (TSM
Cluster the local host node (TS MMaster) in) sends the corresponding not connected notice of the session (Session A);
Later, the local host node (TS MMaster) in the terminal service management equipment (TSM cluster) will connect
The corresponding not connected notice of the session (Session A) received, the terminal service pipe is sent to by the form of broadcast
All locals in equipment (TSM cluster) are managed from node (TS SMaster), to wait for the local from node (TS
SMaster) detect in the target remote device (host 1) for the long connection for oneself keeping connection to include that the session corresponds to
Process identification (PID) (Slave 1), then the session that the local can will then be received from node (TS SMaster 1)
(Session A) corresponding not connected notice is sent to by way of long connect in the target remote device (host 1)
Terminal service agency (TS Agent);
In addition, the terminal service agency (TS Agent) in the target remote device (host 1) is based on the institute received
The corresponding not connected notice of session (Session A) is stated, the corresponding session of process identification (PID) (Slave 1) in the session is started
Process sends the corresponding meeting of the session by the session process to the terminal service gateway device (TS Gateway 1)
Talk about connection request;It, can be first after the terminal service gateway device (TS Gateway 1) receives the session connection request
The session identification (Session A) in the session that the management equipment is synchronized and corresponding target remote device
Corresponding process identification (PID) (Slave 1) on (host 1), with the session identification (Session carried in the session connection request
ID) and its corresponding process identification (PID) (Slave ID) is compared, when the result of comparison is consistent, i.e., as Session ID=
Session A and when Slave ID=Slave 1, the gateway device (TS Gateway 1) can just set with the target remote
The corresponding session process of process identification (PID) (Slave 1) in standby (host 1) establishes session connection, realizes that the management equipment is same
It is built between the corresponding gateway device (TS Gateway 1) of the session and the target remote device (host 1) of step
The accuracy of vertical session connection.
And then, between the gateway device (TS Gateway 1) and the target remote device (host 1)
It establishes after session connection, when user equipment is wanted to operate target remote device (host 1), the user sets
It is standby the session to be sent to the terminal service peripheral equipment (TS Portal 1) by VIP (network equally loaded device)
Operational order under (Session A), wherein the VIP (network equally loaded device) is used to be searched pair according to health examination
The terminal service peripheral equipment (TS Portal 1) answered receives the operational order under the session (Session A), to reach
The purpose of load balancing, while the network between the user equipment and terminal service peripheral equipment can also be got through;Work as terminal
When service peripheral equipment (TS Portal 1) receives the operational order under the session (Session A), in order to know institute
It states the operational order under session (Session A) is sent to which platform gateway device (TS Gateway), then needs to described in foundation
Local host node (TS MMaster) in the terminal service management equipment (TSM cluster) of session (Session A) is sent
The corresponding gateway requests of the session.
Followed by local host node (TS MMaster) base in the terminal service management equipment (TSM cluster)
In the corresponding gateway requests of the session (Session A) received, search what the session (Session A) originally synchronized
Gateway device (TS Gateway 1), by the corresponding gateway device (TS of the corresponding gateway requests of the session (Session A)
Gateway 1) it notifies to give the terminal service peripheral equipment (TS Portal 1), so as to the terminal service peripheral equipment (TS
Portal 1) based on the notice for sending operational order to gateway device (TS Gateway 1) received, it is set to the gateway
Standby (TS Gateway 1) sends the operational order under the session (Session A), realizes under the session (Session A)
The accurate of operational order issue.
Followed by, the gateway device (TS Gateway 1) passes through corresponding session in the session (Session A)
Operational order under the session (Session A) is sent to the target remote device (host 1), so as to described by process
Operational order under the session (Session A) that target remote device (host 1) is received based on execution, obtains corresponding behaviour
Make as a result, and the operating result is sent to the gateway device (TS Gateway 1) so that the gateway device (TS
Gateway 1) the corresponding operating result of operational order under the session (Session A) returned into user equipment indirectly
(DEV-OPS), it realizes between user equipment and target remote device through the session connection to corresponding under the session
Operation data is transmitted, and avoids any behaviour for the operation data that user equipment is transmitted between target remote device
Make, it is ensured that the safety of all operation datas during the session connection and integrality.
According to a kind of equipment based on calculating of the application, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
The session that management equipment synchronizes is obtained, establishing session with corresponding target remote device based on the session connects
It connects;
It receives and records the operational order under the session that peripheral equipment is sent, and the operational order is sent to institute
State target remote device;
Receive and record the operating result that the target remote device is returned based on the operational order, and by the operation
As a result it is sent to the peripheral equipment.
According to a kind of equipment based on calculating of the application, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
Session is established, by the session synchronization to corresponding gateway device, based on the gateway device according to the session
The session connection state of feedback notifies corresponding target remote device to establish session connection with the gateway device;
Receive the gateway requests that the operational order under the session of the peripheral equipment based on reception is sent;
The corresponding gateway equipment of the session synchronization is notified to the peripheral equipment based on the gateway requests.
According to a kind of equipment based on calculating of the application, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
Judge whether to get the notice for establishing session connection with corresponding gateway device that management equipment is sent, if so,
Based on the notice session connection is established with corresponding gateway device;
Receive the operational order under the corresponding session of the session connection that the gateway device is sent;
It executes the operational order and obtains corresponding operating result, and the operating result is sent to the gateway and is set
It is standby.
According to a kind of equipment based on calculating of the application, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
The operational order under the same session sent based on user equipment sends gateway requests to management equipment;
It receives the management equipment and is based on the corresponding gateway device of gateway requests return;
The operational order is sent to the gateway device, and receives the gateway device and is sent out based on the operational order
The operating result sent;
The operating result is sent to the user equipment.
Obviously, those skilled in the art can carry out the application essence of the various modification and variations without departing from the application
God and range.In this way, if these modifications and variations of the application belong to the range of the application claim and its equivalent technologies
Within, then the application is also intended to include these modifications and variations.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt
With application-specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment
In, the software program of the application can be executed by processor to realize steps described above or function.Similarly, the application
Software program (including relevant data structure) can be stored in computer readable recording medium storing program for performing, for example, RAM memory,
Magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, example
Such as, coordinate to execute the circuit of each step or function as with processor.
In addition, the part of the application can be applied to computer program product, such as computer program instructions, when its quilt
When computer executes, by the operation of the computer, it can call or provide according to the present processes and/or technical solution.
And the program instruction of the present processes is called, it is possibly stored in fixed or moveable recording medium, and/or pass through
Broadcast or the data flow in other signal loaded mediums and be transmitted, and/or be stored according to described program instruction operation
In the working storage of computer equipment.Here, including a device according to one embodiment of the application, which includes using
Memory in storage computer program instructions and processor for executing program instructions, wherein when the computer program refers to
When order is executed by the processor, method and/or skill of the device operation based on aforementioned multiple embodiments according to the application are triggered
Art scheme.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie
In the case of without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power
Profit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims
Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in device claim is multiple
Unit or device can also be realized by a unit or device by software or hardware.The first, the second equal words are used for table
Show title, and does not represent any particular order.
Claims (44)
1. a kind of method in gateway device end communicating operational data, wherein the method includes:
The session that management equipment synchronizes is obtained, session connection is established with corresponding target remote device based on the session;
It receives and records the operational order under the session that peripheral equipment is sent, and the operational order is sent to the mesh
Mark remote equipment;
Receive and record the operating result that the target remote device is returned based on the operational order, and by the operating result
It is sent to the peripheral equipment.
2. according to the method described in claim 1, wherein, the session includes that session identification, the corresponding target remote are set
Corresponding process identification (PID) in the standby and described target remote device.
3. according to the method described in claim 2, wherein, the session for obtaining management equipment and synchronizing is based on the meeting
Words establish session connection with corresponding target remote device, including:
Obtain the session that management equipment synchronizes;
Based on corresponding process identification (PID) on the session identification and corresponding target remote device, mesh corresponding with the session is judged
Whether mark remote equipment has built up session connection;
If so, obtaining the session connection being had built up in the corresponding target remote device of the process identification (PID).
4. described based on right on the session identification and corresponding target remote device according to the method described in claim 3, wherein
The process identification (PID) answered, judges whether target remote device corresponding with the session has built up session connection, further includes:
If it is not, then the corresponding not connected notice of the session is sent to the management equipment, to wait for that the management equipment will be described
Not connected notice is sent to the target remote device;
Obtain the not connected notice of the target remote device based on reception, the session connection request of transmission;
Based on corresponding process identification (PID) on the session connection request and the session identification and corresponding target remote device, with institute
It states corresponding session process in target remote device and establishes session connection.
5. described based on the session connection request and the session identification and right according to the method described in claim 4, wherein
Corresponding process identification (PID) in target remote device, session process corresponding with the target remote device is answered to establish session company
It connects, including:
By corresponding process identification (PID) and the meeting in the session connection request on the session identification and corresponding target remote device
Words mark and its corresponding process identification (PID) are compared,
When comparison result is consistent, session process corresponding with the target remote device establishes session connection.
6. a kind of method of communicating operational data at management equipment end, wherein the method includes:
Session is established, the session synchronization to corresponding gateway device is fed back based on the gateway device according to the session
Session connection state, notify that corresponding target remote device and the gateway device establish session connection;
Receive the gateway requests that the operational order under the session of the peripheral equipment based on reception is sent;
The corresponding gateway equipment of the session synchronization is notified to the peripheral equipment based on the gateway requests.
7. according to the method described in claim 6, wherein, the session includes that session identification, the corresponding target remote are set
Corresponding process identification (PID) in the standby and described target remote device.
8. according to the method described in claim 7, wherein, it is described based on the gateway device according to the session connection of the session
The feedback of state notifies corresponding target remote device to establish session connection with the gateway device, including:
It receives the gateway device and is based on corresponding process identification (PID) in the session identification and corresponding target remote device, feedback
The corresponding not connected notice of state that the corresponding target remote device of the session does not set up connection with the gateway device;
Based on the not connected notice, notice target remote device starts the corresponding session process of the process identification (PID), the meeting
Words process sends session connection request to the gateway device.
9. according to the method described in claim 8, wherein, the management equipment connects including local host node and locally from node
Receive the gateway device and be based on corresponding process identification (PID) in the session identification and corresponding target remote device, feedback with it is described
The corresponding target remote device of session does not set up the corresponding not connected notice of the state of connection with the gateway device, including:
The not connected notice is received by local host node, and the not connected notice is sent to locally from node;
Based on the not connected notice, notice target remote device starts the corresponding session process of the process identification (PID) to the net
It closes equipment and sends session connection request, including:
It is based on the not connected notice from node by the local, notice target remote device starts the process identification (PID) and corresponds to
Session process to the gateway device send session connection request.
10. according to the method described in claim 9, wherein, corresponding target remote device is notified to be established with the gateway device
Before session connection, further include:
Long connection is established with target remote device.
11. it is described to establish long connection with target remote device according to the method described in claim 10, wherein, including:
By local long connection is established from node and the target remote device.
12. a kind of method in target remote device end communicating operational data, wherein the method includes:
Judge whether to get management equipment transmission establishes the notice of session connection with corresponding gateway device, if so, being based on
The notice establishes session connection with corresponding gateway device;
Receive the operational order under the corresponding session of the session connection that the gateway device is sent;
It executes the operational order and obtains corresponding operating result, and the operating result is sent to the gateway device.
13. according to the method for claim 12, wherein the session includes session identification, the corresponding target remote
Corresponding process identification (PID) in equipment and the target remote device.
14. according to the method for claim 13, wherein judging whether to get management equipment transmission with corresponding gateway
Equipment is established after the notice of session connection, further includes:
If it is not, obtaining the session being had built up in the corresponding target remote device of the process identification (PID) from the gateway device
Connection.
15. according to the method for claim 13, wherein described to establish session with corresponding gateway device based on the notice
It connects, further includes:
Receive the notice that session connection is established with corresponding gateway device that the management equipment is sent;
Based on the notice, start the session process in the corresponding target remote device of the process identification (PID), the session process
Session connection request is sent to the gateway device;
The receiving feedback that the session connection request is received based on the gateway device establishes session connection with the gateway device.
16. according to the method for claim 15, wherein described to receive being set with corresponding gateway for the management equipment transmission
The standby notice for establishing session connection, including:
Receive the notice that session connection is established with corresponding gateway device that the management equipment is sent by local from node.
17. according to the method for claim 16, wherein it is described it is judging whether to get management equipment transmission with it is corresponding
Gateway device establishes the notice of session connection, if so, before establishing session connection with corresponding gateway device based on the notice,
Further include:
Long connection is established with management equipment.
18. according to the method for claim 17, wherein it is described to establish long connection with management equipment, including:
With management equipment locally long connection is established from node.
19. a kind of method in peripheral equipment end communicating operational data, wherein the method includes:
The operational order under the same session sent based on user equipment sends gateway requests to management equipment;
It receives the management equipment and is based on the corresponding gateway device of gateway requests return;
The operational order is sent to the gateway device, and receives what the gateway device was sent based on the operational order
Operating result;
The operating result is sent to the user equipment.
20. according to the method for claim 19, wherein the session includes session identification, corresponding process identification (PID) and right
The target remote device answered.
21. a kind of gateway device of communicating operational data, wherein the gateway device includes:
Session connection device, the session synchronized for obtaining management equipment are based on the session and corresponding target remote
Equipment establishes session connection;
Lower transmitting apparatus, the operational order under the session for receiving and recording peripheral equipment transmission, and the operation is referred to
Order is sent to the target remote device;
Reporting device, the operating result returned based on the operational order for receiving and recording the target remote device, and
The operating result is sent to the peripheral equipment.
22. gateway device according to claim 21, wherein the session includes session identification, the corresponding target
Corresponding process identification (PID) on remote equipment and the target remote device.
23. gateway device according to claim 22, wherein the session connection device is used for:
Obtain the session that management equipment synchronizes;
Based on corresponding process identification (PID) on the session identification and corresponding target remote device, mesh corresponding with the session is judged
Whether mark remote equipment has built up session connection;
If so, obtaining the session connection being had built up in the corresponding target remote device of the process identification (PID).
24. gateway device according to claim 23, wherein the session connection device is used for:
If it is not, then the corresponding not connected notice of the session is sent to the management equipment, to wait for that the management equipment will be described
Not connected notice is sent to the target remote device;
Obtain the not connected notice of the target remote device based on reception, the session connection request of transmission;
Based on corresponding process identification (PID) on the session connection request and the session identification and corresponding target remote device, with institute
It states corresponding session process in target remote device and establishes session connection.
25. gateway device according to claim 24, wherein the session connection device is used for:
By corresponding process identification (PID) and the meeting in the session connection request on the session identification and corresponding target remote device
Words mark and its corresponding process identification (PID) are compared,
When comparison result is consistent, session process corresponding with the target remote device establishes session connection.
26. a kind of management equipment of communicating operational data, wherein the management equipment includes:
Conversational device is established, for establishing session, by the session synchronization to corresponding gateway device, is based on the gateway device
According to the session connection state that the session is fed back, corresponding target remote device is notified to establish session company with the gateway device
It connects;
Reception device is asked for receiving the gateway that the operational order from peripheral equipment under the session based on reception is sent
It asks;
Device is notified, for notifying the corresponding gateway of the session synchronization to set to the peripheral equipment based on the gateway requests
It is standby.
27. management equipment according to claim 26, wherein the session includes session identification, the corresponding target
Corresponding process identification (PID) on remote equipment and the target remote device.
28. management equipment according to claim 27, wherein the conversational device of establishing is used for:
It receives the gateway device and is based on corresponding process identification (PID) in the session identification and corresponding target remote device, feedback
The corresponding not connected notice of state that the corresponding target remote device of the session does not set up connection with the gateway device;
Based on the not connected notice, notice target remote device starts the corresponding session process of the process identification (PID), the meeting
Words process sends session connection request to the gateway device.
29. management equipment according to claim 28, wherein the management equipment is including local host node and locally from section
Point, the conversational device of establishing are used for:
The not connected notice is received by local host node, and the not connected notice is sent to locally from node;
It is based on the not connected notice from node by the local, notice target remote device starts the process identification (PID) and corresponds to
Session process to the gateway device send session connection request.
30. management equipment according to claim 29, wherein the conversational device of establishing is additionally operable to:
Long connection is established with target remote device.
31. management equipment according to claim 30, wherein the conversational device of establishing is used for:
By local long connection is established from node and the target remote device.
32. a kind of target remote device of communicating operational data, wherein the target remote device includes:
Attachment device is established, session connection is established with corresponding gateway device for judge whether to get management equipment transmission
Notice, if so, with corresponding gateway device establishing session connection based on the notice;
Order reception apparatus refers to for receiving the operation under the corresponding session of the session connection that the gateway device is sent
It enables;
Sending device is executed, obtains corresponding operating result for executing the operational order, and the operating result is sent
To the gateway device.
33. target remote device according to claim 32, wherein the session includes session identification, corresponding described
Corresponding process identification (PID) in target remote device and the target remote device.
34. target remote device according to claim 33, wherein the attachment device of establishing is additionally operable to:
If it is not, obtaining the session being had built up in the corresponding target remote device of the process identification (PID) from the gateway device
Connection.
35. target remote device according to claim 33, wherein the attachment device of establishing is additionally operable to:
Receive the notice that session connection is established with corresponding gateway device that the management equipment is sent;
Based on the notice, start the session process in the corresponding target remote device of the process identification (PID), the session process
Session connection request is sent to the gateway device;
The receiving feedback that the session connection request is received based on the gateway device establishes session connection with the gateway device.
36. target remote device according to claim 35, wherein the attachment device of establishing is used for:
Receive the notice that session connection is established with corresponding gateway device that the management equipment is sent by local from node.
37. target remote device according to claim 36, wherein the attachment device of establishing is additionally operable to:
Long connection is established with management equipment.
38. according to the target remote device described in claim 37, wherein the attachment device of establishing is used for:
With management equipment locally long connection is established from node.
39. a kind of peripheral equipment of communicating operational data, wherein the peripheral equipment includes:
Request unit, the operational order under the same session for being sent based on user equipment send gateway to management equipment
Request;
Return mechanism is based on the corresponding gateway device of gateway requests return for receiving the management equipment;
Retransmission unit for the operational order to be sent to the gateway device, and receives the gateway device based on described
The operating result that operational order is sent;
Operating result sending device, for the operating result to be sent to the user equipment.
40. peripheral equipment according to claim 39, wherein the session includes session identification, corresponding process identification (PID)
And the corresponding target remote device.
41. a kind of equipment based on calculating, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processing when executed
Device:
The session that management equipment synchronizes is obtained, session connection is established with corresponding target remote device based on the session;
It receives and records the operational order under the session that peripheral equipment is sent, and the operational order is sent to the mesh
Mark remote equipment;
Receive and record the operating result that the target remote device is returned based on the operational order, and by the operating result
It is sent to the peripheral equipment.
42. a kind of equipment based on calculating, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processing when executed
Device:
Session is established, the session synchronization to corresponding gateway device is fed back based on the gateway device according to the session
Session connection state, notify that corresponding target remote device and the gateway device establish session connection;
Receive the gateway requests that the operational order under the session of the peripheral equipment based on reception is sent;
The corresponding gateway equipment of the session synchronization is notified to the peripheral equipment based on the gateway requests.
43. a kind of equipment based on calculating, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processing when executed
Device:
Judge whether to get management equipment transmission establishes the notice of session connection with corresponding gateway device, if so, being based on
The notice establishes session connection with corresponding gateway device;
Receive the operational order under the corresponding session of the session connection that the gateway device is sent;
It executes the operational order and obtains corresponding operating result, and the operating result is sent to the gateway device.
44. a kind of equipment based on calculating, including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processing when executed
Device:
The operational order under the same session sent based on user equipment sends gateway requests to management equipment;
It receives the management equipment and is based on the corresponding gateway device of gateway requests return;
The operational order is sent to the gateway device, and receives what the gateway device was sent based on the operational order
Operating result;
The operating result is sent to the user equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710057119.6A CN108347462B (en) | 2017-01-23 | 2017-01-23 | Method and equipment for transmitting operation data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710057119.6A CN108347462B (en) | 2017-01-23 | 2017-01-23 | Method and equipment for transmitting operation data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108347462A true CN108347462A (en) | 2018-07-31 |
CN108347462B CN108347462B (en) | 2021-02-23 |
Family
ID=62961901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710057119.6A Active CN108347462B (en) | 2017-01-23 | 2017-01-23 | Method and equipment for transmitting operation data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108347462B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110011910A (en) * | 2019-04-08 | 2019-07-12 | 陈鹏 | A kind of gateway communication system and gateway communication method for supporting multi-protocols equipment to access |
CN113905080A (en) * | 2021-09-27 | 2022-01-07 | 深信服科技股份有限公司 | Management method, device, system and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040228356A1 (en) * | 2003-05-15 | 2004-11-18 | Maria Adamczyk | Methods of providing data services over data networks and related data networks, data service providers, routing gateways and computer program products |
CN1652508A (en) * | 2004-02-03 | 2005-08-10 | 华为技术有限公司 | Method for operating and maintaining direct communication between client terminal and remote-apparatus |
US20070058644A1 (en) * | 2005-08-04 | 2007-03-15 | Cisco Technology, Inc. | Service for NAT traversal using IPSEC |
US7506368B1 (en) * | 2003-02-13 | 2009-03-17 | Cisco Technology, Inc. | Methods and apparatus for network communications via a transparent security proxy |
CN102045375A (en) * | 2009-10-22 | 2011-05-04 | 华为技术有限公司 | Remote command interaction method and bastion host |
CN103283209A (en) * | 2011-04-18 | 2013-09-04 | 北京新媒传信科技有限公司 | Application service platform system and implementation method thereof |
CN104221325A (en) * | 2012-04-30 | 2014-12-17 | 思科技术公司 | System and method for secure provisioning of virtualized images in network environment |
CN105337756A (en) * | 2014-08-13 | 2016-02-17 | 中兴通讯股份有限公司 | Centralized operation and maintenance method and device |
CN106230877A (en) * | 2016-06-30 | 2016-12-14 | 宁波翼动通讯科技有限公司 | The method for remote management of a kind of equipment, system and equipment |
-
2017
- 2017-01-23 CN CN201710057119.6A patent/CN108347462B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7506368B1 (en) * | 2003-02-13 | 2009-03-17 | Cisco Technology, Inc. | Methods and apparatus for network communications via a transparent security proxy |
US20040228356A1 (en) * | 2003-05-15 | 2004-11-18 | Maria Adamczyk | Methods of providing data services over data networks and related data networks, data service providers, routing gateways and computer program products |
CN1652508A (en) * | 2004-02-03 | 2005-08-10 | 华为技术有限公司 | Method for operating and maintaining direct communication between client terminal and remote-apparatus |
US20070058644A1 (en) * | 2005-08-04 | 2007-03-15 | Cisco Technology, Inc. | Service for NAT traversal using IPSEC |
CN102045375A (en) * | 2009-10-22 | 2011-05-04 | 华为技术有限公司 | Remote command interaction method and bastion host |
CN103283209A (en) * | 2011-04-18 | 2013-09-04 | 北京新媒传信科技有限公司 | Application service platform system and implementation method thereof |
CN104221325A (en) * | 2012-04-30 | 2014-12-17 | 思科技术公司 | System and method for secure provisioning of virtualized images in network environment |
CN105337756A (en) * | 2014-08-13 | 2016-02-17 | 中兴通讯股份有限公司 | Centralized operation and maintenance method and device |
CN106230877A (en) * | 2016-06-30 | 2016-12-14 | 宁波翼动通讯科技有限公司 | The method for remote management of a kind of equipment, system and equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110011910A (en) * | 2019-04-08 | 2019-07-12 | 陈鹏 | A kind of gateway communication system and gateway communication method for supporting multi-protocols equipment to access |
CN110011910B (en) * | 2019-04-08 | 2022-01-18 | 陈鹏 | Gateway communication system and gateway communication method supporting multi-protocol device access |
CN113905080A (en) * | 2021-09-27 | 2022-01-07 | 深信服科技股份有限公司 | Management method, device, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108347462B (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110034984B (en) | Access method, device and system | |
TW201719475A (en) | Identity authentication method, system, business server and authentication server | |
US9247060B2 (en) | Call control for web calls | |
CN110677383B (en) | Firewall wall opening method and device, storage medium and computer equipment | |
CN103747535B (en) | Method, apparatus and system for recovering CAPWAP control channel | |
WO2014180438A1 (en) | M2m application remote registration method, device, system and storage medium | |
CN110401641B (en) | User authentication method and device and electronic equipment | |
CN104244174B (en) | The acquisition methods and server of the geographical location information of terminal | |
CN106686752B (en) | It is a kind of that the method and apparatus being wirelessly connected is established by the first application on user equipment | |
CN109547524B (en) | User behavior storage method, device, equipment and storage medium based on Internet of things | |
CN109714367B (en) | Equipment access system and method based on Internet | |
CN106656911A (en) | Portal authentication method, access device and management server | |
US20200274935A1 (en) | A method of referencing a connection session with a wireless communication device in a local area, a system for implementing this method, a method of referencing an application user, a machine-readable medium for implementing this method, as well as a method of collecting data on the wireless communication device user, and a machine-readable medium for implementing this method | |
CN106331198B (en) | NAT (network Address translation) penetration method and device | |
CN110971434B (en) | Method, device and system for managing intranet network equipment | |
CN111066014B (en) | Apparatus, method, and program for remotely managing devices | |
CN111353136B (en) | Method and device for processing operation request | |
CN108347462A (en) | A kind of method and apparatus of communicating operational data | |
RU2665303C2 (en) | Multimedia subsystem on basis of internet protocol (ims) and method and device for configuring service in ims | |
WO2013178157A2 (en) | Method and device for automatically establishing wifi-based local area networks among devices in private cloud | |
JP6406045B2 (en) | Karaoke system, address lease server, management server, karaoke equipment | |
CN114025010B (en) | Method for establishing connection and network equipment | |
CN115022074A (en) | User authentication and authorization method, device, medium and equipment | |
JP2018527862A (en) | Method and apparatus for detecting shared terminal | |
CN104881593A (en) | Audio playing method and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |