Method for switching power supply receiving interface of camera and video system of camera
By setting a mobile terminal inside the power receiving interface of the camera and switching the video system using potential information, the problem of difficulty in switching the video system in the prior art when the device is not running is solved, and fast, accurate and low-cost video system switching is achieved.
Patent Information
- Application Number
- CN202311570488.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2025-05-23
AI Technical Summary
It is difficult for existing cameras to switch video formats when the device is not running, especially after being connected to XVR, the camera's default video format cannot be recognized by XVR, resulting in the inability to display the camera screen normally, causing difficulties in on-site application.
The potential information is obtained by setting at least one movable terminal inside the power receiving interface of the camera, and inserting the depth change of the power receiving interface with the power adapter output port, and determining the target video format to be switched based on the mapping relationship between the pre-established potential information of the movable terminal and the candidate video format.
It realizes fast, accurate and low-cost switching of the camera video system, without the need to add additional hardware peripherals, simplifies the camera tail line design, and avoids reliability issues such as waterproofing and anti-aging.
Smart Images

Figure CN120034730A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cameras, and in particular to a power supply and receiving interface of a camera and a method for switching the video format of the camera. Background Art
[0002] There are usually multiple formats for camera videos. For example, analog camera video formats include CVI, TVI, CVBS, AHD, etc. Switching between formats can be achieved by logging into the operation interface of the device and controlling the corresponding menu when the device is running. However, it is more difficult to switch when the device is not running. After connecting to the XVR (hard disk recorder), the default video format of the camera may not be recognized by the XVR, resulting in the inability to display the camera screen normally, and the inability to operate the switching format, causing difficulties in on-site application.
[0003] In the related art, a hardware dip switch (usually two digits) is added to the tail of the analog camera to switch between the four formats. However, the above solution adds a dip switch to the tail, making the tail more complicated. In the design of the tail and on-site installation, the reliability of the dip switch, such as waterproof and anti-aging, needs to be considered, which will also increase the cost. Summary of the invention
[0004] The invention provides a power supply receiving interface of a camera and a switching method of a camera video format, which can switch the camera video format quickly, accurately and at low cost without adding additional hardware peripherals.
[0005] According to one aspect of the present invention, there is provided a power supply and power receiving interface of a camera, wherein at least one movable end is arranged inside the power supply and power receiving interface; the movable end is mounted on a movable end fixing platform inside the power supply and power receiving interface;
[0006] The power receiving interface also includes a power source inside, and the movable end is not in contact with the power source in an original state.
[0007] According to another aspect of the present invention, a method for switching camera video formats is provided, the method comprising:
[0008] Acquiring electric potential information on at least one movable end; wherein the electric potential information on the at least one movable end is controlled by a change in the depth of the power adapter output port inserted into the power receiving interface;
[0009] Based on a pre-established mapping relationship between the electrical potential information of the movable terminal and the candidate video formats, the target video format to be switched is determined according to the electrical potential information on the at least one movable terminal.
[0010] According to another aspect of the present invention, a device for switching camera video formats is provided, the device comprising:
[0011] An electric potential information acquisition module, used to acquire electric potential information on at least one movable end; wherein the electric potential information on the at least one movable end is controlled by a change in the depth of the power adapter output port inserted into the power receiving interface;
[0012] The target video standard determination module is used to determine the target video standard to be switched according to the potential information on the at least one movable terminal based on the pre-established mapping relationship between the movable terminal potential information and the candidate video standards.
[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the camera video format switching method described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for switching camera video formats described in any embodiment of the present invention when executed.
[0018] The technical solution of the embodiment of the present invention is to set at least one movable terminal inside the power receiving interface of the camera, the movable terminal is installed on the movable terminal fixing platform inside the power receiving interface, the power receiving interface also includes a power source, and the movable terminal is not in contact with the power source in the original state; firstly, the electric potential information on at least one movable terminal is obtained; wherein the electric potential information on at least one movable terminal is controlled by the depth change of the power adapter output port inserted into the power receiving interface, and then based on the pre-established mapping relationship between the movable terminal electric potential information and the candidate video formats, the target video format to be switched is determined according to the electric potential information on at least one movable terminal. This technical solution can switch the video format of the camera quickly, accurately and at low cost without adding additional hardware peripherals.
[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 is a schematic diagram of a power supply interface of a camera provided according to the first embodiment of the present invention;
[0022] Figure 2 is a schematic diagram of an output port of a power adapter provided according to Embodiment 1 of the present invention;
[0023] Figure 3A It is a cross-sectional schematic diagram of a power adapter output port inserted into a power receiving interface according to a first embodiment of the present invention;
[0024] Figure 3B is a cross-sectional schematic diagram of another power adapter output port inserted into a power receiving interface according to Embodiment 1 of the present invention;
[0025] Figure 4 is a schematic diagram of a movable terminal position recovery provided according to Embodiment 1 of the present invention;
[0026] Figure 5 is a flow chart of a method for switching camera video formats provided according to Embodiment 2 of the present invention;
[0027] Figure 6 is a schematic diagram of the structure of a device for switching camera video formats provided according to Embodiment 3 of the present invention;
[0028] Figure 7 The present invention is a schematic diagram of the structure of an electronic device for implementing a method for switching camera video formats according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", "target", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Embodiment 1
[0032] In this embodiment, at least one movable end is arranged inside the power receiving interface of the camera, and the movable end is mounted on a movable end fixing platform inside the power receiving interface; the power receiving interface also includes a power source, and the movable end is not in contact with the power source in the original state.
[0033] In this embodiment, optionally, if at least two movable ends are provided inside the power receiving interface, the lengths of the at least two movable ends are different, so that the at least two movable ends contact the power source at different times during the insertion of the power adapter output port.
[0034] Figure 1 A schematic diagram of a power supply interface of a camera provided in Embodiment 1 of the present invention.
[0035] The camera may be an analog camera or a digital camera. Figure 1 As shown, the tail end of the camera is the power receiving interface of the camera, and the power receiving interface includes nV power inside. Figure 2 A schematic diagram of an output port of a power adapter provided in Embodiment 1 of the present invention.
[0036] Figure 3A A cross-sectional schematic diagram of a power adapter output port inserted into a power receiving interface provided in Embodiment 1 of the present invention. Among them, the camera tail line terminal T1 is the power receiving interface of the camera, the adapter power terminal P1 is the power adapter output port, L1-L4 are 4 movable terminals of different lengths (L1>L2>L3>L4), L1-L4 are installed on the movable terminal fixing platform inside the power receiving interface, and the distance between L1-L4 and the tail end of the power receiving interface is different; the power receiving interface also includes nV power supply, and L1-L4 are not in contact with the power supply in the original state. Figure 3AAs shown, when the power adapter output port P1 is inserted into the power receiving interface T1, L1-L4 contact P1 successively, and P1 pushes L1-L4 in turn to contact the power supply inside T1 at different times.
[0037] Figure 3B A cross-sectional schematic diagram of another power adapter output port inserted into a power receiving interface provided in Embodiment 1 of the present invention. Among them, the camera tail line terminal T1 is the power receiving interface of the camera, the adapter power terminal P1 is the power adapter output port, L1-L4 are 4 movable terminals of different lengths (L1>L2>L3>L4), L1-L4 are installed on the movable terminal fixing platform inside the power receiving interface, and the distance between L1-L4 and the tail end of the power receiving interface is the same; the power receiving interface also includes nV power supply, and L1-L4 are not in contact with the power supply in the original state. Figure 3B As shown, when the power adapter output port P1 is inserted into the power receiving interface T1, L1-L4 contact P1 at the same time, and P1 simultaneously pushes L1-L4 to contact the power supply inside T1 at different times. There are grooves of different depths inside the power supply, and the depth of the grooves corresponding to different movable ends is equal to the length difference between the movable end and the shortest movable end, so that P1 can simultaneously push L1-L4 to contact the power supply inside T1 at different times.
[0038] In this embodiment, optionally, a limiting mechanism is provided inside the power receiving interface of the camera to determine the contact information between the power adapter output port and the movable end based on the contact information between the power adapter output port and the limiting mechanism during the process of inserting the power receiving interface.
[0039] The limiting mechanism may be an elastic device with a convex shape on the inner wall structure of the power receiving interface. Exemplarily, the elastic device may be a rubber or plastic component. In this embodiment, by setting the limiting mechanism as an elastic device with a convex shape, after each movable end contacts the power inside the power receiving interface, a resistance can be set for the output port of the power adapter inserted into the power receiving interface, and at the same time, the output port of the power adapter can overcome the resistance and continue to move forward.
[0040] In this embodiment, Figure 3A As shown, in order to facilitate on-site operation, a limiting mechanism can also be set inside the power receiving interface of the camera. The limiting mechanism can be used to determine the contact information between the power adapter output port P1 and the movable ends L1-L4 according to the contact information between the power adapter output port P1 and the limiting mechanism during the process of inserting the power receiving interface T1, and can use the state of different numbers of movable ends being pushed to facilitate the user's perception.
[0041] The contact information between the power adapter output port and the limit mechanism can be the unique identification information of the limit mechanism, that is, through the contact information between the power adapter output port and the limit mechanism, it can be known which limit mechanism the power adapter output port contacts, thereby making it easy for the user to perceive the states where different numbers of movable ends are pushed. The contact information between the power adapter output port and the movable end can be the unique identification information of the movable end, that is, through the contact information between the power adapter output port and the movable end, it can be known which movable end the power adapter output port contacts.
[0042] Through such an arrangement, the present scheme sets a limit mechanism inside the power receiving interface of the camera, and can quickly and accurately determine the contact information between the output port of the power adapter and the movable end according to the contact information between the output port of the power adapter and the limit mechanism during the process of inserting the output port of the power adapter into the power receiving interface, thereby conveniently playing a prompt role.
[0043] In this embodiment, optionally, the installation position of the limiting mechanism is determined according to the distance between the movable end and the rear end of the power receiving interface of the power source; the installation quantity of the limiting mechanism is determined according to the quantity of the movable ends.
[0044] For example, Figure 3A For example, a limiting mechanism is added inside T1, so that after P1 is pushed into T1 and pushes L1 to contact the power supply inside T1, it stops due to the resistance of the limiting mechanism. At this time, a slightly larger pushing force is required to continue to push P1, and after P1 pushes L2 to contact the power supply inside T1, it stops again due to the resistance of the limiting mechanism. By analogy, only by applying a slightly larger pushing force can P1 overcome the limiting mechanism and continue to move forward. In order to achieve the above functions, three sets of limiting mechanisms need to be set in the spatial position, and the distance between the lower part of the limiting mechanism and the tail end of the power receiving interface is determined according to the distance between the movable end and the tail end of the power receiving interface when the movable end contacts the power supply inside the power receiving interface.
[0045] In this embodiment, optionally, a jacket spring or spring is configured on the movable end, and the other end of the jacket spring or spring is fixed on the movable end fixing platform, which is used to restore the initial position of the movable end after the power adapter output port exits the power receiving interface.
[0046] In this embodiment, if the application scenario that requires changing the video format is only when the camera is installed for the first time, the movable end may not have the position recovery capability. In order to improve the applicability and flexibility of the technical solution to different application scenarios, a jacket spring or a spring sheet may be configured on the movable end, and the other end of the jacket spring or spring sheet may be fixed on the movable end fixing platform, so that the movable end has the position recovery capability, that is, when the power adapter output port is unplugged from the power receiving interface, the movable end can be restored to the initial position to facilitate the next use. Figure 4 FIG. 1 is a schematic diagram of a movable terminal position recovery method provided in Embodiment 1 of the present invention. Figure 4 As shown, a spring is configured on the movable end, and the other end of the spring is fixed on the movable end fixing platform, which can be used to restore the initial position of the movable end after the power adapter output port exits the power receiving interface.
[0047] Through such an arrangement, the present solution configures a jacket spring or spring sheet on the movable end, and fixes the other end of the jacket spring or spring sheet on the movable end fixing platform. It can be used to restore the initial position of the movable end after the power adapter output port exits the power receiving interface, thereby solving the problem of adding a dip switch to the tail line in the prior art, and the dip switch is only used once when the camera is installed and is no longer used subsequently, but the subsequent dip switch needs to be on the tail line all the time, making the tail line complicated. Therefore, the present solution can be applicable to a variety of application scenarios for switching video formats, thereby improving the applicability and flexibility of the present solution.
[0048] Embodiment 2
[0049] Figure 5 This is a flowchart of a method for switching camera video formats provided in the second embodiment of the present invention. This embodiment is applicable to the case of switching camera video formats. The method can be executed by a switching device for camera video formats. The switching device for camera video formats can be implemented in the form of hardware and / or software. The switching device for camera video formats can be configured in an electronic device with data processing capabilities. Figure 5 As shown, the method includes:
[0050] S110, obtaining electric potential information on at least one movable terminal; wherein the electric potential information on at least one movable terminal is controlled by a change in the depth of the power adapter output port inserted into the power receiving interface.
[0051] In this embodiment, first, the potential information on at least one movable terminal is obtained, wherein the potential information may be potential state information (used to characterize a specific value of the potential, such as 0V or nV) or potential change information (used to describe a change in the potential state information, such as from 0V to nV).
[0052] It should be noted that the potential information on the movable end is controlled by the change in the depth of the power adapter output port inserted into the power receiving interface. Figure 3A or Figure 3B For example, when the power adapter output port P1 is inserted into the power receiving interface T1, the insertion depth can be controlled so that part or all of the movable end contacts the nV power supply inside the power receiving interface T1, so that the potential on the movable end contacting the power supply inside the power receiving interface T1 changes from the original 0V to nV.
[0053] In this embodiment, optionally, the electric potential information on the movable end is controlled by the output port of the power adapter being inserted into the power receiving interface and contacting the movable end, thereby pushing the movable end to move and contact the power inside the power receiving interface.
[0054] like Figure 3A As shown in the figure, when P1 is inserted into T1, different insertion depths of P1 will push the movable terminals L1, L2, L3 and L4 installed on the movable terminal fixed platform in sequence. Based on the length relationship of L1-L4, as P1 is inserted, the movable terminal of L1 is pushed first, causing it to contact the nV power supply inside T1, and causing the potential of L1 to change to nV. By analogy, L2, L3 and L4 contact the nV power supply inside T1 in sequence, and causing the potentials of L2, L3 and L4 to change to nV in sequence.
[0055] Specifically, during the entire insertion process, P1 first contacts L1 and pushes L1 to contact the nV power supply inside T1, so that the potential of L1 changes from 0V to nV; then P1 contacts L2 and pushes L2 to contact the nV power supply inside T1, so that the potential of L2 changes from 0V to nV, and the potential of L1 remains at nV during this process; then P1 contacts L3 and pushes L3 to contact the nV power supply inside T1, so that the potential of L3 changes from 0V to nV, and the potentials of L1 and L2 remain at nV during this process; finally, P1 contacts L4 and pushes L4 to contact the nV power supply inside T1, so that the potential of L4 changes from 0V to nV, and the potentials of L1, L2 and L3 remain at nV during this process.
[0056] S120: Based on a pre-established mapping relationship between the electrical potential information of the movable terminal and the candidate video formats, determine a target video format to be switched according to the electrical potential information on at least one movable terminal.
[0057] In this embodiment, after obtaining the electric potential information of at least one movable terminal, the target video format to be switched can be determined according to the electric potential information of at least one movable terminal based on the pre-established mapping relationship between the electric potential information of the movable terminal and the candidate video formats. Figure 3AFor example (the movable end is L1-L4), assuming that the camera is an analog camera, its corresponding candidate video formats are TVI, CVI, CVBS, and AHD. If the potential state information is used as the potential information, the mapping relationship between the movable end potential information and the candidate video formats can be set as shown in Table 1:
[0058] Table 1 Mapping relationship between movable terminal potential information and candidate video formats
[0059]
[0060] In this embodiment, optionally, based on a pre-established mapping relationship between the electrical potential information of the movable terminals and the candidate video formats, the target video format to be switched is determined according to the electrical potential information on at least one movable terminal, including: determining the number of target movable terminals according to the electrical potential information on at least one movable terminal; and determining the target video format to be switched according to the number of target movable terminals based on the mapping relationship.
[0061] The target movable terminal may be a movable terminal whose electric potential state information changes (such as electric potential increases). Figure 3A For example, if the number of target movable terminals is determined to be 1 according to the potential state information on L1-L4, the target video format to be switched can be determined to be TVI based on the mapping relationship in Table 1; if the number of target movable terminals is determined to be 2 according to the potential state information on L1-L4, the target video format to be switched can be determined to be CVI based on the mapping relationship in Table 1; if the number of target movable terminals is determined to be 3 according to the potential state information on L1-L4, the target video format to be switched can be determined to be CVBS based on the mapping relationship in Table 1; if the number of target movable terminals is determined to be 4 according to the potential state information on L1-L4, the target video format to be switched can be determined to be AHD based on the mapping relationship in Table 1.
[0062] Through such a setting, the present solution can quickly and accurately determine the target video format to be switched based on the mapping relationship between the movable terminal potential information and the candidate video formats and according to the number of target movable terminals determined by the potential information on the movable terminal.
[0063] In the present embodiment, optionally, a pre-established mapping relationship between the movable terminal electric potential information and the candidate video formats is a mapping relationship between a movable terminal identifier whose movable terminal electric potential information changes and the candidate video formats; accordingly, based on the pre-established mapping relationship between the movable terminal electric potential information and the candidate video formats, a target video format to be switched is determined according to the electric potential information on at least one movable terminal, including: determining a target movable terminal identifier according to information on changes in electric potential on at least one movable terminal; and determining the target video format to be switched according to the target movable terminal identifier based on the mapping relationship.
[0064] The target movable terminal identifier can be used to uniquely characterize the target movable terminal. Figure 3A or Figure 3B For example, the target mobile terminal identifier may refer to L1, L2, L3 and L4. Figure 3A For example, if the target movable terminal is identified as L1 according to the change information of the electric potential on L1-L4, the target video format to be switched can be determined as TVI based on the mapping relationship in Table 1; if the target movable terminal is identified as L1 and L2 according to the change information of the electric potential on L1-L4, the target video format to be switched can be determined as CVI based on the mapping relationship in Table 1; if the target movable terminal is identified as L1, L2 and L3 according to the change information of the electric potential on L1-L4, the target video format to be switched can be determined as CVBS based on the mapping relationship in Table 1; if the target movable terminal is identified as L1, L2, L3 and L4 according to the change information of the electric potential on L1-L4, the target video format to be switched can be determined as AHD based on the mapping relationship in Table 1.
[0065] Through such a setting, the present solution can quickly and accurately determine the target video format to be switched based on the mapping relationship between the movable terminal potential information and the candidate video formats and according to the target movable terminal identifier determined by the potential change information on the movable terminal.
[0066] The technical solution of the embodiment of the present invention first obtains the electric potential information on at least one movable terminal; wherein the electric potential information on at least one movable terminal is controlled by the change in the depth of the power adapter output port inserted into the power receiving interface; then based on the pre-established mapping relationship between the electric potential information of the movable terminal and the candidate video formats, the target video format to be switched is determined according to the electric potential information on at least one movable terminal. This technical solution can simplify the tail line of the camera that needs to switch the video format, avoid the reliability problems such as waterproofing and anti-aging caused by the complexity of the tail line, and can quickly, accurately and at low cost switch the video format of the camera without adding additional hardware peripherals, while making the tail line of the camera more beautiful.
[0067] Embodiment 3
[0068] Figure 6 This is a schematic diagram of the structure of a camera video format switching device provided in Embodiment 3 of the present invention. The device can execute the camera video format switching method provided in any embodiment of the present invention and has the corresponding functional modules and beneficial effects of the execution method. Figure 6 As shown, the device comprises:
[0069] The electric potential information acquisition module 210 is used to acquire the electric potential information on at least one movable end; wherein the electric potential information on the at least one movable end is controlled by the depth change of the power adapter output port inserted into the power receiving interface;
[0070] The target video standard determination module 220 is used to determine the target video standard to be switched according to the potential information on the at least one movable terminal based on the pre-established mapping relationship between the movable terminal potential information and the candidate video standards.
[0071] Optionally, the electric potential information on the movable end is controlled by the output port of the power adapter being inserted into the power receiving interface and contacting the movable end, thereby pushing the movable end to move and contact the power inside the power receiving interface.
[0072] Optionally, the pre-established mapping relationship between the movable terminal potential information and the candidate video formats is that there is a mapping relationship between the movable terminal identifier whose movable terminal potential information changes and the candidate video formats;
[0073] Accordingly, the target video format determination module 220 is specifically configured to:
[0074] Determine the target movable terminal identifier according to the change information of the electric potential on the at least one movable terminal;
[0075] Based on the mapping relationship, the target video format to be switched is determined according to the target movable terminal identifier.
[0076] A camera video format switching device provided in an embodiment of the present invention can execute a camera video format switching method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method.
[0077] Embodiment 4
[0078] Figure 7A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0079] like Figure 7 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can 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 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0080] A number of 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, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0081] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for switching camera video formats.
[0082] In some embodiments, the method for switching the camera video format may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on 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 for switching the camera video format described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for switching the camera video format in any other appropriate manner (e.g., by means of firmware).
[0083] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0084] Computer programs for implementing the 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, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0085] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0086] To provide interaction with a user, the systems and techniques described herein may 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 the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the 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, voice input, or tactile input).
[0087] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0088] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0089] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0090] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A power supply interface for a camera, It is characterized in that At least one movable end is arranged inside the power supply and power receiving interface; the movable end is mounted on a movable end fixing platform inside the power supply and power receiving interface; The power receiving interface also includes a power source inside, and the movable end is not in contact with the power source in an original state.
2. The power supply receiving interface according to claim 1, It is characterized in that If at least two movable ends are arranged inside the power receiving interface, the lengths of the at least two movable ends are different, so that the at least two movable ends contact the power supply at different times during the insertion of the power adapter output port.
3. The power receiving interface according to claim 1, It is characterized in that A limiting mechanism is provided inside the power receiving interface of the camera, and is used to determine the contact information between the power adapter output port and the movable end according to the contact information between the power adapter output port and the limiting mechanism during the process of inserting the power receiving interface.
4. The power supply receiving interface according to claim 3, It is characterized in that The installation position of the limiting mechanism is determined according to the distance between the movable end and the rear end of the power receiving interface; The number of installed limit mechanisms is determined according to the number of movable ends.
5. The power supply receiving interface according to claim 1, It is characterized in that A jacket spring or spring is disposed on the movable end, and the other end of the jacket spring or spring is fixed on the movable end fixing platform, so as to restore the initial position of the movable end after the power adapter output port exits the power receiving interface.
6. A method for switching camera video formats, It is characterized in that The power supply and power receiving interface of the camera adopts the power supply and power receiving interface of the camera as claimed in any one of claims 1 to 5, and the method comprises: Acquiring electric potential information on at least one movable end; wherein the electric potential information on the at least one movable end is controlled by a change in the depth of the power adapter output port inserted into the power receiving interface; Based on a pre-established mapping relationship between the electrical potential information of the movable terminal and the candidate video formats, the target video format to be switched is determined according to the electrical potential information on the at least one movable terminal.
7. The method according to claim 6, It is characterized in that The electric potential information on the movable end is controlled by the output port of the power adapter being inserted into the power receiving interface and contacting the movable end, pushing the movable end to move and contact the power inside the power receiving interface.
8. The method according to claim 6, It is characterized in that The pre-established mapping relationship between the movable terminal potential information and the candidate video formats is that there is a mapping relationship between the movable terminal identifier whose movable terminal potential information changes and the candidate video formats; Accordingly, based on the pre-established mapping relationship between the electric potential information of the movable terminal and the candidate video formats, determining the target video format to be switched according to the electric potential information on the at least one movable terminal includes: Determine the target movable terminal identifier according to the change information of the electric potential on the at least one movable terminal; Based on the mapping relationship, the target video format to be switched is determined according to the target movable terminal identifier.
9. A device for switching video formats of a camera, It is characterized in that The power supply and power receiving interface of the camera adopts the power supply and power receiving interface of the camera as claimed in any one of claims 1 to 5, and the device comprises: An electric potential information acquisition module, used to acquire electric potential information on at least one movable end; wherein the electric potential information on the at least one movable end is controlled by a change in the depth of the power adapter output port inserted into the power receiving interface; The target video standard determination module is used to determine the target video standard to be switched according to the potential information on the at least one movable terminal based on the pre-established mapping relationship between the movable terminal potential information and the candidate video standards.
10. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the camera video format switching method according to any one of claims 6 to 8.