CN102547211B - Video conference terminal controller on basis of serial port and control system thereof - Google Patents
Video conference terminal controller on basis of serial port and control system thereof Download PDFInfo
- Publication number
- CN102547211B CN102547211B CN201010617254.XA CN201010617254A CN102547211B CN 102547211 B CN102547211 B CN 102547211B CN 201010617254 A CN201010617254 A CN 201010617254A CN 102547211 B CN102547211 B CN 102547211B
- Authority
- CN
- China
- Prior art keywords
- video conference
- conference terminal
- indicator light
- terminal controller
- information
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 23
- 238000001514 detection method Methods 0.000 claims description 18
- 238000012545 processing Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims 1
- 230000006854 communication Effects 0.000 abstract description 10
- 238000004891 communication Methods 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 10
- 230000004397 blinking Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Landscapes
- Telephonic Communication Services (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
本发明提供基于串口的视频会议终端控制器,包括装置:上线通知装置,其用于向视频会议终端发送上线通知信息;下线通知装置,其用于向视频会议终端发送下线通知信息;呼叫控制装置,其用于向视频会议终端发送地址标识信息,其中,所述地址标识信息用于指示视频会议终端内预存的呼叫地址;以及控制串口,其用于连接视频会议终端。还提供相应的控制系统和控制方法。本发明通过视频会议终端控制器对视频会议终端进行控制,尤其是采用串口的通信方式可以避免因有些视频会议终端未摆放在会议室而导致的遥控困难,且控制器结构简单,其配备的指示灯以及显示屏可以很好的提示出所述视频会议终端的多种工作状态,给用户带来了操作上的简单。
The present invention provides a video conferencing terminal controller based on a serial port, including devices: an online notification device, which is used to send online notification information to the video conference terminal; an offline notification device, which is used to send offline notification information to the video conference terminal; A control device, which is used to send address identification information to the video conference terminal, wherein the address identification information is used to indicate a call address pre-stored in the video conference terminal; and a control serial port, which is used to connect to the video conference terminal. Corresponding control systems and control methods are also provided. The present invention controls the video conferencing terminal through the video conferencing terminal controller, especially the serial port communication method can avoid remote control difficulties caused by some video conferencing terminals not being placed in the meeting room, and the controller has a simple structure, and the equipped The indicator light and the display screen can well prompt various working states of the video conferencing terminal, which brings simple operation to the user.
Description
技术领域 technical field
本发明涉及嵌入式设备的控制系统,尤其是通过串口线进行互联,为视频会议终端提供一种桌面式的更便捷的控制系统,具体地,涉及基于串口的视频会议终端控制器及相应的控制系统。 The present invention relates to a control system of an embedded device, especially to provide a desktop-style and more convenient control system for a video conferencing terminal through interconnection through a serial port line, in particular, to a serial port-based video conferencing terminal controller and corresponding control system.
背景技术 Background technique
目前大多数视频会议终端的控制方式主要有OSD、网管。其中OSD要通过红外遥控器来操作,由于有些终端摆放位置的缘故,操作遥控器比较麻烦,尤其在观察OSD显示的同时要确保遥控器手指按键的正确,特别是有些终端并未摆放在会议室,通过遥控器的操作方式就没有任何用处了。 At present, the control methods of most video conferencing terminals mainly include OSD and network management. Among them, the OSD needs to be operated by an infrared remote control. Due to the position of some terminals, it is troublesome to operate the remote control. Especially when observing the OSD display, it is necessary to ensure that the fingers of the remote control are pressed correctly, especially if some terminals are not placed on the remote control. In the conference room, the operation method through the remote control is useless.
网管是通过网络方式对终端设备进行控制,一般是通过一台PC进行控制。尤其对于一些使用者来说,并不需要在每个坐席上安置一台网管PC,这样既增加了成本,又给使用者带来操作上的难度,特别是一些高级配置,需要培训成本。 The network management is to control the terminal equipment through the network, usually through a PC. Especially for some users, it is not necessary to install a network management PC on each seat, which not only increases the cost, but also brings operational difficulties to users, especially some advanced configurations require training costs.
而视频会议终端串口控制器则可以针对一般的使用者避免上述的诸多弊端。需要补充开发的是,视频会议终端上必须增加与串口控制器通信的业务模块。 The video conferencing terminal serial port controller can avoid many of the above-mentioned disadvantages for ordinary users. What needs to be supplemented is that the video conferencing terminal must add a business module that communicates with the serial port controller.
发明内容 Contents of the invention
针对现有技术中的缺陷,本发明的目的是提供一种的控制方法以及相应的控制装置。 In view of the defects in the prior art, the object of the present invention is to provide a control method and a corresponding control device.
根据本发明的一个方面,提供一种基于串口的视频会议终端控制器,包括装置:上线通知装置,其用于向视频会议终端发送上线通知信息;下线通知装置,其用于向视频会议终端发送下线通知信息;呼叫控制装置,其用于向视频会议终端发送地址标识信息,其中,所述地址标识信息用于指示视频会议终端内预存的呼叫地址;以及控制串口,其用于连接视频会议终端。 According to one aspect of the present invention, there is provided a serial port-based video conferencing terminal controller, including devices: an online notification device, which is used to send online notification information to the video conference terminal; an offline notification device, which is used to send the video conference terminal Send offline notification information; call control device, which is used to send address identification information to the video conference terminal, wherein the address identification information is used to indicate the call address pre-stored in the video conference terminal; and control serial port, which is used to connect video conference terminal.
根据本发明的另一个方面,还提供一种包含基于串口的视频会议终端控制器的控制系统,包括根据本发明提供的所述视频会议终端控制器,还包括与所述视频会议终端控制器通过控制串口连接的视频会议终端,其中,所述视频会议终端包括如下装置:第三接收装置,其用于接收所述地址标识信息;第一处理装置,其用于根据所述地址标志信息生成所述指示灯控制信息;第四接收装置,其用于接收所述指示灯控制回应信息。 According to another aspect of the present invention, there is also provided a control system comprising a serial port-based video conference terminal controller, including the video conference terminal controller provided according to the present invention, and also including A video conferencing terminal connected to a serial port is controlled, wherein the video conferencing terminal includes the following devices: a third receiving device, which is used to receive the address identification information; a first processing device, which is used to generate the address identification information according to the address identification information. The indicator light control information; the fourth receiving device is used for receiving the indicator light control response information.
根据本发明的又一个方面,提供种基于串口的视频会议终端控制器的控制方法,包括步骤:a. 视频会议终端控制器向视频会议终端发送地址标识信息,其中,所述地址标识信息用于指示视频会议终端内预存的网络地址;b. 视频会议终端根据所述地址标识信息生成指示灯控制信息,其中,所述指示灯控制信息包括指示灯标识信息以及指示灯状态信息;c. 视频会议终端向视频会议终端控制器发送所述指示灯控制信息;d. 视频会议终端控制器根据所述指示灯控制信息控制指示灯,并向视频会议终端发送指示灯控制回应信息,其中,所述指示灯控制回应信息包括指示灯标识信息以及指示灯状态信息,其中,所述视频会议终端控制器通过控制串口连接所述视频会议终端。 According to yet another aspect of the present invention, a serial port-based control method for a video conferencing terminal controller is provided, comprising steps: a. The video conferencing terminal controller sends address identification information to the video conferencing terminal, wherein the address identification information is used for Indicate the network address pre-stored in the video conferencing terminal; b. The video conferencing terminal generates indicator light control information according to the address identification information, wherein the indicator light control information includes indicator light identification information and indicator light status information; c. Video conferencing The terminal sends the indicator light control information to the video conferencing terminal controller; d. The video conferencing terminal controller controls the indicator light according to the indicator light control information, and sends the indicator light control response information to the video conferencing terminal, wherein the indication The light control response information includes indicator light identification information and light state information, wherein the video conference terminal controller is connected to the video conference terminal through a control serial port.
本发明通过视频会议终端控制器对视频会议终端进行控制,尤其是采用串口的通信方式可以避免因有些视频会议终端未摆放在会议室而导致的遥控困难。并且所述视频会议终端控制器结构简单,其配备的指示灯以及显示屏可以很好的提示出所述视频会议终端的多种工作状态,给用户带来了操作上的简单。 The present invention controls the video conference terminal through the video conference terminal controller, especially adopts the communication mode of the serial port, which can avoid remote control difficulties caused by some video conference terminals not placed in the meeting room. Moreover, the video conferencing terminal controller has a simple structure, and its equipped indicator lights and display screens can well prompt various working states of the video conferencing terminal, which brings simple operation to users.
附图说明 Description of drawings
通过阅读参照以下附图对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显: Other characteristics, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1示出根据本发明的第一实施例的,基于串口的视频会议终端控制器的结构示意图; FIG. 1 shows a schematic structural diagram of a serial port-based video conferencing terminal controller according to a first embodiment of the present invention;
图2示出根据本发明的第二实施例的,基于串口的视频会议终端控制器的控制系统的结构示意图; FIG. 2 shows a schematic structural diagram of a control system of a serial port-based video conferencing terminal controller according to a second embodiment of the present invention;
图3示出根据本发明的第二实施例的一个优选例的,基于串口的视频会议终端控制器的控制系统中的视频会议终端的结构示意图; FIG. 3 shows a schematic structural diagram of a video conference terminal in a control system of a serial port-based video conference terminal controller according to a preferred example of the second embodiment of the present invention;
图4示出根据本发明的第三实施例的,基于串口的视频会议终端控制器的控制方法的流程图; FIG. 4 shows a flowchart of a control method of a serial port-based video conferencing terminal controller according to a third embodiment of the present invention;
图5示出根据本发明的第四实施例的,基于串口的视频会议终端控制器的控制方法的流程图; Fig. 5 shows the flowchart of the control method of the video conferencing terminal controller based on the serial port according to the fourth embodiment of the present invention;
图6示出根据本发明的第五实施例的,基于串口的视频会议终端控制器的控制方法的流程图; FIG. 6 shows a flowchart of a control method of a serial port-based video conferencing terminal controller according to a fifth embodiment of the present invention;
图7示出根据本发明的一个具体实施方式的,视频会议终端处理断链检测的消息图;以及 FIG. 7 shows a message diagram of a video conferencing terminal processing link disconnection detection according to a specific embodiment of the present invention; and
图8示出根据本发明的另一个具体实施方式的,视频会议终端控制器处理断链检测的消息图。 Fig. 8 shows a message diagram of processing link disconnection detection by a video conference terminal controller according to another specific embodiment of the present invention.
具体实施方式 Detailed ways
图1示出根据本发明的第一实施例的,基于串口的视频会议终端控制器的结构示意图。具体地,在本实施例中,所述视频会议终端控制器4包括装置:上线通知装置403,其用于向视频会议终端发送上线通知信息;下线通知装置404,其用于向视频会议终端发送下线通知信息;呼叫控制装置402,其用于向视频会议终端发送地址标识信息,其中,所述地址标识信息用于指示视频会议终端内预存的呼叫地址;第一输入装置401,其用于输入所述地址标识信息;控制串口410,其用于连接视频会议终端;第一接收装置405,其用于接收来自视频会议终端的指示灯控制信息,其中,所述指示灯控制信息包括指示灯标识信息以及指示灯状态信息;指示灯控制装置406,其用于根据所述指示灯控制信息控制所述指示灯;第一发送装置407,其用于向视频会议终端发送指示灯控制回应信息,其中,所述指示灯控制回应信息包括指示灯标识信息以及指示灯状态信息;指示灯409;发言申请装置408,其用于向视频会议终端发送发言申请信息。优选地,所述呼叫地址可以为IP/别名/E.164号。优选地,所述视频会议终端控制器的电源可以采用本地供电方式,例如,所述视频会议终端控制器可以包括一个电源开关以及一个电源适配器;还可以采用远程供电方式,例如,所述视频会议终端控制器可以通过其所包含的RJ4空闲线路供电。
Fig. 1 shows a schematic structural diagram of a serial port-based video conferencing terminal controller according to a first embodiment of the present invention. Specifically, in this embodiment, the video conference terminal controller 4 includes devices: an
更为具体地,所述视频会议终端控制器4启动后,所述上线通知装置403通过所述控制串口410向所述视频会议终端发送上线通知信息。所述第一输入装置401可以包括按钮、键盘以及触摸屏等输入装置,用户通过所述第一输入装置401向所述呼叫控制装置402输入地址标识信息,所述呼叫控制装置402接收所述地址标识信息,在一个优选例中,所述第一输入装置401包括四个呼叫按钮,这些呼叫按钮分别对应四条不同的地址标识信息,用户通过长按该呼叫按钮两秒便可以向所述呼叫控制装置402发出对应的所述地址标识信息。
More specifically, after the video conference terminal controller 4 is started, the
所述指示灯409可以包括若干用于指示不同信息的灯。在一个优选例中,所述指示灯409包括联机/运行灯,其用指示所述视频会议终端控制器4的联机、运行状态,例如,当所述视频会议终端控制器4接通电源后,所述联机/运行灯将进入灯亮状态,又例如,当所述上线通知装置403向所述视频会议终端发送所述上线通知信息后,其可以控制所述联机/运行灯进入闪烁状态,又例如,当所述下线通知装置404向所述视频会议终端发送所述下线通知信息后,其可以控制所述联机/运行灯进入灯灭状态。
The
在另一个实施例中,所述指示灯409可以包括会议灯,其用于指示所述视频会议终端的会议状态。具体地,所述呼叫控制装置402通过所述控制串口410向所述视频会议终端发送所述地址标识信息后,若所述视频会议终端成功处理所述地址标识信息,则所述视频会议终端向所述视频会议终端控制器4发送指示灯控制信息,所述第一接收装置405通过所述控制串口410接收所述指示灯控制信息,并触发所述指示灯控制装置406根据所述指示灯控制信息控制所述会议灯点亮,若所述指示灯控制装置406成功控制所述会议灯,则所述指示灯控制装置406触发所述第一发送装置407通过所述控制串口410向所述视频会议终端发送所述指示灯控制回应信息。同样的原理,当所述呼叫控制装置402取消会议时,所述指示灯控制装置406根据所述视频会议终端的指示灯控制信息控制所述会议灯灯灭。
In another embodiment, the
在又一个优选例中,所述指示灯409包括发言灯。具体地,所述发言申请装置408可以包括按钮,用户通过按下该按钮可以申请发言,然后所述发言申请装置408通过所述控制串口410向所述视频会议终端发送所述发言申请信息,所述视频会议终端成功处理所述发言申请信息,则所述视频会议终端将向所述视频会议终端控制器发送所述指示灯控制信息,由所述指示灯控制装置406控制所述发言灯点亮。
In yet another preferred example, the
进一步地,可以通过如下的优选方式来对所述视频会议终端控制器与视频会议终端之间的通信协议消息格式进行定义: Further, the communication protocol message format between the video conference terminal controller and the video conference terminal may be defined in the following preferred manner:
所述视频会议终端控制器与视频会议终端通过控制串口进行通信,首先要确定的就是两者之间的通信协议格式。所述视频会议终端控制器与所述视频会议终端通讯采用定长消息,4个字节: The video conferencing terminal controller communicates with the video conferencing terminal through the control serial port, and the first thing to be determined is the format of the communication protocol between the two. The video conferencing terminal controller communicates with the video conferencing terminal using a fixed-length message, 4 bytes:
其中,起始字一个字节:0xFF;命令字一个字节,含义如下: Among them, the start word is one byte: 0xFF; the command word is one byte, the meanings are as follows:
0x01->呼叫按钮1按下(长按两秒); 0x01->Call button 1 is pressed (long press for two seconds);
0x02->呼叫按钮2按下(长按两秒); 0x02->Call button 2 is pressed (long press for two seconds);
0x03->呼叫按钮3按下(长按两秒); 0x03->Call button 3 is pressed (long press for two seconds);
0x04->呼叫按钮4按下(长按两秒); 0x04->Call button 4 is pressed (long press for two seconds);
0x05->发言按钮按下(长按两秒); 0x05->Speak button is pressed (long press for two seconds);
0x06->指示灯控制(由所述视频会议终端发送到所述视频会议终端控制器); 0x06->light control (sent by the video conferencing terminal to the video conferencing terminal controller);
0x07->指示灯控制回应(由所述视频会议终端控制器发送到所述视频会议终端); 0x07->light control response (sent by the video conferencing terminal controller to the video conferencing terminal);
0x08->mtcbox上线通知(由所述视频会议终端控制器发送到所述视频会议终端); 0x08->mtcbox online notification (sent by the video conference terminal controller to the video conference terminal);
0x09->mtcbox下线通知(由所述视频会议终端控制器发送到所述视频会议终端)。 0x09->mtcbox offline notification (sent by the video conference terminal controller to the video conference terminal).
0xEE->保活命令 0xEE->keep alive command
参数字一个字节: The parameter word is one byte:
例如所述指示灯控制信息和指示灯控制回应信息用到了参数字。对于指示灯控制命令(0x06),参数字格式为: For example, the indicator light control information and indicator light control response information use parameter words. For the indicator light control command (0x06), the format of the parameter word is:
灯ID与灯状态各占4bit。 The light ID and light state each occupy 4 bits.
灯ID可取以下值: The lamp ID can take the following values:
0001B:灯呼叫按钮1; 0001B: light call button 1;
0010B:灯呼叫按钮2; 0010B: light call button 2;
0011B:灯呼叫按钮3; 0011B: light call button 3;
0100B:灯呼叫按钮4; 0100B: light call button 4;
0101B:灯发言按钮; 0101B: Light and speak button;
0110B:联机、运行灯(联机、运行状态公用一个指示灯); 0110B: Online and running lights (online and running status share one indicator light);
0111B:会议灯; 0111B: meeting lights;
1000B:发言灯; 1000B: Speech lamp;
其中,灯状态可取以下值: Among them, the light state can take the following values:
0001B:灯亮; 0001B: light on;
0010B:灯灭; 0010B: light off;
0011B:1秒闪烁。 0011B: Flashes for 1 second.
对于指示灯控制回应命令(0x07),参数字格式为: For the indicator light control response command (0x07), the format of the parameter word is:
灯ID与结果各占4bit。灯ID与指示灯控制命令(0x06)含义一致。 The light ID and the result each occupy 4 bits. The lamp ID has the same meaning as the lamp control command (0x06).
结果可取以下值: The result can take the following values:
0001B:成功; 0001B: success;
0010B:失败。 0010B: Failed.
其中,校验字优选地为命令字与参数字求和然后最高位取0。 Wherein, the check word is preferably the sum of the command word and the parameter word, and then the highest bit is set to 0.
在本实施例的一个优选例中,所述视频会议终端控制器4还可以包括显示屏,其中,所述显示屏可以包括液晶显示屏。优选地,所述显示屏可以连接至所述呼叫控制装置402,所述呼叫控制装置402可以向所述显示屏发送所述地址标识信息,所述显示屏显示所述地址标识信息。优选地,所述显示屏可以连接至所述发言申请装置408,所述发言申请装置408向所述显示屏发送所述发言申请信息,所述显示屏显示所述发言申请信息,进一步优选地,所述显示屏还可以连接至所述指示灯控制装置406,所述指示灯控制装置406接收并向所述显示屏发送与所述视频会议终端成功处理所述发言申请信息对应的指示灯控制信息,所述显示屏在接收到所述指示灯控制信息后显示所述发言状态信息为发言被成功接受。
In a preferred example of this embodiment, the video conference terminal controller 4 may further include a display screen, wherein the display screen may include a liquid crystal display screen. Preferably, the display screen can be connected to the
在本实施例的一个变化例中,所述发言申请装置408可以被省略。在本实施例的另一个变化例中,所述指示灯409可以被省略,相应地,所述第一接收装置405、指示灯控制装置406以及第一发送装置407可以被省略。
In a variation of this embodiment, the speaking
图2示出根据本发明的第二实施例的,基于串口的视频会议终端控制器的控制系统的结构示意图。具体地,所述控制系统包括视频会议终端控制器4'以及视频会议终端5,其中,本领域技术人员可以将所述视频会议终端控制器4'理解为图1所示实施例中的所述视频会议终端控制器4的一个变化例,所述视频会议终端控制器4'与所述视频会议终端控制器4的区别在于,所述视频会议终端控制器4'还包括第一断链检测装置411、控制串口410、第二接收装置412、第一设置装置413以及第三发送装置414。其中,所述第二接收装置412用于接收来自视频会议终端的间隔时间设置命令,其中,所述间隔时间设置命令用于指示所述第一输入装置押下的间隔时间;所述第一设置装置413用于根据所述间隔时间设置命令设置所述第一输入装置押下的间隔时间;所述第三发送装置414用于向视频会议终端发送间隔时间设置命令回应。进一步地,所述第一断链检测装置411用于检测视频会议终端是否断链,优选地,所述第一断链检测装置411包括第二发送装置4111、第一判断装置4112、第二判断装置4113以及第一确定装置4114,其中,所述第二发送装置4111用于向视频会议终端发送保活命令,所述第一判断装置4112用于判断是否接收到来自视频会议终端的保活命令回应,所述第二判断装置4113用于当所述第一判断装置4112的判断结果是否定的时判断所述第一判断装置4112没有接收到所述保活命令回应的连续次数是否超过第一阈值,所述第一确定装置4114用于当所述第二判断装置4113的判断结果是肯定的时确定视频会议终端断链。优选地,保活命令为4个字节,发送顺序为起始字0xFF,命令字0xEE,参数字0x00,校验字0x6E。
Fig. 2 shows a schematic structural diagram of a control system of a serial port-based video conferencing terminal controller according to a second embodiment of the present invention. Specifically, the control system includes a video conference terminal controller 4' and a
进一步地,所述视频会议终端控制器4'连接所述视频会议终端5,具体地,所述视频会议终端控制器4'包括控制串口410,所述视频会议终端5包括控制串口501,其中,所述控制串口410与所述控制串口501相匹配并且通过串口线相互连接,优选地,所述控制串口410以及所述控制串口501可以是RS485接口或者RS232接口。
Further, the video conference terminal controller 4' is connected to the
进一步地,所述视频会议终端控制器4'通过所述第一断链检测装置411检测所述视频会议终端是否断链。结合图8所示的断链检测消息图,其中,所述视频会议终端控制器标示为“Mtc_Box”,所述视频会议终端标示为“MT”。具体地,所述第一断链检测装置411初始化后设置所述视频会议终端5的在线状态为假,通过所述指示灯控制装置设置全部或部分所述指示灯状态为灯灭,断链统计次数初始化为0,启动保活命令定时器并设置定时周期为半秒;然后所述第二发送装置4111每隔半秒定时通过所述控制串口410向所述视频会议终端5发送所述保活命令;所述第一判断装置4112判断在当前定时周期内是否接收到来自所述视频会议终端的保活命令,若接收到,则所述第一断链检测装置411设置所述视频会议终端5的在线状态为真,设置断链统计次数为0,设置所述指示灯状态为亮灯;若所述第一判断装置4112在当前定时周期内没有接收到来自所述视频会议终端的保活命令,则将断链统计次数增加1,然后由所述第二判断装置4113判断所述断链统计次数是否超过10次,若没有超过则有所述第二发送装置4111再次发送所述保活命令,若超过则触发所述第一确定装置确定所述视频会议终端断链,并设置所述指示灯状态为灭灯。 Further, the video conferencing terminal controller 4 ′ detects whether the video conferencing terminal is disconnected through the first link disconnection detecting means 411 . With reference to the broken link detection message diagram shown in FIG. 8, the video conference terminal controller is marked as " Mtc_Box ", and the video conference terminal is marked as " MT ". Specifically, after the initialization of the first link disconnection detection device 411, the online status of the video conferencing terminal 5 is set to be false, and the status of all or part of the indicator lights is set to be off by the indicator light control device, and the link disconnection statistics The number of times is initialized to 0, start the keep-alive command timer and set the timing period as half a second; then the second sending device 4111 regularly sends the keep-alive command to the video conference terminal 5 through the control serial port 410 every half second command; the first judging means 4112 judges whether a keep-alive command from the video conferencing terminal is received within the current timing period, and if received, the first disconnection detecting means 411 sets the video conferencing terminal 5 If the online status of the online status is true, the number of disconnection statistics is set to 0, and the status of the indicator light is set to be on; if the first judging means 4112 does not receive a keep-alive command from the video conferencing terminal within the current timing period , then increase the number of link disconnection statistics by 1, and then the second judging means 4113 judges whether the number of link disconnection statistics exceeds 10 times, if not, the second sending means 4111 sends the keep-alive command again , if it exceeds, trigger the first determining device to determine that the video conferencing terminal is disconnected, and set the state of the indicator light to be off.
更进一步地,可以通过所述第二接收装置412接收来自视频会议终端的间隔时间设置命令,然后由所述第一设置装置413根据所述间隔时间设置命令设置所述第一输入装置押下的间隔时间,若设置成功,则所述第一设置装置413触发所述第三发送装置414向所述视频会议终端5发送间隔时间设置命令回应。其中,所述视频会议终端控制器与视频会议终端通过控制串口进行通信,首先要确定的就是两者之间的通信协议格式。所述视频会议终端控制器与所述视频会议终端通讯采用定长消息,4个字节。
Furthermore, the second receiving means 412 may receive an interval time setting command from the video conferencing terminal, and then the first setting means 413 may set the interval pressed by the first input means according to the interval time setting command. time, if the setting is successful, the first setting means 413 triggers the third sending means 414 to send an interval time setting command response to the
其中,起始字一个字节:0xFF;命令字一个字节,含义如下: Among them, the start word is one byte: 0xFF; the command word is one byte, the meaning is as follows:
0x10->设置按钮押下的间隔时间(由视频会议终端发送到视频会议终端控制器); 0x10->Set the interval time for pressing the button (sent by the video conference terminal to the video conference terminal controller);
0x11->设置按钮押下的间隔时间回应(由视频会议终端控制器发送到视频会议终端)。 0x11->Set the interval response for pressing the button (sent by the video conference terminal controller to the video conference terminal).
其中,对于设置按钮押下的间隔时间(0x10),参数字格式为: Among them, for setting the interval time of pressing the button (0x10), the format of the parameter word is:
以ms为单位,除以50,假设为2000ms,参数字为40。范围是200ms-2000ms。 Take ms as the unit, divide by 50, assume it is 2000ms, and the parameter word is 40. The range is 200ms-2000ms.
对于设置按钮押下的间隔时间回应(0x11): Response (0x11) to the interval time for setting the button press:
结果可取以下值: The result can take the following values:
1:成功; 1: success;
其他:失败。 Other: Failed.
在本实施例的一个优选例中,所述视频会议终端控制器4'还可以包括显示屏,其中,所述显示屏用于显示断链提示信息,所述断链提示信息接收自所述第一断链检测装置411,用于提示所述视频会议终端是否断链。 In a preferred example of this embodiment, the video conference terminal controller 4' may further include a display screen, wherein the display screen is used to display link disconnection prompt information received from the second A link disconnection detecting device 411, configured to prompt whether the video conferencing terminal is disconnected.
图3示出根据本发明的第二实施例的一个优选例的,基于串口的视频会议终端控制器的控制系统中的视频会议终端的结构示意图。具体地,在本实施例中,所述视频会议终端5包括装置:控制串口501,其用于连接所述视频会议终端控制器;第二断链检测装置502,其用于检测所述视频会议终端控制器是否断链;发言申请接收装置503,其用于接收所述发言申请信息;第三接收装置504,其用于接收所述地址标识信息;第一处理装置505,其用于根据所述地址标志信息生成所述指示灯控制信息;第四接收装置506,其用于接收所述指示灯控制回应信息;第三发送装置507,其用于向所述视频会议终端控制器发送所述时间间隔设置命令;第五接收装置208,其用于接收所述间隔时间设置命令回应。
Fig. 3 shows a schematic structural diagram of a video conference terminal in a control system of a serial port-based video conference terminal controller according to a preferred example of the second embodiment of the present invention. Specifically, in this embodiment, the
更为具体地,所述第三接收装置504通过所述控制串口501接收所述视频会议终端控制器的呼叫控制装置发出的所述地址标识信息,然后由所述第一处理装置505根据所述地址标识信息生成所述指示灯控制信息,并进而通过所述控制串口501发送给所述视频会议终端控制器的第一接收装置405;待所述视频会议终端控制器反馈所述指示灯控制回应信息时由所述第四接收装置接收。更进一步具体地,所述视频会议终端5通过所述第三发送装置507经所述控制串口501向所述视频会议终端控制器的第二接收装置发送所述时间间隔设置命令;待所述视频会议终端控制器反馈所述间隔时间设置命令回应时,由所述第五接收装置接收。优选地,所述发言申请接收装置503接收来自所述视频会议终端的发言申请装置408发出的所述发言申请信息。
More specifically, the third receiving means 504 receives the address identification information sent by the call control means of the video conference terminal controller through the control
优选地,所述第二断链检测装置502包括第三判断装置5021、第四判断装置5022、第二确定装置5023以及第一保活回应装置5024,其中,所述第三判断装置5021用于判断是否接收到所述保活命令,所述第四判断装置5022用于当所述第三判断装置5021的判断结果是否定的时判断所述第三判断装置5021没有接收到所述保活命令的连续次数是否超过第二阈值,所述第二确定装置5023用于当所述第四判断装置5022的判断结果是肯定的时确定所述视频会议终端控制器断链,所述第一保活回应装置5024用于接收所述保活命令,并根据所述保活命令反馈所述保活命令回应。
Preferably, the second link
进一步优选地,所述视频会议终端控制器5通过所述第二断链检测装置502检测所述视频会议终端是否断链。结合图7所示的断链检测消息图,其中,所述视频会议终端控制器标示为“Mtc_Box”,所述视频会议终端标示为“MT”。具体地,所述第二断链检测装置502初始化后设置所述视频会议终端控制器的在线状态为假,断链统计次数初始化为0,启动保活命令定时器并设置定时周期为2秒;然后所述第第三判断装置5021每隔2秒定时判断是否接收到所述保活命令,若接收到,则所述第三判断装置5021设置所述视频会议终端控制器的在线状态为真,设置所述断链统计次数为0,触发所述第一保活命令回应装置5024反馈所述保活命令;若所述第三判断装置5021在当前定时周期内没有接收到来自所述视频会议终端控制器的保活命令,则将断链统计次数增加1,然后由所述第四判断装置5022判断所述断链统计次数是否超过3次,若没有超过则重新启动所述保活命令定时器并触发所述第一保活命令回应装置5024反馈所述保活命令,若超过则触发所述第二确定装置5023确定所述视频会议终端断链,并向所述视频会议终端控制器发送用于设置所述指示灯状态为灭灯的控制信号。
Further preferably, the video
本领域技术人员理解,所述视频会议终端5优选地可以具有现有技术中一般视频会议终端的部分或全部功能模块以实现相应的应用,优选地在此基础上,所述视频会议终端上必须增加与所述视频会议终端控制器之间串口通信的业务模块,这样的业务模块可以参照上述实施例的所述视频会议终端中所述的各个装置实现,在此不予赘述。。
Those skilled in the art understand that the
优选地,可以采用以下形式来控制所述视频会议终端控制器的指示灯。例如,所述指示灯可以包括呼叫控制按钮灯。具体地,所述第一输入装置可以包括4个按钮,这4个按钮分别用于发起对不同呼叫地址的呼叫,与这4个按钮相应地设置有4个所述呼叫控制按钮灯。更为具体地,当未呼叫时,所述呼叫控制按钮灯灭;长按按钮2秒后发启呼叫,呼叫过程中,所述呼叫控制按钮灯(优选地为绿灯)闪烁,1秒亮1秒灭;若呼叫成功,则所述呼叫控制按钮灯(优选地为绿灯)长亮;若呼叫失败,则所述呼叫控制按钮灯灭;通过长按按钮2秒挂断当前会议或所述视频会议终端主动退会时,所述呼叫控制按钮灯灭。 Preferably, the indicator light of the video conference terminal controller can be controlled in the following form. For example, the indicator light may comprise a call control button light. Specifically, the first input device may include 4 buttons, and the 4 buttons are respectively used to initiate calls to different call addresses, and 4 lights of the call control button are provided correspondingly to the 4 buttons. More specifically, when there is no call, the light of the call control button is off; press and hold the button for 2 seconds to initiate a call, and during the call, the light of the call control button (preferably a green light) flickers and is on for 1 second. If the call is successful, the call control button light (preferably green light) will be on; if the call fails, the call control button light will be off; hang up the current meeting or the video by pressing the button for 2 seconds When the conference terminal voluntarily withdraws from the conference, the light of the call control button is off.
又例如,所述指示灯包括发言按钮灯,其中,所述发言按钮灯与发言申请装置(例如发言申请按钮)相对应。具体地,所述视频会议终端控制器未申请发言时,所述发言按钮灯灭;长按2秒发言按钮后开启发言申请,发言申请等待回应过程中,所述发言按钮灯(优选地为绿灯)闪烁,1秒亮1秒灭;若发言申请成功,则所述发言按钮灯灭(与此同时,所述发言灯长亮);若发言申请失败,则发言按钮灯灭(与此同时,所述发言灯灭);但取消终端发言人时(例如可通过长按发言申请按钮2秒取消发言),所述发言按钮灯灭。 For another example, the indicator light includes a speaking button light, wherein the speaking button light corresponds to a speaking application device (eg, a speaking application button). Specifically, when the video conferencing terminal controller does not apply for speaking, the speaking button light is off; after pressing and holding the speaking button for 2 seconds, the speaking application is turned on, and when the speaking application is waiting for a response, the speaking button light (preferably a green light) ) flashes, on for 1 second and off for 1 second; if the speaking application is successful, the speaking button light is off (at the same time, the speaking light is always on); if the speaking application fails, the speaking button light is off (at the same time, The speech light is off); but when the terminal speaker is canceled (for example, the speech can be canceled by pressing and holding the speech application button for 2 seconds), the speech button light is off.
又例如,所述指示灯包括联机/运行灯。具体地,所述视频会议终端控制器上电运行正常,所述联机/运行灯(优选地为绿灯)闪烁,1秒亮1秒灭;所述视频会议终端控制器与所述视频会议终端建立链接,则所述联机/运行灯长亮;所述视频会议终端控制器与所述视频会议终端断链,则所述联机/运行灯闪烁;所述视频会议终端控制器关电,则所述联机/运行灯灭。 For another example, the indicator light includes an online/running light. Specifically, the video conferencing terminal controller is powered on and running normally, the online/running light (preferably green light) flickers, on for 1 second and off for 1 second; the video conferencing terminal controller and the video conferencing terminal establish If the video conferencing terminal controller is disconnected from the video conferencing terminal, the online/running light will flash; if the video conferencing terminal controller is powered off, the Online/running light is off.
又例如,所述指示灯包括会议灯。具体地,若所述视频会议终端控制器当前连接所述视频会议终端进入会议则所述会议灯亮;若所述视频会议终端控制器当前连接所述视频会议终端未成为发言人则所述会议灯灭。 For another example, the indicator light includes a conference light. Specifically, if the video conferencing terminal controller is currently connected to the video conferencing terminal to enter a conference, the conference light is on; if the video conferencing terminal controller is currently connected to the video conferencing terminal and has not become a speaker, the conference light off.
又例如,所述指示灯包括发言灯。具体地,若所述视频会议终端控制器当前连接的所述视频会议终端为多点会议发言人,或点对点状态,则所述发言灯(优选地为绿灯)长亮;若所述视频会议终端控制器当前连接的所述视频会议终端未成为发言人则所述发言灯灭。 For another example, the indicator light includes a speech light. Specifically, if the video conference terminal currently connected to the video conference terminal controller is a multipoint conference speaker, or in a point-to-point state, the speaking light (preferably a green light) is always on; if the video conference terminal If the video conferencing terminal currently connected to the controller does not become a speaker, the speaking indicator is off.
以上通过图1至图3对根据本发明提供的视频会议终端控制器以及控制系统进行了描述,接下来将通过图4至图6对相应的控制方法进行描述。具体地,图4示出根据本发明的第三实施例的,基于串口的视频会议终端控制器的控制方法的流程图。更为具体地,在本实施例中,首先执行步骤S210,所述视频会议终端控制器向所述视频会议终端发送上线通知信息,其中,所述视频会议终端控制器通过控制串口连接所述视频会议终端,所述视频会议终端控制器4启动后,其向所述视频会议终端发送所述上线通知信息。 The video conferencing terminal controller and the control system provided according to the present invention are described above through FIGS. 1 to 3 , and the corresponding control method will be described next through FIGS. 4 to 6 . Specifically, FIG. 4 shows a flowchart of a method for controlling a serial port-based video conferencing terminal controller according to a third embodiment of the present invention. More specifically, in this embodiment, step S210 is first performed, the video conferencing terminal controller sends online notification information to the video conferencing terminal, wherein the video conferencing terminal controller connects to the video conferencing terminal through the control serial port For a conference terminal, after the video conference terminal controller 4 is started, it sends the online notification information to the video conference terminal.
接下来进入步骤S211,视频会议终端控制器向视频会议终端发送地址标识信息,其中,所述地址标识信息用于指示视频会议终端内预存的呼叫地址,优选地所述地址标识信息由用户通过输入装置输入给所述视频会议终端控制器,例如,用户可以通过按钮、键盘以及触摸屏等输入装置输入地址标识信息,在一个优选例中,用户可以通过四个呼叫按钮输入所述地址标识信息,这些呼叫按钮分别对应四条不同的地址标识信息,用户通过长按该呼叫按钮两秒便可以输入对应的所述地址标识信息。所述视频会议终端控制器接收到用户输入的所述地址标识信息后,进一步向所述视频会议终端发送所述地址标识信息。 Then enter step S211, the video conference terminal controller sends address identification information to the video conference terminal, wherein the address identification information is used to indicate the calling address pre-stored in the video conference terminal, preferably the address identification information is input by the user The device is input to the video conference terminal controller. For example, the user can input address identification information through input devices such as buttons, keyboards, and touch screens. In a preferred example, the user can input the address identification information through four call buttons. These The call buttons correspond to four different pieces of address identification information, and the user can input the corresponding address identification information by pressing and holding the call button for two seconds. After receiving the address identification information input by the user, the video conference terminal controller further sends the address identification information to the video conference terminal.
接下来进入步骤S212,视频会议终端根据所述地址标识信息生成指示灯控制信息,其中,所述指示灯控制信息包括指示灯标识信息以及指示灯状态信息。具体地,所述指示灯控制信息可以包括所述呼叫控制按钮灯的控制信息,还可以包括所述会议灯的控制信息。 Then enter step S212, the video conferencing terminal generates indicator light control information according to the address identification information, wherein the indicator light control information includes indicator light identification information and indicator light state information. Specifically, the indicator light control information may include control information of the call control button light, and may also include control information of the conference light.
接下来进入步骤S213,视频会议终端向视频会议终端控制器发送所述指示灯控制信息。然后通过执行步骤S214,视频会议终端控制器根据所述指示灯控制信息控制指示灯,并向视频会议终端发送指示灯控制回应信息,其中,所述指示灯控制回应信息包括指示灯标识信息以及指示灯状态信息,例如,所述指示灯标识信息用于指示所述呼叫控制按钮灯中的某一个灯,所述指示灯状态信息用于指示所述指示灯的状态为长亮。最后执行步骤S215,所述视频会议终端控制器向所述视频会议终端发送下线通知信息。 Then enter step S213, the video conference terminal sends the indicator light control information to the video conference terminal controller. Then by executing step S214, the video conferencing terminal controller controls the indicator light according to the indicator light control information, and sends indicator light control response information to the video conferencing terminal, wherein the indicator light control response information includes indicator light identification information and instructions Light status information, for example, the indicator light identification information is used to indicate a certain light in the call control button lights, and the indicator light status information is used to indicate that the indicator light is always on. Finally, step S215 is executed, and the video conferencing terminal controller sends offline notification information to the video conferencing terminal.
更进一步具体地,所述视频会议终端控制器与视频会议终端通过控制串口进行通信,首先要确定的就是两者之间的通信协议格式。所述视频会议终端控制器与所述视频会议终端通讯采用定长消息,4个字节。 More specifically, the video conferencing terminal controller communicates with the video conferencing terminal through the control serial port, and the format of the communication protocol between the two must be determined first. The video conference terminal controller communicates with the video conference terminal using a fixed-length message, 4 bytes.
其中,起始字一个字节:0xFF;命令字一个字节,含义如下: Among them, the start word is one byte: 0xFF; the command word is one byte, the meaning is as follows:
0x01->呼叫按钮1按下(长按两秒); 0x01->Call button 1 is pressed (long press for two seconds);
0x02->呼叫按钮2按下(长按两秒); 0x02->Call button 2 is pressed (long press for two seconds);
0x03->呼叫按钮3按下(长按两秒); 0x03->Call button 3 is pressed (long press for two seconds);
0x04->呼叫按钮4按下(长按两秒); 0x04->Call button 4 is pressed (long press for two seconds);
0x05->发言按钮按下(长按两秒); 0x05->Speak button is pressed (long press for two seconds);
0x06->指示灯控制(由所述视频会议终端发送到所述视频会议终端控制器); 0x06->light control (sent by the video conferencing terminal to the video conferencing terminal controller);
0x07->指示灯控制回应(由所述视频会议终端控制器发送到所述视频会议终端); 0x07->light control response (sent by the video conferencing terminal controller to the video conferencing terminal);
0x08->mtcbox上线通知(由所述视频会议终端控制器发送到所述视频会议终端); 0x08->mtcbox online notification (sent by the video conference terminal controller to the video conference terminal);
0x09->mtcbox下线通知(由所述视频会议终端控制器发送到所述视频会议终端)。 0x09->mtcbox offline notification (sent by the video conference terminal controller to the video conference terminal).
0xEE->保活命令 0xEE->keep alive command
参数字一个字节: The parameter word is one byte:
例如所述指示灯控制信息和指示灯控制回应信息用到了参数字。对于指示灯控制命令(0x06),参数字格式为: For example, the indicator light control information and indicator light control response information use parameter words. For the indicator light control command (0x06), the format of the parameter word is:
灯ID与灯状态各占4bit。 The light ID and light state each occupy 4 bits.
灯ID可取以下值: The lamp ID can take the following values:
0001B:灯呼叫按钮1; 0001B: light call button 1;
0010B:灯呼叫按钮2; 0010B: light call button 2;
0011B:灯呼叫按钮3; 0011B: light call button 3;
0100B:灯呼叫按钮4; 0100B: light call button 4;
0101B:灯发言按钮; 0101B: Light and speak button;
0110B:联机、运行灯(联机、运行状态公用一个指示灯); 0110B: Online and running lights (online and running status share one indicator light);
0111B:会议灯; 0111B: meeting lights;
1000B:发言灯; 1000B: Speech lamp;
其中,灯状态可取以下值: Among them, the light state can take the following values:
0001B:灯亮; 0001B: light on;
0010B:灯灭; 0010B: light off;
0011B:1秒闪烁。 0011B: Flashes for 1 second.
对于指示灯控制回应命令(0x07),参数字格式为: For the indicator light control response command (0x07), the format of the parameter word is:
灯ID与结果各占4bit。灯ID与指示灯控制命令(0x06)含义一致。 The light ID and the result each occupy 4 bits. The lamp ID has the same meaning as the lamp control command (0x06).
结果可取以下值: The result can take the following values:
0001B:成功; 0001B: success;
0010B:失败。 0010B: Failed.
其中,校验字优选地为命令字与参数字求和然后最高位取0。 Wherein, the check word is preferably the sum of the command word and the parameter word, and then the highest bit is set to 0.
在本实施例的一个优选例中,所述控制方法还包括步骤“所述视频会议终端控制器向所述视频会议终端发送发言申请信息”,具体地,所述视频会议终端接收来自所述视频会议终端控制器发送的所述发言申请信息,并对所述发言申请信息进行处理,若发言申请成功,则所述视频会议终端向所述视频会议终端控制器发送所述指示灯控制信息以点亮所述发言灯、以及发送用于指示该发言被接受的发言状态信息;若发言申请失败,则所述视频会议终端向所述视频会议终端控制器发送所述指示灯控制信息以熄灭所述发言灯、以及发送用于指示该发言未被接受的发言状态信息。 In a preferred example of this embodiment, the control method further includes the step of "the video conferencing terminal controller sends speech application information to the video conferencing terminal", specifically, the video conferencing terminal receives information from the video conference The speaking application information sent by the conference terminal controller, and processing the speaking application information, if the speaking application is successful, the video conference terminal sends the indicator light control information to the video conference terminal controller to click Brighten the speaking light, and send speaking status information for indicating that the speaking is accepted; if the speaking application fails, the video conferencing terminal sends the indicator light control information to the video conferencing terminal controller to turn off the A speech lamp, and sending speech status information for indicating that the speech is not accepted.
图5示出根据本发明的第四实施例的,基于串口的视频会议终端控制器的控制方法的流程图,本实施例示出了所述视频会议终端控制器如何检测所述视频会议终端断链的技术方案,这些步骤优选地在所述视频会议终端控制器上线后开始反复执行直到所述视频会议终端控制器下线。具体地,在本实施例中,首先执行步骤S220,所述视频会议终端控制器向所述视频会议终端发送保活命令,启动第一定时器,具体地,所述视频会议终端控制器初始化后设置所述视频会议终端的在线状态为假,设置全部或部分所述指示灯状态为灯灭,第一定时器超时次数初始化为0,启动第一定时器并设置定时周期优选地为半秒。接下来进入步骤S221,判断在所述第一定时器超时前是否接收到来自所述视频会议终端的保活命令回应,进一步地,若所述步骤S221的判断结果是肯定的,即在所述第一定时器超时前接收到来自所述视频会议终端的保活命令回应,则接下来进入步骤S222继续执行;若所述步骤S221的判断结果是否定的,即在所述第一定时器超时前没有接收到来自所述视频会议终端的保活命令回应,则将第一定时器超时次数增加1,并接下来进入步骤S223继续执行。 Fig. 5 shows a flowchart of a control method of a serial port-based video conferencing terminal controller according to a fourth embodiment of the present invention. This embodiment shows how the video conferencing terminal controller detects that the video conferencing terminal is disconnected According to the technical solution, these steps are preferably executed repeatedly after the video conferencing terminal controller goes online until the video conferencing terminal controller goes offline. Specifically, in this embodiment, step S220 is first performed, the video conferencing terminal controller sends a keep-alive command to the video conferencing terminal, and starts a first timer. Specifically, after the video conferencing terminal controller is initialized Set the online status of the video conferencing terminal to be false, set all or part of the indicator lights to be off, initialize the first timer overtime to 0, start the first timer and set the timing period to preferably half a second. Next, enter step S221 to determine whether a keep-alive command response from the video conferencing terminal is received before the first timer expires, and further, if the determination result of the step S221 is affirmative, the If the keep-alive command response from the video conferencing terminal is received before the first timer expires, then proceed to step S222 to continue execution; if the judgment result of the step S221 is negative, that is, when the first timer expires If no keep-alive command response from the video conferencing terminal is received before, the number of timeouts of the first timer is increased by 1, and then enter step S223 to continue execution.
其中,通过所述步骤S222,若所述步骤S221的判断结果是肯定的,则杀掉所述第一定时器,确定所述视频会议终端在线,优选地,设置所述视频会议终端的在线状态为真,设置第一定时器超时次数为0,设置所述指示灯状态为亮灯。若所述步骤S221的判断结果是否定的,则接下来通过执行所述步骤S223,若所述步骤S221的判断结果是否定的,则判断所述第一定时器超时的连续次数是否超过第二阈值,进一步地,若所述步骤S223的判断结果是肯定的,即所述第一定时器超时的连续次数超过第二阈值,则接下来进入步骤S225继续执行;若所述步骤S223的判断结果是否定的,即所述第一定时器超时的连续次数没有超过第二阈值,则接下来进入步骤S224继续执行。 Wherein, through the step S222, if the judgment result of the step S221 is affirmative, then kill the first timer, determine that the video conferencing terminal is online, preferably, set the online status of the video conferencing terminal If it is true, set the number of timeouts of the first timer to 0, and set the state of the indicator light to be on. If the judgment result of the step S221 is negative, then by executing the step S223 next, if the judgment result of the step S221 is negative, it is judged whether the consecutive number of times that the first timer times out exceeds the second Threshold value, further, if the judgment result of the step S223 is affirmative, that is, the consecutive number of times that the first timer times out exceeds the second threshold value, then proceed to step S225 to continue execution; if the judgment result of the step S223 If it is negative, that is, the number of consecutive timeouts of the first timer does not exceed the second threshold, then proceed to step S224 to continue execution.
其中,通过执行所述步骤S224,若所述步骤S223的判断结果是否定的,则重新启动所述第一定时器。若所述步骤S223的判断结果是肯定的,则接下来通过执行所述步骤S225,若所述步骤S223的判断结果是肯定的,则确定所述视频会议终端断链。进一步地,通过所述步骤S225确定所述视频会议终端断链后,接下来执行步骤S226,关闭全部或部分所述指示灯。 Wherein, by executing the step S224, if the determination result of the step S223 is negative, restart the first timer. If the judging result of the step S223 is affirmative, then by executing the step S225, if the judging result of the step S223 is affirmative, it is determined that the video conferencing terminal is disconnected. Further, after step S225 determines that the video conferencing terminal is disconnected, then step S226 is executed to turn off all or part of the indicator lights.
图6示出根据本发明的第五实施例的,基于串口的视频会议终端控制器的控制方法的流程图。本实施例示出了所述视频会议终端如何检测所述视频会议终端控制器断链的技术方案,这些步骤优选地在所述视频会议终端控制器上线后开始反复执行直到所述视频会议终端控制器下线。具体地,在本实施例中。首先执行步骤S230,所述视频会议终端启动第二定时器,所述视频会议终端初始化后设置所述视频会议终端控制器的在线状态为假,第二定时器超时次数初始化为0,启动第二定时器并设置定时周期为2秒。接下来进入步骤S231,判断在所述第二定时器超时前是否接收到来自所述视频会议终端控制器的所述保活命令, 进一步地,若所述步骤S231的判断结果是肯定的,即在所述第二定时器超时前接收到来自所述视频会议终端控制器的所述保活命令,则接下来进入步骤S232继续执行;若所述步骤S231的判断结果是否定的,即在所述第二定时器超时前没有接收到来自所述视频会议终端控制器的所述保活命令,则将所述第二定时器超时次数增加1,并接下来进入步骤S233继续执行。 Fig. 6 shows a flowchart of a control method of a serial port-based video conferencing terminal controller according to a fifth embodiment of the present invention. This embodiment shows the technical solution of how the video conferencing terminal detects that the video conferencing terminal controller is disconnected. These steps are preferably executed repeatedly after the video conferencing terminal controller goes online until the video conferencing terminal controller offline. Specifically, in this embodiment. First execute step S230, the video conferencing terminal starts the second timer, and after the video conferencing terminal is initialized, the online status of the video conferencing terminal controller is set to be false, the number of timeouts of the second timer is initialized to 0, and the second timer is started. Timer and set the timing period to 2 seconds. Next, enter step S231, and judge whether to receive the keep-alive command from the video conferencing terminal controller before the second timer expires, and further, if the judgment result of the step S231 is affirmative, that is Receive the keep-alive command from the video conferencing terminal controller before the second timer expires, then proceed to step S232 to continue execution; if the judgment result of the step S231 is negative, that is, If the keep-alive command from the video conference terminal controller is not received before the second timer expires, the number of times the second timer expires is increased by 1, and then enters step S233 to continue execution.
其中,通过所述步骤S232,若所述步骤S231的判断结果是肯定的,则杀掉并重新启动所述第二定时器,并确定所述视频会议终端控制器在线,设置所述第二定时器超时次数为0。若所述步骤S231的判断结果是否定的,则接下来通过执行所述步骤S233,若所述步骤S231的判断结果是否定的,则判断所述第二定时器超时的连续次数是否超过第二阈值,进一步地,若所述步骤S233的判断结果是肯定的,即所述第二定时器超时的连续次数超过第二阈值,则接下来进入步骤S235继续执行;若所述步骤S233的判断结果是否定的,即所述第二定时器超时的连续次数没有超过第二阈值,则接下来进入步骤S234继续执行。 Wherein, through the step S232, if the judgment result of the step S231 is affirmative, then kill and restart the second timer, and determine that the video conference terminal controller is online, and set the second timer The number of device timeouts is 0. If the judgment result of the step S231 is negative, then by executing the step S233 next, if the judgment result of the step S231 is negative, it is judged whether the continuous number of times that the second timer times out exceeds the second Threshold value, further, if the judgment result of the step S233 is affirmative, that is, the number of consecutive times that the second timer times out exceeds the second threshold value, then proceed to step S235 to continue execution; if the judgment result of the step S233 If it is negative, that is, the number of consecutive timeouts of the second timer does not exceed the second threshold, then proceed to step S234 to continue execution.
其中,通过执行所述步骤S224,若所述步骤S233的判断结果是否定的,则重新启动所述第二定时器。通过执行所述步骤S235,若所述步骤S233的判断结果是肯定的,则确定所述视频会议终端控制器断链。 Wherein, by executing the step S224, if the determination result of the step S233 is negative, restart the second timer. By executing the step S235, if the determination result of the step S233 is affirmative, it is determined that the video conference terminal controller is disconnected.
进一步地,参考上述图7以及图8,本发明提供的视频会议终端控制器与其对应的视频会议终端通过如下方式完成通信过程: Further, referring to the above-mentioned Fig. 7 and Fig. 8, the video conferencing terminal controller provided by the present invention and its corresponding video conferencing terminal complete the communication process in the following manner:
1)视频会议终端控制器只需要将按钮按下的状态通知视频会议终端,由视频会议终端负责点灯(除了系统运行灯/联机灯),视频会议终端控制器只有在检测到断链之后才关闭所有灯。系统运行灯/联机灯的状态由视频会议终端控制器负责维护。本领域技术人员结合现有技术以及上述实施例可以理解,按钮按下或未被按下的状态表示通话状态或非通话状态;类似地,系统运行灯/联机灯也分别表示对应的状态,在此不予赘述; 1) The video conferencing terminal controller only needs to notify the video conferencing terminal of the status of the button being pressed, and the video conferencing terminal is responsible for lighting the lights (except the system running light/online light), and the video conferencing terminal controller will only turn off after detecting a broken link all lights. The status of the system running light/online light is maintained by the video conferencing terminal controller. Those skilled in the art can understand in combination with the prior art and the above-mentioned embodiments that the status of the button being pressed or not being pressed indicates the communication status or the non-communication status; This will not be repeated;
2)视频会议终端控制器启动后需要一直定时发送保活命令,以便视频会议终端检测。本领域技术人员结合现有技术以及上述实施例可以理解,优选地,保活命令为4个字节。相应地,保活命令的发送顺序可以根据实施需要而确定,例如优选地,其按照发送顺序的起始字为0xFF,命令字为0xEE;相应地,后续的参数字、校验字可以根据实施需要而确定,在此不予赘述; 2) After the video conferencing terminal controller is started, it needs to send keep-alive commands regularly so that the video conferencing terminal can detect it. Those skilled in the art can understand in combination with the prior art and the foregoing embodiments that, preferably, the keep-alive command is 4 bytes. Correspondingly, the order of sending the keep-alive command can be determined according to the needs of the implementation. For example, preferably, the initial word according to the sending order is 0xFF, and the command word is 0xEE; correspondingly, the subsequent parameter words and check words can be determined according to the implementation requirements. It is determined by need and will not be repeated here;
3)利用保活命令做断链检测。具体地,又分为如下几个步骤: 3) Use the keep-alive command to detect broken links. Specifically, it is divided into the following steps:
3.1)视频会议终端的断链检测。如图7所示,视频会议终端要添加一个断链检测的功能,收到保活命令后回应一条保活命令,如果当前Mtc_Box在线状态为假则刷新指示灯,设置Mtc_Box在线状态为真,关闭断链检测定时器并重新启动此定时器。如果连续三次断链检测定时器timeout,则认为Mtc_Box已经断链,设置Mtc_Box在线状态为假; 3.1) Broken link detection of video conferencing terminals. As shown in Figure 7, the video conferencing terminal needs to add a broken link detection function. After receiving the keep-alive command, it will respond with a keep-alive command. If the current Mtc_Box online status is false, the indicator light will be refreshed. Set the Mtc_Box online status to true and turn it off. Link break detection timer and restart this timer. If the disconnection detection timer timeouts for three consecutive times, it is considered that the Mtc_Box has been disconnected, and the online status of the Mtc_Box is set to false;
3.2)视频会议终端控制器的断链检测。如图8所示,视频会议终端控制器初始化后即启动保活定时器,定时发送保活命令。如果连续发送10次(优选的次数,也可以根据实施需要确定该次数)保活命令都没有收到MT的保活命令响应,则认为已经断链。检测到断链后需要将所有灯的状态设为关闭。保活定时器的间隔暂时设为0.5秒,如果要提升断链检测的灵敏度,可以把这个值进一步设小,例如0.2秒,在此不予赘述。 3.2) The broken link detection of the video conferencing terminal controller. As shown in FIG. 8 , after the video conference terminal controller is initialized, the keep-alive timer is started, and the keep-alive command is sent regularly. If no keep-alive command response is received from the MT after sending the keep-alive command for 10 consecutive times (the preferred number of times can also be determined according to implementation needs), it is considered that the link has been disconnected. After a broken link is detected, the status of all lights needs to be set to off. The interval of the keep-alive timer is temporarily set to 0.5 seconds. If you want to improve the sensitivity of link disconnection detection, you can further set this value to a smaller value, such as 0.2 seconds, which will not be described here.
以上对本发明的具体实施例进行了描述。需要理解的是,本发明并不局限于上述特定实施方式,本领域技术人员可以在权利要求的范围内做出各种变形或修改,这并不影响本发明的实质内容。 Specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art may make various changes or modifications within the scope of the claims, which do not affect the essence of the present invention.
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010617254.XA CN102547211B (en) | 2010-12-31 | 2010-12-31 | Video conference terminal controller on basis of serial port and control system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010617254.XA CN102547211B (en) | 2010-12-31 | 2010-12-31 | Video conference terminal controller on basis of serial port and control system thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102547211A CN102547211A (en) | 2012-07-04 |
CN102547211B true CN102547211B (en) | 2014-04-16 |
Family
ID=46353025
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010617254.XA Expired - Fee Related CN102547211B (en) | 2010-12-31 | 2010-12-31 | Video conference terminal controller on basis of serial port and control system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102547211B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111343408B (en) * | 2020-01-22 | 2021-02-09 | 北京翼鸥教育科技有限公司 | Method for initiating and responding to multi-party video activities by lifting hands and interaction system |
CN113660285A (en) * | 2021-08-31 | 2021-11-16 | 成都卫士通信息产业股份有限公司 | Multimedia conference on-line terminal control method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101534412A (en) * | 2009-04-20 | 2009-09-16 | 中兴通讯股份有限公司 | Method for realizing video conference notification and device |
CN101815138A (en) * | 2010-04-16 | 2010-08-25 | 杭州华三通信技术有限公司 | Method and device for leaving meeting message |
CN101877706A (en) * | 2010-06-24 | 2010-11-03 | 北京邮电大学 | Multi-terminal multimedia conference control system and implementation method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1632081B1 (en) * | 2003-05-23 | 2016-08-17 | Kirusa, Inc. | A method and system for communicating a data file over a network and teleconferencing over a telephony network |
-
2010
- 2010-12-31 CN CN201010617254.XA patent/CN102547211B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101534412A (en) * | 2009-04-20 | 2009-09-16 | 中兴通讯股份有限公司 | Method for realizing video conference notification and device |
CN101815138A (en) * | 2010-04-16 | 2010-08-25 | 杭州华三通信技术有限公司 | Method and device for leaving meeting message |
CN101877706A (en) * | 2010-06-24 | 2010-11-03 | 北京邮电大学 | Multi-terminal multimedia conference control system and implementation method |
Also Published As
Publication number | Publication date |
---|---|
CN102547211A (en) | 2012-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105516901A (en) | Low-power Bluetooth device and working method thereof | |
CN110632854A (en) | Voice control method and device, voice control node and system and storage medium | |
CN104615001B (en) | The internet of things functional detection method and device of a kind of internet of things home appliance | |
CN101401410A (en) | Installation of a personal emergency response system | |
CN110933739B (en) | Electronic equipment awakening method and electronic equipment | |
CN203457182U (en) | WeChat reminding service device used for public self-help washing machine | |
CN102547211B (en) | Video conference terminal controller on basis of serial port and control system thereof | |
JP2017504099A (en) | Wireless docking system | |
EP3021519B1 (en) | Maintenance method for network connection and computer system | |
CN203340289U (en) | Voice communication terminal and voice communication system | |
CN114895968B (en) | Server maintenance method, device, equipment and storage medium | |
JP5797546B2 (en) | Intercom system | |
CN111487954A (en) | Control device and control method of electronic equipment and advertisement delivery equipment | |
CN103118070A (en) | Automatic after-sale service system of home gateway | |
CN102752157A (en) | Communication equipment and port monitoring system with communication equipment | |
US8368528B2 (en) | Configurable notification device | |
CN106935002A (en) | USB network alarm system based on network set-top box and its remote information interaction method | |
CN113987278A (en) | Automatic unit numbering method suitable for conference system | |
CN104753993B (en) | A kind of method and monitoring device of monitoring server | |
CN111246400A (en) | Signal quality detection method, device, storage medium, electronic device and system | |
CN208182396U (en) | A third-party elevator control system | |
CN101729446A (en) | Method, system and mobile terminal prompting receipt of new message by instant messaging | |
JP2009111800A (en) | Network connection device, and network connection notification method | |
JP2007129661A (en) | Outlet control system | |
CN114285892A (en) | Server, intelligent device and method for awakening intelligent device with screen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent of invention or patent application | ||
CB02 | Change of applicant information |
Address after: 215011 No. 131 Jin Shan Road, Suzhou hi tech Industrial Development Zone, Jiangsu, Suzhou Applicant after: SUZHOU KEDA TECHNOLOGY Co.,Ltd. Address before: 215011 No. 131 Jin Shan Road, Suzhou hi tech Industrial Development Zone, Jiangsu, Suzhou Applicant before: SUZHOU KEDA TECHNOLOGY Co.,Ltd. |
|
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: 20140416 |