WO2018177155A1 - 摄像机状态获取方法、摄像机及摄像机系统 - Google Patents

摄像机状态获取方法、摄像机及摄像机系统 Download PDF

Info

Publication number
WO2018177155A1
WO2018177155A1 PCT/CN2018/079556 CN2018079556W WO2018177155A1 WO 2018177155 A1 WO2018177155 A1 WO 2018177155A1 CN 2018079556 W CN2018079556 W CN 2018079556W WO 2018177155 A1 WO2018177155 A1 WO 2018177155A1
Authority
WO
WIPO (PCT)
Prior art keywords
camera
cameras
data packet
network
information
Prior art date
Application number
PCT/CN2018/079556
Other languages
English (en)
French (fr)
Inventor
郑明淋
Original Assignee
杭州海康威视数字技术股份有限公司
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 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Publication of WO2018177155A1 publication Critical patent/WO2018177155A1/zh

Links

Images

Classifications

    • 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
    • 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

Definitions

  • the present application relates to the field of monitoring, and in particular, to a camera state acquisition method, a camera, and a camera system.
  • the monitoring network cable will be buried in the underground during the construction and construction process of the community and the street. After the monitoring equipment is installed, the monitoring video can be uploaded in real time through the underground monitoring cable.
  • some underground areas such as communities, streets, and rural areas that were built earlier have not been pre-embedded with monitoring cables. Therefore, if the monitoring equipment is to be installed in these places, the line transformation will be involved, and the cost is high.
  • the surveillance video is stored, and the technician can extract the surveillance video when it needs to obtain the surveillance video.
  • the technician needs to periodically check the status of the above camera, such as detecting whether the camera component of the camera is working properly, whether the storage component is damaged or the like.
  • a wireless network card can be installed in the camera, and the wireless network card can broadcast a wireless signal.
  • the technician can establish a communication connection with the camera through the wireless signal broadcasted by the wireless network card to access the camera and obtain the state of the camera. .
  • the technician Since the wireless signal transmission distance of the wireless network card is limited, the technician needs to operate near each camera when detecting the state of the camera, and the maintenance cost is high.
  • the embodiment of the present application provides a camera state acquisition method, a camera, and a camera system, which can reduce the maintenance cost of the camera.
  • the technical solution is as follows:
  • the first aspect provides a camera state acquisition method, and the camera state acquisition method
  • the camera system includes a first camera and at least one second camera, and the first camera establishes a communication connection with each of the second cameras through a first wireless network,
  • the first camera and the cloud server establish a communication connection through the second wireless network,
  • the first wireless network is a long-distance LORA communication network, and
  • the second wireless network is a mobile communication network, and the method includes:
  • a first camera is provided, the first camera being a camera in a camera system, the camera system comprising the first camera and at least one second camera, the first camera and each camera
  • the second camera establishes a communication connection through the first wireless network
  • the first camera establishes a communication connection with the cloud server through the second wireless network
  • the first wireless network is a long-distance LORA communication network
  • the second wireless The network is a mobile communication network
  • the first camera includes:
  • One or more processors are One or more processors.
  • the memory stores one or more programs, the one or more programs being configured to be executed by the one or more processors, the one or more programs including instructions for:
  • a camera system comprising a first camera and at least one second camera, the first camera and each of the second cameras being connected by a first wireless network,
  • the first camera and the cloud server establish a communication connection through the second wireless network, the first wireless network is a long-distance LORA communication network, and the second wireless network is a mobile communication network;
  • the first camera is configured to send a state acquisition instruction to each of the second cameras, where the state acquisition instruction is used to instruct each of the second cameras to return each of the second cameras to the first camera.
  • Status information is used to instruct each of the second cameras to return each of the second cameras to the first camera.
  • the second camera is configured to receive a state acquisition instruction sent by the first camera, and return a first data packet to the first camera based on the state acquisition instruction, where the first data packet includes the second Status information of the camera;
  • the first camera is further configured to receive the first data packet returned by each of the second cameras, and send a second data packet to the cloud server, where the second data packet includes the first camera At least one of the first data packets received.
  • FIG. 1 is a schematic diagram of a camera system provided by an embodiment of the present application.
  • FIG. 2 is a structural block diagram of a second camera provided by an embodiment of the present application.
  • FIG. 3 is a structural block diagram of a LORA communication component according to an embodiment of the present application.
  • FIG. 4 is a structural block diagram of a first camera according to an embodiment of the present application.
  • FIG. 5 is a flowchart of a method for acquiring a camera state according to an embodiment of the present application.
  • FIG. 6 is a flowchart of a method for acquiring a camera state according to an embodiment of the present application.
  • FIG. 7 is a flowchart of a method for acquiring a camera state according to an embodiment of the present application.
  • FIG. 8 is a structural block diagram of a first camera according to an embodiment of the present application.
  • FIG. 9 is a structural block diagram of a first communication module according to an embodiment of the present application.
  • FIG. 10 is a structural block diagram of a second communication module according to an embodiment of the present application.
  • FIG. 11 is a structural block diagram of a first camera according to an embodiment of the present application.
  • FIG. 12 is a structural block diagram of a second camera according to an embodiment of the present application.
  • FIG. 13 is a structural block diagram of a communication module according to an embodiment of the present application.
  • FIG. 14 is a block diagram of a camera system provided by an embodiment of the present application.
  • FIG. 1 is a camera system provided by an embodiment of the present application.
  • the camera system may include a first camera 110 and at least one second camera 120.
  • the first camera 110 and the second camera 120 may both be cameras with a storage function, that is, the first camera 110 and the second camera 120 may each be provided with a storage component, for example, the storage component may be a memory card or Hard disk, etc.
  • a communication connection can be established between the first camera 110 and each of the second cameras 120 through the first wireless network, and further, the first camera 110 and the cloud server S can pass through.
  • the second wireless network is established with a communication connection, wherein the first wireless network may be a wireless local area network, and the second wireless network may be a wireless wide area network.
  • the first camera 110 can obtain status information of the second camera 120 through a communication connection with the second camera 120, and send the status information to the cloud server S through a communication connection with the cloud server S.
  • the technician can obtain the state information of the camera in the camera system by accessing the cloud server S, thereby reducing the maintenance cost of the camera, and further, since the first camera 110 in different camera systems can send to the same cloud server S
  • the state information of the camera therefore, the embodiment of the present application can deploy a cloud server S for multiple camera systems, which can reduce the hardware deployment cost, thereby reducing the maintenance cost of the camera.
  • a technician may set up one or more cameras with a wide area network communication function and a local area network communication function in a cell, a village, and the like as the first camera 110, and in the area.
  • a plurality of cameras having a LAN communication function are installed as the second camera 120.
  • the first camera 110 is configured to be able to broadcast its own network information
  • the second camera 120 is configured to be able to join the first wireless network where the first camera 110 is located by responding to the network information, or the second camera 120 is
  • the first camera 110 is configured to be able to broadcast request to join the network information
  • the first camera 110 is configured to allow the second camera 120 to join the first wireless network in which the first camera 110 is located by participating in the network information in response to the request.
  • each second camera 120 can join a first wireless network where the first camera 110 is located to form a camera system as shown in FIG. 1 with the first camera 110.
  • the cloud server may send an activation instruction to any one or more of the above cameras.
  • the camera that received the activation command is taken as the first camera 110, and the other cameras are used as the second camera 120.
  • the first camera 110 is configured to be able to broadcast its own network information
  • the second camera 120 is configured to be able to join the first wireless network in which the first camera 110 is located by responding to the network information.
  • the second camera 120 is configured to be able to broadcast request to join network information
  • the first camera 110 is configured to enable the second camera 120 to join the first wireless network in which the first camera 110 is located by participating in the network information in response to the request.
  • each second camera 120 can join a first wireless network where the first camera 110 is located to form a camera system as shown in FIG. 1 with the first camera 110.
  • FIG. 2 is a structural block diagram of a second camera 120 according to an embodiment of the present application.
  • the second camera 120 may include a camera component 1201, a storage component 1202, a camera processor 1203, and a local area network communication component 1204.
  • the camera processor 1203 is connected to the camera component 1201, the storage component 1202, and the local area network communication component 1204, respectively, and the camera component 1201 is connected to the storage component 1202.
  • the camera component 1201 is configured to capture a surveillance video;
  • the storage component 1202 is configured to store the surveillance video captured by the camera component 1201;
  • the camera processor 1203 is configured to acquire state information of the second camera 120, such as an operation state of the camera component 1201, and a storage component 1202.
  • the camera processor 1203 is further configured to send the status information of the second camera 120 to the local area network communication component 1204; the second camera 120 can use the local area network communication component 1204 and the first camera 110 to pass the first A wireless network establishes a communication connection, and receives a status acquisition instruction issued by the first camera 110 through the local area network communication component 1204, and transmits status information of the second camera 120 to the first camera 110 through the local area network communication component 1204.
  • the LAN communication component 1204 can pass the UART (Universal Asynchronous Receiver/Transmitter) interface, the USB (Universal Serial Bus) interface, and the SPI (Serial Peripheral Interface).
  • UART Universal Asynchronous Receiver/Transmitter
  • USB Universal Serial Bus
  • SPI Serial Peripheral Interface
  • An interface or an I2C (Inter-Integrated Circuit) interface or the like is connected to the camera processor 1203, that is, the LAN communication component 1204 can be detachably disposed in the second camera 120 and can support heat. Plug and unplug, so it can be easily replaced when the LAN communication component 1204 fails.
  • the local area network communication component 1204 may be a LORA (Long Range) communication component
  • the first wireless network may be a LORA communication network. Since the LORA communication signal has a long transmission distance (usually several kilometers), a camera system can cover all the cameras installed in a cell or a village, so that, on the one hand, the first camera can be deployed as little as possible.
  • the first camera also needs to have a wide area network communication function, which is lower in cost than the second camera having only the local area network communication function. Therefore, deploying the first camera less can reduce the deployment of the camera system.
  • the foregoing local area network communication component 1204 can also be other types of communication components, and the first wireless network can also be other types of communication networks, which is not specifically limited in this embodiment of the present application.
  • the LORA communication component may include a LORA transceiver chip 12, a switching chip 13, and an antenna 14 that are sequentially connected.
  • the antenna 14 is configured to receive or transmit a LORA communication signal;
  • the switching chip 13 is configured to switch a communication state of the LORA communication component, where the communication state may be a transmitting state or a receiving state;
  • the LORA transceiver chip 12 is configured to receive the antenna 14
  • the electrical signal converted by the LORA communication signal is processed and used to generate an electrical signal for the antenna 14 to convert the generated electrical signal into a LORA communication signal for transmission.
  • the LORA communication component may further include a communication processor 11 that is respectively connectable to the camera processor 1203 and the LORA transceiver chip 12 for respectively receiving the chip 12 with the camera processor 1203 and the LORA. Communicate.
  • the communication processor 11 can be a single chip microcomputer, and when it is a single chip microcomputer, it can pass through an SPI interface, a DIO (Digital Input and Output; digital input and output) interface, and an RST (Intel Rapid Storage Technology) interface. It is connected to the LORA transceiver chip 12.
  • the communication processor 11 can drive the LORA transceiver chip 12 through the SPI interface, can respond to the communication event of the LORA transceiver chip 12 through the DIO interface, and can reset the LORA transceiver chip 12 through the RST interface.
  • the first camera 110 may include a camera component 1101, a storage component 1102, a camera processor 1103, a local area network communication component 1104, and Mobile data communication component 1105.
  • the camera processor 1103 is connected to the camera component 1101, the storage component 1102, the local area network communication component 1104, and the mobile data communication component 1105, respectively, and the camera component 1101 is connected to the storage component 1102.
  • the use, structure, and the like of the imaging unit 1101 and the storage unit 1102 in the first camera 110 are the same as those of the imaging unit 1201 and the storage unit 1202 in the second camera 120 described above.
  • the first camera 110 can establish a communication connection through the first wireless network by using the local area network communication component 1104 and the second camera 120, and can receive the status information sent by the second camera 120 through the local area network communication component 1104, or can go to the second through the local area network communication component 1104.
  • the camera issues a status acquisition command.
  • the structure of the local area network communication component 1104 is the same as that of the local area network communication component 1204 described above, that is, the local area network communication component 1104 can also be a LORA communication component.
  • the camera processor 1103 is configured to acquire state information of the first camera 110, and the camera processor 1103 is further configured to acquire state information of the second camera 120 received by the first camera 110 through the local area network communication component 1104, and the camera processor 1103 may also The status information of the first camera 110 and the second camera 120 is transmitted to the mobile data communication component 1105.
  • the first camera 110 can establish a communication connection with the cloud server S through the second wireless network by using the mobile data communication component 1105, and the first camera 110 can send the status information of the first camera 110 and the second camera 120 to the mobile data communication component 1105 to
  • the second wireless network may be a mobile communication network.
  • the mobile data communication component 1105 can be 4th Generation mobile communication (4G) communication component, 3G (the 3th generation mobile communication technology)
  • 4G the 3th generation mobile communication technology
  • the communication component and the like are not specifically limited in this embodiment of the present application.
  • FIG. 5 is a flowchart of a camera state acquisition method according to an exemplary embodiment.
  • the camera state acquisition method may be applied to the first camera 110 shown in FIG. 1 , as shown in FIG. 5 , the camera state acquisition.
  • the method includes the following steps:
  • Step 501 The first camera sends a status acquisition instruction to each second camera, where the status acquisition instruction is used to instruct each second camera to return status information of each second camera to the first camera.
  • Step 502 The first camera receives a first data packet returned by each second camera, where the first data packet includes status information of the second camera.
  • Step 503 The first camera sends a second data packet to the cloud server, where the second data packet includes at least one first data packet received by the first camera.
  • the camera state acquisition method acquires state information of each second camera through the first camera of the camera system, and sends status information of each second camera to the cloud server, so that The technician can access the cloud server to obtain the state information of the camera in the camera system, so that the technician does not need to operate near each camera when detecting the camera state, thereby reducing the maintenance cost of the camera.
  • FIG. 6 is a flowchart of a method for acquiring a camera state according to an exemplary embodiment, where the camera state acquisition method can be applied to the second camera 120 shown in FIG. 1, as shown in FIG. The method includes the following steps:
  • Step 601 The second camera receives a state acquisition instruction sent by the first camera, where the state acquisition instruction is used to instruct the second camera to acquire state information of the second camera, and send the acquired state information to the first camera.
  • Step 602 The second camera acquires state information of the second camera based on the state acquisition instruction.
  • Step 603 The second camera sends a first data packet to the first camera, where the first data packet includes status information of the second camera, so that the first camera sends a second data packet to the cloud server, where the second data is sent.
  • the package includes at least one first data packet received by the first camera.
  • the camera state acquisition method sends the state information of the second camera to the first camera through the second camera of the camera system, so that the first camera sends the state information to the cloud server.
  • the technician can obtain the state information of the camera in the camera system by accessing the cloud server, so that the technician does not need to operate near each camera when detecting the state of the camera, thereby reducing the maintenance cost of the camera.
  • FIG. 7 is a flowchart of a camera state acquisition method according to an exemplary embodiment.
  • the camera state acquisition method may be applied to the camera system shown in FIG. 1.
  • the camera state acquisition method includes The following steps:
  • Step 701 The second camera is added to the first wireless network where the first camera is located.
  • the first camera and the second camera of the camera system may each be provided with a local area network communication component, and the first camera and the second camera may establish a communication connection through the first wireless network by using the local area network communication component provided in the camera.
  • the local area network communication component may be a LORA communication component
  • the first wireless network may be a LORA communication network.
  • the local area communication component in the first camera and the second camera are both LORA communication.
  • the first wireless network is a LORA communication network as an example to describe the technical procedures of the following steps.
  • the embodiment of the present application provides a manner in which two second cameras join the first wireless network where the first camera is located, where:
  • the first mode is: the first camera broadcasts its own network information, and the second camera joins the first wireless network where the first camera is located by responding to the network information.
  • the technical process of the first mode may include the following sub-steps:
  • the first camera broadcasts its own network information, and the network information includes address information of the first camera.
  • the first camera can broadcast its own network information through the LORA communication component set in itself, so that the second camera can establish a first wireless network connection with the first camera according to the network information.
  • the network information of the first camera may include information such as an identifier of the camera system where the first camera is located and/or a communication frequency band, in addition to the address information of the first camera.
  • the first camera may broadcast the network information when it starts up, or periodically broadcast the network information after startup, and may also broadcast the network information within a preset duration after startup.
  • the embodiment of the present application does not limit the timing at which the first camera broadcasts its own network information.
  • the second camera After receiving the network information broadcast by the first camera, the second camera sends a request to join the first wireless network to the first camera based on the address information of the first camera, and the request for joining the first wireless network carries the address of the second camera. information.
  • the second camera may receive the network information broadcast by the first camera through the LORA communication component set in the second camera, and the second camera receives the network information. After that, the network information can be responded to, that is, the request to join the first wireless network is sent to the first camera through the LORA communication component set in itself.
  • some second cameras that receive the network information may have established a first wireless network connection with other first cameras.
  • the second cameras may not perform the network information.
  • these second cameras may not send a request to the first camera to join the first wireless network.
  • the first camera After receiving the request for joining the first wireless network sent by the second camera, the first camera sends a successful network join receipt to the second camera based on the address information of the second camera.
  • the first camera may send a successful network join receipt to the second camera through the LORA communication component set in the first camera, thereby establishing a first wireless network connection with the second camera.
  • the successful joining network receipt may also carry a communication key, and the communication information between the second camera and the first camera may be encrypted by the communication key, thereby ensuring the second camera and the first camera. Communication between the two.
  • the second camera receives the successful network receipt sent by the first camera.
  • the second mode is: the second camera broadcasts a request to join the network information, and the first camera allows the second camera to join the first wireless network where the first camera is located by adding the network information in response to the request.
  • the technical process of the second mode may include the following sub-steps:
  • the second camera broadcasts a request to join the network information, and the request to join the network information includes the address information of the second camera.
  • the second camera that has not established a communication connection with the first camera may broadcast the joining network information when it starts up, or may periodically broadcast the joining network information after starting, and may also broadcast the joining within a preset duration after startup.
  • Network information and the like the embodiment of the present application does not limit the timing at which the second camera broadcasts the added network information.
  • the second camera can broadcast the above-mentioned joining network information through the LORA communication component set in itself.
  • the first camera After receiving the network information broadcasted by the second camera, the first camera sends the network information to the second camera based on the address information of the second camera, and the successfully added network information includes the address information of the first camera.
  • the first camera that is less than the distance of the LORA communication signal from the second camera can receive the joining network information broadcast by the second camera through the LORA communication component set in the first camera, and the first camera receives the joining network information. After that, the joining network information can be responded to, that is, the network information is successfully added to the second camera through the LORA communication component set in the self to allow the second camera to join the first wireless network where the first camera is located.
  • the second camera receives the successful joining of the network information.
  • the second camera may have been added to the first wireless network where the first camera is located.
  • the embodiment of the present application may not perform the technical process of step 701 described above, but directly Go to step 702.
  • Step 702 The first camera sends a status acquisition instruction to each second camera, where the status acquisition instruction is used to instruct each second camera to return status information of each second camera to the first camera.
  • the first camera may pass the LORA communication component set in itself at intervals, according to the address information of each second camera that establishes a communication connection with the first camera through the first wireless network. And sending, to each of the second cameras, the status acquisition instruction, where the status acquisition instruction is used to indicate that each second camera that receives the status acquisition instruction returns status information of the second camera to the first camera.
  • the first camera may also broadcast the status acquisition command by using the LORA communication component set in the self, and the status acquisition instruction may carry information capable of identifying the first camera, such as The address information of the first camera, the identifier of the camera system where the first camera is located, and the like.
  • the second camera that receives the status acquisition command can determine whether the status acquisition instruction is sent by the first camera that establishes a communication connection with the first wireless network by using the information carried by the status acquisition instruction.
  • the instruction is sent by a first camera that establishes a communication connection with the first wireless network, and the second camera can obtain an instruction in response to the state, if the state acquisition instruction is not the first to establish a communication connection with the first wireless network.
  • the second camera may send an instruction without responding to the status sent by the camera.
  • the technical process of the first camera transmitting a state acquisition instruction to each second camera through the LORA communication component set by itself may be: the camera processor of the first camera generates the state acquisition instruction and sends it to the LORA of the first camera.
  • the communication processor in the communication component the communication processor sends the state acquisition instruction to the LORA transceiver chip, and the LORA transceiver chip generates the first electrical signal based on the state acquisition instruction, and at the same time, the switching chip sets the LORA communication component of the first camera.
  • the communication state is switched to the transmitting state, and then the antenna of the LORA communication component can convert the first electrical signal into the first LORA communication signal and transmit the first LORA communication signal to each of the second cameras.
  • Step 703 After receiving the state acquisition instruction sent by the first camera, the second camera acquires state information of the second camera based on the state acquisition instruction.
  • each second camera in the camera system can receive a state acquisition command sent by the first camera through the LORA communication component set in the camera.
  • the technical process can be: switching in the LORA communication component of the second camera.
  • the chip switches the communication state of the LORA communication component to the receiving state, and then the antenna of the LORA communication component receives the first LORA communication signal sent by the first camera, and converts the first LORA communication signal into the first electrical signal, the first
  • the LORA communication signal carries the above state acquisition instruction.
  • the LORA transceiver chip processes the first electrical signal to obtain a state acquisition command carried by the first LORA communication signal, and then the LORA transceiver chip can send the state acquisition instruction to the communication processor, and the state processor acquires the state acquisition instruction. Sended to the camera processor, after receiving the state acquisition instruction, the camera processor can access the camera component and the storage component of the second camera to obtain state information of the second camera.
  • the status information of the second camera may include information about the working state of the camera component of the second camera, the working state of the storage component, and the monitoring video shooting duration, etc., which can reflect the working state of the second camera. This is not specifically limited.
  • Step 704 The second camera sends the first data packet to the first camera according to the address information of the first camera.
  • the second camera may encapsulate the status information into a first data packet, and send the first data packet to the first camera through the LORA communication component set in itself.
  • the second camera may separately encapsulate each type of information included in the state information into a data packet, and each data packet carries an identifier corresponding to the information.
  • the state information of the second camera may include three types of information, namely, the working state of the camera component, the working state of the storage component, and the monitoring video shooting duration, and the second camera may operate the camera component,
  • the three types of information of the working state of the storage component and the monitoring video shooting duration are respectively encapsulated into data packets, and each of the encapsulated data packets carries a corresponding identifier and an identifier mask, and then the second camera can pass through itself.
  • the set LORA communication component sends the encapsulated 3 data packets to the first camera.
  • the second camera may further encapsulate the multiple types of information included in the status information into a data packet in a preset order.
  • the encapsulated data packet may carry the data packet included in the data packet.
  • the identifier and identifier mask of each type of information, and the number of types of information included in the data packet may also be carried in the data packet.
  • the identifier mask may be calculated based on the identifier and the status information corresponding to the identifier in the data packet, or the identifier mask may be preset by a technician, and the first camera is receiving. After the above data packet, it can be determined whether the identifier mask is correct. If the identifier mask is correct, the data packet is received correctly. If the identifier mask is incorrect, the data packet receiving error is indicated.
  • the technical process of the first camera transmitting the first data packet to the first camera by using the LORA communication component provided in the second camera may be: the camera processor of the second camera packages the acquired state information of the second camera. Obtaining a first data packet, and then the camera processor of the second camera sends the first data packet to the communication processor of the LORA communication component, and the first data packet is sent by the communication processor to the LORA transceiver chip Then, the LORA transceiver chip can generate a second electrical signal based on the first data packet, and at the same time, the switching chip can switch the communication state of the LORA communication component to the transmitting state, and the antenna of the LORA communication component can convert the second electrical signal into The second LORA communication signal transmits the second LORA communication signal to the first camera.
  • Step 705 The first camera generates a third data packet, where the third data packet includes status information of the first camera.
  • the first camera may perform the foregoing step 705 before performing step 702, or may perform step 705 after performing step 702, and may also perform step 705 while performing step 702.
  • the first camera may also perform step 702 instead of step 705.
  • the embodiment of the present application does not specifically limit this.
  • Step 706 The first camera generates a second data packet, where the second data packet includes at least one first data packet received by the first camera.
  • the first camera may receive the first data packet sent by the second camera in step 704 through the LORA communication component set in the self.
  • the technical process may be: the switching chip of the LORA communication component of the first camera is the LORA of the first camera.
  • the communication state of the communication component is switched to the receiving state, and then the antenna of the LORA communication component can receive the second LORA communication signal sent by the second camera and convert the second LORA communication signal into a second electrical signal, wherein the second LORA
  • the communication signal carries the first data packet, and thereafter, the LORA transceiver chip can process the second electrical signal to obtain the first data packet carried by the second LORA communication signal.
  • the first camera After receiving the first data packet sent by the second camera, the first camera may obtain an identifier and an identifier mask carried by the data packet, and the first camera may determine that the identifier and the identifier mask are correct, Get the first packet. Then, the first camera may generate a second data packet, where the second data packet may include a first data packet sent by all or a part of the second camera that establishes a communication connection with the first camera through the first wireless network, of course, In a practical application, the second data packet may further include a third data packet.
  • Step 707 The first camera sends a second data packet to the cloud server.
  • the first camera may be provided with a mobile data communication component. After generating the second data packet, the first camera may send the second data packet to the cloud server through the mobile data communication component.
  • the first camera may integrate the first data packet and the third data packet sent by all or a part of the second cameras that establish a communication connection with the first wireless network to generate the second data packet, and send the second data packet.
  • the technician can obtain the state information of all or part of the cameras in the camera system only by accessing the cloud server. This method not only reduces the maintenance cost of the camera, but also simplifies the maintenance process of the camera.
  • the camera state acquisition method acquires state information of each second camera through the first camera of the camera system, and sends status information of each second camera to the cloud server, so that The technician can access the cloud server to obtain the state information of the camera in the camera system, so that the technician does not need to operate near each camera when detecting the state of the camera, thereby reducing the maintenance cost of the camera.
  • FIG. 8 is a structural block diagram of a first camera 800, which is a first camera in the camera system of FIG. 1 according to an exemplary embodiment. As shown in FIG. 8, the first camera 800 includes : a first communication module 801 and a second communication module 802.
  • the first communication module 801 is configured to send a state acquisition instruction to each of the second cameras, where the state acquisition instruction is used to instruct each of the second cameras to return each of the second cameras to the first camera. Status information of the camera.
  • the first communication module 801 is further configured to receive a first data packet returned by each of the second cameras, where the first data packet includes status information of the second camera.
  • the second communication module 802 is configured to send a second data packet to the cloud server, where the second data packet includes at least one of the first data packets received by the first camera.
  • the first communication module 801 is further configured to: broadcast network information of the first camera, where the network information includes address information of the first camera; for each of the second Receiving, by the camera, a request for joining the first wireless network, where the request for joining the first wireless network carries the address information of the second camera, where the request for joining the first wireless network is the first And transmitting, by the second camera, the address information of the first camera after receiving the network information broadcast by the first camera; and for each of the second cameras, according to the address information of the second camera, The second camera sends a successful join network receipt; for each of the second cameras, the status acquisition instruction is sent to the second camera based on the address information of the second camera.
  • the first communication module 801 includes a LORA communication sub-module 8011.
  • the first communication module 801 is configured to send the status acquisition instruction to each second camera by using the LORA communication sub-module 8011.
  • the first communication module 801 is configured to receive each through the LORA communication sub-module 8011. Status information sent by the second camera.
  • the LORA communication sub-module 8011 is detachably mounted in the first camera.
  • the LORA communication sub-module 8011 includes a LORA transceiver chip, a switching chip, and an antenna that are sequentially connected.
  • the first communication module 801 is configured to: generate, by the LORA transceiver chip, a first electrical signal based on the state acquiring instruction; and switch the communication state of the LORA communication submodule to a transmitting state by using the switching chip.
  • the communication state includes a transmission state or a reception state; the first electrical signal is converted into a first LORA communication signal by the antenna, and the first LORA communication signal is transmitted to each second camera through the antenna.
  • the first communication module 801 is configured to: switch, by using the switching chip, a communication state of the LORA communication submodule to a receiving state, where the communication state includes a transmitting state or a receiving state; Receiving, by the antenna, a second LORA communication signal sent by each second camera, and converting the second LORA communication signal into a second electrical signal by using the antenna, the second LORA communication signal carrying the first data packet; transmitting and receiving by the LORA The chip processes the second electrical signal to obtain a first data packet carried by the second LORA communication signal.
  • the second communication module 802 includes a mobile data communication sub-module 8021.
  • the second communication module 802 is configured to send the second data packet to the cloud server by using the mobile data communication submodule 8021.
  • the mobile data communication sub-module 8021 is a fourth generation mobile communication technology 4G communication sub-module.
  • FIG. 11 is a structural block diagram of another first camera 1100 according to an exemplary embodiment. As shown in FIG. 11, the first camera 1100 includes, in addition to the modules included in the first camera 800 in FIG. A generation module 803 is included.
  • the generating module 803 is configured to generate a third data packet, where the third data packet includes status information of the first camera.
  • the generating module 803 is further configured to generate the second data packet, where the second data packet includes the third data packet and at least one of the first data packets received by the first camera.
  • the first camera obtained by the embodiment of the present application obtains the status information of each second camera, and sends the status information of each second camera to the cloud server, so that the technician can access the cloud server.
  • the state information of the camera in the camera system is obtained, so that the technician does not need to operate near each camera when detecting the state of the camera, thereby reducing the maintenance cost of the camera.
  • FIG. 12 is a structural block diagram of a second camera 1200 according to an exemplary embodiment.
  • the second camera 1200 is a second camera in the camera system of FIG. 1.
  • the second camera 1200 includes : Communication module 12001 and acquisition module 12002.
  • the communication module 12001 is configured to receive a state acquisition instruction sent by the first camera, where the state acquisition instruction is used to instruct the second camera to acquire state information of the second camera, and send the acquired state information to the first Camera.
  • the obtaining module 12002 is configured to acquire state information of the second camera based on the state acquiring instruction.
  • the communication module 12001 is further configured to send a first data packet to the first camera, where the first data packet includes status information of the second camera, so that the first camera sends a second data packet to the cloud server, where the The two data packets include at least one of the first data packets received by the first camera.
  • the communication module 12001 is further configured to: receive network information broadcast by the first camera, where the network information includes address information of the first camera; and based on address information of the first camera A camera sends a request to join the first wireless network, and the request for joining the first wireless network carries the address information of the second camera; receiving the successfully added network receipt sent by the first camera, the successful joining the network receipt is the first camera After receiving the request to join the first wireless network, the information is sent based on the address information of the second camera.
  • the communication module 12001 is configured to: send the first data packet to the first camera according to the address information of the first camera.
  • the communication module 12001 includes a LORA communication sub-module 120011.
  • the communication module 12001 is configured to receive, by the LORA communication submodule 120011, a state acquisition instruction sent by the first camera.
  • the communication module 12001 is configured to send the first data packet to the first camera by using the LORA communication sub-module 12011.
  • the LORA communication sub-module 120011 is detachably mounted in the second camera.
  • the LORA communication submodule 120011 includes a LORA transceiver chip, a switching chip, and an antenna that are sequentially connected.
  • the communication module 12001 is configured to: switch, by the switching chip, the communication state of the LORA communication submodule to a receiving state, where the communication state includes a transmitting state or a receiving state; receiving the first camera by using the antenna Transmitting a first LORA communication signal, and converting the first LORA communication signal into a first electrical signal by using the antenna, the first LORA communication signal carrying the state acquisition instruction; and the first electrical signal by the LORA transceiver chip Processing is performed to obtain the state acquisition instruction carried by the first LORA communication signal.
  • the communication module 12001 is configured to: generate, by the LORA transceiver chip, a second electrical signal based on the first data packet; and switch, by using the switching chip, the communication state of the LORA communication submodule to a transmitting state, the communication state comprising a transmitting state or a receiving state; converting the second electrical signal into a second LORA communication signal by the antenna, and transmitting the second LORA communication signal to the first camera through the antenna.
  • the second camera provided by the embodiment of the present application sends the status information to the first camera to enable the first camera to send the status information to the cloud server, so that the technician can access the cloud server.
  • a first camera please refer to FIG. 4.
  • the first camera may at least include: a camera processor 1103, a local area network communication component 1104, a mobile data communication component 1105, and a storage component 1102, wherein:
  • the storage component 1102 stores one or more programs that are configured to be executed by the camera processor 1103 and configured to be executed by the camera processor 1103 by executing the above-described programs to perform the first camera described above. Camera state acquisition method.
  • the local area network communication component 1104 is for communicating with the second camera under the control of the camera processor 1103.
  • the mobile communication component 1105 is configured to communicate with the cloud server under the control of the camera processor 1103.
  • the first camera obtained by the embodiment of the present application obtains the status information of each second camera, and sends the status information of each second camera to the cloud server, so that the technician can access the cloud server.
  • the state information of the camera in the camera system is obtained, so that the technician does not need to operate near each camera when detecting the state of the camera, thereby reducing the maintenance cost of the camera.
  • the second camera may include at least a camera processor 1203, a local area network communication component 1204, and a storage component 1202, where:
  • the storage component 1202 stores one or more programs that are configured to be executed by the camera processor 1203 and configured by the camera processor 1203 to perform the second camera in the various embodiments described above by executing the above-described programs.
  • the camera state acquisition method executed.
  • the local area network communication component 1204 is configured to communicate with the first camera under the control of the camera processor 1203.
  • the second camera provided by the embodiment of the present application sends the status information to the first camera to enable the first camera to send the status information to the cloud server, so that the technician can access the cloud server.
  • FIG. 14 is a block diagram of a camera system 1400, according to an exemplary embodiment.
  • the camera system 1400 includes a first camera 14001 and a second camera 14002.
  • the first camera 14001 is configured to perform the operations performed by the first camera in the embodiment shown in FIG.
  • the second camera 14002 is configured to perform the operations performed by the second camera in the embodiment shown in FIG.
  • the camera system provided by the embodiment of the present invention sends the status information of the camera to the first camera through the second camera, so that the first camera sends the status information to the cloud server, so that the technician can access the cloud.
  • the server obtains the state information of the camera in the camera system, so that the technician does not need to operate near each camera when detecting the state of the camera, thereby reducing the maintenance cost of the camera.
  • first camera and the second camera provided by the foregoing embodiments are only illustrated by the division of the foregoing functional modules when performing the camera state acquisition method. In actual applications, the foregoing functions may be allocated according to needs. Different functional modules are completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • first camera and the second camera provided by the foregoing embodiments are in the same concept as the camera state acquisition method embodiment, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • a non-transitory computer readable storage medium comprising instructions, such as a memory comprising instructions executable by a camera processor of a first camera or a second camera to complete the camera State method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)

Abstract

本申请公开了一种摄像机状态获取方法、摄像机及摄像机系统,属于监控领域。所述方法包括:向每个第二摄像机发送状态获取指令;接收每个第二摄像机返回的第一数据包,第一数据包包括第二摄像机的状态信息;向云端服务器发送第二数据包,第二数据包包括第一摄像机接收到的至少一个第一数据包。本申请通过第一摄像机获取每个第二摄像机的状态信息,并将每个第二摄像机的状态信息发送至云端服务器中,使得技术人员可以通过访问云端服务器而获取摄像机系统中摄像机的状态信息,这样,技术人员在检测摄像机状态时不需要到每一台摄像机附近进行操作,从而降低了对摄像机的维护成本。

Description

摄像机状态获取方法、摄像机及摄像机系统
本申请要求于2017年3月28日提交中国国家知识产权局、申请号为201710193425.2、发明名称为“摄像机状态获取方法、摄像机及摄像机系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及监控领域,特别涉及一种摄像机状态获取方法、摄像机及摄像机系统。
背景技术
当前,在小区、街道等人员活动密集区域安装监控设备已经成为保障人民群众安全、震慑不法分子的重要手段。
在实际应用中,为了便于后续安装监控设备,小区、街道等在施工建造的过程中就会在地下埋设监控网线,监控设备安装之后即可通过地下埋设的监控网线实时上传监控视频。然而,一些建成时间较早的小区、街道,以及农村等偏远区域的地下并没有预先埋设监控网线,因此,若要在这些地方安装监控设备就要涉及到线路改造,其成本较高。为了降低成本,在上述一些建成时间较早的小区、街道,以及农村等偏远区域中,通常可以利用带有存储功能的摄像机来实现监控,带有存储功能的摄像机不需要通过监控网线实时上传拍摄的监控视频,而是将其存储起来,技术人员可以在需要获取监控视频时,再对监控视频进行提取。在实际应用中,为了保证监控可靠,技术人员需要定期检测上述摄像机的状态,如检测摄像机的摄像组件是否正常工作,存储组件是否损坏等。
相关技术中,上述摄像机中可以安装无线网卡,该无线网卡可以广播无线信号,技术人员检测摄像机状态时,可以通过该无线网卡广播的无线信号与摄像机建立通信连接,以访问摄像机,获取摄像机的状态。
由于无线网卡广播的无线信号传输距离有限,因此,技术人员在检测摄像机状态时,需要到每一台摄像机附近进行操作,维护成本较高。
发明内容
本申请实施例提供了一种摄像机状态获取方法、摄像机及摄像机系统,能够降低摄像机的维护成本。所述技术方案如下:
第一方面,提供了一种摄像机状态获取方法,该摄像机状态获取方法
用于摄像机系统中的第一摄像机中,所述摄像机系统包括第一摄像机和至少一个第二摄像机,所述第一摄像机与每个所述第二摄像机通过第一无线网络建立有通信连接,所述第一摄像机与云端服务器通过第二无线网络建立有通信连接,所述第一无线网络为长距离LORA通信网络,所述第二无线网络为移动通信网络,所述方法包括:
向每个所述第二摄像机发送状态获取指令,所述状态获取指令用于指示每个所述第二摄像机向所述第一摄像机返回每个所述第二摄像机的状态信息;
接收每个所述第二摄像机返回的第一数据包,所述第一数据包包括所述第二摄像机的状态信息;
向所述云端服务器发送第二数据包,所述第二数据包包括所述第一摄像机接收到的至少一个所述第一数据包。
第二方面,提供了一种第一摄像机,所述第一摄像机为摄像机系统中的摄像机,所述摄像机系统包括所述第一摄像机和至少一个第二摄像机,所述第一摄像机与每个所述第二摄像机通过第一无线网络建立有通信连接,所述第一摄像机与云端服务器通过第二无线网络建立有通信连接,所述第一无线网络为长距离LORA通信网络,所述第二无线网络为移动通信网络,所述第一摄像机包 括:
一个或多个处理器;和
存储器;
所述存储器存储有一个或多个程序,所述一个或多个程序被配置成由所述一个或多个处理器执行,所述一个或多个程序包含用于进行以下操作的指令:
向每个所述第二摄像机发送状态获取指令,所述状态获取指令用于指示每个所述第二摄像机向所述第一摄像机返回每个所述第二摄像机的状态信息;
接收每个所述第二摄像机返回的第一数据包,所述第一数据包包括所述第二摄像机的状态信息;
向所述云端服务器发送第二数据包,所述第二数据包包括所述第一摄像机接收到的至少一个所述第一数据包。
第三方面,提供了一种摄像机系统,所述摄像机系统包括第一摄像机和至少一个第二摄像机,所述第一摄像机与每个所述第二摄像机通过第一无线网络建立有通信连接,所述第一摄像机与云端服务器通过第二无线网络建立有通信连接,所述第一无线网络为长距离LORA通信网络,所述第二无线网络为移动通信网络;
所述第一摄像机,用于向每个所述第二摄像机发送状态获取指令,所述状态获取指令用于指示每个所述第二摄像机向所述第一摄像机返回每个所述第二摄像机的状态信息;
所述第二摄像机,用于接收所述第一摄像机发送的状态获取指令,并基于所述状态获取指令向所述第一摄像机返回第一数据包,所述第一数据包包括所述第二摄像机的状态信息;
所述第一摄像机,还用于接收每个所述第二摄像机返回的所述第一数据包,并向所述云端服务器发送第二数据包,所述第二数据包包括所述第一摄像机接收到的至少一个所述第一数据包。
本申请实施例提供的技术方案带来的有益效果是:
通过摄像机系统的第一摄像机获取每个第二摄像机的状态信息,并将每个第二摄像机的状态信息发送至云端服务器中,使得技术人员可以通过访问云端服务器以获取摄像机系统中摄像机的状态信息,这样技术人员在检测摄像机状态时不需要到每一台摄像机附近进行操作,从而降低了对摄像机的维护成本。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种摄像机系统的示意图。
图2是本申请实施例提供的一种第二摄像机的结构框图。
图3是本申请实施例提供的一种LORA通信组件的结构框图。
图4是本申请实施例提供的一种第一摄像机的结构框图。
图5是本申请实施例提供的一种摄像机状态获取方法的流程图。
图6是本申请实施例提供的一种摄像机状态获取方法的流程图。
图7是本申请实施例提供的一种摄像机状态获取方法的流程图。
图8是本申请实施例提供的一种第一摄像机的结构框图。
图9是本申请实施例提供的一种第一通信模块的结构框图。
图10是本申请实施例提供的一种第二通信模块的结构框图。
图11是本申请实施例提供的一种第一摄像机的结构框图。
图12是本申请实施例提供的一种第二摄像机的结构框图。
图13是本申请实施例提供的一种通信模块的结构框图。
图14是本申请实施例提供的一种摄像机系统的框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
图1是本申请实施例提供的一种摄像机系统,如图1所示,该摄像机系统可以包括一个第一摄像机110和至少一个第二摄像机120。第一摄像机110和第二摄像机120可以均为带有存储功能的摄像机,也即是,第一摄像机110和第二摄像机120中均可以设置有存储组件,例如,该存储组件可以为存储卡或硬盘等。
在图1所示的摄像机系统中,第一摄像机110和每一个第二摄像机120之间均可以通过第一无线网络建立有通信连接,此外,第一摄像机110和云端服务器S之间还可以通过第二无线网络建立有通信连接,其中,第一无线网络可以为无线局域网,第二无线网络可以为无线广域网。在实际应用中,第一摄像机110可以通过与第二摄像机120间的通信连接获取第二摄像机120的状态信息,并将该状态信息通过与云端服务器S间的通信连接发送至云端服务器S中。这样,技术人员通过访问云端服务器S就可以获取摄像机系统中的摄像机的状态信息,从而降低了对摄像机的维护成本,此外,由于不同的摄像机系统中的第一摄像机110可以向同一云端服务器S发送摄像机的状态信息,因此,本申请实施例可以针对多个摄像机系统部署一台云端服务器S,这样可以降低硬件部署成本,从而降低摄像机的维护成本。
需要说明的是,在实际应用中,技术人员可以在小区、村庄等区域中架设一台或多台同时带有广域网通信功能和局域网通信功能的摄像机作为上述第一摄像机110,并在该区域中架设多台具有局域网通信功能的摄像机作为上述第二摄像机120。其中,第一摄像机110被配置为能够广播自身的网络信息,而第二摄像机120被配置为能够通过响应上述网络信息从而加入第一摄像机110所在的第一无线网络,或者,第二摄像机120被配置为能够广播请求加入网络信息,而第一摄像机110被配置为能够通过响应上述请求加入网络信息而允许第二摄像机120加入第一摄像机110所在的第一无线网络。在实际应用中, 每一第二摄像机120均可以加入一个第一摄像机110所在的第一无线网络,以与该第一摄像机110组成如图1所示的摄像机系统。
当然,在实际应用中,上述区域中架设的所有摄像机可以均为同时带有广域网通信功能和局域网通信功能的摄像机,在这种情况下,云端服务器可以向上述任一个或多个摄像机发送激活指令,并将接收到激活指令的摄像机作为第一摄像机110,而其他的摄像机作为第二摄像机120。与上文叙述同理地,该第一摄像机110被配置为能够广播自身的网络信息,而第二摄像机120被配置为能够通过响应上述网络信息从而加入第一摄像机110所在的第一无线网络,或者,第二摄像机120被配置为能够广播请求加入网络信息,而第一摄像机110被配置为能够通过响应上述请求加入网络信息而允许第二摄像机120加入第一摄像机110所在的第一无线网络。在实际应用中,每一第二摄像机120均可以加入一个第一摄像机110所在的第一无线网络,以与该第一摄像机110组成如图1所示的摄像机系统。
图2是本申请实施例提供的一种第二摄像机120的结构框图,如图2所示,该第二摄像机120可以包括摄像组件1201、存储组件1202、摄像机处理器1203和局域网通信组件1204。其中,摄像机处理器1203与摄像组件1201、存储组件1202和局域网通信组件1204分别相连,摄像组件1201与存储组件1202相连。上述摄像组件1201用于拍摄监控视频;存储组件1202用于存储摄像组件1201拍摄的监控视频;摄像机处理器1203用于获取第二摄像机120的状态信息,如摄像组件1201的工作状态、存储组件1202的工作状态和监控视频拍摄时长等;摄像机处理器1203还用于将第二摄像机120的状态信息发送至局域网通信组件1204中;第二摄像机120可以利用局域网通信组件1204与第一摄像机110通过第一无线网络建立通信连接,并通过局域网通信组件1204接收第一摄像机110下发的状态获取指令,以及通过局域网通信组件1204将第二摄像机120的状态信息发送至第一摄像机110中。
在实际应用中,局域网通信组件1204可以通过UART(Universal  Asynchronous Receiver/Transmitter,通用异步收发传输器)接口、USB(Universal Serial Bus,通用串行总线)接口、SPI(Serial Peripheral Interface,串行外设)接口或I2C(Inter-Integrated Circuit,两线式串行总线)接口等与摄像机处理器1203连接,也即是,局域网通信组件1204可以可拆卸地设置于第二摄像机120中,并可以支持热插拔,因此,当局域网通信组件1204出现故障时可以方便地对其进行更换。
在本申请的一个实施例中,上述局域网通信组件1204可以为LORA(Long Range,长距离)通信组件,上述第一无线网络可以为LORA通信网络。由于LORA通信信号传输距离较长(通常可为几千米左右),因此,一个摄像机系统可以覆盖一个小区或一个村庄中架设的所有摄像机,这样,一方面,可以尽量少地部署第一摄像机,由于第一摄像机除了具有局域网通信功能外,还需要具有广域网通信功能,其相较于只具有局域网通信功能的第二摄像机而言成本较低,因此,少部署第一摄像机可以降低摄像机系统的部署成本,另一方面,由于LORA通信信号传输距离较长,因此,在摄像机系统中可以不需要部署中继设备,这也能降低摄像机系统的部署成本。当然,在实际应用中,上述局域网通信组件1204还可以为其他类型的通信组件,上述第一无线网络也可以为其他类型的通信网络,本申请实施例对此不作具体限定。
下面,本申请实施例仅以局域网通信组件1204为LORA通信组件为例进行说明。如图3所示,该LORA通信组件可以包括依次连接的LORA收发芯片12、切换芯片13和天线14。其中,天线14用于接收或发射LORA通信信号;切换芯片13用于切换LORA通信组件的通信状态,其中,该通信状态可以为发射状态或接收状态;LORA收发芯片12用于对天线14接收到的LORA通信信号转化的电信号进行处理,并用于生成电信号以使天线14将该生成的电信号转化为LORA通信信号发射出去。在实际应用中,该LORA通信组件还可以包括通信处理器11,该通信处理器11可以与摄像机处理器1203和LORA收发芯片12分别连接,其用于分别与摄像机处理器1203和LORA收发 芯片12进行通信。
在实际应用中,通信处理器11可以为单片机,当其为单片机时,其可以通过SPI接口、DIO(Digital Input and Output;数字输入输出)接口和RST(Intel Rapid Storage Technology,英特尔快速存储)接口与LORA收发芯片12连接。通信处理器11可以通过SPI接口驱动该LORA收发芯片12,可以通过DIO接口响应LORA收发芯片12的通信事件,可以通过RST接口对LORA收发芯片12进行复位。
图4是本申请实施例提供的一种第一摄像机110的结构框图,如图4所示,该第一摄像机110可以包括摄像组件1101、存储组件1102、摄像机处理器1103、局域网通信组件1104和移动数据通信组件1105。其中,摄像机处理器1103与摄像组件1101、存储组件1102、局域网通信组件1104和移动数据通信组件1105分别相连,摄像组件1101与存储组件1102相连。第一摄像机110中的摄像组件1101、存储组件1102的用途、结构等与上文叙述的第二摄像机120中摄像组件1201、存储组件1202的用途结构同理。
第一摄像机110可以利用局域网通信组件1104和第二摄像机120通过第一无线网络建立通信连接,可以通过局域网通信组件1104接收第二摄像机120发送的状态信息,也可以通过局域网通信组件1104向第二摄像机下发状态获取指令。需要说明的是,局域网通信组件1104的结构与上文所述的局域网通信组件1204的结构同理,也即是,局域网通信组件1104也可以为LORA通信组件。
摄像机处理器1103用于获取第一摄像机110的状态信息,摄像机处理器1103还用于获取第一摄像机110通过局域网通信组件1104接收到的第二摄像机120的状态信息,摄像机处理器1103还可以将第一摄像机110和第二摄像机120的状态信息发送至移动数据通信组件1105中。
第一摄像机110可以利用移动数据通信组件1105与云端服务器S通过第二无线网络建立通信连接,第一摄像机110可以通过移动数据通信组件1105 将第一摄像机110和第二摄像机120的状态信息发送至云端服务器S中,其中,该第二无线网络可以为移动通信网络。
在本申请的一个实施例中,该移动数据通信组件1105可以为4G(the 4th Generation mobile communication,第四代移动通信技术)通信组件、3G(the 3th Generation mobile communication,第三代移动通信技术)通信组件等,本申请实施例对此不做具体限定。
图5是根据一示例性实施例示出的一种摄像机状态获取方法的流程图,该摄像机状态获取方法可以应用于图1所示的第一摄像机110中,如图5所示,该摄像机状态获取方法包括以下步骤:
步骤501、第一摄像机向每个第二摄像机发送状态获取指令,该状态获取指令用于指示每个第二摄像机向第一摄像机返回每个第二摄像机的状态信息。
步骤502、第一摄像机接收每个第二摄像机返回的第一数据包,该第一数据包包括该第二摄像机的状态信息。
步骤503、第一摄像机向云端服务器发送第二数据包,该第二数据包包括第一摄像机接收到的至少一个第一数据包。
综上所述,本申请实施例提供的摄像机状态获取方法,通过摄像机系统的第一摄像机获取每个第二摄像机的状态信息,并将每个第二摄像机的状态信息发送至云端服务器中,使得技术人员可以通过访问云端服务器以获取摄像机系统中摄像机的状态信息,这样技术人员在检测摄像机状态时不需要到每一台摄像机附近进行操作,从而降低了对摄像机的维护成本。
图6是根据一示例性实施例示出的一种摄像机状态获取方法的流程图,该摄像机状态获取方法可以应用于图1所示的第二摄像机120中,如图6所示,该摄像机状态获取方法包括以下步骤:
步骤601、第二摄像机接收第一摄像机发送的状态获取指令,该状态获取 指令用于指示该第二摄像机获取该第二摄像机的状态信息,并将获取到的状态信息发送至该第一摄像机。
步骤602、第二摄像机基于该状态获取指令获取该第二摄像机的状态信息。
步骤603、第二摄像机向该第一摄像机发送第一数据包,该第一数据包包包括第二摄像机的状态信息,以使该第一摄像机向云端服务器发送第二数据包,该第二数据包包括第一摄像机接收到的至少一个第一数据包。
综上所述,本申请实施例提供的摄像机状态获取方法,通过摄像机系统的第二摄像机向第一摄像机发送该第二摄像机的状态信息,以使第一摄像机将该状态信息发送至云端服务器中,使得技术人员可以通过访问云端服务器而获取摄像机系统中摄像机的状态信息,这样技术人员在检测摄像机状态时不需要到每一台摄像机附近进行操作,从而降低了对摄像机的维护成本。
图7是根据一示例性实施例示出的一种摄像机状态获取方法的流程图,该摄像机状态获取方法可以应用于图1所示的摄像机系统中,如图7所示,该摄像机状态获取方法包括以下步骤:
步骤701、第二摄像机加入第一摄像机所在的第一无线网络中。
如上所述,摄像机系统的第一摄像机和第二摄像机中均可以设置有局域网通信组件,第一摄像机和第二摄像机可以利用自身中设置的局域网通信组件通过第一无线网络建立通信连接。在实际应用中,该局域网通信组件可以为LORA通信组件,该第一无线网络可以为LORA通信网络,下面,本申请实施例仅以第一摄像机和第二摄像机中的局域网通信组件均为LORA通信组件,第一无线网络为LORA通信网络为例对下述各步骤的技术过程进行说明。
本申请实施例提供了两种第二摄像机加入第一摄像机所在的第一无线网络的方式,其中:
第一种方式为:第一摄像机广播自身的网络信息,第二摄像机通过响应上述网络信息从而加入第一摄像机所在的第一无线网络。可选的,第一种方式的 技术过程可以包括以下子步骤:
A1、第一摄像机广播自身的网络信息,该网络信息包括第一摄像机的地址信息。
在实际应用中,第一摄像机可以通过自身中设置的LORA通信组件广播自身的网络信息,以使第二摄像机能够根据该网络信息与第一摄像机建立第一无线网络连接。其中,第一摄像机的网络信息除了可以包括第一摄像机的地址信息之外,还可以包括第一摄像机所在摄像机系统的标识和/或通信频段等信息。
需要说明的是,在实际应用中,第一摄像机可以在自身启动时广播该网络信息,也可以在启动后周期性地广播该网络信息,还可以在启动后的预设时长内广播该网络信息等,本申请实施例不对第一摄像机广播自身的网络信息的时机进行限定。
B1、第二摄像机接收到第一摄像机广播的网络信息后,基于第一摄像机的地址信息向第一摄像机发送加入第一无线网络的请求,该加入第一无线网络的请求携带第二摄像机的地址信息。
在实际应用中,在距离第一摄像机的距离小于LORA通信信号的传输距离时,第二摄像机可以通过自身中设置的LORA通信组件接收第一摄像机广播的网络信息,第二摄像机接收到该网络信息后,可以对该网络信息进行响应,也即是通过自身中设置的LORA通信组件向第一摄像机发送加入第一无线网络的请求。
当然,在实际应用中,接收到该网络信息的某些第二摄像机可能已经与其他的第一摄像机建立了第一无线网络连接,在这种情况下,这些第二摄像机可以不对该网络信息进行响应,也即是,这些第二摄像机可以不向第一摄像机发送加入第一无线网络的请求。
C1、第一摄像机接收到第二摄像机发送的加入第一无线网络的请求后,基于第二摄像机的地址信息向第二摄像机发送成功加入网络回执。
第一摄像机接收到第二摄像机发送的加入第一无线网络的请求后,可以通 过自身中设置的LORA通信组件向第二摄像机发送成功加入网络回执,从而建立与第二摄像机的第一无线网络连接。在实际应用中,该成功加入网络回执中还可以携带有通信密钥,第二摄像机与第一摄像机之间的通信信息可以通过该通信密钥进行加密,从而保证第二摄像机与第一摄像机之间的通信安全。
D1、第二摄像机接收第一摄像机发送的成功加入网络回执。
第二种方式为:第二摄像机广播请求加入网络信息,第一摄像机通过响应上述请求加入网络信息而允许第二摄像机加入第一摄像机所在的第一无线网络。可选的,第二种方式的技术过程可以包括以下子步骤:
A2、第二摄像机广播请求加入网络信息,该请求加入网络信息包括第二摄像机的地址信息。
尚未与第一摄像机建立通信连接的第二摄像机可以在自身启动时广播该加入网络信息,也可以在启动后周期性地广播该加入网络信息,还可以在启动后的预设时长内广播该加入网络信息等,本申请实施例不对第二摄像机广播该加入网络信息的时机进行限定。
需要指出的是,第二摄像机可以通过自身中设置的LORA通信组件广播上述加入网络信息。
B2、第一摄像机在接收到第二摄像机广播的加入网络信息后,基于第二摄像机的地址信息向第二摄像机发送成功加入网络信息,该成功加入网络信息包括第一摄像机的地址信息。
在实际应用中,距第二摄像机的距离小于LORA通信信号传输距离的第一摄像机可以通过自身中设置的LORA通信组件接收到第二摄像机广播的加入网络信息,第一摄像机接收到该加入网络信息后,可以对该加入网络信息进行响应,也即是通过自身中设置的LORA通信组件向第二摄像机发送成功加入网络信息,以允许第二摄像机加入第一摄像机所在的第一无线网络。
C2、第二摄像机接收成功加入网络信息。
需要说明的是,在实际应用中,第二摄像机可能已经加入了第一摄像机所 在的第一无线网络中,在这种情况下,本申请实施例可以不执行上述步骤701的技术过程,而直接执行步骤702。
步骤702、第一摄像机向每个第二摄像机发送状态获取指令,该状态获取指令用于指示每个第二摄像机向第一摄像机返回每个第二摄像机的状态信息。
在本申请的一个实施例中,第一摄像机可以每隔一段时间通过自身中设置的LORA通信组件,根据与该第一摄像机通过第一无线网络建立有通信连接的每个第二摄像机的地址信息,向每个第二摄像机发送上述状态获取指令,该状态获取指令用于指示接收到该状态获取指令的每个第二摄像机向第一摄像机返回该第二摄像机的状态信息。
在本申请的另一个实施例中,第一摄像机也可以每隔一段时间通过自身中设置的LORA通信组件广播上述状态获取指令,该状态获取指令可以携带有能够标识该第一摄像机的信息,如该第一摄像机的地址信息,该第一摄像机所在摄像机系统的标识等。这样,接收到该状态获取指令的第二摄像机可以通过该状态获取指令携带的信息判断该状态获取指令是否为与自身通过第一无线网络建立有通信连接的第一摄像机发送的,若该状态获取指令是与自身通过第一无线网络建立有通信连接的第一摄像机发送的,第二摄像机可以响应该状态获取指令,若该状态获取指令不是与自身通过第一无线网络建立有通信连接的第一摄像机发送的,第二摄像机可以不响应该状态获取指令。
其中,第一摄像机通过自身设置的LORA通信组件向每个第二摄像机发送状态获取指令的技术过程可以为:第一摄像机的摄像机处理器生成上述状态获取指令并将其发送至第一摄像机的LORA通信组件中的通信处理器中,通信处理器将该状态获取指令发送至LORA收发芯片中,LORA收发芯片基于该状态获取指令生成第一电信号,同时,切换芯片将第一摄像机的LORA通信组件的通信状态切换至发射状态,而后,LORA通信组件的天线可以将上述第一电信号转化为第一LORA通信信号,并向每个第二摄像机发送该第一LORA通信信号。
步骤703、第二摄像机接收到第一摄像机发送的状态获取指令后,基于该状态获取指令获取第二摄像机的状态信息。
在实际应用中,摄像机系统中的每个第二摄像机均可以通过自身中设置的LORA通信组件接收第一摄像机发送的状态获取指令,该技术过程可以为:第二摄像机的LORA通信组件中的切换芯片将该LORA通信组件的通信状态切换至接收状态,而后,LORA通信组件的天线接收第一摄像机发送的第一LORA通信信号,并将第一LORA通信信号转化为第一电信号,该第一LORA通信信号承载有上述状态获取指令。LORA收发芯片对第一电信号进行处理,以获取第一LORA通信信号承载的状态获取指令,而后,LORA收发芯片可以将状态获取指令发送至通信处理器中,并由通信处理器将状态获取指令发送至摄像机处理器中,该摄像机处理器接收到状态获取指令后,可以访问第二摄像机的摄像组件和存储组件,以获取第二摄像机的状态信息。
需要说明的是,上述第二摄像机的状态信息可以包括第二摄像机的摄像组件的工作状态、存储组件的工作状态和监控视频拍摄时长等能够反映第二摄像机工作状态的信息,本申请实施例对此不做具体限定。
步骤704、第二摄像机根据第一摄像机的地址信息向第一摄像机发送第一数据包。
在实际应用中,第二摄像机可以将该状态信息封装成第一数据包,并将该第一数据包通过自身中设置的LORA通信组件发送至第一摄像机中。
可选的,在本申请的一个实施例中,第二摄像机可以将状态信息中包含的每一类信息都单独封装成一个数据包,且每个数据包中都携带有该类信息对应的标识符和标识符掩码,而后,第二摄像机可以将封装的数据包通过自身中设置的LORA通信组件发送给第一摄像机。例如,在实际应用中,第二摄像机的状态信息中可以包括3类信息,分别为摄像组件的工作状态、存储组件的工作状态和监控视频拍摄时长,第二摄像机可以将摄像组件的工作状态、存储组件的工作状态和监控视频拍摄时长这3类信息分别封装成数据包,且封装的每个 数据包中都携带有对应的标识符和标识符掩码,而后,第二摄像机可以通过自身中设置的LORA通信组件将封装的3个数据包发送至第一摄像机中。
当然,在实际应用中,第二摄像机还可以将状态信息中包含的多类信息按照预设顺序封装成一个数据包,在这种情况下,封装的数据包中可以携带该数据包中包括的每一类信息的标识符和标识符掩码,同时,该数据包中还可以携带该数据包中包括的信息类型的个数等。
需要指出的是,上述标识符掩码可以基于标识符和数据包中与该标识符对应的状态信息计算得到,或者,该标识符掩码可以由技术人员预先进行设定,第一摄像机在接收到上述数据包后可以确定该标识符掩码是否正确,若该标识符掩码正确,则说明数据包接收正确,若该标识符掩码不正确,则说明数据包接收错误。
需要说明的是,第二摄像机通过自身中设置的LORA通信组件向第一摄像机发送第一数据包的技术过程可以为:第二摄像机的摄像机处理器将获取到的第二摄像机的状态信息进行打包,得到第一数据包,而后,第二摄像机的摄像机处理器将该第一数据包发送至LORA通信组件的通信处理器中,并由通信处理器将该第一数据包发送至LORA收发芯片中,而后,LORA收发芯片可以基于该第一数据包生成第二电信号,同时,切换芯片可以将LORA通信组件的通信状态切换至发射状态,LORA通信组件的天线可以将上述第二电信号转化为第二LORA通信信号,并向第一摄像机发送该第二LORA通信信号。
步骤705、第一摄像机生成第三数据包,该第三数据包包括第一摄像机的状态信息。
在实际应用中,第一摄像机的摄像机处理器可以访问第一摄像机的摄像组件和存储组件等以获取第一摄像机的状态信息,而后,第一摄像机的摄像机处理器可以对获取到的第一摄像机的状态信息进行打包,得到第三数据包。与上述说明同理地,第一摄像机的状态信息可以包括第一摄像机的摄像组件的工作状态、存储组件的工作状态、监控视频拍摄时长等能够反映第一摄像机工作状 态的信息,本申请实施例对此不做具体限定。
需要说明的是,第一摄像机可以在执行步骤702之前执行上述步骤705,也可以在执行步骤702之后执行上述步骤705,还可以在执行步骤702的同时执行步骤705,当然,在实际应用中,第一摄像机也可以不执行步骤705,而只执行步骤702,本申请实施例对此不做具体限定。
步骤706、第一摄像机生成第二数据包,该第二数据包包括第一摄像机接收到的至少一个第一数据包。
第一摄像机可以通过自身中设置的LORA通信组件接收第二摄像机在步骤704中发送的第一数据包,其技术过程可以为:第一摄像机的LORA通信组件的切换芯片将该第一摄像机的LORA通信组件的通信状态切换至接收状态,而后,LORA通信组件的天线可以接收第二摄像机发送的第二LORA通信信号,并将该第二LORA通信信号转化为第二电信号,其中,第二LORA通信信号承载有第一数据包,此后,LORA收发芯片可以对第二电信号进行处理,以获取第二LORA通信信号承载的第一数据包。
第一摄像机在接收到第二摄像机发送的第一数据包后,可以获取该数据包携带的标识符和标识符掩码,第一摄像机在确定该标识符和标识符掩码均正确后,可以获取该第一数据包。而后,第一摄像机可以生成第二数据包,该第二数据包中可以包含有与第一摄像机通过第一无线网络建立通信连接的所有或部分第二摄像机发送的第一数据包,当然,在实际应用中,该第二数据包中还可以包含有第三数据包。
步骤707、第一摄像机向云端服务器发送第二数据包。
如上所述,第一摄像机中可以设置有移动数据通信组件,第一摄像机在生成上述第二数据包后,可以通过移动数据通信组件将该第二数据包发送至云端服务器中。
第一摄像机可以将与自身通过第一无线网络建立通信连接的所有或部分第二摄像机发送的第一数据包和第三数据包整合起来生成上述第二数据包,并 将该第二数据包发送至云端服务器中,使得技术人员仅通过访问云端服务器就可以获取摄像机系统中所有或部分摄像机的状态信息,这样的方式不仅降低了对摄像机的维护成本,也简化了对摄像机的维护流程。
综上所述,本申请实施例提供的摄像机状态获取方法,通过摄像机系统的第一摄像机获取每个第二摄像机的状态信息,并将每个第二摄像机的状态信息发送至云端服务器中,使得技术人员可以通过访问云端服务器以获取摄像机系统中摄像机的状态信息,这样,技术人员在检测摄像机状态时不需要到每一台摄像机附近进行操作,从而降低了对摄像机的维护成本。
图8是根据一示例性实施例示出的一种第一摄像机800的结构框图,该第一摄像机800为图1中摄像机系统中的第一摄像机,如图8所示,该第一摄像机800包括:第一通信模块801和第二通信模块802。
该第一通信模块801,用于向每个所述第二摄像机发送状态获取指令,所述状态获取指令用于指示每个所述第二摄像机向所述第一摄像机返回每个所述第二摄像机的状态信息。
该第一通信模块801,还用于接收每个所述第二摄像机返回的第一数据包,所述第一数据包包括所述第二摄像机的状态信息。
该第二通信模块802,用于向所述云端服务器发送第二数据包,所述第二数据包包括所述第一摄像机接收到的至少一个所述第一数据包。
在本申请的一个实施例中,该第一通信模块801还用于:广播所述第一摄像机的网络信息,所述网络信息包括所述第一摄像机的地址信息;对于每个所述第二摄像机,接收所述第二摄像机发送的加入第一无线网络的请求,所述加入第一无线网络的请求携带所述第二摄像机的地址信息,所述加入第一无线网络的请求是所述第二摄像机在接收到所述第一摄像机广播的所述网络信息后基于所述第一摄像机的地址信息发送的;对于每个所述第二摄像机,基于所述第二摄像机的地址信息向所述第二摄像机发送成功加入网络回执;对于每个所 述第二摄像机,基于所述第二摄像机的地址信息向所述第二摄像机发送所述状态获取指令。
如图9所示,在本申请的一个实施例中,该第一通信模块801包括LORA通信子模块8011。对应地,该第一通信模块801,用于通过该LORA通信子模块8011向每个第二摄像机发送该状态获取指令;该第一通信模块801,用于通过该LORA通信子模块8011接收每个第二摄像机发送的状态信息。
在本申请的一个实施例中,该LORA通信子模块8011可拆卸地安装于该第一摄像机中。
在本申请的一个实施例中,所述LORA通信子模块8011包括依次连接的LORA收发芯片、切换芯片和天线。则在这种情况下,该第一通信模块801,用于:通过该LORA收发芯片基于该状态获取指令生成第一电信号;通过该切换芯片将该LORA通信子模块的通信状态切换至发射状态,该通信状态包括发射状态或接收状态;通过该天线将该第一电信号转化为第一LORA通信信号,并通过该天线向每个第二摄像机发送该第一LORA通信信号。
在本申请的另一个实施例中,该第一通信模块801,用于:通过该切换芯片将该LORA通信子模块的通信状态切换至接收状态,该通信状态包括发射状态或接收状态;通过该天线接收每个第二摄像机发送的第二LORA通信信号,并通过该天线将该第二LORA通信信号转化为第二电信号,该第二LORA通信信号承载有第一数据包;通过该LORA收发芯片对该第二电信号进行处理,以获取该第二LORA通信信号承载的第一数据包。
如图10所示,在本申请的一个实施例中,该第二通信模块802包括移动数据通信子模块8021。对应地,该第二通信模块802,用于通过该移动数据通信子模块8021向该云端服务器发送该第二数据包。
在本申请的一个实施例中,该移动数据通信子模块8021为第四代移动通信技术4G通信子模块。
图11是根据一示例性实施例示出的另一种第一摄像机1100的结构框图, 如图11所示,该第一摄像机1100除了包含图8中的第一摄像机800包括的各个模块外,还包括生成模块803。
该生成模块803,用于生成第三数据包,所述第三数据包包括所述第一摄像机的状态信息。
该生成模块803,还用于生成所述第二数据包,所述第二数据包包括所述第三数据包和所述第一摄像机接收到的至少一个所述第一数据包。
综上所述,本申请实施例提供的第一摄像机,通过获取每个第二摄像机的状态信息,并将每个第二摄像机的状态信息发送至云端服务器中,使得技术人员可以通过访问云端服务器而获取摄像机系统中摄像机的状态信息,这样,技术人员在检测摄像机状态时不需要到每一台摄像机附近进行操作,从而降低了对摄像机的维护成本。
图12是根据一示例性实施例示出的一种第二摄像机1200的结构框图,该第二摄像机1200为图1中摄像机系统中的第二摄像机,如图12所示,该第二摄像机1200包括:通信模块12001和获取模块12002。
该通信模块12001,用于接收该第一摄像机发送的状态获取指令,该状态获取指令用于指示该第二摄像机获取该第二摄像机的状态信息,并将获取到的状态信息发送至该第一摄像机。
该获取模块12002,用于基于该状态获取指令获取该第二摄像机的状态信息。
该通信模块12001,还用于向该第一摄像机发送第一数据包,该第一数据包包括第二摄像机的状态信息,以使该第一摄像机向该云端服务器发送第二数据包,该第二数据包包括所述第一摄像机接收到的至少一个所述第一数据包。
在本申请的一个实施例中,该通信模块12001还用于:接收该第一摄像机广播的网络信息,该网络信息包括该第一摄像机的地址信息;基于该第一摄像机的地址信息向该第一摄像机发送加入第一无线网络的请求,该加入第一无线 网络的请求携带该第二摄像机的地址信息;接收该第一摄像机发送的成功加入网络回执,该成功加入网络回执是该第一摄像机在接收到该加入第一无线网络的请求后,基于该第二摄像机的地址信息发送的。对应地,该通信模块12001用于:根据该第一摄像机的地址信息向该第一摄像机发送该第一数据包。
如图13所示,在本申请的一个实施例中,该通信模块12001包括LORA通信子模块120011。对应地,该通信模块12001,用于通过该LORA通信子模块120011接收该第一摄像机发送的状态获取指令。该通信模块12001,用于通过该LORA通信子模块120011向该第一摄像机发送该第一数据包。
在本申请的一个实施例中,该LORA通信子模块120011可拆卸地安装于该第二摄像机中。
在本申请的一个实施例中,该LORA通信子模块120011包括依次连接的LORA收发芯片、切换芯片和天线。在这种情况下,该通信模块12001,用于:通过该切换芯片将该LORA通信子模块的通信状态切换至接收状态,该通信状态包括发射状态或接收状态;通过该天线接收该第一摄像机发送的第一LORA通信信号,并通过该天线将该第一LORA通信信号转化为第一电信号,该第一LORA通信信号承载有该状态获取指令;通过该LORA收发芯片对该第一电信号进行处理,以获取该第一LORA通信信号承载的该状态获取指令。
在本申请的另一个实施例中,该通信模块12001,用于:通过该LORA收发芯片基于该第一数据包生成第二电信号;通过该切换芯片将该LORA通信子模块的通信状态切换至发射状态,该通信状态包括发射状态或接收状态;通过该天线将该第二电信号转化为第二LORA通信信号,并通过该天线向该第一摄像机发送该第二LORA通信信号。
综上所述,本申请实施例提供的第二摄像机,通过向第一摄像机发送自身的状态信息,以使第一摄像机将该状态信息发送至云端服务器中,使得技术人员可以通过访问云端服务器而获取摄像机系统中摄像机的状态信息,这样,技术人员在检测摄像机状态时不需要到每一台摄像机附近进行操作,从而降低了 对摄像机的维护成本。
一种第一摄像机,请参考图4,该第一摄像机至少可以包括:摄像机处理器1103、局域网通信组件1104、移动数据通信组件1105和存储组件1102,其中:
存储组件1102存储有一个或多个程序,该一个或多个程序被配置成由摄像机处理器1103执行,且经配置由摄像机处理器1103通过执行上述程序来执行上述各个实施例第一摄像机所执行的摄像机状态获取方法。
该局域网通信组件1104用于在摄像机处理器1103的控制下与第二摄像机进行通信。
该移动通信组件1105用于在摄像机处理器1103的控制下与云端服务器进行通信。
综上所述,本申请实施例提供的第一摄像机,通过获取每个第二摄像机的状态信息,并将每个第二摄像机的状态信息发送至云端服务器中,使得技术人员可以通过访问云端服务器而获取摄像机系统中摄像机的状态信息,这样,技术人员在检测摄像机状态时不需要到每一台摄像机附近进行操作,从而降低了对摄像机的维护成本。
本申请实施例提供了一种第二摄像机,请参考图2,该第二摄像机至少可以包括摄像机处理器1203、局域网通信组件1204和存储组件1202,其中:
存储组件1202存储有一个或多个程序,该一个或多个程序被配置成由摄像机处理器1203执行,且经配置由摄像机处理器1203通过执行上述程序来执行上述各个实施例中第二摄像机所执行的摄像机状态获取方法。
该局域网通信组件1204用于在摄像机处理器1203的控制下与第一摄像机进行通信。
综上所述,本申请实施例提供的第二摄像机,通过向第一摄像机发送自身 的状态信息,以使第一摄像机将该状态信息发送至云端服务器中,使得技术人员可以通过访问云端服务器而获取摄像机系统中摄像机的状态信息,这样,技术人员在检测摄像机状态时不需要到每一台摄像机附近进行操作,从而降低了对摄像机的维护成本。
图14是根据一示例性实施例示出的一种摄像机系统1400的框图。该摄像机系统1400包括第一摄像机14001和第二摄像机14002。
该第一摄像机14001,用于执行图7所示实施例中第一摄像机执行的操作。
该第二摄像机14002,用于执行图7所示实施例中第二摄像机执行的操作。
综上所述,本申请实施例提供的摄像机系统,通过第二摄像机向第一摄像机发送自身的状态信息,以使第一摄像机将该状态信息发送至云端服务器中,使得技术人员可以通过访问云端服务器而获取摄像机系统中摄像机的状态信息,这样,技术人员在检测摄像机状态时不需要到每一台摄像机附近进行操作,从而降低了对摄像机的维护成本。
需要说明的是:上述实施例提供的第一摄像机和第二摄像机在执行摄像机状态获取方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的第一摄像机和第二摄像机与摄像机状态获取方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
在示例性实施例中,还提供了一种包括指令的非易失性计算机可读存储介质,例如包括指令的存储器,上述指令可由第一摄像机或第二摄像机的摄像机处理器执行以完成上述摄像机状态方法。例如,该非易失性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存 储设备等。
本申请中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种摄像机状态获取方法,用于摄像机系统中的第一摄像机中,所述摄像机系统包括第一摄像机和至少一个第二摄像机,所述第一摄像机与每个所述第二摄像机通过第一无线网络建立有通信连接,所述第一摄像机与云端服务器通过第二无线网络建立有通信连接,所述第一无线网络为长距离LORA通信网络,所述第二无线网络为移动通信网络,所述方法包括:
    向每个所述第二摄像机发送状态获取指令,所述状态获取指令用于指示每个所述第二摄像机向所述第一摄像机返回每个所述第二摄像机的状态信息;
    接收每个所述第二摄像机返回的第一数据包,所述第一数据包包括所述第二摄像机的状态信息;
    向所述云端服务器发送第二数据包,所述第二数据包包括所述第一摄像机接收到的至少一个所述第一数据包。
  2. 根据权利要求1所述的方法,所述向每个所述第二摄像机发送状态获取指令之前,所述方法还包括:
    广播所述第一摄像机的网络信息,所述网络信息包括所述第一摄像机的地址信息;
    对于每个所述第二摄像机,接收所述第二摄像机发送的加入第一无线网络的请求,所述加入第一无线网络的请求携带所述第二摄像机的地址信息,所述加入第一无线网络的请求是所述第二摄像机在接收到所述第一摄像机广播的所述网络信息后基于所述第一摄像机的地址信息发送的;
    对于每个所述第二摄像机,基于所述第二摄像机的地址信息向所述第二摄像机发送成功加入网络回执;
    所述向每个所述第二摄像机发送状态获取指令,包括:
    对于每个所述第二摄像机,基于所述第二摄像机的地址信息向所述第二摄 像机发送所述状态获取指令。
  3. 根据权利要求1所述的方法,所述向每个所述第二摄像机发送状态获取指令之前,所述方法还包括:
    对于每个所述第二摄像机,接收所述第二摄像机广播的请求加入网络信息,所述请求加入网络信息包括所述第二摄像机的地址信息;
    对于每个所述第二摄像机,在接收到所述请求加入网络信息后,基于所述第二摄像机的地址信息向所述第二摄像机发送成功加入网络信息,所述成功加入网络信息包括所述第一摄像机的地址信息;
    所述向每个所述第二摄像机发送状态获取指令,包括:
    对于每个所述第二摄像机,基于所述第二摄像机的地址信息向所述第二摄像机发送所述状态获取指令。
  4. 根据权利要求1所述的方法,在所述向所述云端服务器发送第二数据包之前,所述方法还包括:
    生成第三数据包,所述第三数据包包括所述第一摄像机的状态信息;
    生成所述第二数据包,所述第二数据包包括所述第三数据包和所述第一摄像机接收到的至少一个所述第一数据包。
  5. 根据权利要求1所述的方法,所述第一摄像机包括长距离LORA通信组件,所述向每个所述第二摄像机发送状态获取指令,包括:
    通过所述LORA通信组件向每个所述第二摄像机发送所述状态获取指令;
    所述接收每个所述第二摄像机返回的第一数据包,包括:
    通过所述LORA通信组件接收每个所述第二摄像机返回的所述第一数据包。
  6. 根据权利要求5所述的方法,所述LORA通信组件可拆卸地安装于所述 第一摄像机中。
  7. 根据权利要求5所述的方法,所述LORA通信组件包括依次连接的LORA收发芯片、切换芯片和天线;所述通过所述LORA通信组件向每个所述第二摄像机发送所述状态获取指令,包括:
    通过所述LORA收发芯片基于所述状态获取指令生成第一电信号;
    通过所述切换芯片将所述LORA通信组件的通信状态切换至发射状态,所述通信状态包括发射状态或接收状态;
    通过所述天线将所述第一电信号转化为第一LORA通信信号,并通过所述天线向每个所述第二摄像机发送所述第一LORA通信信号。
  8. 根据权利要求5所述的方法,所述LORA通信组件包括依次连接的LORA收发芯片、切换芯片和天线;所述通过所述LORA通信组件接收每个所述第二摄像机返回的所述第一数据包,包括:
    通过所述切换芯片将所述LORA通信组件的通信状态切换至接收状态,所述通信状态包括发射状态或接收状态;
    通过所述天线接收每个所述第二摄像机发送的第二LORA通信信号,并通过所述天线将所述第二LORA通信信号转化为第二电信号,所述第二LORA通信信号承载有所述第一数据包;
    通过所述LORA收发芯片对所述第二电信号进行处理,以获取所述第二LORA通信信号承载的所述第一数据包。
  9. 根据权利要求1所述的方法,所述第一摄像机包括移动数据通信组件,所述向所述云端服务器发送第二数据包,包括:
    通过所述移动数据通信组件向所述云端服务器发送所述第二数据包。
  10. 一种第一摄像机,所述第一摄像机为摄像机系统中的摄像机,所述摄 像机系统包括所述第一摄像机和至少一个第二摄像机,所述第一摄像机与每个所述第二摄像机通过第一无线网络建立有通信连接,所述第一摄像机与云端服务器通过第二无线网络建立有通信连接,所述第一无线网络为长距离LORA通信网络,所述第二无线网络为移动通信网络,所述第一摄像机包括:
    一个或多个处理器;和
    存储器;
    所述存储器存储有一个或多个程序,所述一个或多个程序被配置成由所述一个或多个处理器执行,所述一个或多个程序包含用于进行以下操作的指令:
    向每个所述第二摄像机发送状态获取指令,所述状态获取指令用于指示每个所述第二摄像机向所述第一摄像机返回每个所述第二摄像机的状态信息;
    接收每个所述第二摄像机返回的第一数据包,所述第一数据包包括所述第二摄像机的状态信息;
    向所述云端服务器发送第二数据包,所述第二数据包包括所述第一摄像机接收到的至少一个所述第一数据包。
  11. 根据权利要求10所述的第一摄像机,所述第一摄像机还包括长距离LORA通信模块;所述一个或多个程序还包含用于进行以下操作的指令:
    通过所述LORA通信模块向每个所述第二摄像机发送所述状态获取指令;
    通过所述LORA通信模块接收每个所述第二摄像机发送的所述第一数据包。
  12. 根据权利要求11所述的第一摄像机,所述LORA通信组件可拆卸地安装于所述第一摄像机中。
  13. 根据权利要求10所述的第一摄像机,所述第一摄像机包括移动数据通信组件,所述一个或多个程序还包含用于进行以下操作的指令:
    通过所述移动数据通信组件向所述云端服务器发送所述第二数据包。
  14. 根据权利要求10所述的第一摄像机,所述一个或多个程序还包含用于进行以下操作的指令:
    生成第三数据包,所述第三数据包包括所述第一摄像机的状态信息;
    生成所述第二数据包,所述第二数据包包括所述第三数据包和所述第一摄像机接收到的至少一个所述第一数据包。
  15. 根据权利要求10所述的第一摄像机,所述一个或多个程序还包含用于进行以下操作的指令:
    广播所述第一摄像机的网络信息,所述网络信息包括所述第一摄像机的地址信息;
    对于每个所述第二摄像机,接收所述第二摄像机发送的加入第一无线网络的请求,所述加入第一无线网络的请求携带所述第二摄像机的地址信息,所述加入第一无线网络的请求是所述第二摄像机在接收到所述第一摄像机广播的所述网络信息后基于所述第一摄像机的地址信息发送的;
    对于每个所述第二摄像机,基于所述第二摄像机的地址信息向所述第二摄像机发送成功加入网络回执;
    对于每个所述第二摄像机,基于所述第二摄像机的地址信息向所述第二摄像机发送所述状态获取指令。
  16. 一种摄像机系统,所述摄像机系统包括第一摄像机和至少一个第二摄像机,所述第一摄像机与每个所述第二摄像机通过第一无线网络建立有通信连接,所述第一摄像机与云端服务器通过第二无线网络建立有通信连接,所述第一无线网络为长距离LORA通信网络,所述第二无线网络为移动通信网络;
    所述第一摄像机,用于向每个所述第二摄像机发送状态获取指令,所述状 态获取指令用于指示每个所述第二摄像机向所述第一摄像机返回每个所述第二摄像机的状态信息;
    所述第二摄像机,用于接收所述第一摄像机发送的状态获取指令,并基于所述状态获取指令向所述第一摄像机返回第一数据包,所述第一数据包包括所述第二摄像机的状态信息;
    所述第一摄像机,还用于接收每个所述第二摄像机返回的所述第一数据包,并向所述云端服务器发送第二数据包,所述第二数据包包括所述第一摄像机接收到的至少一个所述第一数据包。
  17. 根据权利要求16所述的系统,所述第一摄像机还用于广播所述第一摄像机的网络信息,所述网络信息包括所述第一摄像机的地址信息;
    所述第二摄像机,还用于接收所述第一摄像机广播的网络信息,并基于所述第一摄像机的地址信息向所述第一摄像机发送加入第一无线网络的请求,所述加入第一无线网络的请求携带所述第二摄像机的地址信息;
    对于每个所述第二摄像机,所述第一摄像机,还用于接收所述第二摄像机发送的所述加入第一无线网络的请求,并基于所述第二摄像机的地址信息向所述第二摄像机发送成功加入网络回执;
    所述第二摄像机,还用于接收所述第一摄像机发送的成功加入网络回执。
  18. 根据权利要求16所述的系统,所述第二摄像机,还用于广播请求加入网络信息,所述请求加入网络信息包括所述第二摄像机的地址信息;
    对于每个所述第二摄像机,所述第一摄像机,还用于接收所述第二摄像机广播的请求加入网络信息,并基于所述第二摄像机的地址信息向所述第二摄像机发送成功加入网络信息,所述成功加入网络信息包括所述第一摄像机的地址信息;
    所述第二摄像机,用于接收所述第一摄像机发送的所述成功加入网络信息。
  19. 根据权利要求16所述的系统,所述第二摄像机包括长距离LORA通信组件;
    所述第二摄像机,用于通过所述LORA通信组件接收所述第一摄像机发送的状态获取指令;
    所述第二摄像机,用于通过所述LORA通信组件向所述第一摄像机返回所述第一数据包。
  20. 根据权利要求19所述的系统,所述LORA通信组件可拆卸地安装于所述第二摄像机中。
PCT/CN2018/079556 2017-03-28 2018-03-20 摄像机状态获取方法、摄像机及摄像机系统 WO2018177155A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710193425.2 2017-03-28
CN201710193425.2A CN108668106B (zh) 2017-03-28 2017-03-28 摄像机状态获取方法、摄像机及摄像机系统

Publications (1)

Publication Number Publication Date
WO2018177155A1 true WO2018177155A1 (zh) 2018-10-04

Family

ID=63674211

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/079556 WO2018177155A1 (zh) 2017-03-28 2018-03-20 摄像机状态获取方法、摄像机及摄像机系统

Country Status (2)

Country Link
CN (1) CN108668106B (zh)
WO (1) WO2018177155A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446130B (zh) * 2018-10-29 2021-01-26 杭州迪普科技股份有限公司 一种i/o设备状态信息的获取方法及系统
CN113014789B (zh) * 2019-12-19 2023-05-09 惠州比亚迪电子有限公司 车辆摄像头识别装置、系统、车辆及识别方法
CN113452902A (zh) * 2021-05-28 2021-09-28 浙江大华技术股份有限公司 摄像机配网的控制方法、系统、电子装置和摄像机

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103738804A (zh) * 2013-12-26 2014-04-23 镇江晶鑫电子科技有限公司 基于物联网高清摄像一体化网关的电梯安全监控子系统
CN104038727A (zh) * 2013-03-05 2014-09-10 北京计算机技术及应用研究所 一种视频监控系统及其摄像机进行精确控制的方法
CN104902225A (zh) * 2015-05-04 2015-09-09 中山智芯电子科技有限公司 智能家居监控及防盗系统及该系统的监控方法
US20160253883A1 (en) * 2015-02-27 2016-09-01 Sensormatic Electronics, LLC System and Method for Distributed Video Analysis
CN205622762U (zh) * 2015-12-04 2016-10-05 杭州海康威视数字技术股份有限公司 网络摄像机及其监控系统
CN106162528A (zh) * 2016-07-06 2016-11-23 重庆金瓯科技发展有限责任公司 LoRa信号与蓝牙信号转换模块、转换方法及信号发送装置
CN106411754A (zh) * 2015-07-30 2017-02-15 南京海印通信设备有限公司 一种具有视频监控的无线路由器

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753354A (zh) * 2008-12-22 2010-06-23 北京中星微电子有限公司 实现网络摄像机自动配置的方法和监控系统
CN102811340B (zh) * 2011-06-02 2017-11-21 中兴通讯股份有限公司 一种智能视频监控系统及方法
US8587635B2 (en) * 2011-07-15 2013-11-19 At&T Intellectual Property I, L.P. Apparatus and method for providing media services with telepresence
KR102014285B1 (ko) * 2012-10-24 2019-11-04 주식회사 케이티 다중 카메라를 이용하여 객체의 이동을 추적하는 객체 추적 시스템 및 객체 추적 방법
CN103533304A (zh) * 2013-09-30 2014-01-22 天脉聚源(北京)传媒科技有限公司 一种监控方法及设备
CN106169234A (zh) * 2016-08-29 2016-11-30 常州维格电子有限公司 一种智能燃气表监控系统及其通讯方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038727A (zh) * 2013-03-05 2014-09-10 北京计算机技术及应用研究所 一种视频监控系统及其摄像机进行精确控制的方法
CN103738804A (zh) * 2013-12-26 2014-04-23 镇江晶鑫电子科技有限公司 基于物联网高清摄像一体化网关的电梯安全监控子系统
US20160253883A1 (en) * 2015-02-27 2016-09-01 Sensormatic Electronics, LLC System and Method for Distributed Video Analysis
CN104902225A (zh) * 2015-05-04 2015-09-09 中山智芯电子科技有限公司 智能家居监控及防盗系统及该系统的监控方法
CN106411754A (zh) * 2015-07-30 2017-02-15 南京海印通信设备有限公司 一种具有视频监控的无线路由器
CN205622762U (zh) * 2015-12-04 2016-10-05 杭州海康威视数字技术股份有限公司 网络摄像机及其监控系统
CN106162528A (zh) * 2016-07-06 2016-11-23 重庆金瓯科技发展有限责任公司 LoRa信号与蓝牙信号转换模块、转换方法及信号发送装置

Also Published As

Publication number Publication date
CN108668106A (zh) 2018-10-16
CN108668106B (zh) 2019-10-11

Similar Documents

Publication Publication Date Title
KR101761522B1 (ko) 무선 네트워크 접속 수립 방법, 장치, 시스템, 프로그램 및 저장 매체
US11817967B2 (en) Network access method and apparatus, and storage medium
WO2018177155A1 (zh) 摄像机状态获取方法、摄像机及摄像机系统
RU2628324C2 (ru) Способ и устройство управления передачей сигнала и электронное устройство
EP2757738B1 (en) Communication control system, communication system, communication method, and carrier means storing comunication control program
US10349353B2 (en) Automatic uploading method and portable information capturing device capable of automatic uploading
US20210321386A1 (en) Transmission feedback method and user equipment
CN110290570A (zh) 无线网络接入方法及相关设备、存储装置
CN104363518A (zh) 基于智能电视的家庭安防系统及其方法
CN111800521A (zh) 一种前端设备控制方法及装置
EP3687240A1 (en) Method, device, and base station for implementing wireless backhaul
CN104539749A (zh) 一种基于虚拟ip地址的连接方法及装置
Partheeban et al. An Improved Internet of Things enabled Wireless Data Transmission using Visible Light Communication
US4602252A (en) Method and device for data communication
KR102196041B1 (ko) 버스 정보를 안내하는 영상 촬영 장치, 교통 정보 시스템 및 방법
CN104935892A (zh) 监控视频采集方法和系统
KR102372906B1 (ko) Tvws 대역을 이용하여 재난 상황을 알리는 영상 감시 장치 및 그 동작 방법
KR101438645B1 (ko) 통합형 무선영상전송장치 및 이를 이용한 영상처리시스템
KR101471060B1 (ko) 통합형 무선영상촬영장치 및 이를 이용한 영상감시시스템
CN112187810A (zh) 一种前端设备控制方法及装置
KR20180078931A (ko) 듀얼 카메라로부터의 영상스트리밍의 스위칭 전송 기능을 구비한 드론 및 드론시스템
CN205725749U (zh) 无尾现场记录装置及系统
KR102481233B1 (ko) LoRa통신에 의한 단말기 및 AP간 데이터 전송 방법
CN101800849A (zh) 具射频识别标签读取功能的网络摄影机及监控系统
KR101404037B1 (ko) Cctv 무선랜 공용 장치 관리 시스템 및 이에 이용되는 cctv 무선랜 공용 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18777273

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18777273

Country of ref document: EP

Kind code of ref document: A1