CN111782664A - Camera management method, device, equipment and medium - Google Patents

Camera management method, device, equipment and medium Download PDF

Info

Publication number
CN111782664A
CN111782664A CN201910969425.6A CN201910969425A CN111782664A CN 111782664 A CN111782664 A CN 111782664A CN 201910969425 A CN201910969425 A CN 201910969425A CN 111782664 A CN111782664 A CN 111782664A
Authority
CN
China
Prior art keywords
camera
data table
information
channel information
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910969425.6A
Other languages
Chinese (zh)
Inventor
师发发
陆天德
雍远东
王昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Yu Vision Mdt Infotech Ltd
Original Assignee
Xi'an Yu Vision Mdt Infotech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Yu Vision Mdt Infotech Ltd filed Critical Xi'an Yu Vision Mdt Infotech Ltd
Priority to CN201910969425.6A priority Critical patent/CN111782664A/en
Publication of CN111782664A publication Critical patent/CN111782664A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/71Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/787Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Abstract

The embodiment of the invention discloses a management method, a management device, management equipment and a management medium of a camera. The method comprises the following steps: according to the configuration information of the camera sent by the mobile equipment, allocating identification information to the camera, and storing the configuration information and the identification information to a first data table; acquiring the searched equipment information of the camera to generate a second data table; generating a third data table according to the first data table and the second data table; the third data table is updated based on the device information change operation of the camera. According to the embodiment of the invention, the configuration information and the equipment information of the camera are automatically stored in the data table, so that the correctness and the fault tolerance of the relevant information of the camera can be ensured by maintaining the data table, and the management effect of the camera is improved.

Description

Camera management method, device, equipment and medium
Technical Field
The embodiment of the invention relates to the technical field of video monitoring, in particular to a management method, a management device, management equipment and a management medium of a camera.
Background
With the general promotion of extra-large projects such as safe cities, intelligent traffic and the like, the camera is widely applied to realize the all-round monitoring of the surrounding environment. In practical application, how to manage a large number of cameras becomes a difficult problem in the technical field of video monitoring at present.
At present, the solutions to the above problems include the following two: firstly, through establishing a camera information base, manually inputting or importing camera basic information into the camera information base, and registering the camera basic information on a VCN platform according to a camera IP address and a camera code of the camera basic information by the camera information base, wherein the camera basic information comprises the camera IP address, the camera code, longitude and latitude and other information; initiating front-end equipment discovery, calling a camera discovery interface to discover unregistered cameras, and calling a camera callback interface to analyze discovery results; supplementing or modifying the camera information according to the analyzed discovery result, and simultaneously writing the complete and correct camera information into a camera information base; performing camera verification; after passing the verification, registering the found unregistered camera information on the VCN platform according to the IP address and the code of the camera; secondly, a website specially storing a camera list for a user is established, a link for accessing a management website is built in the camera, the camera uses a Dynamic Domain Name Server (DDNS) principle, information related to an IP address of the camera is sent to a Web Server of the website at regular time, the Web Server of the website generates the camera list according to the information, the management website obtains the IP address of the camera, a management page of the camera is built in the website, and the page is provided with one or a group of camera lists or links including information such as the Name position of the camera, management authority and the like.
However, the inventors found that the above two solutions have the following problems, respectively: according to the first scheme, when the basic information of the camera is input or imported into the camera information base, manual statistics input is needed, the inaccuracy of the information is greatly increased, and when the IP address of a subsequent camera changes, the basic information base of the camera cannot be updated in time, so that the basic information of the camera is abnormal, and the normal use is influenced; in the second scheme, the camera has no positioning function, so that the position information of the camera needs to be manually input by a user, and if the position is changed or input is wrong, the camera information in the management page is abnormal, and the normal use is influenced.
Disclosure of Invention
The embodiment of the invention provides a management method, a device, equipment and a medium of a camera, which can ensure the correctness and fault tolerance of relevant information of the camera by automatically storing configuration information and equipment information of the camera into a data table so as to maintain the data table, and improve the management effect of the camera.
In a first aspect, an embodiment of the present invention provides a method for managing a camera, where the method includes:
according to configuration information of a camera sent by mobile equipment, allocating identification information to the camera, and storing the configuration information and the identification information to a first data table;
acquiring the searched equipment information of the camera to generate a second data table;
generating a third data table according to the first data table and the second data table;
updating the third data table based on a device information change operation of the camera.
In a second aspect, an embodiment of the present invention further provides a management apparatus for a camera, where the apparatus includes:
the information storage module is used for distributing identification information to the cameras according to the configuration information of the cameras sent by the mobile equipment and storing the configuration information and the identification information into a first data table;
the second data table generating module is used for acquiring the searched equipment information of the camera to generate a second data table;
a third data table generating module, configured to generate a third data table according to the first data table and the second data table;
and the data table updating module is used for updating the third data table based on the equipment information changing operation of the camera.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for managing a video camera according to any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the management method for a camera according to any one of the present invention.
The technical scheme disclosed by the embodiment of the invention has the following beneficial effects:
the method comprises the steps of storing identification information and configuration information distributed according to the configuration information of the camera into a first data table, obtaining equipment information of the searched camera, generating a second data table, generating a third data table from the first data table and the second data table, and updating the third data table based on equipment information change operation of the camera. Therefore, the configuration information and the equipment information of the camera are automatically stored in one data table, so that the correctness and the fault tolerance of the relevant information of the camera can be ensured by maintaining one data table, and the management effect of the camera is improved.
Drawings
FIG. 1 illustrates an application scenario of a camera according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a management method of a camera according to an embodiment of the present invention;
3(a) -3 (b) are schematic diagrams of grouping cameras to be grouped according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of another camera management method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a management apparatus for cameras according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
The embodiment of the invention provides a management method of a camera, aiming at the problems that in the related art, information entry is wrong due to the fact that manual statistics entry is needed for information entry of the camera, and when the IP address of a subsequent camera changes, an information base or an information table storing the camera cannot be updated in time, so that normal use is influenced.
According to the embodiment of the invention, the identification information is distributed to the camera according to the configuration information of the camera, the configuration information and the distributed identification information are stored in the first data table, the searched equipment information of the camera is obtained, the second data table is generated, the third data table is generated from the first data table and the second data table, and the third data table is updated based on the equipment information change operation of the camera. Therefore, the configuration information and the equipment information of the camera are automatically stored in one data table, so that the correctness and the fault tolerance of the relevant information of the camera can be ensured by maintaining one data table, and the management effect of the camera is improved.
For clearly explaining the management method of the camera provided by the embodiment of the present invention, an application scenario of the camera in the embodiment of the present invention is first described with reference to fig. 1.
As shown in fig. 1, an example application scenario 100 includes a plurality of cameras 110, a management server 120, a mobile device 130, and a network 140. Network 140 may include a Local Area Network (LAN), a Wide Area Network (WAN), the Internet, or a combination thereof. In this embodiment, the mobile device 130, the plurality of cameras 110, and the management server 120 perform data interaction via the network 140. Wherein the plurality of cameras 110 and the management server 120 can perform data interaction through wired and/or wireless communication.
A management method, an apparatus, a device, and a medium of a video camera according to an embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
First, a management method of a camera according to an embodiment of the present invention will be specifically described with reference to fig. 2. Fig. 2 is a flow chart of a management method for a camera according to an embodiment of the present invention, which is applicable to a case of managing cameras in a monitoring system, and the method can be executed by a management apparatus for a camera to implement control of a camera management process in a monitoring system, the management apparatus for a camera can be composed of hardware and/or software, and can be generally integrated into a computer device, and the computer device is preferably a management server. The management method of the camera specifically comprises the following steps:
s201, according to the configuration information of the camera sent by the mobile equipment, allocating identification information to the camera, and storing the configuration information and the identification information to a first data table.
The mobile device may be any data processing function device, such as a smartphone, a wearable device, and the like, which is not limited herein.
In the present embodiment, the camera refers to a camera that needs to be added in the monitoring management platform. Wherein the number of cameras may be at least one.
Wherein the configuration information of the camera includes: the MAC address, model, serial number, and installed geographic location of the camera.
For example, after the camera is deployed at a specific location, a technician may perform a scanning operation on feature information set on the camera body using a scanning function of the mobile device to identify information such as a MAC address, a model number, and a serial number of the camera. In addition, the current geographic position can be obtained through a positioning function of the mobile equipment, and the obtained current geographic position is used as the installation geographic position of the camera. Then, the MAC address, model, serial number, and installed geographical location of the camera are sent to a management server, so that the management server assigns an identification information to the camera based on the information of the camera. The identification information may be any information capable of uniquely determining the identity of the camera, such as a number.
In this embodiment, the characteristic information on the camera body may be a two-dimensional code or a barcode, which is not specifically limited herein.
Further, in order to prevent an illegal user from obtaining the data information of the camera by scanning the feature information on the camera body, the embodiment may further encrypt the feature information of the camera by using a hybrid encryption algorithm. Wherein encryption of camera data information can be achieved using a combination of asymmetric encryption algorithms (e.g., RSA encryption algorithm) and symmetric encryption algorithms (e.g., DES encryption algorithm).
In this embodiment, if the geographic position obtained based on the positioning function of the mobile device is inaccurate and has an error, the technician may also perform manual correction to ensure that the installation geographic position of the camera is accurately obtained.
After the identification information is distributed to the cameras, the management server can also store the configuration information and the identification information of the cameras into the first data table so as to lay a foundation for subsequently generating a third data table. Wherein the first data table is stored in a first database in the management server. That is to say, the first database can store a plurality of first data tables according to actual needs, so as to implement unified management on the first data tables.
Specifically, the first data table is shown in table 1 below:
TABLE 1
Figure BDA0002231577710000071
The first data table in the management server is generated in advance, and in this embodiment, only the configuration information and the identification information of the camera need to be stored.
It should be noted that, in the embodiment of the present invention, the data information stored in the first data table may also be updated based on new data information subsequently sent by the mobile device. In addition, when any one of the stored cameras fails, the configuration information and the identification information of the failed camera can be deleted, so that the storage space of the management server is saved, and favorable conditions are provided for the storage of the configuration information and the identification information of other cameras.
In one embodiment of the present invention, after the identification information is allocated to the camera, the management server may further transmit the identification information to the mobile device, so that a technician using the mobile device can mark the identification information at a position near the camera and easy to view according to the received identification information, so as to provide conditions for quickly retrieving an image picture of the camera.
S202, the searched equipment information of the camera is obtained to generate a second data table.
Wherein the device information of the camera includes: the MAC address, model, serial number, IP address and version information of the camera. The version information specifically refers to version information of software in the camera.
For example, when the cameras are deployed to a specific location, and after the technician returns to the monitoring management center, the technician may also perform a search for online cameras in the local network segment or other network segments by triggering a device search function on the monitoring management platform, so as to obtain the searched device information of all cameras including the camera in S101. Then, the management server generates a second data table for each searched camera device based on its own operation rule, and writes the acquired device information of each camera into the corresponding second data table. The second data table may also be generated in advance, and this embodiment does not limit this.
In this embodiment, the second data table is stored in the second database in the management server. That is to say, the second database can store a plurality of second data tables according to actual needs, so as to implement unified management on the second data tables.
Specifically, the second data table is shown in table 2 below:
table 2:
Figure BDA0002231577710000081
the IP address in the device information may be a Dynamic IP address allocated by using a Dynamic Host Configuration Protocol (DHCP), or may be an allocated static IP address, which is not limited in this embodiment.
For example, if 5 online cameras are searched, namely camera a, camera B, camera C, camera D, and camera E, respectively, the management server may generate 5 second data tables based on its own operation rule, and write the acquired device information of the 5 cameras into one second data table, respectively, to obtain the following second data tables:
Figure BDA0002231577710000082
Figure BDA0002231577710000091
s203, generating a third data table according to the first data table and the second data table.
After obtaining the first data table and the second data table, the management server may compare MAC addresses, models, or serial numbers in the first data table and the second data table to determine whether the same camera exists. And if so, integrating the first data table and the second data table of the camera to generate a third data table. Wherein the third data table is stored in a third database in the management server. That is, a plurality of third data tables can be stored in the third database according to actual needs, so as to implement unified management on the third data tables.
Specifically, the generated third data table is shown in table 3 below:
table 3:
Figure BDA0002231577710000092
it should be noted that the second data table is generated by acquiring the device information of the online cameras in the network through the device search function on the monitoring management platform by the technician, and therefore, the second data table is time-efficient. Therefore, the first data table and the second data table of the camera are integrated, and after the third data table is generated, the second data table can be deleted, so that the memory space of the management server is saved.
Further, after the third data table is generated, the cameras in the third data table may be grouped according to a preset grouping rule.
The preset grouping rule may be adaptively set according to actual application requirements, and is not specifically limited herein.
Optionally, according to a preset grouping rule, grouping the cameras in the third data table may be implemented in the following manner:
as a first mode
Determining whether the geographical location of the installation of the camera is included in the established set of cameras based on the geographical location of the installation of the camera;
if yes, adding the camera to a camera group comprising the geographic position where the camera is installed;
and if not, creating a new camera group, and adding the camera to the created new camera group.
There may be one or more established camera groups, which is not limited herein.
That is, whether the geographical location where the cameras are installed is included in the established camera group is determined by comparing the installation area corresponding to the established camera group with the geographical location where the cameras (i.e., the cameras to be grouped) are installed in the third data table. If yes, directly adding the camera to a camera group comprising the geographic position where the camera is installed; and if the group of cameras does not exist, a new camera group is created again, and the cameras are added to the created new camera group so as to realize the grouping of the cameras.
As a second mode
And adding the cameras into the target group according to the target group selected by the user from the established camera groups.
In a specific implementation, the third data table may be displayed on the monitoring management platform in a list form, so that a technician selects a target group from the established cameras according to the displayed list, and adds the cameras to the target group, thereby implementing grouping of the cameras.
For example, as shown in fig. 3(a), there are nine cameras in the third database to which the third data list belongs, if the camera to be grouped corresponding to the third data list is the third camera, then the technician can use the camera group with the fifth camera, the seventh camera, the eighth camera and the ninth camera as the target group, wherein the geographic position of the camera group is the fourth intersection of the east Chang's street and the third database is the fifth camera, the seventh camera, the eighth camera and the ninth camera of the fourth intersection of the east Chang's street and the fourth, then a third camera, a fifth camera, a seventh camera, an eighth camera and a ninth camera are selected, so as to group the third camera, the fifth camera, the seventh camera, the eighth camera and the ninth camera, as shown in fig. 3 (b).
In this embodiment, before adding the camera in the third data table to the corresponding camera group, the monitoring management platform may further send an addition request to the camera, and receive an addition response fed back by the camera, so as to add the camera to the corresponding camera group for management.
After the camera is added to the camera group, the camera can be managed by adopting the existing management mode, and the specific implementation process is not described herein.
And S204, updating the third data table based on the equipment information change operation of the camera.
Since the IP address assigned to a camera may be a dynamic IP, the IP address assigned to the camera changes when a network is disconnected and the network returns to normal. If the continuous use of the third data table of the camera may cause information errors and affect normal use, the third data table of the camera needs to be updated.
In a specific implementation, the management server may automatically trigger the reacquisition of new device information of the camera based on a device information change operation (i.e., an IP address change operation) of the camera. And then updating the second data table according to the acquired new equipment information. And then integrating the second data table and the first data table based on the updated second data table so as to update the third data table of the camera.
In another embodiment of the present invention, the software in the camera may be upgraded according to actual needs, that is, when the software version information in the camera changes, the data stored in the second data table of the camera changes, so as to ensure that the third data table of the camera can be used normally. The management server in this embodiment may automatically trigger reacquiring of new device information of the camera through device information change operation based on the camera, and then update the second data table according to the acquired new device information. And then integrating the second data table and the first data table based on the updated second data table so as to update the third data table of the camera.
That is, updating the third data table based on the device information change operation of the camera includes:
if the version information and/or the IP address of the camera are/is changed, acquiring new equipment information of the camera;
updating the second data table based on the new device information;
and generating a new third data table according to the updated second data table and the first data table.
It should be noted that, in this embodiment, the version information and/or the IP address of the camera may refer to the version information of the camera, or may also be the IP address of the camera; or may be version information and IP address of the camera.
According to the management method of the camera provided by the embodiment of the invention, the identification information and the configuration information distributed according to the configuration information of the camera are stored in the first data table, the searched equipment information of the camera is obtained, the second data table is generated, the first data table and the second data table are generated into the third data table, and the third data table is updated based on the equipment information change operation of the camera. Therefore, the configuration information and the equipment information of the camera are automatically stored in one data table, so that the correctness and the fault tolerance of the relevant information of the camera can be ensured by maintaining one data table, and the management effect of the camera is improved.
As can be seen from the above analysis, the embodiment of the present invention generates the third data table based on the first data table and the second data table of the camera, and updates the third data table based on the device information changing operation of the camera.
In another implementation scenario of the present invention, after the cameras are grouped, an image acquisition request sent by the mobile device may also be received to view image information collected by any of the cameras. The following describes the above-described case of the management method of the camera in the embodiment of the present invention with reference to fig. 4.
Fig. 4 is a schematic flowchart of another camera management method according to an embodiment of the present invention. As shown in fig. 4, the method may include the following:
s401, receiving an image acquisition request sent by the mobile device, wherein the image acquisition request carries the current position of the mobile device or the identification information of the camera.
For example, after the cameras are added to the corresponding camera groups, technicians can also send image acquisition requests by using the mobile terminal according to actual needs to view image information acquired by any camera.
During specific implementation, the current position can be obtained through the positioning function of the mobile equipment, and the position is carried in the image obtaining request and is sent to the management server, so that the management server obtains a corresponding image according to the current position of the mobile equipment carried in the image obtaining request; or, camera identification information input by a technician can be received, so that the identification information is carried in the image acquisition request and is sent to the management server, and the management server can acquire the corresponding image according to the camera identification information carried in the image acquisition request.
S402, acquiring the channel information of the target camera from the third data table according to the image acquisition request.
And S403, feeding back the channel information of the target camera to the mobile equipment so that the mobile equipment displays images according to the channel information of the target camera.
Illustratively, after receiving an image acquisition request sent by the mobile device, the management server parses the image acquisition request to acquire the identification information of the camera or the current position of the mobile device.
In specific implementation, if the identification information of the camera carried in the acquired image acquisition request is analyzed, the target camera can be determined according to the identification information. And then, acquiring the IP address of the target camera from a third data table corresponding to the target camera, acquiring the equipment channel information of the target camera according to the IP address, and feeding back the acquired channel information to the mobile equipment so as to enable the mobile equipment to display images according to the channel information of the target camera.
Or, if the current position of the mobile device is carried in the obtained image obtaining request through analysis, the channel information of all matched cameras can be searched from all third data tables according to the current position of the mobile device and preset matching rules. And then feeding back the plurality of channel information to the mobile equipment, so that after the mobile equipment receives the response message of the server, all the channel information is acquired by analyzing the response message and displayed in a list form, so that a user selects a camera to be viewed from the list according to the requirement of the user, and the image of the camera is skipped to display in a display interface of the mobile equipment.
For example, if the image acquisition request is analyzed, the identification information of the camera is acquired: and if the number is 3, the management server acquires the IP address corresponding to the 3 rd camera from the third data table, acquires channel information based on the IP address, and feeds the channel information back to the mobile equipment, so that the mobile equipment displays the image information of the 3 rd camera according to the channel information.
For another example, when a traffic accident occurs, after the traffic police arrives at the accident scene, all cameras in the located road section can be searched out based on the current position of the mobile device, and the live and recorded videos of all the cameras in the place can be accurately viewed on the mobile device. The traffic police can select the camera with the most suitable angle and distance to inquire the video just before the accident happens.
For another example, after the camera deployment is completed, the person in charge of video monitoring can carry the mobile device to quickly patrol along a predetermined route or at a key position, view the real-time monitoring effect of all nearby cameras, and check whether monitoring dead angles exist.
That is, in this embodiment, if the image acquisition request includes: acquiring channel information of a target camera from the third data table according to the image acquisition request, wherein the channel information comprises the current position of the mobile equipment;
acquiring channel information of at least one camera from the third data table according to a preset matching rule based on the current position of the mobile equipment;
correspondingly, feeding back the channel information of the target camera to the mobile device, so that the mobile device displays an image according to the channel information of the target camera, including:
and feeding back the channel information of the at least one camera to the mobile equipment so as to enable the mobile equipment to display images based on the selection of a user.
If the image acquisition request comprises: and acquiring the target camera channel information from the third data table according to the image acquisition request by using the identification information of the camera, wherein the acquisition comprises the following steps:
analyzing the image acquisition request to acquire identification information of the camera;
acquiring an IP address corresponding to the identification information of the camera from a third data table according to the identification information of the camera, and acquiring channel information of the camera based on the IP address;
correspondingly, feeding back the channel information of the target camera to the mobile device, so that the mobile device displays an image according to the channel information of the target camera, including:
and feeding back the channel information of the camera to the mobile equipment so that the mobile equipment displays images according to the equipment channel information.
Further, if the channel information of the target camera cannot be acquired from the third data table according to the identification information of the camera in the image acquisition request sent by the mobile device, the first data table generating the third data table is searched, whether the first data table has the identification information is determined, and if yes, the third data table is updated based on the data information corresponding to the identification information in the first data table. Then, acquiring channel information of the target camera from the updated third data table based on the identification information of the camera, and feeding back the channel information to the mobile equipment if the channel information of the target camera is acquired; and if the acquisition fails, quitting, and feeding back a prompt message of 'acquisition fails and please check whether the input information is correct' to the mobile equipment. The output form of the prompt message may be voice broadcast, short message, and the like.
According to the management method of the camera provided by the embodiment of the invention, the channel information of the target camera is acquired from the third data table by receiving the image acquisition request sent by the mobile equipment and according to the image acquisition request, and the channel information of the target camera is fed back to the mobile equipment, so that the mobile equipment displays images according to the channel information of the target camera. Therefore, the acquisition of the acquired image of the camera is simpler and more friendly, and the step of manually acquiring the ID address of the equipment is omitted.
In order to achieve the above object, an embodiment of the present invention further provides a management device for a camera.
Fig. 5 is a schematic structural diagram of a management apparatus for cameras according to an embodiment of the present invention. As shown in fig. 5, the management apparatus of a camera according to an embodiment of the present invention includes: an information storage module 511, a second data table generation module 512, a third data table generation module 513 and a data table update module 514.
The information storage module 511 is configured to allocate identification information to a camera according to configuration information of the camera sent by a mobile device, and store the configuration information and the identification information in a first data table;
a second data table generating module 512, configured to acquire the searched device information of the camera to generate a second data table;
a third data table generating module 513, configured to generate a third data table according to the first data table and the second data table;
a data table updating module 514, configured to update the third data table based on the device information changing operation of the camera.
As an optional implementation manner of the embodiment of the present invention, the configuration information of the camera includes: the MAC address, the model, the serial number and the installed geographic position of the camera;
the device information of the camera includes: the MAC address, model, serial number, IP address and version information of the camera.
As an optional implementation manner of the embodiment of the present invention, the management apparatus of the camera further includes: a camera grouping module, wherein;
and the camera grouping module is used for grouping the cameras in the third data table according to a preset grouping rule.
As an optional implementation manner of the embodiment of the present invention, the camera grouping module is specifically configured to:
determining whether the established camera group comprises the geographic position of the installation of the camera based on the geographic position of the installation of the camera;
if yes, adding the camera to a camera group comprising the geographic position where the camera is installed;
if not, a new camera group is created, and the camera is added to the created new camera group; alternatively, the first and second electrodes may be,
and adding the cameras to the target group according to the target group selected by the user from the at least one established camera group.
As an optional implementation manner of the embodiment of the present invention, the data table updating module 514 is specifically configured to:
if the version information and/or the IP address of the camera are/is changed, acquiring new equipment information of the camera;
updating the second data table based on the new device information;
and generating a new third data table according to the updated second data table and the first data table.
As an optional implementation manner of the embodiment of the present invention, the apparatus further includes: the device comprises a receiving module, a channel information acquisition module and a feedback module.
The receiving module is used for receiving an image acquisition request sent by the mobile equipment, wherein the image acquisition request carries the current position of the mobile equipment or the identification information of the camera;
the channel information acquisition module is used for acquiring the channel information of the target camera from the third data table according to the image acquisition request;
and the feedback module is used for feeding back the channel information of the target camera to the mobile equipment so as to enable the mobile equipment to display images according to the channel information of the target camera.
As an optional implementation manner of the embodiment of the present invention, if the image acquisition request includes: a channel information acquisition module, specifically configured to acquire a current location of the mobile device;
acquiring channel information of at least one camera from the third data table according to a preset matching rule based on the current position of the mobile equipment;
correspondingly, the feedback module is specifically configured to:
and feeding back the channel information of the at least one camera to the mobile equipment so as to enable the mobile equipment to display images based on the selection of a user.
As an optional implementation manner of the embodiment of the present invention, if the image acquisition request includes: the identification information of the camera, the channel information obtaining module is further configured to:
analyzing the image acquisition request to acquire identification information of the camera;
acquiring an IP address corresponding to the identification information of the camera from a third data table according to the identification information of the camera, and acquiring channel information of the camera based on the IP address;
correspondingly, the feedback module is further configured to:
and feeding back the channel information of the camera to the mobile equipment so as to enable the mobile equipment to display images according to the channel information.
It should be noted that the foregoing explanation of the embodiment of the camera management method is also applicable to the camera management apparatus of this embodiment, and the implementation principle is similar, and is not described herein again.
The management apparatus for a camera according to the embodiment of the present invention stores identification information and configuration information allocated according to configuration information of the camera in a first data table, acquires device information of the camera obtained by search, generates a second data table, generates a third data table from the first data table and the second data table, and updates the third data table based on a device information change operation of the camera. Therefore, the configuration information and the equipment information of the camera are automatically stored in one data table, so that the correctness and the fault tolerance of the relevant information of the camera can be ensured by maintaining one data table, and the management effect of the camera is improved.
In order to achieve the above object, an embodiment of the present invention further provides a computer device.
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention. FIG. 6 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 6 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 6, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, and for example, implements a management method of a video camera provided by an embodiment of the present invention, including:
according to configuration information of a camera sent by mobile equipment, allocating identification information to the camera, and storing the configuration information and the identification information to a first data table;
acquiring the searched equipment information of the camera to generate a second data table;
generating a third data table according to the first data table and the second data table;
updating the third data table based on a device information change operation of the camera.
It should be noted that the foregoing explanation on the embodiment of the management method for a camera is also applicable to the computer device of this embodiment, and the implementation principle thereof is similar and will not be described herein again.
According to the computer device provided by the embodiment of the invention, the identification information and the configuration information distributed according to the configuration information of the camera are stored in the first data table, the searched device information of the camera is obtained, the second data table is generated, the first data table and the second data table are generated into the third data table, and the third data table is updated based on the device information change operation of the camera. Therefore, the configuration information and the equipment information of the camera are automatically stored in one data table, so that the correctness and the fault tolerance of the relevant information of the camera can be ensured by maintaining one data table, and the management effect of the camera is improved.
In order to achieve the above object, the present invention also provides a computer-readable storage medium.
A computer-readable storage medium provided by an embodiment of the present invention stores thereon a computer program that, when executed by a processor, implements a method of managing a camera according to an embodiment of the present invention, the method including:
according to configuration information of a camera sent by mobile equipment, allocating identification information to the camera, and storing the configuration information and the identification information to a first data table;
acquiring the searched equipment information of the camera to generate a second data table;
generating a third data table according to the first data table and the second data table;
updating the third data table based on a device information change operation of the camera.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for managing cameras, the method comprising:
according to configuration information of a camera sent by mobile equipment, allocating identification information to the camera, and storing the configuration information and the identification information to a first data table;
acquiring the searched equipment information of the camera to generate a second data table;
generating a third data table according to the first data table and the second data table;
updating the third data table based on a device information change operation of the camera.
2. The method of claim 1, wherein the configuration information of the camera comprises: the MAC address, the model, the serial number and the installed geographic position of the camera;
the device information of the camera includes: the MAC address, model, serial number, IP address and version information of the camera.
3. The method of claim 1, further comprising, after generating a third data table from the first data table and the second data table:
determining whether the established camera group comprises the geographic position of the installation of the camera based on the geographic position of the installation of the camera;
if yes, adding the camera to a camera group comprising the geographic position where the camera is installed;
if not, a new camera group is created, and the camera is added to the created new camera group; alternatively, the first and second electrodes may be,
and adding the cameras into the target group according to the target group selected by the user from the established camera groups.
4. The method of claim 1, wherein updating the third data table based on the device information change operation of the camera comprises:
if the version information and/or the IP address of the camera are/is changed, acquiring new equipment information of the camera;
updating the second data table based on the new device information;
and generating a new third data table according to the updated second data table and the first data table.
5. The method according to any one of claims 1-4, further comprising:
receiving an image acquisition request sent by mobile equipment, wherein the image acquisition request carries the current position of the mobile equipment or identification information of a camera;
acquiring channel information of a target camera from the third data table according to the image acquisition request;
and feeding back the channel information of the target camera to the mobile equipment so that the mobile equipment displays images according to the channel information of the target camera.
6. The method of claim 5, wherein if the image acquisition request comprises: acquiring channel information of a target camera from the third data table according to the image acquisition request, wherein the channel information comprises the current position of the mobile equipment;
acquiring channel information of at least one camera from the third data table according to a preset matching rule based on the current position of the mobile equipment;
correspondingly, feeding back the channel information of the target camera to the mobile device, so that the mobile device displays an image according to the channel information of the target camera, including:
and feeding back the channel information of the at least one camera to the mobile equipment so as to enable the mobile equipment to display images based on the selection of a user.
7. The method of claim 5, wherein if the image acquisition request comprises: and acquiring the channel information of the target camera from the third data table according to the image acquisition request by using the identification information of the camera, wherein the channel information comprises:
acquiring an IP address corresponding to the identification information of the camera from a third data table according to the identification information of the camera, and acquiring channel information of the camera based on the IP address;
correspondingly, feeding back the channel information of the target camera to the mobile device, so that the mobile device displays an image according to the channel information of the target camera, including:
and feeding back the channel information of the camera to the mobile equipment so as to enable the mobile equipment to display images according to the channel information.
8. A management apparatus of a camera, comprising:
the information storage module is used for distributing identification information to the cameras according to the configuration information of the cameras sent by the mobile equipment and storing the configuration information and the identification information into a first data table;
the second data table generating module is used for acquiring the searched equipment information of the camera to generate a second data table;
a third data table generating module, configured to generate a third data table according to the first data table and the second data table;
and the data table updating module is used for updating the third data table based on the equipment information changing operation of the camera.
9. A computer device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of managing cameras of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of managing a camera according to any one of claims 1 to 7.
CN201910969425.6A 2019-10-12 2019-10-12 Camera management method, device, equipment and medium Pending CN111782664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910969425.6A CN111782664A (en) 2019-10-12 2019-10-12 Camera management method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910969425.6A CN111782664A (en) 2019-10-12 2019-10-12 Camera management method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN111782664A true CN111782664A (en) 2020-10-16

Family

ID=72755731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910969425.6A Pending CN111782664A (en) 2019-10-12 2019-10-12 Camera management method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN111782664A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115564615A (en) * 2022-09-29 2023-01-03 甘肃阳光校园风险管理服务中心 Campus safety double prevention work service method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282450A (en) * 2007-04-02 2008-10-08 厦门瑞科技术有限公司 Method capable of immediate access and management of network camera
CN101964822A (en) * 2010-10-22 2011-02-02 江苏科技大学 List updating method used for video-frequency display of multiple network cameras
CN103491339A (en) * 2012-06-11 2014-01-01 华为技术有限公司 Video acquisition method, video acquisition equipment and video acquisition system
CN103959277A (en) * 2011-09-08 2014-07-30 施耐德电气It公司 Method and system for displaying a coverage area of a camera in a data center
CN103959278A (en) * 2011-09-08 2014-07-30 施耐德电气It公司 Method and system for associating devices with a coverage area for a camera
CN104994332A (en) * 2015-05-15 2015-10-21 安徽四创电子股份有限公司 Camera discovering and registering method based on BS
CN105656680A (en) * 2016-01-29 2016-06-08 浙江宇视科技有限公司 Method and device for controlling web camera
CN106713840A (en) * 2016-06-28 2017-05-24 腾讯科技(深圳)有限公司 Virtual information display method and device
CN108366233A (en) * 2018-03-30 2018-08-03 深圳市华宝电子科技有限公司 Connection method, device, equipment and the storage medium of web camera
CN108574597A (en) * 2017-08-01 2018-09-25 北京视联动力国际信息技术有限公司 A kind of newer method, apparatus of state and interactive system
CN110147759A (en) * 2019-05-17 2019-08-20 北京迈格威科技有限公司 Target identification method, system, target identification management method and storage medium
CN110166739A (en) * 2019-04-09 2019-08-23 浙江大华技术股份有限公司 Adding method, device, computer equipment and the storage medium of video camera

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282450A (en) * 2007-04-02 2008-10-08 厦门瑞科技术有限公司 Method capable of immediate access and management of network camera
CN101964822A (en) * 2010-10-22 2011-02-02 江苏科技大学 List updating method used for video-frequency display of multiple network cameras
CN103959277A (en) * 2011-09-08 2014-07-30 施耐德电气It公司 Method and system for displaying a coverage area of a camera in a data center
CN103959278A (en) * 2011-09-08 2014-07-30 施耐德电气It公司 Method and system for associating devices with a coverage area for a camera
CN103491339A (en) * 2012-06-11 2014-01-01 华为技术有限公司 Video acquisition method, video acquisition equipment and video acquisition system
CN104994332A (en) * 2015-05-15 2015-10-21 安徽四创电子股份有限公司 Camera discovering and registering method based on BS
CN105656680A (en) * 2016-01-29 2016-06-08 浙江宇视科技有限公司 Method and device for controlling web camera
CN106713840A (en) * 2016-06-28 2017-05-24 腾讯科技(深圳)有限公司 Virtual information display method and device
CN108574597A (en) * 2017-08-01 2018-09-25 北京视联动力国际信息技术有限公司 A kind of newer method, apparatus of state and interactive system
CN108366233A (en) * 2018-03-30 2018-08-03 深圳市华宝电子科技有限公司 Connection method, device, equipment and the storage medium of web camera
CN110166739A (en) * 2019-04-09 2019-08-23 浙江大华技术股份有限公司 Adding method, device, computer equipment and the storage medium of video camera
CN110147759A (en) * 2019-05-17 2019-08-20 北京迈格威科技有限公司 Target identification method, system, target identification management method and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115564615A (en) * 2022-09-29 2023-01-03 甘肃阳光校园风险管理服务中心 Campus safety double prevention work service method

Similar Documents

Publication Publication Date Title
CN107656913B (en) Map interest point address extraction method, map interest point address extraction device, server and storage medium
CN107980217B (en) Method and device for acquiring address of local domain name server and authoritative domain name server
RU2704750C2 (en) Mobile device identification systems and methods
US10107642B2 (en) Map information management and correction of geodata
CN105392178B (en) A kind of method and apparatus for being used to obtain the access information of WAP
CN107295489B (en) Pseudo base station short message identification method, device, equipment and storage medium
US20220391462A1 (en) Providing electronic search and guidance using non-address destination designations
US11818622B1 (en) System and method of using spatial and temporal signals to identify and prevent attacks
CN105574948A (en) Checking-in method and equipment
CN104579830A (en) Service monitoring method and device
CN112511459A (en) Traffic identification method and device, electronic equipment and storage medium
CN113515612B (en) Method and device for identifying black-birth mobile phone number
CN111782664A (en) Camera management method, device, equipment and medium
CN112287010B (en) Map service providing method, device, terminal and storage medium based on android system
US10277869B2 (en) Efficient process for camera call-up
CN114006757B (en) Access control method, device, architecture, medium and equipment for GIS service
CN105184680A (en) GIS-based power grid infrastructure mobile information acquisition and synchronous updating system
US11729246B2 (en) Apparatus and method for determining types of uniform resource locator
CN114338279A (en) Terminal access method and device and server
JP2015125179A (en) Information management system and information management program
CN112449307B (en) Information pushing method and device, server and storage medium
CN104935623B (en) Application management method and update release server
CN111131369B (en) APP use condition transmission method and device, electronic equipment and storage medium
JP7181736B2 (en) Data collection device, data collection system and data collection method
CN105894427A (en) 'One-standard and three-actual' data acquisition method, terminal and system

Legal Events

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