Transmission method and device of video signal, storage medium and electronic device

By dynamically switching the video signal transmission interface mode, the high power consumption problem of DVR products when processing 4KP30 analog cameras is solved, ensuring stable transmission of video signals and system reliability.

CN114640814BActive Publication Date: 2026-01-02ZHEJIANG DAHUA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210204538.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-02
Publication Date
2026-01-02
Estimated Expiration
2042-03-02

AI Technical Summary

Technical Problem

Existing DVR products consume a lot of power when processing 4KP30 analog camera video signals, and video loss is easily caused when the hardware link is abnormal.

Method used

By determining the camera device's standard, the output mode of the transmission interface is dynamically switched, using BT1120 or BT656 mode to transmit video signals, unnecessary transmission channels are closed, and the VO port adaptive method is used to reduce power consumption and ensure the reliability of video signal transmission.

Benefits of technology

This reduces power consumption during data processing, prevents video loss, and improves system reliability and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114640814B_ABST
    Figure CN114640814B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a video signal transmission method and device, a storage medium and an electronic device, the method comprises the steps of determining the system of a camera device accessed by a camera device, wherein the camera device is used for acquiring a video signal; determining the output mode of a target transmission interface based on the system of the camera device; and transmitting the video signal to a central processing unit according to the output mode of the target transmission interface, wherein the central processing unit is used for processing the video signal. Through the application, the problem of large data processing power consumption in the related art is solved, and the effect of reducing the power consumption of data processing is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the field of communication, and in particular, to a video signal transmission method and device, a storage medium and an electronic device. BACKGROUND

[0002] For a digital video recorder (DVR) product, a video signal collected by an analog camera is converted by a video decoding chip into an analog-digital converter (ADC) and is decoded to color-coded YUV data, which is transmitted to a central processing unit (CPU) through a BT656 / BT1120 interface, so as to realize real-time preview, storage and forwarding of the video.

[0003] For a DVR product that needs to support a 4K P30 analog camera, a video decoding chip supporting a BT1120 output mode is usually selected to transmit the YUV data to the CPU for processing through a BT1120 output interface. For a DVR product that needs to support a 4K P15 and below analog camera, a video decoding chip supporting a BT656 output mode is usually selected.

[0004] A DVR product supporting a 4K P30 requirement adopts a BT1120 1x output mode, and the input and output channels are one-to-one corresponding. When a camera connected is a 4K P15, 1080P or 720P camera, the mode is still adopted for data processing, and the power consumption is relatively large.

[0005] Moreover, when a hardware link has a problem, such as an abnormality of a signal line of a BT1120 signal, a video loss alarm is performed, but a video loss problem occurs between the alarm and the completion of maintenance. SUMMARY

[0006] Embodiments of the present application provide a video signal transmission method and device, a storage medium and an electronic device to at least solve the problem of large data processing power consumption in the related art.

[0007] According to an embodiment of the present application, a video signal transmission method is provided, including: determining a standard of a camera device connected by a camera device, wherein the camera device is configured to acquire a video signal; determining an output mode of a target transmission interface based on the standard of the camera device; and transmitting the video signal to a central processing unit according to the output mode of the target transmission interface, wherein the central processing unit is configured to process the video signal.

[0008] According to another embodiment of the present application, a transmission device of a video signal is provided, comprising: a first determining module configured to determine a standard of a camera device accessed by a camera device, wherein the camera device is configured to acquire the video signal; a second determining module configured to determine an output mode of a target transmission interface based on the standard of the camera device; and a first transmission module configured to transmit the video signal to a central processing unit according to the output mode of the target transmission interface, wherein the central processing unit is configured to process the video signal.

[0009] In one exemplary embodiment, the second determining module comprises one of: a first determining unit configured to determine an output mode of a first transmission interface corresponding to a first standard as the transmission mode of the target transmission interface when the standard of the camera device accessed by the camera device comprises the first standard; and a second determining unit configured to determine an output mode of a second transmission interface corresponding to a second standard as the transmission mode of the target transmission interface when the standard of the camera device accessed by the camera device comprises the second standard.

[0010] In one exemplary embodiment, the first transmission module comprises: a first decoding unit configured to decode the video signal to obtain a decoded video signal when the standard of the camera device accessed by the camera device comprises the second standard; and a first transmission unit configured to transmit the decoded video signal to the central processing unit according to low eight bits of four transmission channels in the output mode of the second transmission interface, wherein high eight bits of the four transmission channels in the output mode of the second transmission interface are closed.

[0011] In one exemplary embodiment, the first transmission module comprises: a second decoding unit configured to decode the video signal to obtain a decoded video signal when the standard of the camera device accessed by the camera device comprises the second standard; and a second transmission unit configured to transmit the decoded video signal to the central processing unit through low eight bits of a first transmission channel and a second transmission channel in the output mode of the second transmission interface, wherein high eight bits of the first transmission channel and the second transmission channel in the output mode of the second transmission interface are closed, and high eight bits of a third transmission channel and a fourth transmission channel in the output mode of the second transmission interface are closed.

[0012] In one example embodiment, the first transmission module comprises: a third decoding unit, configured to decode the video signal to obtain a decoded video signal when the standard of the camera device connected to the camera equipment comprises a first standard; a first closing unit, configured to close the low eight bits of the transmission channel in the output mode of the first transmission interface when the low eight bits of the transmission channel in the output mode of the first transmission interface are abnormal; and a third transmission unit, configured to transmit the decoded video signal to the central processor by using the high eight bits of the transmission channel in the transmission mode of the first transmission interface.

[0013] In one example embodiment, the apparatus further comprises: a first adjusting module, configured to adjust the standard of the camera device connected to the camera equipment to a second standard after the decoded video signal is transmitted to the central processor by using the high eight bits of the transmission channel in the transmission mode of the first transmission interface; and a first prompting module, configured to send a first prompt information, wherein the first prompt information is used to prompt that the camera equipment of the first standard is abnormal.

[0014] In one example embodiment, the first transmission module comprises: a fourth decoding unit, configured to decode the video signal to obtain a decoded video signal when the standard of the camera device connected to the camera equipment comprises a second standard; a second closing unit, configured to close the low eight bits of the transmission channel in the output mode of the second transmission interface when the low eight bits of the transmission channel in the output mode of the second transmission interface are abnormal; and a fourth transmission unit, configured to transmit the decoded video signal to the central processor by using the high eight bits of the transmission channel in the output mode of the second transmission interface.

[0015] In one example embodiment, the apparatus further comprises: a second prompting module, configured to send a second prompt information after the decoded video signal is transmitted to the central processor by using the high eight bits of the transmission channel in the output mode of the second transmission interface, wherein the second prompt information is used to prompt that the camera equipment of the second standard is abnormal.

[0016] According to still another embodiment of the present application, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is configured to execute the steps of any of the method embodiments when running.

[0017] According to still another embodiment of the present application, an electronic device is provided, which comprises a memory and a processor. The memory stores a computer program, and the processor is configured to execute the computer program to perform the steps of any of the method embodiments.

[0018] By the present application, by determining the system of the camera device accessed by the camera device, wherein the camera device is used for acquiring a video signal; determining the output mode of the target transmission interface based on the system of the camera device; transmitting the video signal to the central processor according to the output mode of the target transmission interface, wherein the central processor is used for processing the video signal. The purpose of switching the transmission interface based on the system of the camera device is achieved. The power consumption of the product is reduced. Therefore, the problem of large data processing power consumption in the related art can be solved, and the effect of reducing the power consumption of data processing is achieved. BRIEF DESCRIPTION OF DRAWINGS

[0019] Figure 1 is a hardware structure block diagram of a mobile terminal of a video signal transmission method according to an embodiment of the present application;

[0020] Figure 2 is a flowchart of a video signal transmission method according to an embodiment of the present application;

[0021] Figure 3 is a 4KP15 video decoding schematic diagram according to an embodiment of the present application;

[0022] Figure 4 is a 1080P30 video decoding schematic diagram according to an embodiment of the present application;

[0023] Figure 5 is a 4KP30 link exception avoidance schematic diagram according to an embodiment of the present application;

[0024] Figure 6 is a 4KP15 link exception avoidance schematic diagram according to an embodiment of the present application;

[0025] Figure 7 is a structure block diagram of a video signal transmission device according to an embodiment of the present application. DETAILED DESCRIPTION

[0026] Hereinafter, the embodiments of the present application will be described in detail with reference to the accompanying drawings and in conjunction with the embodiments.

[0027] It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.

[0028] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking the case of running on a mobile terminal, Figure 1 is a hardware structure block diagram of a mobile terminal of a video signal transmission method according to an embodiment of the present application. As Figure 1 shown, the mobile terminal can include one or more (Figure 1 The mobile terminal can further include a transmission device 106 for communication function and an input / output device 108. Those skilled in the art can understand that, Figure 1 The structure shown is only schematic, and does not limit the structure of the mobile terminal. For example, the mobile terminal can include more or less components than those shown, or have a different configuration of components. The same can apply to the other drawings accompanying the present application. Figure 1 The mobile terminal can include more or less components than those shown, or have a different configuration of components. Figure 1 The mobile terminal can include more or less components than those shown, or have a different configuration of components.

[0029] The memory 104 can be used to store computer programs, such as software programs of application software and modules, such as the computer program corresponding to the video signal transmission method in the embodiments of the present application. The processor 102 can execute various functional applications and data processing, i.e. implement the method described above, by running the computer program stored in the memory 104. The memory 104 can include a high-speed random access memory, and can further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 104 can further include a memory remotely arranged with respect to the processor 102, which can be connected to the mobile terminal through a network. Examples of the network can include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0030] The transmission device 106 is used to receive or send data via a network. The specific examples of the network can include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet in a wireless manner.

[0031] In the embodiments of the present application, a video signal transmission method is provided, Figure 2 is a flowchart of the video signal transmission method according to the embodiments of the present application, as shown in Figure 2 The flowchart includes the following steps:

[0032] In step S202, the system determines the standard of the camera device accessed by the camera device, wherein the camera device is used to acquire a video signal.

[0033] In this embodiment, for example, the specification of the camera device includes: 4KP30, 4KP15, 1080P30, 720P30, and the like.

[0034] In step S204, the output mode of the target transmission interface is determined based on the specification of the camera device.

[0035] For example, when the specification of the camera device accessed by the camera device is 4KP30, the BT1120 output mode is adopted; when the specification of the camera device accessed by the camera device is 4KP15, 1080P30, or 720P30, the BT656 output mode is switched to by a self-adaptive method through the VO port, so as to reduce the power consumption of the product.

[0036] In step S206, the video signal is transmitted to the central processing unit according to the output specification of the target transmission interface, wherein the central processing unit is configured to process the video signal.

[0037] For example, the CPU performs real-time preview, storage, and forwarding processing on the video signal.

[0038] The execution subject of the above steps can be a terminal, but is not limited thereto.

[0039] Through the above steps, the specification of the camera device accessed by the camera device is determined, wherein the camera device is configured to acquire the video signal; the output mode of the target transmission interface is determined based on the specification of the camera device; and the video signal is transmitted to the central processing unit according to the output mode of the target transmission interface, wherein the central processing unit is configured to process the video signal. The purpose of switching the transmission interface based on the specification of the camera device is achieved. The power consumption of the product is reduced. Therefore, the problem of high data processing power consumption in the related art can be solved, and the effect of reducing the power consumption of data processing is achieved.

[0040] In one example embodiment, the output mode of the target transmission interface is determined based on the specification of the camera device, including one of the following:

[0041] In S11, in a case where the specification of the camera device accessed by the camera device includes a first specification, the output mode of a first transmission interface corresponding to the first specification is determined as the transmission mode of the target transmission interface.

[0042] In S12, in a case where the specification of the camera device accessed by the camera device includes a second specification, the output mode of a second transmission interface corresponding to the second specification is determined as the transmission mode of the target transmission interface.

[0043] In this embodiment, the first specification includes but is not limited to 4KP30. The second specification includes but is not limited to 4KP15, 1080P30, and 720P30.

[0044] For example, when the accessed camera is a 4K P30, a BT1120 output mode is adopted; when the accessed camera is a 4K P15, a 1080P30 or a 720P30 standard, a BT656 output mode is switched to by a self-adaptive method through a VO port, so as to reduce product power consumption.

[0045] In one example embodiment, transmitting the video signal to the central processor according to the output mode of the target transmission interface comprises:

[0046] S21, in a case where the standard of the camera device accessed by the camera equipment includes a second standard, decoding the video signal to obtain a decoded video signal;

[0047] S22, transmitting the decoded video signal to the central processor according to low eight bits in four transmission channels in an output mode of a second transmission interface, wherein high eight bits of the four transmission channels in the output mode of the second transmission interface are closed.

[0048] In the embodiment, the four transmission channels include but are not limited to output interfaces outputting video data, for example, VO1, VO2, VO3 and VO4 as shown in Figure 3 .

[0049] In one example embodiment, transmitting the video signal to the central processor according to the output mode of the target transmission interface comprises:

[0050] S31, in a case where the standard of the camera device accessed by the camera equipment includes a second standard, decoding the video signal to obtain a decoded video signal;

[0051] S32, transmitting the decoded video signal to the central processor through low eight bits in a first transmission channel and a second transmission channel in an output mode of a second transmission interface, wherein high eight bits of the first transmission channel and the second transmission channel in the output mode of the second transmission interface are closed, and third transmission channel and fourth transmission channel in the output mode of the second transmission interface are closed.

[0052] For example, when the accessed analog camera is a 4K P15, four groups of transmission channels are configured in a BT656 mode, low eight bits of the BT656 signal are outputted, and high eight bits which are not used are closed for output. The configuration is a BT656 1x mode.

[0053] For example, as shown in Figure 4 , low eight bits in the first transmission channel VO1 and the second transmission channel VO2 transmit the decoded video signal to the CPU. The third transmission channel VO3 and the fourth transmission channel VO4 are closed.

[0054] In one example embodiment, transmitting the video signal to the central processor according to the output mode of the target transmission interface comprises:

[0055] S41, in the case where the format of the camera device accessed by the camera equipment includes the first format, decoding the video signal to obtain a decoded video signal;

[0056] S42, in the case where the low eight bits of the transmission channel in the output mode of the first transmission interface are abnormal, closing the low eight bits of the transmission channel in the output mode of the first transmission interface;

[0057] S43, transmitting the decoded video signal to the central processor by using the high eight bits of the transmission channel in the transmission mode of the first transmission interface.

[0058] For example, when the accessed analog camera is 1080P30, the 3rd and 4th channel video outputs are closed, the 1st and 2nd channel outputs are configured in the BT656 mode, the low 8-bit BT656 signal is output, and the unused high 8-bit is closed. The configuration is in the BT656 2x mode.

[0059] For example, when the accessed camera is 4KP30, but the low 8-bit signal line of the BT1120 signal of VO4 is abnormal, the low 8-bit output of VO4 can be closed, the high 8-bit BT656 signal is output, and the configuration is adjusted to the BT656 1x mode. At this time, the system adjusts the camera to the 4KP15 mode through the reverse control function, and simultaneously alarms. Thus, the camera is always in the monitoring state, and the phenomenon of video loss due to hardware link abnormality is avoided.

[0060] In one example embodiment, after transmitting the decoded video signal to the central processor by using the high eight bits of the transmission channel in the transmission mode of the first transmission interface, the method further comprises:

[0061] S61, adjusting the format of the camera device accessed by the camera equipment to the second format;

[0062] S62, issuing a first prompt information, wherein the first prompt information is used to prompt that the camera device of the first format is abnormal.

[0063] For example, the camera device is adjusted to the 4KP15 mode, and simultaneously alarms.

[0064] In one example embodiment, transmitting the video signal to the central processor according to the output mode of the target transmission interface comprises:

[0065] S71, in the case where the format of the camera device accessed by the camera equipment includes the second format, decoding the video signal to obtain a decoded video signal;

[0066] S72, if the lower eight bits of the transmission channel in the output mode of the second transmission interface are abnormal, disable the output of the lower eight bits of the transmission channel in the output mode of the second transmission interface.

[0067] S73 uses the high eight bits of the transmission channel in the output mode of the second transmission interface to transmit the decoded video signal to the central processing unit.

[0068] For example, when the connected camera is a 4KP15, it is configured in BT656 1x mode. If a signal line of the lower 8 bits of the BT656 signal of VO1 malfunctions, the lower 8 bits of VO1 can be turned off and the higher 8 bits can be turned on, and VO1 will still use BT656 1x mode.

[0069] In one exemplary embodiment, after transmitting the decoded video signal to the central processing unit using the high eight bits of the transmission channel in the output mode of the second transmission interface, the method further includes:

[0070] S81, issue a second prompt message, which is used to indicate that the camera device using the second standard is malfunctioning.

[0071] For example, the system can use a reverse control function to adjust the camera to 4KP15 mode and simultaneously trigger an alarm.

[0072] The present invention will now be described in conjunction with specific embodiments:

[0073] This embodiment achieves the goal of reducing product power consumption and enhancing system reliability through the VO port adaptive method.

[0074] like Figure 3 As shown, when the connected analog camera is a 4KP30, the BT1120 1x mode is used to decode the video signal. When the connected analog camera is a 4KP15, the four outputs are configured in BT656 mode, using the lower 8 bits to output the BT656 signal, and the unused higher 8 bits are disabled. The configuration is BT656 1x mode.

[0075] like Figure 4 As shown, when the connected analog camera is 1080P30, video output channels 3 and 4 are disabled, and output channels 1 and 2 are configured in BT656 mode, using the lower 8 bits to output the BT656 signal, while the unused higher 8 bits are disabled. This is configured as BT656 2x mode.

[0076] like Figure 5As shown, when the connected camera is a 4KP30, but one of the lower 8 signal lines of the BT1120 signal on the VO4 is abnormal, the lower 8 bits of the VO4 output can be turned off, and the higher 8 bits can be output as the BT656 signal, adjusting it to BT656 1x mode. At this time, the system will use the reverse control function to adjust the camera to 4KP15 mode and simultaneously trigger an alarm.

[0077] like Figure 6 As shown, when the connected camera is a 4KP15, it is adaptively configured to BT656 1x mode according to our solution. When an anomaly occurs in one of the lower 8 signal lines of the BT656 signal of VO1, the lower 8 bit output of VO1 can be turned off, while the higher 8 bit output can be turned on. VO1 will still use BT656 1x mode. In this case, although an anomaly occurs, it has no actual impact, and an alarm will be triggered simultaneously.

[0078] In summary, this embodiment, for DVRs requiring 4KP30 cameras, uses the BT1120 output mode when the connected camera is a 4KP30; when the connected camera is a 4KP15, 1080P30, or 720P30 camera, it switches to the BT656 output mode via VO port adaptive method to reduce power consumption. If any signal line of the BT1120 malfunctions, the BT656 output mode is switched via VO port adaptive method to reduce camera resolution, thereby ensuring the camera remains in monitoring mode and preventing video loss due to hardware link failures.

[0079] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0080] This embodiment also provides a video signal transmission device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0081] Figure 7 This is a structural block diagram of a video signal transmission device according to an embodiment of the present invention, such as...Figure 7 The apparatus shown includes:

[0082] A first determining module 72 is configured to determine a standard of a camera device accessed by the camera device, wherein the camera device is configured to acquire a video signal.

[0083] A second determining module 74 is configured to determine an output mode of a target transmission interface based on the standard of the camera device.

[0084] A first transmission module 76 is configured to transmit the video signal to a central processing unit according to the output mode of the target transmission interface, wherein the central processing unit is configured to process the video signal.

[0085] In an example embodiment, the second determining module includes one of:

[0086] A first determining unit is configured to determine, in a case where the standard of the camera device accessed by the camera device includes a first standard, an output mode of a first transmission interface corresponding to the first standard as the transmission mode of the target transmission interface.

[0087] A second determining unit is configured to determine, in a case where the standard of the camera device accessed by the camera device includes a second standard, an output mode of a second transmission interface corresponding to the second standard as the transmission mode of the target transmission interface.

[0088] In an example embodiment, the first transmission module includes:

[0089] A first decoding unit is configured to decode the video signal to obtain a decoded video signal in a case where the standard of the camera device accessed by the camera device includes the second standard.

[0090] A first transmission unit is configured to transmit the decoded video signal to the central processing unit according to low eight bits of four transmission channels in the output mode of the second transmission interface, wherein high eight bits of the four transmission channels in the output mode of the second transmission interface are closed.

[0091] In an example embodiment, the first transmission module includes:

[0092] A second decoding unit is configured to decode the video signal to obtain a decoded video signal in a case where the standard of the camera device accessed by the camera device includes the second standard.

[0093] a second transmission unit, configured to transmit the decoded video signal to the central processor by the low eight bits of the first transmission channel and the second transmission channel in the output mode of the second transmission interface, wherein the high eight bits of the first transmission channel and the second transmission channel in the output mode of the second transmission interface are closed, and the third transmission channel and the fourth transmission channel in the output mode of the second transmission interface are closed.

[0094] In an example embodiment, the first transmission module comprises:

[0095] a third decoding unit, configured to decode the video signal to obtain a decoded video signal in a case where the standard of the camera device connected to the camera equipment comprises a first standard;

[0096] a first closing unit, configured to close the low eight bits of the transmission channel in the output mode of the first transmission interface in a case where the low eight bits of the transmission channel in the output mode of the first transmission interface are abnormal;

[0097] a third transmission unit, configured to transmit the decoded video signal to the central processor by the high eight bits of the transmission channel in the transmission mode of the first transmission interface.

[0098] In an example embodiment, the apparatus further comprises:

[0099] a first adjusting module, configured to adjust the standard of the camera device connected to the camera equipment to a second standard after the decoded video signal is transmitted to the central processor by the high eight bits of the transmission channel in the transmission mode of the first transmission interface.

[0100] a first prompting module, configured to send first prompting information, wherein the first prompting information is used to prompt that the camera device of the first standard is abnormal.

[0101] In an example embodiment, the first transmission module comprises:

[0102] a fourth decoding unit, configured to decode the video signal to obtain a decoded video signal in a case where the standard of the camera device connected to the camera equipment comprises a second standard;

[0103] a second closing unit, configured to close the low eight bits of the transmission channel in the output mode of the second transmission interface in a case where the low eight bits of the transmission channel in the output mode of the second transmission interface are abnormal;

[0104] a fourth transmission unit, configured to transmit the decoded video signal to the central processor by the high eight bits of the transmission channel in the output mode of the second transmission interface.

[0105] In an example embodiment, the apparatus further comprises:

[0106] a second prompting module configured to, after transmitting the decoded video signal to the central processing unit by using the high eight bits of the transmission channel in the output mode of the second transmission interface, issue a second prompt information, wherein the second prompt information is used to prompt that the camera device of the second standard is abnormal.

[0107] It should be noted that each of the above modules can be implemented by software or hardware, and for the latter, the following implementation manners can be used, but are not limited thereto: all of the modules are located in the same processor; or each of the modules is located in different processors in any combination.

[0108] Embodiments of the present application also provide a computer readable storage medium, which stores a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.

[0109] In the present embodiment, the computer readable storage medium can be configured to store the computer program for executing the above steps.

[0110] In an example embodiment, the computer readable storage medium can include, but is not limited to, a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store computer programs.

[0111] Embodiments of the present application also provide an electronic device, which comprises a memory storing a computer program and a processor configured to execute the computer program to execute the steps in any of the above method embodiments.

[0112] In an example embodiment, the electronic device can further comprise a transmission device connected to the processor and an input and output device connected to the processor.

[0113] In an example embodiment, the processor can be configured to execute the above steps by the computer program.

[0114] The specific examples in the present embodiment can refer to the examples described in the above embodiments and example embodiments, and will not be described here again.

[0115] It should be apparent to those skilled in the art that the modules or steps of the application described above can be implemented with general computing devices, which can be centralized on a single computing device or distributed on a network of multiple computing devices, which can be implemented with program codes executable by the computing devices, so that they can be stored in storage devices and executed by the computing devices, and in some cases, the steps shown or described can be executed in different orders than shown, or made into individual integrated circuit modules, or made into a single integrated circuit module. Thus, the application is not limited to any particular combination of hardware and software.

[0116] The preferred embodiments of the application described above are intended to be merely exemplary and those skilled in the art will recognize that many changes and modifications can be made to the application without departing from the spirit and scope of the application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the application should be included in the protection scope of the application.

Claims

1. A method for transmitting video signals, characterized in that, include: Determine the standard of the camera device to which the camera device is connected, wherein the camera device is used to acquire video signals; The output mode of the target transmission interface is determined based on the standard of the camera device. The video signal is transmitted to the central processing unit according to the output mode of the target transmission interface, wherein the central processing unit is used to process the video signal; The method of determining the output mode of the target transmission interface based on the standard of the camera device includes one of the following: when the standard of the camera device connected to the camera device includes a first standard, the output mode of the first transmission interface corresponding to the first standard is determined as the transmission mode of the target transmission interface; when the standard of the camera device connected to the camera device includes a second standard, the output mode of the second transmission interface corresponding to the second standard is determined as the transmission mode of the target transmission interface. Transmitting the video signal to the central processing unit according to the output mode of the target transmission interface includes: decoding the video signal to obtain a decoded video signal when the camera device connected to the camera device is of the first standard; shutting down the output of the lower eight bits of the transmission channel in the output mode of the first transmission interface when the lower eight bits of the transmission channel in the output mode of the first transmission interface are abnormal; and transmitting the decoded video signal to the central processing unit using the higher eight bits of the transmission channel in the transmission mode of the first transmission interface.

2. The method according to claim 1, characterized in that, Transmitting the video signal to the central processing unit according to the output mode of the target transmission interface includes: If the camera device connected to the camera device includes a second standard, the video signal is decoded to obtain a decoded video signal. The decoded video signal is transmitted to the central processing unit according to the lower eight bits of the four transmission channels in the output mode of the second transmission interface, wherein the higher eight bits of the four transmission channels in the output mode of the second transmission interface are turned off.

3. The method according to claim 1, characterized in that, Transmitting the video signal to the central processing unit according to the output mode of the target transmission interface includes: If the camera device connected to the camera device includes a second standard, the video signal is decoded to obtain a decoded video signal. The decoded video signal is transmitted to the central processing unit through the lower eight bits of the first and second transmission channels in the output mode of the second transmission interface, wherein the higher eight bits of the first and second transmission channels in the output mode of the second transmission interface are turned off, and the third and fourth transmission channels in the output mode of the second transmission interface are turned off.

4. The method according to claim 1, characterized in that, After transmitting the decoded video signal to the central processing unit using the high eight bits of the transmission channel in the transmission mode of the first transmission interface, the method further includes: Adjust the system standard of the camera device connected to the camera device to the second system standard; Issue a first prompt message, wherein the first prompt message is used to indicate that the camera device of the first type is malfunctioning.

5. The method according to claim 1, characterized in that, Transmitting the video signal to the central processing unit according to the output mode of the target transmission interface includes: If the camera device connected to the camera device includes a second standard, the video signal is decoded to obtain a decoded video signal. If the lower eight bits of the transmission channel in the output mode of the second transmission interface are abnormal, the lower eight bits of the transmission channel in the output mode of the second transmission interface will be turned off. The decoded video signal is transmitted to the central processing unit using the high eight bits of the transmission channel in the output mode of the second transmission interface.

6. The method according to claim 5, characterized in that, After transmitting the decoded video signal to the central processing unit using the high eight bits of the transmission channel in the output mode of the second transmission interface, the method further includes: A second notification message is issued, which is used to indicate that the camera device using the second standard is malfunctioning.

7. A video signal transmission device, characterized in that, include: The first determining module is used to determine the standard of the camera device to which the camera device is connected, wherein the camera device is used to acquire video signals; The second determining module is used to determine the output mode of the target transmission interface based on the standard of the camera device; The first transmission module is used to transmit the video signal to the central processing unit according to the output mode of the target transmission interface, wherein the central processing unit is used to process the video signal; The second determining module includes one of the following: a first determining unit, configured to determine the output mode of the first transmission interface corresponding to the first standard as the transmission mode of the target transmission interface when the standard of the camera device connected to the camera device includes the first standard; and a second determining unit, configured to determine the output mode of the second transmission interface corresponding to the second standard as the transmission mode of the target transmission interface when the standard of the camera device connected to the camera device includes the second standard. The first transmission module includes: a third decoding unit, configured to decode the video signal to obtain a decoded video signal when the camera device connected to the camera device is of the first standard; a first shutdown unit, configured to shut down the output of the lower eight bits of the transmission channel in the output mode of the first transmission interface when an abnormality occurs in the lower eight bits of the transmission channel in the output mode of the first transmission interface; and a third transmission unit, configured to transmit the decoded video signal to the central processing unit using the higher eight bits of the transmission channel in the transmission mode of the first transmission interface.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the method described in any one of claims 1 to 6.

9. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • DVR-based television standard automatic identification system and method

    CN102111625A

  • HDMI data acquisition's terminal equipment and handheld terminal

    CN206650768U