Summary of the invention
The technical problem to be solved in the present invention is, prior art needs the interface class of test in audio & video equipment
When type is more, needs multiple stage signal source equipment to coordinate test, waste resource, install and debug and both increase
Certain complexity, and the signal of each signal source cannot be realized the defect of Based Intelligent Control, it is provided that a kind of signal
There is system and control method thereof in source.
The technical solution adopted for the present invention to solve the technical problems is: on the one hand, and a kind of signal source of structure is sent out
Raw system, including master control set and remote control unit;
Described master control set includes that the first housing, the first control module electrically connect with described first control module
The first infrared module connect and the audio frequency and video module communicated to connect with described first control module;Described first
Within control module, described first infrared module and described audio frequency and video module are arranged at described first housing;
Described first control module includes Audio module, LAN module, USB module, VGA module, DVI
Module, the first HDMI module, COM module, PS/2 module and WIFI module;Described first shell
The surface of body be provided with respectively with described Audio module, LAN module, USB module, VGA module,
Audio interface corresponding to DVI module, the first HDMI module, COM module and PS/2 module,
LAN interface, USB interface, USB interface, DVI interface, the first HDMI, com interface
And PS/2 interface;Described audio frequency and video module includes DAB module, AV module, aberration module, S
Terminal module and the second HDMI module;The surface of described first housing is provided with and described DAB
Coaxial interface that module is corresponding and optical fiber interface, the audio interface corresponding with described AV module and video interface,
Corresponding with described aberration module, S terminal module and the second HDMI module respectively aberration interface, S end
Sub-interface and the second HDMI;
Described remote control unit includes that the second housing, the second control module electrically connect with described second control module
The second infrared module connect and the key-press module being electrically connected with described second control module;Described second institute
State within control module, the second infrared module and key-press module be arranged at described second housing, described second
Infrared module is wirelessly connected to described first infrared module;The surface of described second housing be provided with described by
Multiple buttons that key module is corresponding, thus multiple keyboard-coding, described button are set in the plurality of button
Coding respectively with described Audio module, LAN module, USB module, VGA module, DVI module,
First HDMI module, COM module, PS/2 module, WIFI module, DAB module, AV mould
Block, aberration module, S terminal module and the second HDMI module are corresponding.
In signal source generation system of the present invention, described remote control unit also includes for accessing battery
Second source module, described second source module is electrically connected to described second control module and described button
Module.
In signal source generation system of the present invention, described master control set also includes for accessing external electrical
First power module in source, described first power module is electrically connected to described first control module and described
Audio frequency and video module.
In signal source generation system of the present invention, described DAB module, AV module, aberration
Module, S terminal module and the second HDMI module are led to described first control module by USB respectively
Letter connects.
In signal source generation system of the present invention, described second HDMI has 4 ports,
When in described second HDMI input data, select one as input from described 4 ports
Port, when in described second HDMI output data time, from described 4 ports select one or
Multiple as output port.
On the other hand, it is provided that the control method of a kind of signal source generation system, the above-mentioned signal source is used to be
System, including:
Described first control module controls described Audio interface by described Audio module and inputs or output
Audio signal;
Described first control module controls described LAN interface by described LAN module and inputs or output
Lan signal;
Described first control module controls described USB interface by described USB module and inputs or output USB
Signal;
Described first control module controls described USB interface outputting VGA signal by described VGA module;
Described first control module controls described DVI interface output DVI signal by described DVI module;
It is defeated that described first control module controls described first HDMI by described first HDMI module
Go out a HDMI signal;
Described first control module controls described com interface by described COM module and inputs or output
COM signal;
Described first control module controls described PS/2 interface by described PS/2 module and inputs or output PS/2
Signal;
Described first control module controls the input of described WIFI module or output WIFI signal;
Described first control module controls described coaxial interface and/or described light by described DAB module
Fine interface input or output audio signal;
Described first control module controls described audio interface by described AV module and/or described video connects
Mouth input or output the first data signal;
Described first control module controls described aberration interface by described aberration module and inputs or output aberration
Signal;
Described first control module controls described S terminal interface by described S terminal module and inputs or output
Second data signal;
Described first control module by described second HDMI module control described HDMI input or
Export the 3rd data signal;
Described remote control unit scans described key-press module, if pressing described button by described second control module
Then keyboard-coding corresponding for described button is sent to described master control set by the second infrared module;
Described master control set receives described keyboard-coding and by the first control by described first infrared module
Module control described Audio module, LAN module, USB module, VGA module, DVI module, the
One HDMI module, COM module, PS/2 module, WIFI module, DAB module, AV module,
Aberration module, S terminal module and the second HDMI module.
In control method of the present invention, described control method also includes: at the beginning of described first control module
Beginningization described Audio module, LAN module, USB module, VGA module, DVI module, first
HDMI module, COM module, PS/2 module, WIFI module, DAB module, AV module,
Aberration module, S terminal module and the second HDMI module.
In control method of the present invention, described control method also includes: described first control module is divided
Analyse by described Audio module, LAN module, USB module, VGA module, DVI module, first
HDMI module, COM module, PS/2 module, WIFI module, DAB module, AV module,
The signal that aberration module, S terminal module and the second HDMI module receive, and export analysis result.
In control method of the present invention, described control method also includes: described remote control unit is by the
Two power modules access battery, thus power for described second control module and described key-press module.
In control method of the present invention, described control method also includes: described master control set is by the
One power module accesses external high pressure alternating current power supply, is translated into low-voltage dc power supply, thus is described the
One control module and described audio frequency and video module for power supply.
A kind of signal source generation system disclosed above and control method thereof have the advantages that offer is rich
Rich input or output signal, integrated level is high, can meet various application occasions demand, the most every road signal
Can be controlled by software, use flexibly.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality
Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein
In order to explain the present invention, it is not intended to limit the present invention.
The present invention is directed to prior art when needs multiple signal source, the equipment that multiple stage is different need to be set up, waste
Resource, installation difficulty, each signal source interface cannot be realized the defect of Based Intelligent Control, devise a kind of letter
There is system in number source, can realize infrared ray, Audio, LAN, USB, VGA, DVI, HDMI,
COM, PS/2, WIFI, coaxial audio frequency, optical fiber audio frequency, AV, color difference components, S terminal signals interface
Integrated, devise a kind of signal control method, it is possible to the receiving and transmitting signal of various interfaces is carried out intelligence simultaneously
Control, can realize, by infrared, utilizing remote controller remotely to control simultaneously.
Abbreviation involved in the present invention and Key Term are defined as follows:
VGA:Video GraphicsArray, Video Graphics Array, is a kind of video transmission standard;
DVI:Digital Visual Interface, digital visual interface;
LAN:Local Area Network, LAN;
AUDIO: analog audio interface;
USB:Universal Serial Bus, USB (universal serial bus);
COM:Communication is called for short, at computer interface middle finger serial ports;
WIFI:Wireless Fidelity, Wireless Fidelity, refer to wireless network;
PS/2:Personal 2, a kind of input interface, it is usually used in mouse and keyboard;
SPDIF:Sony/Philips Digital Interface Format, Sony, Philips digital audio interface
1221:
AV:Audio Video, audio-video interface;
HDMI:High Definition Multimedia Interface, HDMI;
Color difference components interface: a kind of video signal interface, is divided into three kinds of primary colours inputs of red, green, blue by signal;
Socket: socket, the software interface of ethernet communication;
S terminal: be a kind of video data is divided into two single signals (brightness and colourity) to pass
Defeated analog video signal interface;
GPIO:General Purpose Input Output, universal input exports.
The signal source generation system that the present invention proposes is divided into remote control unit 2 and 1 two devices of master control set, main
Control device 1 is divided into again first control module the 11, first power module the 15, first infrared module 13, sound to regard
Frequency module 12, audio frequency and video module 12 is by DAB module 121, AV module 122, aberration module 123
(i.e. " color difference components module "), S terminal module the 124, second HDMI module 125 form, and master control fills
Put first control module 11 of 1 to be communicated with each module by GPIO, serial ports, USB, by soft
Part controls each input/output signal.Remote control unit 2 is divided into the second control module 21, second source module
25, key-press module the 22, second infrared module 23, main controller module powered by second source module 25,
And process the button data of key-press module 22, then send button data by the second infrared module 23.
See the structured flowchart of a kind of signal source generation system that Fig. 1, Fig. 1 provide, this signal for the present invention
Source occurs system to include master control set 1 and remote control unit 2.
See the structured flowchart of the master control set 1 that Fig. 2, Fig. 2 provide, described master control set 1 for the present invention
First be electrically connected with including first housing the 14, first control module 11 and described first control module 11
Infrared module 13 and the audio frequency and video module 12 with described first control module 11 communication connection;Described
One control module 11, described first infrared module 13 and described audio frequency and video module 12 are arranged at described
Within one housing 14;Described first control module 11 include Audio module 111, LAN module 112,
USB module 113, VGA module 114, DVI module the 115, first HDMI module 116, COM
Module 117, PS/2 module 118 and WIFI module 119;The surface of described first housing 14 is provided with
Respectively with described Audio module 111, LAN module 112, USB module 113, VGA module 114,
DVI module the 115, first HDMI module 116, COM module 117 and PS/2 module 118 are corresponding
Audio interface 1111, LAN interface 1121, usb 1 131, USB interface 1141, DVI
Interface the 1151, first HDMI 1161, com interface 1171 and PS/2 interface 1181;Institute
State audio frequency and video module 12 and include DAB module 121, AV module 122, aberration module 123, S end
Submodule 124 and the second HDMI module 125;The surface of described first housing 14 is provided with described
The coaxial interface 1211 of DAB module 121 correspondence and optical fiber interface 1212, with described AV module 122
Corresponding audio interface 1221 and video interface 1222, respectively with described aberration module 123, S Terminals Die
Block 124 and the aberration interface 1231 of the second HDMI module 125 correspondence, S terminal interface 1241 and
Second HDMI 1251;Described master control set 1 also includes the first power supply for accessing external power source
Module 15, described first power module 15 is electrically connected to described first control module 11 and described sound
Video module 12.
First infrared module 13 is an input/output module, and it passes through serial ports and the first control module 11
Carry out communication.When it is as input module, it receives the button data of remote controller or receives outside
The infrared data of other device, is converted into various control command after main control software analytic solution code data, control main
The behavior of the modules on control device device.When it is as output, it exports according to the requirement of main control software
Infrared data.
First power module 15 of master device, from outside input AC high voltage power supply, changes multichannel low pressure
Direct current supplies electricity to the modules of master device and powers.
The main controller module of master device have Audio, LAN, USB, VGA, DVI, COM,
HDMI, PS/2, WIFI interface, and run main control software.
Wherein, described DAB module 121, AV module 122, aberration module 123, S terminal module
124 and second HDMI module 125 communicated to connect with described first control module 11 by USB respectively.
See the structured flowchart of the remote control unit 2 that Fig. 3, Fig. 3 provide, described remote control unit 2 for the present invention
Second be electrically connected with including second housing the 24, second control module 21 and described second control module 21
Infrared module 23 and the key-press module 22 being electrically connected with described second control module 21;Described second
Within control module, the second infrared module 23 and key-press module 22 are arranged at described second housing 24,
With reference to shown in Fig. 1, described second infrared module 23 is wirelessly connected to described first infrared module 13;Described
The surface of the second housing 24 is provided with the multiple buttons corresponding with described key-press module 22, thus in described many
Individual button arranges multiple keyboard-coding, described keyboard-coding respectively with described Audio module 111, LAN
Module 112, USB module 113, VGA module 114, DVI module the 115, first HDMI module 116,
COM module 117, PS/2 module 118, WIFI module 119, DAB module 121, AV module
122, aberration module 123, S terminal module 124 and the second HDMI module 125 are corresponding.Described distant
Control device 2 also includes the second source module 25 for accessing battery, and described second source module 25 is electrical
It is connected to described second control module 21 and described key-press module 22.
Described second HDMI 1251 has 4 ports, when in described second HDMI 1251
During input data, from described 4 ports, selection one is as input port, when in described 2nd HDMI
When interface 1251 exports data, select one or more as output port from described 4 ports.
On the other hand, it is provided that the control method of a kind of signal source generation system, the above-mentioned signal source is used to be
System, including:
Described first control module 11 controls described Audio interface 1111 by described Audio module 111
Input or output Audio signal;Audio interface 1111 is an input or output interface, main control software
First initializing Audio module 111, when needs input Audio signal, main control software controls Audio mould
Block 111, encodes Audio signals collecting and saves as audio file, being then analyzed audio file,
And export analysis result;When needs output Audio signal, main control software reads in the audio file specified also
Controlling Audio module 111 and export Audio signal, its workflow diagram sees Fig. 4, including:
S101, the first control module 11 initialize Audio module 111;
S102, judge whether Audio interface 1111 has input signal, if so, perform step S105-106,
If it is not, perform step S103-104;
S103, judge whether Audio interface 1111 has output signal, if so, go to step S104;
S104, in the first control module 11 preset corresponding software read in audio file, control Audio mould
Block 111 exports Audio signal by its interface;
S105, in the first control module 11 preset corresponding software control Audio module 111 Gather and input
Signal is also stored to audio file;
S106, the first control module 11 are analyzed audio file and export analysis result.
Described first control module 11 controls described LAN interface 1121 by described LAN module 112
Input or output lan signal;LAN interface 1121 is an input or output interface, and main control software is first
Initialize Socket, when needs receive lan data, receive number by calling the receiver function of Socket
Result is exported according to after also analytical data;When needs send lan data, main control software calls Socket's
Sending function and send data, its workflow diagram sees Fig. 5, including:
S201, the first control module 11 initialize Socket;
S202, judge whether LAN interface 1121 has a reception signal, if so, perform step S205-206,
If it is not, perform step S203-204;
S203, judge whether LAN interface 1121 has transmission signal, if so, go to step S204;
S204, call Socket send function send data;
S205, call Socket send function receive data;
S206, the first control module 11 analytical data also export analysis result.
It is defeated that described first control module 11 controls described usb 1 131 by described USB module 113
Enter or export usb signal;Usb 1 131 is an input or output interface, and main control software is the most initial
Changing USB module, when to input data from USB, main control software calls reading function and reads from USB device
Data also export result after processing data;When to export data from USB, main control software calls writes function
Write data into USB device.Its workflow diagram sees Fig. 6, including:
S301, the first control module 11 initialize USB module 113;
S302, judge whether usb 1 131 has input signal, if so, perform step S305-306,
If it is not, perform step S303-304;
S303, judge whether usb 1 131 has input signal, if so, go to step S304;
S304, call and write function and write data into USB device;
S305, call reading function read data from USB device;
S306, the first control module 11 analytical data also export analysis result.
Described first control module 11 controls described USB interface 1141 by described VGA module 114
Outputting VGA signal;USB interface 1141 is an output interface, and main control software (i.e. controls in first
Module 11 presets corresponding software) according to exporting different video datas on request, can be picture, regard
Frequency or other video data.
It is defeated that described first control module 11 controls described DVI interface 1151 by described DVI module 115
Go out DVI signal;DVI interface 1151 is an output interface, and main control software exports different showing on request
Registration evidence, can be picture, video or other video data.
Described first control module 11 controls a described HDMI by described first HDMI module 116
Interface 1161 exports a HDMI signal;The data of its output comprise video data and voice data simultaneously,
Main control software exports different video datas on request, can be picture, video or other data.
Described first control module 11 controls described com interface 1171 by described COM module 117
Input or output COM signal;Com interface 1171 is an input/output interface, at the beginning of main control software is first
Beginningization COM module 117, when needs input data, main control software calls receiver function and receives data also
Exporting analysis result after analytical data, when needs output data, main control software calls transmission function and sends number
According to, its workflow diagram sees Fig. 7, including:
S401, the first control module 11 initialize COM module 117;
S402, judge whether com interface 1171 has input signal, if so, perform step S405-406,
If it is not, perform step S403-404;
S403, judge whether com interface 1171 has output signal, if so, go to step S404;
S404, call transmission function data are sent from com interface 1171;
S405, call reading function read data from com interface 1171;
S406, the first control module 11 analytical data also export analysis result.
It is defeated that described first control module 11 controls described PS/2 interface 1181 by described PS/2 module 118
Enter or export PS/2 signal;This interface is generally used for connecing mouse, keyboard equipment, can be grasped by this equipment
Make the operating system on main controller and main control software.
Described first control module 11 controls described WIFI module 119 and inputs or export WIFI signal;
WIFI module 119 is an input or output interface, and main control software first initializes Socket, when needs connect
When receiving lan data, the receiver function then calling Socket receives output result after data analytical data;
When needs send lan data, main control software calls the transmission function of Socket and sends data, its work
Flow chart sees Fig. 8, including:
S501, the first control module 11 initialize Socket;
S502, judge whether WIFI module 119 has a reception signal, if so, perform step S505-506,
If it is not, perform step S503-504;
S503, judge whether WIFI module 119 has transmission signal, if so, go to step S504;
S504, call Socket send function data are sent from WIFI module 119;
S505, call Socket receiver function and read data from WIFI module 119;
S506, the first control module 11 analytical data also export analysis result.
Described first control module 11 controls described coaxial interface 1211 by described DAB module 121
And/or described optical fiber interface 1212 inputs or exports audio signal;DAB module 121 is an input
Output module, is communicated with main controller module by USB, and main control software first initializes DAB mould
Block 121, when needs input data, main control software is from the coaxial audio interface 1221 of DAB module 121
Or optical fiber audio interface 1221 gathers voice data, decoding audio data post analysis voice data also exports
Analysis result;When needs output data, main control software first reads audio file, then writes data into number
Word tone frequency module 121, by coaxial audio interface 1221 or optical fiber audio interface 1221 after audio-frequency module processes
Output, its workflow diagram sees Fig. 9, including:
S601, the first control module 11 initialize DAB module 121;
S602, judge whether digital audio interface 1221 has input signal, if so, perform step S605-607,
If it is not, perform step S603-604;
S603, judge whether digital audio interface 1221 has output signal, if so, go to step S604;
S604, in the first control module 11 preset corresponding software (i.e. main control software) with read in audio frequency literary composition
Part, and control DAB module 121 and export audio signal;
S605, gathered from coaxial audio interface 1221 or optical fiber audio interface 1221 by main control software
Voice data;
S606, decoding audio data;
S607, the first control module 11 analytical data also export analysis result.
Described first control module 11 by described AV module 122 control described audio interface 1221 and/
Or described video interface 1222 inputs or exports the first data signal;AV module 122 is input and output
Module, is communicated with main controller module by USB, and main control software first initializes AV module 122, when
When needing to input data, main control software gathers video and voice data from AV module 122, and decoding data are also
Analysis result is exported after analytical data;When needs output data, main control software first reads audio-video document,
Then DAB module 121 is write data into, from AV audio interface 1221 after audio-frequency module processes
Export with video interface 1222.Its workflow diagram sees Figure 10, including:
S701, the first control module 11 initialize AV module 122;
S702, judge whether AV interface has a reception signal, if so, perform step S705-707, if it is not,
Perform step S703-704;
S703, judge whether AV interface has transmission signal, if so, go to step S704;
S704, preset corresponding software (i.e. main control software) to read in audio frequency and video in the first control module 11
File, and control AV module 122 and export audio-video signal;
S705, from AV interface, gather audio, video data by main control software;
S706, decoding audio, video data;
S707, the first control module 11 analytical data also export analysis result.
Described first control module 11 controls institute by described aberration module 123 (i.e. color difference components module)
State aberration interface 1231 input or export colour difference signal;Color difference components module is an input/output module,
Being communicated with main controller module by USB, main control software first initializes aberration module 123, works as needs
During input data, main control software gathers video data from color difference components module, output point after Decoding Analysis data
Analysis result;When needs output data, main control software first reads video file, then writes data into aberration
Component module, exports after color difference components resume module.Its workflow diagram sees Figure 11, including:
S801, the first control module 11 initialize aberration module 123;
S802, judge whether aberration interface 1231 has input signal, if so, perform step S805-807,
If it is not, perform step S803-804;
S803, judge whether aberration interface 1231 has output signal, if so, go to step S804;
S804, in the first control module 11 preset corresponding software (i.e. main control software) with read in video literary composition
Part, and control aberration interface 1231 and export video signal;
S805, gather video data by main control software from aberration module 123;
S806, decoding video data;
S807, the first control module 11 analytical data also export analysis result.
Described first control module 11 controls described S terminal interface 1241 by described S terminal module 124
Input or output the second data signal;S terminal module 124 is an input/output module, passes through USB
Communicating with main controller module, main control software first initializes S terminal module 124, when needs input data
Time, main control software gathers video and voice data from S terminal module 124, exports after decoding, analytical data
Analysis result;When needs output data, main control software first reads audio-video document, then writes data into
S terminal module 124, exports from S terminal after S terminal module 124 processes.Its workflow diagram sees
Figure 12, including:
S901, the first control module 11 initialize S terminal module 124;
S902, judge whether S terminal interface 1241 has input signal, if so, perform step S905-907,
If it is not, perform step S903-904;
S903, judge whether S terminal interface 1241 has output signal, if so, go to step S904;
S904, preset corresponding software (i.e. main control software) to read in audio frequency and video in the first control module 11
File, and control S terminal module 124 and export audio-video signal;
S905, from S terminal interface 1241, gather audio, video data by main control software;
S906, decoding audio, video data;
S907, the first control module 11 analytical data also export analysis result.
Described first control module 11 controls described HDMI by described second HDMI module 125
Input or output the 3rd data signal;Second HDMI module 125 is an input/output module, passes through
USB communicates with main controller module, and it has HDMI1~HDMI4 totally 4 ports, when needs input
During data, main control software first choose in HDMI1~HDMI4 one of them as input port, then from
This port processing video and voice data, export analysis result after analytical data;When needs output data,
Main control software first chooses in HDMI1~HDMI4 one or more as output port, then reads sound and regards
Frequency file, writes data into HDMI module, from the port output sound chosen after HDMI module processes
Video data.Its workflow diagram sees Figure 13, including:
S1001, the first control module 11 initialize the second HDMI module 125;
S1002, judge whether the second HDMI module 125 has input signal, if so, perform step
S1006-1009, if it is not, perform step S1003-1005;
S1003, judge whether the second HDMI module 125 has output signal, if so, go to step S1004;
S1004, main control software control GPIO and select output port;
S1005, read in audio-video document by main control software, and control from selected output interface defeated
Go out audio, video data;
S1006, main control software control GPIO and select input port;
S1007, the first control module 11 gather audio-video signal from aberration module 123;
S1008, decoding audio, video data;
S1009, analyze audio, video data and export analysis result.
Described remote control unit 2 scans described key-press module 22, if pressing by described second control module 21
Keyboard-coding corresponding for described button is then sent to described master control by described button by the second infrared module 23
Device 1;After remote control unit 2 is powered on by second source module 25, main controller module starts to scan button
The button of module 22, if pushed button, is sent by infrared module after coding, its workflow
Journey figure sees Figure 14, including:
S1101, judge whether terminate, if it is not, then go to step S1102, the most then terminate flow process;
S1102, scanning button;
S1103, determine whether that button is pressed, if so, go to step S1104, if it is not, then go to step
Rapid S1101;
S1104, read this keyboard-coding;
S1105, send keyboard-coding by the second infrared module 23, go to step S1101, again to sweep
Retouch button.
Described master control set 1 receives described keyboard-coding and by first by described first infrared module 13
Control module 11 controls described Audio module 111, LAN module 112, USB module 113, VGA
Module 114, DVI module the 115, first HDMI module 116, COM module 117, PS/2 module 118,
WIFI module 119, DAB module 121, AV module 122, aberration module 123, S terminal module
124 and second HDMI module 125.
In control method of the present invention, described control method also includes: described remote control unit 2 passes through
Second source module 25 accesses battery, thus is described second control module 21 and described key-press module
22 power supplies.
In control method of the present invention, described control method also includes: described master control set 1 passes through
First power module 15 accesses external high pressure alternating current power supply, is translated into low-voltage dc power supply, thus is
Described first control module 11 and described audio frequency and video module 12 are powered.
Above in conjunction with accompanying drawing, embodiments of the invention are described, but the invention is not limited in above-mentioned
Detailed description of the invention, above-mentioned detailed description of the invention is only schematic rather than restrictive, this
The those of ordinary skill in field, under the enlightenment of the present invention, is being protected without departing from present inventive concept and claim
Under the ambit protected, it may also be made that a lot of form, within these belong to the protection of the present invention.