Gateway camera control method and apparatus
By installing a gateway accessory on the camera, the interaction between non-Wi-Fi devices and the camera is realized in environments without Wi-Fi, solving the problem of local interaction not being possible in existing technologies, reducing equipment costs and improving user experience.
Patent Information
- Application Number
- CN202211691219.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2042-12-27
AI Technical Summary
Existing network cameras cannot achieve local interaction with smart home products that do not have Wi-Fi in environments without Wi-Fi, and require the purchase of an additional Wi-Fi gateway with Bluetooth and Sub-1G capabilities to enable interaction.
By installing gateway accessories on the camera, the camera can communicate with non-Wi-Fi devices and report its status to the server and user terminal, enabling linkage in the absence of Wi-Fi, reducing costs and improving user experience.
Enabling the linkage between non-Wi-Fi devices and cameras in environments without Wi-Fi reduces equipment costs and enables remote control of non-Wi-Fi devices through camera relay, thus improving the user experience.
Smart Images

Figure CN116017513B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of cameras, in particular to a control method and device of a gateway camera. BACKGROUND
[0002] At present, most of the network cameras on the market only have camera-related functions. If a user wants to interact with a smart home product without Wi-Fi that is linked with the camera, the user needs to purchase a Wi-Fi gateway with Bluetooth and Sub1g, wherein the smart home product without Wi-Fi includes a Bluetooth door magnet and a Bluetooth mobile sensor, etc.
[0003] The smart home product without Wi-Fi communicates with the gateway through Bluetooth and Sub1g, etc., and then the gateway reports the state change of the smart home product. The linkage mode of the smart home product can only be linked through server configuration, and does not have the function of local linkage without a network. SUMMARY
[0004] Therefore, the purpose of the present application is to provide a control method and device of a gateway camera, in the case that the camera supports a gateway accessory, the gateway configuration is set on the reserved interface of the camera, so that the camera and the gateway accessory realize the function of a single Wi-Fi gateway; the communication module of the gateway accessory communicates with a non-Wi-Fi device, and reports to the server and a user terminal through the camera, so that the linkage between the non-Wi-Fi device and the camera can be realized without Wi-Fi, the cost is reduced; and the user terminal can also realize remote control of the non-Wi-Fi device through the camera, and the user experience is improved.
[0005] In a first aspect, the present application provides a control method of a gateway camera, applied to a user terminal, wherein the user terminal is connected with a camera, a gateway accessory is arranged on an interface of the camera, and a communication module of the gateway accessory communicates with a non-Wi-Fi device; the method comprises the following steps:
[0006] After the non-Wi-Fi device is woken up, it is judged whether a connection with the camera is established;
[0007] If yes, the reporting information of the camera is listened to, wherein the reporting information includes that the state of the non-Wi-Fi device is a connected state;
[0008] If no, the connection state of the non-Wi-Fi device and the camera is polled from a server, and the response information sent by the server is received, wherein the response information is that the state of the non-Wi-Fi device changes from a non-connected state to the connected state;
[0009] It is judged whether a connection with the camera is established;
[0010] If yes, the configured parameter information is sent to the camera to make the camera send the configured parameter information to the non-Wi-Fi device through the gateway accessory;
[0011] If no, the configured parameter information is sent to the server to make the server send the configured parameter information to the camera;
[0012] When the non-Wi-Fi device completes the configuration modification of the configured parameter information and enters the trigger state from the dormant state, the trigger information sent by the camera through the server is received.
[0013] Further, before waking up the non-Wi-Fi device, the method further comprises:
[0014] Receiving the parameter information corresponding to the accessory device or the parameter information corresponding to the always-powered device sent by the server;
[0015] Modifying the parameter information of the accessory device.
[0016] Further, the accessory device includes a battery device, a non-battery device, a battery dormant device, and a non-dormant device, the battery device includes a door magnetic sensor, an infrared movement sensor, a water immersion sensor, a temperature and humidity sensor, and a smoke sensor, and the always-powered device includes a Bluetooth mesh wall switch, a Bluetooth mesh garage door switch, a Bluetooth mesh smart lamp, and a Bluetooth mesh smart socket.
[0017] The parameter information corresponding to the accessory device includes configuration information and state information corresponding to the accessory device, and the parameter information corresponding to the always-powered device includes configuration information and state information corresponding to the always-powered device.
[0018] Further, when the accessory device is the door magnetic sensor, the configuration information of the door magnetic sensor includes a door magnetic ambient light detection switch and a long time non-closing trigger event time, and the state information of the door magnetic sensor includes opening, closing, and long time non-closing.
[0019] When the accessory device is the infrared movement sensor, the configuration information of the infrared movement sensor includes a movement trigger interval event and an interval event of no movement trigger event, and the state information of the infrared movement sensor includes a movement trigger and a latest trigger time.
[0020] When the accessory device is the temperature and humidity sensor, the configuration information of the temperature and humidity sensor includes a parameter threshold setting and an alarm event triggered after the parameter threshold is set, and the state information of the temperature and humidity sensor includes temperature and humidity.
[0021] The configuration information corresponding to the always-on device includes delay-on, delay-off, timing-on, timing-off, periodic-on, and periodic-off.
[0022] The state information corresponding to the always-on device includes on and off.
[0023] Further, after receiving the trigger information sent by the camera through the server, the method further includes:
[0024] Receiving the linkage trigger information sent by the camera through the server;
[0025] Displaying the linkage trigger information.
[0026] Further, the method further includes:
[0027] Controlling the accessory device or the always-on device on the display operation interface.
[0028] In a second aspect, the embodiments of the present application provide a control device of a gateway camera, applied to a user terminal, wherein the user terminal is connected with a camera, a gateway accessory is arranged on an interface of the camera, and a communication module of the gateway accessory communicates with a non-Wi-Fi device; the device includes:
[0029] A first judging module, configured to judge whether a connection with the camera is established after the non-Wi-Fi device is woken up;
[0030] A listening module, configured to listen to reported information of the camera in the case that the connection with the camera is established, wherein the reported information includes a state of the non-Wi-Fi device being a connected state;
[0031] A polling module, configured to poll a connection state of the non-Wi-Fi device and the camera from a server in the case that the connection with the camera is not established, and receive response information sent by the server, wherein the response information is that the state of the non-Wi-Fi device changes from a non-connected state to the connected state;
[0032] A second judging module, configured to judge whether the connection with the camera is established;
[0033] A first sending module, configured to send configured parameter information to the camera in the case that the connection with the camera is established, so that the camera sends the configured parameter information to the non-Wi-Fi device through the gateway accessory;
[0034] The second sending module is used to send the configured parameter information to the server without establishing a connection with the camera, so that the server sends the configured parameter information to the camera.
[0035] The configuration modification module is used to receive trigger information sent by the camera through the server after the non-Wi-Fi device has completed the configuration modification of the configured parameter information and entered the trigger state from the sleep state.
[0036] Furthermore, the device also includes:
[0037] The receiving module is used to receive parameter information corresponding to the accessory device or the parameter information corresponding to the normally powered device sent by the server before waking up the non-Wi-Fi device;
[0038] The modification module is used to modify the parameter information of the accessory equipment.
[0039] Thirdly, embodiments of the present invention provide an electronic device, including a memory and a processor, wherein the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the method described above.
[0040] Fourthly, embodiments of the present invention provide a computer-readable medium having processor-executable non-volatile program code that causes the processor to perform the method described above.
[0041] The embodiment of the present application provides a gateway camera control method and device, which is applied to a user terminal, the user terminal is connected with a camera, a gateway accessory is arranged on an interface of the camera, and a communication module of the gateway accessory communicates with a non-Wi-Fi device; the method comprises the following steps: after the non-Wi-Fi device is woken up, it is judged whether a connection with the camera is established; if yes, the reporting information of the camera is listened to, and the reporting information comprises a state of the non-Wi-Fi device being a connected state; if no, the connection state of the non-Wi-Fi device and the camera is polled from a server, and response information sent by the server is received, the response information is that the state of the non-Wi-Fi device changes from a non-connected state to a connected state; it is judged whether the connection with the camera is established; if yes, the configured parameter information is sent to the camera, so that the camera sends the configured parameter information to the non-Wi-Fi device through the gateway accessory; if no, the configured parameter information is sent to the server, so that the server sends the configured parameter information to the camera; after the non-Wi-Fi device completes configuration and modification on the configured parameter information and enters a triggered state from a dormant state, trigger information sent by the camera through the server is received; in the case that the camera supports the gateway accessory, the gateway configuration is set on a reserved interface of the camera, so that the camera and the gateway accessory realize the function of a single Wi-Fi gateway; the communication module of the gateway accessory communicates with the non-Wi-Fi device, and reports to the server and the user terminal through the camera, so that the linkage between the non-Wi-Fi device and the camera can be realized without Wi-Fi, and the cost is reduced; and the user terminal can also realize remote control on the non-Wi-Fi device through the camera, and the user experience is improved.
[0042] Other features and advantages of the present application will be set forth in the descriptions below, and in part will become apparent to those skilled in the art upon examination of the following or can be learned by practice of the present application. The objects and other advantages of the present application can be realized and attained by the structure particularly pointed out in the description and claims hereof as well as the appended drawings.
[0043] In order to make the above objectives, characteristics and advantages of the present application more obvious and easy to understand, the following preferred embodiments are specifically described below, and the accompanying drawings are referred to. BRIEF DESCRIPTION OF DRAWINGS
[0044] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings needed to be used in the specific embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.
[0045] Figure 1 The flow chart of the gateway camera control method provided by the embodiment of the present application is shown in the figure.
[0046] Figure 2 Another gateway camera control method flow chart provided for the embodiment two of the present application;
[0047] Figure 3 The control device schematic diagram of the gateway camera provided for the embodiment three of the present application.
[0048] Icon:
[0049] 1-first judgment module; 2-monitoring module; 3-polling module; 4-second judgment module; 5-first sending module; 6-second sending module; 7-configuration modification module. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical scheme and advantages of the embodiments of the present application more clear, the technical scheme of the present application will be described clearly and completely below with reference to the drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0051] In order to facilitate the understanding of the present embodiment, the embodiments of the present application will be described in detail below.
[0052] Embodiment one:
[0053] Figure 1 The control method flow chart of the gateway camera provided for the embodiment one of the present application.
[0054] Reference Figure 1 , applied to a user terminal, the user terminal is connected with a camera, a gateway accessory is arranged on the interface of the camera, and a communication module of the gateway accessory communicates with a non-Wi-Fi device; wherein the non-Wi-Fi device can be a sensor and a Bluetooth switch; the method comprises the following steps:
[0055] Step S101, after waking up the non-Wi-Fi (Wireless Fidelity, Wireless Fidelity) device, it is judged whether a connection is established with the camera; wherein the user terminal can establish a P2P connection with the camera;
[0056] Step S102, if yes, the reporting information of the camera is monitored, and the reporting information includes the state of the non-Wi-Fi device being a connected state;
[0057] Step S103, if no, the connection state of the non-Wi-Fi device and the camera is polled from the server, and the response information sent by the server is received, and the response information is that the state of the non-Wi-Fi device changes from a non-connected state to a connected state;
[0058] Step S104, it is judged whether the connection with the camera is established or not;
[0059] Step S105, if yes, the configured parameter information is sent to the camera, so that the camera sends the configured parameter information to the non-Wi-Fi device through the gateway accessory;
[0060] Step S106, if no, the configured parameter information is sent to the server, so that the server sends the configured parameter information to the camera;
[0061] Here, the server can send the configured parameter information to the camera through the Iot mode, the camera sends the configured parameter information to the gateway accessory after receiving the configured parameter information, and the gateway accessory sends the configured parameter information to the non-Wi-Fi device through the Bluetooth or Sub1g mode.
[0062] Step S107, when the non-Wi-Fi device completes the configuration modification of the configured parameter information and enters the trigger state from the dormant state, the trigger information sent by the camera through the server is received.
[0063] Here, the non-Wi-Fi device performs configuration modification on the configured parameter information, and then performs configuration modification to obtain modified parameter information; the non-Wi-Fi device sends the modified parameter information to the camera through the gateway accessory, and the camera sends the modified parameter information to the server; when the non-Wi-Fi device completes the configuration modification, it enters the dormant state and waits for the next trigger;
[0064] When the non-Wi-Fi device enters the trigger state again, the trigger information is sent to the gateway accessory, and the gateway accessory sends the trigger information to the camera, and the camera sends the trigger information to the server, and the server pushes it to the user terminal. The trigger information includes door magnetic open, door magnetic close, infrared movement trigger, etc.
[0065] The gateway is designed as a gateway accessory which can be plugged into the camera with an extensible interface. In the case that the camera supports the gateway accessory, the gateway accessory is connected to the reserved interface of the camera, so that the camera and the gateway accessory realize the function of a single Wi-Fi gateway. After the camera is plugged into the gateway accessory, it has the function of identification, and the communication mode between the camera and the gateway accessory can adopt a USB (Universal Serial Bus) communication interface or an I2C (Inter-Integrated Circuit) communication interface.
[0066] The gateway accessory only needs to be provided with a communication module supporting Bluetooth and Sub1g, etc. to realize communication with the non-Wi-Fi device, report the triggering information of the non-Wi-Fi device to the camera, report the triggering information of the non-Wi-Fi device to the server by the camera, and send the triggering information of the non-Wi-Fi device to the user terminal by the server.
[0067] The user terminal can realize remote control of the non-Wi-Fi device, and the remote control can be realized by the camera through the gateway accessory, and the remote control can be realized by the camera through the gateway accessory.
[0068] Further, before step S101, the method further comprises the following steps:
[0069] Step S201, receiving the parameter information corresponding to the accessory device or the parameter information corresponding to the always-on device sent by the server;
[0070] Step S202, modifying the parameter information of the accessory device.
[0071] Here, when the parameter information of the accessory device is modified, the user is prompted to wake up the non-Wi-Fi device; when the non-Wi-Fi device is woken up, the non-Wi-Fi device establishes a connection with the camera through the gateway accessory, and reports the information that the non-Wi-Fi device and the camera accessory change from a non-connected state to a connected state to the server. The modification of the battery device configuration parameter needs to be modified after the non-Wi-Fi device is woken up, and the non-Wi-Fi device cannot be modified in the sleep state.
[0072] Further, the accessory device includes a battery device, a non-battery device, a battery sleep device, and a non-sleep device, the battery device includes a door magnetic sensor, an infrared movement sensor, a water immersion sensor, a temperature and humidity sensor, and a smoke sensor, and the always-on device includes a Bluetooth mesh wall switch, a Bluetooth mesh garage door switch, a Bluetooth mesh intelligent lamp, and a Bluetooth mesh intelligent socket.
[0073] The parameter information corresponding to the accessory device includes configuration information and state information corresponding to the accessory device, and the parameter information corresponding to the always-on device includes configuration information and state information corresponding to the always-on device.
[0074] Further, when the accessory device is a door magnetic sensor, the configuration information of the door magnetic sensor includes a door magnetic ambient light detection switch and a long time no-off trigger event time, and the state information of the door magnetic sensor includes on, off, and long time no-off.
[0075] When the accessory device is an infrared movement sensor, the configuration information of the infrared movement sensor includes a movement trigger interval event and a no-movement trigger interval event, and the state information of the infrared movement sensor includes a movement trigger and a latest trigger time.
[0076] When the accessory device is a temperature and humidity sensor, the configuration information of the temperature and humidity sensor includes the setting of the parameter threshold and the alarm event triggered after setting the parameter threshold, and the state information of the temperature and humidity sensor includes temperature and humidity;
[0077] The configuration information corresponding to the always-on device includes delay-on, delay-off, timing-on, timing-off, periodic-on, and periodic-off;
[0078] The state information corresponding to the always-on device includes on and off.
[0079] Further, after step S107, the method further includes the following steps:
[0080] Step S301, receiving the linkage trigger information sent by the camera through the server;
[0081] Step S302, displaying the linkage trigger information.
[0082] Specifically, the camera triggers the linkage action according to the trigger information, generates linkage trigger information, and sends the linkage trigger information to the server; the server sends the linkage trigger information to the user terminal, and the user terminal displays and watches.
[0083] The server can also issue smart corresponding actions to other cameras under the configuration of smart linkage according to the trigger information, and the other cameras perform corresponding operations.
[0084] Generally, the door magnetic sensor and the infrared movement sensor belong to triggers in the smart scene, and the camera can be both an executor and a trigger, because the camera itself also has movement and sound alarm;
[0085] When the door magnetic sensor and the infrared movement sensor are triggered, the camera is notified to record video, which can be stored locally or uploaded to the server, and it is recorded whether the door magnetic sensor or the infrared movement sensor triggered the video.
[0086] Further, the method further includes the following steps:
[0087] Step S401, controlling the accessory device or the always-on device on the display operation interface.
[0088] In the application, the non-Wi-Fi device and the camera form a small smart home network, and the linkage between the non-Wi-Fi device and the camera can be realized without external network. The APP of the user terminal can directly connect the Wi-Fi of the camera, and the non-Wi-Fi device can be operated and linked at the same time, so that the non-Wi-Fi device can be used in a network-free environment. The gateway accessory is arranged on the interface of the camera, the accessory gateway shares a Wi-Fi with the camera, and the cost is reduced compared with using the gateway alone, so that the camera has the gateway function and the practicability is improved.
[0089] Embodiment two
[0090] Figure 2 Another gateway camera control method flow chart provided for the second embodiment of the application.
[0091] Referring to Figure 2 The method comprises the following steps:
[0092] In step S501, the server sends the parameter information corresponding to the accessory device or the parameter information corresponding to the always-on device to the user terminal, the user terminal changes the parameter information of the accessory device, and wakes up the non-Wi-Fi device.
[0093] In step S502, after the user terminal wakes up the non-Wi-Fi device, the server receives the state information of the connection established with the non-Wi-Fi device sent by the camera.
[0094] In step S503, the server updates the state of the non-Wi-Fi device according to the state information.
[0095] In step S504, it is judged whether the user terminal establishes P2P connection with the camera.
[0096] In step S505, if yes, the reporting information of the camera is listened to, wherein the reporting information includes that the state of the non-Wi-Fi device is connected.
[0097] In step S506, if no, the connection state of the non-Wi-Fi device and the camera is polled from the server.
[0098] In step S507, the server sends response information to the user terminal, and the response information includes that the state of the non-Wi-Fi device is changed to connected.
[0099] In step S508, the user terminal configures the parameter information of the accessory device to obtain the configured parameter information.
[0100] In step S509, the user terminal judges whether P2P connection with the camera is established.
[0101] Step S510, if yes, the configured parameter information is sent to the camera, so that the camera sends the configured parameter information to the non-Wi-Fi device through the gateway accessory;
[0102] Step S511, if no, the configured parameter information is sent to the server, so that the server sends the configured parameter information to the camera, and the camera sends the configured parameter information to the non-Wi-Fi device through the gateway accessory;
[0103] Step S512, the non-Wi-Fi device configures and modifies the configured parameter information to obtain modified parameter information;
[0104] Step S513, the non-Wi-Fi device sends the modified parameter information to the camera through the gateway accessory, and the camera sends the modified parameter information to the server;
[0105] Step S514, when the non-Wi-Fi device configuration modification is completed, it enters sleep and waits for the next trigger;
[0106] Step S515, when the non-Wi-Fi device is triggered again, the trigger information is sent to the camera through the gateway accessory, the camera sends the trigger information to the server, and the server sends the trigger information to the user terminal;
[0107] Step S516, the camera performs trigger linkage action according to the trigger information, generates linkage trigger information, and sends the linkage trigger information to the server;
[0108] Step S517, the server sends the linkage trigger information to the user terminal, and the user terminal displays and watches;
[0109] Step S518, the server sends the linkage trigger information to the user terminal, and the user terminal displays and watches;
[0110] Embodiment three:
[0111] Figure 3 The control device of the gateway camera provided for the third embodiment of the application is shown in the schematic diagram.
[0112] Referring to Figure 3 , applied to a user terminal, the user terminal is connected with a camera, a gateway accessory is arranged on an interface of the camera, and a communication module of the gateway accessory communicates with a non-Wi-Fi device; the device comprises:
[0113] A first judgment module 1 is used to judge whether a connection with the camera is established after waking up the non-Wi-Fi device;
[0114] The listening module 2 is configured to listen to the reporting information of the camera in the case of establishing a connection with the camera, and the reporting information includes the state of the non-Wi-Fi device being the connected state.
[0115] The polling module 3 is configured to poll the connection state of the non-Wi-Fi device and the camera from the server in the case of not establishing a connection with the camera, and receive the response information sent by the server, the response information being that the state of the non-Wi-Fi device changes from the non-connected state to the connected state.
[0116] The second judging module 4 is configured to judge whether to establish a connection with the camera.
[0117] The first sending module 5 is configured to send the configured parameter information to the camera in the case of establishing a connection with the camera, so that the camera sends the configured parameter information to the non-Wi-Fi device through the gateway accessory.
[0118] The second sending module 6 is configured to send the configured parameter information to the server in the case of not establishing a connection with the camera, so that the server sends the configured parameter information to the camera.
[0119] The configuration modification module 7 is configured to receive the trigger information sent by the camera through the server when the non-Wi-Fi device completes the configuration modification of the configured parameter information and enters the trigger state from the dormant state.
[0120] Further, the device further comprises:
[0121] The receiving module (not shown) is configured to receive the parameter information corresponding to the accessory device or the parameter information corresponding to the always-on device sent by the server before waking up the non-Wi-Fi device.
[0122] The changing module (not shown) is configured to change the parameter information of the accessory device.
[0123] The embodiment of the present application provides a gateway camera control method and device, which is applied to a user terminal, the user terminal is connected with a camera, a gateway accessory is arranged on an interface of the camera, and a communication module of the gateway accessory communicates with a non-Wi-Fi device; the method comprises the following steps: after the non-Wi-Fi device is woken up, it is judged whether a connection with the camera is established; if yes, the reporting information of the camera is listened to, and the reporting information comprises a state of the non-Wi-Fi device being a connected state; if no, the connection state of the non-Wi-Fi device and the camera is polled from a server, and response information sent by the server is received, the response information is that the state of the non-Wi-Fi device changes from a non-connected state to a connected state; it is judged whether the connection with the camera is established; if yes, the configured parameter information is sent to the camera, so that the camera sends the configured parameter information to the non-Wi-Fi device through the gateway accessory; if no, the configured parameter information is sent to the server, so that the server sends the configured parameter information to the camera; after the non-Wi-Fi device completes the configuration modification of the configured parameter information and enters a triggered state from a dormant state, the triggered information sent by the camera through the server is received; in the case that the camera supports the gateway accessory, the gateway configuration is set on a reserved interface of the camera, so that the camera and the gateway accessory realize the function of a single Wi-Fi gateway; the communication module of the gateway accessory communicates with the non-Wi-Fi device, and reports to the server and the user terminal through the camera, so that the linkage between the non-Wi-Fi device and the camera can be realized without Wi-Fi, and the cost is reduced; and the user terminal can also realize the remote control of the non-Wi-Fi device through the camera relay, and the user experience is improved.
[0124] The embodiment of the present application further provides an electronic device, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to realize the steps of the gateway camera control method provided in the above embodiment.
[0125] The embodiment of the present application further provides a computer readable medium having non-volatile program codes executable by a processor, and the computer readable medium stores a computer program, and the computer program is executed by the processor to execute the steps of the gateway camera control method in the above embodiment.
[0126] The computer program product provided by the embodiment of the present application comprises a computer readable storage medium storing program codes, and the program codes comprise instructions for executing the method described in the foregoing method embodiment, and the specific implementation can be referred to the method embodiment, which will not be described herein.
[0127] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system and device can refer to the corresponding process in the foregoing method embodiment, which will not be described herein.
[0128] In addition, in the description of the embodiments of the present application, unless otherwise explicitly specified and limited, the terms "mounting", "connection", "connecting" should be understood in a broad sense, for example, can be fixedly connected, or can be detachably connected, or integrally connected; can be mechanically connected, or can be electrically connected; can be directly connected, or indirectly connected through an intermediate medium; can be internal communication of two elements. For those skilled in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances.
[0129] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the part of the prior art or the part of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various program code storage media.
[0130] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first", "second", "third" are only for the purpose of description, and cannot be understood as indicating or implying relative importance.
[0131] Finally, it should be noted that the above-described embodiments are merely specific embodiments of the present application, which are used to illustrate the technical solutions of the present application, but not to limit the same. The protection scope of the present application is not limited thereto. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that any person skilled in the art can still modify or easily think of changes to the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some of the technical features, within the technical scope disclosed by the present application. The modifications, changes or replacements do not cause the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A control method for a gateway camera, characterized in that, The application is applied to a user terminal connected with a camera, a gateway accessory is arranged on an interface of the camera, and a communication module of the gateway accessory communicates with a non-Wi-Fi device; the method comprises: After the non-Wi-Fi device is woken up, it is determined whether a connection with the camera is established; If yes, the reporting information of the camera is listened to, and the reporting information comprises a state of the non-Wi-Fi device being a connected state; If no, the connection state of the non-Wi-Fi device and the camera is polled from a server, and response information sent by the server is received, wherein the response information is that the state of the non-Wi-Fi device changes from a non-connected state to the connected state; It is determined whether a connection with the camera is established; If yes, the configured parameter information is sent to the camera, so that the camera sends the configured parameter information to the non-Wi-Fi device through the gateway accessory; If no, the configured parameter information is sent to the server, so that the server sends the configured parameter information to the camera; After the non-Wi-Fi device completes configuration modification on the configured parameter information and enters a triggered state from a dormant state, trigger information sent by the camera through the server is received; Before the non-Wi-Fi device is woken up, the method further comprises: Parameter information corresponding to an accessory device or parameter information corresponding to a normal live device sent by the server is received; The parameter information of the accessory device is changed; The accessory device comprises a battery device, a non-battery device, a battery dormant device and a non-dormant device, the battery device comprises a door magnetic sensor, an infrared movement sensor, a water immersion sensor, a temperature and humidity sensor and a smoke sensor, and the normal live device comprises a Bluetooth mesh wall switch, a Bluetooth mesh garage door switch, a Bluetooth mesh intelligent lamp and a Bluetooth mesh intelligent socket; The parameter information corresponding to the accessory device comprises configuration information and state information corresponding to the accessory device, and the parameter information corresponding to the normal live device comprises configuration information and state information corresponding to the normal live device. 2.The control method of the gateway camera of claim 1, wherein, When the accessory device is the door magnetic sensor, the configuration information of the door magnetic sensor comprises a door magnetic ambient light detection switch and a long-time non-closing trigger event time, and the state information of the door magnetic sensor comprises opening, closing and long-time non-closing; When the accessory device is the infrared movement sensor, the configuration information of the infrared movement sensor comprises a movement trigger interval event and an interval event of a non-movement trigger event, and the state information of the infrared movement sensor comprises a movement trigger and a latest trigger time; When the accessory device is the temperature and humidity sensor, the configuration information of the temperature and humidity sensor comprises a parameter threshold setting and an alarm event triggered after the parameter threshold is set, and the state information of the temperature and humidity sensor comprises temperature and humidity; The configuration information corresponding to the normal live device comprises delay opening, delay closing, timing opening, timing closing, periodic opening and periodic closing. The state information corresponding to the always-on device includes opening and closing. 3.The method of claim 1, wherein, After receiving the trigger information sent by the camera through the server, the method further comprises: Receiving the linkage trigger information sent by the camera through the server; Displaying the linkage trigger information. 4.The method of claim 1, wherein, The method further comprises: Controlling the accessory device or the always-on device on the display operation interface.
5. A control device of a gateway camera, characterized by, The application is applied to a user terminal connected with a camera, a gateway accessory is arranged on the interface of the camera, and the communication module of the gateway accessory communicates with a non-Wi-Fi device; the device comprises: A first judgment module is configured to judge whether a connection with the camera is established after the non-Wi-Fi device is woken up; A listening module is configured to listen to the reporting information of the camera in the case of establishing a connection with the camera, wherein the reporting information includes that the state of the non-Wi-Fi device is a connected state; A polling module is configured to poll the connection state of the non-Wi-Fi device and the camera from a server in the case of not establishing a connection with the camera, and receive response information sent by the server, wherein the response information is that the state of the non-Wi-Fi device changes from a non-connected state to the connected state; A second judgment module is configured to judge whether a connection with the camera is established; A first sending module is configured to send the configured parameter information to the camera in the case of establishing a connection with the camera, so that the camera sends the configured parameter information to the non-Wi-Fi device through the gateway accessory; A second sending module is configured to send the configured parameter information to the server in the case of not establishing a connection with the camera, so that the server sends the configured parameter information to the camera; A configuration modification module is configured to receive trigger information sent by the camera through the server when the non-Wi-Fi device completes configuration modification on the configured parameter information and enters a trigger state from a dormant state. The device further comprises: A receiving module is configured to receive parameter information corresponding to an accessory device or parameter information corresponding to an always-on device sent by the server before waking up the non-Wi-Fi device; A changing module is configured to change the parameter information of the accessory device; The accessory device includes a battery device, a non-battery device, a battery dormant device, and a non-dormant device, the battery device includes a door magnetic sensor, an infrared movement sensor, a water immersion sensor, a temperature and humidity sensor, and a smoke sensor, the always-on device includes a Bluetooth mesh wall switch, a Bluetooth mesh garage door switch, a Bluetooth mesh smart lamp, and a Bluetooth mesh smart socket; The parameter information corresponding to the accessory device includes configuration information and state information corresponding to the accessory device, and the parameter information corresponding to the always-on device includes configuration information and state information corresponding to the always-on device.
6. An electronic device comprising a memory, a processor, the memory having stored thereon a computer program executable on the processor, characterized in that, The processor executes the computer program to implement the method of any one of claims 1-4. The processor executes the computer program to implement the method of any one of claims 1-4.
7. A computer readable medium having a non-transitory program code executable by a processor, the program code comprising instructions for: The program code causes the processor to perform the method of any of claims 1 to 4. The program code causes the processor to perform the method of any of claims 1 to 4.
Citation Information
Patent Citations
Multifunctional intelligent sensor and intelligent control system
CN105159100A
Intelligent gateway
CN209390090U