当前位置:网站首页>TC software detailed design document (mobile group control)
TC software detailed design document (mobile group control)
2022-06-21 09:21:00 【Caijing embedded】
TC Software detailed design document ( Mobile group control )
author : The wolf is the whale
date :2021-06-27
One 、 Overall diagram
1、UI Interface
main interface : At the top is LOGO、 Shortcut key 、 Set up , On the left is the device management list , In the middle is the mobile interface display , On the right is the log information ( Hidden )

Set the pop-up box : Set global parameters ( Specific options to be adjusted ), And save to the configuration file

2、 Functional block diagram

Two 、 Business flow chart
1、 The main flow chart

3、 ... and 、 Module implementation
1、adb modular
adb Module function | Query all devices | Turn on the device touch | Turn on the reverse control | install apk | Send and start server |
call adb Module | Group list module | Device modules | server modular | File module | |
adb Dependent modules | All connected mobile phones | ||||
adb Responsible for querying all equipment 、 Turn on the device touch 、 Turn on the reverse control 、 install apk、 Send and start server establish tcp Connect , The follow-up work is entrusted to tcp Connect to complete .
Need to use adb There is a main interface 、 Device modules 、server modular 、 File module
2、 Group list module
Group list module | json File read and write | json Handle : Additions and deletions | Dynamic display of equipment list | Equipment management | ||||||||||||
Display state | Change device name | Modify group name | Add / delete group | Add or delete equipment | Device switching grouping | Equipment connection and disconnection | The device group specifies the reverse master | Device group assignment script | ||||||||
Who is calling me | main interface | |||||||||||||||
Which modules do you want to call | Shortcut bar module | Device management module | adb modular | |||||||||||||
The device group list module contains json Parsing processing module 、 The list shows 、 Device list management ( Display state 、 increase 、 Delete 、 Connect 、 To break off 、 grouping 、 Specify the master ).
3、 Mouse and keyboard system module
When UI There is a keyboard on the interface 、 When the mouse button is pressed or the mouse button is pressed and moved , According to the position of the pointer , Notify the current location UI The processing function of the corresponding module .
The interface area for receiving keyboard key values is only the main program 、UI The text input box on the and the mobile interface display area .
The only area that receives mouse events is UI Button on 、 Text input box and mobile interface display area .
4、 Device management module
Device management module | Manage a set of devices | Connect and disconnect all devices in the current group | Connect and disconnect individual devices | Update group key value mapping configuration | Update group operation script | Cancel and bind shortcut key operation buttons | Set the reverse group control host | Map all group control slaves | ||
Who is calling me | Group list module | |||||||||
Which modules do you want to call | Device modules | Shortcut key module | Key value events | |||||||
Device management module : Manage a set of devices ( A master control device , Multiple controlled equipment )、 Connect and disconnect individual devices 、 Connect and disconnect all devices in the current group 、 Update group key value mapping configuration 、 Update group operation script 、 Cancel and bind shortcut key operation buttons 、 Set the reverse group control host 、 Map all group control slaves 、 Respond to the mobile phone operation of the group control host and send it to other slaves
5、 Shortcut key module
Shortcut key module : According to the currently selected device or device group , Send the following command to the device management module : Set the master control device 、 Drop down the notification bar 、 Display touch 、 Breath screen 、 To turn it off 、 The volume is high 、 The volume is low 、 Handover application 、 menu bar 、 return 、 Back to the main interface 、 screenshots .
6、 Device modules
Functions of equipment modules : Operate a device , Response to key value operation , Respond to group control operation , Response send file 、 install apk operation ,adb Connect the phone , start-up TCP Transport video streams and messages .
The device module uses : Key value events 、server modular 、 Video frame cache 、 decode 、 File operations 、 Video streaming 、 Pictures showed UI、 Controller key value mapping 、 To configure .
server Sub module : Transmission and start-up equipment server, Set the reverse control
server The sub module uses :TCP Socket
Decoding sub module : Use ffmpeg library
videobuffer Sub module : Process a frame of pictures after decoding
avframeconvert Sub module : Will decode the original YUV Format of a picture into RGB Format , To display
Controller sub module : Use tcp Connect , Respond to shortcut key actions , Perform the cutting board operation , Perform key value mapping conversion
Device screen UI modular : Use openGL Show 、 Install shortcut key mapping 、 Response key value .
Four 、 Reference material
adb:Android Commissioning Bridge (adb)
ffmpeg:FFmpeg Multimedia processing tools
genymobile(Android server):Scrcpy Analysis of projection principle - Equipment control
TCP socket: be based on TCP Agreed Socket signal communication
OpenGL:OpenGL Open graphics specification
QT:QT
边栏推荐
- 音视频同步你一定要注意的知识点:
- [actual combat] STM32 FreeRTOS porting series Tutorial 4: FreeRTOS software timer
- Stm32mp1 cortex M4 development part 8: LED lamp control experiment of expansion board
- leetcode:19. Delete the penultimate node of the linked list
- 远程办公市场调查报告
- Jar package required for full stack development
- 2. the development of the meta universe
- 【实战】STM32MP157开发教程之FreeRTOS系统篇3:FreeRTOS 计数型信号量
- [actual combat] STM32 FreeRTOS migration series tutorial 7: FreeRTOS event flag group
- MOOC course of Nanjing University of Technology: Fundamentals of program design (Ⅰ) Chapter 8 answer and analysis of multiple choice test questions
猜你喜欢

Understanding and use of advanced pointer
![[vs], [usage problem], [solution] when VS2010 is opened, it stays in the startup interface](/img/04/a7455760caa4fc0480a034de1e24b8.png)
[vs], [usage problem], [solution] when VS2010 is opened, it stays in the startup interface

Character function and string function

stm32mp1 Cortex M4开发篇10:扩展板数码管控制

应用配置管理,基础原理分析

【实战】STM32 FreeRTOS移植系列教程1:FreeRTOS 二值信号量使用

【实战】STM32MP157开发教程之FreeRTOS系统篇6:FreeRTOS 列表和列表项

ADO. Net - invalid size for size property, 0 - ado NET - The Size property has an invalid size of 0

Binary search (integer binary)

Lodash real on demand approach
随机推荐
Stm32mp1 cortex M4 development part 13: external interrupt of expansion board key
【实战】STM32MP157开发教程之FreeRTOS系统篇3:FreeRTOS 计数型信号量
Judge the data type of JS
R language obtains help information of global, package and function: use the rsitesearch function to search the information of the specified package or function in the R community help manual and arch
Form Validation
Style penetration of vant UI components -- that is, some styles in vant UI components cannot be modified
An app developed based on retrotfit2.1+material design+ijkplayer
Introduction to list operation in C #
Shortcut keys accumulated when using various software
Detailed analysis of abstractqueuedsynchronizer (AQS) source code - Analysis of lock release and response interrupt locking processes
TC软件详细设计文档(手机群控)
【C】 [time operation] time operation in C language
stm32mp1 Cortex M4开发篇11:扩展板蜂鸣器控制
Junit5 unit test
The R language uses the sink function to export the string to the txt file in the specified directory. If no directory is specified, it will be output to the current working dir
[practice] stm32mp157 development tutorial FreeRTOS system 3: FreeRTOS counting semaphore
【JUC系列】Executor框架之CompletionService
Retrofit extended reading
远程办公市场调查报告
Prefix sum and difference