The present application is a continuation of International Application No. PCT/CN2015/077883, filed on Apr. 29, 2015, which is based upon and claims priority to Chinese Patent Application No. 201410852271.X, filed on Dec. 31, 2014, the entire contents of both of which are incorporated herein by reference.
The present disclosure relates to smart devices and, more particularly, to a method and apparatus for recording videos.
Smart cameras can be used for home security. For example, a smart camera can be connected to a router at home through a built-in Wi-Fi (Wireless-Fidelity) module, and a video recorded by the smart camera is uploaded to a server through the router. A user can acquire and view the video stored in the server using a smart phone.
However, when the user is at home, the smart camera still uploads the recorded video to the server, which results in leakage of user privacy.
In accordance with the present disclosure, there is provided a method for recording videos. The methods includes receiving first network connection information sent from a mobile terminal and acquiring second network connection information of a bound monitoring device according to the first network connection information. The bound monitoring device is bound with the mobile terminal. The method further includes, when the first network connection information matches the second network connection information, sending a stop instruction to the monitoring device to stop recording.
Also in accordance with the present disclosure, there is provided a device for recording video. The device includes a processor and a non-transitory computer-readable storage medium storing instructions. The instructions, when executed by the processor, cause the processor to receive first network connection information sent from a mobile terminal and acquire second network connection information of a bound monitoring device according to the first network connection information. The bound monitoring device is bound with the mobile terminal. The instructions further cause the processor to, when the first network connection information matches the second network connection information, send a stop instruction to the monitoring device to stop recording.
Also in accordance with the present disclosure, there is provided a non-transitory computer-readable storage medium storing instructions. The instructions, when executed by a processor of a terminal, cause the terminal to receive first network connection information sent from a mobile terminal and acquire second network connection information of a bound monitoring device according to the first network connection information. The bound monitoring device is bound with the mobile terminal. The instructions further cause the terminal to, when the first network connection information matches the second network connection information, send a stop instruction to the monitoring device to stop recording.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and, together with the description, serve to explain the principles of the present disclosure.
Specific embodiments of the present disclosure are shown by the above drawings, and more detailed description will be made hereinafter. These drawings and text description are not for limiting the scope of conceiving the present disclosure in any way, but for illustrating the concept of the present disclosure for those skilled in the art by referring to specific embodiments.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise represented. The implementations set forth in the following description of exemplary embodiments do not represent all implementations consistent with the invention. Instead, they are merely examples of apparatuses and methods consistent with aspects related to the invention as recited in the appended claims.
The monitoring device 110 has a function of video monitoring. For example, the monitoring device 110 may be a wired or wireless smart camera with a certain computing capability. The monitoring device 110 is connected to the gateway device 130 through a wired or wireless network.
The mobile terminal 120 is an electronic device such as a smart phone, a tablet computer, an ebook reader, a MP3 (Moving Picture Experts Group Audio Layer III) player, a MP4 (Moving Picture Experts Group Audio Layer IV) player, or the like. The mobile terminal 120 is connected to the gateway device 130 through a wired or wireless network.
The gateway device 130 is an electronic device with a data processing capability. The gateway device 130 may be a router, a host enabled to perform a routing function by software, or a network switch having a three-layer switching function.
The server 140 may be a single server, a server cluster composed of several individual servers, or a cloud computing service center. The gateway device 130 and the server 140 are connected to each other through a wired or wireless network.
Methods for recording videos according to the present disclosure can be implemented in the gateway device 130 or in the server 140. In the following description, examples are described with respect to the implementation in the server 140, but they can also be implemented in the gateway device 130.
Thus, consistent with the present disclosure, whether a user of the mobile terminal is at home is judged according to a network connection situation of the mobile terminal, and the stop instruction is sent to the monitoring device when the user is at home.
In some embodiments, the mobile terminal runs software for managing monitoring devices, also referred to as monitoring device managing software. The user inputs the identification of the monitoring device to be bound in a binding relationship equipment interface. The mobile terminal sends the binding information, which carries the identification of the monitoring device and the identification of the current mobile terminal, to the server according to the identification of the monitoring device. The identification of the monitoring device may be, for example, a MAC (Media Access Control) address of a Bluetooth module in the monitoring device. The identification of the mobile terminal may be, for example, a MAC address of a Bluetooth module or an IMEI (International Mobile Equipment Identity) code of the mobile terminal.
For example, as shown in
In some embodiments, the user can search nearby monitoring devices by clicking a search button on the binding relationship setting interface of the monitoring device managing software. The nearby monitoring devices are displayed in a monitoring device list. The user selects the monitoring device in the monitoring device list to perform a binding operation. The mobile terminal sends the identification of the current mobile terminal and the identification of the selected monitoring device together to the server. In some embodiments, the mobile terminal sends the identification of the mobile terminal to the monitoring device, and then the monitoring device sends the identification of the mobile terminal and the identification of the monitoring device to the server.
For example, as shown in
Correspondingly, the server receives the binding information sent by the mobile terminal or the monitoring device.
Refer again to
In some embodiments, one mobile terminal may be bound with a plurality of monitoring devices at the same time. In some embodiments, one monitoring device may also be bound with a plurality of mobile terminals at the same time.
At 303, first network connection information sent by a mobile terminal is received.
Specifically, the monitoring device managing software runs as a background process in the mobile terminal and automatically detects the current network connection situation. When the monitoring device managing software detects that the mobile terminal is connected to a Wi-Fi network or switches to another Wi-Fi network, the mobile terminal sends the current network connection information, i.e., the first network connection information, to the server. The first network connection information includes the MAC address and SSID (Service Set Identifier) information of the gateway device to which the mobile terminal is connected.
Correspondingly, the server receives the first network connection information sent by the mobile terminal.
At 304, second network connection information of a monitoring device bound with the mobile terminal is acquired according to the first network connection information.
Specifically, the server acquires the network connection information of the monitoring device bound with the mobile terminal according to the received identification the mobile terminal carried in the first network connection information. The server can acquire the network connection information of the monitoring device by various approaches.
In an exemplary approach, as shown in
At 304b1, the server finds the monitoring device bound with the mobile terminal in a preset binding relationship according to the identification of the mobile terminal. Specifically, the server finds the identification of the monitoring device from the preset binding relationship. For example, in the binding relationship, the identification of the bound monitoring device that corresponds to the acquired MAC address 00:11:22:AA:BB of the Bluetooth module in the mobile terminal is 00:11:22:AA:CC.
At 304c1, the server sends instruction of acquiring the second network connection information, which is also referred to as a “second network connection information acquisition instruction,” to the bound monitoring device. The second network connection information acquisition instruction is used to acquire the current network connection information of the monitoring device.
Correspondingly, the monitoring device receives the second network connection information acquisition instruction and sends the current network connection information, i.e., the second network connection information, to the server. The second network connection information includes the MAC address and the SSID information of the gateway device to which the monitoring device is connected.
At 304d1, the server receives the second network connection information sent by the bound monitoring device. According to the received second network connection information, the server can acquire the information of the gateway device to which the monitoring device is currently connected.
In another exemplary approach, as shown in
At 304b2, the server finds an identification of the monitoring device bound with the mobile terminal in a preset binding relationship according to the identification of the mobile terminal. For example, in the binding relationship, the identification of the bound monitoring device that corresponds to the acquired MAC address 00:11:22:AA:BB of the Bluetooth module in the mobile terminal is 00:11:22:AA:CC.
At 304c2, the server acquires the second network connection information previously uploaded by the monitoring device according to the found identification of the bound monitoring device. In this example, a monitoring device monitors network connection information. When the monitoring device is initially connected to a gateway device or detects that the network connection information changes, the monitoring device acquires the current network connection information, and uploads it to the server as the second network connection information. In some embodiments, the monitoring device uploads the current network connection information to the server every certain interval.
The server saves the network connection information sent by the monitoring device to a second network connection information table, and updates data in the table in real time. An example of the second network connection information table is shown in Table II.
According to the found identification of the monitoring device bound with the mobile terminal, the server searches for the current network connection information of the monitoring device. For example, the identification of the monitoring device bound with the mobile terminal found by the server is 00:11:22:AA:CC, and the current network connection information of the monitoring device found in the second network connection information table is “SSID information: SSID A, MAC address: MAC A”.
Referring again to
At 305b, the server detects whether the first device information and the second device are the same.
When the monitoring device is connected with the gateway device via the network cable, the server detects whether the MAC address of the gateway device to which the mobile terminal is connected and the MAC address of the gateway device to which the monitoring device is connected are the same. If the two MAC addresses are the same, it means that the mobile terminal and the monitoring device are connected to the same gateway device. If the two MAC addresses are different, it means that the mobile terminal and the monitoring device are not connected to the same gateway device.
When the monitoring device is connected with the gateway device through the wireless network, the server detects whether the SSID information of the gateway device to which the mobile terminal is connected and the SSID information of the gateway device to which the monitoring device is connected are the same. If the SSID information of the two gateway devices is different, it means that the mobile terminal and the monitoring device are not connected to the same gateway device. Since different gateway devices may set the same SSID information, if the SSID information of the two gateway devices is the same, the server further detects whether the MAC address of the gateway device to which the mobile terminal is connected and the MAC address of the gateway device to which the monitoring device is connected are the same. In this case, when the two MAC addresses are the same, it means that the mobile terminal and the monitoring device are connected to the same gateway device. When the two MAC addresses are different, it means that the mobile terminal and the monitoring device are not connected to the same gateway device.
At 305c, the server sends the stop instruction to the monitoring device when it is detected that the first device information and the second device information are the same. Correspondingly, the monitoring device stops monitoring according to the stop instruction.
Referring again to
At 307, the video recording instruction is sent to the monitoring device when it is detected that the mobile terminal is disconnected.
The exemplary methods for recording videos are described as being executed by the server 140 in
Exemplary apparatuses consistent with embodiments of the present disclosure are described below. Details of the functions of the components of these apparatuses are similar to those of the methods described above, and are thus omitted.
In some embodiments, as shown in
In some embodiments, as shown in
In some embodiments, as shown in
In some embodiments, the information acquisition module 504 further includes a second acquisition sub-module 504e, a second finding sub-module 504f, and a connection information acquisition sub-module 504g. The second acquisition sub-module 504e is configured to acquire an identification of the mobile terminal from the first network connection information. The second finding sub-module 504f is configured to find an identification of the monitoring device bound with the mobile terminal in a preset binding relationship according to the identification of the mobile terminal acquired by the second acquisition sub-module 504e. The connection information acquisition sub-module 504g is configured to acquire the second network connection information previously uploaded by the monitoring device according to the identification found by the second finding sub-module 504f. The second network connection information is uploaded when the monitoring device is initially connected or when the monitoring device detects that connection information changes.
In some embodiments, the apparatus 500 further includes a binding information receiving module 509 and a binding relationship saving module 510. The binding information receiving module 509 is configured to receive binding information sent by the mobile terminal or the monitoring device. The binding information includes the identification of the mobile terminal and the identification of the monitoring device. The binding relationship saving module 510 is configured to save the binding relationship between the mobile terminal and the monitoring device.
The device 600 also includes a power component 626 configured to perform power management of the device 600, wired or wireless network interface(s) 650 configured to connect the device 600 to a network, and an input/output (I/O) interface 658. The device 600 may operate based on an operating system stored in the memory 632, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.
After considering this description and carrying out the embodiments disclosed herein, those skilled in the art may easily anticipate other implementation aspects of the present disclosure. The present disclosure is meant to cover any variations, usage or adaptive change of these embodiments, and these variations, usage or adaptive change follow general concept of the present disclosure and include the common knowledge or the customary technical means in the technical field that is not disclosed in the present disclosure. The description and embodiments are only exemplary, and the real range and spirit of the present disclosure are defined by the following claims.
It should be understood that the present disclosure is not limited to precise structures that are described above and shown in the accompanying drawings, and may be modified and changed without departing from the range of the present disclosure. The scope of the present disclosure is only defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2014 1 0852271 | Dec 2014 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
20070032225 | Konicek | Feb 2007 | A1 |
20100099410 | Sweeney et al. | Apr 2010 | A1 |
20120236154 | Schaff | Sep 2012 | A1 |
20130109404 | Husney | May 2013 | A1 |
20140379882 | Kim et al. | Dec 2014 | A1 |
20160105598 | Zeira | Apr 2016 | A1 |
Number | Date | Country |
---|---|---|
104052971 | Sep 2014 | CN |
104093007 | Oct 2014 | CN |
2 107 537 | Oct 2009 | EP |
08-294101 | Nov 1996 | JP |
2007329860 | Dec 2007 | JP |
20050100743 | Oct 2005 | KR |
1020070051744 | May 2007 | KR |
2013109760 | Sep 2014 | RU |
Entry |
---|
International Search Report of PCT Application No. PCT/CN2015/077883, dated Sep. 28, 2015, issued by the State Intellectual Property Office of P.R. China as ISA (4 pages). |
Extended European Search Report for European Application No. EP 15200901.5 from the European Patent Office, dated May 23, 2016. |
How do I use Location Scheduling?: Dropcam Support, retrieved from http://support.dropcam/com/entries/23600942-How-do-I-use-Location-Scheduling-, dated Sep. 5, 2016, 4 pages. |
English version of International Search Report of PCT Application No. PCT/CN2015/077883, dated Sep. 28, 2015, issued by the State Intellectual Property Office of P.R. China as ISA. |
Number | Date | Country | |
---|---|---|---|
20160191780 A1 | Jun 2016 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2015/077883 | Apr 2015 | US |
Child | 14948516 | US |