Bird feeding equipment control method and device, electronic equipment and computer storage medium
By detecting wake-up and shutdown instructions in the bird feeding device and controlling the Wi-Fi unit and power controller, the problem of high MCU power consumption is solved, and the low-consumption settings and battery life of the device are improved.
Patent Information
- Application Number
- CN202310973474.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-03
- Publication Date
- 2024-11-26
AI Technical Summary
The existing bird feeding equipment does not have the sleep function, resulting in excessive power consumption and cannot achieve low consumption requirements, which affects the battery life and service life of the equipment.
By detecting the wake-up command sent by external devices, wake up the Wi-Fi unit and start the power controller, control the main controller to perform bird monitoring, and when the power-off command is received, the power is cut off and the Wi-Fi unit enters sleep mode, reducing the power Consumption.
It realizes intelligent control of bird feeding equipment, reduces power consumption, and improves the battery life and service life of the equipment.
Smart Images

Figure CN119024732A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a bird feeding equipment control method, device, electronic equipment and computer storage medium. Background Art
[0002] At present, with the enrichment of people's entertainment life and the protection of wild bird species, bird feeding equipment has become increasingly important. Bird feeding equipment can be used to observe the target birds or the field of view currently monitored by the bird feeding equipment, so as to achieve real-time monitoring of birds when foraging.
[0003] Bird feeding devices generally choose MCU (Microcontroller Uni) as the main control unit. However, current MCUs often do not have a sleep function. Bird feeding devices cannot achieve low consumption requirements through MCUs, which ultimately leads to the problem of excessive functional consumption of bird feeding devices. Summary of the invention
[0004] The embodiments of the present application provide a bird feeding device control method, device, electronic device and computer storage medium, which can solve the technical problem of excessive power consumption of current bird feeding devices.
[0005] The present application provides a method for controlling a bird feeding device, comprising:
[0006] Detecting whether a wake-up instruction sent by an external device is received, and waking up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received;
[0007] Based on the Wi-Fi unit, a power controller of the target bird feeding device is started through a hardware circuit;
[0008] Controlling the main controller of the target bird feeding device according to the power controller to monitor the target birds;
[0009] When a shutdown command is received, the main controller controls the power controller to cut off power, and sends the shutdown command to the Wi-Fi unit through the hardware circuit to control the Wi-Fi unit to enter a sleep mode.
[0010] Further, the detecting whether a wake-up instruction sent by an external device is received, and when the wake-up instruction is received, waking up the Wi-Fi unit of the current target bird feeding device, includes:
[0011] Detecting whether the infrared monitoring device of the target bird feeding device is in a monitoring trigger state;
[0012] When the infrared monitoring device is in the monitoring trigger state, the infrared monitoring device sends a wake-up instruction corresponding to the monitoring trigger state to the Wi-Fi unit of the target bird feeding device, and when the Wi-Fi unit receives the wake-up instruction, the Wi-Fi unit is woken up.
[0013] Further, the main controller of the target bird feeding device is controlled by the power controller to monitor the target birds, including:
[0014] Based on the main controller, the camera of the target bird feeding device is turned on, and the target birds are photographed through the camera to obtain a video stream;
[0015] The video stream is pushed to a server, and the video stream is transmitted to a user terminal in real time based on the server.
[0016] Further, the detecting whether a wake-up instruction sent by an external device is received, and waking up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received, further includes:
[0017] Detecting whether the timer of the target bird feeding device is in a timed trigger state;
[0018] When the timer is in the timing trigger state, a wake-up instruction corresponding to the timing trigger state is sent to the Wi-Fi unit of the target bird feeding device based on the timer, and when the Wi-Fi unit receives the wake-up instruction, the Wi-Fi unit is woken up.
[0019] Further, the detecting whether a wake-up instruction sent by an external device is received, and waking up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received, further includes:
[0020] Open the user terminal software associated with the target bird feeding device;
[0021] The wake-up instruction is sent to the Wi-Fi unit of the target bird feeding device based on the user terminal software, and when the Wi-Fi unit receives the wake-up instruction, the Wi-Fi unit is woken up.
[0022] Further, after the main controller of the target bird feeding device is controlled by the power controller to monitor the target birds, the method further comprises:
[0023] Acquire the battery capacity of the target bird feeding device and the Wi-Fi signal strength of the Wi-Fi unit based on the main controller;
[0024] The battery capacity and the Wi-Fi signal strength are pushed to a server, and the device status of the target bird feeding device is updated on the server according to the battery capacity and the Wi-Fi signal strength.
[0025] Furthermore, before the detecting whether a wake-up instruction sent by an external device is received, the method further includes:
[0026] The Wi-Fi unit of the target bird feeding device is powered by a terminal device power supply.
[0027] Accordingly, the embodiment of the present application further provides a bird feeding equipment control device, comprising:
[0028] A wake-up module is used to detect whether a wake-up instruction sent by an external device is received, and wake up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received;
[0029] A startup module, used to start a power controller of the target bird feeding device through a hardware circuit based on the Wi-Fi unit;
[0030] A monitoring module, used to control the main controller of the target bird feeding device according to the power controller to monitor the target birds;
[0031] The sleep module is used to control the power controller to cut off power based on the main controller when receiving the shutdown command, and send the shutdown command to the Wi-Fi unit through the hardware circuit to control the Wi-Fi unit to enter the sleep mode.
[0032] In addition, an embodiment of the present application also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to implement the bird feeding device control method provided in the embodiment of the present application.
[0033] In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. The computer program is suitable for loading by a processor to execute any bird feeding device control method provided in the embodiment of the present application.
[0034] In addition, an embodiment of the present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, any one of the bird feeding device control methods provided in the embodiments of the present application is implemented.
[0035] In an embodiment of the present application, by detecting whether a wake-up instruction sent by an external device is received, when the wake-up instruction is received, the Wi-Fi unit of the current target bird feeding device is awakened, so that the Wi-Fi unit is awakened from a sleep state to a working state; then, based on the Wi-Fi unit, the power controller of the target bird feeding device is started through a hardware circuit; then, the main controller of the target bird feeding device is controlled according to the power controller to monitor the target birds, so that the power controller is controlled by the Wi-Fi unit, and then the main controller is controlled according to the power controller, thereby avoiding high functional consumption caused by directly controlling the main controller through the power supply of the terminal device; finally, when a shutdown instruction is received, the power controller is powered off based on the main controller, and a shutdown instruction is sent to the Wi-Fi unit through a hardware circuit to control the Wi-Fi unit to enter a sleep mode, thereby realizing intelligent control of the bird feeding device, and by setting the Wi-Fi unit to a low consumption, the power consumption of the bird feeding device is further reduced, and the battery life and service life of the bird feeding device are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0037] Figure 1 It is a flow chart of a bird feeding device control method provided in an embodiment of the present application;
[0038] Figure 2 It is a structural schematic diagram of a bird feeding equipment control device provided in an embodiment of the present application;
[0039] Figure 3 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0041] The embodiment of the present application provides a bird feeding device control method, device, electronic device and computer storage medium. The bird feeding device control device can be integrated in an electronic device, which can be a server, a terminal or other device.
[0042] Among them, the server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), as well as big data and artificial intelligence platforms.
[0043] The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, and this application does not limit this.
[0044] In addition, the term "plurality" in the embodiments of the present application refers to two or more than two. The terms "first" and "second" in the embodiments of the present application are used to distinguish descriptions and should not be understood as implying relative importance.
[0045] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0046] See also Figure 1 , Figure 1 : is a flow chart of a bird feeding device control method provided in an embodiment of the present application. The bird feeding device control method may include:
[0047] S101, detecting whether a wake-up instruction sent by an external device is received, and waking up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received.
[0048] In this embodiment, the external device is a related device associated with the current target bird feeding device, such as a user terminal, an infrared monitoring device, and a timer; the target bird feeding device is a terminal equipped with an infrared and high-definition camera. When birds are detected foraging, video data is transmitted through Wi-Fi or 2.4G radio frequency communication or a mobile network, and finally displayed on the user's intelligent hardware terminal application via a server. The wake-up instruction is an instruction to wake up the Wi-Fi unit in the target bird feeding device, detect whether the wake-up instruction sent by the external device is received, and wake up the Wi-Fi unit of the target bird feeding device when the wake-up instruction is received. Specifically, the state of the Wi-Fi unit includes a dormant state and a working state. When the wake-up instruction is received, the state of the Wi-Fi unit is adjusted, and the state of the Wi-Fi unit is adjusted from the dormant state to the working state. Among them, the power consumption of the Wi-Fi unit in the dormant state is less than the power consumption of the Wi-Fi unit in the normal state.
[0049] S102: starting a power controller of the target bird feeding device based on the Wi-Fi unit through a hardware circuit.
[0050] In this embodiment, when the Wi-Fi unit of the target bird feeding device wakes up, the power controller of the target bird feeding device is started through a hardware circuit based on the Wi-Fi unit. The power controller is a microcontroller that controls the power function of a digital platform, namely a PMU (Power Management Unit), through which the main controller of the target bird watching device can be controlled.
[0051] S103, controlling the main controller of the target bird feeding device according to the power controller to monitor the target birds.
[0052] In this embodiment, the main controller of the target bird feeding device is a microcontroller unit, i.e., MCU (Microcontroller Uni). After the power controller of the target bird feeding device is started, the power controller controls the main controller of the target bird feeding device, and then, based on the main controller, the target birds or the visual field content of the current target bird feeding device are observed to complete the relevant monitoring tasks. Among them, the observation includes the foraging activities of the target birds, the identification of bird species and the distribution of birds. When the monitoring task is completed, a bird file can also be established based on the observed bird information.
[0053] S104, when receiving a shutdown instruction, controlling the power controller to cut off power based on the main controller, and sending the shutdown instruction to the Wi-Fi unit through the hardware circuit to control the Wi-Fi unit to enter a sleep mode.
[0054] In this embodiment, the shutdown command can be triggered by task monitoring or by shutdown information sent by a user terminal. Specifically, when it is detected that the main controller completes the monitoring task of the target bird or the current field of view, the control command is triggered; or, when the shutdown information sent by the user terminal is received, the shutdown command is also triggered. Upon receiving the shutdown command, a power-off command is sent to the power controller based on the main controller to notify the power controller to power off; when it is detected that the power controller receives the power-off command, the power controller is powered off and the shutdown of the main controller is completed. At the same time, a shutdown command is sent to the Wi-Fi unit through a hardware circuit, and when it is detected that the Wi-Fi unit receives the shutdown command sent by the power controller, the Wi-Fi unit is controlled to enter sleep mode.
[0055] The bird feeding device control method proposed in this embodiment detects whether a wake-up instruction sent by an external device is received. When the wake-up instruction is received, the Wi-Fi unit of the current target bird feeding device is awakened; then, based on the Wi-Fi unit, a power controller of the target bird feeding device is started through a hardware circuit; then, the main controller of the target bird feeding device is controlled according to the power controller to monitor the target birds; finally, when a shutdown instruction is received, the power controller is powered off based on the main controller, and a shutdown instruction is sent to the Wi-Fi unit through a hardware circuit to control the Wi-Fi unit to enter a sleep mode, thereby realizing intelligent control of the bird feeding device, and by setting the Wi-Fi unit to a low power consumption, the power consumption of the bird feeding device is further reduced, thereby improving the endurance and service life of the bird feeding device.
[0056] In an embodiment of the present application, the above-mentioned detection of whether a wake-up instruction sent by an external device is received, and upon receiving the wake-up instruction, waking up the Wi-Fi unit of the current target bird feeding device, includes:
[0057] Detecting whether the infrared monitoring device of the target bird feeding device is in a monitoring trigger state;
[0058] When the infrared monitoring device is in the monitoring trigger state, the infrared monitoring device sends a wake-up instruction corresponding to the monitoring trigger state to the Wi-Fi unit of the target bird feeding device, and when the Wi-Fi unit receives the wake-up instruction, the Wi-Fi unit is woken up.
[0059] In the present embodiment, the infrared monitoring device is a PIR (Passive Infrared Radiation) sensor, and whether to wake up the Wi-Fi unit can be determined by detecting the monitoring trigger state of the infrared monitoring device of the target bird feeding device. Specifically, when it is detected that birds are foraging, the infrared monitoring device will trigger the monitoring state, that is, the state of the infrared monitoring device is a monitoring trigger state; when the infrared monitoring device is in the monitoring trigger state, a wake-up instruction corresponding to the monitoring trigger state is sent to the Wi-Fi unit of the target bird feeding device based on the infrared monitoring device. When it is detected that the Wi-Fi unit has received the wake-up instruction, the Wi-Fi unit is awakened. When the state of the infrared monitoring device is not a monitoring trigger state, the wake-up instruction is not sent to the Wi-Fi unit through the infrared monitoring device to avoid waking up the Wi-Fi unit.
[0060] This embodiment further realizes automatic and timely monitoring of bird foraging by detecting whether the infrared monitoring device is in a monitoring trigger state and determining whether to wake up the Wi-Fi unit, thereby improving the monitoring efficiency of the bird feeding device.
[0061] In one embodiment of the present application, the main controller of the target bird feeding device is controlled by the power controller to monitor the target birds, including:
[0062] Based on the main controller, the camera of the target bird feeding device is turned on, and the target birds are photographed through the camera to obtain a video stream;
[0063] The video stream is pushed to a server, and the video stream is transmitted to a user terminal in real time based on the server.
[0064] In this embodiment, when the awakening instruction triggered by the infrared monitoring device completes waking up the Wi-Fi unit, the power controller is started based on the Wi-Fi unit through the hardware circuit, and then the main controller is controlled by the power controller to monitor the target bird or the current field of view. Specifically, when the target bird or the current field of view is monitored based on the main controller, the camera of the target bird feeding device is turned on, and the target bird or the current field of view is filmed and recorded based on the camera to obtain a video stream; then, the video stream is pushed to the server, and the video stream is transmitted in real time to the user terminal associated with the target bird watching device based on the server. The user terminal can remotely monitor the foraging process of the birds through the server.
[0065] In addition, when the performance test of the target bird feeding device is performed, the performance test of the target bird feeding device can also be achieved by pushing the video stream to the server in this embodiment, and then transmitting the video stream to the user terminal through the server.
[0066] This embodiment starts the camera of the target bird feeding device, shoots the target birds through the camera to obtain a video stream, and then pushes the video stream to the server, which transmits the video stream to the user terminal, thereby realizing real-time monitoring of the target bird feeding device monitoring object.
[0067] In an embodiment of the present application, the above-mentioned detecting whether a wake-up instruction sent by an external device is received, and upon receiving the wake-up instruction, waking up the Wi-Fi unit of the current target bird feeding device, further includes:
[0068] Detecting whether the timer of the target bird feeding device is in a timed trigger state;
[0069] When the timer is in the timing trigger state, a wake-up instruction corresponding to the timing trigger state is sent to the Wi-Fi unit of the target bird feeding device based on the timer, and when the Wi-Fi unit receives the wake-up instruction, the Wi-Fi unit is woken up.
[0070] In this embodiment, it is also possible to detect whether the timer of the target bird feeding device is in a timed trigger state, and determine whether to wake up the Wi-Fi unit according to the timed trigger state. Specifically, before waking up, the timer is set to an automatic wake-up time, and when the automatic wake-up time is reached, the state of the timer is a timed trigger state; if the timer is in a timed trigger state, a wake-up instruction corresponding to the timed trigger state is sent to the Wi-Fi unit of the target bird feeding device based on the timer, and when the Wi-Fi unit receives the wake-up instruction, the Wi-Fi unit is woken up. If the timer is not in a timed trigger state, the wake-up instruction is not sent to the Wi-Fi unit of the target bird feeding device to avoid waking up the Wi-Fi unit.
[0071] This embodiment sends a wake-up instruction to the Wi-Fi unit of the target bird feeding device through the timer trigger state, thereby achieving timed wake-up of the Wi-Fi unit and improving the wake-up efficiency.
[0072] In an embodiment of the present application, the above-mentioned detecting whether a wake-up instruction sent by an external device is received, and upon receiving the wake-up instruction, waking up the Wi-Fi unit of the current target bird feeding device, further includes:
[0073] Open the user terminal software associated with the target bird feeding device;
[0074] The wake-up instruction is sent to the Wi-Fi unit of the target bird feeding device based on the user terminal software, and when the Wi-Fi unit receives the wake-up instruction, the Wi-Fi unit is woken up.
[0075] In this embodiment, the wake-up instruction can also be triggered by the user terminal software to wake up the Wi-Fi unit of the target bird feeding device. Specifically, the user terminal software associated with the target bird feeding device is turned on, and the wake-up instruction is sent to the Wi-Fi unit of the target bird feeding device based on the user terminal software to wake up the Wi-Fi unit.
[0076] In this embodiment, the user terminal software associated with the target bird feeding device triggers a wake-up instruction to wake up the Wi-Fi unit, thereby realizing intelligent wake-up of the Wi-Fi unit of the target bird feeding device.
[0077] In one embodiment of the present application, after the main controller of the target bird feeding device is controlled by the power controller to monitor the target birds, the method includes:
[0078] Acquire the battery capacity of the target bird feeding device and the Wi-Fi signal strength of the Wi-Fi unit based on the main controller;
[0079] The battery capacity and the Wi-Fi signal strength are pushed to a server, and the device status of the target bird feeding device is updated on the server according to the battery capacity and the Wi-Fi signal strength.
[0080] In this embodiment, the battery capacity is the available battery capacity of the current target bird feeding device. After monitoring the target birds, the battery capacity of the current target bird feeding device is obtained based on the main controller, and the Wi-Fi signal strength of the Wi-Fi unit of the target bird feeding device is obtained at the same time; when the battery capacity and Wi-Fi signal strength are obtained, the battery capacity and Wi-Fi signal strength are pushed to the server, and when the server receives the battery capacity and Wi-Fi signal, the device status of the target bird feeding device on the server is updated. In addition, the device status can also include the number of monitoring times and standby time of the target bird feeding device.
[0081] This embodiment updates the device status of the target bird feeding device through battery capacity and Wi-Fi signal strength, thereby achieving timely monitoring of the device status of the target bird feeding device, avoiding problems caused by untimely equipment maintenance, and improving the maintenance efficiency of the target bird feeding device.
[0082] In an embodiment of the present application, before the above-mentioned detection of whether a wake-up instruction sent by an external device is received, it includes:
[0083] The Wi-Fi unit of the target bird feeding device is powered by a terminal device power supply.
[0084] In this embodiment, before detecting whether a wake-up command sent by an external device is received, the Wi-Fi unit of the target bird feeding device is powered by the power supply of the terminal device, and then the main controller of the target bird feeding device can be powered on and off based on the Wi-Fi unit.
[0085] In this embodiment, the Wi-Fi unit of the target bird feeding device is powered by the power supply of the terminal device, thereby avoiding direct control of the power on and off of the main controller of the target bird feeding device by the power supply of the terminal device. The main controller is powered on and off indirectly by the Wi-Fi unit, thereby avoiding high functional consumption of the main controller, further reducing the power consumption of the target bird feeding device, and realizing precise control of the power consumption of the target bird feeding device.
[0086] In order to better implement the bird feeding device control method provided in the embodiment of the present application, the embodiment of the present application also provides a device based on the above bird feeding device control method. The meanings of the terms are the same as those in the above bird feeding device control method, and the specific implementation details can refer to the description in the method embodiment.
[0087] For example, Figure 2As shown, the bird feeding equipment control device includes a wake-up module 201, a start module 202, a monitoring module 203 and a sleep module 204, wherein:
[0088] A wake-up module 201 is used to detect whether a wake-up instruction sent by an external device is received, and wake up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received;
[0089] In this embodiment, the external device is a related device associated with the current target bird feeding device, such as a user terminal, an infrared monitoring device, and a timer; the target bird feeding device is a terminal equipped with an infrared and high-definition camera. When birds are detected foraging, video data is transmitted through Wi-Fi or 2.4G radio frequency communication or a mobile network, and finally displayed on the user's intelligent hardware terminal application via a server. The wake-up instruction is an instruction to wake up the Wi-Fi unit in the target bird feeding device, detect whether the wake-up instruction sent by the external device is received, and wake up the Wi-Fi unit of the target bird feeding device when the wake-up instruction is received. Specifically, the state of the Wi-Fi unit includes a dormant state and a working state. When the wake-up instruction is received, the state of the Wi-Fi unit is adjusted, and the state of the Wi-Fi unit is adjusted from the dormant state to the working state. Among them, the power consumption of the Wi-Fi unit in the dormant state is less than the power consumption of the Wi-Fi unit in the normal state.
[0090] A starting module 202, configured to start a power controller of the target bird feeding device through a hardware circuit based on the Wi-Fi unit;
[0091] In this embodiment, when the Wi-Fi unit of the target bird feeding device wakes up, the power controller of the target bird feeding device is started through a hardware circuit based on the Wi-Fi unit. The power controller is a microcontroller that controls the power function of a digital platform, namely a PMU (Power Management Unit), through which the main controller of the target bird watching device can be controlled.
[0092] A monitoring module 203, configured to control the main controller of the target bird feeding device according to the power controller to monitor the target birds;
[0093] In this embodiment, the main controller of the target bird feeding device is a microcontroller unit, i.e., MCU (Microcontroller Uni). After the power controller of the target bird feeding device is started, the power controller controls the main controller of the target bird feeding device, and then, based on the main controller, the target birds or the visual field content of the current target bird feeding device are observed to complete the relevant monitoring tasks. Among them, the observation includes the foraging activities of the target birds, the identification of bird species and the distribution of birds. When the monitoring task is completed, a bird file can also be established based on the observed bird information.
[0094] The sleep module 204 is used to control the power controller to power off based on the main controller when receiving the shutdown command, and send the shutdown command to the Wi-Fi unit through the hardware circuit to control the Wi-Fi unit to enter the sleep mode.
[0095] In this embodiment, the shutdown command can be triggered by task monitoring or by shutdown information sent by a user terminal. Specifically, when it is detected that the main controller completes the monitoring task of the target bird or the current field of view, the control command is triggered; or, when the shutdown information sent by the user terminal is received, the shutdown command is also triggered. Upon receiving the shutdown command, a power-off command is sent to the power controller based on the main controller to notify the power controller to power off; when it is detected that the power controller receives the power-off command, the power controller is powered off and the shutdown of the main controller is completed. At the same time, a shutdown command is sent to the Wi-Fi unit through a hardware circuit, and when it is detected that the Wi-Fi unit receives the shutdown command sent by the power controller, the Wi-Fi unit is controlled to enter sleep mode.
[0096] In one embodiment of the present application, the wake-up module 201 includes:
[0097] A first detection unit, used to detect whether the infrared monitoring device of the target bird feeding device is in a monitoring trigger state;
[0098] The first wake-up unit is used to send a wake-up instruction corresponding to the monitoring trigger state to the Wi-Fi unit of the target bird feeding device based on the infrared monitoring device when the infrared monitoring device is in the monitoring trigger state, and wake up the Wi-Fi unit when the Wi-Fi unit receives the wake-up instruction.
[0099] In an embodiment of the present application, the wake-up module 201 further includes:
[0100] A second detection unit is used to detect whether the timer of the target bird feeding device is in a timer trigger state;
[0101] The second wake-up unit is used to send a wake-up instruction corresponding to the timing trigger state to the Wi-Fi unit of the target bird feeding device based on the timer when the timer is in the timing trigger state, and wake up the Wi-Fi unit when the Wi-Fi unit receives the wake-up instruction.
[0102] In an embodiment of the present application, the wake-up module 201 further includes:
[0103] A startup unit, used to start the user terminal software associated with the target bird feeding device;
[0104] The third awakening unit is used to send the awakening instruction to the Wi-Fi unit of the target bird feeding device based on the user terminal software, and awaken the Wi-Fi unit when the Wi-Fi unit receives the awakening instruction.
[0105] In one embodiment of the present application, the monitoring module 203 includes:
[0106] A shooting unit, configured to start a camera of the target bird feeding device based on the main controller, shoot the target birds through the camera, and obtain a video stream;
[0107] The push unit is used to push the video stream to the server, and transmit the video stream to the user terminal in real time based on the server.
[0108] In one embodiment of the present application, the bird feeding equipment control device further includes:
[0109] an acquisition module, configured to acquire the battery capacity of the target bird feeding device and the Wi-Fi signal strength of the Wi-Fi unit based on the main controller;
[0110] An updating module is used to push the battery capacity and the Wi-Fi signal strength to a server, and update the device status of the target bird feeding device on the server according to the battery capacity and the Wi-Fi signal strength.
[0111] In one embodiment of the present application, the bird feeding equipment control device further includes:
[0112] A power supply module is used to power the Wi-Fi unit of the target bird feeding device through a terminal device power supply.
[0113] In specific implementation, the above modules can be implemented as independent entities, or can be arbitrarily combined and implemented as the same or several entities. The specific implementation methods and corresponding beneficial effects of the above modules can be found in the previous method embodiments, which will not be repeated here.
[0114] The bird feeding device control device proposed in this embodiment realizes intelligent control of the bird feeding device, and further reduces the power consumption of the bird feeding device by setting the Wi-Fi unit to a low consumption level, thereby improving the endurance and service life of the bird feeding device.
[0115] The present application also provides an electronic device, which may be a server or a terminal, etc. Figure 3 As shown, it shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application, specifically:
[0116] The electronic device may include components such as a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, a power supply 603, and an input unit 604. Those skilled in the art will appreciate that Figure 3 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0117] The processor 601 is the control center of the electronic device, which uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing computer programs and / or modules stored in the memory 602, and calling data stored in the memory 602. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.
[0118] The memory 602 can be used to store computer programs and modules. The processor 601 executes various functional applications and data processing by running the computer programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, a computer program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0119] The electronic device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 603 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
[0120] The electronic device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0121] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 601 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 602 according to the following instructions, and the processor 601 will run the computer programs stored in the memory 602, thereby realizing various functions, such as:
[0122] Detecting whether a wake-up instruction sent by an external device is received, and waking up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received;
[0123] Based on the Wi-Fi unit, a power controller of the target bird feeding device is started through a hardware circuit;
[0124] Controlling the main controller of the target bird feeding device according to the power controller to monitor the target birds;
[0125] When a shutdown command is received, the main controller controls the power controller to cut off power, and sends the shutdown command to the Wi-Fi unit through the hardware circuit to control the Wi-Fi unit to enter a sleep mode.
[0126] The specific implementation methods and corresponding beneficial effects of the above operations can be found in the detailed description of the bird feeding equipment control method above, which will not be elaborated here.
[0127] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0128] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program can be loaded by a processor to execute the steps in any of the bird feeding device control methods provided in the embodiments of the present application. For example, the computer program can execute the following steps:
[0129] Detecting whether a wake-up instruction sent by an external device is received, and waking up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received;
[0130] Based on the Wi-Fi unit, a power controller of the target bird feeding device is started through a hardware circuit;
[0131] Controlling the main controller of the target bird feeding device according to the power controller to monitor the target birds;
[0132] When a shutdown command is received, the main controller controls the power controller to cut off power, and sends the shutdown command to the Wi-Fi unit through the hardware circuit to control the Wi-Fi unit to enter a sleep mode.
[0133] The specific implementation methods and corresponding beneficial effects of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0134] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0135] Since the computer program stored in the computer-readable storage medium can execute the steps in any one of the bird feeding device control methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the bird feeding device control methods provided in the embodiments of the present application can be achieved. For details, please refer to the previous embodiments and will not be repeated here.
[0136] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned bird feeding device control method.
[0137] The above is a detailed introduction to a bird feeding equipment control method, device, electronic device and computer storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A bird feeding equipment control method, characterized in that: include: Detecting whether a wake-up instruction sent by an external device is received, and waking up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received; Based on the Wi-Fi unit, a power controller of the target bird feeding device is started through a hardware circuit; Controlling the main controller of the target bird feeding device according to the power controller to monitor the target birds; When a shutdown command is received, the main controller controls the power controller to cut off power, and sends the shutdown command to the Wi-Fi unit through the hardware circuit to control the Wi-Fi unit to enter a sleep mode.
2. The bird feeding equipment control method according to claim 1, characterized in that: The detecting whether a wake-up instruction sent by an external device is received, and waking up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received, comprises: Detecting whether the infrared monitoring device of the target bird feeding device is in a monitoring trigger state; When the infrared monitoring device is in the monitoring trigger state, the infrared monitoring device sends a wake-up instruction corresponding to the monitoring trigger state to the Wi-Fi unit of the target bird feeding device, and when the Wi-Fi unit receives the wake-up instruction, the Wi-Fi unit is woken up.
3. The bird feeding equipment control method according to claim 2, characterized in that: The method of controlling the main controller of the target bird feeding device according to the power controller to monitor the target birds includes: Based on the main controller, the camera of the target bird feeding device is turned on, and the target birds are photographed through the camera to obtain a video stream; The video stream is pushed to a server, and the video stream is transmitted to a user terminal in real time based on the server.
4. The bird feeding equipment control method according to claim 1, characterized in that: The detecting whether a wake-up instruction sent by an external device is received, and waking up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received, further includes: Detecting whether the timer of the target bird feeding device is in a timed trigger state; When the timer is in the timing trigger state, a wake-up instruction corresponding to the timing trigger state is sent to the Wi-Fi unit of the target bird feeding device based on the timer, and when the Wi-Fi unit receives the wake-up instruction, the Wi-Fi unit is woken up.
5. The bird feeding equipment control method according to claim 1, characterized in that: The detecting whether a wake-up instruction sent by an external device is received, and waking up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received, further includes: Open the user terminal software associated with the target bird feeding device; The wake-up instruction is sent to the Wi-Fi unit of the target bird feeding device based on the user terminal software, and when the Wi-Fi unit receives the wake-up instruction, the Wi-Fi unit is woken up.
6. The bird feeding equipment control method according to claim 1, characterized in that: After the main controller of the target bird feeding device is controlled by the power controller to monitor the target birds, the method includes: Acquire the battery capacity of the target bird feeding device and the Wi-Fi signal strength of the Wi-Fi unit based on the main controller; The battery capacity and the Wi-Fi signal strength are pushed to a server, and the device status of the target bird feeding device is updated on the server according to the battery capacity and the Wi-Fi signal strength.
7. The bird feeding equipment control method according to claim 1, characterized in that: Before the step of detecting whether a wake-up instruction sent by an external device is received, the step includes: The Wi-Fi unit of the target bird feeding device is powered by a terminal device power supply.
8. A bird feeding equipment control device, characterized in that: include: A wake-up module is used to detect whether a wake-up instruction sent by an external device is received, and wake up the Wi-Fi unit of the current target bird feeding device when the wake-up instruction is received; A startup module, used to start a power controller of the target bird feeding device through a hardware circuit based on the Wi-Fi unit; A monitoring module, used to control the main controller of the target bird feeding device according to the power controller to monitor the target birds; The sleep module is used to control the power controller to power off based on the main controller when receiving the shutdown command, and send the shutdown command to the Wi-Fi unit through the hardware circuit to control the Wi-Fi unit to enter the sleep mode.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the bird feeding equipment control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the bird feeding equipment control method according to any one of claims 1 to 7.
