CN117692590A - Method, device, equipment and medium for camera self-adapting access hard disk video recorder - Google Patents

Method, device, equipment and medium for camera self-adapting access hard disk video recorder Download PDF

Info

Publication number
CN117692590A
CN117692590A CN202211075006.6A CN202211075006A CN117692590A CN 117692590 A CN117692590 A CN 117692590A CN 202211075006 A CN202211075006 A CN 202211075006A CN 117692590 A CN117692590 A CN 117692590A
Authority
CN
China
Prior art keywords
camera
hard disk
video recorder
disk video
signaling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211075006.6A
Other languages
Chinese (zh)
Inventor
肖旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN202211075006.6A priority Critical patent/CN117692590A/en
Publication of CN117692590A publication Critical patent/CN117692590A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a method, a device, equipment and a medium for adaptively accessing a camera into a hard disk video recorder. The method comprises the following steps: receiving a camera access request of a target channel in a hard disk video recorder, and issuing a standard inquiry signaling to the camera so as to enable the camera to feed back a support standard; receiving a supporting mode feedback signaling of the camera, and determining a target mode of the camera from the supporting modes according to the hardware capability of the hard disk video recorder; and issuing a standard switching signaling to the camera so that the camera is accessed to the hard disk video recorder according to the target standard. The embodiment of the invention solves the problem of how to adaptively select the front-end cameras with different resolution modes to access the back-end hard disk video recorders with different levels, and realizes the optimal display and video recording effect of the camera acquisition video on the hard disk video recorders.

Description

Method, device, equipment and medium for camera self-adapting access hard disk video recorder
Technical Field
The invention relates to the technical field of security monitoring, in particular to a method, a device, equipment and a medium for adaptively accessing a camera into a hard disk video recorder.
Background
Along with the development of security market, the resolution ratio of the front-end camera is numerous, and the rear-end hard disk video recorder also has the phenomenon of various styles, so that users cannot achieve the best access display and video effect for the selection pairing of the camera and the hard disk video recorder.
At present, if the standard level of the camera is higher than that of the hard disk video recorder, the hard disk video recorder cannot display the picture of the camera, and a user/agent needs to adjust the standard of the camera through an analog front-end serial port tool or access the hard disk video recorder with higher standard to adjust the standard, so that the process is complex and complicated. If the camera is adjusted to reduce the standard and then is connected to the high-end hard disk video recorder, the user cannot obtain the best display and video effect.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for adaptively accessing a camera into a hard disk video recorder, which solve the problem of how to adaptively select the front-end camera with different resolution modes to access the back-end hard disk video recorder with different levels, and realize the optimal display and video recording effect of acquiring video from the camera on the hard disk video recorder.
According to an aspect of the present invention, there is provided a method for adaptively accessing a camera to a hard disk video recorder, including:
receiving a camera access request of a target channel in a hard disk video recorder, and issuing a standard inquiry signaling to the camera so as to enable the camera to feed back a support standard;
receiving a supporting mode feedback signaling of the camera, and determining a target mode of the camera from the supporting modes according to the hardware capability of the hard disk video recorder;
and issuing a standard switching signaling to the camera so that the camera is accessed to the hard disk video recorder according to the target standard.
According to another aspect of the present invention, there is provided an apparatus for adaptively accessing a camera to a hard disk video recorder, comprising:
the system query module is used for receiving a camera access request of a target channel in the hard disk video recorder and issuing a system query signaling to the camera so as to enable the camera to feed back a support system
The system determining module is used for receiving the supporting system feedback signaling of the camera and determining a target system of the camera from the supporting system according to the hardware capacity of the hard disk video recorder;
and the system switching module is used for issuing a system switching signaling to the camera so that the camera can be accessed to the hard disk video recorder according to the target system.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method for adaptively accessing a hard disk recorder for a camera according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a method for adaptively accessing a camera according to any embodiment of the present invention to a hard disk video recorder.
According to the technical scheme, all support modes are actively reported by the camera through signaling interaction between the hard disk video recorder and the camera, so that the hard disk video recorder can select the matched optimal mode from the support modes, the problem of how to adaptively select the optimal resolution mode by the front-end camera with different resolution modes to access the back-end hard disk video recorder with different grades is solved, and the optimal display and video recording effect of video collected by the camera on the hard disk video recorder is realized.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for adaptively accessing a camera to a hard disk recorder according to a first embodiment of the present invention;
FIG. 2 is a pre-defined coaxial signaling diagram;
FIG. 3 is a flowchart of a method for adaptively accessing a camera to a hard disk recorder according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of a device for adaptively accessing a camera to a hard disk video recorder according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device implementing a method for adaptively accessing a camera to a hard disk video recorder according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "candidate," "target," and the like in the description and claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for adaptively accessing a camera to a hard disk recorder according to an embodiment of the present invention, where the method may be performed by a device for adaptively accessing a camera to a hard disk recorder, the device for adaptively accessing a camera to a hard disk recorder may be implemented in hardware and/or software, and the device for adaptively accessing a camera to a hard disk recorder may be configured in a hard disk recorder. As shown in fig. 1, the method includes:
s110, receiving a camera access request of a target channel in the hard disk video recorder, and issuing a format query signaling to the camera so that the camera feeds back a support format.
The hard disk video recorder (Digital Video Recorder, abbreviated as DVR) refers to a device that performs access preview display and video storage on image information collected by an accessed front-end camera at a back end. Hard disk video recorders are generally multi-channel, i.e. support multiple cameras accessing through different channels to display image information acquired by multiple cameras in the hard disk video recorder. The target channel is any channel in the hard disk video recorder, for example, a main stream 8-channel DVR device on the market indicates that 8 channels are provided for 8-channel cameras to access simultaneously. The standard refers to resolution information of an image acquired by a camera, for example, the camera with the standard of 5m@20 indicates that an acquired single frame image is an image with a resolution of 500 ten thousand pixels, for example, 2592×1944, and the frame rate is 20, that is, the number of image frames in a unit time of second is 20. The image system supported by one camera is usually multiple, and the support system is all image resolution information supported by the camera, for example, the support system of the camera under the TVI comprises 5M@20, 5M@12, 4M@30, 4M@15, 2M@30 and 720P@30. The TVI is a specified high-definition video transmission specification of the camera, and similarly, the high-definition video transmission specification further includes AHD and CVI, and support formats of one camera under different high-definition video transmission specifications are different.
Specifically, after any channel in the hard disk video recorder receives an access request of the camera, that is, after the camera is on line, the hard disk video recorder issues a format query signaling to the camera, and the camera feeds back all supported formats supported by the camera to the hard disk video recorder after receiving the format query signaling.
For example, after the 8 paths of 5m@20 cameras are connected into the 8 paths of DVR equipment, after the cameras are on line, the DVR respectively issues a system query signaling to each path of camera to query all support systems of each channel camera, for example, each channel camera is of the same model, and the support systems under TVI are returned to include 5m@20, 5m@12, 4m@30, 4m@15, 2m@30 and 720p@30. Alternatively, each channel camera may be of a different model, and the support format of the feedback of each channel camera to the DVR device may be different.
S120, receiving a supporting mode feedback signaling of the camera, and determining a target mode of the camera from the supporting modes according to the hardware capability of the hard disk video recorder.
The hardware capability of the hard disk video recorder refers to the highest-level image information supported by the hard disk video recorder for display, and is limited by the hardware configuration of the hard disk video recorder. If the image information transmitted by the accessed camera exceeds the hardware capability of the hard disk video recorder, the image can not be displayed; conversely, if the image information transmitted by the accessed camera is far lower than the hardware capability of the hard disk video recorder, the user cannot experience the optimal display and video effect. Therefore, it is required to select the best matching system of the camera according to the hardware capability of the hard disk video recorder, so that the transmitted image information is the best display and video effect that the user can experience on the basis of realizing the graphic display.
Specifically, the hard disk video recorder receives the support system fed back by the camera accessed by each channel, and selects the most matched system from the support systems as a target system according to the hardware capacity of the camera, and the camera adopts the target system to transmit the image information, so that the image display on the hard disk video recorder can be realized, the transmitted image information is ensured to be the highest supported resolution level, and the display effect of the image is ensured.
In a possible embodiment, determining the target standard of the camera from the support standards according to the hardware capability of the hard disk video recorder includes:
determining the image access capability and the image coding capability of the hard disk video recorder;
determining an optimal support system of the hard disk video recorder according to the image access capability and the image coding capability;
and determining a target standard of the camera from the support standard according to the optimal support standard.
The hardware capability of the hard disk video recorder comprises an image access capability and an image coding capability, wherein the image access capability ensures the preview display effect of the image on the hard disk video recorder, and the image coding capability ensures the video storage effect of the image on the hard disk video recorder. The image access capability refers to the total image information supported by the hdd, for example, the image access capability is 2×2×1920×1080×30, which means that the resolution of the image uploaded by all channels of the hdd cannot exceed 2×2×1920×1080×30, otherwise, the image cannot be displayed normally in preview; the image coding capability refers to the total image information supported by the hdd for coding and saving, for example, the image coding capability is 2×1920×1080×30, which means that the resolution of the image that the hdd performs coding and saving simultaneously cannot exceed 2×2×1920×1080×30, otherwise, the image cannot be normally recorded and saved.
The optimal support system is the highest-level resolution information supported by each channel of the hard disk video recorder, and if the image information transmitted by each channel of the camera exceeds the optimal support system, the images cannot be displayed normally and stored in the video. Specifically, based on the number of channels of the hard disk video recorder, the optimal support system of the hard disk video recorder is determined according to the image access capability and the image coding capability. For example, based on the above example, the optimal support system of the 8-channel DVR device is 2×2×1920×1080×30 divided by 8, i.e. 5m@12. If the support system of the access camera exceeds 5M@12, for example, 5M@20, the display on the hard disk video recorder fails. After the optimal support system is determined, the best matched target system is required to be selected from the support systems of the cameras of all channels.
In a possible embodiment, determining the image access capability and the image encoding capability of the hard disk video recorder includes:
and determining the image access capability and the image coding capability according to the number of the hardware interfaces configured on the chip hardware platform in the hard disk video recorder and a hardware interface data transmission protocol.
Because the hard disk video recorder and the camera adopt hardware interfaces to transmit images, and because different hardware interface data transmission protocols prescribe the sizes of the transmitted images, the number of hardware interfaces and the hardware interface data transmission protocols configured on a chip hardware platform in the hard disk video recorder limit the image access capability and the image coding capability of the hard disk video recorder.
For example, the 8-channel DVR device uses a SSR920G platform as a chip hardware platform, the number of hardware interfaces is 2, and the adopted hardware interface data transmission protocol is BT656 access, so that the corresponding total image access capability is 2 x 1920 x 1080 x 30, the image coding capability is 2 x 1920 x 1080 x 30, the device supports the maximum access resolution of 5m@12 frames, and the maximum access resolution is encoded as 5mn@6.
In a possible embodiment, determining, according to the optimal support format, a target format of the camera from the support formats includes:
determining whether the optimal support system exists in the support systems;
if yes, determining the optimal support system as a target system;
otherwise, determining that the resolution level of the support system is lower than that of the optimal support system, and the support system closest to the optimal support system is the target system.
Because the support system of the camera may not have the system identical to the optimal support system, the best matching system needs to be selected as the target system on the premise of ensuring the image display and video recording effects. If the support system of the camera has the same system as the optimal support system, the optimal support system is directly used as a target system, namely the camera adopts the resolution corresponding to the optimal support system to transmit the image. If the support system of the camera does not have the same system as the optimal support system, the resolution level of the support system of the camera is required to be lower than that of the optimal support system, so that normal image display can be ensured, and the support system is closest to the optimal support system, so that the image preview display effect and the coding video effect are ensured to be optimal. For example, the optimal support system is 5m@12 frame, and the support system of a certain channel camera comprises 5m@20, 5m@12, 4m@30, 4m@15, 2m@30 and 720p@30, and then the 5m@12 frame is directly determined to be the target system; if the support system of a certain channel camera comprises 5M@20, 4M@30, 4M@15, 2M@30 and 720P@30, determining that the 4M@15 frame is the target system. Optionally, for different types of cameras connected to different channels of the same hard disk video recorder, the target systems determined by the cameras of the channels may also be different, that is, the cameras of different channels in the same hard disk video recorder transmit images in different target systems.
In a possible embodiment, after receiving a camera access request of a target channel in a hard disk video recorder, the method further comprises:
judging whether the current default system of the camera is the same as the optimal support system;
and if the video is the same, the camera collects the video and encodes the video according to the current default system.
After the camera is accessed, the hard disk video recorder sends a current system acquisition signaling to the camera, the camera feeds back a current default system to the hard disk video recorder after receiving the current system acquisition signaling, whether the current default system of the camera is the same as the optimal support system is judged, and if so, the camera directly acquires video and codes video according to the current default system; if the two modes are different, the hard disk video recorder transmits a mode query signaling to the camera so that the camera feeds back a support mode.
S130, issuing a system switching signaling to the camera so that the camera can be accessed to the hard disk video recorder according to the target system.
After determining a target system for a camera, the hard disk video recorder transmits a system switching signaling to the camera, wherein the system switching signaling needs to comprise target system information, and the camera switches the current default system into the target system according to the target system information after receiving the system switching signaling.
In a possible embodiment, after issuing the system switching signaling to the camera, the method further includes:
and receiving a system switching feedback signaling of the camera, and sending a restarting signaling to the camera so that the camera acquires video and coded video according to the target system after restarting according to the restarting signaling.
After the system is switched, the camera needs to be restarted to acquire video and code video by using the switched system, so that after the system is switched, the camera needs to send a system switching feedback signaling to the hard disk video recorder to inform the hard disk video recorder that the target system is switched, the hard disk video recorder sends a restarting signaling to the camera, the camera performs restarting operation after receiving the restarting signaling, and the camera automatically accesses the hard disk video recorder to acquire and code video according to the target system after restarting.
In a possible embodiment, the camera and the hard disk video recorder are connected by a coaxial cable; the camera and the hard disk video recorder interact by adopting a predefined coaxial signaling; the predefined coaxial signaling at least comprises a standard inquiry signaling, a supporting standard feedback signaling, a standard switching feedback signaling and a restarting signaling.
The camera is an analog camera, that is, an analog signal is adopted between the camera and the hard disk video recorder to transmit image information, and a coaxial cable is adopted for transmitting the analog signal, so that an interaction message between the corresponding camera and the hard disk video recorder adopts a predefined coaxial signaling, including but not limited to a standard query signaling, a supporting standard feedback signaling, a standard switching feedback signaling and a restarting signaling. Illustratively, the predefined coaxial signaling is shown in fig. 2, where different fields in the predefined signaling represent different information to distinguish between different types of coaxial signaling.
According to the technical scheme provided by the embodiment of the invention, all the support modes are actively reported by the camera through signaling interaction between the hard disk video recorder and the camera, so that the hard disk video recorder can select the matched optimal mode from the support modes, the problem of how to adaptively select the optimal resolution mode by the front-end camera with different resolution modes to be accessed into the rear-end hard disk video recorder with different grades is solved, and the optimal display and video effect between the hard disk video recorder and the camera matched equipment are realized.
Example two
Fig. 3 is a flowchart of a method for adaptively accessing a camera into a hard disk video recorder according to a second embodiment of the present invention, where the present embodiment is an alternative implementation manner of the foregoing embodiment. As shown in fig. 3, the method includes:
the hard disk video recorder determines the image access capability and the image coding capability according to the number of hardware interfaces configured on the chip hardware platform and a hardware interface data transmission protocol, and determines the optimal support system of the hard disk video recorder according to the image access capability and the image coding capability.
After receiving an access request of the analog camera, the hard disk video recorder transmits a current system acquisition signaling to the analog camera, the camera feeds back a current default system to the hard disk video recorder after receiving the current system acquisition signaling, judges whether the current default system of the camera is the same as an optimal support system, and if so, directly enables the camera to acquire video and code video according to the current default system; if the two modes are different, the hard disk video recorder transmits a mode query signaling to the camera so that the camera feeds back a support mode.
After receiving the format query signaling, the camera sends all supported formats supported by the camera to the hard disk video recorder, and sends a supporting format feedback signaling to the hard disk video recorder, and after receiving the format to be supported, the hard disk video recorder selects a target format from the supported formats according to the determined optimal supporting format.
And transmitting a target system switching signaling to the camera, modifying the system configuration of the camera after the camera receives the switching signaling, and responding to the hard disk video mechanism type switching feedback signaling after switching is completed.
After receiving the system switching feedback signaling of the modified system, the hard disk video recorder sends a re-coaxial signaling to the camera so as to restart the camera, and the camera automatically accesses the picture and codes after restarting.
According to the technical scheme, all support modes are actively reported by the camera through the coaxial signaling interaction between the hard disk video recorder and the camera, so that the hard disk video recorder can select the matched optimal mode from the support modes, the problem of how to adaptively select the optimal resolution mode by the front-end camera with different resolution modes to access the rear-end hard disk video recorder with different grades is solved, and the optimal display and video recording effect of video collected by the camera on the hard disk video recorder is realized.
Example III
Fig. 4 is a schematic structural diagram of a device for adaptively accessing a camera into a hard disk video recorder according to a third embodiment of the present invention. As shown in fig. 4, the apparatus includes:
the system query module 410 is configured to receive a camera access request of a target channel in the hard disk video recorder, and issue a system query signaling to the camera, so that the camera feeds back a support system;
the system determining module 420 is configured to receive a feedback signaling of a supporting system of the camera, and determine a target system of the camera from the supporting system according to the hardware capability of the hard disk video recorder;
and the standard switching module 430 is configured to issue a standard switching signaling to the camera, so that the camera is connected to the hard disk video recorder according to the target standard.
According to the technical scheme, all support modes are actively reported by the camera through signaling interaction between the hard disk video recorder and the camera, so that the hard disk video recorder can select the matched optimal mode from the support modes, the problem of how to adaptively select the optimal resolution mode by the front-end camera with different resolution modes to access the back-end hard disk video recorder with different grades is solved, and the optimal display and video recording effect of video collected by the camera on the hard disk video recorder is realized.
Optionally, the system determining module includes:
a capability determining unit for determining an image access capability and an image encoding capability of the hard disk video recorder;
the optimal support system determining unit is used for determining the optimal support system of the hard disk video recorder according to the image access capability and the image coding capability;
and the target system determining unit is used for determining the target system of the camera from the support systems according to the optimal support system.
Optionally, the capability determining unit is specifically configured to: and determining the image access capability and the image coding capability according to the number of the hardware interfaces configured on the chip hardware platform in the hard disk video recorder and a hardware interface data transmission protocol.
Optionally, the target system determining unit is specifically configured to: determining whether the optimal support system exists in the support systems;
if yes, determining the optimal support system as a target system;
otherwise, determining that the resolution level of the support system is lower than that of the optimal support system, and the support system closest to the optimal support system is the target system.
Optionally, the device further includes a system judging module, configured to judge whether a current default system of the camera is the same as the best support system after receiving a camera access request of a target channel in the hard disk video recorder;
if the video is the same, the camera collects the video and encodes the video according to the current default system
Optionally, the apparatus further includes a restart module, configured to, after issuing a mode switch signaling to the camera, further include:
and receiving a system switching feedback signaling of the camera, and sending a restarting signaling to the camera so that the camera acquires video and coded video according to the target system after restarting according to the restarting signaling.
Optionally, the camera is connected with the hard disk video recorder by adopting a coaxial cable; the camera and the hard disk video recorder interact by adopting a predefined coaxial signaling;
the predefined coaxial signaling at least comprises a standard inquiry signaling, a supporting standard feedback signaling, a standard switching feedback signaling and a restarting signaling.
The camera self-adaptive access hard disk video recorder device provided by the embodiment of the invention can execute the camera self-adaptive access hard disk video recorder method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
The data acquisition, storage, use, processing and the like in the technical scheme meet the relevant regulations of national laws and regulations, and the public sequence is not violated.
Example IV
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 5 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the method camera adapting to a hard disk video recorder.
In some embodiments, the method of camera adaptive access to a hard disk recorder may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method of camera adaptive access to a hard disk recorder described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the method of camera-adaptive access to a hard disk recorder in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for adaptively accessing a camera to a hard disk video recorder, comprising:
receiving a camera access request of a target channel in a hard disk video recorder, and issuing a standard inquiry signaling to the camera so as to enable the camera to feed back a support standard;
receiving a supporting mode feedback signaling of the camera, and determining a target mode of the camera from the supporting modes according to the hardware capability of the hard disk video recorder;
and issuing a standard switching signaling to the camera so that the camera is accessed to the hard disk video recorder according to the target standard.
2. The method of claim 1, wherein determining the target format of the camera from the supported formats based on hardware capabilities of the hard disk recorder comprises:
determining the image access capability and the image coding capability of the hard disk video recorder;
determining an optimal support system of the hard disk video recorder according to the image access capability and the image coding capability;
and determining a target standard of the camera from the support standard according to the optimal support standard.
3. The method of claim 2, wherein determining the image access capability and the image encoding capability of the hard disk recorder comprises:
and determining the image access capability and the image coding capability according to the number of the hardware interfaces configured on the chip hardware platform in the hard disk video recorder and a hardware interface data transmission protocol.
4. The method of claim 2, wherein determining the target format of the camera from the support formats based on the optimal support format comprises:
determining whether the optimal support system exists in the support systems;
if yes, determining the optimal support system as a target system;
otherwise, determining that the resolution level of the support system is lower than that of the optimal support system, and the support system closest to the optimal support system is the target system.
5. The method of claim 2, wherein after receiving a camera access request for a target channel in a hard disk recorder, the method further comprises:
judging whether the current default system of the camera is the same as the optimal support system;
and if the video is the same, the camera collects the video and encodes the video according to the current default system.
6. The method of claim 1, wherein after issuing a mode switch signaling to the camera, the method further comprises:
and receiving a system switching feedback signaling of the camera, and sending a restarting signaling to the camera so that the camera acquires video and coded video according to the target system after restarting according to the restarting signaling.
7. The method of claim 1, wherein the camera and the hard disk recorder are connected using a coaxial cable; the camera and the hard disk video recorder interact by adopting a predefined coaxial signaling;
the predefined coaxial signaling at least comprises a standard inquiry signaling, a supporting standard feedback signaling, a standard switching feedback signaling and a restarting signaling.
8. An apparatus for adaptively accessing a camera to a hard disk video recorder, comprising:
the system query module is used for receiving a camera access request of a target channel in the hard disk video recorder, and issuing a system query signaling to the camera so as to enable the camera to feed back a support system;
the system determining module is used for receiving the supporting system feedback signaling of the camera and determining a target system of the camera from the supporting system according to the hardware capacity of the hard disk video recorder;
and the system switching module is used for issuing a system switching signaling to the camera so that the camera can be accessed to the hard disk video recorder according to the target system.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of camera-adaptive access to a hard disk video recorder of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to execute the method of adaptively accessing a hard disk video recorder with a camera according to any one of claims 1-7.
CN202211075006.6A 2022-09-02 2022-09-02 Method, device, equipment and medium for camera self-adapting access hard disk video recorder Pending CN117692590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211075006.6A CN117692590A (en) 2022-09-02 2022-09-02 Method, device, equipment and medium for camera self-adapting access hard disk video recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211075006.6A CN117692590A (en) 2022-09-02 2022-09-02 Method, device, equipment and medium for camera self-adapting access hard disk video recorder

Publications (1)

Publication Number Publication Date
CN117692590A true CN117692590A (en) 2024-03-12

Family

ID=90135860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211075006.6A Pending CN117692590A (en) 2022-09-02 2022-09-02 Method, device, equipment and medium for camera self-adapting access hard disk video recorder

Country Status (1)

Country Link
CN (1) CN117692590A (en)

Similar Documents

Publication Publication Date Title
CN108810281B (en) Lost frame compensation method, lost frame compensation device, storage medium and terminal
CN102457544B (en) Method and system for acquiring screen image in screen sharing system based on Internet
CN109831506A (en) File uploading method, device, terminal, server and readable storage medium storing program for executing
US20090234919A1 (en) Method of Transmitting Data in a Communication System
US20190268601A1 (en) Efficient streaming video for static video content
CN108235075B (en) Video quality grade matching method, computer readable storage medium and terminal
CN107040498B (en) Same-screen method and terminal
CN113839998B (en) Image data transmission method, apparatus, device, storage medium, and program product
CN114051067A (en) Image acquisition method, apparatus, device, storage medium, and program product
CN117692590A (en) Method, device, equipment and medium for camera self-adapting access hard disk video recorder
CN113726608B (en) Data processing method and device
CN114501084B (en) Play method, device, equipment and medium of player
CN115988269A (en) Video playing method, device, system, electronic equipment and storage medium
CN113190612B (en) Data management method and data management device for man-machine interaction system
CN115878058A (en) Information processing method and device, cloud terminal, cloud server and storage medium
WO2016154816A1 (en) Data processing method and device
CN106851134B (en) Method, device and system for transmitting image data
CN109788233B (en) Video layer updating method, device, equipment and medium
CN113627363B (en) Video file processing method, device, equipment and storage medium
US20240048727A1 (en) Method and system of low latency video coding with interactive applications
WO2024045026A1 (en) Display method, electronic device, display device, screen mirroring device and medium
CN117376607A (en) Video code stream processing method, device, equipment and medium
CN108040261B (en) Network live broadcast management method and device and storage medium
CN115633019A (en) Media playing method and device, electronic equipment and storage medium
WO2021147754A1 (en) 3d image processing method and device, and 3d display terminal

Legal Events

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