[go: up one dir, main page]

CN102375725B - Interface module of mobile video monitoring system - Google Patents

Interface module of mobile video monitoring system Download PDF

Info

Publication number
CN102375725B
CN102375725B CN201010250955.4A CN201010250955A CN102375725B CN 102375725 B CN102375725 B CN 102375725B CN 201010250955 A CN201010250955 A CN 201010250955A CN 102375725 B CN102375725 B CN 102375725B
Authority
CN
China
Prior art keywords
port
control interface
interface module
control
interface unit
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
CN201010250955.4A
Other languages
Chinese (zh)
Other versions
CN102375725A (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.)
HANGZHOU PUNUO TECHNOLOGY CO LTD
Zhejiang University of Technology ZJUT
Original Assignee
HANGZHOU PUNUO TECHNOLOGY CO LTD
Zhejiang University of Technology ZJUT
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 HANGZHOU PUNUO TECHNOLOGY CO LTD, Zhejiang University of Technology ZJUT filed Critical HANGZHOU PUNUO TECHNOLOGY CO LTD
Priority to CN201010250955.4A priority Critical patent/CN102375725B/en
Publication of CN102375725A publication Critical patent/CN102375725A/en
Application granted granted Critical
Publication of CN102375725B publication Critical patent/CN102375725B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to an interface module of a mobile video monitoring system, which comprises a video playing interface module and a control interface module, wherein the video playing interface module is used for displaying a video on a client in multiple interface modes; the control interface module is responsible for enabling a user to control equipment and control the display of information on client software; and the control interface module comprises a basic information control interface unit, a media information control interface unit, a network information control interface unit and a local recorded video information control interface unit. The invention provides the interface module of the mobile video monitoring system, which is more abundant in functions, convenient to operate and good in interaction.

Description

移动视频监控系统的界面模块Interface Module of Mobile Video Surveillance System

技术领域 technical field

本发明属于监控系统的监控软件领域,尤其是一种移动视频监控系统的界面模块。The invention belongs to the monitoring software field of a monitoring system, in particular to an interface module of a mobile video monitoring system.

背景技术 Background technique

一个好的界面软件开发工具是软件成功的一半,因此开发工具的选择对于开发人员来说相当重要。Visual C++是一个基于Windows操作系统的可视化集成开发环境,由微软公司发布,提供编辑器、调试器、程序向导、类向导Class Wizard等开发工具。作为微软的主流开发工具,它对Windows操作系统有无可比拟的访问权限,同时应用Visual C++在DirectShow框架下进行多媒体软件开发有相当大的优势,作为一款优秀的界面软件开发工具,Visual C++提供丰富的组件,使得界面开发变得相当容易A good interface software development tool is half of the success of the software, so the choice of development tools is very important for developers. Visual C++ is a visual integrated development environment based on the Windows operating system, released by Microsoft Corporation, providing editors, debuggers, program wizards, class wizards and other development tools. As a mainstream development tool of Microsoft, it has unparalleled access to the Windows operating system. At the same time, it has considerable advantages in the development of multimedia software under the framework of DirectShow using Visual C++. As an excellent interface software development tool, Visual C++ Provides rich components, making interface development quite easy

发明内容 Contents of the invention

为了克服已有移动视频监控系统的界面模块的功能单一、操作复杂、交互性差的不足,本发明提供一种具有较为丰富的功能、操作方便、交互性良好的的移动视频监控系统的界面模块。In order to overcome the disadvantages of single function, complicated operation and poor interactivity of the interface module of the existing mobile video surveillance system, the present invention provides an interface module of the mobile video surveillance system with richer functions, convenient operation and good interactivity.

本发明解决其技术问题所采用的技术方案是:The technical solution adopted by the present invention to solve its technical problems is:

一种移动视频监控系统的界面模块,所述界面模块包括:视频播放界面模块,用于以多种界面模式将视频在客户端进行显示;控制界面模块,用于负责用户对设备的控制以及控制信息在客服端软件上的显示;An interface module of a mobile video surveillance system, the interface module comprising: a video playback interface module, used to display videos on a client in multiple interface modes; a control interface module, used to be responsible for user control and control of equipment The display of information on the customer service software;

所述控制界面模块包括基本信息控制界面单元、媒体信息控制界面单元、网络信息控制界面单元、本地录像信息控制界面单元;The control interface module includes a basic information control interface unit, a media information control interface unit, a network information control interface unit, and a local recording information control interface unit;

所述媒体信息控制界面单元包括视频分辨率端口、码率端口、帧率端口、运动检测开关端口、运动检测灵敏端口和运动检测区域端口;The media information control interface unit includes a video resolution port, a code rate port, a frame rate port, a motion detection switch port, a motion detection sensitive port, and a motion detection area port;

所述网络信息控制界面单元包括媒体服务端口、远程控制端口、网络方式选择端口和IP地址端口;The network information control interface unit includes a media service port, a remote control port, a network mode selection port and an IP address port;

所述本地录像信息控制界面单元包括录像开关、录像模式选择端口、录像存储路径选择端口和录像时间设定端口。The local recording information control interface unit includes a recording switch, a recording mode selection port, a recording storage path selection port and a recording time setting port.

作为优选的一种方案:所述远程控制端口采用TCP协议作为控制层通信模块的传输层协议,并在应用层采用CRC(Cyclic RedundancyCheck循环冗余码)校验。As a preferred scheme: the remote control port adopts TCP protocol as the transport layer protocol of the control layer communication module, and adopts CRC (Cyclic Redundancy Check cyclic redundancy code) check at the application layer.

本发明的技术构思为:界面作为移动视频监控系统和用户交互的软件,用户要求能实时的查看设备端的视频监控信息,达到监控的目的,同时,要求能够远程控制设备,使其各种参数满足用户的需求。并且作为一个客户端处理软件需要有一个交互性较好的界面,便于用户的使用。The technical idea of the present invention is: the interface is used as the software for the mobile video monitoring system to interact with the user. The user requires to be able to view the video monitoring information of the device in real time to achieve the purpose of monitoring. At the same time, it is required to be able to remotely control the device so that its various parameters meet user needs. And as a client processing software, it needs to have a better interactive interface, which is convenient for users to use.

其详细流程如下:The detailed process is as follows:

(1)用户登录软件首先需要输入用户名和密码,客户端处理软件将用户信息发送到服务器进行验证,服务器将确认信息返回给客户端处理软件,如果用户密码验证正确则打开软件,如果错误则退出软件。(1) The user first needs to enter the user name and password to log in to the software. The client processing software sends the user information to the server for verification, and the server returns the confirmation information to the client processing software. If the user password verification is correct, the software will be opened, and if it is wrong, it will exit software.

(2)查询服务器中的网络摄像机设备信息,服务器根据用户要求返回网络摄像机设备信息。(2) Query the device information of the network camera in the server, and the server returns the device information of the network camera according to the user's request.

(3)用户选择要监控的网络摄像机,接着创建视频播放模块,然后向服务器发送视频发送请求,同时开启视频播放线程。(3) The user selects the network camera to be monitored, then creates a video playback module, then sends a video sending request to the server, and starts a video playback thread at the same time.

(4)服务器收到请求之后,向客户端处理软件发送视频数据。(4) After receiving the request, the server sends the video data to the client processing software.

(5)用户可以根据要求对网络摄像机的媒体信息,网络信息进行控制,接着服务器向客户端回传确认信息,表示设置成功。(5) The user can control the media information and network information of the network camera according to the requirements, and then the server returns a confirmation message to the client, indicating that the setting is successful.

(6)当用户需要关闭客户端处理软件时,首先向服务器请求关闭视频传输,接着关闭客户端处理软件视频播放线程,最后退出程序。(6) When the user needs to close the client processing software, first request to the server to close the video transmission, then close the client processing software video playback thread, and finally exit the program.

本发明的有益效果主要表现在:具有较好的美观性、交互性和易用性,简洁明了,容易操作,并且有较高的稳定性。The beneficial effects of the present invention are mainly manifested in: good aesthetics, interactivity and ease of use, concise and clear, easy to operate, and high stability.

附图说明 Description of drawings

图1为本发明的为控制层协议栈模型的示意图。FIG. 1 is a schematic diagram of a control layer protocol stack model of the present invention.

图2为本发明的为控制信息数据包格式的示意图。FIG. 2 is a schematic diagram of the format of the control information data packet in the present invention.

图3为本发明的为控制层通信模块框架的示意图。Fig. 3 is a schematic diagram of the framework of the control layer communication module of the present invention.

图4为控制层通信模块的程序流程图。Figure 4 is a program flow chart of the control layer communication module.

具体实施方式 Detailed ways

下面结合附图对本发明作进一步描述。The present invention will be further described below in conjunction with the accompanying drawings.

参照图1~图4,一种移动视频监控系统的界面模块,所述界面模块主要包括:Referring to Figures 1 to 4, an interface module of a mobile video surveillance system, the interface module mainly includes:

视频播放界面模块,用于以多种界面模式将视频在客户端进行显示;控制界面模块,用于负责用户对设备的控制以及控制信息在客服端软件上的显示;The video playback interface module is used to display the video on the client terminal in various interface modes; the control interface module is used to be responsible for the user's control of the device and the display of control information on the customer service software;

所述控制界面模块包括基本信息控制界面单元、媒体信息控制界面单元、网络信息控制界面单元、本地录像信息控制界面单元;The control interface module includes a basic information control interface unit, a media information control interface unit, a network information control interface unit, and a local recording information control interface unit;

所述媒体信息控制界面单元包括视频分辨率端口、码率端口、帧率端口、运动检测开关端口、运动检测灵敏端口和运动检测区域端口;The media information control interface unit includes a video resolution port, a code rate port, a frame rate port, a motion detection switch port, a motion detection sensitive port, and a motion detection area port;

所述网络信息控制界面单元包括媒体服务端口、远程控制端口、网络方式选择端口和IP地址端口;The network information control interface unit includes a media service port, a remote control port, a network mode selection port and an IP address port;

所述本地录像信息控制界面单元包括录像开关、录像模式选择端口、录像存储路径选择端口和录像时间设定端口。The local recording information control interface unit includes a recording switch, a recording mode selection port, a recording storage path selection port and a recording time setting port.

所述远程控制端口采用TCP协议作为控制层通信模块的传输层协议,并在应用层采用CRC校验。The remote control port adopts TCP protocol as the transport layer protocol of the control layer communication module, and adopts CRC check at the application layer.

本实施例的移动视频监控系统的界面模块,所述界面模块主要包括视频播放界面模块和控制界面模块。The interface module of the mobile video surveillance system in this embodiment mainly includes a video playback interface module and a control interface module.

(1)视频播放模块界面模块(1) Video playback module interface module

参考视频播放界面效果图,视频播放分为多种界面模式,包括1路回放,2路回放,4路回放,9路回放。Referring to the rendering of the video playback interface, video playback is divided into multiple interface modes, including 1-channel playback, 2-channel playback, 4-channel playback, and 9-channel playback.

(2)控制界面模块(2) Control interface module

控制界面模块包括基本信息控制界面、媒体信息控制界面、网络信息控制界面、录像信息控制界面等。The control interface module includes basic information control interface, media information control interface, network information control interface, video information control interface, etc.

其参数配置表如表1,表2,表3所示:Its parameter configuration table is shown in Table 1, Table 2, and Table 3:

表1为媒体信息参数:Table 1 is the media information parameters:

表1Table 1

表2为控制信息配置参数:Table 2 is the control information configuration parameters:

表2Table 2

表3为本地录像配置参数:Table 3 is the local recording configuration parameters:

表3table 3

控制网络信息控制模块主要负责用户对远程设备的控制,由于控制信息数据量小,重要程度高,同时对数据的安全性和准确性要求都较高,因此需要数据保障机制来保证数据的完整性与正确性。因此本发明采用TCP协议作为控制层通信模块的传输层协议。The control network information control module is mainly responsible for the user's control of remote devices. Due to the small amount of control information data, the importance is high, and the requirements for data security and accuracy are high, so a data protection mechanism is required to ensure data integrity. and correctness. Therefore, the present invention adopts the TCP protocol as the transport layer protocol of the control layer communication module.

TCP协议是一种面向连接的、可靠的、基于字节流的传输层协议。面向连接是指两个使用TCP的应用程序必须在彼此交换数据前通过三次握手协议建立一个TCP连接;可靠性是指当TCP发送一个数据包后启动一个定时器,等待目的端确认收到这个数据包,如果不能收到确认,则将重发这个报文段,这种确认与超时重传机制保证了TCP传输的可靠性,TCP协议还提供数据校验来保证数据传输的准确性。同时滑动窗口机制使得网络传输流量得到很好的控制。The TCP protocol is a connection-oriented, reliable, byte stream-based transport layer protocol. Connection-oriented means that two applications using TCP must establish a TCP connection through the three-way handshake protocol before exchanging data with each other; reliability means that when TCP sends a data packet, it starts a timer and waits for the destination to confirm receipt of the data If the confirmation cannot be received, the message segment will be resent. This confirmation and timeout retransmission mechanism ensures the reliability of TCP transmission. The TCP protocol also provides data verification to ensure the accuracy of data transmission. At the same time, the sliding window mechanism makes the network transmission flow well controlled.

按照目前的TCP标准,TCP采用16位的校验和来计算和检验,即发送者将TCP的报文段的头部和数据部分的和计算出来,再对其求反码,就得到了校验和。接收端收到报文之后再按同样的方法进行校验。但是这种错误校验机制相对比较脆弱,同时移动无线网络传输过程当中信号的出错概率比较高,因此需要更高能力的探测机制来保证数据的可靠性。本发明选用在应用层加CRC校验来保证其数据的准确性。According to the current TCP standard, TCP uses a 16-bit checksum to calculate and check, that is, the sender calculates the sum of the header and data part of the TCP message segment, and then inverses it to obtain the checksum. check and. After receiving the message, the receiving end performs verification in the same way. However, this error checking mechanism is relatively fragile, and at the same time, the probability of signal error during mobile wireless network transmission is relatively high, so a detection mechanism with higher capabilities is required to ensure data reliability. The present invention chooses to add CRC check at the application layer to ensure the accuracy of its data.

通过循环冗余校验,信息接收端可以根据CRC的值校验整个控制包的准确性,使得控制信息的准确性和安全性得到了保障,使得移动视频监控系统更加可靠和稳定。Through the cyclic redundancy check, the information receiving end can verify the accuracy of the entire control packet according to the CRC value, so that the accuracy and security of the control information are guaranteed, making the mobile video surveillance system more reliable and stable.

图1为控制层的协议栈模型,图2为其中控制信息数据包格式其中:长度:字长16bit,是指整个数据包的长度;序列号:字长16bit,其范围为0-65535,每发送一个数据包该序列号值增加1;包类型:字长16bit,是指消息负载区的类型;消息负载区:变长数据区,存放控制消息;CRC校验:字长16bit,接收端用来校验该控制报文的正确性。Figure 1 is the protocol stack model of the control layer, and Figure 2 is the format of the control information packet wherein: length: word length 16bit, refers to the length of the entire data packet; serial number: word length 16bit, its range is 0-65535, each Send a data packet, the serial number value increases by 1; packet type: word length 16bit, refers to the type of message load area; message load area: variable length data area, storing control messages; CRC check: word length 16bit, used by the receiving end To verify the correctness of the control message.

图3为控制层通信模块框架如所示:主要由一个消息发送线程和一个消息队列组成。首先客户端处理软件通过TCP协议连接到服务器,两者之间建立一条TCP通信的链路,然后两者之间可以进行消息的发送和接收。该模块中的消息队列一直在接收上层发送的消息,同时消息发送线程从消息队列中获取消息通过TCP通信链路发送到服务器当中。这种多线程的设计保证了控制层通信模块作为一个独立的模块在运行,有利于程序开发的独立性和程序运行的稳定性。Figure 3 shows the framework of the control layer communication module as shown: it mainly consists of a message sending thread and a message queue. First, the client processing software is connected to the server through the TCP protocol, and a TCP communication link is established between the two, and then messages can be sent and received between the two. The message queue in this module has been receiving messages sent by the upper layer, and at the same time, the message sending thread obtains messages from the message queue and sends them to the server through the TCP communication link. This multi-thread design ensures that the control layer communication module runs as an independent module, which is beneficial to the independence of program development and the stability of program operation.

控制层通信模块通过一个CRemoteCtr类来实现。The communication module of the control layer is realized through a CRemoteCtr class.

图4为控制层通信模块的程序流程图如所示:首先进行TCP连接,判断是否连接成功,如果成功则创建消息处理线程,该线程循环读取消息队列中的消息,对其进行封包、CRC校验,然后通过CDMA2000网络传输至服务器当中。Figure 4 is the program flow chart of the control layer communication module as shown: first, make a TCP connection, judge whether the connection is successful, and if successful, create a message processing thread, which reads the messages in the message queue cyclically, and performs packet and CRC on it Verification, and then transmitted to the server through the CDMA2000 network.

控制模块中获取控制消息之后将消息发送到控制层通信模块。After obtaining the control message in the control module, the message is sent to the communication module of the control layer.

Claims (1)

1.一种移动视频监控系统的界面模块,其特征在于:所述界面模块包括:1. an interface module of a mobile video surveillance system, characterized in that: the interface module comprises: 视频播放界面模块,用于以多种界面模式将视频在客户端进行显示;控制界面模块,用于负责用户对设备的控制以及控制信息在客服端软件上的显示;The video playback interface module is used to display the video on the client terminal in various interface modes; the control interface module is used to be responsible for the user's control of the device and the display of control information on the customer service software; 所述控制界面模块包括基本信息控制界面单元、媒体信息控制界面单元、网络信息控制界面单元、本地录像信息控制界面单元;The control interface module includes a basic information control interface unit, a media information control interface unit, a network information control interface unit, and a local recording information control interface unit; 所述媒体信息控制界面单元包括视频分辨率端口、码率端口、帧率端口、运动检测开关端口、运动检测灵敏端口和运动检测区域端口;The media information control interface unit includes a video resolution port, a code rate port, a frame rate port, a motion detection switch port, a motion detection sensitive port, and a motion detection area port; 所述网络信息控制界面单元包括媒体服务端口、远程控制端口、网络方式选择端口和IP地址端口,采用TCP协议作为控制层通信模块的传输层协议,TCP采用16位的校验和来计算和检验,在应用层加CRC校验,通过循环冗余校验,信息接收端根据CRC的值校验整个控制包的准确性。The network information control interface unit includes a media service port, a remote control port, a network mode selection port and an IP address port, and the TCP protocol is used as the transport layer protocol of the control layer communication module, and the TCP uses a 16-bit checksum to calculate and check , add a CRC check at the application layer, through the cyclic redundancy check, the information receiving end checks the accuracy of the entire control packet according to the value of the CRC. 所述本地录像信息控制界面单元包括录像开关、录像模式选择端口、录像存储路径选择端口和录像时间设定端口。The local recording information control interface unit includes a recording switch, a recording mode selection port, a recording storage path selection port and a recording time setting port.
CN201010250955.4A 2010-08-07 2010-08-07 Interface module of mobile video monitoring system Expired - Fee Related CN102375725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010250955.4A CN102375725B (en) 2010-08-07 2010-08-07 Interface module of mobile video monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010250955.4A CN102375725B (en) 2010-08-07 2010-08-07 Interface module of mobile video monitoring system

Publications (2)

Publication Number Publication Date
CN102375725A CN102375725A (en) 2012-03-14
CN102375725B true CN102375725B (en) 2015-01-28

Family

ID=45794374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010250955.4A Expired - Fee Related CN102375725B (en) 2010-08-07 2010-08-07 Interface module of mobile video monitoring system

Country Status (1)

Country Link
CN (1) CN102375725B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5968834B2 (en) * 2013-06-21 2016-08-10 株式会社ソニー・インタラクティブエンタテインメント Information processing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1549048A2 (en) * 2003-12-23 2005-06-29 Genesis Microchip, Inc. Motion detection in video signals
CN1672409A (en) * 2002-07-30 2005-09-21 皇家飞利浦电子股份有限公司 Trick play behavior controlled by a user
EP1657857A2 (en) * 2004-11-16 2006-05-17 Samsung Electronics Co., Ltd. Apparatus, system, and method for transmitting content in home network
CN101021903A (en) * 2006-10-10 2007-08-22 鲍东山 Video caption content analysis system
EP2132933A2 (en) * 2007-03-08 2009-12-16 John Richard Mcintosh Video imagery display system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1672409A (en) * 2002-07-30 2005-09-21 皇家飞利浦电子股份有限公司 Trick play behavior controlled by a user
EP1549048A2 (en) * 2003-12-23 2005-06-29 Genesis Microchip, Inc. Motion detection in video signals
EP1657857A2 (en) * 2004-11-16 2006-05-17 Samsung Electronics Co., Ltd. Apparatus, system, and method for transmitting content in home network
CN101021903A (en) * 2006-10-10 2007-08-22 鲍东山 Video caption content analysis system
EP2132933A2 (en) * 2007-03-08 2009-12-16 John Richard Mcintosh Video imagery display system and method

Also Published As

Publication number Publication date
CN102375725A (en) 2012-03-14

Similar Documents

Publication Publication Date Title
US20220255866A1 (en) Audio/video communication method, terminal, server, computer device, and storage medium
CN102547394B (en) Universal audio/video redirection method for cloud access devices under VDI (Video Desktop Infrastructure) environment
US10484806B2 (en) Managing audio output through an intermediary
BR112013018566B1 (en) Method for negotiating capabilities between a wireless source device and a wireless target device, wireless target device, wireless source device, and computer-readable memory
BR112013018573B1 (en) Wireless target device and method configured to forward user input data originating from a third-party device to a wireless source device, wireless source device and method configured to receive forwarded user input data from a device wireless destination, and memory
US9325519B2 (en) Distributed proxy for bi-directional network connectivity over point-to-point connection
TW200835303A (en) Point-to-multipoint high definition multimedia transmitter and receiver
CN103414751A (en) PC screen content sharing/interaction control method
CN109257138B (en) Data transmission control method and related equipment
WO2012075885A1 (en) Data transmission method and device
CN112559146B (en) Communication method between client and data terminal server
WO2015176648A1 (en) Method and device for transmitting data in intelligent terminal to television terminal
CN104834623A (en) Audio playing method and audio playing device
CN103414890A (en) Realization method of remote desktop and device thereof
CN115134553A (en) Data transmission method and device, electronic equipment and storage medium
CN114710568B (en) Audio and video data communication methods, equipment and storage media
CN102375725B (en) Interface module of mobile video monitoring system
WO2022011574A1 (en) Data transmission method, sending device, and receiving device
JP2007502585A (en) Apparatus, system and method for transmitting data technology area
WO2022241737A1 (en) Data transmission method and related device
CN112532719A (en) Information flow pushing method, device, equipment and computer readable storage medium
CN115333677A (en) Cloud service processing method, system, device, equipment and storage medium
WO2015021748A1 (en) Method, apparatus and a system for transmitting sensor data
CN112839243B (en) Code stream transfer method and device, electronic equipment and storage medium
CN104602113B (en) A kind of method, apparatus and system realized long distance wireless fidelity and shown

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150128

Termination date: 20200807