CN113660481A - Port detection method, video processing circuit and video monitoring equipment - Google Patents

Port detection method, video processing circuit and video monitoring equipment Download PDF

Info

Publication number
CN113660481A
CN113660481A CN202110775032.9A CN202110775032A CN113660481A CN 113660481 A CN113660481 A CN 113660481A CN 202110775032 A CN202110775032 A CN 202110775032A CN 113660481 A CN113660481 A CN 113660481A
Authority
CN
China
Prior art keywords
port
video data
video
indicator light
network switching
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
CN202110775032.9A
Other languages
Chinese (zh)
Other versions
CN113660481B (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.)
Streamax Technology Co Ltd
Original Assignee
Streamax Technology Co 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 Streamax Technology Co Ltd filed Critical Streamax Technology Co Ltd
Priority to CN202110775032.9A priority Critical patent/CN113660481B/en
Publication of CN113660481A publication Critical patent/CN113660481A/en
Application granted granted Critical
Publication of CN113660481B publication Critical patent/CN113660481B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application is applicable to the technical field of video monitoring, and provides a port detection method, a video processing circuit and video monitoring equipment, wherein the port detection method comprises the following steps: if receiving an interrupt signal and video data from a network switching unit, acquiring state information of at least one port, and determining a second target port for inputting the video data based on the state information; setting the value of the interrupt event flag bit as a first preset value; the first preset value is used for indicating that a port event of the network switching unit is triggered; awakening a preset process in a dormant state and executing the preset process; when the preset process is executed, the preset process is used for realizing the operation of associating the video data with a target display interface corresponding to the second target port; and after the preset process is executed, setting the value of the interrupt event flag bit as a second preset value, and controlling the preset process to enter a dormant state. Thereby improving the resource utilization and cost-effectiveness ratio of the video data processing unit in the video processing circuit.

Description

Port detection method, video processing circuit and video monitoring equipment
Technical Field
The present application relates to the field of video monitoring technologies, and in particular, to a port detection method, a video processing circuit, and a video monitoring device.
Background
In recent years, the popularization and construction of safe cities and smart communities greatly promote the rapid development of the security monitoring industry. With the rapid development of the security monitoring industry, various video monitoring devices emerge in the market. The video monitoring device generally comprises a video data processing unit and a network switching unit, and generally, multiple paths of video data can be input by expanding multiple ports on the network switching unit. The network switching unit can send the video data input from different ports to the video data processing unit, and the video data processing unit can complete the detection of the ports for inputting the video data, the processing of the video data and other operations.
In the detection of ports, the existing video data processing unit generally detects status information of each port based on a polling mechanism, and determines a port for inputting video data according to the status information of each port. However, since the polling mechanism is designed based on program logic of circular scanning, it occupies more system resources of the video data processing unit, thereby reducing resource utilization of the video data processing unit, resulting in a lower cost-effectiveness ratio of the video data processing unit in terms of input detection of video data.
Disclosure of Invention
In view of this, embodiments of the present application provide a port detection method, a video processing circuit, and a video monitoring device, so as to solve the technical problem that the existing video data processing unit has a low resource utilization rate and a low cost-effectiveness ratio in the aspect of input detection of video data.
A first aspect of an embodiment of the present application provides a port detection method, which is applied to a video data processing unit in a video processing circuit; the video data processing unit is connected with a network switching unit in the video processing circuit, and the network switching unit is connected with at least one port; the port detection method comprises the following steps:
if receiving an interrupt signal and video data from the network switching unit, acquiring state information of the at least one port, and determining a second target port for inputting the video data based on the state information; the interrupt signal is generated by the network switching unit when a port event of the network switching unit is triggered, and the port event is triggered when any one port has the video data input;
setting the value of the interrupt event flag bit as a first preset value; the first preset value is used for indicating that a port event of the network switching unit is triggered;
waking up a preset process in a dormant state, and executing the preset process, wherein the preset process is used for realizing the operation of associating the video data with a target display interface corresponding to the second target port when executed;
after the preset process is executed, setting the value of the interrupt event flag bit as a second preset value, and controlling the preset process to enter the dormant state; the second preset value is used for indicating that the port event is not triggered.
A second aspect of an embodiment of the present application provides a video data processing unit, where the video data processing unit is connected to a network switching unit, and the network switching unit is connected to at least one port; the video data processing unit includes:
a port state detection subunit, configured to, if an interrupt signal and video data from the network switching unit are received, obtain state information of the at least one port, and determine, based on the state information, a second target port to which the video data is input; the interrupt signal is generated by the network switching unit when a port event of the network switching unit is triggered, and the port event is triggered when any one port has the video data input;
the interrupt flag setting subunit is used for setting the value of the interrupt event flag bit to a first preset value; the first preset value is used for indicating that a port event of the network switching unit is triggered;
the process processing subunit is configured to wake up a preset process in a dormant state and execute the preset process, where the preset process is used to implement an operation of associating the video data with a target display interface corresponding to the second target port when executed;
the process processing subunit is further configured to set the value of the interrupt event flag to a second preset value after the preset process is executed, and control the preset process to enter the dormant state; the second preset value is used for indicating that the port event is not triggered.
A third aspect of embodiments of the present application provides a video data processing unit, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the port detection method according to the first aspect when executing the computer program.
A fourth aspect of an embodiment of the present application provides a video processing circuit, including: the system comprises a video data processing unit, a network switching unit and at least one port; the network switching unit is connected with the video data processing unit and the at least one port; the video data processing unit is configured to perform the port detection method according to the first aspect.
A fifth aspect of an embodiment of the present application provides a video monitoring apparatus, including: a display device, a video acquisition device and a video processing circuit as described in the fourth aspect; the video processing circuit is connected with the display device and the video acquisition device; the video acquisition device is used for acquiring video data and sending the video data to the video processing circuit through the at least one port.
The implementation of the port detection method, the video data processing unit, the video processing circuit and the video monitoring equipment provided by the embodiment of the application has the following beneficial effects:
according to the port detection method provided by the embodiment of the application, when the network switching unit detects that video data is input at any port, an interrupt signal is generated and sent to the video data processing unit together with the input video data, the video data processing unit acquires the state information of each port after receiving the interrupt signal from the network switching unit, detects a second target port of the input video data based on the state information of each port, and awakens a preset process in a dormant state to associate the video data with a target display interface corresponding to the second target port; and the video data processing unit can be enabled to enter the dormant state again after the preset process is executed, and the system resources of the video data processing unit can be released after the preset process enters the dormant state, so that compared with the prior art that the port detection is realized by adopting a polling mechanism, the system resources of the video data processing unit are greatly saved, and the resource utilization rate and the cost effectiveness ratio of the video data processing unit are improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a video processing circuit according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a video processing circuit according to another embodiment of the present application;
fig. 3 is a flowchart illustrating an implementation of a port detection method according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating an implementation of a port detection method according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a video data processing unit according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a video data processing unit according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a video monitoring device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that the words "first", "second", and the like are used in the embodiments of the present application to distinguish the same items or similar items having substantially the same functions and actions. For example, the first indicator light and the second indicator light are only used for distinguishing different indicator lights, and the sequence of the indicator lights is not limited. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
Additionally, the words "exemplary" or "such as" are used herein to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In recent years, the popularization and construction of safe cities and smart communities greatly promote the rapid development of the security monitoring industry. With the rapid development of the security monitoring industry, various video monitoring devices emerge in the market. The video monitoring device generally comprises a video data processing unit and a network switching unit, and in a specific application, the input of multiple paths of video data can be realized by expanding a plurality of ports on the network switching unit. The network switching unit can send the video data input from different ports to the video data processing unit, and the video data processing unit can complete the detection of the ports for inputting the video data, the processing of the video data and other operations.
In the detection of ports, the conventional video data processing unit generally detects status information of each port based on a polling mechanism, and determines a port to which video data is input according to the status information of each port. However, since the polling mechanism is designed based on program logic of circular scanning, it occupies more system resources of the video data processing unit, thereby reducing resource utilization of the video data processing unit, resulting in a lower cost-effectiveness ratio of the video data processing unit in terms of input detection of video data.
In addition, in order to enable a user to intuitively know the state of each port (for example, whether the port has video data input or not), at least one indicator lamp may be configured for each port, and the state of the corresponding port is indicated by the on-off state of the indicator lamp. In order to realize the control of the indicator light, the network switching unit is generally required to have an indicator light control function, which not only increases the material cost of the network switching unit and causes the cost of the video monitoring device to increase, but also limits the model selection range of the network switching unit (i.e., reduces the model selection range of the network switching unit), and reduces the adaptability of the video monitoring device to the network switching unit.
Based on this, the embodiment of the present application first provides a video processing circuit. Referring to fig. 1, fig. 1 is a schematic structural diagram of a video processing circuit according to an embodiment of the present disclosure. As shown in fig. 1, the video processing circuit 10 may include: at least one port P _1 to P _ n, a network switching unit 11 and a video data processing unit 12. Wherein n is a positive integer, and n can be set according to actual requirements, and is not limited herein. For example, when n is 8, the video processing circuit 10 includes 8 ports P _1 to P _ 8.
Specifically, at least one port P _1 to P _ n is used for receiving video data and transmitting the video data to the network switching unit 11.
In a specific application, the at least one port P _1 to P _ n may be connected to a video capture device to receive video data from the video capture device. In one possible implementation, different ports may be connected to different video capture devices; in another possible implementation, different ports may be connected to the same video capture device. By way of example and not limitation, at least one port P _ 1-P _ n may be an Ethernet interface. The video capture device may be a webcam.
It should be noted that, in this embodiment, when video data is input into any one of the ports, a port event of the network switching unit 11 is triggered. Of course, in other embodiments, when the connection state of any one port and the network switching unit 11 changes from the normal connection state to the disconnection state, or changes from the disconnection state to the normal connection state, a port event of the network switching unit 11 may also be triggered, and the port event of the network switching unit 11 may be defined according to actual requirements, and is not limited herein.
Specifically, the network switching unit 11 is connected to at least one port P _1 to P _ n, and the network switching unit 11 is configured to generate an interrupt signal when detecting that video data is input to any one of the ports, and output the interrupt signal and the video data input from any one of the ports to the video data processing unit 12.
In a specific embodiment, the network switching unit 11 may include a data transmitting terminal D1, a data managing terminal D3, an interrupt signal output terminal INT1, and at least one video data transmitting terminal for respectively connecting at least one port P _1 to P _ n. Based on this, the network switching unit 11, upon detecting that video data is input to any one of the ports, may output an interrupt signal to the video data processing unit 12 through its interrupt signal output terminal INT1, and output video data to the video data processing unit 12 through its data transmission terminal D1.
In one possible implementation, the interrupt signal may be a low level signal. Based on this, when detecting that video data is input to any one of the ports, the network switching unit 11 may output a low level signal to the video data processing unit 12 through the interrupt signal output terminal INT 1; the network switching unit 11 may output a high level signal to the video data processing unit 12 through the interrupt signal output terminal INT1 when detecting that all ports have no video data input. That is, when no video data is input to all the ports P _1 to P _ n, the network switching unit 11 may output a high level signal to the video data processing unit 12 through the interrupt signal output terminal INT 1; when at least one port has video data input, the network switching unit 11 may output a low level signal to the video data processing unit 12 through the interrupt signal output terminal INT 1.
Specifically, the video data processing unit 12 is connected to the network switching unit 11, and the video data processing unit 12 is configured to obtain status information of at least one port P _1 to P _ n when receiving the interrupt signal and the video data from the network switching unit 11, and determine a second target port of the input video data based on the status information of the at least one port P _1 to P _ n; setting the value of the interrupt event flag bit as a first preset value after the second target port is determined; awakening a preset process in a dormant state and executing the preset process; and after the preset process is executed, setting the value of the interrupt event flag bit as a second preset value, and controlling the preset process to enter a dormant state.
In this embodiment, the first preset value is used to indicate that a port event of the network switching unit 11 is triggered, and the second preset value is used to indicate that a port event of the network switching unit 11 is not triggered. Illustratively, a port event may include, but is not limited to, a video data input event. The first preset value and the second preset value may be set according to actual requirements, for example, the first preset value may be 1, and the second preset value may be 0, that is, when the value of the interrupt event flag is 1, it indicates that a port event of the network switching unit 11 is triggered, for example, it indicates that at least one port has video data input; when the value of the interrupt event flag bit is 0, it indicates that the port event of the network switching unit 11 is not triggered, for example, that all ports have no video data input.
The video data processing unit 12 may receive and process the interrupt signal output by the network switching unit 11 using a hardware interrupt mechanism. Based on this, in a specific embodiment, the video data processing unit 12 may include an interrupt signal input terminal INT2 and a data transmission terminal D2, the interrupt signal transmission terminal INT2 of the video data processing unit 12 is connected with the interrupt signal output terminal INT1 of the network switching unit 11, and the data transmission terminal D2 of the video data processing unit 12 is connected with the data transmission terminal D1 of the network switching unit 11. The video data processing unit 12 may receive the interrupt signal from the network switching unit 11 through its interrupt signal input terminal INT2 and the video data from the network switching unit 11 through its data transmission terminal D2.
In another embodiment, the video data processing unit 12 may further include a data management terminal D4, and the data management terminal D4 of the video data processing unit 12 may be connected to the data management terminal D3 of the network switching unit 11. The network switching unit 11 may include at least one status register corresponding to at least one port P _1 to P _ n, and each status register is used to store status information of its corresponding port.
The status information of the port may include, but is not limited to, a data exchange status and a connection status between the port and the network switching unit 11. Wherein, the data exchange state may include: with and without data exchange. For example, when the data exchange state of a certain port is data exchange, the value of the port active state bit in the state register corresponding to the port may be 1; when the data exchange state of a certain port is no data exchange, the value of the port active state bit in the state register corresponding to the port may be 0. The connection state may include: normally connected and disconnected. For example, when a port is normally connected to the network switching unit 11, the value of the port connection status bit in the status register corresponding to the port may be 1; when the connection state of a port and the network switching unit 11 is disconnected, the value of the port connection state bit in the state register corresponding to the port may be 0.
Based on this, the video data processing unit 12 can acquire the status information of at least one of the ports P _1 to P _ n from the network switching unit 11 through the data management terminal D4 of the video data processing unit 12 after receiving the interrupt signal and the video data from the network switching unit 11. Specifically, when the video data processing unit 12 receives the interrupt signal and the video data from the network switching unit 11, it may obtain values of status registers corresponding to the ports P _1 to P _ n from the network switching unit 11, determine a first target port whose connection state with the network switching unit 11 is a normal connection state currently based on values of port connection status bits in the status registers corresponding to the ports P _1 to P _ n, and determine a second target port to which the video data is input based on values of port active status bits in the status registers corresponding to the ports P _1 to P _ n.
For example, assuming that the video data processing unit 12 detects that the values of the port connection status bits in the status registers corresponding to the ports P _1 to P _ n are all 1, the video data processing unit 12 determines that the ports P _1 to P _ n are all normally connected to the network switching unit 11 currently, that is, the ports P _1 to P _ n are all the first target ports at this time. Assuming that the video data processing unit 12 detects that the value of the port active status bit in the status register corresponding to the port P _1 is 1, and the values of the port active status bits in the status registers corresponding to the other ports are all 0, the video data processing unit 12 determines that the port P _1 currently has data exchange with the network switching unit 11, and at this time, the port P _1 is a second target port, that is, the video data received by the video data processing unit 12 is input from the port P _ 1.
In this embodiment, the preset process may be used to implement, when executed by the video data processing unit 12, an operation of associating the video data input from the second target port with a target display interface corresponding to the second target port. Wherein, the display interface refers to a software interface for outputting video data to a user interface.
In a specific application, the video data processing unit 12 may be a system on chip (SoC) having a video encoding function and a video decoding function, and more specifically, the video data processing unit 12 may be a SoC loaded with a Linux operating system.
The network switching unit 11 may comprise a network switch chip.
As can be seen from the above, in terms of hardware structure, the video processing circuit provided in this embodiment has an interrupt signal output end on the network switching unit and an interrupt signal input end on the video data processing unit, so that the network switching unit can generate an interrupt signal when detecting that video data is input into any port connected to the network switching unit, and send the interrupt signal together with the input video data to the video data processing unit; in the aspect of programming, the video data processing unit acquires the state information of each port after receiving an interrupt signal from the network switching unit, detects a second target port of input video data based on the state information of each port, and awakens a preset process in a dormant state to associate the video data with a target display interface corresponding to the second target port; and the video data processing unit can be enabled to enter the dormant state again after the preset process is executed, and the system resources of the video data processing unit can be released after the preset process enters the dormant state, so that compared with the prior art that the port detection is realized by adopting a polling mechanism, the system resources of the video data processing unit are greatly saved, and the resource utilization rate and the cost effectiveness ratio of the video data processing unit are improved.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a video processing circuit according to another embodiment of the present disclosure. As shown in fig. 2, compared with the embodiment corresponding to fig. 1, the video processing circuit 10 in the present embodiment further includes: at least one first indicator lamp L1_ 1-L1 _ n corresponding to the at least one port P _ 1-P _ n, respectively, and a first indicator lamp control unit 13. Wherein, the first indicator light control unit 13 is connected with the video data processing unit 12 and at least one first indicator light L1_ 1-L1 _ n.
Since each port corresponds to one first indicator light, the number of the first indicator lights is equal to the number of the ports. For example, the port P _1 may correspond to the first indicator lamp L1_1, the port P _2 may correspond to the first indicator lamp L1_2, and the port P _ n may correspond to the first indicator lamp L1_ n.
In this embodiment, the first indicator lamps L1_1 to L1_ n are used for indicating the connection status between the corresponding ports and the network switching unit 11. In a specific application, the states of the first indicator lights L1_1 to L1 — n may include an on state and an off state. For example, the present embodiment may indicate that the connection state of the port corresponding to the first indicator lamp and the network switching unit 11 is the normal connection state through the lighting state of the first indicator lamp, and indicate that the connection state of the port corresponding to the first indicator lamp and the network switching unit 11 is the disconnection state through the extinguishing state of the first indicator lamp. Wherein the lighting state may include a normally-on state.
Specifically, the video data processing unit 12 is further configured to determine, according to the state information of the ports P _1 to P _ n, a first target port of which the connection state with the network switching unit 11 is a normal connection state from the ports P _1 to P _ n after the state information of the ports P _1 to P _ n is acquired, and send a first indicator light control instruction to the first indicator light control unit 13. The first indicator light control instruction is used to instruct the first indicator light control unit 13 to light the first indicator light corresponding to the first target port.
The first indicator light control unit 13 is configured to receive a first indicator light control instruction from the video data processing unit 12, and light a first indicator light corresponding to the first target port based on the first indicator light control instruction, so that the indicator light corresponding to the first target port is in a normally-on state. Accordingly, the first indicator lamp corresponding to the port of which the connection state of the network switching unit 11 is the disconnection state is in the off state.
In a particular embodiment, the video data processing unit 12 may include a first indicator light control terminal CTL 1. The first indicator light control unit 13 may include a controlled terminal CTLD1 and at least one indicator light control terminal. The controlled end CTLD1 of the first indicator light control unit 13 is connected to the first indicator light control end CTL1 of the video data processing unit 12, and at least one indicator light control end of the first indicator light control unit 13 is connected to at least one of the first indicator lights L1_1 to L1_ n, respectively. Based on this, the video data processing unit 12 can send the first indicator light control instruction to the first indicator light control unit 13 through the first indicator light control terminal CTL1 thereof after determining the first target port. After receiving the first indicator light control instruction from the video data processing unit 12, the first indicator light control unit 13 may output an indicator light lighting signal through an indicator light control end of the first indicator light, which is used to connect to the first indicator light corresponding to the first target port, to light the first indicator light corresponding to the first target port, so that the first indicator light corresponding to the first target port enters a normally-on state. For example, if the port P _1 is a first target port, since the port P _1 corresponds to the first indicator light L1_1, and the first indicator light L1_1 is connected to the 1 st indicator light control end of the first indicator light control unit 13, after receiving the first indicator light control command, the first indicator light control unit 13 may output an indicator light lighting signal through the 1 st indicator light control end thereof to light the first indicator light L1_1 corresponding to the port P _1, so that the first indicator light L1_1 corresponding to the port P _1 is in a normally-on state, and further indicate to the user that the connection state between the current port P _1 and the network switching unit 11 is a normal connection state.
In a specific application, the first indicator lights L1_1 to L1_ n may be Light Emitting Diodes (LEDs). Of course, the first indicator lights L1_1 to L1 — n may be other types of indicator lights, and the specific type of the first indicator light is not particularly limited herein.
As can be seen from the above, in this embodiment, each port is configured with one first indicator light, the connection state between the corresponding port and the network switching unit is indicated as the normal connection state through the normally-on state of the first indicator light, and the connection state between the corresponding port and the network switching unit is indicated as the disconnection state through the off state of the first indicator light, so that on one hand, a user can intuitively know the connection state between each port and the network switching unit; on the other hand, since the first indicator light control unit is added in the video processing circuit, the on-off state of each first indicator light is controlled by the first indicator light control unit, therefore, the network switching unit does not need to have the control function of the first indicator light, thereby not only reducing the material cost of the network switching unit, but also enables network switching units not having the first indicator light control function to be applied in the video processing circuit, namely, the network switching unit having the first indicator light control function and the network switching unit not having the first indicator light control function can be used in the video processing circuit of the present embodiment, therefore, the limitation of the network switching unit on the model selection range is reduced, the model selection range of the network switching unit is expanded, and the adaptability of the video processing circuit to the network switching unit is improved.
With continued reference to fig. 2, in another embodiment of the present application, the video processing circuit 10 may further include: at least one second indicator lamp L2_1 to L2 — n corresponding to the at least one port P _1 to P _ n, respectively, and a second indicator lamp control unit 14. Wherein the second indicator lamp control unit 14 is connected with the video data processing unit 12 and at least one second indicator lamp L2_ 1-L2 _ n.
Since each port corresponds to one second indicator light, the number of the second indicator lights is equal to the number of the ports. For example, the port P _1 may correspond to the second indicator light L2_1, the port P _2 may correspond to the second indicator light L2_2, and the port P _ n may correspond to the second indicator light L2_ n.
In this embodiment, the second indicator lamps L2_1 to L2_ n are used to indicate the data exchange status of the corresponding ports. In a specific application, the states of the second indicator lights L2_1 to L2 — n may include a blinking state and an extinguishing state. For example, in this embodiment, the blinking state of the second indicator light may indicate that the port corresponding to the second indicator light has data exchange, and the extinguishing state of the second indicator light indicates that the port corresponding to the second indicator light has no data exchange.
Specifically, the video data processing unit 12 is further configured to send a second indicator light control instruction to the second indicator light control unit 14 after the second target port is determined.
The second indicator light control instruction is used for instructing the second indicator light control unit 14 to control the second indicator light corresponding to the second target port to enter a flashing state.
Correspondingly, the second indicator light control unit 14 is configured to receive a second indicator light control instruction from the video data processing unit 12, and control a second indicator light corresponding to the second target port to enter a flashing state based on the second indicator light control instruction.
In a particular embodiment, the video data processing unit 12 may include a second indicator light control terminal CTL 2. The second indicator lamp control unit 14 may include a controlled terminal CTLD2 and at least one indicator lamp control terminal. The controlled end CTLD2 of the second indicator lamp control unit 14 is connected to the second indicator lamp control end CTL2 of the video data processing unit 12, and at least one indicator lamp control end of the second indicator lamp control unit 14 is connected to at least one of the second indicator lamps L2_1 to L2 — n, respectively. Based on this, the video data processing unit 12 can send a second indicator light control instruction to the second indicator light control unit 14 through its second indicator light control terminal CTL2 after determining the second target port. After receiving the second indicator light control instruction from the video data processing unit 12, the second indicator light control unit 14 may output an indicator light flashing signal through an indicator light control end of the second indicator light, which is used to connect to the second indicator light corresponding to the second target port, so as to control the second indicator light corresponding to the second target port to enter a flashing state. For example, if the port P _1 is a second destination port (i.e. the port P _1 has data exchange), since the port P _1 corresponds to the second indicator light L2_1, and the second indicator light L2_1 is connected to the 1 st indicator light control terminal of the second indicator light control unit 14, after receiving the second indicator light control command, the second indicator light control unit 14 can output an indicator light flashing signal through the 1 st indicator light control terminal thereof to control the second indicator light L2_1 corresponding to the port P _1 to enter a flashing state, thereby indicating to the user that the port P _1 has data exchange, for example, video data input.
In a specific application, the second indicator lights L2_1 to L2_ n may be Light Emitting Diodes (LEDs). Of course, the second indicator lights L2_1 to L2 — n may be other types of indicator lights, and the specific type of the second indicator light is not particularly limited herein.
As can be seen from the above, in this embodiment, each port is configured with one second indicator light, the corresponding port is indicated to have data exchange through the flashing state of the second indicator light, and the corresponding port does not have data exchange through the turning-off state of the second indicator light, so that on one hand, the data exchange state of each port can be shown to a user, so that the user can intuitively know which ports have data exchange and which ports do not have data exchange; on the other hand, in this embodiment, since the second indicator light control unit is further added to the video processing circuit, and the second indicator lights are controlled by the second indicator light control unit to enter the flashing state or the extinguishing state, so that the network switching unit does not need to have a control function for the first indicator light and/or the second indicator light, the material cost of the network switching unit can be reduced, and the network switching unit without the control function for the first indicator light and/or the second indicator light can be applied to the video processing circuit, thereby expanding the selection range of the network switching unit and improving the adaptability of the video processing circuit to the network switching unit.
In a specific application, for most of network switching units with low cost positioning and low integration level, a port in the network switching unit for controlling the first indicator light is usually multiplexed with other ports for cost control, and since the network switching unit of this type can only realize control of the second indicator light, the network switching unit can be applied to a video processing circuit which only extends the first indicator light control unit and the first indicator light. For a network switching unit having neither a first indicator light control function nor a second indicator light control function, the network switching unit can be applied to a video processing circuit in which a first indicator light control unit, a first indicator light, a second indicator light control unit, and a second indicator light are simultaneously expanded.
With continued reference to fig. 2, in another embodiment of the present application, the video data processing unit 12 may further be connected to a display device 20. The display device 20 may be configured to display a preset user interface, where the preset user interface may include at least one display area corresponding to at least one of the ports P _1 to P _ n. Each display area is used for displaying the video data input from the port corresponding to the display area.
Based on this, the video data processing unit 12 may also control the display device 20 to display the preset user interface after executing the preset program, and display the video data input from the second target port in the target display area corresponding to the second target port in the preset user interface.
In a particular application, the display device 20 may be a display screen, such as a monitor.
As can be seen from the above, in the video processing circuit provided in this embodiment, since the video data processing unit is connected to the display device, and the video data processing unit can control the display device to display the preset user interface, and display the video data input from the second target port in the target display area corresponding to the second target port in the preset user interface, not only can the user view (for example, preview or playback, etc.) the video data through the display device, but also the user can intuitively know from which port the video data is input.
With continued reference to fig. 2, in yet another embodiment of the present application, the video processing circuit 10 may further include a communication unit 15 connected to the video data processing unit 12. The video data processing unit 12 can establish a communication connection with the target terminal device 30 through the communication unit 15.
Correspondingly, the video data processing unit 12 may also transmit the video data input from the second destination port to the destination terminal device 30 through the communication unit 15.
In one possible implementation, the communication unit 15 may be a wireless communication unit, such as a wireless fidelity (WIFI) module, a fourth generation mobile communication technology (4G) communication module, or a fifth generation mobile communication technology (5G) communication module, and so on. Based on this, the video data processing unit 12 can establish a wireless communication connection with the target terminal device 30 through the communication unit 15 and transmit video data to the target terminal device 30 in a wireless communication manner.
In another possible implementation, the communication unit 15 may be a wired communication unit, such as an ethernet communication unit. Based on this, the video data processing unit 12 can establish a wired communication connection with the target terminal device 30 through the communication unit 15 and transmit video data to the target terminal device 30 in a wired communication manner.
Illustratively, the target terminal device 30 may be built with a video management console. In a specific application, the target terminal device 30 includes but is not limited to: mobile phones, tablet computers, desktop computers, wearable devices, and the like.
As can be seen from the above, the video processing circuit provided in this embodiment may send the video data to the target terminal device in a wireless communication manner or a wired communication manner, so that the video data may be displayed or applied on the target terminal device, and thus, a user may preview real-time video data or play back the video data on the target terminal device, thereby implementing a remote monitoring function.
With continued reference to fig. 2, in yet another embodiment of the present application, the video processing circuit 10 further includes a storage unit 16 connected to the video data processing unit. Correspondingly, the video data processing unit 12 may also transmit the video data input from the second target port to the storage unit 16. The storage unit 16 stores the video data received from the video data processing unit 12, so that a local storage function of the video data can be realized, and thus, a user can preview or play back the video data locally stored by the video data processing unit through a preset user interface when necessary.
An embodiment of the present application further provides a port detection method, where the port detection method may be applied to a video data processing unit in the video processing circuit corresponding to fig. 1 or fig. 2, that is, an execution subject of the port detection method may be the video data processing unit in the video processing circuit corresponding to fig. 1 or fig. 2.
Referring to fig. 3, fig. 3 is a flowchart illustrating an implementation of a port detection method according to an embodiment of the present application, where an execution main body of the port detection method in the embodiment is specifically the video data processing unit in the embodiment corresponding to fig. 1, as shown in fig. 3, the port detection method may specifically include S31 to S34, which are detailed as follows:
s31: and if the interrupt signal and the video data from the network switching unit are received, acquiring the state information of the at least one port, and determining a second target port for inputting the video data based on the state information.
In this embodiment, the interrupt signal is generated by the network switching unit when its port event is triggered. Wherein, the port event of the network switching unit is triggered when any port has data exchange. For example, when video data is input into any one port, a port event of the network switching unit is triggered, and at this time, the network switching unit generates an interrupt signal and outputs the interrupt signal and the video data input from any one port to the video data processing unit.
After receiving the interrupt signal and the video data from the network switching unit, the video data processing unit may obtain status information of each port from the network switching unit, and determine a second target port for inputting the video data from all the ports based on the status information of each port.
S32: and setting the value of the interrupt event flag bit as a first preset value.
The first preset value is used for indicating that a port event of the network switching unit is triggered.
S33: and awakening the preset process in the dormant state, and executing the preset process, wherein the preset process is used for realizing the operation of associating the video data with the target display interface corresponding to the second target port when executed.
In this embodiment, when the port event of the network switching unit is not triggered, the value of the interrupt event flag is the second preset value, and at this time, the preset process is in a dormant state. Illustratively, when the video data processing unit is loaded with a Linux operating system, the Linux operating system is a virtual file system based on a kernel space and a user space. Therefore, the default process being in the dormant state means that the default process is in the dormant state in the kernel space, that is, the default process is hung in a waiting queue of the user space.
When the video data processing unit determines the second target port and sets the value of the interrupt event flag bit to the first preset value, the video data processing unit needs to wake up the preset process in the dormant state and execute the preset process. The video data processing unit awakens the preset process specifically to: and the video data processing unit calls and executes a preset process from the waiting queue so as to associate the video data input from the second target port with the target display interface corresponding to the first port.
S34: and after the preset process is executed, setting the value of the interrupt event flag bit as a second preset value, and controlling the preset process to enter the dormant state.
The second preset value is used for indicating that the port event of the video data processing unit is not triggered.
In this embodiment, in order to save system resources and improve the resource utilization rate and the cost effectiveness ratio of the video data processing unit, after the video data processing unit executes the preset process, the value of the interrupt event flag bit may be reset to the second preset value, and the preset process is hung in the waiting queue again, that is, the preset process is controlled to enter the sleep state.
In a possible implementation, the programs for implementing S31 to S34 may be arranged in an interrupt service sub-flow, which is executed by a driver layer of the kernel space, in order to maximize reusability and portability of the programs, while taking into account that the programs for implementing S31 to S34 are not complicated. And the preset process is placed in the application layer in the user space.
It should be noted that, since the main executing bodies of S31 to S34 in this embodiment are the video data processing units in the embodiment corresponding to fig. 1, the content not described in this embodiment may specifically refer to the description related to the embodiment corresponding to fig. 1, and is not described again here.
As can be seen from the above, in the port detection method provided in this embodiment, since the network switching unit generates an interrupt signal when detecting that video data is input at any port, and sends the interrupt signal and the input video data to the video data processing unit, the video data processing unit obtains the state information of each port after receiving the interrupt signal from the network switching unit, detects the second target port of the input video data based on the state information of each port, and wakes up the preset process in the dormant state, so as to associate the video data with the target display interface corresponding to the second target port; and the video data processing unit can be enabled to enter the dormant state again after the preset process is executed, and the system resources of the video data processing unit can be released after the preset process enters the dormant state, so that compared with the prior art that the port detection is realized by adopting a polling mechanism, the system resources of the video data processing unit are greatly saved, and the resource utilization rate and the cost effectiveness ratio of the video data processing unit are improved.
In another embodiment of the present application, based on the video processing circuit in the embodiment corresponding to fig. 2, when the main body of the port detection method is the video data processing unit in the embodiment corresponding to fig. 2, as shown in fig. 4, the port detection method may further include S310 to S311 and/or S312 after S31 and before S32, which is detailed as follows:
s310: and determining a first target port with a normal connection state as the connection state of the network switching unit from the at least one port according to the state information.
S311: and sending a first indicator light control instruction to the first indicator light control unit.
The first indicator light control instruction is used for indicating the first indicator light control unit to light a first indicator light corresponding to the first target port.
S312: and sending a second indication lamp control instruction to the second indication lamp control unit.
The second indicator light control instruction is used for indicating the second indicator light control unit to control a second indicator light corresponding to the second target port to enter a flashing state.
Since the present embodiment further includes S310 to S311 and/or S312 after S31 and before S32, the programs for implementing S31, S310 to S311 and/or S312, S32, S33 and S34 may be all set in the interrupt service sub-flow, and the interrupt service sub-flow is executed by the driver layer of the kernel space.
It should be noted that, when both S310 to S311 and S312 are included in the port detection method, the executed sequence of S310 to S311 and S312 may be set according to actual requirements. For example, the video data processing unit may perform S310 to S311 first and then perform S312; or executing S312 first and then executing S310 to S311; s310 to S311 and S312 may be performed simultaneously.
In still another embodiment of the present application, the port detection method may further include the following step after S33 when the video data processing unit is connected to the display apparatus:
and controlling the display device to display a preset user interface, and displaying the video data in a target display area corresponding to the second target port in the preset user interface.
In still another embodiment of the present application, when the video data processing unit is connected to the communication unit in the video processing circuit, the port detection method may further include the following steps after S33:
and sending the video data to the target terminal equipment through the communication unit.
In another embodiment of the present application, when the video data processing unit is connected to the storage unit in the video processing circuit, the port detection method may further include the following steps after S33:
and sending the video data to the storage unit to instruct the storage unit to store the video data.
It should be noted that, the method embodiment and the circuit embodiment corresponding to fig. 1 or fig. 2 are based on the same concept, and specific functions and technical effects thereof may specifically refer to the related description in the embodiment corresponding to fig. 1 or fig. 2, and are not described herein again.
The embodiment of the application also provides a video data processing unit. Referring to fig. 5, fig. 5 is a schematic structural diagram of a video data processing unit according to an embodiment of the present disclosure. The video data processing unit comprises units for performing the steps in the corresponding embodiments of fig. 1 or fig. 2. Specifically, please refer to fig. 1 or fig. 2 and the description related to the embodiment corresponding to fig. 1 or fig. 2, and for convenience of description, only the portions related to the embodiment are shown. As shown in fig. 5, the video data processing unit 50 includes: a port state detection subunit 51, an interrupt flag setting subunit 52, and a process processing subunit 53. Wherein:
the port state detection subunit 51 is configured to, if the interrupt signal and the video data from the network switching unit are received, obtain state information of the at least one port, and determine, based on the state information, a second target port to which the video data is input; the interrupt signal is generated by the network switching unit when a port event of the network switching unit is triggered, and the port event is triggered when the video data is input into any one of the ports.
The interrupt flag setting subunit 52 is configured to set a value of an interrupt event flag to a first preset value; the first preset value is used for indicating that a port event of the network switching unit is triggered.
The process processing subunit 53 is configured to wake up a preset process in a dormant state, and execute the preset process, where the preset process is executed to implement an operation of associating the video data with a target display interface corresponding to the second target port.
The process processing subunit 53 is further configured to set the value of the interrupt event flag to a second preset value after the preset process is executed, and control the preset process to enter the sleep state; the second preset value is used for indicating that the port event is not triggered.
Optionally, when the video data processing unit 50 is connected to the first indicator light control unit in the video processing circuit, the video data processing unit 50 further includes: the first determining unit and the first lamp control instruction generating subunit.
The first determining unit is configured to determine, according to the state information, a first target port whose connection state with the network switching unit is a normal connection state from the at least one port.
The first lamp control instruction generating subunit is used for sending a first indicator lamp control instruction to the first indicator lamp control unit; the first indicator light control instruction is used for indicating the first indicator light control unit to light a first indicator light corresponding to the first target port.
Optionally, when the video data processing unit 50 is connected to a second indicator light control unit in the video processing circuit, the video data processing unit 50 further includes a second light control instruction generating sub-unit.
The second lamp control instruction generating subunit is used for sending a second indicator lamp control instruction to the second indicator lamp control unit; and the second indicator light control instruction is used for indicating the second indicator light control unit to control a second indicator light corresponding to the second target port to enter a flashing state.
Optionally, when the video data processing unit 50 is connected to a display device, the video data processing unit 50 may further include a display control subunit.
The display control subunit is configured to control the display device to display a preset user interface, and display the video data in a target display area corresponding to the second target port in the preset user interface.
Optionally, when the video data processing unit 50 is connected to a communication unit in the video processing circuit, the video data processing unit 50 further includes a first data transmission subunit.
The first data transmission subunit is used for sending the video data to the target terminal device through the communication unit.
Optionally, when the video data processing unit 50 is connected to a storage unit in the video processing circuit, the video data processing unit 50 further includes a second data transmission subunit.
And the second data transmission subunit is used for sending the video data to the storage unit so as to instruct the storage unit to store the video data.
It should be noted that, for the above-mentioned information interaction and execution process between the units, the specific functions and technical effects of the video data processing unit in the embodiment corresponding to fig. 1 or fig. 2 are based on the same concept, and specific reference may be specifically made to the related description in the embodiment corresponding to fig. 1 or fig. 2, and no further description is provided here.
Fig. 6 is a schematic structural diagram of a video data processing unit according to yet another embodiment of the present application. As shown in fig. 6, the video data processing unit 60 includes: a processor 61, a memory 62 and a computer program 63 stored in the memory 62 and operable on the processor 61, for example a program corresponding to the port detection method. In a particular application, the computer program 63 may be an embedded program. The processor 61, when executing the computer program 63, implements the steps in the various port detection method embodiments described above, such as S31-S34 shown in fig. 3. Alternatively, the processor 61 implements the functions of the units in the embodiment corresponding to FIG. 5 described above, for example, the functions of the units 51 to 53 shown in FIG. 5, when executing the computer program 63.
Illustratively, the computer program 63 may be divided into one or more units, which are stored in the memory 62 and executed by the processor 61 to accomplish the present application. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 63 in the video data processing unit 60. For example, the computer program 63 may be divided into a port state detection subunit, an interrupt flag setting subunit, and a process processing subunit, each of which functions as described above.
It will be understood by those skilled in the art that fig. 6 is merely an example of the video data processing unit 60 and does not constitute a limitation of the video data processing unit 60, and that the video data processing unit 60 may include more or less components than those shown, or combine some components, or different components, for example, the video data processing unit 60 may further include an input-output device, a network access device, a bus, etc.
The Processor 61 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 62 may be an internal storage unit of the video data processing unit 60, such as a hard disk or a memory of the video data processing unit 60. The memory 62 may also be an external storage device of the video data processing unit 60, such as a plug-in hard disk provided on the video data processing unit 60, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 62 may also include both an internal storage unit of the video data processing unit 60 and an external storage device. The memory 62 is used to store the computer programs and other programs and data required by the video data processing unit 60. The memory 62 may also be used to temporarily store data that has been output or is to be output.
The embodiment of the application also provides video monitoring equipment. Referring to fig. 7, fig. 7 is a schematic structural diagram of a video monitoring apparatus according to an embodiment of the present disclosure. The video monitoring apparatus 70 may include: a display device 71, a video capture device 72, and a video processing circuit 73. The video processing circuit 73 is connected to the display device 71 and the video capture device 72. The video capture device 72 is used to capture video data and send the video data to the video processing circuit 73.
It should be noted that the video processing circuit 73 in this embodiment may be the video processing circuit in the embodiment corresponding to fig. 1 or fig. 2, and for the structure, the beneficial effects, and the like of the video processing circuit, reference may be made to the relevant description in the embodiment corresponding to fig. 1 or fig. 2, and details thereof are not repeated here.
In a specific embodiment, the number of the video capture devices 72 may be at least one, the at least one video capture device 72 may be respectively connected to at least one port of the video processing circuit 73, and each video capture device 72 may transmit video data to the video processing circuit 73 through the port to which it is connected.
In a specific application, the video monitoring device 70 may be, for example, a network high definition video camera, and the embodiment of the present application does not specifically limit the specific type of the video monitoring device.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A port detection method is characterized in that the port detection method is applied to a video data processing unit in a video processing circuit; the video data processing unit is connected with a network switching unit in the video processing circuit, and the network switching unit is connected with at least one port; the port detection method comprises the following steps:
if receiving an interrupt signal and video data from the network switching unit, acquiring state information of the at least one port, and determining a second target port for inputting the video data based on the state information; the interrupt signal is generated by the network switching unit when a port event of the network switching unit is triggered, and the port event is triggered when any one port has the video data input;
setting the value of the interrupt event flag bit as a first preset value; the first preset value is used for indicating that a port event of the network switching unit is triggered;
waking up a preset process in a dormant state, and executing the preset process, wherein the preset process is used for realizing the operation of associating the video data with a target display interface corresponding to the second target port when executed;
after the preset process is executed, setting the value of the interrupt event flag bit as a second preset value, and controlling the preset process to enter the dormant state; the second preset value is used for indicating that the port event is not triggered.
2. The port detection method according to claim 1, wherein the video data processing unit is further connected to a first indicator light control unit in the video processing circuit, the first indicator light control unit being connected to at least one first indicator light, the at least one first indicator light corresponding to the at least one port, respectively; correspondingly, after the obtaining of the state information of the at least one port and before the setting of the value of the interrupt event flag to the first preset value, the port detection method further includes:
determining a first target port with a normal connection state as a connection state with the network switching unit from the at least one port according to the state information;
sending a first indicator light control instruction to the first indicator light control unit; the first indicator light control instruction is used for indicating the first indicator light control unit to light a first indicator light corresponding to the first target port.
3. The port detection method according to claim 1 or 2, wherein the video data processing unit is further connected with a second indicator light control unit in the video processing circuit, the second indicator light control unit is connected with at least one second indicator light, and the at least one second indicator light respectively corresponds to the at least one port; correspondingly, after the determining the second target port for inputting the video data based on the state information, before the setting the value of the interrupt event flag bit to the first preset value, the port detection method further includes:
sending a second indication lamp control instruction to the second indication lamp control unit; and the second indicator light control instruction is used for indicating the second indicator light control unit to control a second indicator light corresponding to the second target port to enter a flashing state.
4. The port detection method according to claim 1, wherein the video data processing unit is further connected to a display device; correspondingly, after the executing the preset process, the port detection method further includes:
and controlling the display device to display a preset user interface, and displaying the video data in a target display area corresponding to the second target port in the preset user interface.
5. The port detection method according to claim 1, wherein the video data processing unit is further connected to a communication unit in the video processing circuit, the communication unit being connected to a target terminal device; correspondingly, after the executing the preset process, the port detection method further includes:
and sending the video data to the target terminal equipment through the communication unit.
6. The port detection method according to claim 1, wherein the video data processing unit is further connected to a storage unit in the video processing circuit, and correspondingly, after the executing the preset process, the port detection method further comprises:
and sending the video data to the storage unit to instruct the storage unit to store the video data.
7. A video data processing unit, wherein the video data processing unit is connected to a network switching unit, and the network switching unit is connected to at least one port; the video data processing unit includes:
a port state detection subunit, configured to, if an interrupt signal and video data from the network switching unit are received, obtain state information of the at least one port, and determine, based on the state information, a second target port to which the video data is input; the interrupt signal is generated by the network switching unit when a port event of the network switching unit is triggered, and the port event is triggered when any one port has the video data input;
the interrupt flag setting subunit is used for setting the value of the interrupt event flag bit to a first preset value; the first preset value is used for indicating that a port event of the network switching unit is triggered;
the process processing subunit is configured to wake up a preset process in a dormant state and execute the preset process, where the preset process is used to implement an operation of associating the video data with a target display interface corresponding to the second target port when executed;
the process processing subunit is further configured to set the value of the interrupt event flag to a second preset value after the preset process is executed, and control the preset process to enter the dormant state; the second preset value is used for indicating that the port event is not triggered.
8. A video data processing unit comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the port detection method according to any of claims 1 to 6 when executing the computer program.
9. A video processing circuit, comprising: the system comprises a video data processing unit, a network switching unit and at least one port; the network switching unit is connected with the video data processing unit and the at least one port; the video data processing unit is adapted to perform the port detection method of any of claims 1 to 6.
10. A video surveillance apparatus, comprising: a display device, a video capture device, and the video processing circuit of claim 9; the video processing circuit is connected with the display device and the video acquisition device; the video acquisition device is used for acquiring video data and sending the video data to the video processing circuit through the at least one port.
CN202110775032.9A 2021-07-08 2021-07-08 Port detection method, video processing circuit and video monitoring equipment Active CN113660481B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110775032.9A CN113660481B (en) 2021-07-08 2021-07-08 Port detection method, video processing circuit and video monitoring equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110775032.9A CN113660481B (en) 2021-07-08 2021-07-08 Port detection method, video processing circuit and video monitoring equipment

Publications (2)

Publication Number Publication Date
CN113660481A true CN113660481A (en) 2021-11-16
CN113660481B CN113660481B (en) 2023-09-01

Family

ID=78489295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110775032.9A Active CN113660481B (en) 2021-07-08 2021-07-08 Port detection method, video processing circuit and video monitoring equipment

Country Status (1)

Country Link
CN (1) CN113660481B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4849931A (en) * 1982-11-29 1989-07-18 Tokyo Shibaura Denki Kabushiki Kaisha Data processing system having interfacing circuits assigned to a common I/O port address by utilizing a specific bit line of a common bus
CN1698311A (en) * 2003-01-16 2005-11-16 索尼英国有限公司 Video/audio network
US20120151546A1 (en) * 2010-12-10 2012-06-14 Kabushiki Kaisha Toshiba Information processing apparatus and information processing method
CN202602822U (en) * 2012-05-28 2012-12-12 天津市赛诺达智能技术有限公司 High-definition video detection system
US20130322264A1 (en) * 2012-06-01 2013-12-05 International Business Machines Corporation Providing real-time interrupts over ethernet
US20140211637A1 (en) * 2013-01-25 2014-07-31 Dell Products L.P. System and method for rapid peer node failure detection
CN106254170A (en) * 2015-06-08 2016-12-21 广达电脑股份有限公司 Server online state-detection and the method and system of notice
CN106302616A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Network wake-up method, remote server and the network switching equipment
US20180324065A1 (en) * 2015-11-06 2018-11-08 Veracity Uk Limited Network switch
CN108958156A (en) * 2018-07-02 2018-12-07 深圳市佳运通电子有限公司 Heating furnace on-line condition monitoring system
JP2019168739A (en) * 2018-03-22 2019-10-03 日本電気株式会社 Parallel computation system
US20200099896A1 (en) * 2010-11-05 2020-03-26 Razberi Technologies, Inc. System and method for a security system
CN215897892U (en) * 2021-07-08 2022-02-22 深圳市锐明技术股份有限公司 Video processing circuit and video monitoring equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4849931A (en) * 1982-11-29 1989-07-18 Tokyo Shibaura Denki Kabushiki Kaisha Data processing system having interfacing circuits assigned to a common I/O port address by utilizing a specific bit line of a common bus
CN1698311A (en) * 2003-01-16 2005-11-16 索尼英国有限公司 Video/audio network
US20200099896A1 (en) * 2010-11-05 2020-03-26 Razberi Technologies, Inc. System and method for a security system
US20120151546A1 (en) * 2010-12-10 2012-06-14 Kabushiki Kaisha Toshiba Information processing apparatus and information processing method
CN202602822U (en) * 2012-05-28 2012-12-12 天津市赛诺达智能技术有限公司 High-definition video detection system
US20130322264A1 (en) * 2012-06-01 2013-12-05 International Business Machines Corporation Providing real-time interrupts over ethernet
US20140211637A1 (en) * 2013-01-25 2014-07-31 Dell Products L.P. System and method for rapid peer node failure detection
CN106254170A (en) * 2015-06-08 2016-12-21 广达电脑股份有限公司 Server online state-detection and the method and system of notice
CN106302616A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 Network wake-up method, remote server and the network switching equipment
US20180324065A1 (en) * 2015-11-06 2018-11-08 Veracity Uk Limited Network switch
JP2019168739A (en) * 2018-03-22 2019-10-03 日本電気株式会社 Parallel computation system
CN108958156A (en) * 2018-07-02 2018-12-07 深圳市佳运通电子有限公司 Heating furnace on-line condition monitoring system
CN215897892U (en) * 2021-07-08 2022-02-22 深圳市锐明技术股份有限公司 Video processing circuit and video monitoring equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
GEORGE GIAMOUGIANNIS: "《Demonstration of Low-Latency ETH-switched DataCenter and 5G Fronthaul Networks Using the 1024-port Hipoλaos Optical Packet Switch》", 《2020 EUROPEAN CONFEREMCE ON OPTICAL COMMUNICATIONS》, pages 1 - 4 *
陈超: "《网络虚拟化技术的应用研究》", 《网络安全和信息化》, pages 1 - 3 *

Also Published As

Publication number Publication date
CN113660481B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
KR101832953B1 (en) Remote wakeup of application processor of mobile device
US9690621B2 (en) Multitasking method and electronic device therefor
CN108540965B (en) Internet of things communication method and device based on LoRa technology and storage medium
US20210389973A1 (en) Electronic device and method for operating the same
US20190108149A1 (en) I3c in-band interrupts directed to multiple execution environments
US20180329837A1 (en) Input/output direction decoding in mixed vgpio state exchange
US9635268B2 (en) Electronic device and method for generating thumbnail data
US11086635B2 (en) Electronic device, method for controlling electronic device, and program
US10609276B2 (en) Electronic device and method for controlling operation of camera-related application based on memory status of the electronic device thereof
KR102607647B1 (en) Electronic apparatus and tethering connection method thereof
CN107526703B (en) Inter-integrated circuit device in inter-integrated circuit system and control method thereof
CN109977055B (en) Processing method and handheld device
KR102256291B1 (en) Method for recognizing a translatable situation and performancing a translatable function and electronic device implementing the same
CN110687820B (en) Control method and device of intelligent household equipment, terminal equipment and storage medium
US20140334364A1 (en) Remote wake-up system and method
EP2835717A2 (en) User device and method to process sensor output using a plurality of processors
CN104731734B (en) A kind of output method and device of terminal signaling
CN114281722A (en) Embedded control circuit with double bus interfaces, chip and electronic equipment
CN114297111A (en) Embedded control circuit, chip, peripheral access method and electronic equipment
CN114297105A (en) Embedded control circuit, chip and electronic equipment for direct memory access
CN107153621B (en) Equipment identification method and device
CN215897892U (en) Video processing circuit and video monitoring equipment
CN113660481A (en) Port detection method, video processing circuit and video monitoring equipment
WO2022089216A1 (en) Interface display method and electronic device
CN110008071B (en) Remote debugging device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant