Data transmission method, camera, and electronic device

By embedding target data in the effective image area or blanking area of ​​the image frame, the problem of needing additional wiring to transmit target data in the prior art is solved, and target data transmission with cost savings is achieved.

CN114222096BActive Publication Date: 2025-08-01HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111578969.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2017-10-20
Publication Date
2025-08-01
Estimated Expiration
2037-10-20

AI Technical Summary

Technical Problem

In existing technologies, when transmitting images and coaxial data between image acquisition devices and electronic devices, additional wiring is required to transmit other target data, which increases the cost of the equipment.

Method used

By utilizing existing coaxial cable or twisted pair transmission channels, the target data is embedded into the effective image area or blanking area of ​​the image frame, and transmitted using an image frame type different from the image data, thus avoiding additional wiring.

Benefits of technology

This allows for the transmission of target data through the same transmission channel without adding cabling, saving equipment costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114222096B_ABST
    Figure CN114222096B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a data transmission method, a camera, and an electronic device. The method includes: obtaining target data to be sent, and using the same transmission channel as that used when transmitting image data, carrying the target data as the data in the valid image area of the first type of image frame, and adopting the data sending method of the valid image area to send the target data. Wherein, the target data is data different from image data and coaxial data, the coaxial data is notification information interacted between a data receiving end and a data sending end, and the first type of image frame and the second type of image frame carrying image data and not carrying the target data are different types of image frames. Applying the solution provided by the embodiment of the present application, there is no need for additional wiring, and the transmission of the target data can be realized, thereby saving equipment costs.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This invention patent application is a divisional application. The application number of the original application is 201710984275.7, the application date is October 20, 2017, and the invention title is: Data Transmission Method, Camera, and Electronic Device. Technical Field

[0002] This application relates to the technical field of signal transmission, and particularly to a data transmission method, a camera, and an electronic device. Background Art

[0003] In a monitoring system, an image acquisition device (such as a camera) can send the acquired image to an electronic device. The electronic device can receive and store the image sent by the image acquisition device, and then display the surveillance video. While sending the image, the image acquisition device can also send coaxial data to the electronic device together. The coaxial data is notification information for interaction between devices. The image frames sent between devices can be as Figure 1 shown. This image frame includes a valid image area and a blanking area. When sending an image frame, the image is usually used as the data in the valid image area, and the coaxial data is used as the data in the blanking area.

[0004] In the related art, when transmitting the above image frames, coaxial cables or twisted pairs are usually used for transmission between devices. If it is necessary to transmit target data other than images and coaxial data, additional wiring will be arranged between devices. However, this method increases the device cost. Summary of the Invention

[0005] The purpose of the embodiments of this application is to provide a data transmission method, a camera, and an electronic device, which can realize the transmission of other data without additional wiring. The specific technical solutions are as follows.

[0006] The embodiments of this application provide a data transmission method, and the method includes:

[0007] Obtain target data to be sent; wherein, the target data is data different from image data and coaxial data, and the coaxial data is notification information for interaction between a data receiving end and a data sending end;

[0008] Through the same transmission channel used when transmitting image data, carry the target data as the data in the valid image area of a first type of image frame, and send the target data by using the data sending method of the valid image area; wherein, the first type of image frame and a second type of image frame that carries image data and does not carry target data are different types of image frames.

[0009] Optionally, before sending the target data, the method further includes:

[0010] When it is determined that a preset number of the second type of image frames have been continuously sent, execute the step of sending the target data.

[0011] Optionally, when the sending of the target data is completed, the method further includes:

[0012] Continuously send a preset number of the second type of image frames.

[0013] Optionally, before sending the target data, the method further includes:

[0014] When it is determined that the data volume of the target data to be sent reaches a preset data volume threshold, execute the step of sending the target data.

[0015] Optionally, before sending the target data, the method further includes:

[0016] Obtain the coaxial data to be sent;

[0017] Use the data sending method of the blanking area to send the coaxial data by using the coaxial data as the data carried in the blanking area of the first type of image frame where the target data is located.

[0018] Optionally, the coaxial data further includes:

[0019] The data in the valid image area of the image frame is the coaxial data identifier of the target data.

[0020] Optionally, the target data includes:

[0021] Target data representing the environmental information of the environment where the image acquisition device for image data is located; and / or,

[0022] Target data representing the audio information collected by the image acquisition device for image data; and / or,

[0023] Target data representing the image information of the image data.

[0024] An embodiment of the present application provides a data transmission method, and the method includes:

[0025] Receive the first type of image frame with the target data carried in the valid image area through the same transmission channel used when transmitting image data; wherein, the target data is data different from image data and coaxial data, the coaxial data is the notification information interacted between the data receiving end and the data sending end, and the first type of image frame is a different type of image frame from the second type of image frame carrying image data and not carrying target data;

[0026] Adopt the data acquisition method of the valid image area to obtain the target data from the valid image area.

[0027] Optionally, the step of receiving the first type of image frame in which the valid image area carries target data includes:

[0028] When it is determined that a preset number of the second type of image frames have been continuously received, receive an image frame, and use the received image frame as the first type of image frame in which the valid image area carries target data.

[0029] Optionally, after receiving the first type of image frame, the method further includes:

[0030] Continuously receive a preset number of the second type of image frames.

[0031] Optionally, the blanking area of the first type of image frame carries coaxial data; after receiving the first type of image frame, the method further includes:

[0032] Adopt a data acquisition method for the blanking area to acquire coaxial data from the blanking area.

[0033] Optionally, the coaxial data is acquired before acquiring the target data; before acquiring the target data from the valid image area, the method further includes:

[0034] When it is determined that the coaxial data includes a coaxial data identifier indicating that the data in the valid image area of the image frame is target data, perform the step of acquiring the target data from the valid image area.

[0035] An embodiment of the present application provides a camera, including: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus;

[0036] The processor is configured to acquire target data to be sent, and use the same transmission channel as that used when transmitting image data to carry the target data as the data in the valid image area of the first type of image frame, and send the target data by using a data sending method for the valid image area; wherein, the target data is data different from image data and coaxial data, the coaxial data is notification information interacted between a data receiving end and a data sending end, and the first type of image frame and the second type of image frame carrying image data and not carrying target data are different types of image frames;

[0037] The memory is configured to store the target data acquired by the processor.

[0038] Optionally, before sending the target data, when it is determined that a preset number of the second type of image frames have been continuously sent, the processor uses the same transmission channel as that used for transmitting image data to carry the target data as the data in the valid image area of the first type of image frame, and sends the target data in the data sending manner of the valid image area.

[0039] Optionally, when the sending of the target data is completed, the processor continuously sends a preset number of the second type of image frames.

[0040] Optionally, before sending the target data, when it is determined that the data volume of the target data to be sent reaches a preset data volume threshold, the processor uses the same transmission channel as that used for transmitting image data to carry the target data as the data in the valid image area of the first type of image frame, and sends the target data in the data sending manner of the valid image area.

[0041] Optionally, before sending the target data, the processor acquires coaxial data to be sent; uses the same transmission channel as that used for transmitting image data to carry the coaxial data as the data in the blanking area of the first type of image frame where the target data is located, and sends the coaxial data in the data sending manner of the blanking area.

[0042] Optionally, the coaxial data further includes: a coaxial data identifier indicating that the data in the valid image area of the image frame is the target data.

[0043] Optionally, the target data includes: target data representing environmental information of the environment where the image acquisition device for image data is located; and / or, target data representing audio information acquired by the image acquisition device for image data; and / or, target data representing image information of the image data.

[0044] An embodiment of the present application provides an electronic device, including: a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;

[0045] The processor is configured to receive a first type of image frame in which the valid image area carries target data through the same transmission channel as that used for transmitting image data, and acquire the target data from the valid image area by using the data acquisition method of the valid image area; where the target data is data different from image data and coaxial data, the coaxial data is notification information interacted between a data receiving end and a data sending end, and the first type of image frame and a second type of image frame carrying image data and not carrying target data are different types of image frames;

[0046] The memory is configured to store the target data acquired by the processor.

[0047] Optionally, the processor is specifically configured to, when determining that a preset number of the second type of image frames have been continuously received, receive an image frame, and use the received image frame as a first type of image frame carrying target data in a valid image area.

[0048] Optionally, the processor is further configured to continuously receive a preset number of the second type of image frames after receiving the first type of image frame.

[0049] Optionally, a blanking area of the first type of image frame carries coaxial data; the processor is further configured to, after receiving the first type of image frame, use a data acquisition method for the blanking area to acquire coaxial data from the blanking area.

[0050] Optionally, the coaxial data is acquired before acquiring the target data; the processor is further configured to, when determining that the coaxial data includes a coaxial data identifier indicating that the data in the valid image area of the image frame is the target data, use a data acquisition method for the valid image area to acquire the target data from the valid image area.

[0051] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the data transmission method provided by the embodiment of the present application is implemented. The data transmission method includes:

[0052] Acquire target data to be transmitted; wherein, the target data is data different from image data and coaxial data, and the coaxial data is notification information exchanged between a data receiving end and a data sending end;

[0053] Through the same transmission channel used when transmitting image data, use the target data as the data carried in the valid image area of a first type of image frame, and use a data sending method for the valid image area to send the target data; wherein, the first type of image frame and a second type of image frame carrying image data and not carrying target data are different types of image frames.

[0054] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the data transmission method provided by the embodiment of the present application is implemented. The data transmission method includes:

[0055] Receive a first type of image frame with a valid image area carrying target data through the same transmission channel used when transmitting image data; wherein, the target data is data different from image data and coaxial data, the coaxial data is notification information exchanged between a data receiving end and a data sending end, and the first type of image frame and a second type of image frame carrying image data and not carrying target data are different types of image frames;

[0056] A data acquisition method for an effective image area is adopted to acquire target data from the effective image area.

[0057] The data transmission method, camera, and electronic device provided in the embodiments of the present application can obtain target data to be sent, and use the same transmission channel used when transmitting image data to use the target data as the data carried by the effective image area of the first image frame, and use the data transmission method of the effective image area to send the target data. The type of the first image frame is different from the type of the second image frame that carries image data but does not carry target data. Therefore, the solution provided in the embodiments of the present application can achieve the goal of sending the target data to the electronic device through the same transmission channel used when transmitting image data, without the need for additional wiring, thereby saving equipment costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] To more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be derived from these drawings without inventive effort.

[0059] Figure 1 is a structural diagram of an image frame;

[0060] Figure 2 A flowchart of a data transmission method provided in an embodiment of the present application;

[0061] Figures 3a to 3d Schematic diagrams of several arrangements of two image frames provided in the embodiments of the present application;

[0062] Figure 3e A schematic diagram of a transmission framework for two image frames provided in an embodiment of the present application;

[0063] Figure 3f A schematic diagram of a method for sending image data and target data;

[0064] Figure 4 A flowchart of another data transmission method provided in an embodiment of the present application;

[0065] Figure 5 A schematic structural diagram of a camera provided in an embodiment of the present application;

[0066] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0067] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.

[0068] In the related art, images and coaxial data can only be transmitted between devices through transmission media such as coaxial cables or twisted pairs. If data other than images and coaxial data needs to be transmitted, additional wiring is required.

[0069] To avoid additional wiring and achieve the transmission of target data, the embodiments of the present application provide a data transmission method, a camera, and an electronic device. The present application will be described in detail below through specific embodiments.

[0070] Figure 2 It is a schematic flowchart of a data transmission method provided by an embodiment of the present application. This embodiment is applied to a data sending end, which can be a camera, a computer, a smart phone, or other devices with data processing capabilities. The method includes the following steps S201 to step S203:

[0071] Step S201: Obtain the target data to be sent.

[0072] Among them, the target data is data different from image data and coaxial data. Image data can be understood as the image data in the data stream sent from the data sending end to the data receiving end. The data sending end can obtain the image data to be sent and send the image data to the data receiving end. For example, the data sending end can be an image acquisition device, and the image acquisition device can acquire image data and send the acquired image data to the data receiving end.

[0073] The coaxial data is the notification information exchanged between the data receiving end and the data sending end. This coaxial data can also be referred to as PTZ data. When the data sending end and the data receiving end are respectively the video generating end and the video receiving end, the coaxial data exchanged between the video generating end and the video receiving end can include the coaxial sending data sent by the video generating end to the video receiving end, or can also include the coaxial receiving data sent by the video receiving end to the video generating end. For example, when the video generating end is a camera and the video receiving end is a Digital Video Recorder (DVR), the coaxial data can include the shooting mode information sent by the camera to the DVR, the information ready for upgrade, etc., and can also include the handshake data between the camera and the DVR, which can be used to send data representing device type, image resolution, etc.; the coaxial data can also include the control information sent by the DVR to the camera, and this control information can include control instructions for the camera, such as image parameter adjustment instructions, camera aperture adjustment instructions, camera rotation adjustment instructions, resolution switching instructions, remote upgrade data instructions, etc. The coaxial data can also include information such as the position of the image data in the image frame and the position of the target data in the image frame.

[0074] The image frame may or may not include coaxial data.

[0075] In this step, the target data may include at least one of the following data:

[0076] Mode 1, target data representing the environmental information of the environment where the image acquisition device for the image data is located.

[0077] For example, in this embodiment, the target data may be temperature information, humidity information, air pressure information, noise information, negative ion concentration, etc. Correspondingly, one or more of the sensors such as a temperature sensor, a humidity sensor, an air pressure sensor, a noise sensor, and a negative ion sensor may be integrated inside the image acquisition device; the image acquisition device may also not integrate the above sensors but be installed at the same position as the above sensors.

[0078] When the data sending end as the execution subject is not the image acquisition device, the data sending end can obtain the target data collected by the sensors inside the image acquisition device, or the data sending end can directly obtain the target data sent by the sensors.

[0079] When the data sending end as the execution subject is the image acquisition device, the image acquisition device can directly obtain the target data sent by the sensors.

[0080] Mode 2, target data representing the audio information collected by the image acquisition device for the image data.

[0081] Among them, the audio information collected by the image acquisition device can be the audio information collected within a preset time period. The preset time period can be a continuous time period or multiple discontinuous time periods. The preset time period can include the moment of obtaining the target data or not. The duration of the preset time period can be fixed or variable.

[0082] Method 3 represents the target data of the image information representing the image data.

[0083] Among them, the image information can be obtained from one image data or information obtained from multiple image data. The image information can include sub-image data that conforms to the preset image characteristics obtained from the image data, or information used to describe the sub-image data. For example, the sub-image data can be used to represent a moving object in the image data, or represent an occluded object in the image data, or an abnormal situation in the image data (such as overexposure, blurring, or color distortion of the image), or represent a special scene in the image data (such as an object crossing a predetermined boundary, etc.). Among them, the object can include a human body, a vehicle, an animal, a building, etc. The information used to describe the sub-image data can be the number of images corresponding to the sub-image data, the image position corresponding to the sub-image data, etc., or the image coding format, video coding format, private information, etc. The image coding format can include jpg, bmp, etc., and the video coding format can include H264, H265, etc. Private information can be understood as any information that is not publicly disclosed, such as information on the usage rights of the image acquisition device.

[0084] In this embodiment, the target data type can be an image type, a video type, or other types.

[0085] Step S202: Through the same transmission channel used when transmitting the image data, carry the target data as the data in the valid image area of the first type of image frame, and use the data sending method of the valid image area to send the target data.

[0086] Among them, the transmission channel can be a coaxial cable, a twisted pair, or other transmission materials, and the present application does not make specific limitations on this. The same transmission channel can be understood as the same wire. The first type of image frame and the second type of image frame that carry image data and do not carry target data are different types of image frames. The valid image area can also be called the data area.

[0087] In this embodiment, the first type of image frame and the second type of image frame can be alternately sent between the data sending end and the data receiving end. The valid image area of the first type of image frame is used to send the target data, and the valid image area of the second type of image frame is used to send the image data. In this way, the transmission of image data and target data can be realized through the same transmission channel.

[0088] When transmitting image data between a data sending end and a data receiving end, a coaxial cable or a twisted pair cable can be used. In order to send target data and avoid additional wiring at the same time, it can be transmitted through the same transmission channel used when transmitting image data.

[0089] The data sending method can include an analog signal sending form and a digital signal sending form. The data sending method of the effective image area can be an analog signal sending form or a digital signal sending form. That is to say, the data in the effective image area can be sent as an analog signal or a digital signal.

[0090] As can be seen from the above, in this embodiment, the target data to be sent can be obtained, and through the same transmission channel used when transmitting image data, the target data is used as the data carried in the effective image area of the first type of image frame, and the data sending method of the effective image area is adopted to send the target data. Among them, the type of the first type of image frame is different from the type of the second type of image frame that carries image data and does not carry target data. Therefore, the solution provided in this embodiment can realize sending the target data to the electronic device through the same transmission channel used when transmitting image data without additional wiring, thereby saving equipment costs.

[0091] In this embodiment, the blanking area of the first type of image frame can also be used to transmit target data. For example, when the amount of target data is very large and the effective image area of the first type of image frame cannot send all the target data, the remaining target data can be sent through some positions in the blanking area. These positions can be the positions in the blanking area other than the positions used to send coaxial data. The target data in the blanking area can be sent as a digital signal or an analog signal, and the sending form of the target data in the blanking area can be the same as that of the target data in the effective image area.

[0092] The first type of image frame and the second type of image frame can be sent at intervals according to a preset rule, or can be sent randomly. See the following embodiments for details.

[0093] In another embodiment of the present application, in Figure 2 In the shown embodiment, before sending the target data, the method may further include:

[0094] When it is determined that a preset number of the second type of image frames have been continuously sent, step S202 is executed to send the target data.

[0095] In this embodiment, the above steps may include: determining whether a preset number of second image frames have been continuously sent; when it is determined that a preset number of second image frames have been continuously sent, using the same transmission channel as that used for transmitting image data, carrying the target data as the data in the valid image area of the first image frame, and sending the target data by adopting the data sending method of the valid image area data.

[0096] In this embodiment, the number of the first image frames for sending the target data may be preset or determined according to the data volume of the target data. The number of the first image frames for sending the target data may be one or multiple.

[0097] When the sending of the target data is completed, a preset number of second image frames may also be continuously sent.

[0098] In this embodiment, for every N second image frames carrying image data sent, M first image frames carrying target data may be sent, and then N second image frames carrying image data may be sent, and so on in repetition. Among them, the value of N may be fixed or unfixed, and the value of M may be fixed or unfixed.

[0099] In the first case, N is a fixed value and M is an unfixed value. Specifically, M may be: the number obtained by dividing the data volume of the target data by the data volume of the valid image area of a single first image frame. For example, it is known that the valid image area of a single first image frame can send 2000 rows of data, and each row can transmit 100 kB of data, then the valid image area of a single first image frame can approximately transmit 0.2 MB of data. When the data volume of the target data is 2 MB, then M first image frames are required to transmit these target data, and M = 2 MB / 0.2 MB = 10. Therefore, 10 first image frames are required to transmit these target data.

[0100] As an example, Figure 3a FIG. is a schematic diagram of an arrangement when the first image frame and the second image frame are sent. Among them, the hollow rectangle represents the second image frame, and the solid rectangle represents the first image frame. The value of N is a fixed 5 frames, and the value of M is unfixed and may be values such as 2, 1, 4, 1, 3, etc.

[0101] In the second case, N is a fixed value and M is a fixed value. In this implementation manner, the image data and the target data are sent at fixed intervals. The first image frames and the second image frames sent in this way are evenly arranged, and when the image data is received at the data receiving end, the smoothness during image preview can be ensured.

[0102] As an example, Figure 3bAnother schematic diagram of the arrangement of the first type of image frame and the second type of image frame during transmission. Among them, the hollow rectangle represents the second type of image frame, and the solid rectangle represents the first type of image frame. The value of N is fixed at 5 frames, and the value of M is fixed at 2 frames.

[0103] In the third case, both the number N of the first type of image frame and the number M of the second type of image frame can be random, that is, N is not a fixed value, and M is also not a fixed value. In this case, the moment of obtaining the target data can be not fixed, and the amount of target data obtained each time can also be not fixed. The arrangement of the two types of image frames can be chaotic.

[0104] As an example, Figure 3c Another schematic diagram of the arrangement of the first type of image frame and the second type of image frame during transmission. Among them, the hollow rectangle represents the second type of image frame, and the solid rectangle represents the first type of image frame. It can be seen that the Figure 3c values of N and M in it are both random.

[0105] In the fourth case, N is not a fixed value, and M is a fixed value. In this case, the moment of obtaining the target data can be not fixed, but the amount of target data obtained each time can be fixed.

[0106] As an example, Figure 3d Another schematic diagram of the arrangement of the first type of image frame and the second type of image frame during transmission. Among them, the hollow rectangle represents the second type of image frame, and the solid rectangle represents the first type of image frame. It can be seen that the Figure 3c value of N in it is not fixed, and the value of M is fixed at 2.

[0107] When the value of N and / or M is not fixed, the first type of image frame can be identified by adding coaxial data to the image frame, so that the data receiving end can determine the first type of image frame from the received image frames. Specifically, the coaxial data can include data indicating that the data in the effective image area of the image frame is the target data, and according to this data, it can be determined that the image frame is the first type of image frame.

[0108] In another embodiment of the present application, in Figure 2 the embodiment shown, before step S202, that is, before sending the target data, the method may further include:

[0109] When it is determined that the amount of target data to be sent reaches the preset data volume threshold, execute the step of sending the target data by using the same transmission channel as that used for transmitting image data, carrying the target data as the data in the effective image area of the first type of image frame, and adopting the data sending method of the effective image area.

[0110] The above steps may include: determining whether the data volume of the target data to be sent reaches a preset quantity threshold, and when it is determined that the data volume of the target data to be sent reaches the preset data volume threshold, step S202 is executed.

[0111] Among them, the preset data volume threshold may be a preset value. For example, it may be the maximum data volume that can be stored in the valid image area of a single image frame, or it may be a times the maximum data volume, where a is a positive integer. Alternatively, the preset data volume threshold may also be any other value.

[0112] When the preset data volume threshold is the maximum data volume, the target data can be sent using one first type of image frame each time. When the preset data volume threshold is a times the maximum data volume, a first type of image frames can be sent continuously each time. If the value of a is greater than a specified value, in order to ensure the smoothness of the image at the data receiving end, the second type of image frame cannot be absent for a long time. In this case, the first type of image frame can be sent intermittently with the second type of image frame.

[0113] The position of the target data in the valid image area can be fixed or unfixed. When the position of the target data in the valid image area is unfixed, the position of the target data can be determined by the head identifier carrying the starting position of the target data and the tail identifier indicating the ending position of the target data in the target data. Among them, the head identifier can be a first preset bit string, and the tail identifier can be a second preset bit string. The first preset number of bits at the front of the target data can be the first preset bit string, and the second preset number of bits at the back of the target data can be the second preset bit string.

[0114] In another embodiment of the present application, in Figure 2 the embodiment shown, before step S202, that is, before sending the target data, the method may further include: obtaining the coaxial data to be sent, using the coaxial data as the data carried in the blanking area of the first type of image frame where the target data is located, and sending the coaxial data using the data sending method of the blanking area.

[0115] As an example, Figure 3e FIG. is a transmission architecture diagram for a data sender to send two types of image frames to a data receiver. Among them, the first type of image frame includes target data and coaxial data, and the second type of image frame includes image data and coaxial data. Among them, the coaxial data is optional, and these two types of image frames may also not include coaxial data.

[0116] It can be seen that this embodiment can send both the coaxial data and the target data to the data receiving end through the first type of image frame, which can make the types of transmitted data richer and the data transmission efficiency higher.

[0117] In the above embodiments, the coaxial data may further include: a coaxial data identifier indicating that the data in the valid image area of the image frame is the target data. In this way, the data receiving end can determine that the data in the valid image area of the image frame is the target data according to the coaxial data identifier in the coaxial data. In another embodiment, the coaxial data may also include an identifier indicating that the data in the valid image area of the image frame is not the target data. When the data in the valid image area is not the target data, the data in the valid image area may be image data, other data, or no data, etc. For example, when the data at a specified position in the coaxial data is 1, it indicates that the data in the valid image area of the image frame is the target data, and when the data at the specified position is 0, it indicates that the data in the valid image area of the image frame is not the target data. When the data receiving end receives an image frame, it can obtain the coaxial data from the image frame and determine whether the data in the valid image area of the image frame is the target data according to the data at the specified position in the coaxial data.

[0118] When the first type of image frames and the second type of image frames are irregularly arranged, that is, when the values of N and / or M are not fixed, in order to be able to determine which image frame carries the target data, it can be judged according to whether the coaxial data contains data indicating that the data in the valid image area of the image frame is the target data. When it is determined that the coaxial data contains data indicating that the data in the valid image area of the image frame is the target data, the image frame is considered to be the first type of image frame; otherwise, the image frame is considered to be the second type of image frame.

[0119] Among them, the coaxial data identifier indicating that the data in the valid image area of the image frame is the target data can be implemented by a specified identifier or by other means, and the present application does not make specific limitations thereon.

[0120] In the above embodiments, the coaxial data may further include data indicating the position of the target data in the valid image area. The target data may fill the valid image area or may not fill the valid image area. When the target data fills the valid image area, the data indicating the position of the target data in the valid image area in the coaxial data may be the position of the valid image area. When the target data does not fill the valid image area, the data indicating the position of the target data in the valid image area in the coaxial data may be the actual position of the target data. The data receiving end can determine the position of the target data in the valid image area according to the data in the coaxial data, so as to obtain the target data more accurately.

[0121] It can be seen that in this embodiment, the coaxial data may include a coaxial data identifier indicating that the data in the valid image area of the image frame is the target data. Determining whether the image frame belongs to the first type of image frame or the second type of image frame according to the coaxial data identifier can enable the data receiving end to obtain the target data more accurately.

[0122] The following further elaborates on the present application with specific examples.

[0123] The data sending end is a camera, and the data receiving end is a Digital Video Recorder (DVR). The camera can acquire three types of data: image data, target data, and coaxial data. These three types of acquired data can all be stored in the buffer in the form of digital signals, and when the sending cycle of the image frame arrives, the corresponding data is acquired from the buffer. When it is necessary to send image data, the image data in the form of digital signals is read from the buffer, and the image data is converted into the form of analog signals and sent to the DVR using the second type of image frame. When it is necessary to send target data, the target data in the form of digital signals is read from the buffer, and the target data is sent to the DVR using the complete first type of image frame that has not stored image data. The above-mentioned image data and target data are both data in the valid image area of the image frame.

[0124] Both the first type of image frame and the second type of image frame can include coaxial data. The coaxial data exists in a fixed number of lines in the blanking area of the image frame in the form of digital signals. The coaxial data can include data indicating that the data in the valid image area of the image frame is target data. In this way, after the DVR receives the image frame, it can determine that the data in the valid image area of the image frame is target data through the coaxial data.

[0125] In this embodiment, in order to be able to transmit target data using a complete image frame, the transmission parameters can be increased to ensure the transmission of image data and target data. For example, the original transmission parameter is 2MP25, and this parameter can be understood as 25 frames of 2 million pixel images are transmitted per second. The original transmission parameter of 2MP25 can achieve the transmission of image data. In order to transmit target data, 2MP25 can be increased to 2MP30. In this way, for every 30 image frames carrying image data transmitted, there will be 5 image frames that do not need to store image data. These idle image frames can be used to send target data.

[0126] As an example, Figure 3f a way of sending image frames carrying image data and target data respectively is given.

[0127] Next, the application scenario of the present application will be described in detail in combination with specific examples.

[0128] A certain company installed an intelligent camera with a face detection function at the entrance of the gate. This intelligent camera can monitor the people passing by the gate currently and cut out this person from the monitoring image to make a jpg format picture.

[0129] The specific process is as follows. The intelligent module built into the camera will perform intelligent processing on the images captured by the camera. When the intelligent module detects a human face in the scene image that appears currently, it will generate the number of current human faces and the positions of the human faces in the image. Further, the intelligent module of the camera can crop the image according to this position information, so that each human face generates an independent jpg picture. The camera takes the detected number of human faces, the positions of the human faces, and the jpg pictures as the data of the valid image area of the specified image frame, and adds the following description in the coaxial data: the current camera is an intelligent camera with the function of capturing human faces, the current data contains human face detection data, and the data of the valid image area of the current image frame is the target data. After receiving the image frame signal, the DVR parses the coaxial data. If it determines that the current image frame carries the target data, it will find the target data from the valid image area, and after reading the target data, it will store these human face images for subsequent customers to search for human face data and determine whether there are suspicious persons, etc.

[0130] Figure 4 FIG. 4 is a schematic flowchart of another data transmission method provided by an embodiment of the present application. This method is applied to a data receiving end, and the data receiving end can be a computer, a smart phone, or other electronic devices with data processing capabilities. This method includes the following steps S401 and S402:

[0131] Step S401: Receive a first type of image frame in which the valid image area carries target data through the same transmission channel used when transmitting image data.

[0132] Among them, the target data is data different from image data and coaxial data. The coaxial data is notification information exchanged between the data receiving end and the data sending end. The first type of image frame and a second type of image frame that carries image data and does not carry target data are different types of image frames.

[0133] This coaxial data can also be called PTZ data. When the data sending end and the data receiving end are respectively a video generating end and a video receiving end, the coaxial data exchanged between the video generating end and the video receiving end can include coaxial sending data sent by the video generating end to the video receiving end, and can also include coaxial receiving data sent by the video receiving end to the video generating end. The coaxial data can also include information such as the position of the image data in the image frame and the position of the target data in the image frame.

[0134] The image frame may or may not include coaxial data.

[0135] When receiving the image frame, the data receiving end can determine the first type of image frame from the received image frames according to the agreed image frame arrangement rule.

[0136] Step S402: Use the data acquisition method for the valid image area to obtain target data from the valid image area.

[0137] In this step, the data receiver can read the target data from the valid image area according to the agreed position of the target data.

[0138] In this embodiment, the data sender and the data receiver can alternately send the first type of image frame and the second type of image frame. The valid image area of the first type of image frame is used to send target data, and the valid image area of the second type of image frame is used to send image data. In this way, the transmission of image data and target data can be achieved through the same transmission channel.

[0139] When transmitting image data between the data sender and the data receiver, coaxial cables or twisted pairs can be used. To send the target data and avoid additional wiring at the same time, it can be transmitted through the same transmission channel used when transmitting image data.

[0140] The data acquisition method can include analog signal acquisition form and digital signal acquisition form. The data acquisition method for the valid image area can be analog signal acquisition form or digital signal acquisition form. That is to say, the data in the valid image area can be analog signal or digital signal.

[0141] It can be seen that in this embodiment, the first type of image frame carrying target data in the valid image area can be received through the same transmission channel used when transmitting image data, and the target data can be obtained from the first type of image frame, so that the reception of the target data can be realized without additional wiring, thus saving costs.

[0142] The first type of image frame and the second type of image frame can be sent at intervals according to a preset rule, or can be sent randomly. Therefore, when receiving the image frame, the data receiver can determine the received image frame according to different rules. See the following embodiments for details.

[0143] In another embodiment of the present application, Figure 4 In the embodiment shown, step S401, the step of receiving the first type of image frame carrying target data in the valid image area, may include:

[0144] When it is determined that a preset number of the second type of image frames have been continuously received, receive the image frame and use the received image frame as the first type of image frame carrying target data in the valid image area.

[0145] In this embodiment, the above steps may include: determining whether a preset number of the second type of image frames have been continuously received, and when it is determined that a preset number of the second type of image frames have been continuously received, receive the image frame and use the received image frame as the first type of image frame carrying target data in the valid image area.

[0146] In this embodiment, the number of the first type of image frames for transmitting target data may or may not be preset. The number of the first type of image frames for transmitting target data may be one or multiple.

[0147] After receiving the first type of image frames, a preset number of the second type of image frames may be continuously received.

[0148] In this embodiment, for every N second type of image frames carrying image data received, M first type of image frames carrying target data may be received, and then N second type of image frames carrying image data may be received, and so on. Herein, the value of N may or may not be fixed, and the value of M may or may not be fixed.

[0149] In the first case, N is a fixed value and M is an unfixed value. In the second case, N is a fixed value and M is a fixed value. In the third case, N is an unfixed value and M is also an unfixed value. In the fourth case, N is an unfixed value and M is a fixed value. For the first case, the third case, and the fourth case, the data receiving end may determine that the image frame is the first type of image frame according to the coaxial data carried in the image frame. The position of the coaxial data in the blanking area is fixed. The coaxial data may include data indicating that the data in the effective image area of the image frame is target data, and the data receiving end may determine that the image frame is the first type of image frame according to this data. In this way, the data receiving end can more accurately determine the first type of image frame and obtain the target data. For the second case, the data receiving end may determine the first type of image frame from the received image frames according to the agreed image frame arrangement rule. In this implementation manner, the image frame may or may not carry coaxial data. Since in this implementation manner, the arrangement of the first type of image frames and the second type of image frames is regular, the data receiving end can more smoothly display the image data after receiving the image frames.

[0150] In another embodiment of the present application, Figure 4 In the shown embodiment, the blanking area of the first type of image frames may carry coaxial data; after receiving the first type of image frames, the method may further include:

[0151] Adopting the data acquisition method for the blanking area, the coaxial data is acquired from the blanking area.

[0152] In this embodiment, the data acquisition method for the blanking area may be in the form of digital signal acquisition, and the coaxial data may be acquired from the blanking area through the form of digital signal acquisition. The coaxial data may be stored in several fixed rows of the blanking area. When acquiring the coaxial data, it may be acquired from the agreed position.

[0153] It can be seen that in this embodiment, coaxial data can be obtained from the blanking area of the first type of image frame, and target data and coaxial data can be obtained simultaneously through the first type of image frame, so that the types of obtained data are richer and the data transmission efficiency is higher.

[0154] In another embodiment of the present application, Figure 4 In the shown embodiment, the coaxial data can be obtained before obtaining the target data; before step S402, before obtaining the target data from the valid image area, the method further includes:

[0155] When it is determined that the coaxial data includes a coaxial data identifier indicating that the data in the valid image area of the image frame is the target data, execute the step of obtaining the target data from the valid image area.

[0156] This step may include: determining whether the coaxial data includes a coaxial data identifier indicating that the data in the valid image area of the image frame is the target data. If it includes, execute the step of obtaining the target data from the valid image area; if it does not include, it may not be processed.

[0157] When it is determined that the coaxial data does not include a coaxial data identifier indicating that the data in the valid image area of the image frame is the target data, it is considered that there is no target data in the valid image area of this image frame, and at this time, there is no need to obtain the target data from the valid image area.

[0158] When the first type of image frames are irregularly arranged, that is, when the values of N and / or M are not fixed, in order to be able to determine which image frame carries the target data, it can be judged according to whether the coaxial data contains data indicating that the data in the valid image area of the image frame is the target data. When it is determined that the data indicating that the data in the valid image area of the image frame is the target data is included, the image frame is considered to be the first type of image frame; otherwise, the image frame is considered to be the second type of image frame.

[0159] Among them, the coaxial data identifier indicating that the data in the valid image area of the image frame is the target data can be implemented by a specified identifier or by other means. The present application does not make specific limitations on this. The coaxial data may also include an identifier indicating that the data in the valid image area of the image frame is not the target data. Specifically, the data at the specified position of the coaxial data can be used to indicate whether the data in the valid image area is the target data. When the data receiving end receives an image frame, it can obtain the coaxial data from this image frame and determine whether the data in the valid image area of the image frame is the target data according to the data at the specified position of the coaxial data.

[0160] In the above embodiments, the coaxial data may further include data indicating the position of the target data in the valid image area. The target data may fill the valid image area or may not fill the valid image area. When the target data fills the valid image area, the data in the coaxial data indicating the position of the target data in the valid image area may be the position of the valid image area. When the target data does not fill the valid image area, the data in the coaxial data indicating the position of the target data in the valid image area may be the actual position of the target data. The data receiving end may determine the position of the target data in the valid image area according to the data in the coaxial data, so as to obtain the target data more accurately.

[0161] In another embodiment, the target data may include sub-data of multiple different theme contents. The positions of the respective sub-data in the first image frame may be continuous or discontinuous. The coaxial data may include at least one of the following data: data indicating the theme content of each sub-data, the number of each sub-data, and the position of each sub-data. For example, if the target data includes face image sub-data and vehicle image sub-data, the coaxial data may include: the first sub-data is face image data, the second sub-data is vehicle image data, the number of face images, the number of vehicle images, the position of the face images, the position of the vehicle images, etc.

[0162] It can be seen that in this embodiment, the target data can be obtained from the valid image area according to the coaxial data identifier, which enables the data receiving end to obtain the target data more accurately.

[0163] Figure 5 FIG. is a schematic structural diagram of a camera provided by an embodiment of the present application. This embodiment corresponds to Figure 2 the method embodiment shown. The camera includes: a processor 501, a communication interface 502, a memory 503, and a communication bus 504. Among them, the processor 501, the communication interface 502, and the memory 503 complete communication with each other through the communication bus 504;

[0164] The processor 501 is configured to obtain the target data to be sent, and through the same transmission channel used when transmitting image data, carry the target data as the data in the valid image area of the first image frame, and send the target data by using the data sending method of the valid image area; wherein, the target data is data different from the image data and the coaxial data, the coaxial data is notification information exchanged between the data receiving end and the data sending end, and the first image frame and the second image frame carrying image data and not carrying the target data are different types of image frames;

[0165] The memory 503 is configured to store the target data obtained by the processor 501. The memory may specifically be a cache.

[0166] In another embodiment of the present application,Figure 5 In the illustrated embodiment, the processor 501 may further be configured to, before sending the target data, when it is determined that a preset number of second image frames have been continuously sent, carry the target data as the data in the valid image area of the first image frame through the same transmission channel used when transmitting image data, and send the target data in the data sending manner of the valid image area.

[0167] In another embodiment of the present application, Figure 5 In the illustrated embodiment, the processor 501 may further be configured to continuously send a preset number of second image frames when the sending of the target data is completed.

[0168] In another embodiment of the present application, Figure 5 In the illustrated embodiment, the processor 501 may further be configured to, before sending the target data, when it is determined that the data volume of the target data to be sent reaches a preset data volume threshold, carry the target data as the data in the valid image area of the first image frame through the same transmission channel used when transmitting image data, and send the target data in the data sending manner of the valid image area.

[0169] In another embodiment of the present application, Figure 5 In the illustrated embodiment, the processor 501 may further be configured to, before sending the target data, obtain the coaxial data to be sent; carry the coaxial data as the data in the blanking area of the first image frame where the target data is located, and send the coaxial data in the data sending manner of the blanking area.

[0170] In another embodiment of the present application, Figure 5 In the illustrated embodiment, the coaxial data may further include: a coaxial data identifier indicating that the data in the valid image area of the image frame is the target data.

[0171] In another embodiment of the present application, Figure 5 In the illustrated embodiment, the target data may specifically include: target data representing the environmental information of the environment where the image acquisition device for the image data is located; and / or, target data representing the audio information collected by the image acquisition device for the image data; and / or, target data representing the image information of the image data.

[0172] Since the above camera embodiment is obtained based on the method embodiment and has the same technical effect as the method, the technical effect of the camera embodiment will not be described in detail here. For the camera embodiment, since it is basically similar to the method embodiment, it is described relatively simply. For related parts, refer to Figure 2 the partial description of the illustrated method embodiment.

[0173] Figure 6A schematic structural diagram of an electronic device provided by an embodiment of the present application. This embodiment corresponds to Figure 4 the method embodiment shown. The electronic device includes: a processor 601, a communication interface 602, a memory 603, and a communication bus 604. Among them, the processor 601, the communication interface 602, and the memory 603 complete mutual communication through the communication bus 604;

[0174] The processor 601 is configured to receive a first type of image frame in which the valid image area carries target data through the same transmission channel used when transmitting image data, and obtain the target data from the valid image area by using the data acquisition method of the valid image area; wherein, the target data is data different from image data and coaxial data, and the coaxial data is notification information exchanged between a data receiving end and a data sending end, and the first type of image frame and a second type of image frame carrying image data and not carrying target data are different types of image frames;

[0175] The memory 603 is configured to store the target data obtained by the processor 601.

[0176] In this embodiment, the electronic device may be a DVR device. Specifically, the DVR device may include: an analog-to-digital (AD) conversion module, a main chip, a display, an interface, and a hard disk. The main chip may include a digital signal processor (DSP) encoding module, a DSP decoding module, and a CPU. The hard disk may be a ROM memory. The electronic device may perform network live broadcast on the image data in the received image frame.

[0177] In another embodiment of the present application, Figure 6 in the embodiment shown, the processor 601 is specifically configured to, when it is determined that a preset number of second type of image frames have been continuously received, receive an image frame and use the received image frame as a first type of image frame in which the valid image area carries target data.

[0178] In another embodiment of the present application, Figure 6 in the embodiment shown, the processor 601 may further be configured to continuously receive a preset number of second type of image frames after receiving the first type of image frame.

[0179] In another embodiment of the present application, Figure 6 in the embodiment shown, the blanking area of the first type of image frame carries coaxial data; the processor 601 is further configured to, after receiving the first type of image frame, obtain the coaxial data from the blanking area by using the data acquisition method of the blanking area.

[0180] In another embodiment of the present application, Figure 6In the illustrated embodiment, the coaxial data is acquired before acquiring the target data; the processor 601 may further be configured to, before acquiring the target data from the valid image area, when it is determined that the coaxial data includes data indicating that the data in the valid image area of the image frame is the target data, adopt the data acquisition method for the valid image area to acquire the target data from the valid image area.

[0181] Since the above electronic device embodiment is obtained based on the method embodiment and has the same technical effect as the method, the technical effect of the electronic device embodiment will not be elaborated herein. For the electronic device embodiment, since it is basically similar to the method embodiment, it is described relatively simply. For the relevant parts, refer to Figure 4 the partial description of the illustrated method embodiment.

[0182] In the above camera embodiment and electronic device embodiment, the communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, only a thick line is shown in the figure, but it does not mean that there is only one bus or one type of bus.

[0183] The communication interface is used for communication between the above device and other devices.

[0184] The memory may include a Random Access Memory (RAM), and may also include a Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.

[0185] The above processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a DSP, an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0186] An embodiment of the present application also provides a computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, it implements a data transmission method provided by an embodiment of the present application. The data transmission method includes:

[0187] Obtain target data to be sent; wherein, the target data is data different from image data and coaxial data, and the coaxial data is notification information exchanged between a data receiving end and a data sending end;

[0188] Through the same transmission channel used when transmitting image data, carry the target data as the data in the valid image area of the first type of image frame, and use the data sending method of the valid image area to send the target data; wherein, the first type of image frame and the second type of image frame that carries image data and does not carry the target data are different types of image frames.

[0189] It can be seen that this embodiment can obtain the target data to be sent, and through the same transmission channel used when transmitting image data, carry the target data as the data in the valid image area of the first type of image frame, and use the data sending method of the valid image area to send the target data. Among them, the type of the first type of image frame is different from the type of the second type of image frame that carries image data and does not carry the target data. Therefore, the solution provided by this embodiment can realize sending the target data to an electronic device through the same transmission channel used when transmitting image data, without additional wiring, thereby saving equipment costs.

[0190] An embodiment of the present application also provides a computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, it implements another data transmission method provided by an embodiment of the present application. The data transmission method includes:

[0191] It can be seen that this embodiment can receive the first type of image frame carrying the target data in the valid image area through the same transmission channel used when transmitting image data, and obtain the target data from the first type of image frame, which can realize the reception of the target data without additional wiring, thereby saving costs

[0192] It should be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the said element.

[0193] Each embodiment in this specification is described in a related manner. For the same or similar parts among the embodiments, reference can be made to each other, and the differences between each embodiment and other embodiments are emphasized.

[0194] The above description is only for the preferred embodiments of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims

1. A data transmission method, characterized in that, The method includes: Obtaining target data to be sent; wherein, the target data is data different from image data and coaxial data, and the coaxial data is notification information interacted between a data receiving end and a data sending end; Using the same transmission channel as that used for transmitting image data, carrying the target data as data in the valid image area of a first type of image frame, and sending the target data by adopting a data sending mode of the valid image area data; wherein, the first type of image frame and a second type of image frame carrying image data and not carrying the target data are different types of image frames; alternately sending the first type of image frame and the second type of image frame.

2. The method according to claim 1, wherein The method further includes: When it is determined that a preset number of the second type of image frames have been continuously sent, performing the step of sending the target data.

3. The method according to claim 1, characterized in that When the sending of the target data is completed, the method further includes: continuously sending a preset number of the second type of image frames.

4. The method according to claim 1, wherein The method further includes: When it is determined that the data volume of the target data to be sent reaches a preset data volume threshold, performing the step of sending the target data.

5. The method according to claim 1, characterized in that, The method further includes: Obtaining coaxial data to be sent; Carrying the coaxial data as data in the blanking area of the first type of image frame where the target data is located, and sending the coaxial data by adopting a data sending mode of the blanking area data.

6. The method according to claim 5, characterized in that The coaxial data further includes: A coaxial data identifier of the data in the valid image area of the image frame is the target data.

7. The method according to claim 1, wherein: The first type of image frame and the second type of image frame are sent at intervals according to a preset rule; or, the first type of image frame and the second type of image frame are sent randomly.

8. The method according to claim 1, wherein: For every N second type of image frames carrying image data sent, M first type of image frames carrying target data are sent, and then N second type of image frames carrying image data are sent.

9. The method according to claim 8, wherein: N is a fixed value and M is a non-fixed value; or, N is a fixed value and M is a fixed value; or, N is a non-fixed value and M is a non-fixed value; or, N is a non-fixed value and M is a fixed value.

10. The method according to claim 1, wherein: The data volume of the target data obtained each time to be sent is fixed.

11. The method according to any one of claims 1 to 10, characterized in that, The target data includes: Target data representing environmental information of the environment where the image acquisition device for image data is located; and / or, Target data representing audio information collected by the image acquisition device for image data; and / or, Target data representing image information of the image data.

12. A data transmission method, characterized in that, The method includes: Receive a first type of image frame in which the valid image area carries target data through the same transmission channel used when transmitting image data; wherein the target data is data different from image data and coaxial data, and the coaxial data is notification information exchanged between a data receiving end and a data sending end. The first type of image frame and a second type of image frame that carries image data and does not carry target data are different types of image frames, and the first type of image frame and the second type of image frame are alternately sent. Adopt a data acquisition method for the valid image area to acquire target data from the valid image area.

13. The method according to claim 12, wherein The step of receiving the first type of image frame in which the valid image area carries target data includes: When it is determined that a preset number of the second type of image frames have been continuously received, receive an image frame and use the received image frame as the first type of image frame in which the valid image area carries target data.

14. The method according to claim 12, wherein After receiving the first type of image frame, the method further includes: Continuously receive a preset number of the second type of image frames.

15. The method according to claim 12, wherein The blanking area of the first type of image frame carries coaxial data; after receiving the first type of image frame, the method further includes: Adopt a data acquisition method for the blanking area to acquire coaxial data from the blanking area.

16. The method according to claim 15, wherein The coaxial data is acquired before acquiring the target data; before acquiring the target data from the valid image area, the method further includes: When it is determined that the coaxial data includes a coaxial data identifier indicating that the data in the valid image area of the image frame is target data, perform the step of acquiring the target data from the valid image area.

17. The method according to any one of claims 12 to 16, characterized in that, The target data includes: Target data representing environmental information of the environment where the image acquisition device for image data is located; and / or, Target data representing audio information acquired by the image acquisition device for image data; and / or, Target data representing image information of the image data.

18. A camera, characterized in that, Includes: A processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete mutual communication through the communication bus. The processor is used to acquire target data to be sent, and through the same transmission channel used when transmitting image data, use the target data as the data carried in the valid image area of the first type of image frame, and adopt a data sending method for the valid image area to send the target data; wherein the target data is data different from image data and coaxial data, and the coaxial data is notification information exchanged between a data receiving end and a data sending end. The first type of image frame and a second type of image frame that carries image data and does not carry target data are different types of image frames; alternately send the first type of image frame and the second type of image frame. The memory is used to store the target data acquired by the processor.

19. The camera according to claim 18, characterized in that, The processor is further used to, when it is determined that a preset number of the second type of image frames have been continuously sent, through the same transmission channel used when transmitting image data, use the target data as the data carried in the valid image area of the first type of image frame, and adopt a data sending method for the valid image area to send the target data.

20. The camera according to claim 18, characterized in that, The processor is further configured to continuously send a preset number of the second type of image frames when the transmission of the target data is completed.

21. The camera according to claim 18, characterized in that, The processor is further configured to, when determining that the data volume of the target data to be sent reaches a preset data volume threshold, use the same transmission channel as that used when transmitting image data, carry the target data as the data in the valid image area of the first type of image frame, and send the target data in the data sending manner of the valid image area.

22. The camera according to claim 18, characterized in that, The processor is further configured to obtain coaxial data to be sent; carry the coaxial data as the data in the blanking area of the first type of image frame where the target data is located, and send the coaxial data in the data sending manner of the blanking area.

23. The camera according to claim 22, characterized in that, The coaxial data further includes: a coaxial data identifier whose data in the valid image area of the image frame is the target data.

24. The camera according to claim 18, wherein: The first type of image frame and the second type of image frame are sent at intervals according to a preset rule; or, the first type of image frame and the second type of image frame are sent randomly.

25. The camera according to claim 18, wherein: For every N second type of image frames carrying image data sent, M first type of image frames carrying target data are sent, and then N second type of image frames carrying image data are sent.

26. The camera according to claim 25, wherein: N is a fixed value, and M is a non-fixed value; or, N is a fixed value, and M is a fixed value; or, N is a non-fixed value, and M is a non-fixed value; or, N is a non-fixed value, and M is a fixed value.

27. The camera according to claim 18, wherein: The data volume of the target data to be sent obtained each time is fixed.

28. The camera according to any one of claims 18 to 27, characterized in that, The target data includes: target data representing environmental information of the environment where the image acquisition device for image data is located; and / or, target data representing audio information collected by the image acquisition device for image data; and / or, target data representing image information of the image data.

29. An electronic device, characterized in that, Comprising: A processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus; The processor is configured to receive the first type of image frame with the target data carried in the valid image area through the same transmission channel as that used when transmitting image data, and obtain the target data from the valid image area by using the data acquisition method of the valid image area; wherein, the target data is data different from image data and coaxial data, the coaxial data is notification information interacted between the data receiving end and the data sending end, the first type of image frame and the second type of image frame carrying image data and not carrying the target data are different types of image frames; the first type of image frame and the second type of image frame are sent alternately; The memory is configured to store the target data obtained by the processor.

30. The electronic device according to claim 29, wherein, The processor is specifically configured to, when determining that a preset number of the second type of image frames have been continuously received, receive an image frame, and use the received image frame as the first type of image frame with the target data carried in the valid image area.

31. The electronic device according to claim 29, wherein, The processor is further configured to continuously receive a preset number of the second type of image frames after receiving the first type of image frame.

32. The electronic device according to claim 29, wherein, The blanking area of the first type of image frame carries coaxial data; the processor is further configured to obtain the coaxial data from the blanking area by using a data obtaining method for the blanking area after receiving the first type of image frame.

33. The electronic device according to claim 32, wherein The coaxial data is obtained before obtaining the target data; the processor is further configured to, when determining that the coaxial data includes a coaxial data identifier indicating that the data in the valid image area of the image frame is the target data, obtain the target data from the valid image area by using a data obtaining method for the valid image area.

34. The electronic device according to any one of claims 29 to 33, characterized in that, The target data includes: Target data representing environmental information of the environment where the image acquisition device for image data is located; and / or, Target data representing audio information collected by the image acquisition device for image data; and / or, Target data representing the image information of the image data.

35. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the method steps described in any one of claims 1-11 are implemented.

36. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the method steps described in any one of claims 12-17 are implemented.

Citation Information

Patent Citations

  • Video identification and analytical recognition system

    US20150341599A1

  • Method and Apparatus for Improving Transmission of Transport Video Signal

    US20170280087A1