Simulation camera configuration method, back-end equipment, simulation camera and system
By sending a restart signal between the back-end device and the analog camera, the analog camera is restarted to the preset format supported by the back-end device, the problem of incompatibility between the back-end device and the analog camera is solved, and the stable display of images and configuration is simplified.
Patent Information
- Application Number
- CN202311628103.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2025-05-30
AI Technical Summary
The back-end devices and analog cameras in the prior art are incompatible, which makes it easy for users to configure the simulated camera to cause images displayed on the back-end devices to be stuck.
After the backend device receives the analog signal sent by the analog camera, it parses out the display parameters of the analog camera. When the backend device does not support these display parameters, it sends a restart signal to the analog camera to restart it to the preset format supported by the backend device.
It realizes compatibility between back-end devices and analog cameras, avoids the problem of image stuck, and simplifies the configuration process without adding additional costs.
Smart Images

Figure CN120075597A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of device configuration, and particularly to a method for configuring an analog camera, a backend device, an analog camera, and a system. Background Art
[0002] Analog cameras are inexpensive and are commonly used for outdoor surveillance. An analog camera generally needs to be used in conjunction with an XVR, and the analog signals collected by the analog camera are processed by the XVR for display. The XVR includes an NVR (Network Video Recorder) and a DVR (Digital Video Recorder).
[0003] In the case where the XVR does not support the format and / or resolution of the analog camera, the XVR will display a black screen or a scrambled screen. If the user randomly configures the format and / or resolution of the analog camera, the image displayed by the XVR will freeze. Summary of the Invention
[0004] The present invention provides a method for configuring an analog camera, a backend device, an analog camera, and a system, so as to solve the defect in the prior art that the backend device and the analog camera are incompatible, and randomly configuring the analog camera easily causes the image displayed by the backend device to freeze, and to achieve compatibility between the backend device and the analog camera, and the image will not freeze when configuring the analog camera.
[0005] The present invention provides a method for configuring an analog camera, which is applied to a backend device and includes:
[0006] Receiving an analog signal sent by an analog camera, parsing the analog signal to obtain display parameters of the analog camera;
[0007] In the case where the backend device does not support the display parameters, sending a restart signal to the analog camera to cause the analog camera to restart based on the restart signal, and after restarting, the analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
[0008] According to the method for configuring an analog camera provided by the present invention, after sending the restart signal to the analog camera, it further includes:
[0009] Receiving an input from a user;
[0010] Based on the input, obtaining display parameters to which the analog camera is to be switched;
[0011] Switching the display parameters of the analog camera to the display parameters to which the analog camera is to be switched.
[0012] A method for configuring an analog camera provided by the present invention, wherein the input is a display parameter range or a target display parameter selected from the display parameters supported by the backend device.
[0013] A method for configuring an analog camera provided by the present invention, wherein the display parameters include a format and a resolution, the display parameter range is a resolution range, and obtaining the display parameter to which the analog camera is to be switched based on the input includes:
[0014] Searching for a target resolution within the resolution range from the resolutions under the format supported by the backend device;
[0015] Based on the target resolution and the format to which the target resolution belongs, obtaining the display parameter to which the analog camera is to be switched.
[0016] The present invention also provides a method for configuring an analog camera, which is applied to an analog camera and includes:
[0017] Sending an analog signal to a backend device for the backend device to analyze the analog signal to obtain the display parameter of the analog camera and determining whether the backend device supports the display parameter;
[0018] Receiving a restart signal sent by the backend device when the backend device does not support the display parameter, restarting based on the restart signal, and after restarting, the analog camera is in a preset format, and the backend device supports the display parameter under the preset format.
[0019] According to a method for configuring an analog camera provided by the present invention, after restarting based on the restart signal, it further includes:
[0020] Switching the display parameter of the analog camera to the display parameter to which the analog camera is to be switched, and the display parameter to which the analog camera is to be switched is obtained based on a user input.
[0021] The present invention also provides a backend device, including:
[0022] An analysis module, configured to receive the analog signal sent by the analog camera, analyze the analog signal, and obtain the display parameter of the analog camera;
[0023] A first sending module, configured to send a restart signal to the analog camera when the backend device does not support the display parameter, so that the analog camera restarts based on the restart signal, and after restarting, the analog camera is in a preset format, and the backend device supports the display parameter under the preset format.
[0024] The present invention also provides an analog camera, including:
[0025] A second sending module, configured to send an analog signal to a backend device, so that the backend device parses the analog signal to obtain display parameters of the analog camera, and determines whether the backend device supports the display parameters;
[0026] A restart module, configured to receive a restart signal sent by the backend device when the backend device does not support the display parameters, restart based on the restart signal, and after restarting, the analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
[0027] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the method for configuring an analog camera as described in any one of the above is implemented.
[0028] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for configuring an analog camera as described in any one of the above is implemented.
[0029] The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, the method for configuring an analog camera as described in any one of the above is implemented.
[0030] The method for configuring an analog camera, the backend device, the analog camera, and the system provided by the present invention, after the backend device receives the analog signal sent by the analog camera, parse the display parameters of the analog camera, and when the backend device does not support the display parameters, control the analog camera to restart to a preset format supported by the backend device. On the one hand, it realizes the compatibility between the backend device and the analog camera. On the other hand, when the user switches the display parameters of the analog camera, the image displayed on the backend device will not get stuck, and the implementation is simple without adding additional costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0032] Figure 1 is one of the flow schematic diagrams of the method for configuring an analog camera provided by the present invention;
[0033] Figure 2 is the networking schematic diagram of the analog camera and the backend device in the method for configuring an analog camera provided by the present invention;
[0034] Figure 3 It is the second flow schematic diagram of the analog camera configuration method provided by the present invention;
[0035] Figure 4 It is the third flow schematic diagram of the analog camera configuration method provided by the present invention;
[0036] Figure 5 It is the structural schematic diagram of the backend device provided by the present invention;
[0037] Figure 6 It is the structural schematic diagram of the analog camera provided by the present invention;
[0038] Figure 7 It is the structural schematic diagram of the electronic device provided by the present invention. Specific embodiments
[0039] To make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without making creative efforts fall within the scope of protection of the present invention.
[0040] Figure 1 It is the first flow schematic diagram of the analog camera configuration method provided by the present invention. The following combines Figure 1 Describe an analog camera configuration method of the present invention, which is applied to a backend device and includes:
[0041] Step 101: Receive the analog signal sent by the analog camera, parse the analog signal, and obtain the display parameters of the analog camera;
[0042] The backend device can be an XVR or a DVR, and the present embodiment does not limit the backend device. The analog camera has a simpler structure than the backend device, with greater limitations in resolution and frame rate, but is cheaper. Generally, an analog camera and a backend device are used in combination. One backend device is connected to multiple analog cameras, and the backend device processes and displays the analog signals collected by the analog cameras.
[0043] The signal output after the analog camera captures an image is an analog signal. The display parameters of the analog camera include the format and resolution.
[0044] The formats of analog cameras include NTSC (National Television System Committee), PAL (Phase Alternate Line), and SECAM (Sequential Coupler Memoire). Different formats have different frame rates, and the frame rate determines the smoothness and clarity of the displayed image.
[0045] The resolution of an analog camera is the number of pixels generated per inch of the image. The resolution of an analog camera determines the size of the image formed by the analog camera.
[0046] The backend device receives the analog signal output by the analog camera, analyzes the analog signal, and obtains the frame rate of the analog signal and the number of pixels generated per inch of the image. Based on the frame rate of the analog signal, the format of the analog camera is obtained, and based on the number of pixels generated per inch of the image, the resolution of the analog camera is obtained.
[0047] For example, if the frame rate of the analog signal is 25 frames per second, it is known that the format of the analog camera is PA, and based on the number of pixels generated per inch of the image, the resolution of the analog camera is 720*576; if the frame rate of the analog signal is 30 frames per second, it is known that the format of the analog camera is NTSC, and based on the number of pixels generated per inch of the image, the resolution of the analog camera is 760*480.
[0048] The backend device can receive the analog signal sent by the analog camera after recognizing that the analog camera is connected to the backend device, or can also receive the analog signal sent by the analog camera each time the analog camera switches the display parameters.
[0049] Step 102, in the case that the backend device does not support the display parameters, send a restart signal to the analog camera so that the analog camera restarts based on the restart signal, and the restarted analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
[0050] When the backend device determines that at least one display parameter of the analog camera does not exist among the display parameters supported by the backend device, a restart signal is sent to the analog camera. After receiving the restart signal, the analog camera restarts to the preset format.
[0051] The preset format is a low-end general format, such as the CVBS (Composite Video Baseband Signal) format. The backend device supports the display parameters in the preset format.
[0052] After that, the backend device and the analog camera re - establish the connection. The backend device receives the analog signal collected by the analog camera in a preset format and displays the image normally, thus realizing the compatibility between the backend device and the analog camera.
[0053] When the backend device sends a restart signal to the analog camera, it can also display a compatibility processing prompt message for the backend device and the analog camera. Based on the displayed compatibility processing prompt message, the user knows that the compatibility processing is currently in progress.
[0054] After the analog camera is connected to the backend device, if it is recognized that the backend device does not support the display parameters of the analog camera, the analog camera is controlled to restart to a preset format supported by the backend device, realizing the compatibility between the backend device and the analog camera.
[0055] After the user or automatically switches the display parameters of the analog camera, if it is recognized that the backend device does not support the display parameters after the switch of the analog camera, the analog camera is controlled to restart to a preset format supported by the backend device, realizing the compatibility between the backend device and the analog camera and avoiding the image displayed on the backend device from getting stuck.
[0056] When the backend device supports the display parameters of the analog camera, the backend device compresses and then decompresses the analog signal output by the analog camera for image display.
[0057] In this embodiment, after the backend device receives the analog signal sent by the analog camera, the display parameters of the analog camera are parsed. When the backend device does not support the display parameters, the analog camera is controlled to restart to a preset format supported by the backend device. On the one hand, the compatibility between the backend device and the analog camera is realized. On the other hand, when the user switches the display parameters of the analog camera, the image displayed on the backend device will not get stuck. The implementation is simple and does not increase additional costs.
[0058] Based on the above - mentioned embodiment, after sending the restart signal to the analog camera in this embodiment, it further includes:
[0059] Receiving the input of the user;
[0060] Based on the input, obtaining the display parameters to which the analog camera is to be switched;
[0061] Switching the display parameters of the analog camera to the display parameters to which the analog camera is to be switched.
[0062] After the analog camera restarts to a preset format supported by the backend device, the backend device and the analog camera are compatible and can display the image normally. Since the preset format is a low - end general format, the image display effect may not meet the user's needs. The user can further switch the display parameters of the analog camera.
[0063] For example, the smoothness and clarity of the images displayed by the backend device are relatively low, and the user needs to switch the format of the analog camera. The size of the images displayed by the backend device may also not meet the user's needs, and the user needs to switch the resolution of the analog camera.
[0064] The user can freely input the display parameters to which the analog camera is to be switched in the display interface of the backend device, and can adjust the input display parameters to which the analog camera is to be switched based on the images displayed after the previous display parameters of the analog camera are switched. The user can input the display parameters to which the analog camera is to be switched multiple times until the images displayed by the backend device meet the user's requirements.
[0065] Common display parameters can also be displayed on the display interface of the backend device, and the user can select the display parameters to which the analog camera is to be switched from them until the images displayed by the backend device meet the user's requirements.
[0066] After the display parameters of the analog camera are switched, it can continue to be determined whether the backend device supports the display parameters after the analog camera is switched. When the backend device supports the display parameters of the analog camera, image display is performed based on the analog signal output by the analog camera under the switched display parameters; when the backend device does not support the display parameters of the analog camera, the images displayed by the backend device may freeze, and the analog camera is controlled to restart to a preset format, while ensuring the compatibility between the analog camera and the backend device and preventing the images displayed by the backend device from freezing.
[0067] Figure 2 It is a schematic diagram of the networking between the analog camera and the backend device in the analog camera configuration method provided by the present invention. As Figure 2 shown, the backend device includes a processing module and a display, and the display interface of the processing module is connected to the display. The processing module is connected to one or more analog cameras, and the analog cameras and the processing module can be connected through coaxial cables. The images of the analog cameras are presented on the display.
[0068] The user can input or select the display parameters to which the analog camera is to be switched through a mouse or keyboard on the display interface on the display.
[0069] Figure 3 It is the second schematic diagram of the process of the analog camera configuration method provided by the present invention. As Figure 3 shown, the complete analog camera configuration process includes:
[0070] When the backend device recognizes the access of the analog camera, it receives the analog signal output by the analog camera, parses the display parameters of the analog camera from the analog signal, and identifies whether the backend device supports the display parameters of the analog camera;
[0071] When the back-end device does not support the display parameters of the analog camera, the back-end device will show a black screen or a distorted screen. By sending a restart signal to the analog camera through the back-end device, the analog camera is controlled to restart to a preset format;
[0072] When the image displayed by the back-end device does not meet the user's requirements, the user can control the analog camera to switch to different display parameters through the back-end device. If the back-end device does not support the display parameters of the analog camera, the displayed image of the back-end device will freeze. At this time, the analog camera can be controlled to restart to the preset format, and then the user can reset the display parameters of the analog camera until the displayed image of the back-end device meets the user's requirements.
[0073] In this embodiment, after the analog camera restarts to the preset format, the user can adjust the display parameters of the analog camera according to the requirements. If the back-end device does not support the display parameters of the analog camera after the adjustment, the analog camera can be controlled to restart to the preset format, and then the user can reset the display parameters of the analog camera until the displayed image of the back-end device meets the user's requirements, avoiding the displayed image of the back-end device from freezing.
[0074] Based on the above embodiments, in this embodiment, the input is a display parameter range or a target display parameter is selected from the display parameters supported by the back-end device.
[0075] When the user's input is a display parameter range, determine the display parameters supported by the back-end device within the display parameter range.
[0076] When the number of display parameters supported by the back-end device within the display parameter range is one, the display parameter supported by the back-end device within the display parameter range can be directly used as the display parameter to which the analog camera is to be switched.
[0077] When the number of display parameters supported by the back-end device within the display parameter range is multiple, select one display parameter as the display parameter to which the analog camera is to be switched. For example, select the largest display parameter or the centered display parameter.
[0078] The display parameters supported by the back-end device can also be displayed, and the user selects a target display parameter from the display parameters supported by the back-end device, and uses the target display parameter as the display parameter to which the analog camera is to be switched.
[0079] For example, first, the user selects a target format from the formats supported by the displayed back-end device, and the resolutions supported by the back-end device in the target format are displayed; then, the user selects a target resolution from the displayed resolutions; the format of the analog camera is switched to the target format, and the resolution of the analog camera is switched to the target resolution.
[0080] In this embodiment, the user can quickly configure the display parameters of the analog camera that meet the user's needs by inputting a parameter range and selecting target display parameters from the display parameters supported by the backend device, thereby improving the configuration efficiency of the analog camera.
[0081] Based on the above embodiment, in this embodiment, the display parameters include a format and a resolution, the display parameter range is a resolution range, and obtaining the display parameters to which the analog camera is to be switched based on the input includes:
[0082] Search for a target resolution within the resolution range from the resolutions under the format supported by the backend device;
[0083] Based on the target resolution and the format to which the target resolution belongs, obtain the display parameters to which the analog camera is to be switched.
[0084] When the user needs the backend device to display a display image of a set size, a resolution range can be input.
[0085] The resolution range can be a ratio range of the length resolution to the width resolution, or a length resolution range and / or a width resolution range.
[0086] Search for a target resolution within the resolution range from the resolutions under the format supported by the backend device. When the number of target resolutions is one, switch the format of the analog camera to the format to which the target resolution belongs, and switch the resolution of the analog camera to the target resolution.
[0087] When the number of target resolutions is multiple, select one target resolution from them. The user can be prompted to select one target resolution from them, or it can be randomly selected, which is not limited in this embodiment. Switch the format of the analog camera to the format to which the selected target resolution belongs, and switch the resolution of the analog camera to the selected target resolution.
[0088] In this embodiment, by searching for a target resolution within the resolution range from the resolutions under the format supported by the backend device based on the input resolution range, the resolution and format that meet the user's needs are quickly configured based on the target resolution, thereby improving the configuration efficiency of the analog camera.
[0089] Figure 4 It is the third flow diagram of the analog camera configuration method provided by the present invention. The following is combined with Figure 4 Describe an analog camera configuration method of the present invention, which is applied to an analog camera and includes:
[0090] Step 401: Send an analog signal to the backend device for the backend device to parse the analog signal to obtain the display parameters of the analog camera and determine whether the backend device supports the display parameters.
[0091] The signal output by the analog camera after taking an image is an analog signal, and the analog signal is sent to the backend device. The display parameters of the analog camera include the video standard and the resolution.
[0092] The backend device receives the analog signal output by the analog camera, parses the analog signal, and obtains the frame rate of the analog signal and the number of pixels generated per inch of the image. Based on the frame rate of the analog signal, the video standard of the analog camera is obtained, and based on the number of pixels generated per inch of the image, the resolution of the analog camera is obtained.
[0093] After the analog camera is connected to the backend device, it can send an analog signal to the backend device in real time. It can send an analog signal to the backend device after being connected to the backend device, or it can also send an analog signal to the backend device after each display parameter is switched.
[0094] Step 402: Receive the restart signal sent by the backend device when it does not support the display parameters, and perform a restart based on the restart signal. After the restart, the analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
[0095] When the backend device determines that at least one display parameter of the analog camera does not exist in the display parameters supported by the backend device, it sends a restart signal to the analog camera. After receiving the restart signal, the analog camera restarts to the preset format.
[0096] The preset format is a low-end common format, such as the CVBS format. The backend device supports the display parameters in the preset format.
[0097] After that, the backend device and the analog camera re-establish a connection. The backend device receives the analog signal collected by the analog camera in the preset format and displays the image normally, thus realizing the compatibility between the backend device and the analog camera.
[0098] After the analog camera is connected to the backend device, if it is recognized that the backend device does not support the display parameters of the analog camera, control the analog camera to restart to the preset format supported by the backend device to realize the compatibility between the backend device and the analog camera.
[0099] After the user or automatically switches the display parameters of the analog camera, if it is recognized that the backend device does not support the display parameters after the analog camera is switched, control the analog camera to restart to the preset format supported by the backend device to realize the compatibility between the backend device and the analog camera, and it can avoid the image displayed by the backend device from getting stuck.
[0100] When the back-end device supports the display parameters of the analog camera, the back-end device compresses and then decompresses the analog signal output by the analog camera for image display.
[0101] In this embodiment, the analog camera sends an analog signal to the back-end device, and the back-end device analyzes the display parameters of the analog camera from the analog signal. When the back-end device does not support the display parameters, it controls the analog camera to restart to a preset format supported by the back-end device. On the one hand, it realizes the compatibility between the back-end device and the analog camera. On the other hand, when the user switches the display parameters of the analog camera, the image displayed on the back-end device will not get stuck. The implementation is simple and does not increase additional costs.
[0102] Based on the above embodiment, after restarting based on the restart signal in this embodiment, it further includes:
[0103] Switch the display parameters of the analog camera to the display parameters that the analog camera is to be switched to, and the display parameters that the analog camera is to be switched to are obtained based on the user's input.
[0104] After the analog camera restarts to the preset format supported by the back-end device, the back-end device and the analog camera are compatible and can display images normally. Since the preset format is a low-end common format, the image display effect may not meet the user's needs. The user can further switch the display parameters of the analog camera.
[0105] The user can freely input the display parameters that the analog camera is to be switched to in the display interface of the back-end device, and can adjust the input display parameters that the analog camera is to be switched to based on the image displayed after the previous display parameter switch of the analog camera. The user can input the display parameters that the analog camera is to be switched to multiple times until the image displayed on the back-end device meets the user's needs.
[0106] Common display parameters can also be displayed on the display interface of the back-end device, and the user selects the display parameters that the analog camera is to be switched to from them until the image displayed on the back-end device meets the user's needs.
[0107] In this embodiment, after the analog camera restarts to the preset format, the user can adjust the display parameters of the analog camera according to the needs. If the back-end device does not support the display parameters of the analog camera after the adjustment, the analog camera can be controlled to restart to the preset format again, and then the user can reset the display parameters of the analog camera until the displayed image on the back-end device meets the user's needs, avoiding the image displayed on the back-end device from getting stuck.
[0108] Next, the back-end device provided by the present invention will be described. The back-end device described below can be correspondingly referred to the analog camera configuration method described above.
[0109] Figure 5 This is a schematic structural diagram of the backend device provided by the present invention. As Figure 5 shown, the backend device includes a parsing module 501 and a first sending module 502, where
[0110] the parsing module 501 is configured to receive the analog signal sent by the analog camera, parse the analog signal, and obtain the display parameters of the analog camera;
[0111] the first sending module 502 is configured to send a restart signal to the analog camera when the backend device does not support the display parameters, so that the analog camera is restarted based on the restart signal, and the restarted analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
[0112] In this embodiment, after the backend device receives the analog signal sent by the analog camera, the display parameters of the analog camera are parsed. When the backend device does not support the display parameters, the analog camera is controlled to restart to a preset format supported by the backend device. On the one hand, the compatibility between the backend device and the analog camera is achieved. On the other hand, when the user switches the display parameters of the analog camera, the image displayed on the backend device will not get stuck, and the implementation is simple without adding additional costs.
[0113] Next, the analog camera provided by the present invention will be described. The analog camera described below can be mutually corresponding and referred to the analog camera configuration method described above.
[0114] Figure 6 This is a schematic structural diagram of the analog camera provided by the present invention. As Figure 6 shown, the analog camera includes a second sending module 601 and a restart module 602, where:
[0115] the second sending module 601 is configured to send an analog signal to the backend device for the backend device to parse the analog signal to obtain the display parameters of the analog camera and determine whether the backend device supports the display parameters;
[0116] the restart module 602 is configured to receive the restart signal sent by the backend device when the backend device does not support the display parameters, and restart based on the restart signal. The restarted analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
[0117] In this embodiment, an analog camera sends an analog signal to a backend device. The backend device parses the display parameters of the analog camera from the analog signal. When the backend device does not support the display parameters, the analog camera is controlled to restart to a preset format supported by the backend device. On the one hand, the compatibility between the backend device and the analog camera is achieved. On the other hand, when the user switches the display parameters of the analog camera, the image displayed on the backend device will not freeze. The implementation is simple and no additional cost is incurred.
[0118] As Figure 2 shown, this embodiment also provides an analog camera configuration system, which includes the backend device and the analog camera in the above embodiment.
[0119] As Figure 2 shown, the backend device includes a processing module and a display. The display interface of the processing module is connected to the display. The processing module is connected to one or more analog cameras, and the analog cameras and the processing module can be connected through coaxial cables. The images of the analog cameras are presented on the display.
[0120] The user can input or select the display parameters to which the analog camera is to be switched on the display interface on the display through a mouse or a keyboard.
[0121] In this embodiment, after the backend device receives the analog signal sent by the analog camera, the display parameters of the analog camera are parsed. When the backend device does not support the display parameters, the analog camera is controlled to restart to a preset format supported by the backend device. On the one hand, the compatibility between the backend device and the analog camera is achieved. On the other hand, when the user switches the display parameters of the analog camera, the image displayed on the backend device will not freeze. The implementation is simple and no additional cost is incurred.
[0122] Figure 7 Illustrates a schematic physical structure diagram of an electronic device. As Figure 7 shown, the electronic device may include: a processor 710, a communications interface 720, a memory 730, and a communication bus 740. Among them, the processor 710, the communications interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 can call the logical instructions in the memory 730 to execute the analog camera configuration method, which includes: receiving the analog signal sent by the analog camera, parsing the analog signal to obtain the display parameters of the analog camera; when the backend device does not support the display parameters, sending a restart signal to the analog camera so that the analog camera is restarted based on the restart signal, and the restarted analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
[0123] In addition, when the logical instructions in the above-mentioned memory 730 can be implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0124] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the analog camera configuration method provided by the above-mentioned various methods. The method includes: receiving an analog signal sent by an analog camera, parsing the analog signal to obtain the display parameters of the analog camera; in the case where the backend device does not support the display parameters, sending a restart signal to the analog camera so that the analog camera is restarted based on the restart signal, and the restarted analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
[0125] On yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the analog camera configuration method provided by the above-mentioned various methods. The method includes: receiving an analog signal sent by an analog camera, parsing the analog signal to obtain the display parameters of the analog camera; in the case where the backend device does not support the display parameters, sending a restart signal to the analog camera so that the analog camera is restarted based on the restart signal, and the restarted analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
[0126] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0127] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0128] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features. And these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for configuring an analog camera, characterized in that, applied to a backend device, including: Receiving an analog signal sent by the analog camera, parsing the analog signal to obtain display parameters of the analog camera; When the backend device does not support the display parameters, sending a restart signal to the analog camera so that the analog camera is restarted based on the restart signal, and the restarted analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
2. The method for configuring an analog camera according to claim 1, characterized in that, after sending the restart signal to the analog camera, further including: Receiving an input from a user; Based on the input, obtaining the display parameters to which the analog camera is to be switched; Switching the display parameters of the analog camera to the display parameters to which the analog camera is to be switched.
3. The method for configuring an analog camera according to claim 2, characterized in that, the input is a display parameter range or selecting a target display parameter from the display parameters supported by the backend device.
4. The method for configuring an analog camera according to claim 3, characterized in that, the display parameters include a format and a resolution, the display parameter range is a resolution range, and obtaining the display parameters to which the analog camera is to be switched based on the input includes: Searching for a target resolution within the resolution range from the resolutions under the format supported by the backend device; Based on the target resolution and the format to which the target resolution belongs, obtaining the display parameters to which the analog camera is to be switched.
5. A method for configuring an analog camera, characterized in that, applied to an analog camera, including: Sending an analog signal to a backend device for the backend device to parse the analog signal to obtain display parameters of the analog camera and determine whether the backend device supports the display parameters; Receiving a restart signal sent by the backend device when the backend device does not support the display parameters, and restarting based on the restart signal, and the restarted analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
6. The method for configuring an analog camera according to claim 5, characterized in that, after restarting based on the restart signal, further including: Switching the display parameters of the analog camera to the display parameters to which the analog camera is to be switched, and the display parameters to which the analog camera is to be switched are obtained based on an input from a user.
7. A backend device, characterized in that, including: A parsing module, configured to receive an analog signal sent by an analog camera, parse the analog signal to obtain display parameters of the analog camera; A first sending module, configured to send a restart signal to the analog camera when the backend device does not support the display parameters, so that the analog camera is restarted based on the restart signal, and the restarted analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
8. An analog camera, characterized in that, including: A second sending module, configured to send an analog signal to a backend device, so that the backend device parses the analog signal to obtain display parameters of the analog camera, and determines whether the backend device supports the display parameters; A restart module, configured to receive a restart signal sent by the backend device when the backend device does not support the display parameters, restart based on the restart signal, and after restarting, the analog camera is in a preset format, and the backend device supports the display parameters in the preset format.
9. An analog camera configuration system Characterized in that It includes the backend device according to claim 7 and the analog camera according to claim 8.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, Characterized in that When the computer program is executed by a processor, it implements the analog camera configuration method according to any one of claims 1 to 6.