Movatterモバイル変換


[0]ホーム

URL:


CN111556555A - Low-power-consumption keep-alive method and system for network camera and gateway - Google Patents

Low-power-consumption keep-alive method and system for network camera and gateway
Download PDF

Info

Publication number
CN111556555A
CN111556555ACN202010354967.5ACN202010354967ACN111556555ACN 111556555 ACN111556555 ACN 111556555ACN 202010354967 ACN202010354967 ACN 202010354967ACN 111556555 ACN111556555 ACN 111556555A
Authority
CN
China
Prior art keywords
gateway
network camera
bluetooth module
alive
keep
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
CN202010354967.5A
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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology Co 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 Hangzhou Tuya Information Technology Co LtdfiledCriticalHangzhou Tuya Information Technology Co Ltd
Priority to CN202010354967.5ApriorityCriticalpatent/CN111556555A/en
Publication of CN111556555ApublicationCriticalpatent/CN111556555A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the application discloses a low-power-consumption keep-alive method and a low-power-consumption keep-alive system for a network camera and a gateway, which are used for reducing energy loss of keep-alive between the network camera and the gateway in the prior art. The method in the embodiment of the application comprises the following steps: the network camera is matched with a Bluetooth module B of the gateway through a Bluetooth module A; the network camera keeps alive with the Bluetooth module B of the gateway through the Bluetooth module A.

Description

Low-power-consumption keep-alive method and system for network camera and gateway
Technical Field
The embodiment of the application relates to the technical field of network cameras, in particular to a low-power-consumption keep-alive method and a low-power-consumption keep-alive system for a network camera and a gateway.
Background
An Internet Protocol Camera (IPC) is a new generation camera generated by combining a traditional camera and a network technology, and can encode and compress video signals collected by the camera into digital signals, so that the video signals can be accessed to a gateway for network interaction, and long-distance transmission of the video signals is realized.
With the development of network communication technology, the technology of wireless communication is more and more mature, and in the application field of network cameras, in order to reduce the complexity of network wiring, WiFi modules with wireless communication functions are adopted as data communication between the network cameras and gateways, so that the network cameras can get rid of the restriction of wires, and the installation flexibility is improved.
The communication frequency band supported by the existing WiFi module can meet the requirement on video transmission, when the network camera works discontinuously, the network camera needs to keep alive with the gateway, and on the existing network camera with the existing WiFi module, the keep alive between the network camera and the gateway in the prior art is carried out through the WiFi module, so that the keep alive between the network camera and the gateway refers to the fact that the network camera sends related information to the gateway at preset intervals, so that the gateway knows that the connection state of the network camera and the gateway is a communicated state, and the keep alive between the network camera and the gateway through the WiFi module is relatively energy-wasting.
Disclosure of Invention
The embodiment of the application provides a low-power-consumption keep-alive method and a low-power-consumption keep-alive system for a network camera and a gateway, which are used for reducing energy loss of keep-alive between the network camera and the gateway in the prior art.
A first aspect of an embodiment of the present application provides a network camera and a gateway low-power keep-alive method, which is applied to a network camera, and includes:
the network camera is matched with a Bluetooth module B of the gateway through a Bluetooth module A;
the network camera keeps alive with the Bluetooth module B of the gateway through the Bluetooth module A.
Optionally, the pairing the webcam with the bluetooth module B of the gateway through the bluetooth module a includes:
the network camera broadcasts a pairing request to the outside through the Bluetooth module A;
the network camera receives a pairing response sent by the gateway through the Bluetooth module B;
the network camera performs key negotiation with the gateway according to the pairing response;
and the network camera and the gateway carry out encryption communication according to the negotiated secret key.
Optionally, after the webcam is paired with the bluetooth module B of the gateway through the bluetooth module a, the method further includes:
the network camera sends distribution network information to the gateway, so that the gateway registers the network camera with the distribution network information to a server, and forwards registration reply information of the server to the network camera;
and the network camera determines whether the network camera is connected to the server according to the registration reply information.
Optionally, the keeping alive of the webcam with the bluetooth module B of the gateway through the bluetooth module a includes:
the network camera continuously broadcasts a connection request to the outside through the Bluetooth module A;
the network camera receives a connection response sent by the paired gateway through the Bluetooth module B, and connects the gateway;
and the network camera starts a low-power keep-alive mode.
Optionally, the network camera turning on the low-power keep-alive mode includes:
the network camera reduces the time interval of keep-alive communication with the gateway and sends the time interval to the gateway;
and the network camera carries out keep-alive communication with the gateway according to the time interval.
Optionally, the network camera further includes a WiFi module a, and after the network camera is paired with a bluetooth module B of the gateway through the bluetooth module a, the method further includes:
the network camera receives a wake-up packet sent by a Bluetooth module B of the gateway through the Bluetooth module A;
the network camera starts the WiFi module A according to the awakening packet;
and the network camera establishes communication with a WiFi module B of the gateway through the WiFi module A.
A second aspect of the embodiments of the present application provides another network camera and gateway low-power keep-alive method, which is applied to a gateway, and includes:
the gateway is paired with a Bluetooth module A of the network camera through a Bluetooth module B;
the gateway keeps alive with the Bluetooth module A of the network camera through the Bluetooth module B.
Optionally, the pairing the gateway with the bluetooth module a of the network camera through the bluetooth module B includes:
the gateway receives a pairing request broadcast by the Bluetooth module A of the network camera through the Bluetooth module B;
the gateway replies a pairing response according to the pairing request and performs key negotiation with the network camera;
and the gateway and the network camera carry out encrypted communication according to the negotiated secret key.
Optionally, after the gateway is paired with the bluetooth module a of the network camera through the bluetooth module B, the method further includes:
the gateway receives the distribution network information sent by the network camera;
the gateway registers the network camera with the distribution network information to a server;
the gateway receives registration reply information of the server to the network camera;
and the gateway forwards the registration reply information to the network camera so that the network camera determines whether the network camera is connected to the server according to the registration reply information.
Optionally, the keeping alive of the gateway and the bluetooth module a of the network camera through the bluetooth module B includes:
the gateway receives a connection request broadcasted by the network camera;
the gateway detects whether the network cameras are paired according to the connection request;
if the gateway determines that the network camera is the paired network camera, the gateway is directly connected with the network camera;
and the gateway responds to and enters a low-power keep-alive mode of the network camera.
Optionally, the gateway responding to and entering the low-power keep-alive mode of the network camera includes:
the gateway receives a time interval of sending reduced keep-alive communication by the network camera;
and the gateway performs keep-alive communication with the network camera according to the time interval.
Optionally, the gateway further includes a WiFi module B, and after the gateway pairs with the bluetooth module a of the network camera through the bluetooth module B, the method further includes:
the gateway sends a wake-up packet to a Bluetooth module A of the network camera through the Bluetooth module B;
and the gateway establishes communication with a WiFi module A of the network camera through the WiFi module B according to the awakening packet.
A third aspect of the embodiments of the present application provides a network camera and gateway low-power keep-alive system, which is applied to a network camera, and includes:
the Bluetooth module A is used for pairing with the Bluetooth module B of the gateway;
the Bluetooth module A is also used for keeping alive with the Bluetooth module B.
Optionally, when the bluetooth module a is paired with the bluetooth module B, the bluetooth module a is specifically configured to:
broadcasting a pairing request outwards;
receiving a pairing response sent by the Bluetooth module B;
carrying out key negotiation with the Bluetooth module B according to the pairing response;
and carrying out encrypted communication with the Bluetooth module B according to the negotiated secret key.
Optionally, the system further comprises:
the Bluetooth module A is also used for sending distribution network information to the gateway, so that the gateway registers the network camera with the distribution network information to a server and forwards registration reply information of the server to the network camera;
a determining unit, configured to determine whether the server is connected according to the registration reply information.
Optionally, when the bluetooth module a keeps alive with the bluetooth module B, the bluetooth module a is specifically configured to:
continuously broadcasting the connection request outwards;
receiving a connection response sent by the paired gateway through the Bluetooth module B, and connecting the paired gateway to the gateway;
and starting a low-power keep-alive mode.
Optionally, the bluetooth module a is specifically configured to, when the low power keep-alive mode is turned on:
reducing the time interval of keep-alive communication with the gateway and sending the time interval to the gateway;
keep-alive communication is conducted with the gateway according to the time interval.
Optionally, the system further includes a WiFi module a, and the system further includes:
the Bluetooth module A is also used for receiving the awakening packet sent by the Bluetooth module B;
the wake-up unit is used for starting the WiFi module A according to the wake-up packet;
and the WiFi module A is used for establishing communication with the WiFi module B of the gateway.
A fourth aspect of the embodiments of the present application provides a network camera and gateway low power consumption keep-alive system, which is applied to a gateway, and includes:
the Bluetooth module B is used for pairing with the Bluetooth module A of the network camera;
the Bluetooth module B is also used for keeping alive with the Bluetooth module A.
Optionally, when the bluetooth module B is paired with the bluetooth module a, the bluetooth module B is specifically configured to:
receiving a pairing request broadcast by the Bluetooth module A;
replying a pairing response according to the pairing request, and performing key negotiation with the Bluetooth module A;
and carrying out encrypted communication with the Bluetooth module A according to the negotiated secret key.
Optionally, after the gateway bluetooth module B is paired with the webcam bluetooth module a, the method further includes:
the Bluetooth module B is also used for receiving the distribution network information sent by the Bluetooth module A;
the registration unit is used for registering the network camera with the distribution network information to a server so that the server registers the distribution network information of the network camera to obtain registration reply information and sends the registration reply information to the gateway;
the bluetooth module B is further configured to forward the registration reply information to the network camera, so that the network camera determines whether the network camera is connected to the server according to the registration reply information.
Optionally, when the bluetooth module B keeps alive with the bluetooth module a, the bluetooth module B is specifically configured to:
receiving a connection request broadcasted by the Bluetooth module A;
detecting whether the Bluetooth module A is paired or not according to the connection request;
if the Bluetooth module A is determined to be paired, directly connecting the Bluetooth module A;
responding and entering a low-power keep-alive mode of the Bluetooth module A.
Optionally, when the bluetooth module B responds and enters the low power keep-alive mode of the bluetooth module a, the bluetooth module B is specifically configured to:
receiving a time interval for the Bluetooth module A to send reduced keep-alive communications;
and performing keep-alive communication with the Bluetooth module A according to the time interval.
Optionally, the system further includes a WiFi module B, the system further includes:
the Bluetooth module B is also used for sending a wake-up packet to the Bluetooth module A;
and the WiFi module B is used for establishing communication with the WiFi module A according to the awakening packet.
A fifth aspect of an embodiment of the present application provides a network camera, including:
the device comprises a processor, a memory, a bus, a camera assembly, a Bluetooth module A, WiFi and a module A;
the processor is connected with the memory, the camera shooting assembly, the Bluetooth module A and the WiFi module A through a bus;
the processor performs the method of any of the preceding first aspects.
A sixth aspect of the embodiments of the present application provides a gateway, including:
processor, memory, bus, bluetooth module B, WiFi module B;
the processor is connected with the memory, the Bluetooth module B and the WiFi module B through a bus;
the processor performs the method of any of the preceding second aspects.
A seventh aspect of embodiments of the present application provides a computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method according to any one of the first or second aspects.
An eighth aspect of embodiments of the present application is a computer program product, which, when executed on a computer, causes the computer to perform the method according to any one of the first or second aspects.
According to the technical scheme, the embodiment of the application has the following advantages:
in the technical scheme of the application, the Bluetooth module A is configured in the network camera and the Bluetooth module B is configured in the gateway, so that the keep-alive between the network camera and the gateway can be carried out through the Bluetooth module A and the Bluetooth module B, compared with the prior art that the WiFi module is used for keeping alive, the technical scheme of the application overcomes the thinking inertia of people, the keep-alive is carried out by introducing the communication using the Bluetooth module, because the power consumption of the Bluetooth module is much lower than that of the WiFi module, particularly for the network camera with a battery, the reduction of the battery consumption is very important for improving the endurance capacity, the communication between the WiFi module is consumed at the milliampere level, and the communication between the Bluetooth modules is consumed at the microampere level, therefore, the use of the Bluetooth module for keep-alive communication is more electric energy-saving compared with the WiFi module for keep-alive communication, the energy loss of keeping alive between the network camera and the gateway in the prior art can be reduced.
Drawings
Fig. 1 is a flowchart of an embodiment of a low-power keep-alive method for a network camera and a gateway according to the present application;
fig. 2 is a flowchart of another embodiment of a low-power keep-alive method for a network camera and a gateway according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a network camera in a low-power keep-alive system of a network camera and a gateway according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a gateway in a low-power keep-alive system of a network camera and the gateway according to an embodiment of the present application;
fig. 5 is another schematic structural diagram of a network camera in a low-power keep-alive system of a network camera and a gateway according to an embodiment of the present application;
fig. 6 is another schematic structural diagram of a gateway in a low-power keep-alive system of a network camera and the gateway according to the embodiment of the present application.
Detailed Description
The embodiment of the application provides a low-power-consumption keep-alive method and a low-power-consumption keep-alive system for a network camera and a gateway, which are used for reducing energy loss of keep-alive between the network camera and the gateway in the prior art.
It should be noted that, the present application is mainly directed to an improvement of a current technical solution for performing keep-alive communication between a network camera and a gateway by using a WiFi module. In brief, the bluetooth module a is configured for the network camera and the bluetooth module B is configured for the gateway on the original basis, and the communication between the bluetooth module a and the bluetooth module B is limited as follows, so that the energy loss of keeping alive between the network camera and the gateway in the prior art can be effectively reduced.
Referring to fig. 1, an embodiment of a network camera in a network camera and gateway low power keep-alive system according to the present application includes:
101. the network camera is paired with the Bluetooth module B of the gateway through the Bluetooth module A.
The keep-alive communication between the network camera and the gateway is carried out by using the Bluetooth module, the Bluetooth module A is a device which is configured in the network camera and used for carrying out the keep-alive communication with the gateway, and the Bluetooth module B is a device which is configured in the gateway and used for carrying out the keep-alive communication with the network camera. Firstly, the bluetooth module a of the network camera and the bluetooth module B of the corresponding gateway need to be paired, so that the identity of the network camera and the gateway can be checked, and the correctness of the communication objects of the bluetooth module a of the network camera and the bluetooth module B of the gateway can be ensured.
102. The network camera keeps alive with the Bluetooth module B of the gateway through the Bluetooth module A.
After the network camera and the gateway are paired through their respective bluetooth modules instep 101, it should be noted that when the network camera is not performing the image capturing operation, that is, when no video data stream flows between the network camera and the gateway, the gateway needs to perform data interaction (heartbeat packet) with the network camera for a certain time interval to determine that the network camera is in the standby state, that is, keep alive. At this time, the bluetooth module a of the network camera and the bluetooth module B of the gateway can be selected to perform keep-alive communication.
In the technical scheme of the application, the Bluetooth module A is configured in the network camera and the Bluetooth module B is configured in the gateway, so that the keep-alive between the network camera and the gateway can be carried out through the Bluetooth module A and the Bluetooth module B, compared with the prior art that the WiFi module is used for keeping alive, the technical scheme of the application overcomes the thinking inertia of people, the keep-alive is carried out by introducing the communication using the Bluetooth module, because the power consumption of the Bluetooth module is much lower than that of the WiFi module, particularly for the network camera with a battery, the reduction of the battery consumption is very important for improving the endurance capacity, the communication between the WiFi module is consumed at the milliampere level, and the communication between the Bluetooth modules is consumed at the microampere level, therefore, the use of the Bluetooth module for keep-alive communication is more electric energy-saving compared with the WiFi module for keep-alive communication, the energy loss of keeping alive between the network camera and the gateway in the prior art can be reduced.
Referring to fig. 2, another embodiment of a low-power keep-alive method for a network camera and a gateway according to the present application includes:
201. the network camera broadcasts a pairing request outwards.
When the network camera with the bluetooth module a starts to be used, firstly, the network camera needs to be paired with the gateway which is correspondingly connected, the pairing process generally includes the steps of starting the bluetooth module a of the network camera and starting the bluetooth module B of the gateway, and enabling the bluetooth module a and the bluetooth module B to be arranged in a mutual signal transmission range, and then the network camera broadcasts a pairing request outwards through the bluetooth module a, so that the gateway bluetooth module B in the signal range can retrieve a signal of the pairing request.
202. And the gateway replies a pairing response according to the pairing request.
After the gateway bluetooth module B retrieves the network camera of the pairing request in step 201, it may select to allow the network camera to connect through the bluetooth module B, or may select not to allow the network camera to connect through the bluetooth module B, for example, when the gateway bluetooth is already connected with other devices, the pairing request with the network camera may be rejected, which is not limited herein. After the gateway allows the Bluetooth module A of the network camera to be paired and connected, the gateway can reply a corresponding pairing response to the Bluetooth module A of the network camera through the Bluetooth module B, and then the network camera and the gateway are paired and connected.
203. And the gateway and the network camera carry out key negotiation.
After the gateway and the webcam are connected to each other through the bluetooth module in step 202, in order to ensure the communication security between the bluetooth module, key negotiation is performed between the gateway and the webcam, in this process, communication between the gateway and the webcam is encrypted through a certain algorithm, and the gateway and the webcam each have a corresponding decryption key. Therefore, the communication between the gateway and the network camera is not easy to crack, and the network attack and illegal control are reduced.
204. And the network camera sends the distribution network information to the gateway.
After step 203, the communication between the network camera and the gateway can be performed through encryption, and at this time, the network camera can send its own distribution network information to the gateway, where the distribution network information mainly includes information such as a physical address and a model parameter of the network camera, and the distribution network information is used to forward the information to the server for registering the network camera in the server.
205. And the gateway forwards the distribution network information of the network camera to the server.
Because the network camera is not directly connected with the server, the network distribution information needs to be forwarded to the server through the gateway.
206. And the server forms registration reply information according to the distribution network information.
The server is used for storing and managing various information of the network camera, after the distribution network information of the network camera is obtained, the registration verification is completed in the server according to the distribution network information, and registration reply information is formed, wherein the registration reply information comprises registration success or registration failure. The network camera successfully registered in the server can enjoy the remote data storage and remote control services of the server.
207. The server sends the registration reply message to the gateway.
After forming the registration reply information in step 206, the server may forward the registration reply information providing gateway formed according to the distribution network information of the network camera to the network camera so that the network camera knows whether the registration is successful.
208. The gateway forwards the registration reply information of the server to the network camera.
209. And the network camera determines whether the connection with the server is successful according to the registration reply information.
The network camera can determine whether the registration is successful according to the registration reply information, if the network camera is successfully registered in the server, the network camera can accept a control instruction from the server, and the data of the network camera can be stored in the server.
210. The network camera starts a low-power keep-alive mode.
It is understood that when the network camera is in the standby mode, that is, the server has no control command for the network camera, and the network camera has no image capturing task to execute, the network camera enters the standby mode for energy saving. In the mode, the WiFi module is not started between the gateway and the network camera to transmit the video data stream, and the network camera and the gateway are kept alive only by the transmission of heartbeat packets by the Bluetooth module. It can be understood that, the network camera does not receive the shooting instruction within a certain time, and then can automatically enter the low-power-consumption keep-alive mode of the network camera and the gateway, and the process mainly comprises the following steps:
(1) the network camera continuously broadcasts the connection request outwards through the Bluetooth module A, and the step of continuously broadcasting the connection request outwards through the Bluetooth module A is to consider that the network camera and the gateway are in pairing in advance, and the network camera needs to be reconnected aiming at the condition that the network camera is off-line and is not connected with the Bluetooth module B of the gateway; if connected, this step may be omitted.
(2) The gateway can search whether the network cameras need to be connected through the Bluetooth module B at regular time, at the moment, a connection request broadcasted by the network cameras can be searched, the gateway detects whether the network cameras are matched according to the connection request, and if yes, the network cameras are directly connected; if not, the user is guided to carry out the pairing verification and the registration with the server.
(3) The low power consumption mode of the network camera mainly comprises the steps of closing high energy consumption functional modules of the network camera, such as a camera shooting component and a WiFi module A, only keeping the Bluetooth module A and the gateway to transmit heartbeat packets, and further reducing the transmission time interval of keep-alive communication heartbeat packets, so that the transmission time interval is as long as possible, the communication frequency between the network camera and the gateway is reduced on the premise of keeping standby communication, and the purpose of keeping the network camera and the gateway alive with lower power consumption is achieved.
211. And the network camera sends the low-power keep-alive mode information to the gateway.
Since the low-power keep-alive mode needs to be performed between the network camera and the gateway, the network camera needs to send the low-power keep-alive mode information to the gateway, for example, the changed transfer time interval of the keep-alive communication heartbeat packet, so that the gateway knows how to perform, and the offline of the network camera is not misjudged.
212. The gateway responds to the low power keep-alive mode.
And after receiving the low-power keep-alive mode information, the gateway responds to the low-power keep-alive mode of the network camera, such as executing a transfer time interval of a new keep-alive communication heartbeat packet and the like.
213. The server receives a control request for the network camera.
It will be understood that the server may receive a control request for controlling and managing the webcam from the application software APP of the smart device. It should be noted that the server may transmit some relevant data of the network camera to a designated intelligent terminal, such as a mobile phone, or a computer, and the intelligent terminal may view the relevant data of the network camera through a specific application software APP and remotely control the network camera through the application software APP. When the intelligent terminal remotely controls the network camera through the software application APP, the server receives a control request for the network camera.
214. The server sends a control request for the network camera to the gateway.
Since the server is not directly connected to the network camera, the control request needs to be forwarded to the corresponding network camera through the gateway.
215. The gateway determines the webcam status.
After the gateway receives the control request for the network cameras, the state of the corresponding network camera needs to be determined, that is, the gateway needs to know whether the corresponding network camera is online or not, because the gateway can only control the online network camera, the online network camera is that the network camera and the gateway are kept in a communication state and are not offline. The gateway is one of keep-alive participating devices of the network camera, and the gateway stores the latest communication information with the network camera, so that the communication time between the latest communication time and the network camera can be known by inquiring the communication record with the network camera, if the communication time between the latest communication time and the network camera does not exceed the preset time interval, the state of the network camera can be determined to be on-line, and otherwise, the network camera is determined not to be on-line.
216. The gateway sends a connection request or a wake-up packet to the network camera.
If the network camera is not on-line, the server sends a connection control instruction to enable the gateway to try to actively search and connect the corresponding network camera, if the connection is successful, a normal working state is carried out, the control request of the step 213 is responded, and if the network camera is not connected, information that the network camera is off-line is returned; if the network camera is on-line and in a working state, directly transmitting a control instruction received by the server to enable the network camera to work according to the operation instruction, and responding to the control request of the step 213; if the webcam is online and in the standby state, a preset webcam wake-up packet may be selected and called, where the wake-up packet is used to activate the webcam from the standby state to turn to the working state, and respond to the control request of step 213.
217. The network camera enters a normal working state.
The network camera enters a working state, namely, the WiFi module A of the network camera is started according to the connection request or the wake-up packet, so that the WiFi module A and the WiFi module B of the gateway are connected and communicated. Further, the gateway may transmit information such as a signal frequency band and a connection password of the WiFi module B to the bluetooth module a of the network camera through the paired bluetooth module B in the wake-up packet or the connection request, so that the WiFi module a of the network camera may be quickly connected with the WiFi module B of the gateway.
In the technical scheme of the application, the Bluetooth module A is configured in the network camera and the Bluetooth module B is configured in the gateway, so that the keep-alive between the network camera and the gateway can be carried out through the Bluetooth module A and the Bluetooth module B, compared with the prior art that the WiFi module is used for keeping alive, the technical scheme of the application overcomes the thinking inertia of people, the keep-alive is carried out by introducing the communication using the Bluetooth module, because the power consumption of the Bluetooth module is much lower than that of the WiFi module, particularly for the network camera with a battery, the reduction of the battery consumption is very important for improving the endurance capacity, the communication between the WiFi module is consumed at the milliampere level, and the communication between the Bluetooth modules is consumed at the microampere level, therefore, the use of the Bluetooth module for keep-alive communication is more electric energy-saving compared with the WiFi module for keep-alive communication, the energy loss of keep-alive between the network camera and the gateway in the prior art can be reduced, and on the basis, if the long range mode based on the Bluetooth is adopted, the network camera and the gateway can be kept alive at a longer distance.
In the above description of the embodiments of the network camera and the gateway low-power keep-alive method of the present application, the following description describes a system of the network camera and the gateway low-power keep-alive method of the present application, please refer to fig. 3, and a network camera and gateway low-power keep-alive system is applied to the network camera, and includes:
the Bluetooth module A301 is used for pairing with a Bluetooth module B of the gateway;
the bluetooth module a301 is further configured to keep alive with the bluetooth module B.
Optionally, when the bluetooth module a301 is paired with the bluetooth module B, the bluetooth module a is specifically configured to:
broadcasting a pairing request outwards;
receiving a pairing response sent by the Bluetooth module B;
carrying out key negotiation with the Bluetooth module B according to the pairing response;
and carrying out encrypted communication with the Bluetooth module B according to the negotiated secret key.
Optionally, the system further comprises:
the bluetooth module a301 is further configured to send distribution network information to the gateway, so that the gateway registers the network camera with the distribution network information to a server, and forwards registration reply information of the server to the network camera;
a determiningunit 302, configured to determine whether the server is connected according to the registration reply information.
Optionally, when the bluetooth module a301 keeps alive with the bluetooth module B, the bluetooth module a301 is specifically configured to:
continuously broadcasting the connection request outwards;
receiving a connection response sent by the paired gateway through the Bluetooth module B, and connecting the paired gateway to the gateway;
and starting a low-power keep-alive mode.
Optionally, when the bluetooth module a301 starts the low power keep-alive mode, it is specifically configured to:
reducing the time interval of keep-alive communication with the gateway and sending the time interval to the gateway;
keep-alive communication is conducted with the gateway according to the time interval.
Optionally, the system further includes a WiFi module a, and the system further includes:
the bluetooth module a301 is further configured to receive a wake-up packet sent by the bluetooth module B;
awakeup unit 303 unit, configured to start the WiFi module a according to the wakeup packet;
the WiFi module a304 is configured to establish communication with the WiFi module B of the gateway.
In this embodiment, a network camera and gateway low-power keep-alive system is applied to a network camera, and operations performed by the network camera are similar to those performed by the network camera in fig. 1 or fig. 2, which are not described herein again.
In the technical scheme of the application, the Bluetooth module A301 is configured in the network camera and the Bluetooth module B is configured in the gateway, so that the keep-alive between the network camera and the gateway can be carried out through the Bluetooth module A301 and the Bluetooth module B, compared with the prior art that the WiFi module is used for keeping alive, the technical scheme of the application overcomes the thinking inertia of people, the keep-alive is carried out by introducing the communication using the Bluetooth module, because the power consumption of the Bluetooth module is much lower than that of the WiFi module, especially for the network camera with a battery, the reduction of the consumption of the battery is very important for improving the endurance, the communication between the WiFi module is consumed at the milliampere level, and the communication between the Bluetooth module is consumed at the microampere level, therefore, the use of the Bluetooth module for keep-alive communication is more electric energy-saving compared with the WiFi module for keep-alive communication, the energy loss of keeping alive between the network camera and the gateway in the prior art can be reduced.
Referring to fig. 4, a low power consumption keep-alive system for a network camera and a gateway, applied to the gateway, includes:
the Bluetooth module B401 is used for pairing with the Bluetooth module A of the network camera;
the bluetooth module B401 is further configured to keep alive with the bluetooth module a.
Optionally, when the bluetooth module B401 is paired with the bluetooth module a, it is specifically configured to:
receiving a pairing request broadcast by the Bluetooth module A;
replying a pairing response according to the pairing request, and performing key negotiation with the Bluetooth module A;
and carrying out encrypted communication with the Bluetooth module A according to the negotiated secret key.
Optionally, after the gateway bluetooth module B401 is paired with the webcam bluetooth module a, the method further includes:
the bluetooth module B401 is further configured to receive distribution network information sent by the bluetooth module a;
a registeringunit 402, configured to register the network camera with the distribution network information, so that the server registers the distribution network information of the network camera to obtain registration reply information, and sends the registration reply information to the gateway;
the bluetooth module B401 is further configured to forward the registration reply information to the network camera, so that the network camera determines whether the network camera is connected to the server according to the registration reply information.
Optionally, when the bluetooth module B401 keeps alive with the bluetooth module a, it is specifically configured to:
receiving a connection request broadcasted by the Bluetooth module A;
detecting whether the Bluetooth module A is paired or not according to the connection request;
if the Bluetooth module A is determined to be paired, directly connecting the Bluetooth module A;
responding and entering a low-power keep-alive mode of the Bluetooth module A.
Optionally, when the bluetooth module B401 responds and enters the low power keep-alive mode of the bluetooth module a, it is specifically configured to:
receiving a time interval for the Bluetooth module A to send reduced keep-alive communications;
and performing keep-alive communication with the Bluetooth module A according to the time interval.
Optionally, the system further includes a WiFi module B, the system further includes:
the bluetooth module B401 is further configured to send a wakeup packet to the bluetooth module a;
the WiFi module B403 is configured to establish communication with the WiFi module a according to the wake-up packet.
In this embodiment, a low-power keep-alive system for a network camera and a gateway is applied to the gateway, and the operation performed is similar to the operation performed by the gateway in fig. 1 or fig. 2, which is not described herein again.
In the technical scheme of the application, the Bluetooth module A301 is configured in the network camera and the Bluetooth module B is configured in the gateway, so that the keep-alive between the network camera and the gateway can be carried out through the Bluetooth module A301 and the Bluetooth module B, compared with the prior art that the WiFi module is used for keeping alive, the technical scheme of the application overcomes the thinking inertia of people, the keep-alive is carried out by introducing the communication using the Bluetooth module, because the power consumption of the Bluetooth module is much lower than that of the WiFi module, especially for the network camera with a battery, the reduction of the consumption of the battery is very important for improving the endurance, the communication between the WiFi module is consumed at the milliampere level, and the communication between the Bluetooth module is consumed at the microampere level, therefore, the use of the Bluetooth module for keep-alive communication is more electric energy-saving compared with the WiFi module for keep-alive communication, the energy loss of keep-alive between the network camera and the gateway in the prior art can be reduced, and on the basis, if the long range mode based on the Bluetooth is adopted, the network camera and the gateway can be kept alive at a longer distance.
Another embodiment of the network camera and the gateway low-power keep-alive system applied to the network camera is described below, with reference to fig. 5, which specifically includes:
the webcam and gateway low power keep-alive system 500 may include one or more processors (CPUs) 501 and amemory 505, where one or more applications or data are stored in thememory 505.Memory 505 may be volatile storage or persistent storage, among others. The program stored inmemory 505 may include one or more modules, each of which may include a series of instruction operations for a webcam and gateway low power keep alive system. The webcam and gateway low power keep-alive system 500 may further include one or more bluetooth modules a503, one or more WiFi modules a504, one ormore batteries 502, one ormore camera components 506, one or more operating systems, such as Andriod, Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. The processor 501 of the network camera and gateway low-power keep-alive system 500 may perform all or part of the operations performed by the network camera in the foregoing embodiments shown in fig. 1 or fig. 2, and details are not repeated here.
The following describes another embodiment of applying the network camera and the gateway low-power keep-alive system to the gateway, with reference to fig. 6, which specifically includes:
the webcam and gateway low power keep-alive system 600 may include one or more processors (CPUs) 601 and amemory 605, where thememory 605 stores one or more applications or data. Thememory 605 may be volatile storage or persistent storage, among other things. The program stored inmemory 605 may include one or more modules, each of which may include a series of instructional operations on the webcam and gateway low power keep-alive system. The webcam and gateway low power keep-alive system 600 may further include one or more bluetooth modules B603, one or more WiFi modules B604, one ormore power supplies 602, one or more camera components 606, one or more operating systems, such as Andriod, Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like. Theprocessor 601 of the network camera and gateway low-power keep-alive system 500 may perform all or part of the operations performed by the gateway in the embodiments shown in fig. 1 or fig. 2, which is not described herein again in detail.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other media capable of storing program codes.

Claims (10)

CN202010354967.5A2020-04-292020-04-29Low-power-consumption keep-alive method and system for network camera and gatewayPendingCN111556555A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010354967.5ACN111556555A (en)2020-04-292020-04-29Low-power-consumption keep-alive method and system for network camera and gateway

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010354967.5ACN111556555A (en)2020-04-292020-04-29Low-power-consumption keep-alive method and system for network camera and gateway

Publications (1)

Publication NumberPublication Date
CN111556555Atrue CN111556555A (en)2020-08-18

Family

ID=72003121

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010354967.5APendingCN111556555A (en)2020-04-292020-04-29Low-power-consumption keep-alive method and system for network camera and gateway

Country Status (1)

CountryLink
CN (1)CN111556555A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114615675A (en)*2021-04-222022-06-10苏州萝卜电子科技有限公司Communication method and system for intelligent glasses
CN114980357A (en)*2022-05-252022-08-30杭州涂鸦信息技术有限公司Wireless access point keep-alive method and related device
CN114980191A (en)*2022-05-192022-08-30阿里云计算有限公司 Information processing method, apparatus, storage medium and program product
WO2022228051A1 (en)*2021-04-282022-11-03华为技术有限公司Device networking method, electronic device, and storage medium
CN115767491A (en)*2022-11-032023-03-07宁波宝贝第一母婴用品有限公司Communication method, device and system of low-power-consumption Bluetooth device and terminal device

Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101305584A (en)*2005-12-212008-11-12诺基亚公司Managing connections in a wireless communication network
CN104394190A (en)*2014-10-222015-03-04宏景电子(芜湖)有限公司Vehicle-mounted equipment and mobile phone integral system based on Bluetooth transmission
CN104885556A (en)*2012-12-132015-09-02诺基亚技术有限公司 Periodic determination of keep-alive for WIFI network
CN104917987A (en)*2015-07-032015-09-16广景视睿科技(深圳)有限公司Projection control method and projection apparatus
CN105872391A (en)*2016-06-152016-08-17华为技术有限公司 Network camera control method, device and system
CN106125621A (en)*2016-08-102016-11-16深圳市奥尼电子工业有限公司security monitoring system and security monitoring method
CN107231627A (en)*2017-08-102017-10-03乐鑫信息科技(上海)有限公司A kind of blueteeth network and with network method
CN107330661A (en)*2017-08-212017-11-07武汉欣海远航科技研发有限公司A kind of adaptive warehouse management system of low power consumption network
CN107360362A (en)*2017-06-162017-11-17深圳市共进电子股份有限公司Portable network video camera and wireless router operation method
CN107517136A (en)*2016-06-162017-12-26中兴通讯股份有限公司The implementation method of heartbeat keep-alive, apparatus and system
US20180255422A1 (en)*2017-03-022018-09-06Blackberry LimitedMethod and system for wakeup trigger by out-of-band communication
CN109688573A (en)*2019-01-222019-04-26北京深思数盾科技股份有限公司Exchange method and bluetooth equipment between bluetooth equipment
CN110365895A (en)*2019-06-032019-10-22浙江大华技术股份有限公司Photographic device adjusting method, system, readable storage medium storing program for executing and equipment
CN110958593A (en)*2019-10-222020-04-03珠海格力电器股份有限公司Bluetooth networking method, device, system and computer readable medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101305584A (en)*2005-12-212008-11-12诺基亚公司Managing connections in a wireless communication network
CN104885556A (en)*2012-12-132015-09-02诺基亚技术有限公司 Periodic determination of keep-alive for WIFI network
CN104394190A (en)*2014-10-222015-03-04宏景电子(芜湖)有限公司Vehicle-mounted equipment and mobile phone integral system based on Bluetooth transmission
CN104917987A (en)*2015-07-032015-09-16广景视睿科技(深圳)有限公司Projection control method and projection apparatus
CN105872391A (en)*2016-06-152016-08-17华为技术有限公司 Network camera control method, device and system
CN107517136A (en)*2016-06-162017-12-26中兴通讯股份有限公司The implementation method of heartbeat keep-alive, apparatus and system
CN106125621A (en)*2016-08-102016-11-16深圳市奥尼电子工业有限公司security monitoring system and security monitoring method
US20180255422A1 (en)*2017-03-022018-09-06Blackberry LimitedMethod and system for wakeup trigger by out-of-band communication
CN107360362A (en)*2017-06-162017-11-17深圳市共进电子股份有限公司Portable network video camera and wireless router operation method
CN107231627A (en)*2017-08-102017-10-03乐鑫信息科技(上海)有限公司A kind of blueteeth network and with network method
CN107330661A (en)*2017-08-212017-11-07武汉欣海远航科技研发有限公司A kind of adaptive warehouse management system of low power consumption network
CN109688573A (en)*2019-01-222019-04-26北京深思数盾科技股份有限公司Exchange method and bluetooth equipment between bluetooth equipment
CN110365895A (en)*2019-06-032019-10-22浙江大华技术股份有限公司Photographic device adjusting method, system, readable storage medium storing program for executing and equipment
CN110958593A (en)*2019-10-222020-04-03珠海格力电器股份有限公司Bluetooth networking method, device, system and computer readable medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114615675A (en)*2021-04-222022-06-10苏州萝卜电子科技有限公司Communication method and system for intelligent glasses
WO2022228051A1 (en)*2021-04-282022-11-03华为技术有限公司Device networking method, electronic device, and storage medium
CN114980191A (en)*2022-05-192022-08-30阿里云计算有限公司 Information processing method, apparatus, storage medium and program product
WO2023221948A1 (en)*2022-05-192023-11-23阿里云计算有限公司Information processing method, and device, storage medium and program product
CN114980357A (en)*2022-05-252022-08-30杭州涂鸦信息技术有限公司Wireless access point keep-alive method and related device
CN115767491A (en)*2022-11-032023-03-07宁波宝贝第一母婴用品有限公司Communication method, device and system of low-power-consumption Bluetooth device and terminal device

Similar Documents

PublicationPublication DateTitle
CN111556555A (en)Low-power-consumption keep-alive method and system for network camera and gateway
US12284512B2 (en)Dynamic key exchange for moving target
CN111629427B (en)Multimedia data processing method and device, electronic equipment and storage medium
US10602448B2 (en)Remote wakeup method, connection server, and networking apparatus having sleep mode
CN110557263B (en) Standby control method, system, terminal device and relay device
CN107360362B (en)Portable network video camera and wireless router operation method
EP3201789A1 (en)Bluetooth low energy hostless private address resolution
WO2013130502A1 (en)Shared network access via a peer-to-peer link
CN106161598B (en)Agent keep-alive system and method
CN111669494B (en)Network camera control method and network camera
CN115242825A (en)Remote control method and device
CN109525939A (en)A kind of NVR and IPC automatic matching method and wireless video monitoring automatic network-building system
CN102265702A (en)Stand-by method for access point and access point
CN113873684B (en)Connection establishment method and device based on local area network, terminal equipment and storage medium
CN113596141B (en)Method and device for setting device control authority, computer device and storage medium
CN112788700A (en)Communication method, terminal and readable storage medium
CN111669753A (en)WLAN network connection method and electronic equipment
CN113259857A (en)Communication connection method and device for vehicle, electronic equipment and storage medium
CN106792804B (en)Multicast WIFI frame detection mechanism capable of monitoring and responding as required
CN111491129A (en)Network monitoring system, router operation method and device and router
CN113778530B (en)Equipment awakening method and device, remote system and system server
CN113727336B (en)Operation method of IOT equipment and intelligent gateway, terminal equipment and storage medium
CN115002771B (en)Connection method, device and system between intelligent home terminal and wireless network equipment
CN108574974B (en)Wireless access method, related equipment and system
CN120660398A (en)Method and apparatus for device connection, chip, storage medium, and computer program

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20200818

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp