当前位置:网站首页>C open source project: simay remote control management system

C open source project: simay remote control management system

2020-12-07 08:01:48 osc_ zhk74qcf

C# Open source project :SiMay Remote control management system

Gitee Screenshot of warehouse

The following is based on the original project warehouse readme

System introduction

  • SiMay Remote control management system is a Windows Remote control system , Bottom based IOCP The asynchronous communication model of , It can monitor massive clients in real time , At present, the function has been realized : Line by line scanning remote desktop classic file management 、 Real time remote voice 、 Real time cameras 、 Classic registry management 、 Command line terminal 、 Real time system process management 、 User desktop view wall rotation and other functions . And capture UAC,WinLogon desktop . The system realizes the middle session server , It can support multi master terminals of different platforms to monitor the same controlled terminal at the same time . The accused server supports green start and installation in system service mode , The project fully adopts C#.NET Development , Code for reference only , The project is updated from time to time , Welcome to the stars ,fork. Welcome to join the group for technical exchange :905958449 :laughing:  :blush:

Affirming

  • As a Creator , I am aware of any behavior and / Or damage without any liability . You are fully responsible for your actions , The software is only used for educational and research purposes . It must not be used in any system you do not own or have the right to use . Use this software , You automatically agree to the above , Thank you for your support .

background

  • This project is a personal project only , After several refactorings , The system is relatively mature , Decide to open source, feed back to the open source community , I hope more people can make progress with me , Welcome to make complaints about improvement .

Main control interface Create server Remote desktop file management Voice transmission Registry Management

Intermediate server

System project structure

SiMay.Core【 Public core functions 】

  • SiMay.Basic -- Basic general library

  • SiMay.Core.Standard -- System core Unified Public Library 【 Unified communication instructions, common components, communication data entities, etc ..】

  • SiMay.Serialize.Standard -- Lightweight high performance binary serialization Library 【 effect : System communication data materialization 】

  • SiMay.ModelBinder -- Call the binder

SiMay.RemoteMonitor【 The main control side 】

  • SiMay.RemoteControls.Core -- The main control end core library

  • SiMay.RemoteMonitor.Windows --Windows The main control management side

  • SiMay.RemoteMonitor.Web --Web Main control end

  • SiMay.RemoteMonitorForWebSite --Web Monitor the front end

SiMay.Platform【 Platform implementation 】

  • SiMay.Platform.Windows -- be based on Windows Function realization of

SiMay.RemoteService【 Remote controlled server 】

  • SiMay.RemoteService.Loader -- Memory load Loader, Realize remote memory loading controlled end core library

  • SiMay.ServiceCore -- Controlled end core library

SiMay.SessionProvider【 Session provider layer 】

  • SiMay.Net.SessionProvider -- Session provider Library 【 effect : Provide server listening mode or intermediate session proxy protocol 】

  • SiMay.Net.SessionProvider.Core -- Agent protocol Unified Public Library 【 effect : Unify the communication instruction and serialization between intermediate library and server 】

  • SiMay.Net.SessionProviderServiceCore -- Intermediate service core library

  • SiMay.Net.SessionProviderService -- Intermediate session proxy server 【 effect : It provides the functions of maintaining server session holding and data forwarding , Based on this, multi platform monitoring is realized 】

SiMay.Sockets【 Communication layer 】

  • SiMay.Socket.Standard -- Lightweight communication engine

  • SiMaySocketTestApp -- Communication engine test program

compile

  • 1.Bin For compiling directories , After regenerating , The main control program will be compiled into this directory ,Bin->dat The directory is the directory of the accused server , The accused server compiled here .( There is no directory to create )

function

  • 1. LAN

Main control end : Open bit with Bin The main control program in the directory SiMayRemoteMonitor.exe, Confirm that the server address is set to 0.0.0.0( Monitor all network cards in this computer ), Port default 5200, Use the conversation mode as = Local server , Then save the configuration and restart the program , Log output monitoring succeeded after restart , That is, the main control terminal is set correctly .

Accused of creating : Open the master --> Create customer --> Address enter the local physical address ( or 127.0.0.1), Set the port as the server listening port ( Default 5200)--> Click the connection test to check if the configuration is correct --> Create server files , The server-side file is the controlled end program completed by configuration ( If the prompt does not find the file , Please check whether the accused service procedure exists [ Whether the compilation steps are correct ]), Double click to run the controlled service program to see the online service information at the main control end , If there is no online information at the main control end , Please check that the above steps are configured correctly .

  • 2. Wide area network

Conditions : The main control terminal needs to be in the public network environment ( Or set up the routing intranet mapping 、 Use the intranet mapping tool [ It's like a flower with a shell , Intranet communication ]), And open the monitoring port of the main control end ( Check whether the port is open 、 Firewall rules ). Create client --> The controlled server is connected to the public network address of the master , Port can

  • 3. Intermediate server deployment

Conditions : The intermediate server needs to be in the public network environment ( It is recommended to deploy on the public network server , Or set up the routing intranet mapping ), And open the middle server listening port ( Default 522 port 、 Check whether the port is open 、 Firewall rules ).

Main control terminal setting : System settings --> Session server address Input The public address of the intermediate server , port .--> Set the session mode to : In the middle of the conversation --> confirm AccessKey With the intermediate server Accesskey Agreement .( Intermediate session server system settings are located in the title bar system menu right click )--> Create the client and select the session mode as the intermediate session mode ,ip, Input the public network address of the intermediate server

  • 4.Web End monitoring compile SiMay.RemoteMonitor.Web.exe,Web The service is in the form of console without system setting interface , Can be used directly Windows The system configuration file saved by the control end SiMayConfig.ini, Session mode can be started using server mode or intermediate session mode , After successful startup, the console will print the word "successful listening" or "successful initialization" ( The server mode is successful monitoring , The intermediate session mode is initialized successfully And WebSocket Port listening succeeded ), If the controlled end is connected successfully , The console will print online connection information in real time ,Web The service settings are complete .

Above Web After setting up the service , The next step is to deploy Web Website SiMay.WebRemoteMonitor, Start by opening Index.html File editing WebSocket Connection address , Point to Web The public address and port of the service can be .

Use a browser , visit SiMay.WebRemoteMonitor Website , The page pops up Id,Key The input box indicates that it is associated with Web Service connection successful , Input SiMay.RemoteMonitorFor.Web.exe You can log in with the configured account and password , After the connection is successful, you can see the desktop view of the controlled server computer , Press and hold the view to open more functions .

technology

  • Component based system architecture design

  • Remote synchronous call

  • Entity message transfer protocol

  • Application multi connection session support

  • Visual area progressive scan algorithm for remote desktop

  • Intermediate session service forwards , Support multiple master terminals to monitor in real time at the same time

  • HOOK technology

  • WebSocket Web End monitoring

  • IOCP asynchronous Socket High performance communication model

  • be based on Windows WaInXX Serial voice communication

  • be based on Dx Component capture camera

development environment

  • Suggest Visual Studio 2019 Enterprise Edition

Participation and contribution

  • Fork This warehouse

  • newly build Feat_xxx Branch

  • Submission code

  • newly build Pull Request

Future vision

  • Move Web Monitoring terminal

  • Cross platform system management monitoring

SiMay Remote monitoring management system update and update plan description

6.0 to update

  1. Cross platform support , The intermediate session server is reconstructed to support synchronous monitoring of multiple hosts --2020.2.15

  2. The binary serializer uses reflection caching , Improve system performance -- 2020.1.25

  3. Screen view rotation --2020.1.15

  4. Web The main control end --2020.5.15( preview )

  5. Remote core library loading parallel control -- Hang in the air

  6. Remote desktop , Voice monitoring , Camera monitoring supports recording function --2.26

  7. Remote core library load update ( It can realize fast function upgrade and logic adjustment ) -- 6.7

  8. Framework upgrade adjustment ( Realization " application " Open and closed design principles of , Reduce " Application code " The impact on the core code ) --11.10

  9. Remote controlled end service file update --11.23 10. Framework upgrade adjustment ( The application module realizes remote synchronous call ) --11.13 11. Framework upgrade adjustment ( The application module supports independent connection of multiple application services and can be disconnected and reconnected 、 Enhance reusability ) --7.20 12. Add download management module - 11.22

5.0 to update

  1. Optimized communication library , Support FULL , PACK Data processing , A more friendly configuration interface is implemented

  2. New intermediate session forwarding service , Added SessionProvider layer , The control end supports listening mode, intermediate session mode, etc , On this basis, the Web Monitoring service , Support Web Mode monitoring

  3. Enhanced remote desktop module , Remote mouse control and multi screen switching with full screen monitoring

  4. Refactoring code structure , The component system framework is implemented , The implementation details of the system are masked , Enhanced scalability --2019.5.19

  5. Remote desktop added visual area scanning algorithm , Scan only the changing part of the visible area , Optimized remote desktop module , It's even faster --2019.4.2

  6. Enhanced system management module , The real-time process monitoring is realized --8.28

  7. Voice monitoring , Video surveillance supports recording function --6.0 The implemented

  8. The charged service is installed as a service , Using service mode can realize Session Isolate penetration capture desktop ( Lock screen ,UAC), --11.9

  9. File management, folder transfer and reconfiguration optimization 2019.7.13

  10. System transmission data, message materialization -- 2019-6-4

  11. The binary serializer uses reflection caching , Improve system performance -- The implemented

  12. Remote desktop adds image quality adjustment , Optimize the control experience in low rate networks , Make the picture smoother -- 7.27

  13. Support remote update server -- 7.27

  14. Added list sorting function -- 7.27

  15. Registry component update , Support binary, multiple types of data editing -- 9.6

  16. Reconstruct the main control end , The logic core library of the main control end is completely separated from the display layer ( Such as : Horizontal expansion based on core library Web Main control end , Realize multi platform logic reuse ) - 11.2

4.0 to update

  1. Rewriting the communication layer , Solve the problem of frequent disconnection when the network environment is very poor , The object pool is implemented , To deal with large-scale client data interaction with better concurrency capability

  2. A more stable communication layer interface is designed , The communication layer is completely separated from the logic layer

  3. Optimized communication protocol for some functions

  4. Optimized remote desktop module

  5. Fix the problem that remote desktop display is not complete in high screen notebook

  6. Fix the problem of incomplete video surveillance display

  7. Enhanced voice monitoring module

  8. Optimized the design on the form , Better user experience

  9. Fixed system management


Some recommendations

  1. 【 Open source Blazor Control library 】 Click Browse

  2. 【 Open source B/S project 】WTM

  3. 【 Open source WPF Control library 】 Click Browse

  4. 【 Open source WPF project 】 Click Browse

  5. 【 Open source Xamarin project 】 Global Excellence Xamarin.Forms Project collection

  6. 【 Open source Winform Control library 】HZHControlsSunnyUI

  7. 【 Open source Winform project 】SiMay Remote control management system

  8. 【 Open source Qt Control library 】QWidgetDemoMaterial Style Qt Control

  9. 【 Open source Qt project 】 Click Browse

  10. 【 Share more 】 Click Browse


Resource sharing

  • Reply numbers 【01】: obtain DotNet Technical data

  • Reply numbers 【02】: obtain Java Technical data

  • Reply numbers 【03】: obtain Android Technical data

  • Reply numbers 【04】: obtain C++ Technical data

  • Reply numbers 【05】: obtain Qt Technical data

  • Reply numbers 【06】: obtain React resources

  • Add number main micro signal 【dotnet9】: remarks 【 The group of 】 Join in the technical exchange with the big guys


*

Time is like water , Can only flow to not return to .

  • official account :Dotnet9

  • No. 1 Main micro signal :dotnet9

  • Original author :dWwwang

  • Warehouse address :SiMay Remote control management system

  • edit : The wolf at the end of the desert

  • date :2020-12-04

WeChat official account :Dotnet9

- Good things to forward , Set to " Star standard "* first -

Click to read the original text , Focus on Dotnet9 More good articles .

版权声明
本文为[osc_ zhk74qcf]所创,转载请带上原文链接,感谢
https://chowdera.com/2020/12/20201207080044124b.html