CN104580934B - The extended method and device of multi-channel video switch - Google Patents

The extended method and device of multi-channel video switch Download PDF

Info

Publication number
CN104580934B
CN104580934B CN201510011760.7A CN201510011760A CN104580934B CN 104580934 B CN104580934 B CN 104580934B CN 201510011760 A CN201510011760 A CN 201510011760A CN 104580934 B CN104580934 B CN 104580934B
Authority
CN
China
Prior art keywords
video
address number
data
consistent
instruction
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
CN201510011760.7A
Other languages
Chinese (zh)
Other versions
CN104580934A (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.)
Wuhan University of Technology WUT
Original Assignee
Wuhan University of Technology WUT
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 Wuhan University of Technology WUT filed Critical Wuhan University of Technology WUT
Priority to CN201510011760.7A priority Critical patent/CN104580934B/en
Publication of CN104580934A publication Critical patent/CN104580934A/en
Application granted granted Critical
Publication of CN104580934B publication Critical patent/CN104580934B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of extended method and device of multi-channel video switch, wherein device includes:The video switcher of multiple cascades, is connected with CAN;PC, it is connected with one of video switcher, it is sent to instruct, the video switcher updates address number or the output of switching respective channel vision signal all the way according to the instruction received, or the instruction is packed according to CAN protocol, other video switchers are issued by CAN, other video switchers export vision signal all the way further according to the CAN information updating address number or switching respective channel received.The present invention is easy to the input channel of user's extending video signal on demand, and can easily be managed control to the passage newly accessed.

Description

The extended method and device of multi-channel video switch
Technical field
The present invention relates to communication and technical field of video monitoring, it can easily especially extend and manage the defeated of vision signal Enter the multichannel extending video switching method and device of number of channels.
Background technology
Video monitoring system is used widely in the various aspects that current social is lived, and in such a system, in order to just In management, cost-effective generally require to come together in multi-channel video signal one computer and shown or data are carried out at analysis Reason, video switcher play an important role in the process.The general principle of video switcher is that multi-channel video signal is defeated Enter analog switch, in a manner of manually or automatically switching, synchronization only allow all the way signal exported.
The vision signal input channel quantity of existing video switcher is certain, and letter often be present in many occasions Number phenomenon that passage is not enough or signalling channel is unnecessary, if simple mutually cascades multiple video switchers to meet port number Purpose demand, often cause the puzzlements such as cumbersome and output vision signal distortion of passage switching.Need a kind of input channel badly Convenient extension, signalling channel switching mode simplicity, the video switcher of stable output signal.
The content of the invention
It is an object of the invention to provide a kind of multichannel extending video switching method and device, realization expands according to demand Suitable vision signal input channel quantity, and can easily switch over.
The present invention is to be up to technical scheme used by goal of the invention:
A kind of expanding unit of multi-channel video switch is provided, including:
The video switcher of multiple cascades, is connected with CAN;
PC, it is connected with one of video switcher, is sent to instruct, the video switcher is according to the instruction received Renewal address number either switches respective channel and exports vision signal all the way or the instruction is packed according to CAN protocol, passes through CAN issues other video switchers, and other video switchers are further according to the CAN information updating address number received Or switching respective channel exports vision signal all the way.
In the expanding unit of multi-channel video switch of the present invention, the video switcher is defeated including being sequentially connected Input impedance match circuit, N path analoging switch circuit, denoising amplifying circuit and output buffer, the video switcher also wrap Single chip machine controlling circuit is included, it is connected with N path analoging switch circuits, is also connected with PC and CAN.
In the expanding unit of multi-channel video switch of the present invention, the single chip machine controlling circuit includes master control core Piece, the main control chip are provided with serial ports and CAN communication interface.
Present invention also offers a kind of extended method of multi-channel video switch, comprise the following steps:
S1, PC send to main video switcher and instructed;
S2, main video switcher update address number or the output of switching respective channel video all the way according to the instruction received Signal, or the instruction is packed according to CAN protocol, other video switchers are issued by CAN;
S3, other video switchers are defeated according to the CAN information updating address number or switching respective channel received Go out vision signal all the way.
In method of the present invention, step S2 specifically includes following steps:
Main video switcher receives instruction and by the correctness of the check bit detection data of data in instruction;
If data do not have distortion, start to parse data, judge whether the numberings of the ID in data are consistent with the machine, each regard Frequency switch is all corresponding with a unique immutable ID numbering and a variable address number;
If being consistent, it is administration order to show the order, the address number address number of the machine being updated in data;
If not being consistent, it is control command to show the order, continue to judge address number in data whether with the machine one Cause, corresponding signal passage is switched according to address number if consistent, export vision signal all the way;
No matter whether address number in data is consistent with the machine, and all received data are packed according to CAN protocol, Other video switchers being connected in CAN are sent to by CAN.
In method of the present invention, step S3 specifically includes following steps:
After other video switchers being connected in CAN receive message by CAN, pass through data in message Check bit detection data correctness, if without distortion, start to parse data, judge ID numberings in data whether with this Machine is consistent;
If being consistent, it is administration order to show the order, the address number address number of the machine being updated in data;
If not being consistent, it is control command to show the order, continue to judge address number in data whether with the machine one Cause, corresponding signal passage is switched according to address number if consistent, is otherwise not responding to order.
In method of the present invention, address number is judged in main video switcher or other video switchers When, successively by turn by the machine address number compared with the address number in data pair, when address in the machine address number and data When former positions of numbering or whole are consistent, then it is assumed that the address number in data is consistent with the machine address number.
The beneficial effect comprise that:The video switcher of each cascade is connected into CAN in the present invention to be led to Letter, PC can a video switcher sends instruction thereto by serial ports, and video switcher response instruction simultaneously plays instruction Bag is broadcast to other video switchers being connected in bus by CAN.The present invention is easy to user's extending video on demand The input channel of signal, and control, the vision signal low noise of output, low mistake can easily be managed to the passage newly accessed Very, stability is good.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 be multi-channel video switch of the present invention expanding unit in video switcher structural representation.
Fig. 2 is the schematic diagram of multiple video switcher exploited in communication in one embodiment of the present invention.
Fig. 3 is the schematic diagram that video switcher cascades in one embodiment of the present invention.
Fig. 4 is the program flow diagram that PC communicates with main video switcher.
Fig. 5 is the program flow diagram of message of the video switcher processing from CAN.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not For limiting the present invention.
The expanding unit of the multi-channel video switch of the embodiment of the present invention includes:The video switcher of multiple cascades, with CAN connects;PC, it is connected with one of video switcher, is sent to instruct, the video switcher is according to receiving Instruction renewal address number either switches respective channel and exports vision signal all the way or the instruction is packed according to CAN protocol, Other video switchers are issued by CAN, other video switchers are further according to the CAN information updating address received Numbering or switching respective channel export vision signal all the way.
As shown in figure 1, the expansible video switcher of the multichannel of the embodiment of the present invention is by sending-end impedance match circuit 1, N Path analoging switch circuit 2, denoising amplifying circuit 3, output buffer 4 and single chip machine controlling circuit 5 form.Multiple signals by Impedance matching circuit 1 is passed through in each signal input channel input, vision signal is stablized distortionless transmit to N path analoging switch electricity Road 2, the circuit mainly play switching signal passage, according to the output all the way in the signal of instruction selection N roads, the signal of output It is unavoidable the problems such as being mingled with some noises and too low signal power to be present, it need to be filtered out by denoising amplifying circuit 3 in signal Noise, strengthen the power of signal, finally exported via output buffer so that the late-class circuit and front stage circuits of signal output It is isolated, strengthens the stability of circuit.Single chip machine controlling circuit 5 has the function such as serial communication, CAN communication, can locate Information of the reason from serial ports or CAN simultaneously controls N path analoging switch circuits, Switch Video signalling channel.
N path analoging switch circuit 2 can be according to demand from the chip for possessing different video signal input channel number, and it is former Manage similar, because integrated circuit uses modular design philosophy, the change of N path analoging switch circuit 2 is to integrated circuit Influence and little.Main control chip type selecting in single chip machine controlling circuit 5 is not also fixed, but should at least include serial communication, CAN The functions such as bus communication.For convenience of explanation, analog switch selects chip MAX440 in the embodiment of the present invention, and the chip is MAXIM 8 PASS VIDEO high-speed, multi-path multiplexing chips of company's production, its switching time is 15ns, is a kind of CMOS integrated circuits.Monolithic The enhanced series of products of STM32 may be selected in machine main control chip, and STM32 series is based on aiming at requiring high-performance, low cost, low-power consumption The ARM Cortex-M kernels that specially design of Embedded Application, enhanced serial clock frequency reaches 72MHz, is like product Middle performance highest product, it has been internally integrated the abundant function such as serial communication, CAN communication.By drawing for STM32 chips Pin is connected with MAX440 address wire, can control the switching of MAX440 signalling channels.
As shown in Fig. 2 multiple video switchers are connected in parallel in CAN 6, you can one LAN of composition, the office All switch in the net of domain, which can be sent a message to, can also receive the message from LAN in LAN, but each cut Parallel operation can select filter message or response message by being parsed to message.Each switch is owned by one uniquely Constant ID numberings, also possess a variable address number.PC 8 can be by serial ports with being connected to wherein the one of CAN Individual switch communication, the switch is main switch 7.
The message that PC 8 is sent has two types, and one type is administration order:The order is used for the ground for managing switch Number location so that each signalling channel is owned by different addresses, convenient that passage is switched over;Another kind of is control command: The order be used to indicating switch to it is specific certain signalling channel switches over all the way, its vision signal is exported.
As shown in figure 4, the program flow diagram to be communicated for PC 8 with main switch 7, PC 8 sends out the data of certain format After main switch 7, main switch 7 receives and the correctness of data is detected by check bit in data, if without distortion, Start to parse data.First determine whether the numberings of the ID in data are consistent with the machine, it is management life to show the order if being consistent Order, the address number address number of the machine being updated in data;It is control command to show the order if not being consistent, and is continued Judge whether the address number in data is consistent with the machine, corresponding signal passage is switched according to address number if consistent no matter Whether consistent all received data are packed is sent to other switch being connected in CAN by CAN.
As shown in figure 5, handling the program flow diagram of the message from CAN for switch, come when switch receives The correctness of the check bit detection data in data is first passed through from after the message of CAN, if without distortion, starts to parse number According to.First determine whether the numberings of the ID in data are consistent with the machine, it is administration order to show the order if being consistent, by the machine Address number is updated to the address number in data;It is control command to show the order if not being consistent, and continues to judge in data Address number it is whether consistent with the machine, corresponding signal passage is switched according to address number if consistent, is otherwise not responding to order.
As shown in figure 3, when needing extending video signal input channel, by the I/O channel phase level of multiple switch Connection, and switch is accessed into CAN.Management instruction can be sent by PC 8 easily to each switch and signal to lead to Road distributes address to control.The naming rule of each address is as follows:Main switch 7 where signal output channels 9 is positioned at cascade The least significant end of system, is named as A, and its corresponding signal input channel can be sequentially allocated address numbering A1, A2, A3 is to add a word after the address number of associated channel with each switch address number that master controller mutually cascades Female B, such as A1B, A2B, it is A1B1, A1B2 that the signalling channel number of the switch of this floor of A3B, which can distribute address, A1B3 by that analogy, can make each switch and its passage have unique address number.But switch pair When address number is judged, be successively by turn by the machine address compared with the address in data pair, when the machine address number with When former positions of address number or whole are consistent in data, just think that the address number in data is consistent with the machine address number, The corresponding command is performed, does not otherwise perform order.
To sum up, the multichannel extending video switch that the present invention designs convenient, flexible can according to demand be expanded and needed The channel video signal number wanted, improve the utilization rate of channel video signal;Channel video signal extension side proposed by the present invention Method can be stablized, effectively multi-channel video is switched over, and cascading also can easily be by computer to each after multiple video switchers Individual passage is controlled management;The circuit of the video switcher of the present invention can effectively filter out the noise in vision signal, and enhancing is defeated Go out the power of signal, lift the stability of vision signal.
It should be appreciated that for those of ordinary skills, can according to the above description be improved or converted, And all these modifications and variations should all belong to the protection domain of appended claims of the present invention.

Claims (6)

  1. A kind of 1. expanding unit of multi-channel video switch, it is characterised in that including:
    The video switcher of multiple cascades, is connected with CAN;
    PC, it is connected with one of video switcher, is sent to instruct, the video switcher updates according to the instruction received Address number either switches respective channel and exports vision signal all the way or the instruction is packed according to CAN protocol, passes through CAN Bus issues other video switchers, other video switchers further according to the CAN information updating address number received or Person switches respective channel output vision signal all the way;The video switcher includes the sending-end impedance matching electricity being sequentially connected Road, N path analoging switch circuit, denoising amplifying circuit and output buffer, the video switcher also include single-chip microcomputer control electricity Road, it is connected with N path analoging switch circuits, is also connected with PC and CAN.
  2. 2. the expanding unit of multi-channel video switch according to claim 1, it is characterised in that the single-chip microcomputer control electricity Road includes main control chip, and the main control chip is provided with serial ports and CAN communication interface.
  3. 3. a kind of extended method of the multi-channel video switch based on claim 1, it is characterised in that comprise the following steps:
    S1, PC send to main video switcher and instructed;
    S2, main video switcher update address number or the output of switching respective channel video letter all the way according to the instruction received Number, or the instruction is packed according to CAN protocol, other video switchers are issued by CAN;
    S3, other video switchers are according to the CAN information updating address number or switching respective channel output one received Road vision signal.
  4. 4. according to the method for claim 3, it is characterised in that step S2 specifically includes following steps:
    Main video switcher receives instruction and by the correctness of the check bit detection data of data in instruction;
    If data do not have distortion, start to parse data, judge whether the numberings of the ID in data are consistent with the machine, each video is cut Parallel operation is all corresponding with a unique immutable ID numbering and a variable address number;
    If being consistent, it is administration order to show the instruction, the address number address number of the machine being updated in data;
    If not being consistent, it is control command to show the instruction, continues to judge whether the address number in data is consistent with the machine, if It is consistent then corresponding signal passage, output vision signal all the way are switched according to address number;
    No matter whether address number in data is consistent with the machine, and all received data are packed according to CAN protocol, passed through CAN is sent to other video switchers being connected in CAN.
  5. 5. according to the method for claim 3, it is characterised in that step S3 specifically includes following steps:
    After other video switchers being connected in CAN receive message by CAN, pass through the school of data in message Test the correctness of position detection data, if without distortion, start to parse data, judge ID numberings in data whether with the machine phase Symbol;
    If being consistent, it is administration order to show the instruction, the address number address number of the machine being updated in data;
    If not being consistent, it is control command to show the instruction, continues to judge whether the address number in data is consistent with the machine, if It is consistent then according to address number switch corresponding signal passage, be otherwise not responding to order.
  6. 6. the method according to claim 4 or 5, it is characterised in that in main video switcher or other video switchers When judging address number, successively by turn by the machine address number compared with the address number in data pair, when the machine When location numbering is consistent with former positions of address number in data or whole, then it is assumed that the address number in data is compiled with the machine address It is number consistent.
CN201510011760.7A 2015-01-09 2015-01-09 The extended method and device of multi-channel video switch Expired - Fee Related CN104580934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510011760.7A CN104580934B (en) 2015-01-09 2015-01-09 The extended method and device of multi-channel video switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510011760.7A CN104580934B (en) 2015-01-09 2015-01-09 The extended method and device of multi-channel video switch

Publications (2)

Publication Number Publication Date
CN104580934A CN104580934A (en) 2015-04-29
CN104580934B true CN104580934B (en) 2017-12-08

Family

ID=53096028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510011760.7A Expired - Fee Related CN104580934B (en) 2015-01-09 2015-01-09 The extended method and device of multi-channel video switch

Country Status (1)

Country Link
CN (1) CN104580934B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045742B (en) * 2015-06-30 2018-04-24 深圳市茁迩科技发展有限公司 Cascade communication method and cascade system
CN107621798B (en) * 2017-09-30 2020-02-21 昆明联诚科技股份有限公司 Traffic area controller display control method based on one-key occupation technology
CN110954825B (en) * 2019-11-08 2023-06-02 广州光中科技有限公司 Dynamometer switcher, cascading device of multiple dynamometer switcher and control method of cascading device
CN111064908B (en) * 2019-12-23 2022-05-03 深圳市创凯智能股份有限公司 Signal transmission method, device, equipment and readable storage medium
CN111209240B (en) * 2019-12-23 2021-08-03 深圳优地科技有限公司 Data transmission method, electronic equipment and storage medium
CN111246145A (en) * 2020-03-10 2020-06-05 山东超越数控电子股份有限公司 Multi-path display extension method based on single chip microcomputer
CN112437330A (en) * 2020-11-09 2021-03-02 天津卓创润兴科技有限公司 Safe and stable video acquisition system
CN113382181B (en) * 2021-06-10 2023-12-15 合肥市华宇半导体有限公司 Digital distributor for converting DP into HDMI chip

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2650427Y (en) * 2003-11-17 2004-10-20 叶晨 Multichannel network video accessing controller
CN2831652Y (en) * 2005-11-02 2006-10-25 济南赛克新威科技发展有限公司 Video reversing service
CN101102302A (en) * 2006-07-04 2008-01-09 北京江南天安科技有限公司 Multi-channel audio and video signal output switcher and audio and video monitoring system and its switching method
CN101197685A (en) * 2008-01-02 2008-06-11 浪潮电子信息产业股份有限公司 Method for implementing high-available switching device cascade connection
CN202818440U (en) * 2012-10-16 2013-03-20 齐齐哈尔大学 Computer-controlled system for television station host competition
CN103647907A (en) * 2013-08-15 2014-03-19 中国航天空气动力技术研究院 Unmanned aerial vehicle multiplex video switching device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2650427Y (en) * 2003-11-17 2004-10-20 叶晨 Multichannel network video accessing controller
CN2831652Y (en) * 2005-11-02 2006-10-25 济南赛克新威科技发展有限公司 Video reversing service
CN101102302A (en) * 2006-07-04 2008-01-09 北京江南天安科技有限公司 Multi-channel audio and video signal output switcher and audio and video monitoring system and its switching method
CN101197685A (en) * 2008-01-02 2008-06-11 浪潮电子信息产业股份有限公司 Method for implementing high-available switching device cascade connection
CN202818440U (en) * 2012-10-16 2013-03-20 齐齐哈尔大学 Computer-controlled system for television station host competition
CN103647907A (en) * 2013-08-15 2014-03-19 中国航天空气动力技术研究院 Unmanned aerial vehicle multiplex video switching device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
平流层飞艇多路视频切换器设计;黄宛宁;《测控技术》;20131231;139-143页 *

Also Published As

Publication number Publication date
CN104580934A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104580934B (en) The extended method and device of multi-channel video switch
CN103676729B (en) Digital knob switch multiplexing device and adopt the electronics of described device
CN103974512A (en) Method and system for wireless music dimming based on lighting devices
TW200742348A (en) Obtaining multiple-port addresses by a fibre channel switch from a network fabric
CN103343743B (en) The automatic identifying method of a kind of frequency conversion and constant speed compressor and refrigerator
CN201976096U (en) One-master multiple-slave communication circuit
CN208239974U (en) The main website machine device for providing power supply simultaneously using two lines bus and being communicated
CN104125527A (en) Multi-earphone volume control circuit and control method
CN203859907U (en) Lighting device-based wireless music dimming system
CN204697273U (en) Left and right acoustic channels commutation circuit
CN100505970C (en) Control system and method for light emitting network
CN208638486U (en) A kind of far field voice module interface circuit
CN104579197B (en) A kind of audio power amplifying circuit and its mode control circuit
CN203982780U (en) Skinless drum based on vision and the dual experience of the sense of hearing
CN105242601A (en) Multi-compatibility bidirectional communication protocol of serial port of electric warming oven
CN204408598U (en) A kind of digital sound box, stereo set audio amplifier and speaker array
CN210721447U (en) Novel aviation three-to-one interface circuit
CN104639272B (en) Sound console
CN205157966U (en) Bluetooth speaker's DLP projecting system can be made in standby
CN206251385U (en) A kind of LED drive dynamic control device
CN200997656Y (en) Switched controlling circuit of HDMI functional panel
CN201039517Y (en) Internal and outside control system for lamp decoration products
CN204104120U (en) A kind of plurality of earphone volume control circuit
CN205333791U (en) Insulation monitoring and warning device with multiple operating mode of self -adaptation
CN209012853U (en) A kind of gesture manipulation light bar

Legal Events

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

Granted publication date: 20171208

Termination date: 20190109

CF01 Termination of patent right due to non-payment of annual fee