CN113364974A - Camera and camera hot-plug power supply control method - Google Patents

Camera and camera hot-plug power supply control method Download PDF

Info

Publication number
CN113364974A
CN113364974A CN202110484291.6A CN202110484291A CN113364974A CN 113364974 A CN113364974 A CN 113364974A CN 202110484291 A CN202110484291 A CN 202110484291A CN 113364974 A CN113364974 A CN 113364974A
Authority
CN
China
Prior art keywords
camera
power supply
information
supply control
control instruction
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
CN202110484291.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 Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202110484291.6A priority Critical patent/CN113364974A/en
Publication of CN113364974A publication Critical patent/CN113364974A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/65Control of camera operation in relation to power supply
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J1/00Circuit arrangements for dc mains or dc distribution networks
    • H02J1/001Hot plugging or unplugging of load or power modules to or from power distribution networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Studio Devices (AREA)

Abstract

The camera comprises a camera, a camera main body and a coaxial cable for connecting the camera and the camera main body, wherein the camera main body comprises a controller, a detection unit and a power supply unit, the detection unit is connected to the camera through the coaxial cable and is used for detecting plugging information of the camera and sending the plugging information to the controller; the controller is respectively connected with the detection unit and the power supply unit and used for receiving the plugging information, generating a power supply control instruction according to the plugging information and sending the power supply control instruction to the power supply unit; the plugging information comprises plugging information and unplugging information; the power supply unit is connected with the coaxial cable and used for receiving the power supply control instruction and supplying power to the camera through the coaxial cable according to the power supply control instruction. Through the method and the device, the damage of the camera caused by hot plug is avoided, and the normal work of the camera is ensured.

Description

Camera and camera hot-plug power supply control method
Technical Field
The application relates to the technical field of communication transmission, in particular to a camera and camera hot-plug power supply control method.
Background
Hot plugging, i.e. hot plugging, means that when some functional modules of the device are inserted or pulled out without turning off the system power supply, the transient voltage on the interface is limited within a certain range, so that the device is not damaged or the normal operation of the device system is not affected.
At present, in a video camera for transmitting video signals based on a coaxial cable, the coaxial cable not only transmits high-speed data signals, but also transmits low-speed data signals for protocol interaction between a front end of the video camera and a rear end of the video camera, and a dc power supply for supplying power to the front end of the video camera. When actual assembly, maintenance or contact failure, have under the circumstances that equipment was electrified, carry out the phenomenon of plug operation to the camera, if it does not support the hot plug function, then easily lead to this camera to damage, the unable problem of normally working appears.
Disclosure of Invention
The embodiment of the application provides a camera and a camera hot plug power supply control method, which at least solves the problem that a camera hot plug is easy to damage in the related technology.
In a first aspect, an embodiment of the present application provides a camera, which includes a camera head, a camera main body, and a coaxial cable connecting the camera head and the camera main body, wherein the camera main body includes a controller, a detection unit, and a power supply unit,
the detection unit is connected to the camera through a coaxial cable and used for detecting plugging information of the camera and sending the plugging information to the controller; the plugging information comprises plugging information and unplugging information;
the controller is respectively connected with the detection unit and the power supply unit and used for receiving the plugging information, generating a power supply control instruction according to the plugging information and sending the power supply control instruction to the power supply unit;
the power supply unit is connected with a coaxial cable and used for receiving the power supply control instruction and supplying power to the camera through the coaxial cable according to the power supply control instruction.
In some of these embodiments, the camera comprises:
and the passive unit to be detected is used for responding to the detection signal sent by the detection unit so as to enable the detection unit to acquire the plugging and unplugging information of the camera.
In some embodiments, the detection unit is specifically configured to:
when the insertion information of the camera is not detected, an insertion detection switch is turned on, and the non-insertion information is output to the controller;
and when the insertion information of the camera is detected, outputting the insertion information to the controller.
In some embodiments, the detection unit is further configured to turn off an insertion detection switch after outputting insertion information to the controller when the insertion information of the camera is detected.
In some embodiments, the detection unit is further configured to:
and determining to pull out information according to whether the information interaction can be carried out with the camera.
In some embodiments, the determining to pull out information according to whether information interaction with the camera is possible includes:
the detection unit sends configuration information to the camera, and when the response signal of the camera cannot be received within a preset time period, the detection unit outputs pulling-out information to the controller.
In some embodiments, the determining to pull out information according to whether information interaction with the camera is possible includes:
and when the detection unit cannot receive the video signal sent by the camera within a preset time period, outputting pull-out information to the controller.
In some embodiments, the controller is specifically configured to:
when the insertion information is received, generating a power supply control instruction for turning on a power supply unit switch and sending the power supply control instruction to the power supply unit so that the direct-current power supply supplies power to the camera through the coaxial cable;
and when the pulling-out information is received, generating a power supply control instruction for closing a switch of the power supply unit and sending the power supply control instruction to the power supply unit so as to stop supplying power to the camera.
In some of these embodiments, the power supply unit includes an RC charging circuit that controls the slow turn-on of the power switch.
In a second aspect, an embodiment of the present application provides a camera hot-plug power supply control method, which is applied to the camera described in the first aspect, and includes:
acquiring plugging and unplugging information of a camera; the camera performs signal and power transmission based on a coaxial cable;
generating a power supply control instruction of the camera based on the plugging information;
and sending the power supply control instruction to the power supply unit so that the power supply unit supplies power to the camera through the coaxial cable according to the power supply control instruction.
Compared with the related technology of realizing hot plugging by using a USB interface, the camera and the camera hot plugging power supply control method provided by the embodiment of the application detect the plugging information of the camera through the detection unit and send the plugging information to the controller through the coaxial cable, so that the hardware cost and the size are not increased, and the layout is convenient. In addition, through the plug information generation power supply control instruction on according to the camera, will power supply control instruction sends to power supply unit, makes power supply unit basis power supply control instruction passes through coaxial cable to the camera power supply has realized in time detecting the plug condition and has supplied power to the camera, has avoided damaging because of the camera that the hot plug leads to, reduces the impact to the main part of making a video recording, guarantees the normal work of camera.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a hardware system block diagram of a camera apparatus for video transmission based on a coaxial cable in the related art;
FIG. 2 is a schematic diagram of a hardware configuration of a camera according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a camera hot-plug power supply control method according to an embodiment of the present application;
fig. 4 is a block diagram of a camera hot-plug power supply control device in an embodiment of the present application.
Description of the drawings: 301. a plug information acquisition module; 302. an instruction generation module; 303. a power supply module; 11. an image video generation unit; 12. a serializer unit; 13/4, coaxial cable; 14. a deserializer unit; 15. an image processing unit; 2. a camera; 21. a passive unit to be detected; 3. a camera body; 31. a controller; 32. a detection unit; 33. a power supply unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
At present, as shown in fig. 1, a block diagram of a hardware system of a camera device that performs video transmission based on a coaxial cable is shown, where an image video generation unit 11 finishes photoelectric conversion after acquiring an image, transmits formed image data to a serializer unit 12 through a high-speed serial interface, the serializer unit 12 converts received serial data into high-speed parallel data, then transmits the data to a deserializer unit 14 through a coaxial cable 13, the deserializer unit 14 finishes parallel-serial conversion, and finally an image processing unit 15 receives the image data through the serial interface, performs further algorithm processing, and performs image restoration. The camera is widely applied to video conferences, telemedicine, real-time monitoring and the like as a video input device. In an actual assembly or working state, the phenomenon of plugging and unplugging operation of the camera under the condition that the equipment is powered on exists, and the normal work of the camera is influenced.
Fig. 2 is a schematic diagram of a hardware structure of a video camera according to an embodiment of the present application. As shown in fig. 2, the present embodiment provides a camera, which includes a camera head 2, a camera body 3, and a coaxial cable 4 connecting the camera head 2 and the camera body 3, where the camera body 3 includes a controller 31, a detection unit 32, and a power supply unit 33, and the following describes each component of the camera in detail with reference to fig. 2:
the camera 2 includes a passive unit to be detected 21, which is configured to respond to a detection signal sent by the detection unit 32, so that the detection unit 32 obtains plug information of the camera 2. The detection unit 32 is connected to the camera 2 through a coaxial cable 4, and is configured to acquire plugging information of the camera 2 and send the plugging information to the controller 31. The plugging information comprises plugging information and unplugging information. Alternatively, the detection unit 32 may be a deserializer, and the insertion operation acting on the camera 2 may be determined by acquiring a state change of an enable terminal of the deserializer; and determining to pull out the information according to whether the information interaction with the camera 2 can be carried out. Of course, the plugging information of the camera 2 may also be detected by other prior art, and the present application is not limited specifically.
The coaxial cable 4 integrates video transmission and power transmission, can transmit high-speed data signals, can also transmit low-speed data signals of protocol interaction between the camera 2 and the camera main body 3 and a direct-current power supply for supplying power to the camera 2, and has a transmission distance of several hundred meters without extra power line wiring cost.
The controller 31 is connected to the detection unit 32 and the power supply unit 33, and configured to receive the plugging information, generate a power supply control instruction according to the plugging information, and send the power supply control instruction to the power supply unit 33. The controller 31 judges the plugging operation of the camera 2 according to the received plugging information, and triggers and generates a power supply control instruction to carry out power supply control on the camera 2 when the plugging information is received, so that the real-time response to the plugging action of the camera 2 can be realized, and the problem of equipment failure or data damage caused by hot plugging of the camera is avoided.
The power supply unit 33 is connected to the coaxial cable 4, and configured to receive the power supply control instruction and supply power to the camera 2 through the coaxial cable 4 according to the power supply control instruction. Specifically, when receiving the insertion information, the controller 31 generates a power supply control instruction for turning on a switch of the power supply unit 33, and sends the power supply control instruction to the power supply unit 33 through the GPIO2, so that the dc power supply supplies power to the camera 2 through the coaxial cable 4, and the normal operation of the camera is ensured. When receiving the information of pulling out, controller 31 generates the power supply control instruction of closing power supply unit 33 switch, and will power supply control instruction pass through GPIO2 and send to power supply unit 33, in order to stop to camera 2 power supply prevents to have big inrush current after camera 2 reinserts, causes the damage to the camera, then gets into the plug information detection of next round.
To sum up, this application embodiment provides the camera, detects the plug information of camera through detecting element to send to the controller through coaxial cable, do not increase hardware cost and volume, conveniently carry out the overall arrangement. In addition, through the plug information generation power supply control command on according to the camera, will power supply control command sends to power supply unit, makes power supply unit basis power supply control command passes through coaxial cable to the camera power supply has realized in time detecting the plug condition and has supplied power to the camera, has avoided damaging or data losing because of the camera that the hot plug leads to, reduces the impact to the main part of making a video recording, guarantees the normal work of camera to reliability, quick maintainability, the redundancy of camera and the timely resilience to the unexpected condition have been improved.
Those skilled in the art will appreciate that the camera configuration shown in fig. 2 does not constitute a limitation of the camera and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 2, on the basis of the above embodiments, in one embodiment, the detecting unit 32 detects the plugging information of the camera 2 by acquiring the state change of the enabling terminal. Specifically, after the camera is powered on, the image pickup main body 3 configures a register of an enable terminal of the detection unit 32 through the GPIO0, and outputs a high potential or a low potential to a corresponding pin through the configured register, thereby detecting the insertion state of the camera 2. When the insertion information of the camera 2 is not detected, the internal insertion detection switch of the detection unit 32 is turned on, and a high-level signal is output to the controller 31 through the GPIO1 of the enable terminal, and then the camera 2 is determined to be in an unplugged state; when the insertion information of the camera 2 is detected, the GPIO1 at the enable terminal outputs a low level signal to the controller 31, and then the enable terminal pin of the detection unit 32 changes state, and the controller 31 detects the edge change of the GPIO1, that is, receives an interrupt signal, and determines that the camera 2 is in the insertion state.
On the basis of the above embodiments, in one of the embodiments, the power supply unit 33 includes an RC charging circuit for controlling the power supply switch to be turned on slowly.
In some embodiments, the power supply unit 33 includes an RC charging circuit for controlling the power supply switch to be turned on slowly, and the MOSFET is controlled to be turned on in a soft manner through an analog circuit, so as to achieve the effect of suppressing a fixed single inrush current. Optionally, after receiving a power supply control instruction, the switch of the power supply unit 33 may control the impulse current by using the miller platform of the MOSFET to achieve the purpose of slow start of the power supply, so as to prevent the surge current from instantly flowing into the front end when the camera 2 is plugged, thereby protecting the camera 2. It will be appreciated that in other embodiments, current limiting may be provided by a PTC resistor (positive temperature coefficient thermistor) which changes resistance by virtue of its own current heating, thereby reducing the magnitude of the current.
On the basis of the above embodiment, in one embodiment, the detecting unit 32 is further configured to turn off an insertion detection switch after outputting insertion information to the controller 31 when the insertion information of the camera 2 is detected. In this embodiment, when the enable terminal of the detection unit 32 is enabled, a detection signal may be superimposed on the coaxial cable 4 to affect the transmission quality of the video signal, and therefore, after the insertion information of the camera 2 is detected and the insertion information is output to the controller 31, the controller 31 may turn off the insertion detection switch of the detection unit 32 (such as disabling the enable terminal of the detection unit), so that the detection unit 32 is no longer used to perform insertion detection on the passive unit 21 to be detected of the camera 2, and thus the sensitive video signal is not affected.
On the basis of the above embodiments, in one embodiment, the detection unit 32 may determine to pull out information according to whether information interaction with the camera 2 is possible. The controller 31 and the detection unit 32 perform information interaction through a low-speed data interface, and the controller 31 and the camera 2 perform low-speed signal communication, and the detection unit 32 is required to perform information transparent transmission and perform transmission through the coaxial cable 4. The extraction information detection is carried out by utilizing the own low-speed data interface and the video signal of the camera, so that the circuit cost is not additionally increased, and the design is simplified.
Specifically, the following two ways are adopted to determine the pull-out information according to whether the camera 2 has video data to send out:
in an embodiment, at an initial stage of power-up, after the controller 31 receives the insertion information of the camera 2, the power supply control instruction is generated and sent to the power supply unit 33, so that the dc power supply supplies power to the camera 2 through the coaxial cable 4. At this time, the camera 2 has not transmitted the video data signal, and the controller 31 transmits the configuration information to the camera 2 through the detection unit 32, and determines the pull-out information according to the fact that the camera 2 can be normally configured. When the response signal of the camera 2 is not received within a predetermined period of time, pull-out information is output to the controller 31.
In another embodiment, after the power-on operation is performed for a period of time, the camera 2 can work normally and send image data to the controller 31, and when the controller 31 does not receive a video signal sent by the camera 2 within a predetermined period of time, the controller 31 outputs pull-out information.
It can be understood that when the camera 2 is not pulled out and the operation is abnormal, the camera 2 cannot perform information interaction with the controller 31, such as responding to configuration information or sending video data to the controller 31. At this time, by outputting the pull-out information to the controller 31, the power supply unit 33 stops supplying power to the camera 2, which corresponds to the power-off reset processing of the camera 2, and the camera can be returned to normal operation in some cases.
In some embodiments, the processor 180 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
In some of these embodiments, the camera may further include a memory storing computer instructions, which may include mass storage for data or instructions. By way of example, and not limitation, memory may include a Hard Disk Drive (Hard Disk Drive, abbreviated to HDD), a floppy Disk Drive, a Solid State Drive (SSD), flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. The memory may include removable or non-removable (or fixed) media, where appropriate. The memory may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory is a Non-Volatile (Non-Volatile) memory. In particular embodiments, the Memory includes Read-Only Memory (ROM) and Random Access Memory (RAM). The ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), Electrically rewritable ROM (EAROM), or FLASH Memory (FLASH), or a combination of two or more of these, where appropriate. The RAM may be a Static Random-Access Memory (SRAM) or a Dynamic Random-Access Memory (DRAM), where the DRAM may be a Fast Page Mode Dynamic Random-Access Memory (FPMDRAM), an Extended data output Dynamic Random-Access Memory (EDODRAM), a Synchronous Dynamic Random-Access Memory (SDRAM), and the like.
The memory may be used to store or cache various data files for processing and/or communication use, as well as possibly computer program instructions for execution by the processor.
The processor reads and executes the computer program instructions stored in the memory to implement the camera hot-plug power supply control method described in fig. 3.
In some of these embodiments, the camera may also include a communication interface and a bus. The processor, the memory and the communication interface are connected through a bus and complete mutual communication.
The communication interface is used for realizing communication among modules, devices, units and/or equipment in the embodiment of the application. The communication interface may also be implemented with other components such as: the data communication is carried out among external equipment, image/data acquisition equipment, a database, external storage, an image/data processing workstation and the like.
The bus includes hardware, software, or both that couple the components of the camera to each other. Buses include, but are not limited to, at least one of the following: data Bus (Data Bus), Address Bus (Address Bus), Control Bus (Control Bus), Expansion Bus (Expansion Bus), and Local Bus (Local Bus). By way of example, and not limitation, a Bus may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (FSB), a Hyper Transport (HT) Interconnect, an ISA (ISA) Bus, an InfiniBand (InfiniBand) Interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a microchannel Architecture (MCA) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, abbreviated VLB) bus or other suitable bus or a combination of two or more of these. A bus may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The camera can execute the camera hot plug power supply control method in the embodiment of the present application based on the obtained program instruction, thereby implementing the camera hot plug power supply control method described with reference to fig. 3.
Although not shown, the camera may further include an image sensor, a bluetooth module, etc., which will not be described herein.
The present embodiment further provides a camera hot-plug power supply control method, which is applied to the camera described in the above embodiments, and can be executed by one or more controllers in the camera. Fig. 3 is a flowchart of a camera hot plug power supply control method according to an embodiment of the present application, where as shown in fig. 3, the flowchart includes the following steps:
step S201, acquiring plugging information of a camera; the camera performs signal and power transmission based on a coaxial cable;
step S202, generating a power supply control instruction of the camera based on the plugging information;
step S203, the power supply control instruction is sent to the power supply unit, so that the power supply unit supplies power to the camera through the coaxial cable according to the power supply control instruction.
In this embodiment, the plug information includes insertion information and pull information, and when the plug information is received, the controller generates a power supply control instruction to control power supply of the camera 2, so that real-time response to the plug action of the camera can be realized, and the problem of equipment failure or data damage caused by hot plug of the camera is avoided. Specifically, when receiving the insertion information, the controller 31 generates a power supply control instruction for turning on a switch of the power supply unit 33, and sends the power supply control instruction to the power supply unit 33, so that the dc power supply supplies power to the camera 2 through the coaxial cable 4, and the normal operation of the camera is ensured. When receiving the information of pulling out, controller 31 generates the power supply control command who closes power supply unit 33 switch, and will power supply control command send to power supply unit 33, in order to stop to camera 2 power supply prevents to have big inrush current after camera 2 reinserts, causes the damage to the camera, then gets into next round of plug information detection.
Through the steps, a power supply control instruction is generated according to the plug information on the camera and is sent to the power supply unit, so that the power supply unit can timely detect the plug condition and supply power to the camera according to the power supply control instruction, the power supply control instruction passes through the coaxial cable for supplying power to the camera, the impact on a camera main body is reduced, the problem that equipment faults or data damage the camera due to hot plugging is avoided, and the normal work of the camera is guaranteed.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The present embodiment further provides a camera hot-plug power supply control device, which is used to implement the foregoing embodiments and preferred embodiments, and the descriptions already given are omitted. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a camera hot-plug power supply control device according to an embodiment of the present application, and as shown in fig. 4, the device includes: the device comprises a plugging information acquisition module 301, an instruction generation module 302 and a power supply module 303.
The plug information acquisition module 301 is configured to acquire plug information of a camera; the camera performs signal and power transmission based on a coaxial cable;
the instruction generating module 302 is configured to generate a power supply control instruction of the camera based on the plugging information;
and the power supply module 303 is configured to send the power supply control instruction to the power supply unit, so that the power supply unit supplies power to the camera through the coaxial cable according to the power supply control instruction.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
In addition, by combining the camera hot plug power supply control method in the foregoing embodiment, the embodiment of the present application can be implemented by providing a computer-readable storage medium. The computer readable storage medium having stored thereon computer program instructions; when executed by a processor, the computer program instructions implement any one of the camera hot plug power supply control methods in the above embodiments.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A camera comprises a camera head, a camera body and a coaxial cable connecting the camera head and the camera body, and is characterized in that the camera body comprises a controller, a detection unit and a power supply unit,
the detection unit is connected to the camera through a coaxial cable and used for detecting plugging information of the camera and sending the plugging information to the controller; the plugging information comprises plugging information and unplugging information;
the controller is respectively connected with the detection unit and the power supply unit and used for receiving the plugging information, generating a power supply control instruction according to the plugging information and sending the power supply control instruction to the power supply unit;
the power supply unit is connected with a coaxial cable and used for receiving the power supply control instruction and supplying power to the camera through the coaxial cable according to the power supply control instruction.
2. The camera of claim 1, wherein the camera head comprises:
and the passive unit to be detected is used for responding to the detection signal sent by the detection unit so as to enable the detection unit to acquire the plugging and unplugging information of the camera.
3. The camera according to claim 1, characterized in that the detection unit is specifically configured to:
when the insertion information of the camera is not detected, an insertion detection switch is turned on, and the non-insertion information is output to the controller;
and when the insertion information of the camera is detected, outputting the insertion information to the controller.
4. The camera according to claim 3, wherein the detection unit is further configured to turn off an insertion detection switch after outputting insertion information to the controller when the insertion information of the camera is detected.
5. The camera of claim 1, wherein the detection unit is further configured to:
and determining to pull out information according to whether the information interaction can be carried out with the camera.
6. The camera of claim 5, wherein said determining unplugging information based on whether information interaction with the camera is enabled comprises:
the detection unit sends configuration information to the camera, and when the response signal of the camera cannot be received within a preset time period, the detection unit outputs pulling-out information to the controller.
7. The camera of claim 5, wherein said determining unplugging information based on whether information interaction with the camera is enabled comprises:
and when the detection unit cannot receive the video signal sent by the camera within a preset time period, outputting pull-out information to the controller.
8. The camera according to claim 1, characterized in that the controller is specifically configured to:
when the insertion information is received, generating a power supply control instruction for turning on a power supply unit switch and sending the power supply control instruction to the power supply unit so that the direct-current power supply supplies power to the camera through the coaxial cable;
and when the pulling-out information is received, generating a power supply control instruction for closing a switch of the power supply unit and sending the power supply control instruction to the power supply unit so as to stop supplying power to the camera.
9. The camera of claim 1, wherein the power supply unit comprises an RC charging circuit that controls a slow turn-on of a power supply switch.
10. A camera hot-plug power supply control method applied to the camera according to any one of claims 1 to 9, characterized by comprising:
acquiring plugging and unplugging information of a camera; the camera performs signal and power transmission based on a coaxial cable;
generating a power supply control instruction of the camera based on the plugging information;
and sending the power supply control instruction to the power supply unit so that the power supply unit supplies power to the camera through the coaxial cable according to the power supply control instruction.
CN202110484291.6A 2021-04-30 2021-04-30 Camera and camera hot-plug power supply control method Pending CN113364974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110484291.6A CN113364974A (en) 2021-04-30 2021-04-30 Camera and camera hot-plug power supply control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110484291.6A CN113364974A (en) 2021-04-30 2021-04-30 Camera and camera hot-plug power supply control method

Publications (1)

Publication Number Publication Date
CN113364974A true CN113364974A (en) 2021-09-07

Family

ID=77525821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110484291.6A Pending CN113364974A (en) 2021-04-30 2021-04-30 Camera and camera hot-plug power supply control method

Country Status (1)

Country Link
CN (1) CN113364974A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115878531A (en) * 2022-12-09 2023-03-31 珠海视熙科技有限公司 MiPi interface control method, electronic equipment, camera module, storage medium and video system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010028553A (en) * 2008-07-22 2010-02-04 Canon Inc Communication apparatus
CN106657458A (en) * 2016-10-28 2017-05-10 努比亚技术有限公司 Terminal and hot-plug camera device for terminal
CN108540763A (en) * 2017-03-01 2018-09-14 武汉摩菲智能科技有限公司 Camera system and its mode switching method
CN111741194A (en) * 2020-06-23 2020-10-02 浙江大华技术股份有限公司 Separated camera, power supply control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010028553A (en) * 2008-07-22 2010-02-04 Canon Inc Communication apparatus
CN106657458A (en) * 2016-10-28 2017-05-10 努比亚技术有限公司 Terminal and hot-plug camera device for terminal
CN108540763A (en) * 2017-03-01 2018-09-14 武汉摩菲智能科技有限公司 Camera system and its mode switching method
CN111741194A (en) * 2020-06-23 2020-10-02 浙江大华技术股份有限公司 Separated camera, power supply control method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115878531A (en) * 2022-12-09 2023-03-31 珠海视熙科技有限公司 MiPi interface control method, electronic equipment, camera module, storage medium and video system
CN115878531B (en) * 2022-12-09 2024-03-15 珠海视熙科技有限公司 MiPi interface control method, electronic equipment, camera module, storage medium and video system

Similar Documents

Publication Publication Date Title
TWI421670B (en) Interface unit,interfacing system method and power management controller
US7478286B2 (en) Circuit and method of detecting and resolving stuck I2C buses
US6062480A (en) Hot docking system and methods for detecting and managing hot docking of bus cards
TWI441399B (en) Overvoltage protection circuit, interfacing system for providing overvoltage protection and overvoltage protection method in a data bus interface
EP3093945B1 (en) Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
CN108475245B (en) Plug and play device identification method and electronic device
WO2019113732A1 (en) Electronic device and charging control method
CN104954145B (en) Ethernet power supply method, power supply equipment and Ethernet power supply system
JP6714469B2 (en) Electronic device and control method thereof
JP4988671B2 (en) Serial bus system and hang-up slave reset method
US20200395753A1 (en) Electrostatic discharge (esd) protection circuit with disable feature based on hot-plug condition detection
EP2534496A2 (en) Determination of physical connectivity status of devices based on electrical measurement
CN113364974A (en) Camera and camera hot-plug power supply control method
US20230268919A1 (en) Iic hang link restoration circuit and method based on pca9511 chip
CN201051664Y (en) Power supply device and equipment
CN106160073B (en) A kind of electronic equipment and its control method
CN114071045B (en) Method, apparatus and computer system for determining video display interface coupling
CN114050714B (en) Method, circuit, device and medium for protecting PCIE (peripheral component interface express) card power supply
US9599519B2 (en) Charging a battery based on stored battery characteristics
US9013200B2 (en) Circuitry for hot-swappable circuit boards
CN105633908B (en) Electronic device and power protection method
CN108879589B (en) Overcurrent protection method and device, terminal equipment and storage medium
JP6916629B2 (en) Electronics and control methods
CN217133344U (en) Plug-in interface protection circuit applied to plug-in monitoring equipment
CN211979174U (en) Cable insertion detection circuit

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210907

RJ01 Rejection of invention patent application after publication