Multi-camera control method, apparatus, system, storage medium, and electronic device

By receiving and calculating the time difference of remote control data from cameras, the remote control data of the target camera is obtained and commands are sent, solving the problems of cost and convenience in multi-camera control and enabling quick control of any camera.

CN116208735BActive Publication Date: 2026-01-06GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111435602.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-29
Publication Date
2026-01-06
Estimated Expiration
2041-11-29

AI Technical Summary

Technical Problem

In multi-camera surveillance systems, existing technologies require multiple remote controls to operate multiple cameras separately, which increases costs and is inconvenient.

Method used

By receiving remote control data transmitted from several cameras within a preset time period, calculating the data time difference to obtain the remote control data of the target camera, and sending remote control commands, the control of the target camera is realized.

Benefits of technology

It enables convenient control of multiple cameras and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116208735B_ABST
    Figure CN116208735B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a kind of multi-camera control method, device, system, storage medium and electronic equipment, method includes: receiving in the time of several cameras respectively transmitted in the preset time several first camera remote control data and the time of obtaining several first camera remote control data received;According to the time difference of receiving several first camera remote control data and several first camera remote control data, obtain a target camera remote control data corresponding to a remote control event;Wherein, the target camera remote control data is used to indicate that target remote control instruction is sent to target camera;The target remote control instruction is sent to the target camera, so that every camera can obtain camera remote control data, and then the control of any one camera is conveniently and quickly realized, and control cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of camera control, and in particular to a multi-camera control method, apparatus, system, storage medium, and electronic device. Background Technology

[0002] A camera is usually installed in a conference room to capture and monitor the scene inside. Generally, the area that a single camera can capture is limited. However, when the conference room is large and the camera capture area becomes larger, a single camera is obviously insufficient. Therefore, multiple cameras need to be installed for monitoring.

[0003] When using multiple cameras for surveillance, it is necessary to identify and control multiple cameras. In some technologies, multiple remote controls are required to identify and control multiple cameras separately, or complex identification and control algorithms are required, which increases costs and makes it impossible to control multiple cameras quickly and conveniently. Summary of the Invention

[0004] To overcome the problems existing in related technologies, this application provides a multi-camera control method, device, system, storage, and electronic device, which can reduce costs and control multiple cameras quickly and conveniently.

[0005] According to a first aspect of the embodiments of this application, a multi-camera control method is provided, comprising the following steps:

[0006] Receive several sets of first camera remote control data transmitted by several cameras within a preset time period and obtain the time of receiving several sets of first camera remote control data;

[0007] Based on the time difference between receiving several first camera remote control data and several first camera remote control data, a target camera remote control data corresponding to a remote control event is obtained; wherein, the target camera remote control data is used to indicate sending a target remote control command to the target camera;

[0008] The remote control command for the target is sent to the target camera.

[0009] According to a second aspect of the embodiments of this application, a multi-camera control device is provided, comprising:

[0010] The data receiving module is used to receive several first camera remote control data transmitted by several cameras within a preset time and to obtain the time of receiving several first camera remote control data.

[0011] The target data acquisition module is used to obtain a target camera remote control data corresponding to a remote control event based on the time difference of receiving a plurality of first camera remote control data and the plurality of first camera remote control data; wherein, the target camera remote control data is used to indicate sending a target remote control command to the target camera;

[0012] The remote control command sending module is used to send the target remote control command to the target camera.

[0013] According to a third aspect of the embodiments of this application, a multi-camera remote control system is provided, including a plurality of cameras, a camera remote control device, and a multi-camera control device; the plurality of cameras are respectively connected to the camera remote control device and the multi-camera control device; the camera remote control device is used to send first camera remote control data; the plurality of cameras are used to transmit the collected first camera remote control signal to the multi-camera control device; the multi-camera control device executes the multi-camera control method as described above.

[0014] According to a fourth aspect of the embodiments of this application, an electronic device is provided, including a processor and a memory; the memory stores a computer program adapted to be loaded by the processor and executed as described above in the multi-camera control method.

[0015] According to a fifth aspect of the embodiments of this application, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, it implements the multi-camera control method as described above.

[0016] This application embodiment receives several first camera remote control data transmitted by several cameras within a preset time period and obtains the time of receiving the several first camera remote control data; based on the time difference of receiving the several first camera remote control data and the several first camera remote control data, it obtains a target camera remote control data corresponding to a remote control event; wherein, the target camera remote control data is used to indicate sending a target remote control command to a target camera; the target remote control command is sent to the target camera, so that each camera can obtain the first camera remote control data, thereby conveniently and quickly realizing the control of any camera and reducing costs.

[0017] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application.

[0018] To better understand and implement this invention, the following detailed description is provided in conjunction with the accompanying drawings. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic block diagram illustrating the application environment of the multi-camera control method according to an embodiment of this application;

[0021] Figure 2 This is a flowchart illustrating a multi-camera control method according to an embodiment of this application;

[0022] Figure 3 A flowchart illustrating a method for establishing mapping relationships in one embodiment of this application;

[0023] Figure 4 This is a flowchart illustrating a method for obtaining remote control data of a target camera according to an embodiment of this application;

[0024] Figure 5 A flowchart illustrating a method for obtaining remote control data of a target camera, as shown in another embodiment of this application;

[0025] Figure 6 This is a schematic block diagram illustrating a multi-camera control method according to another embodiment of this application;

[0026] Figure 7 This is a schematic block diagram illustrating a multi-camera control device according to one embodiment of this application;

[0027] Figure 8 This is a schematic block diagram illustrating a multi-camera control system according to one embodiment of this application;

[0028] Figure 9 This is a schematic diagram of the structure of an electronic device according to one embodiment of this application. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0030] It should be understood that the described embodiments are merely some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of the embodiments of this application.

[0031] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in the various drawings represent the same or similar elements. In the description of this application, it should be understood that the terms “first,” “second,” “third,” etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. The word “if” / “suppose” as used herein can be interpreted as “when,” “when,” or “in response to a determination.”

[0032] Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0033] Please see Figure 1 This is a schematic block diagram illustrating the application environment of the multi-camera control method according to an embodiment of this application. The application environment of the multi-camera control method according to an embodiment of this application includes a camera remote control device 110, a plurality of cameras 120, and a multi-camera control device 130. The plurality of cameras 120 are respectively connected to the camera remote control device 110 and the multi-camera control device 130. The camera remote control device 110 is used to send first camera remote control data. The plurality of cameras 120 respectively transmit the collected first camera remote control data to the multi-camera control device 130. The multi-camera control device controls the action of the target camera according to the plurality of first camera remote control data and the time of receiving the plurality of first camera remote control data.

[0034] The multiple cameras 120 generally have basic functions such as video recording / transmission and still image capture. After the cameras capture images through their lenses, the photosensitive component circuit and control component inside the cameras process the images and convert them into digital signals that can be recognized by the multi-camera control device 130. Then, the signals are input to the multi-camera control device 130 for image reconstruction via a parallel port or USB connection. The multiple cameras 120 can be identical cameras or different cameras; this application does not impose any restrictions.

[0035] The camera remote control device 110 establishes a wireless connection with several cameras 120. Optionally, the wireless method can be various types such as infrared remote control or Bluetooth remote control, so that the several cameras 120 can receive the camera remote control signal emitted by the camera remote control device 110. Specifically, the camera remote control device 110 can be an infrared remote control, a remote control with Bluetooth communication function, etc.

[0036] The multi-camera control device 130 can be implemented through software and / or hardware. The multi-camera control device 130 can consist of two or more physical entities, or it can consist of a single physical entity. From a hardware perspective, the hardware referred to by the multi-camera control device 130 is essentially a computer device with capabilities equivalent to a personal computer. It is a hardware device with the necessary components revealed by the von Neumann architecture, such as a central processing unit (including an arithmetic logic unit and a control unit), memory, input devices, and output devices. The computer program is stored in the memory, and the central processing unit calls the computer program stored in the memory to run it, execute the instructions in the computer program, and interact with the input / output devices to complete specific functions.

[0037] Optionally, the multi-camera control device 130 may include a display 140, meaning the display 140 is part of the multi-camera control device 130; or the multi-camera control device 130 may also be connected to the display 140, meaning the display 140 exists independently of the components of the multi-camera control device 130. The display 140 is used to receive instructions from the multi-camera control device 130 to display images captured by the cameras, or information such as the working status of each camera.

[0038] It should be noted that the multi-camera control method of this application can be applied to conference and education scenarios. This application takes a conference scenario as an example to illustrate the multi-camera control method of this application. Specifically, several cameras 120 are arranged in the conference room, and the several cameras 120 are respectively connected to the camera remote control device 110 and the multi-camera control device 130; the identification and control of one or more cameras in the conference room can be realized through the camera remote control device 110 and the multi-camera control device 130.

[0039] Example 1

[0040] The following will be combined with the appendix Figures 2 to 6 This application provides a detailed description of the multi-camera control method provided in its embodiments.

[0041] Please see Figure 2 This is a flowchart illustrating a multi-camera control method according to an embodiment of this application; the multi-camera control method provided in this embodiment includes the following steps:

[0042] Step S101: Receive several first camera remote control data transmitted by several cameras within a preset time period and obtain the time of receiving several first camera remote control data.

[0043] When a remote control event occurs on the camera remote control device, such as when a user presses a button, the camera remote control device will generate a corresponding camera remote control command, thereby broadcasting first camera remote control data. Several cameras that have established a wireless connection with the camera remote control device can acquire this first camera remote control data within their wireless reception range. Subsequently, the first camera remote control data collected by the several cameras will be forwarded to the multi-camera control device.

[0044] It is understandable that the first camera remote control data collected by several cameras is the same first camera remote control data. This first camera remote control data corresponds to the remote control event and is used to control the action of one or more cameras.

[0045] Understandably, when several cameras forward the first camera remote control data they collect to the multi-camera control device, the multi-camera remote control device will receive several first camera remote control data within a preset time. At this time, the multi-camera remote control device can record the time of receiving several first camera remote control data.

[0046] Step S102: Based on the time difference of receiving several first camera remote control data and several first camera remote control data, obtain a target camera remote control data corresponding to a remote control event; wherein, the target camera remote control data is used to indicate sending a target remote control command to the target camera.

[0047] Clearly, when several cameras forward the first camera remote control data they collect to the multi-camera control device, within a preset time, the several first camera remote control data obtained by the multi-remote control device may correspond to one remote control event or multiple remote control events. Therefore, by distinguishing and obtaining one target camera remote control data corresponding to one remote control event based on the time difference of receiving several first camera remote control data and the several first camera remote control data, the control of the target camera can be realized.

[0048] The target remote control command can be any command that controls the camera's actions, such as commands to turn the camera on, turn the camera off, adjust the camera's orientation, take a picture, or record video.

[0049] Step S103: Send the target remote control command to the target camera corresponding to the target camera identifier.

[0050] This application embodiment receives several first camera remote control data transmitted by several cameras within a preset time period and obtains the time of receiving the several first camera remote control data; based on the time difference of receiving the several first camera remote control data and the several first camera remote control data, it obtains a target camera remote control data corresponding to a remote control event; wherein, the target camera remote control data is used to indicate sending a target remote control command to a target camera; the target remote control command is sent to the target camera, so that each camera can obtain the first camera remote control data, thereby conveniently and quickly realizing the control of any camera and reducing costs.

[0051] In one embodiment, before the steps of receiving several first camera remote control data transmitted by several cameras within a preset time and obtaining the time of receiving the several first camera remote control data in step S101, the following steps are further included, namely, step S100:

[0052] Step S100: When a camera is detected to be connected, obtain the device information of the camera, configure a camera number for the camera, and establish a mapping relationship between the device information of the camera and the camera number; wherein, the camera number corresponds to one or more pieces of device information.

[0053] Device information, including the camera's IP address, MAC address, or the socket of the communication channel connected to the camera, allows multi-camera control devices to identify one or more of the camera's information. When the device information includes multiple pieces of information, it allows the system to obtain the necessary information, such as updating camera mapping information or retrieving camera-related information, using any of the aforementioned pieces of information.

[0054] The camera number is a serial number assigned to the camera based on actual needs, allowing users to easily identify the camera. Optionally, cameras can be numbered sequentially according to the order in which they were connected, such as 1, 2, 3, etc.

[0055] In one application scenario, because each camera has a different location and function, each camera number uniquely corresponds to one device information, thus enabling control of a single camera based on its number. In another application scenario, cameras can be grouped together based on their orientation or function. For example, turning on the camera on the left or the camera used for monitoring teaching can be done by assigning multiple device information to the same camera number, thereby enabling control of several cameras with the same camera number.

[0056] The step of sending the target remote control command to the target camera in step S103 includes the following steps S1031-S1033:

[0057] Step S1031: Obtain the target camera number.

[0058] Step S1032: Obtain the device information of the target camera corresponding to the target camera number based on the mapping relationship between the device information of the camera and the camera number.

[0059] Step S1033: Based on the device information of the target camera, send the target remote control command to the target camera.

[0060] This application establishes a mapping relationship between camera device information and camera number, enabling interaction between the user and the multi-camera control device and the camera, thereby allowing the multi-camera control device to control the corresponding camera based on the camera number input by the user.

[0061] Optionally, the step of obtaining the target camera number in step S1031 includes: obtaining the default target camera number. In one application scenario, a multi-camera device has a default target camera number. When remote control data for a target camera is received, the corresponding target camera is controlled according to the target camera number. It is understood that users can change the default target camera number in the multi-camera device according to actual needs, thereby achieving control of the desired target camera.

[0062] Optionally, the target camera remote control data includes the target camera number; the step of obtaining the target camera number in step S1031 includes: obtaining the target camera number from the target camera remote control data. In one application scenario, the camera remote control device sends a remote control command and simultaneously sends the target camera number to be controlled, thereby allowing direct specification of the corresponding target camera in the camera remote control device to control the target camera.

[0063] Please see Figure 3In one embodiment, the camera's device information further includes the camera's MAC address; the step S100, which involves obtaining the camera's device information and configuring a camera number for the camera when its access is detected, and establishing a mapping relationship between the camera's device information and the camera number, includes steps S1001-S1003 as follows:

[0064] S1001: When a camera is detected to be connected, obtain the MAC addresses of all currently connected cameras, and determine whether a corresponding mapping relationship has been established between the currently connected cameras based on the MAC addresses.

[0065] Optionally, the MAC addresses of all currently connected cameras can be obtained via multicast.

[0066] S1002: If the camera does not have a corresponding mapping relationship, obtain the current device connection information of the camera, configure a camera number for the camera, and establish a mapping relationship between the camera MAC address, the device connection information and the camera number.

[0067] S1003: If the camera has already established a corresponding mapping relationship, obtain the current device connection information of the camera and the device connection information in the mapping relationship; when the current device connection information of the camera is different from the device connection information in the mapping relationship, replace the device connection information in the mapping relationship with the current device connection information, and update the mapping relationship corresponding to the MAC address of the camera.

[0068] Optionally, the camera can be hot-swapped to the multi-camera control device. Specifically, the multi-camera control device may include several USB ports; the camera may include a UVC (USB Video Class) port; the multi-camera control device can be hot-swapped to several cameras through several USB ports and several UVC ports; that is, the camera can be plugged into the running multi-camera control device or unplugged from the USB port of the running multi-camera control device.

[0069] In this scenario, different USB ports use the same socket; the same USB port uses the same socket. In one application scenario, for the same camera, it might be plugged into the first USB port, unplugged, and then plugged back into the first USB port. Although multiple camera devices can detect two camera connections, the actual device information obtained, such as the camera's IP address, MAC address, or the socket of the communication channel connected to the camera, is the same. In another application scenario, for the same camera, it might be plugged into the first USB port, unplugged, and then plugged into the second USB port. In this case, multiple camera devices can detect two camera connections, but the camera's MAC address is the same; only the camera's IP address and the socket of the communication channel connected to the camera are different. Therefore, the unique camera MAC address is used to determine whether a mapping relationship needs to be established and updated, thereby achieving accurate control of the camera.

[0070] It is understood that when the current device connection information of the camera is the same as the device connection information in the mapping relationship, the mapping relationship remains unchanged.

[0071] In one embodiment, step S101, which involves receiving several sets of first camera remote control data transmitted by several cameras within a preset time period and obtaining the time of receiving the several sets of first camera remote control data, includes:

[0072] Step S1011: Obtain target transmission device information.

[0073] The target transmission device information may include the camera's IP address, MAC address, or the socket of the communication channel connected to the camera, which can enable the multi-camera control device to identify one or more of the camera's information.

[0074] Step S1012: Receive several first camera remote control data transmitted by several cameras corresponding to the target transmission device information within a preset time, and obtain the time of receiving several first camera remote control data.

[0075] In one application scenario, the user's location is relatively fixed, such as in a conference room. Typically, the presenter or other participants walk to the front to give a presentation. In this case, it is only necessary to acquire the first camera remote control data captured by the camera at the front of the conference room. This first camera remote control data can then be directly used as the target remote control data to control the target camera. In this situation, the first camera remote control data transmitted by other cameras is obviously redundant. Therefore, target transmission device information can be set, so that only the first camera remote control data transmitted by the camera corresponding to the target transmission device information is received to determine the target remote control data. This reduces the acquisition and identification of first camera remote control data and improves the efficiency of camera identification and control.

[0076] Please see Figure 4 In one embodiment, step S102, which describes obtaining a target camera remote control data corresponding to a remote control event based on the time difference of receiving a plurality of first camera remote control data and the plurality of first camera remote control data, includes the following steps S10211-S10212:

[0077] S10211: Calculate the time difference between receiving a plurality of first camera remote control data, and obtain a plurality of second camera remote control data whose time difference is within a preset time threshold.

[0078] Optionally, a number of first camera remote control data are received sequentially within a preset time period, and the time difference between the received number of first camera remote control data is calculated one by one. Then, it is determined whether the time difference is within a preset time threshold, and the number of first camera remote control data whose time difference is within the preset time threshold is used as a number of second camera remote control data.

[0079] S10212: Merge several second camera remote control data into one target camera remote control data.

[0080] In one application scenario, when a user needs to control one or more target cameras, the target camera may be too far away to receive the first remote control data sent by the camera remote control device. In this case, control of the target camera can be achieved by acquiring several first remote control data sets collected by several cameras near the user. Specifically, since several cameras collect several first remote control data sets for a single remote control event, and these sets arrive at the multi-camera control device at roughly the same time, several second remote control data sets with time differences within a preset time threshold can be merged into a single target remote control data set. This target remote control data can then be used to control the target camera.

[0081] This application embodiment calculates the time difference between receiving several first camera remote control data and obtains several second camera remote control data whose time difference is within a preset time threshold. The several second camera remote control data are then merged into one target camera remote control data. After receiving several first camera remote control data transmitted from several cameras, the target remote control data can be obtained accurately and quickly, thereby realizing the control of the target camera.

[0082] Please see Figure 5 In another embodiment, step S102, which describes obtaining a target camera remote control data corresponding to a remote control event based on the time difference of receiving a plurality of first camera remote control data and the plurality of first camera remote control data, includes the following steps S10221-S10223:

[0083] S10221: Calculate the time difference between receiving a plurality of first camera remote control data, and obtain a plurality of second camera remote control data whose time difference is within a preset time threshold.

[0084] Optionally, a number of first camera remote control data are received sequentially within a preset time period, and the time difference between the received number of first camera remote control data is calculated one by one. Then, it is determined whether the time difference is within a preset time threshold, and the number of first camera remote control data whose time difference is within the preset time threshold is used as a number of second camera remote control data.

[0085] S10222: Obtain device information of the camera that transmits the second camera remote control data.

[0086] The device information includes the camera's IP address, MAC address, or socket of the communication channel connected to the camera, which allows the multi-camera control device to identify one or more of the camera's information.

[0087] An IP address (Internet Protocol Address) is a logical address provided by the IP protocol, which assigns a unique address to every network and every host on the Internet.

[0088] The MAC address (Media Access Control Address), also known as the physical address or hardware address, is burned into the EPROM (a type of flash memory chip that can usually be erased and rewritten by a program) of the network interface card (NIC) by the network equipment manufacturer during production. It is used to uniquely identify the device.

[0089] A socket is one end of inter-process communication on a network, providing a mechanism for application-layer processes to exchange data using network protocols. In terms of its position, a socket connects to the application process above and the network protocol stack below. It is the interface through which applications communicate via network protocols, the interface through which applications interact with the network protocol root, and can also be seen as the endpoint in the communication connection between two network applications.

[0090] In this embodiment, the device information of the camera transmitting the second camera remote control data obtained in step S10222 is the socket of the communication channel corresponding to the camera. Specifically, several cameras communicate with a multi-camera control device through their respective communication channels, and a thread is set for each communication channel to monitor the operation of each communication channel. When the first camera remote control data is received on the communication channel, the socket of the corresponding communication channel can be obtained through the thread. At the same time, by calculating the time difference of receiving several first camera remote control data, several second camera remote control data with the time difference within a preset time threshold are obtained, thereby obtaining the device information of the camera transmitting the second camera remote control data.

[0091] S10223: Several second camera remote control data with the same device information of the camera transmitting the second camera remote control data are respectively used as target camera remote control data, and several second camera remote control data with different device information of the camera transmitting the first camera remote control data are merged into one target camera remote control data.

[0092] In one application scenario, within a preset time period, the camera remote control device may experience multiple button presses, generating multiple remote control events and thus multiple sets of first camera remote control data. In this case, the same camera may continuously transmit multiple sets of first camera remote control data within the preset time. Therefore, among several sets of second camera remote control data, it is necessary to determine which sets are transmitted from the same camera. For multiple sets of second camera remote control data transmitted from the same camera, each set needs to be used as a separate target remote control data. Since each camera is connected to a different socket, several sets of second camera remote control data transmitted from cameras connected to the same socket are used as separate target remote control data, while several sets of second camera remote control data transmitted from cameras connected to different sockets are merged into a single target remote control data.

[0093] In this embodiment of the application, among several second camera remote control data that have a time difference within a preset time threshold, the device information of the camera transmitting the second camera remote control data is combined to further identify the target camera remote control data, which can further improve the accuracy of identifying the target camera remote control data.

[0094] The following is in conjunction with the appendix Figure 6 A detailed explanation of the multi-camera control method.

[0095] like Figure 6 As shown, when the multi-camera control device detects a camera connection, it obtains the MAC addresses of all currently connected cameras via multicast. Based on the MAC addresses, it determines whether a corresponding mapping relationship has been established between the currently connected cameras. If no corresponding mapping relationship has been established, it obtains the current IP address of the camera and the corresponding connection socket, configures a camera number for the camera, and establishes a mapping relationship between the camera's MAC address, IP address, corresponding connection socket, and camera number.

[0096] When a remote control event occurs on the camera remote control device, such as when a user presses one of the control buttons, the camera remote control device generates a corresponding camera remote control command, causing it to broadcast first camera remote control data. Several cameras wirelessly connected to the camera remote control device acquire this first camera remote control data within their wireless reception range. These cameras then forward their respective first camera remote control data to a multi-camera control device. The multi-camera control device receives several first camera remote control data packets from the cameras and obtains the corresponding socket for each camera and the time the data was received through a thread. Next, the multi-camera control device imports the first camera remote control data packets, the corresponding sockets for each camera, and the time the data was received into a remote control filter to obtain target camera remote control data corresponding to a remote control event. Finally, the target remote control command is obtained based on the target camera remote control data. Meanwhile, the multi-camera control device obtains the default target camera number, and based on the camera's MAC address, IP address, and the mapping relationship between the corresponding connection socket and the camera number, obtains the socket corresponding to the target camera number. Then, it sends the target remote control command to the target camera through the socket corresponding to the target camera number, thereby realizing the control of the target camera.

[0097] Example 2

[0098] The following are embodiments of the apparatus of this application, which can be used to execute the method described in Embodiment 1 of this application. For details not disclosed in the apparatus embodiments of this application, please refer to the method described in Embodiment 1 of this application.

[0099] Please see Figure 7 This application discloses a multi-camera control device 200, comprising:

[0100] Data receiving module 201 is used to receive several first camera remote control data transmitted by several cameras within a preset time and to obtain the time of receiving several first camera remote control data.

[0101] The target camera remote control data acquisition module 202 is used to obtain a target camera remote control data corresponding to a remote control event based on the time difference of receiving a plurality of first camera remote control data and the plurality of first camera remote control data; wherein, the target camera remote control data is used to indicate sending a target remote control command to the target camera;

[0102] The remote control command sending module 203 is used to send the target remote control command to the target camera.

[0103] This application embodiment receives several first camera remote control data transmitted by several cameras within a preset time period and obtains the time of receiving the several first camera remote control data; based on the time difference of receiving the several first camera remote control data and the several first camera remote control data, it obtains a target camera remote control data corresponding to a remote control event; wherein, the target camera remote control data is used to indicate sending a target remote control command to a target camera; the target remote control command is sent to the target camera, so that each camera can obtain the first camera remote control data, thereby conveniently and quickly realizing the control of any camera and reducing costs.

[0104] In one embodiment, the target camera remote control data acquisition module 202 includes:

[0105] The first calculation module is used to calculate the time difference of receiving a plurality of first camera remote control data, and to obtain a plurality of second camera remote control data whose time difference is within a preset time threshold.

[0106] The first target data acquisition module is used to merge several second camera remote control data into one target camera remote control data.

[0107] In another embodiment, the target camera remote control data acquisition module 202 includes:

[0108] The second calculation module is used to calculate the time difference of receiving a plurality of first camera remote control data, and to obtain a plurality of second camera remote control data whose time difference is within a preset time threshold.

[0109] The device information acquisition module is used to acquire device information of the camera that transmits the second camera remote control data.

[0110] The first target data acquisition module is used to take several second camera remote control data with the same device information of the camera transmitting the second camera remote control data as target camera remote control data, and to merge several second camera remote control data with different device information of the camera transmitting the first camera remote control data into one target camera remote control data.

[0111] In one embodiment, the data receiving module 201 includes:

[0112] The transmission device information acquisition module is used to acquire information about the target transmission device.

[0113] The target data receiving module is used to receive several first camera remote control data transmitted by several cameras corresponding to the target transmission device information within a preset time, and to obtain the time of receiving several first camera remote control data.

[0114] In one embodiment, the data receiving module 201 includes:

[0115] The monitoring module is used to detect when a camera is connected, obtain the device information of the camera, configure a camera number for the camera, and establish a mapping relationship between the device information of the camera and the camera number; wherein, the camera number corresponds to one or more pieces of device information.

[0116] The remote control command transmission module 203 includes:

[0117] The target camera number acquisition module is used to retrieve the target camera number.

[0118] The device information acquisition module is used to obtain the device information of the target camera corresponding to the target camera number based on the mapping relationship between the device information of the camera and the camera number.

[0119] The instruction sending module is used to send the target remote control instruction to the target camera based on the device information of the target camera.

[0120] In one embodiment, the camera's device information further includes the camera's MAC address; the monitoring module includes:

[0121] The MAC address acquisition module is used to obtain the MAC addresses of all currently connected cameras when a camera is detected, and to determine whether a corresponding mapping relationship has been established between the currently connected cameras based on the MAC addresses.

[0122] The mapping relationship establishment module is used to obtain the current device connection information of the camera if the camera does not have a corresponding mapping relationship, configure a camera number for the camera, and establish a mapping relationship between the camera MAC address, the device connection information and the camera number.

[0123] The mapping relationship update module is used to obtain the current device connection information of the camera and the device connection information in the mapping relationship if the camera has already established a corresponding mapping relationship; when the current device connection information of the camera is different from the device connection information in the mapping relationship, the device connection information in the mapping relationship is replaced with the current device connection information, and the mapping relationship corresponding to the MAC address of the camera is updated.

[0124] Example 3

[0125] The following are system embodiments of this application, which can be used to execute the method in Embodiment 1 of this application. For details not disclosed in the system embodiments of this application, please refer to the method in Embodiment 1 of this application.

[0126] Please see Figure 8 This application also provides a multi-camera remote control system 300, including a camera remote control device 301, a plurality of cameras 302, and a multi-camera control device 303; the plurality of cameras 302 are respectively connected to the camera remote control device 301 and the multi-camera control device 303; the camera remote control device 301 is used to send first camera remote control data; the plurality of cameras 302 are used to transmit the collected first camera remote control signal to the multi-camera control device 303; the multi-camera control device 303 executes the method steps of Embodiment 1 shown above, and the specific execution process can be referred to the specific description shown in Embodiment 1, which will not be repeated here.

[0127] Example 4

[0128] The following are embodiments of the device described in this application, which can be used to execute the method described in Embodiment 1 of this application. For details not disclosed in the embodiments of the device described in this application, please refer to the method described in Embodiment 1 of this application.

[0129] Please see Figure 9 This application also provides an electronic device 400, which may specifically be a computer, mobile phone, tablet computer, interactive flat panel, etc. In an exemplary embodiment of this application, the electronic device 400 is a multi-camera control device. The electronic device 400 may include: at least one processor 401, at least one memory 402, at least one display 403, at least one network interface 404, user interface 405, and at least one communication bus 406.

[0130] The user interface 405 is primarily used to provide an input interface for the user and to acquire user input data. Optionally, the user interface 405 may also include a standard wired interface or a wireless interface.

[0131] The network interface 404 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).

[0132] The communication bus 406 is used to enable communication between these components.

[0133] The processor 401 may include one or more processing cores. The processor 401 connects to various parts within the electronic device 400 using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 402, and by calling data stored in the memory 402. Optionally, the processor 401 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 401 may integrate one or more of the following: a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), and a modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor 401.

[0134] The memory 402 may include random access memory (RAM) or read-only memory. Optionally, the memory 402 may include a non-transitory computer-readable storage medium. The memory 402 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 402 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 402 may also be at least one storage device located remotely from the aforementioned processor 401. Figure 9 As shown, the memory 402, which serves as a computer storage medium, may include an operating system, a network communication module, and a user.

[0135] The processor 401 can be used to call the application program of the multi-camera control device stored in the memory 402, and specifically execute the method steps of Embodiment 1 shown above. For the specific execution process, please refer to the detailed description shown in Embodiment 1, which will not be repeated here.

[0136] Example 5

[0137] This application also provides a computer-readable storage medium storing a computer program thereon, the instructions of which are adapted to be loaded by a processor and executed by the method steps of Embodiment 1 shown above. The specific execution process can be found in the detailed description of the embodiments, and will not be repeated here. The device containing the storage medium can be an electronic device such as a personal computer, laptop computer, smartphone, or tablet computer.

[0138] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The components described as separate parts may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0139] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0140] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function selected in one or more boxes.

[0141] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function selected in one or more boxes.

[0142] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0143] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0144] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0145] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0146] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A multi-camera control method, characterized by, The application is applied to a multi-camera control device connected with a plurality of cameras, and comprises the following steps: receiving a plurality of first camera remote control data transmitted by the plurality of cameras within a preset time and obtaining the time of receiving the plurality of first camera remote control data; obtaining a target camera remote control data corresponding to a remote control event according to the time difference of receiving the plurality of first camera remote control data and the plurality of first camera remote control data, wherein the target camera remote control data is used to indicate a target remote control instruction sent to a target camera; sending the target remote control instruction to the target camera.

2. The multi-camera control method of claim 1, wherein the step of obtaining a target camera remote control data corresponding to a remote control event according to the time difference of receiving the plurality of first camera remote control data and the plurality of first camera remote control data comprises: calculating the time difference of receiving the plurality of first camera remote control data, obtaining a plurality of second camera remote control data within a preset time threshold of the time difference, and merging the plurality of second camera remote control data into a target camera remote control data.

3. The multi-camera control method of claim 1, wherein the step of obtaining a target camera remote control data corresponding to a remote control event according to the time difference of receiving the plurality of first camera remote control data and the plurality of first camera remote control data comprises: calculating the time difference of receiving the plurality of first camera remote control data, obtaining a plurality of second camera remote control data within a preset time threshold of the time difference, obtaining the device information of the camera transmitting the second camera remote control data, and merging a plurality of second camera remote control data with the same device information of the camera transmitting the second camera remote control data into a target camera remote control data and merging a plurality of second camera remote control data with different device information of the camera transmitting the first camera remote control data into a target camera remote control data.

4. The multi-camera control method of claim 1, wherein before the step of receiving a plurality of first camera remote control data transmitted by the plurality of cameras within a preset time and obtaining the time of receiving the plurality of first camera remote control data, the method further comprises the following steps: when a camera is connected, obtaining the device information of the camera, configuring a camera number for the camera, and establishing a mapping relationship between the device information of the camera and the camera number, wherein the camera number corresponds to one or more device information; the step of sending the target remote control instruction to the target camera comprises: obtaining a target camera number, obtaining the device information of the target camera corresponding to the target camera number according to the mapping relationship between the device information of the camera and the camera number, and sending the target remote control instruction to the target camera according to the device information of the target camera.

5. The multi-camera control method of claim 4, wherein ​ ​ ​ ​ ​ ​ The target camera remote control data includes a target camera number; The step of obtaining the target camera number includes: Obtaining the target camera number from the target camera remote control data; Or, Obtaining the target camera number according to a default setting.

6. The multi-camera control method of claim 4, wherein: The device information includes device connection information, and the device connection information includes one or both of an IP address of the camera and a socket connected to the camera.

7. The multi-camera control method of claim 6, wherein: The device information further includes a mac address of the camera. When the camera is accessed, the device information of the camera is obtained, the camera is configured with a camera number, and a mapping relationship between the device information of the camera and the camera number is established. When the camera is accessed, the mac addresses of all currently accessed cameras are obtained, and whether all currently accessed cameras have corresponding mapping relationships is determined according to the mac addresses. If the camera does not have a corresponding mapping relationship, the current device connection information of the camera is obtained, the camera is configured with a camera number, and a mapping relationship between the mac address of the camera, the device connection information, and the camera number is established. If the camera has a corresponding mapping relationship, the current device connection information of the camera and the device connection information in the mapping relationship are obtained. When the current device connection information of the camera is different from the device connection information in the mapping relationship, the device connection information in the mapping relationship is replaced with the current device connection information, and the mapping relationship corresponding to the mac address of the camera is updated.

8. The multi-camera control method of any one of claims 1 to 7, wherein: The step of receiving a plurality of first camera remote control data respectively transmitted by a plurality of cameras within a preset time and obtaining the time of receiving the plurality of first camera remote control data includes: Obtaining target transmission device information; Receiving a plurality of first camera remote control data respectively transmitted by a plurality of cameras corresponding to the target transmission device information within a preset time and obtaining the time of receiving the plurality of first camera remote control data.

9. A multi-camera control apparatus, characterized by comprising: The multi-camera control device is connected to a plurality of cameras, and the apparatus includes: A data receiving module for receiving a plurality of first camera remote control data respectively transmitted by a plurality of cameras within a preset time and obtaining the time of receiving the plurality of first camera remote control data; A target data obtaining module for obtaining a target camera remote control data corresponding to a target remote control event according to the time difference of receiving the plurality of first camera remote control data and the plurality of first camera remote control data, wherein the target camera remote control data is used to indicate a target remote control instruction sent to a target camera; A remote control instruction sending module for sending the target remote control instruction to the target camera.

10. A multi-camera remote control system, characterized by: The application comprises several cameras, camera remote control devices and multi-camera control devices; several cameras are connected with the camera remote control devices and the multi-camera control devices; the camera remote control devices are used to send first camera remote control data; several cameras are used to transmit the collected first camera remote control data to the multi-camera control devices; the multi-camera control devices execute the multi-camera control method as claimed in any one of claims 1 to 8.

11. An electronic device comprising a processor and a memory; characterized in that, The memory stores a computer program, which is suitable for being loaded and executed by the processor to execute the multi-camera control method as claimed in any one of claims 1 to 8.

12. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the multi-camera control method as claimed in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method for implementing distant control of digital family network appliance

    CN101136818A

  • Image pickup system, image pickup device and communication system

    JP2001036797A