CN102780913A - Multi-channel signal detection method and device - Google Patents

Multi-channel signal detection method and device Download PDF

Info

Publication number
CN102780913A
CN102780913A CN2012102994597A CN201210299459A CN102780913A CN 102780913 A CN102780913 A CN 102780913A CN 2012102994597 A CN2012102994597 A CN 2012102994597A CN 201210299459 A CN201210299459 A CN 201210299459A CN 102780913 A CN102780913 A CN 102780913A
Authority
CN
China
Prior art keywords
module
incident
message processing
signal
driver module
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.)
Granted
Application number
CN2012102994597A
Other languages
Chinese (zh)
Other versions
CN102780913B (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.)
Vtron Group Co Ltd
Original Assignee
Vtron Technologies Ltd
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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201210299459.7A priority Critical patent/CN102780913B/en
Publication of CN102780913A publication Critical patent/CN102780913A/en
Application granted granted Critical
Publication of CN102780913B publication Critical patent/CN102780913B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The embodiment of the invention discloses a multi-channel signal detection method and device. The method comprises the following steps: using a detection module in an acquisition card to detect the changes in video signals and sending an interrupt request to a driving module in the acquisition card according to the detected changes; using the diving module to trigger an event which is pre-created for a channel in the driving module according to the interrupt request; using an event waiting module in an application module in the acquisition card to obtain the event, and sending a notification message to a message processing module in the application module, which corresponds to the event waiting module; and using the message processing module to inquire signal change information stored in the acquisition card through the driving module according to the notification message. According to the method disclosed by the invention, the signal changes in the different channels can be timely processed by the event waiting module and the message processing module, so that the video signals with frequent switching can be detected, and smooth video pictures can be provided for a user in a display interface.

Description

The method and apparatus that a kind of multi channel signals detects
Technical field
The present invention relates to electronic information field, be specifically related to the method and apparatus that a kind of multi channel signals detects.
Background technology
At present, the digital jointing wall system relates to the collection and the demonstration of various video signal, for example RGB (RGB; Red Green Blue) signal; Video (VIDEO) signal, HDMI (HDMI, High Definition Multimedia Interface) signal or the like.The extensive use that video acquisition is opened makes that different types of vision signal can centralized displaying.But when having the multi-channel video signal in the system, different video signals scoring switching can cause that the detection of vision signal is untimely.The situation that possibly occur is: equipment was handled like video signal detection when operation in the first passage, and the notice that also changes of the vision signal in second channel is given application module, and in this case, application module can not respond the variation of second channel vision signal.As shown in Figure 1; When the signal hardware detection module is to signal change in the capture card; Through the driver module on the interrupt requests notice capture card; Driver module on the capture card changes through incident or other communication mode notification applications module by signal, after application module knows that vision signal changes, can further from driver module, get access to the accurate information after vision signal changes.When the vision signal frequent variations of a plurality of passages, application module is in busy condition, and the time can only be handled quantity incident seldom, can not handle the variation of the vision signal on all passages in real time.
Summary of the invention
The method and apparatus that the embodiment of the invention provides a kind of multi channel signals to detect, overcome vision signal in the prior art frequent switch cause can not real time detection signal problem.
The method that the embodiment of the invention provides a kind of multi channel signals to detect, said method comprises:
Detection module in the capture card detects the change of vision signal, sends interrupt requests according to detected change and gives the driver module in the said capture card;
Said driver module triggers the incident of creating for passage in advance in the said driver module according to said interrupt requests;
Incident in the said capture card in the application module waits for that module gets access to said incident, sends a notification message to waiting for the message processing module in the corresponding said application module of module with said incident;
Said message processing module is inquired about signal stored change information in the said capture card according to said notification message through said driver module.
Preferably, said detection module detects before the change of vision signal, and said method also comprises:
The incident that said driver module is created for passage in advance.
Preferably, the incident that said driver module is created for passage in advance specifically comprises:
Said driver module is set up two Video Events respectively for each passage, and said two Video Events are represented respectively: vision signal have or not the variation with resolution.
The embodiment of the invention also provides a kind of signal supervisory instrument, comprising: detection module, and driver module, application module, wherein said application module comprises: incident is waited for module and message processing module;
Said detection module is used to detect the change of vision signal, sends interrupt requests according to detected change and gives the driver module in the said capture card;
Said driver module is used for according to said interrupt requests, triggers the incident of creating for passage in advance in the said driver module;
Incident in the said application module is waited for module, is used to get access to said incident, sends a notification message to waiting for the message processing module in the corresponding said application module of module with said incident;
Message processing module in the said application module is used for according to said notification message, inquires about signal stored change information in the said capture card through said driver module.
Preferably, said driver module also is used for the incident of creating for passage in advance.
Preferably, said driver module specifically is used to each passage and sets up two Video Events respectively, and said two Video Events are represented respectively: vision signal have or not the variation with resolution.
Preferably, said signal supervisory instrument is a video frequency collection card.
The explanation of the method that detects through the above-mentioned a kind of multi channel signals that the embodiment of the invention is provided, this method triggers in the driver module in advance the incident for the passage establishment through driver module; Wait for that by the incident in the application module module gets access to the incident of triggering, sends a notification message to the message processing module in the application module; Message processing module is inquired about signal stored change information in the said capture card according to the notification message of receiving through said driver module.Because application module is divided into incident and waits for module and message processing module; And incident waits for that module and message processing module can be more than one; Make in the different passages signal transformation can be in time be waited for that by incident module and message processing module handle; Thereby can realize the vision signal of frequent switching is implemented to detect, can video pictures smoothly be provided for the user at display interface.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method simplified schematic diagram that realizes video signal detection in the prior art;
The method flow simplified schematic diagram that Fig. 2 provides a kind of multi channel signals to detect for the embodiment of the invention one;
Fig. 3 provides in the method that a kind of multi channel signals detects module with the simplified schematic diagram of signal transmission for the embodiment of the invention one;
A kind of signal supervisory instrument simplified schematic diagram that Fig. 4 provides for the embodiment of the invention two.
Embodiment
Embodiment one
The method that the embodiment of the invention provides a kind of multi channel signals to detect, as shown in Figure 2, this method comprises:
Step 101: the detection module in the capture card detects the change of vision signal, sends interrupt requests according to detected change and gives the driver module in the capture card;
Wherein, Detection module in the capture card specifically can be the change that detects vision signal through hardware mode; Here the change of said vision signal; Specifically can be meant: the having or not of signal, perhaps the difference of the resolution of signal can also be other information that can represent video signal conversion.
Step 102: driver module triggers the incident of creating for passage in advance in the driver module according to the interrupt requests that receives;
It will be appreciated that, in driver module, can create one perhaps more than one incident for each passage in advance, also can be in advance for to set up an incident more than a passage, promptly a plurality of passages can shared one or many and an incident.For the ease of understanding, 8 video channels are arranged on the current capture card of specifically giving an example, driver module is set up 2 Video Events (videoevent) respectively for each video channel, these 2 Video Events are represented respectively: vision signal have or not the variation with resolution.Therefore, driver module is that 8 video channels are built together and found 16 incidents, i.e. videoevent0; Videoevent1, videoevent2 ... Videoevent15 wherein, supposes that videoevent0 and videoevent1 represent the variation with resolution that has or not of vision signal in first video channel; Videoevent2 and videoevent3 represent the variation with resolution that has or not of vision signal in second video channel, by that analogy.
Wherein, the concrete processing function to interrupt requests of driver module can be through setevent () function trigger event.Here only be to be convenient to understand giving an example of the embodiment of the invention, should not be construed as restriction the embodiment of the invention.
After capture card produced interrupt requests, the driver module response was interrupted, but and does not know that which signal changes.Driver module also is to judge it is which signal change through a certain register that reads capture card, and this road signal is that signal has or not or signal resolution changes.Trigger corresponding incident then; First via signal has the corresponding videoevent0 of no change; First via signal resolution changes corresponding videoevent1. the second road signal has the corresponding videoevent2 of no change, and the second tunnel signal resolution changes corresponding videoevent3., and the rest may be inferred.
Step 103: the incident in the application module waits for that module gets access to the incident of triggering, sends a notification message to waiting for the message processing module in the corresponding application module of module with said incident;
Wherein, after the interrupt requests that driver module receives, trigger the incident of creating for passage in advance in the driver module; The hypothesis driven module receives interrupt requests; What trigger is the incident (is example with videoevent0) that the signal in first video channel has or not; In step 103, the incident in the application module waits for that module gets access to the incident of triggering, is assumed to be videoevent0; Send a notification message to the message processing module in the application module, be convenient to the message processing module active inquiry and obtain signal stored change information in the capture card.
Need to prove that also incident waits for that module can be just to send a notification message to message processing module after obtaining an incident, also can be after obtaining the incident of setting quantity, sends a notification message to message processing module.Be that incident waits for that module obtaining an incident, perhaps more than after the incident, sends a notification message to message processing module.Incident wait module specifically can be passed through WaitForMultipleObjects () function response events, sends message and gives the Message Processing thread, restarts waiting event then.
Also it will be appreciated that, can be provided with in the application module more than one incident and wait for module and more than one message processing module.For example: the application module in a capture card comprises: incident is waited for module 1, and incident is waited for module 2 ..., incident is waited for module N; And message processing module 1, message processing module 2 ..., message processing module M; Wherein, N and M be greater than 1 integer, and N can equate by M, also can be unequal.The incident of explanation wait module and message processing module can be realized by thread respectively in embodiments of the present invention, realize but be not limited to thread, and can also be other technological means that can realize its function.
Step 104: message processing module is inquired about signal stored change information in the said capture card according to the notification message of receiving through said driver module.
Wherein, behind the message processing module receiving notice message, obtain signalling channel number according to the content of notification message.Through the concrete condition of this passage vision signal of driver module inquiry, concrete condition can be then: the resolution value of the vision signal after the change, and disappear or the like the accurate information of expression vision signal state of vision signal.
The explanation of the method that detects through the above-mentioned a kind of multi channel signals that the embodiment of the invention is provided, this method triggers in the driver module in advance the incident for the passage establishment through driver module; Wait for that by the incident in the application module module gets access to the incident of triggering, sends a notification message to the message processing module in the application module; Message processing module is inquired about signal stored change information in the said capture card according to the notification message of receiving through said driver module.Because application module is divided into incident and waits for module and message processing module; And incident waits for that module and message processing module can be more than one; Make in the different passages signal transformation can be in time be waited for that by incident module and message processing module handle; Thereby can realize the vision signal of frequent switching is implemented to detect, can video pictures smoothly be provided for the user at display interface.
Further, when application module includes N incident wait module, N message processing module can be arranged, incident is waited for module and message processing module pairing, and is as shown in Figure 3, and incident waits for that module sends to the message processing module corresponding with self with notification message.Need to prove that the embodiment of the invention is not limited to the incident of current explanation and waits for that module and message processing module concern one to one, is a kind of easy implementation at that time; Incident waits for that module and message processing module also can be other corresponding relations arbitrarily.
Embodiment two
The embodiment of the invention also provides a kind of signal supervisory instrument, and is as shown in Figure 4, and this device comprises: detection module 401, and driver module 402, application module 403, wherein said application module comprises: incident is waited for module 4031 and message processing module 4031;
Said detection module 401 is used to detect the change of vision signal, sends interrupt requests according to detected change and gives the driver module in the said capture card;
Said driver module 402 is used for according to said interrupt requests, triggers the incident of creating for passage in advance in the said driver module;
Incident in the said application module is waited for module 4031, is used to get access to said incident, sends a notification message to waiting for the message processing module in the corresponding said application module of module with said incident;
Message processing module 4032 in the said application module is used for according to said notification message, inquires about signal stored change information in the said capture card through said driver module.
Wherein, a kind of signal supervisory instrument that the embodiment of the invention provides can be a video frequency collection card, but is not limited to video frequency collection card.
Further, driver module 402 also is used for the incident of creating for passage in advance.Wherein, driver module 402 specifically is used to each passage and sets up two Video Events respectively, and said two Video Events are represented respectively: vision signal have or not the variation with resolution.
Through the explanation of above-mentioned a kind of signal supervisory instrument that the embodiment of the invention is provided, this device triggers in the driver module in advance the incident for the passage establishment through driver module; Wait for that by the incident in the application module module gets access to the incident of triggering, sends a notification message to the message processing module in the application module; Message processing module is inquired about signal stored change information in the said capture card according to the notification message of receiving through said driver module.Because application module is divided into incident and waits for module and message processing module; And incident waits for that module and message processing module can be more than one; Make in the different passages signal transformation can be in time be waited for that by incident module and message processing module handle; Thereby can realize the vision signal of frequent switching is implemented to detect, can video pictures smoothly be provided for the user at display interface.
The detailed description of a kind of signal supervisory instrument that provides about the embodiment of the invention two, can reference implementation example one in the explanation of method, do not repeat here.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in a kind of computer-readable recording medium; The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
More than method and apparatus that a kind of multi channel signals provided by the present invention is detected carried out detailed introduction; For one of ordinary skill in the art; Thought according to the embodiment of the invention; The part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (7)

1. the method that detects of a multi channel signals is characterized in that said method comprises:
Detection module in the capture card detects the change of vision signal, sends interrupt requests according to detected change and gives the driver module in the said capture card;
Said driver module triggers the incident of creating for passage in advance in the said driver module according to said interrupt requests;
Incident in the said capture card in the application module waits for that module gets access to said incident, sends a notification message to waiting for the message processing module in the corresponding said application module of module with said incident;
Said message processing module is inquired about signal stored change information in the said capture card according to said notification message through said driver module.
2. method according to claim 1 is characterized in that, said detection module detects before the change of vision signal, and said method also comprises:
The incident that said driver module is created for passage in advance.
3. method according to claim 1 is characterized in that, the incident that said driver module is created for passage in advance specifically comprises:
Said driver module is set up two Video Events respectively for each passage, and said two Video Events are represented respectively: vision signal have or not the variation with resolution.
4. a signal supervisory instrument is characterized in that, comprising: detection module, and driver module, application module, wherein said application module comprises: incident is waited for module and message processing module;
Said detection module is used to detect the change of vision signal, sends interrupt requests according to detected change and gives the driver module in the said capture card;
Said driver module is used for according to said interrupt requests, triggers the incident of creating for passage in advance in the said driver module;
Incident in the said application module is waited for module, is used to get access to said incident, sends a notification message to waiting for the message processing module in the corresponding said application module of module with said incident;
Message processing module in the said application module is used for according to said notification message, inquires about signal stored change information in the said capture card through said driver module.
5. device according to claim 4 is characterized in that, said driver module also is used for the incident of creating for passage in advance.
6. device according to claim 5 is characterized in that, said driver module specifically is used to each passage and sets up two Video Events respectively, and said two Video Events are represented respectively: vision signal have or not the variation with resolution.
7. device according to claim 4 is characterized in that, said signal supervisory instrument is a video frequency collection card.
CN201210299459.7A 2012-08-21 2012-08-21 The method and apparatus that a kind of multi channel signals detects Expired - Fee Related CN102780913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210299459.7A CN102780913B (en) 2012-08-21 2012-08-21 The method and apparatus that a kind of multi channel signals detects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210299459.7A CN102780913B (en) 2012-08-21 2012-08-21 The method and apparatus that a kind of multi channel signals detects

Publications (2)

Publication Number Publication Date
CN102780913A true CN102780913A (en) 2012-11-14
CN102780913B CN102780913B (en) 2015-09-09

Family

ID=47125653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210299459.7A Expired - Fee Related CN102780913B (en) 2012-08-21 2012-08-21 The method and apparatus that a kind of multi channel signals detects

Country Status (1)

Country Link
CN (1) CN102780913B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554496A (en) * 2015-12-23 2016-05-04 广东威创视讯科技股份有限公司 Automatic detection system and method for multiple signal channels
CN109327733A (en) * 2018-10-30 2019-02-12 北京达佳互联信息技术有限公司 Video broadcasting method, video play device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1375162A (en) * 1999-11-09 2002-10-16 开放电视公司 Event booking mechanism
CN101431763A (en) * 2007-11-09 2009-05-13 中兴通讯股份有限公司 Method and apparatus for implementing base station power-down alarm by using interrupt
CN102200770A (en) * 2011-04-06 2011-09-28 北京配天大富精密机械有限公司 Information interactive system and method based on PCI (Peripheral Component Interconnect) and upper computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1375162A (en) * 1999-11-09 2002-10-16 开放电视公司 Event booking mechanism
CN101431763A (en) * 2007-11-09 2009-05-13 中兴通讯股份有限公司 Method and apparatus for implementing base station power-down alarm by using interrupt
CN102200770A (en) * 2011-04-06 2011-09-28 北京配天大富精密机械有限公司 Information interactive system and method based on PCI (Peripheral Component Interconnect) and upper computer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554496A (en) * 2015-12-23 2016-05-04 广东威创视讯科技股份有限公司 Automatic detection system and method for multiple signal channels
CN109327733A (en) * 2018-10-30 2019-02-12 北京达佳互联信息技术有限公司 Video broadcasting method, video play device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102780913B (en) 2015-09-09

Similar Documents

Publication Publication Date Title
WO2019010828A1 (en) Smart device and operation method therefor, apparatus and computer storage medium
CN112286474B (en) Image processing method, device and system and display controller
CN104092815A (en) Method and device for inter-application information interaction based on Android system
US11169679B2 (en) Display apparatus to control connection, a display method and a non-transitory computer readable medium
CN101521774A (en) Projector system, project, and remote controller
CN101282426A (en) Video television wall equipment and setting method thereof
CN103257837A (en) Method and electronic device for displaying data
CN102880416B (en) Remote control unlocking method for mobile equipment in remote control protocol (RCP) communication process
CN101138202B (en) Communication connecting method and device
KR101612109B1 (en) System and method for providing visual ars services
CN102420966A (en) Conference television video output EDID (Extended Display Identification Data) processing method and system
CN104661080A (en) Multi-equipment projection control method based on Wi-Fi wireless network
CN105100645A (en) Terminal switching program method and terminal
CN201477830U (en) Cascading unit of distributed large screen controller
CN102780913A (en) Multi-channel signal detection method and device
CN105338260A (en) Signal source switching method and system
WO2015183028A1 (en) Electronic device and method of executing application
CN102890606A (en) Information processing device, information processing method, and program
CN104918010A (en) Signal redisplay method and system of spliced wall
CN202422700U (en) Multi-mode supporting type LED (Light Emitting Diode) screen splicing device
CN104795014B (en) The abnormality eliminating method and system of multiple signals combination windowing
CA2994761C (en) Systems and methods for smart home data storage
CN102025773B (en) Method and device for interconnected control of splicing wall
JP2016057709A (en) Electronic conference system, and display control method and program in electronic conference system
KR101559375B1 (en) Method of controlling multi display, apparatus performing the same and storage media storing the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670

Patentee after: VTRON GROUP Co.,Ltd.

Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No.

Patentee before: VTRON TECHNOLOGIES Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150909

Termination date: 20210821

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