Movatterモバイル変換


[0]ホーム

URL:


CN101848214B - Random positioning playback method and system based on RDP (remote desktop protocol) audit data - Google Patents

Random positioning playback method and system based on RDP (remote desktop protocol) audit data
Download PDF

Info

Publication number
CN101848214B
CN101848214BCN201010160380ACN201010160380ACN101848214BCN 101848214 BCN101848214 BCN 101848214BCN 201010160380 ACN201010160380 ACN 201010160380ACN 201010160380 ACN201010160380 ACN 201010160380ACN 101848214 BCN101848214 BCN 101848214B
Authority
CN
China
Prior art keywords
rdp
data
playback
audit
audit data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201010160380A
Other languages
Chinese (zh)
Other versions
CN101848214A (en
Inventor
郑龙
李曙强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datcent Technology Co Ltd
Original Assignee
Datcent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datcent Technology Co LtdfiledCriticalDatcent Technology Co Ltd
Priority to CN201010160380ApriorityCriticalpatent/CN101848214B/en
Publication of CN101848214ApublicationCriticalpatent/CN101848214A/en
Application grantedgrantedCritical
Publication of CN101848214BpublicationCriticalpatent/CN101848214B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention belongs to the technical field of computer and network security audit, and relates to an arbitrary positioning playback method and system based on RDP audit data, which comprises an RDP audit data server and an RDP playback client; the RDP audit data server comprises: the RDP proxy server and the audit data server; the RDP playback client comprises: the device comprises an audit data client, an RDP decoding module, a compression module, an RDP positioning module, an RDP playback module and an RDP playback interface module. The invention can realize the audit playback of RDP, arbitrarily position the playback, and quickly position the overlength audit content.

Description

Any location back method and system based on the RDP Audit data
Technical field
The invention belongs to computer and network security audit technical field, relate to a kind of playback technology of long-range RDP session audit content, a kind of specifically any location back method and system based on the RDP Audit data.
Background technology
Understand according to the applicant: along with computer and development of internet technology, growing field has been used computer and network, even many fields rely on computer and network basically fully; Especially the field of computer and network very dense; For example to the operation maintenance of computer and network, there are very high requirement in telecommunications room, data center, bank etc.; To the audit demand of O&M, also growing simultaneously.
Through applicant's research: O&M commonly used at present mainly contains modes such as TELNET, SSH, VNC, RDP.Preceding 2 is character mode, audit and playback, locate blowback ratio arbitrarily and better realize, simultaneously since the VNC server of main flow to the VNC agreement realize relatively good, its audit and playback, locate playback arbitrarily and also can realize smoothly.And the RDP agreement is the Microsoft of Microsoft design and has realized the server and client side in its Windows operating system; And process is discovered the RDP agreement, realize audit and playback, and problem is little; But realize locating arbitrarily playback, still there is very big difficulty in prior art.
Find through research summary: influence the main difficult point that RDP locatees playback arbitrarily and exist: a kind of agreement that (1) RDP agreement relies on before and after being, navigate to afterbody, and the data that rely on maybe be at head, also maybe be in the centre uncertain position; (2) realization of RDP agreement itself is to realize with C/C++, and owing to be that Microsoft grasps, adds that the overwhelming majority all is on windows platform, so the code of increasing income is C/C++ basically also, does not have the version of Pascal.This mainly is because the design philosophy of RDP agreement is utilized the TCP/IP network exactly, and target Windows computer is carried out Long-distance Control, and data volumes such as mouse-keyboard are less; And the screen picture data volume is very big, thus the RDP design of protocol notion of data buffering, that is to say certain image if repeat; Then server can re-transmitted not given client, and just tells client in buffering (calculator memory), to fetch data, if therefore directly store RDP protocol data record; The normal sequence playback, problem is little, but in case will locate playback arbitrarily; Gently then picture is imperfect, and is heavy then picture chaotic, loses the location meaning.
Also have at present some such as value rule of thumb read in advance forward, technology such as reconstructed image data; Realize the instance of RDP positioning playing; But owing to can not guarantee 100% to read enough data in advance, can not rebuild complete data; Especially running into is the audit content of long or overlength, locatees playback arbitrarily and almost can not satisfy application.
Summary of the invention
Technical problem to be solved by this invention is: to the shortcoming of above prior art existence; A kind of any location back method and system based on the RDP Audit data proposed; Realized the audit playback of RDP, located playback arbitrarily, also can locate rapidly overlength audit content.
The technical scheme that the present invention solves above technical problem is:
Any location back method based on the RDP Audit data, carry out according to the following steps:
(1) tackles the RDP protocol data bag that all RDP servers send to the RDP client through the RDP acting server from tcp protocol layer;
(2) the RDP packet of intercepting is recorded in the storage medium disk file through the storage format of setting, the storage format of said setting is the Audit data form of band timestamp, length and serial number information;
When (3) writing down the RDP Audit data, zero-time, client-side information, session number and the state of the operation of record RDP O&M in database;
(4) RDP playback client is connected to the Audit data Service-Port through long-range TCP; The RDP Audit data of queued session numbering; The Audit data server is according to request; With the file content of the session number of correspondence, encapsulate by the storage format of setting, send to RDP playback client with the form of packet;
(5) after RDP playback client receives packet, unpack, take-off time stabs, and takes out real RDP packet according to length;
(6) RDP playback client obtains the real laggard line translation of RDP packet: 1. screen drawing commonly used is upgraded, be decoded in the temporary file; 2. with the data of memory copying, from internal memory, obtain, be written in the temporary file; 3. in internal memory, keep virtual screen, various screen drawings are upgraded orientation output on the virtual screen, by certain algorithm at interval, sampling full-screen image data as key frame, record in the temporary file; 4. according to writing the loosening degree of temporary file data, compress, the key message that compression sign and decompressions are needed and compress after data write in the temporary file;
(7) playback module is started working, and reads the data in the temporary file, then carries out decompress(ion) if any the compression sign, obtains 3 kinds of data: normal drawing, special drawing and key frame are drawn.
Locate playback system arbitrarily based on the RDP Audit data, comprise RDP Audit data service end and RDP playback client; RDP Audit data service end comprises: the RDP acting server: RDP is provided agent functionality, and in the agency, carries out Data Audit, store disk file into; Audit data server: wait for and the connection of response Audit data client, read and Location Request; RDP playback client comprises: the Audit data client: connect the Audit data server, and receive Audit data; RDP decoder module: the Audit data that receives is carried out dissection process, reaches the form conversion, in handling conversion process, select whether the data after the conversion are carried out compression memory automatically as required; Compression module: the data after the conversion are carried out processed compressed, simultaneously the data of compressing are decompressed to discharge and launch the reduction True Data; RDP locating module: the data after the conversion are carried out the search of special algorithm, to confirm the correctly exact position of playback; RDP playback module: the data after the conversion are carried out image restoring, simultaneously pictorial element is outputed to the viewing area of RDP playback interface, run into the data of compressing and call compression module automatically and carry out decompression; RDP playback interface module: be responsible for and user interactions, accept playback, suspend, stop and Location Request.
Technical scheme as the further qualification of the present invention: in the step (1), the type of RDP protocol data bag comprises background filling, pinup picture, setting-out, screen copy and memory copying.In the step (2), the RDP packet-filename that records in the storage medium disk file is claimed to stab the Hour Minute Second millisecond name of character string date with 17 bit times.The storage format that step (2) and (4) are set is the Audit data form of band timestamp, length and serial number information.
In the step (7), playback module adopts the method for format conversion to realize the location playback: 1. handle through the pre decoding to the RDP Audit data, various plotting motions and data are discerned, record file; 2. run into the data that have front and back to rely on and all discharge expansion, also record file; 3. the Audit data after the conversion is pressed sequential playback from the beginning to the end; 4. if the screen area image that part appears in the playback meeting of any location not to be had to change lacks, make up full frame key frame, record file.
The present invention mainly contains following innovation and advantage: the present invention has carried out investigation extensively and profoundly, has overcome all difficulties, has realized any location playback of RDP Audit data with growing out of nothing, has filled up the blank in this field; That the present invention designs is ingenious, thinking is novel, maintains the leading position in this field at present; The present invention to overlength audit content also can be accurately, location promptly, efficient is very high, can save great amount of time for the invention end user, increases work efficiency; The present invention has used data compression technique, has greatly improved the utilance of memory device, can save the fund input of memory device greatly for the invention end user, and high economic benefit is arranged; The present invention adopts the modularized program design, the plug-in unit programming, and clear in structure, reliable and stable, can let the invention end user be easy to, use easily the present invention.
Description of drawings
Fig. 1 is based on the integral body connection block diagram that the RDP Audit data is located playback system arbitrarily.
Fig. 2 is the connection block diagram of RDP playback client.
Fig. 3 is a location playback sketch map.
Embodiment
Embodiment one
Present embodiment is applied in certain IT basic facilities operation management system, is used for visit, the operation of RDP class are audited.Its concrete deployment way is:
At Linux deploy RDP acting server, Audit data server, and the necessary parameter of service end such as configuration store medium, port, database parameter; Anyly like this carry out the visit of RDP class, operation etc., all will be recorded storage medium, for the client playback through the RDP acting server;
In Windows deploy RDP playback client, parameters such as the IP address of setting Audit data server, port are so that can obtain Audit data, with playback.
Locate playback system arbitrarily based on the RDP Audit data and form by RDP Audit data service end and RDP playback client, as shown in Figure 1.
RDP Audit data service end comprises:
RDP acting server: be responsible for providing the RDP agent functionality, and in the agency, carry out Data Audit, store disk file into.
The Audit data server: be responsible for to wait for and the connection of response Audit data client, read, request such as location.
RDP playback client is as shown in Figure 2, comprises:
Audit data client: be responsible for connecting the Audit data server, and receive Audit data.
RDP decoder module: be responsible for the Audit data that receives is carried out dissection process, reaches form conversion etc., in handling conversion process, with selecting whether the data after the conversion are carried out compression memory automatically as required.
Compression module: be responsible for the data after the conversion are carried out processed compressed, practice thrift disk space to a great extent.Simultaneously the data of compressing are decompressed to discharge and launch the reduction True Data.
RDP locating module: be responsible for the data after the conversion are carried out the search of special algorithm, to confirm the correctly exact position of playback.
RDP playback module: be responsible for the data after the conversion are carried out image restoring, simultaneously pictorial element outputed to the viewing area of RDP playback interface.Running into the data of compressing will call compression module automatically and carry out decompression.
RDP playback interface module: be responsible for and user interactions, accept playback, suspend, stop and request such as location.
Relation between the module is following:
The RDP client connects the RDP acting server, and through acting server visit Windows main frame, the RDP acting server will produce Audit data automatically this moment.
The Audit data server is in wait state, waits for that the Audit data client of RDP playback client connects.
The Audit data client successfully connects after the Audit data server, automatically request msg.
The request of Audit data server response Audit data client is transferred to the Audit data client with Audit data through ICP/IP protocol.
The Audit data client passes to the RDP decoder module with the data of receiving.
The RDP decoder module carries out dissection process and carries out format conversion according to various situation data according to the RDP agreement.
Whether the data of RDP decoder module after according to conversion loose, whether needs compression, calls compression module automatically, carries out data compression, stores in the temporary file.
The RDP playback module is reading of data the temporary file after conversion then, carries out image restoring, simultaneously pictorial element is outputed to the viewing area of RDP playback interface.
The RDP playback module is incited somebody to action the data of compressing, and calls compression module automatically and carries out decompression.
The user assigns various instructions (playback, suspend, stop, location etc.) through RDP playback interface module.If play-back command, RDP playback interface module can be coordinated each module and turn round continuously, makes to reach smooth playback effect by output image continuously.If pause instruction, RDP playback interface module can order the RDP playback module temporarily to stop image output.If positioning instruction, RDP playback interface module can pass to the RDP locating module with the parameter of location, and the RDP locating module positions action according to parameter.If halt instruction, RDP playback interface module can order each module to quit work.
Any location back method based on the RDP Audit data is following:
The RDP acting server is tackled the RDP protocol data bag that all RDP servers send to the RDP client from tcp protocol layer, and type of data packet mainly is that screen drawing upgrades: background is filled (FillRect), pinup picture (bitblt), setting-out (Line), screen copy (ScrollWindow), memory copying (MemBlt) etc.
The format record that the RDP packet of intercepting passes through to set is in the storage medium disk file, and file name is to stab character string date Hour Minute Second milliseconds (YYYYMMDDHHMMSSXYZ) name with 17 bit times.Setting storage format is the Audit data form of band timestamp (TimeStamp), length (Length), sequence number information such as (ID).
In the time of record RDP Audit data, the zero-time (StartTime) of record RDP O&M operation, client-side information (IP/Port), session number (SessionID), state (Status) etc. in database.Wherein session number is corresponding with the filename of record, plays the effect of index.
RDP playback client is connected to Audit data Service-Port (7776) through long-range TCP, the RDP Audit data of queued session numbering.Server is according to request, with the file content of respective session numbering, encapsulates by setting storage format, sends to client with the form of packet.
After RDP playback client receives packet, need unpack: take-off time stabs, takes out real RDP packet according to length.
Obtain just can carry out conversion behind the real RDP packet: 1. screen drawing commonly used is upgraded, be decoded in the temporary file; 2. with special data such as memory copyings, from internal memory, obtain, be written in the temporary file; 3. in internal memory, keep simultaneously virtual screen, various screen drawings are upgraded orientation output on this virtual screen, by certain algorithm at interval, sampling full-screen image data as key frame, record in the temporary file; 4. according to writing the loosening degree of temporary file data, compress, the key message that compression sign and decompressions are needed and compress after data write in the temporary file.
Above-mentioned conversion process uninterruptedly carries out on the backstage continuously; Along with the continuous conversion of data generates; Real playback module is started working: read the data in the temporary file, then carry out decompress(ion) if any the compression sign, the data that therefore acquire have 3 kinds: normal drawing, special drawing, key frame are drawn.Wherein special drawing is owing to being not relied on the data of front, so even locate playback arbitrarily, can not lack; Unique flaw is that some screen area does not change for a long time, causes local nothing to be drawn and refreshes, and influences the playback effect; The while key frame is dispersed in the temporary file after the conversion almost evenly, also can remedy the local screen area of not drawing and refreshing that as early as possible.
Consider as wanting to carry out perfect flawless location playback; Can location algorithm be omited the inching strategy: locate granularity as minimum with key frame; Hypothesis treats that playback of data contains 1000 key frames for one section like this, and so minimum location granularity is about 1/1000=0.1%, supposes to contain 100 key frames; Then minimum location granularity is about 1%, satisfies fully and uses.
Because the design of RDP agreement has been doomed directly to realize locating playback; Can only adopt the method for format conversion, as shown in Figure 3, figure ABCD..XYZ representes indivisible minimum data; 1. represent normal decoder; 2. expression discharges and launches, and 3. expression makes up key frame, 4. representes loose data are compressed.Pre decoding through to the RDP Audit data is handled, and various plotting motions and data are discerned, and records file, runs into the data that have front and back to rely on and all discharges expansion, also records file.Because the particularity of RDP agreement, and in order greatly to reduce the storage overhead, the Audit data after the conversion only is fit to sequential playback from the beginning to the end; If the screen area image that the playback meeting of any location part occurs and do not have to change lacks.Therefore as remedial measure, the full frame key frame of suitable structure records file.After the effect of full frame key frame was feasible location playback arbitrarily, picture can regain one's integrity as early as possible.
The present invention can also have other execution mode, and the technical scheme that equal replacement of all employings or equivalent transformation form all drops within the scope of requirement protection of the present invention.

Claims (6)

CN201010160380A2010-04-302010-04-30Random positioning playback method and system based on RDP (remote desktop protocol) audit dataExpired - Fee RelatedCN101848214B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201010160380ACN101848214B (en)2010-04-302010-04-30Random positioning playback method and system based on RDP (remote desktop protocol) audit data

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201010160380ACN101848214B (en)2010-04-302010-04-30Random positioning playback method and system based on RDP (remote desktop protocol) audit data

Publications (2)

Publication NumberPublication Date
CN101848214A CN101848214A (en)2010-09-29
CN101848214Btrue CN101848214B (en)2012-10-03

Family

ID=42772674

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201010160380AExpired - Fee RelatedCN101848214B (en)2010-04-302010-04-30Random positioning playback method and system based on RDP (remote desktop protocol) audit data

Country Status (1)

CountryLink
CN (1)CN101848214B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102215133B (en)*2011-06-212013-08-28德讯科技股份有限公司Audit data positioning playback system and method based on RDP remote protocol board-jumping machine
CN103095693B (en)*2013-01-082015-11-18北京中创信测科技股份有限公司The method of location database access user's host information and device
CN103973488B (en)*2014-04-292018-07-24上海上讯信息技术股份有限公司Operation management system based on RDP agreements and method
CN104144087A (en)*2014-06-132014-11-12国家电网公司 A remote desktop detection system and its detection method
CN104219330B (en)*2014-09-292017-09-29北京神州绿盟信息安全科技股份有限公司It is a kind of that the method and system for carrying out record screen audit are acted on behalf of based on WEB
CN104468505B (en)*2014-10-272017-11-21北京神州绿盟信息安全科技股份有限公司A kind of security audit daily record player method and device
CN105592121B (en)*2014-10-312018-10-02中国科学院声学研究所A kind of RDP data acquisition devices and method
CN105743868B (en)*2014-12-112019-01-25中国科学院声学研究所 A data acquisition system and method supporting encrypted and non-encrypted protocols
CN106453202A (en)*2015-08-062017-02-22中兴通讯股份有限公司RDP protocol data playback method, playing server and system thereof
CN107786609A (en)*2016-08-302018-03-09中国科学院声学研究所The collection playback system and method for a kind of RDP
CN108270822B (en)*2016-12-302021-08-06中移(苏州)软件技术有限公司 A kind of control inversion method and device based on remote desktop protocol RDP
CN107122674B (en)*2017-04-122020-09-08成都安恒信息技术有限公司Access method of oracle database applied to operation and maintenance auditing system
CN109413350B (en)*2017-08-182020-11-27深圳市傲冠软件股份有限公司Remote desktop video key frame creation method and device
CN107733901A (en)*2017-10-232018-02-23成都安恒信息技术有限公司A kind of Windows remote desktops file for O&M auditing system transmits auditing method
CN114860357B (en)*2022-03-172023-08-22成都安恒信息技术有限公司Method for achieving full screen operation and maintenance based on RDP protocol H5 of operation and maintenance audit system

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101170548A (en)*2006-10-272008-04-30梁国恩Section terminal system and method
CN101291295A (en)*2008-06-102008-10-22北京科技大学 A Probabilistic Routing Method Based on Discontinuously Connected Ad Hoc Networks with Limited Delay

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7376695B2 (en)*2002-03-142008-05-20Citrix Systems, Inc.Method and system for generating a graphical display for a remote terminal session

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101170548A (en)*2006-10-272008-04-30梁国恩Section terminal system and method
CN101291295A (en)*2008-06-102008-10-22北京科技大学 A Probabilistic Routing Method Based on Discontinuously Connected Ad Hoc Networks with Limited Delay

Also Published As

Publication numberPublication date
CN101848214A (en)2010-09-29

Similar Documents

PublicationPublication DateTitle
CN101848214B (en)Random positioning playback method and system based on RDP (remote desktop protocol) audit data
EP4290465A1 (en)3d object streaming method, device, and program
CN103299600B (en) Apparatus and method for transmitting live media content
US20180293906A1 (en)Method and system for recording and playback of web-based instructions
CA2450869A1 (en)Methods and systems for transferring data over a network
US5748187A (en)Synchronization control of multimedia objects in an MHEG engine
US20070046980A1 (en)Remote Protocol Support For Communication Of Large Objects In Arbitrary Format
CN102834805B (en)Screen recording method, screen recording control method and device
CN109040786B (en)Camera data transmission method, device and system and storage medium
CN102611878A (en)Low-bandwidth-occupancy high-definition camera mapping method
CN101119278A (en)Method and system for processing mass data
KR100340169B1 (en)System and Method for Web Cataloging Dynamic Multimedia Using Java
CN110149523A (en)A kind of multimedia teaching resource management system and method
CN111104258A (en)MongoDB database backup method and device and electronic equipment
CN102724430A (en)Interaction method of non-linear editing system and picture and text packaging system
CN109698943B (en) A Capacity Scalable Network Camera Access Platform
KR20170114219A (en)Method and apparatus for playing media stream on web-browser
CN112491421B (en) Log file compression package parsing method, device, equipment and medium
CN104253804A (en)Method and device for transmitting image data
CN101127578A (en)A method and system for processing a magnitude of data
CN100423500C (en) Networked interactive teaching experiment method based on attack and defense and video multicast technology
CN114866801B (en)Video data processing method, device, equipment and computer readable storage medium
US9070403B2 (en)Processing of scalable compressed video data formats for nonlinear video editing systems
CN114598895B (en)Audio and video processing method, device, equipment and computer readable storage medium
CN114721905A (en)Operation and maintenance data processing method, device, equipment, storage medium and program product

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20121003

Termination date:20200430


[8]ページ先頭

©2009-2025 Movatter.jp