CN111447422A - Audio and video data acquisition method and device and computer equipment - Google Patents

Audio and video data acquisition method and device and computer equipment Download PDF

Info

Publication number
CN111447422A
CN111447422A CN202010546804.7A CN202010546804A CN111447422A CN 111447422 A CN111447422 A CN 111447422A CN 202010546804 A CN202010546804 A CN 202010546804A CN 111447422 A CN111447422 A CN 111447422A
Authority
CN
China
Prior art keywords
audio
video data
equipment
slave
data acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010546804.7A
Other languages
Chinese (zh)
Inventor
常冬冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Southern Silicon Valley Semiconductor Co ltd
Original Assignee
Shenzhen Southern Silicon Valley Semiconductor Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Southern Silicon Valley Semiconductor Co ltd filed Critical Shenzhen Southern Silicon Valley Semiconductor Co ltd
Priority to CN202010546804.7A priority Critical patent/CN111447422A/en
Publication of CN111447422A publication Critical patent/CN111447422A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/181Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using active radiation detection systems
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras

Abstract

The application discloses an audio and video data acquisition method, which comprises the following steps: the slave equipment judges whether a power supply needs to be started or not according to the real-time running state of the 433M wireless transceiver; if yes, controlling a 433M wireless transceiver of the slave equipment to start a power manager so that the slave equipment is in a normal power supply state; parallelly starting a main control processor, a WiFi function piece of the embedded MCU and an audio and video data acquisition function piece; controlling a WiFi function piece of the embedded MCU to be connected with a WiFi function piece of the relay equipment, and establishing wireless signal connection; and acquiring data picked up by the audio and video data acquisition functional part, and sending the data to the relay equipment through the WiFi functional part of the embedded MCU. The WiFi function piece of the embedded MCU and the 433M wireless transceiver are cooperated, so that the main control processor and the WiFi function piece of the embedded MCU are started in parallel, the slave equipment is low in power consumption and delay, and meanwhile, wall-through wiring is not needed.

Description

Audio and video data acquisition method and device and computer equipment
Technical Field
The application relates to the field of computers, in particular to an audio and video data acquisition method and device and computer equipment.
Background
The existing video monitoring device and video conversation device need to be pulled to each place through the wiring of a central control panel and then connected with peripheral equipment such as a camera, and the problems of complicated wiring, difficult construction, inconvenient maintenance and the like exist. The wireless video conversation equipment is characterized in that the wireless equipment is hung on the main control, the main control can be communicated with the WiFi transparent transmission module to access after the main control is started, the main control depends on the WiFi transparent transmission module to carry out wireless communication of data, and the main control does not need to be wired to all places. However, the drivers of the devices can still be loaded in series after the master controller is started, which results in slow startup speed and high audio and video delay of the video monitoring device and the video session device. And because the main control needs to carry out floor monitoring calling operation at any time, the video monitoring device can not be completely dormant, which causes high power consumption.
Disclosure of Invention
The application mainly aims to provide an audio and video data acquisition method and aims to solve the technical problems of long time delay and high power consumption of the existing audio and video acquisition equipment.
The application provides an audio and video data acquisition method, which comprises the following steps:
the slave equipment judges whether a power manager needs to be started or not according to the real-time running state of the 433M wireless transceiver;
if yes, controlling a 433M wireless transceiver of the slave equipment to start the power manager, so that the slave equipment is in a normal power supply state;
parallelly starting a main control processor, a WiFi function piece of the embedded MCU and an audio and video data acquisition function piece;
controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the relay equipment, and establishing wireless signal connection;
and acquiring data picked up by the audio and video data acquisition functional part, and sending the data to the relay equipment through the WiFi functional part of the embedded MCU.
Preferably, the step of setting an infrared detector on the slave device, and the slave device determining whether to start the power manager according to the real-time operating state of the 433M wireless transceiver includes:
judging whether the infrared detector detects that a vital sign body exists in a preset range or not;
if yes, the power manager is judged to need to be started.
Preferably, the audio and video data acquisition function piece includes a camera and/or a microphone, the step of acquiring the data picked up by the audio and video data acquisition function piece and sending the data to the relay device through the WiFi function piece of the embedded MCU includes:
judging whether the data picked up by the audio and video data acquisition functional part meets a preset condition transmitted to the relay equipment;
if so, preprocessing the data picked up by the audio and video data acquisition functional part to obtain processed data, wherein the preprocessing comprises compressing picture data acquired by a camera into an acquired video and performing format conversion, and/or converting audio data acquired by a microphone from an analog signal into a digital signal;
and sending the processed data to the relay equipment through a WiFi function piece of the embedded MCU.
Preferably, the step of judging whether the data picked up by the audio/video data acquisition function reaches a preset condition sent to the relay device includes:
acquiring a designated image acquired by the camera;
performing image recognition on the designated image to judge whether the designated image comprises a human body object;
and if so, judging the vital sign bodies detected by the infrared detector within the preset range to achieve the preset condition of sending the vital sign bodies to the relay equipment for the illegal intruder.
Preferably, after the step of sending the processed data to the relay device through the WiFi function of the embedded MCU, the method includes:
sending request information for confirming monitoring to the relay equipment, and enabling the relay equipment to forward to a monitoring management terminal;
judging whether response information of the monitoring management terminal forwarded by the relay equipment to the request information is received;
if yes, identifying whether the reply information is continuously monitored;
if not, sending an instruction for closing the power manager to the main control processor.
Preferably, the step of controlling the WiFi function of the embedded MCU to connect to the WiFi function of the relay device and establishing wireless signal connection includes:
querying a historical connection record;
determining a designated connection record within a designated time period from the current moment from the historical connection records;
screening the equipment ID of the specified relay equipment with the connection times exceeding the preset times in the specified connection record;
acquiring a connection condition of a WiFi function piece of the appointed relay equipment according to the equipment ID of the appointed relay equipment;
and controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the appointed relay equipment according to the connection condition, and establishing wireless signal connection.
Preferably, the 433M wireless transceiver of the relay device simultaneously establishes a connection with 433M wireless transceivers of two or more slave devices, and the step of the slave device determining whether to start the power manager according to a real-time operation state of the 433M wireless transceiver includes:
judging whether the 433M wireless transceiver receives an operation instruction sent by the 433M wireless transceiver of the relay equipment;
if so, judging that a power manager of the slave equipment needs to be started, and enabling the slave equipment to enter a normal power supply state.
The application also provides an audio and video data acquisition device, integrated in slave unit, the device includes:
the judging module is used for judging whether the power manager needs to be started or not according to the real-time running state of the 433M wireless transceiver;
the first control module is used for controlling a 433M wireless transceiver of the slave device to start a power manager if the power manager needs to be started, so that the slave device is in a normal power supply state;
the starting module is used for parallelly starting the main control processor, the WiFi function piece of the embedded MCU and the audio and video data acquisition function piece;
the second control module is used for controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the relay equipment and establishing wireless signal connection;
and the acquisition module is used for acquiring the data picked up by the audio and video data acquisition functional part and sending the data to the relay equipment through the WiFi functional part of the embedded MCU.
The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method as described above.
According to the method, the slave equipment is selectively started or closed through the cooperation of the WiFi function piece of the embedded MCU and the 433M wireless transceiver, all the slave equipment is prevented from being continuously in a starting state, the power consumption is reduced, the parallel starting of the main control processor and the WiFi function piece of the embedded MCU is realized when the slave equipment is started, the acquisition and transmission of video information can be quickly started after the slave equipment is started, compared with the existing mode that the main control processor is started firstly, and then the function pieces such as WiFi are started, the information transmission delay is greatly reduced, therefore, the method and the device have the advantages that the power consumption is low, the time delay is low, the wall-through wiring is not needed, and the workload of the installation of the slave equipment is reduced.
Drawings
Fig. 1 is a schematic flow chart of an audio and video data acquisition method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a slave device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a relay device according to an embodiment of the present application;
fig. 4 is a schematic diagram of a system structure including a relay device and a slave device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an audio/video data acquisition device according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a determining module according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of an acquisition module according to an embodiment of the present application;
FIG. 8 is a schematic structural diagram of a second determining unit according to an embodiment of the present application;
FIG. 9 is a schematic structural diagram of an acquisition module according to an embodiment of the present application;
FIG. 10 is a schematic structural diagram of a second control module according to an embodiment of the present application;
FIG. 11 is a schematic structural diagram of a determining module according to another embodiment of the present application;
fig. 12 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an audio and video data acquisition method according to an embodiment of the present application includes:
s1: the slave equipment judges whether a power manager needs to be started or not according to the real-time running state of the 433M wireless transceiver;
s2: if the power manager needs to be started, controlling a 433M wireless transceiver of the slave device to start the power manager, so that the slave device is in a normal power supply state;
s3: parallelly starting a main control processor, a WiFi function piece of the embedded MCU and an audio and video data acquisition function piece;
s4: controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the relay equipment, and establishing wireless signal connection;
s5: and acquiring data picked up by the audio and video data acquisition functional part, and sending the data to the relay equipment through the WiFi functional part of the embedded MCU.
The slave devices of the present application include, but are not limited to, video conversation devices, monitoring devices, and the like. As shown in fig. 2, the slave device includes a master processor, a WiFi function of an embedded MCU, a 433M wireless transceiver, a power manager, etc., and the 433 wireless transceiver of the slave device is connected to the power manager, a lithium battery or a DC power supply. The WiFi function piece of the embedded MCU is characterized in that the main control chip is a 32-bit single chip MCU with simple function, not only is a WiFi driver and a WiFi protocol built in, but also a radio frequency transceiver, an MAC address, a wireless safety protocol, a key connection and the like are integrated, the integration level of software and hardware is high, and quick connection can be supported. As shown in fig. 2 and 3, both the relay device and the slave device of the present application are provided with 433M wireless transceivers, and the relay device controls the 433M wireless transceiver of the slave device associated therewith through the 433M wireless transceiver thereof, so that the relay device controls the power manager of the slave device to be turned on, so as to control the power supply to supply power to other functional components; or the power manager of the slave device is controlled to be turned off so as to block the power supply to supply power to other functional components, so that the slave device enters a shutdown state. In this application, the power of slave unit lasts the power supply for the 433M wireless transceiver of slave unit all the time, and the switching on or switching off of other each functional components and parts and power is switched on power manager control, and when all functional components and parts of slave unit all with the power switch on, the slave unit is in normal power supply state, and power manager is in the on-state this moment. Only 433M wireless transceiver is in the state with the power switch-on for a long time in the slave unit under the shutdown state, and when power manager did not open, each other functional components and parts all with power disconnection, at this moment, the slave unit is unusual power supply state promptly to reduce the energy consumption. The 433M wireless transceiver in the slave equipment can receive the monitoring command sent by the 433M wireless transceiver from the relay equipment in real time or the awakening command sent by other auxiliary low-power consumption detection parts, so that the power manager of the slave equipment is started, and power is supplied to all functional components of the slave equipment. After the power supply of the slave equipment is normal, the WiFi function piece of the embedded MCU and the master processor are started simultaneously and parallelly, the external WiFi function module is not required to be loaded after the master processor is started, the loading driving time is saved, after the slave equipment is started, the embedded MCU WiFi function piece can be quickly connected to the preset WiFi function piece of the relay equipment, the audio and video data acquisition and transmission delay of video call or monitoring is short, and the delay is reduced to 1S from 2S in the original master CPU and WiFi transparent transmission mode. Due to the modes of the main control CPU and the transparent transmission WiFi, audio and video data can be transmitted by using the WiFi only after the CPU is started and the WiFi drive is loaded, and the whole process is fastest by 2S or more than 2S. The application can realize parallel startup with the main control processor in 1S by using the WiFi function piece of the embedded MCU, greatly improves the real-time performance of audio and video data acquisition and transmission, and particularly has better real-time effect experience on video conversation. The WiFi function piece of the embedded MCU works in a 2.4G/5G frequency band, the 433M wireless transceiver works in a 433M frequency band, the signal transmission distance of the 433M wireless transceiver is long, the power consumption is low, and audio and video data cannot be transmitted. The wireless signal connection is established between the WiFi function piece using the embedded MCU and the WiFi function piece of the relay equipment, the audio and video data are transmitted, wiring is not needed, and the installation is simple. According to the method and the device, the WiFi connection is started only when the slave equipment needs to transmit data, the overall negative influence of the disadvantage of high power consumption on the system is reduced, the WiFi signal transmission distance is far, the speed of the 433M wireless transceiver is high, and the rapid and smooth transmission of audio and video data is guaranteed. According to the application, the slave equipment is selectively started or closed through the cooperation of the WiFi function piece of the embedded MCU and the 433M wireless transceiver, the parallel starting of the main control processor and the WiFi function piece of the embedded MCU is realized when the slave equipment is started, the slave equipment with low power consumption and low time delay for real-time video conversation is provided, the power consumption is low, the time delay is low, the through-wall wiring is not needed, and the workload of the installation of the slave equipment is reduced.
Further, the step S1, in which the slave device sets an infrared detector, and the slave device determines whether to start the power manager according to the real-time operation state of the 433M wireless transceiver, includes:
s11: judging whether the infrared detector detects that a vital sign body exists in a preset range or not;
s12: and if the vital sign bodies exist in the preset range, judging that the power supply manager needs to be started.
The slave device comprises a monitor for monitoring an illegal intrusion scene, and the slave device is provided with a low-power-consumption infrared detector. When the infrared detector detects that a vital sign body exists in a nearby range, the 433M wireless transceiver in the slave equipment is triggered to start up, and the slave equipment and the relay equipment are informed to confirm connection, so that the effective monitoring effect is achieved, and the power consumption is reduced. And when the slave equipment and the relay equipment are in a connected state, the monitoring data received by the relay equipment are all valid data with reference value, for example, data which is intruded by illegal personnel exists, so that the data transmission efficiency is improved, and the data is quickly and effectively positioned. When the infrared detector detects that the vital sign bodies exist in the nearby range, the 433M wireless transceiver of the slave device directly controls the power manager to be turned on and starts the WiFi function pieces of the main control processor and the embedded MCU.
Other embodiments of this application can set up the low-power consumption components and parts of all kinds of different functions in slave unit according to the different application scenes of slave unit. For example, besides monitoring an intrusion scenario, the method can also be used for monitoring different scenarios such as environmental noise intensity or environmental dynamic change, and according to different scenarios, different low-power-consumption detection elements can be installed in the slave device to wake up the slave device to enter a working state. For example, the monitoring of the environmental noise intensity may be performed by installing a sound intensity sensor in the slave device, or by installing an environmental sensor such as a temperature sensor or a speed sensor in the slave device to monitor the environmental dynamic change, and the principle of waking up the slave device is the same as above, which is not repeated.
Further, the audio and video data acquisition function piece includes a camera and/or a microphone, the step S5 of acquiring the data picked up by the audio and video data acquisition function piece and sending the data to the relay device through the WiFi function piece of the embedded MCU includes:
s51: judging whether the data picked up by the audio and video data acquisition functional part meets a preset condition transmitted to the relay equipment;
s52: if the preset condition sent to the relay equipment is met, preprocessing the data picked up by the audio and video data acquisition functional part to obtain processed data, wherein the preprocessing comprises compressing picture data acquired by a camera into acquired video and performing format conversion, and/or converting audio data acquired by a microphone from analog signals into digital signals;
s53: and sending the processed data to the relay equipment through a WiFi function piece of the embedded MCU.
The slave device picks up the surrounding scene conditions through the camera and the microphone, transmits the surrounding scene conditions to the main control processor, and transmits the surrounding scene conditions to the relay device through the WiFi function piece of the embedded MCU after the surrounding scene conditions are processed by the main control processor. The slave device starts to collect various audio and video data in a monitoring range under the control of the main control processor, wherein the audio and video data include but are not limited to video data collected by a camera and audio signals collected by a microphone, and the audio and video data include voice signals sent by a user. Before uploading the collected audio and video data to the relay equipment through the WiFi function piece of the embedded MCU, the collected audio and video data needs to be processed so as to achieve the effect of smooth transmission. For video data collected by the camera, the video is compressed and converted into an MP4 format after compression, and the format conversion is performed, so that the faster transmission is facilitated; for the audio signal collected by the microphone, ADC conversion is performed, that is, the condition for transmission and transmission can be satisfied after the analog signal is converted into a digital signal. The preprocessing standard comprises the format, the size and the like during audio and video data transmission, and can be stored in the main control processor so as to be called and judged in time.
Further, the step S51 of determining whether the data picked up by the audio/video data acquisition function reaches the preset condition sent to the relay device includes:
s511: acquiring a designated image acquired by the camera;
s512: performing image recognition on the designated image to judge whether the designated image comprises a human body object;
s513: and if the human body object is included, judging that the vital sign body detected by the infrared detector in the preset range is an illegal intruder and achieving the preset condition of sending the vital sign body to the relay equipment.
According to the method and the device, the video images collected by the camera are analyzed and processed, the image characteristics in the video images are identified to judge whether human body objects exist, if so, illegal personnel break in is judged, and the monitored video images are uploaded to the relay equipment. If not, it is determined that no illegal person breaks into the animal, which may be a passing animal. The image recognition includes rough image contour recognition, and also includes neural network-based face recognition provided by a third party, and the like. The method and the device for transmitting the audio and video data to the relay device acquire the preset condition corresponding to the preset monitoring mode in the main control processor. Judging whether the current real-time monitored audio and video data meets the preset condition of sending the audio and video data to the relay equipment, if so, controlling the WiFi function piece of the embedded MCU to keep connecting with the pre-bound relay equipment, and synchronously uploading the audio and video data meeting the monitoring requirement result, further ensuring the effectiveness of data transmission, carrying out targeted simplification and concentration on the monitoring data, conveniently reducing the memory occupancy rate and being beneficial to data management. The method and the device ensure that the monitoring data received by the relay device are all valid data, improve the data transmission efficiency, and avoid frequent connection and disconnection between the slave device and the relay device.
Further, after the step S53 of sending the processed data to the relay device through the WiFi function of the embedded MCU, the method includes:
s54: sending request information for confirming monitoring to the relay equipment, and enabling the relay equipment to forward to a monitoring management terminal;
s55: judging whether response information of the monitoring management terminal forwarded by the relay equipment to the request information is received;
s56: if the reply information of the request information by the monitoring management terminal forwarded by the relay equipment is received, identifying whether the reply information is continuously monitored;
s57: and if the monitoring is not continued, sending an instruction for closing the power manager to the main control processor.
The application is after passing through embedded MCU's wiFi function piece sends to relay, through embedded MCU's wiFi function piece or slave unit's 433M wireless transceiver, to relay sending confirm the solicited message of control, and then relay forwards to control management terminal, if receive reply message for not continuing the control, will send the instruction of closing the power manager to the master control treater, make slave unit get into the power-off state, only keep supplementary low-power consumption awakening function piece such as infrared detector and 433M wireless transceiver in standby state. In another embodiment of the present application, if the received reply information is to continue monitoring, the master control processor is controlled to send an instruction for continuously turning on the power manager, so that the slave device continuously maintains a working state, collects data, and uploads the data. Whether the reply information is continuously monitored or not can be realized by a text recognition keyword or a voice recognition keyword. In other embodiments of the present application, the slave device may also autonomously shut down through an analysis result of the video image. For example, if the video image identifies that the vital sign body is not a human body object distribution intruder, a power-off instruction is automatically sent to the master control processor, so that the slave device enters a shutdown state, and only the auxiliary low-power wake-up function parts such as the infrared detector and the 433M wireless transceiver are kept in a standby state.
Further, the step S4 of controlling the WiFi function of the embedded MCU to connect to the WiFi function of the relay device and establishing a wireless signal connection includes:
s41: querying a historical connection record;
s42: determining a designated connection record within a designated time period from the current moment from the historical connection records;
s43: screening the equipment ID of the specified relay equipment with the connection times exceeding the preset times in the specified connection record;
s44: acquiring a connection condition of a WiFi function piece of the appointed relay equipment according to the equipment ID of the appointed relay equipment;
s45: and controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the appointed relay equipment according to the connection condition, and establishing wireless signal connection.
According to the method and the device, the WiFi function piece of the embedded MCU can be controlled to be connected with the WiFi function piece of the relay device according to the pre-bound ID of the relay device, and wireless signal connection is established. The slave device can also automatically screen out the specified relay device which meets the condition from the historical record according to the historical connection record, and acquire the corresponding connection condition to realize autonomous connection. The connection condition includes a connection ID, a protocol key, and the like. The slave device can establish connection with the 433M wireless transceiver module of the relay device through the 433M wireless transceiver module, and then assist the WiFi function of the embedded MCU of the slave device to connect with the WiFi function of the specified relay device. For example, WiFi signal connection is performed by acquiring a connection instruction of the relay device, decrypting the ID and the key in the connection instruction, and the like. The present embodiment improves the accuracy and reliability of autonomously screening the device IDs of the designated relay devices whose connection times exceed the preset times in the designated connection records, because there is a history of multiple connections, which can be regarded as a frequently connected device ID.
Further, the step S1 in which the 433M wireless transceiver of the relay device simultaneously establishes a connection with the 433M wireless transceivers of two or more slave devices, and the slave device determines whether to start the power manager according to the real-time operation state of the 433M wireless transceiver includes:
s101: judging whether the 433M wireless transceiver receives an operation instruction sent by the 433M wireless transceiver of the relay equipment;
s102: and if an operation instruction sent by the 433M wireless transceiver of the relay equipment is received, judging that a power manager of the slave equipment needs to be started, and enabling the slave equipment to enter a normal power supply state.
As shown in fig. 4, the whole system includes a plurality of slave devices, a plurality of relay devices, a cloud server, and a terminal associated with the cloud server, where the terminal includes but is not limited to a mobile APP or PC terminal. According to the method, the relay equipment can be associated with the plurality of slave equipment, which slave equipment is in a power-off state, and which slave equipment is in a working state, and effective selection control can be performed according to an operation instruction sent by a 433M wireless transceiver of the relay equipment, so that the number of the theoretically-connected slave equipment of the relay equipment is expanded. The slave device establishes signal connection with the 433M wireless transceiver of the relay device through the 433M wireless transceiver, and sends a monitoring confirmation prompt, so that the relay device uploads the monitoring confirmation prompt to the cloud server to transmit the monitoring confirmation prompt to a terminal to prompt a monitoring manager, and whether the slave device needs to acquire audio and video data currently or not is confirmed, and whether the slave device is controlled to be in a working state or not is confirmed. If receiving the monitoring confirmation instruction that the relay device sent through the 433M wireless transceiver, the 433M wireless transceiver of the slave device only controls the power manager to open, and then obtains the monitored audio and video data and uploads the data, namely uploads the collected audio and video data to the cloud server through the wireless WiFi. The method and the system can automatically start up to enter a working state according to a detected actual scene through the slave equipment, and actively initiate connection with the relay equipment according to a historical connection record and the existing authorization; the connection of each slave device can be managed through the relay device in a unified mode, the defect that monitoring devices of more floors are difficult to add due to the fact that the slave devices are connected with the relay device all the time is overcome, and meanwhile unauthorized connection of the slave devices is avoided. The relay device is connected to a wide area network through an Ethernet interface so as to receive a control instruction of a terminal. The relay device is used as a transfer station for audio and video data transmission, a plurality of slave devices can be connected to the lower surface of one relay device, and the Ethernet interface of the relay device can be connected to a wide area network so as to transmit the received audio and video data of each slave device to a terminal of a user through the wide area network. The relay device receives audio and video data transmitted by the slave device, and uploads the audio and video data to the cloud server through the Ethernet interface or directly transmits the audio and video data to the terminal. When the 433M wireless transceiver of this application slave unit received the monitoring instruction that repeater sent, slave unit 433M wireless transceiver control power manager opens, makes each functional components and parts switch on in the slave unit, switches into operating condition. The functional components include but are not limited to a main control processor, a camera, a microphone, a loudspeaker and a WiFi functional component.
Referring to fig. 5, an audio and video data acquisition device according to an embodiment of the present application is integrated on a slave device, and the device includes:
the judging module 1 is used for judging whether the slave equipment needs to start the power manager or not according to the real-time running state of the 433M wireless transceiver;
the first control module 2 is configured to control the 433M wireless transceiver of the slave device to turn on the power manager if the power manager needs to be started, so that the slave device is in a normal power supply state;
the starting module 3 is used for parallelly starting the main control processor, the WiFi function piece of the embedded MCU and the audio and video data acquisition function piece;
the second control module 4 is used for controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the relay equipment and establishing wireless signal connection;
and the acquisition module 5 is used for acquiring the data picked up by the audio and video data acquisition functional part and sending the data to the relay equipment through the WiFi functional part of the embedded MCU.
The slave devices of the present application include, but are not limited to, video conversation devices, monitoring devices, and the like. As shown in fig. 2, the slave device includes a master processor, a WiFi function of an embedded MCU, a 433M wireless transceiver, a power manager, etc., and the 433 wireless transceiver of the slave device is connected to the power manager, a lithium battery or a DC power supply. The WiFi function piece of the embedded MCU is characterized in that the main control chip is a 32-bit single chip MCU with simple function, not only is a WiFi driver and a WiFi protocol built in, but also a radio frequency transceiver, an MAC address, a wireless safety protocol, a key connection and the like are integrated, the integration level of software and hardware is high, and quick connection can be supported. As shown in fig. 2 and 3, both the relay device and the slave device of the present application are provided with 433M wireless transceivers, and the relay device controls the 433M wireless transceiver of the slave device associated therewith through the 433M wireless transceiver thereof, so that the relay device controls the power manager of the slave device to be turned on, so as to control the power supply to supply power to other functional components; or the power manager of the slave device is controlled to be turned off so as to block the power supply to supply power to other functional components, so that the slave device enters a shutdown state. In this application, the power of slave unit lasts the power supply for the 433M wireless transceiver of slave unit all the time, and the switching on or switching off of other each functional components and parts and power is switched on power manager control, and when all functional components and parts of slave unit all with the power switch on, the slave unit is in normal power supply state, and power manager is in the on-state this moment. Only 433M wireless transceiver is in the state with the power switch-on for a long time in the slave unit under the shutdown state, and when power manager did not open, each other functional components and parts all with power disconnection, at this moment, the slave unit is unusual power supply state promptly to reduce the energy consumption. The 433M wireless transceiver in the slave equipment can receive the monitoring command sent by the 433M wireless transceiver from the relay equipment in real time or the awakening command sent by other auxiliary low-power consumption detection parts, so that the power manager of the slave equipment is started, and power is supplied to all functional components of the slave equipment. After the power supply of the slave equipment is normal, the WiFi function piece of the embedded MCU and the master processor are started simultaneously and parallelly, the external WiFi function module is not required to be loaded after the master processor is started, the loading driving time is saved, after the slave equipment is started, the embedded MCU WiFi function piece can be quickly connected to the preset WiFi function piece of the relay equipment, the audio and video data acquisition and transmission delay of video call or monitoring is short, and the delay is reduced to 1S from 2S in the original master CPU and WiFi transparent transmission mode. Due to the modes of the main control CPU and the transparent transmission WiFi, audio and video data can be transmitted by using the WiFi only after the CPU is started and the WiFi drive is loaded, and the whole process is fastest by 2S or more than 2S. The application can realize parallel startup with the main control processor in 1S by using the WiFi function piece of the embedded MCU, greatly improves the real-time performance of audio and video data acquisition and transmission, and particularly has better real-time effect experience on video conversation. The WiFi function piece of the embedded MCU works in a 2.4G/5G frequency band, the 433M wireless transceiver works in a 433M frequency band, the signal transmission distance of the 433M wireless transceiver is long, the power consumption is low, and audio and video data cannot be transmitted. The wireless signal connection is established between the WiFi function piece using the embedded MCU and the WiFi function piece of the relay equipment, the audio and video data are transmitted, wiring is not needed, and the installation is simple. According to the method and the device, the WiFi connection is started only when the slave equipment needs to transmit data, the overall negative influence of the disadvantage of high power consumption on the system is reduced, the WiFi signal transmission distance is far, the speed of the 433M wireless transceiver is high, and the rapid and smooth transmission of audio and video data is guaranteed. According to the application, the slave equipment is selectively started or closed through the cooperation of the WiFi function piece of the embedded MCU and the 433M wireless transceiver, the parallel starting of the main control processor and the WiFi function piece of the embedded MCU is realized when the slave equipment is started, the slave equipment with low power consumption and low time delay for real-time video conversation is provided, the power consumption is low, the time delay is low, the through-wall wiring is not needed, and the workload of the installation of the slave equipment is reduced.
Referring to fig. 6, the slave device is provided with an infrared detector, and the determining module 1 includes:
the first judging unit 11 is configured to judge whether the infrared detector detects that a vital sign body exists in a preset range;
the first determining unit 12 is configured to determine that the power manager needs to be started if it is detected that the vital sign object exists within the preset range.
The slave device comprises a monitor for monitoring an illegal intrusion scene, and the slave device is provided with a low-power-consumption infrared detector. When the infrared detector detects that a vital sign body exists in a nearby range, the 433M wireless transceiver in the slave equipment is triggered to start up, and the slave equipment and the relay equipment are informed to confirm connection, so that the effective monitoring effect is achieved, and the power consumption is reduced. And when the slave equipment and the relay equipment are in a connected state, the monitoring data received by the relay equipment are all valid data with reference value, for example, data which is intruded by illegal personnel exists, so that the data transmission efficiency is improved, and the data is quickly and effectively positioned. When the infrared detector detects that the vital sign bodies exist in the nearby range, the 433M wireless transceiver of the slave device directly controls the power manager to be turned on and starts the WiFi function pieces of the main control processor and the embedded MCU.
Other embodiments of this application can set up the low-power consumption components and parts of all kinds of different functions in slave unit according to the different application scenes of slave unit. For example, besides monitoring an intrusion scenario, the method can also be used for monitoring different scenarios such as environmental noise intensity or environmental dynamic change, and according to different scenarios, different low-power-consumption detection elements can be installed in the slave device to wake up the slave device to enter a working state. For example, the monitoring of the environmental noise intensity may be performed by installing a sound intensity sensor in the slave device, or by installing an environmental sensor such as a temperature sensor or a speed sensor in the slave device to monitor the environmental dynamic change, and the principle of waking up the slave device is the same as above, which is not repeated.
Referring to fig. 7, the audio/video data acquisition function includes a camera and/or a microphone, and the acquisition module 5 includes:
a second judging unit 51, configured to judge whether data picked up by the audio/video data acquisition function reaches a preset condition for sending to the relay device;
the preprocessing unit 52 is configured to preprocess the data picked up by the audio/video data acquisition function to obtain processed data if a preset condition sent to the relay device is met, where the preprocessing includes compressing picture data acquired by a camera into an acquired video and performing format conversion, and/or converting audio data acquired by a microphone from an analog signal to a digital signal;
and the first sending unit 53 is configured to send the processed data to the relay device through the WiFi function of the embedded MCU.
The slave device picks up the surrounding scene conditions through the camera and the microphone, transmits the surrounding scene conditions to the main control processor, and transmits the surrounding scene conditions to the relay device through the WiFi function piece of the embedded MCU after the surrounding scene conditions are processed by the main control processor. The slave device starts to collect various audio and video data in a monitoring range under the control of the main control processor, wherein the audio and video data include but are not limited to video data collected by a camera and audio signals collected by a microphone, and the audio and video data include voice signals sent by a user. Before uploading the collected audio and video data to the relay equipment through the WiFi function piece of the embedded MCU, the collected audio and video data needs to be processed so as to achieve the effect of smooth transmission. For video data collected by a camera, the video is compressed and becomes an H.264 format after compression processing, and the format conversion is carried out, so that the faster transmission is facilitated; for the audio signal collected by the microphone, ADC conversion is performed, that is, the condition for transmission and transmission can be satisfied after the analog signal is converted into a digital signal. The preprocessing standard comprises the format, the size and the like during audio and video data transmission, and can be stored in the main control processor so as to be called and judged in time.
Referring to fig. 8, the second judging unit 51 includes:
an obtaining subunit 511, configured to obtain a specified image acquired by the camera;
an identifying subunit 512, configured to perform image identification on the designated image to determine whether the designated image includes a human body object;
and a determining subunit 513, configured to determine, if the human body object is included, that the vital sign object detected by the infrared detector is an intruder and reaches a preset condition for sending to the relay device.
According to the method and the device, the video images collected by the camera are analyzed and processed, the image characteristics in the video images are identified to judge whether human body objects exist, if so, illegal personnel break in is judged, and the monitored video images are uploaded to the relay equipment. If not, it is determined that no illegal person breaks into the animal, which may be a passing animal. The image recognition includes rough image contour recognition, and also includes neural network-based face recognition provided by a third party, and the like. The method and the device for transmitting the audio and video data to the relay device acquire the preset condition corresponding to the preset monitoring mode in the main control processor. Judging whether the current real-time monitored audio and video data meets the preset condition of sending the audio and video data to the relay equipment, if so, controlling the WiFi function piece of the embedded MCU to keep connecting with the pre-bound relay equipment, and synchronously uploading the audio and video data meeting the monitoring requirement result, further ensuring the effectiveness of data transmission, carrying out targeted simplification and concentration on the monitoring data, conveniently reducing the memory occupancy rate and being beneficial to data management. The method and the device ensure that the monitoring data received by the relay device are all valid data, improve the data transmission efficiency, and avoid frequent connection and disconnection between the slave device and the relay device.
Referring to fig. 9, the acquisition module 5 includes:
a second sending unit 54, configured to send request information for confirming monitoring to the relay device, so that the relay device forwards the request information to the monitoring management terminal;
a third determining unit 55, configured to determine whether a reply message from the monitoring management terminal forwarded by the relay device to the request message is received;
a receiving unit 56, configured to, if receiving a reply message from the monitoring management terminal forwarded by the relay device to the request message, identify whether the reply message is to continue monitoring;
and a third sending unit 57, configured to send an instruction to turn off the power manager to the master processor if the monitoring is not continued.
The application is after passing through embedded MCU's wiFi function piece sends to relay, through embedded MCU's wiFi function piece or slave unit's 433M wireless transceiver, to relay sending confirm the solicited message of control, and then relay forwards to control management terminal, if receive reply message for not continuing the control, will send the instruction of closing the power manager to the master control treater, make slave unit get into the power-off state, only keep supplementary low-power consumption awakening function piece such as infrared detector and 433M wireless transceiver in standby state. In another embodiment of the present application, if the received reply information is to continue monitoring, the master control processor is controlled to send an instruction for continuously turning on the power manager, so that the slave device continuously maintains a working state, collects data, and uploads the data. Whether the reply information is continuously monitored or not can be realized by a text recognition keyword or a voice recognition keyword. In other embodiments of the present application, the slave device may also autonomously shut down through an analysis result of the video image. For example, if the video image identifies that the vital sign body is not a human body object distribution intruder, a power-off instruction is automatically sent to the master control processor, so that the slave device enters a shutdown state, and only the auxiliary low-power wake-up function parts such as the infrared detector and the 433M wireless transceiver are kept in a standby state.
Referring to fig. 10, the second control module 4 includes:
an inquiry unit 41 for inquiring the history connection record;
a determining unit 42, configured to determine a specified connection record within a specified time period from the current time from the historical connection records;
a screening unit 43 configured to screen the device ID of the specified relay device whose number of connections in the specified connection record exceeds a preset number;
an obtaining unit 44, configured to obtain a connection condition with a WiFi function of the specified relay device according to the device ID of the specified relay device;
and the connection unit 45 is used for controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the appointed relay equipment according to the connection condition so as to establish wireless signal connection.
According to the method and the device, the WiFi function piece of the embedded MCU can be controlled to be connected with the WiFi function piece of the relay device according to the pre-bound ID of the relay device, and wireless signal connection is established. The slave device can also automatically screen out the specified relay device which meets the condition from the historical record according to the historical connection record, and acquire the corresponding connection condition to realize autonomous connection. The connection condition includes a connection ID, a protocol key, and the like. The slave device can establish connection with the 433M wireless transceiver module of the relay device through the 433M wireless transceiver module, and then assist the WiFi function of the embedded MCU of the slave device to connect with the WiFi function of the specified relay device. For example, WiFi signal connection is performed by acquiring a connection instruction of the relay device, decrypting the ID and the key in the connection instruction, and the like. The present embodiment improves the accuracy and reliability of autonomously screening the device IDs of the designated relay devices whose connection times exceed the preset times in the designated connection records, because there is a history of multiple connections, which can be regarded as a frequently connected device ID.
Referring to fig. 11, the 433M wireless transceiver of the relay device simultaneously establishes a connection with the 433M wireless transceivers of two or more slave devices, and the determining module 1 includes:
a fourth judging unit 101, configured to judge whether the 433M wireless transceiver receives an operation instruction sent by the 433M wireless transceiver of the relay device;
the second determining unit 102 is configured to determine that a power manager of the slave device needs to be started to enable the slave device to enter a normal power supply state if an operation instruction sent by the 433M wireless transceiver of the relay device is received.
As shown in fig. 4, the whole system includes a plurality of slave devices, a plurality of relay devices, a cloud server, and a terminal associated with the cloud server, where the terminal includes but is not limited to a mobile APP or PC terminal. According to the method, the relay equipment can be associated with the plurality of slave equipment, which slave equipment is in a power-off state, and which slave equipment is in a working state, and effective selection control can be performed according to an operation instruction sent by a 433M wireless transceiver of the relay equipment, so that the number of the theoretically-connected slave equipment of the relay equipment is expanded. The slave device establishes signal connection with the 433M wireless transceiver of the relay device through the 433M wireless transceiver, and sends a monitoring confirmation prompt, so that the relay device uploads the monitoring confirmation prompt to the cloud server to transmit the monitoring confirmation prompt to a terminal to prompt a monitoring manager, and whether the slave device needs to acquire audio and video data currently or not is confirmed, and whether the slave device is controlled to be in a working state or not is confirmed. If receiving the monitoring confirmation instruction that the relay device sent through the 433M wireless transceiver, the 433M wireless transceiver of the slave device only controls the power manager to open, and then obtains the monitored audio and video data and uploads the data, namely uploads the collected audio and video data to the cloud server through the wireless WiFi. The method and the system can automatically start up to enter a working state according to a detected actual scene through the slave equipment, and actively initiate connection with the relay equipment according to a historical connection record and the existing authorization; the connection of each slave device can be managed through the relay device in a unified mode, the defect that monitoring devices of more floors are difficult to add due to the fact that the slave devices are connected with the relay device all the time is overcome, and meanwhile unauthorized connection of the slave devices is avoided. The relay device is connected to a wide area network through an Ethernet interface so as to receive a control instruction of a terminal. The relay device is used as a transfer station for audio and video data transmission, a plurality of slave devices can be connected to the lower surface of one relay device, and the Ethernet interface of the relay device can be connected to a wide area network so as to transmit the received audio and video data of each slave device to a terminal of a user through the wide area network. The relay device receives audio and video data transmitted by the slave device, and uploads the audio and video data to the cloud server through the Ethernet interface or directly transmits the audio and video data to the terminal. When the 433M wireless transceiver of this application slave unit received the monitoring instruction that repeater sent, slave unit 433M wireless transceiver control power manager opens, makes each functional components and parts switch on in the slave unit, switches into operating condition. The functional components include but are not limited to a main control processor, a camera, a microphone, a loudspeaker and a WiFi functional component.
Referring to fig. 12, a computer device, which may be a server and whose internal structure may be as shown in fig. 12, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for storing all data required by the audio and video data acquisition process. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement the audio-video data acquisition method.
The processor executes the audio and video data acquisition method, and the method comprises the following steps: the slave equipment judges whether a power manager needs to be started or not according to the real-time running state of the 433M wireless transceiver; if yes, controlling a 433M wireless transceiver of the slave equipment to start the power manager, so that the slave equipment is in a normal power supply state; parallelly starting a main control processor, a WiFi function piece of the embedded MCU and an audio and video data acquisition function piece; controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the relay equipment, and establishing wireless signal connection; and acquiring data picked up by the audio and video data acquisition functional part, and sending the data to the relay equipment through the WiFi functional part of the embedded MCU.
According to the computer equipment, the slave equipment is selectively started or closed through the synergistic effect of the WiFi function piece of the embedded MCU and the 433M wireless transceiver, and the master control processor and the WiFi function piece of the embedded MCU are started in parallel when the slave equipment is started, so that the slave equipment with low power consumption and low time delay for real-time video conversation is provided, and the wall-through wiring is not needed while the power consumption and the time delay are low, so that the workload of installing the slave equipment is reduced.
It will be understood by those skilled in the art that the structure shown in fig. 12 is only a block diagram of a part of the structure related to the present application, and does not constitute a limitation to the computer device to which the present application is applied.
The present application also provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing an audio and video data acquisition method, comprising: the slave equipment judges whether a power manager needs to be started or not according to the real-time running state of the 433M wireless transceiver; if yes, controlling a 433M wireless transceiver of the slave equipment to start the power manager, so that the slave equipment is in a normal power supply state; parallelly starting a main control processor, a WiFi function piece of the embedded MCU and an audio and video data acquisition function piece; controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the relay equipment, and establishing wireless signal connection; and acquiring data picked up by the audio and video data acquisition functional part, and sending the data to the relay equipment through the WiFi functional part of the embedded MCU.
According to the computer readable storage medium, the slave equipment is selectively started or closed through the synergistic effect of the WiFi function piece of the embedded MCU and the 433M wireless transceiver, and the master control processor and the WiFi function piece of the embedded MCU are started in parallel when the slave equipment is started, so that the slave equipment with low power consumption and low time delay and real-time video conversation is provided, and the wall-through wiring is not needed while the power consumption and the time delay are low, and the workload of the slave equipment installation is reduced.
It will be understood by those of ordinary skill in the art that all or a portion of the processes of the methods of the embodiments described above may be implemented by a computer program that may be stored on a non-volatile computer-readable storage medium that, when executed, includes the processes of the embodiments of the methods described above, wherein any reference to memory, storage, database, or other medium provided herein and used in the embodiments may include non-volatile and/or volatile memory.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. An audio and video data acquisition method is characterized by comprising the following steps:
the slave equipment judges whether a power manager needs to be started or not according to the real-time running state of the 433M wireless transceiver;
if yes, controlling a 433M wireless transceiver of the slave equipment to start the power manager, so that the slave equipment is in a normal power supply state;
parallelly starting a main control processor, a WiFi function piece of the embedded MCU and an audio and video data acquisition function piece;
controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the relay equipment, and establishing wireless signal connection;
and acquiring data picked up by the audio and video data acquisition functional part, and sending the data to the relay equipment through the WiFi functional part of the embedded MCU.
2. The audio and video data acquisition method according to claim 1, wherein an infrared detector is arranged on the slave device, and the step of judging whether the power manager needs to be started or not by the slave device according to the real-time running state of the 433M wireless transceiver comprises the following steps:
judging whether the infrared detector detects that a vital sign body exists in a preset range or not;
if yes, judging that the power manager needs to be started.
3. The audio and video data acquisition method according to claim 2, wherein the audio and video data acquisition function includes a camera and/or a microphone, and the step of acquiring the data picked up by the audio and video data acquisition function and sending the data to the relay device through the WiFi function of the embedded MCU includes:
judging whether the data picked up by the audio and video data acquisition functional part meets a preset condition transmitted to the relay equipment;
if so, preprocessing the data picked up by the audio and video data acquisition functional part to obtain processed data, wherein the preprocessing comprises compressing picture data acquired by a camera into an acquired video and performing format conversion, and/or converting audio data acquired by a microphone from an analog signal into a digital signal;
and sending the processed data to the relay equipment through a WiFi function piece of the embedded MCU.
4. The audio/video data acquisition method according to claim 3, wherein the step of determining whether the data picked up by the audio/video data acquisition function meets a preset condition for transmission to the relay device comprises:
acquiring a designated image acquired by the camera;
performing image recognition on the designated image to judge whether the designated image comprises a human body object;
and if so, judging the vital sign bodies detected by the infrared detector within the preset range to achieve the preset condition of sending the vital sign bodies to the relay equipment for the illegal intruder.
5. The audio-video data acquisition method according to claim 3, wherein after the step of sending the processed data to the relay device through the WiFi function of the embedded MCU, the method comprises:
sending request information for confirming monitoring to the relay equipment, and enabling the relay equipment to forward to a monitoring management terminal;
judging whether response information of the monitoring management terminal forwarded by the relay equipment to the request information is received;
if yes, identifying whether the reply information is continuously monitored;
if not, sending an instruction for closing the power manager to the main control processor.
6. The audio and video data acquisition method according to claim 2, wherein the step of controlling the WiFi function of the embedded MCU to connect to the WiFi function of the relay device and establishing wireless signal connection comprises:
querying a historical connection record;
determining a designated connection record within a designated time period from the current moment from the historical connection records;
screening the equipment ID of the specified relay equipment with the connection times exceeding the preset times in the specified connection record;
acquiring a connection condition of a WiFi function piece of the appointed relay equipment according to the equipment ID of the appointed relay equipment;
and controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the appointed relay equipment according to the connection condition, and establishing wireless signal connection.
7. The audio-video data acquisition method according to claim 1, wherein the 433M wireless transceiver of the relay device establishes a connection with the 433M wireless transceivers of two or more slave devices at the same time, and the step of the slave device determining whether to start the power manager according to the real-time operation state of the 433M wireless transceiver includes:
judging whether the 433M wireless transceiver receives an operation instruction sent by the 433M wireless transceiver of the relay equipment;
if so, judging that a power manager of the slave equipment needs to be started, and enabling the slave equipment to enter a normal power supply state.
8. An audio-video data acquisition device, characterized in that, integrated in a slave device, the device comprises:
the judging module is used for judging whether the power manager needs to be started or not according to the real-time running state of the 433M wireless transceiver;
the first control module is used for controlling the 433M wireless transceiver of the slave device to start the power manager if the power manager needs to be started, so that the slave device is in a normal power supply state;
the starting module is used for parallelly starting the main control processor, the WiFi function piece of the embedded MCU and the audio and video data acquisition function piece;
the second control module is used for controlling the WiFi function piece of the embedded MCU to be connected with the WiFi function piece of the relay equipment and establishing wireless signal connection;
and the acquisition module is used for acquiring the data picked up by the audio and video data acquisition functional part and sending the data to the relay equipment through the WiFi functional part of the embedded MCU.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010546804.7A 2020-06-16 2020-06-16 Audio and video data acquisition method and device and computer equipment Pending CN111447422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010546804.7A CN111447422A (en) 2020-06-16 2020-06-16 Audio and video data acquisition method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010546804.7A CN111447422A (en) 2020-06-16 2020-06-16 Audio and video data acquisition method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN111447422A true CN111447422A (en) 2020-07-24

Family

ID=71653732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010546804.7A Pending CN111447422A (en) 2020-06-16 2020-06-16 Audio and video data acquisition method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN111447422A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532909A (en) * 2020-10-23 2021-03-19 福州交通信息投资运营有限公司 Video call system based on 5G communication technology
CN113066269A (en) * 2021-03-16 2021-07-02 昆明理工大学 Building materials consumption control management device for engineering management

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204615930U (en) * 2015-05-20 2015-09-02 福建星网锐捷通讯股份有限公司 A kind of web camera of powered battery low-power consumption
CN106331587A (en) * 2015-06-25 2017-01-11 赵红芳 Small yard agricultural protection video monitoring device
CN108024096A (en) * 2017-11-27 2018-05-11 深圳市小快联科技有限公司 A kind of low-power-consumption video monitoring system and its control method
CN108074385A (en) * 2016-11-18 2018-05-25 大唐移动通信设备有限公司 A kind of water meter remote image collection system and method
CN108401137A (en) * 2018-02-09 2018-08-14 湖南正申科技有限公司 A kind of portable audio video life detection instrument based on wireless transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204615930U (en) * 2015-05-20 2015-09-02 福建星网锐捷通讯股份有限公司 A kind of web camera of powered battery low-power consumption
CN106331587A (en) * 2015-06-25 2017-01-11 赵红芳 Small yard agricultural protection video monitoring device
CN108074385A (en) * 2016-11-18 2018-05-25 大唐移动通信设备有限公司 A kind of water meter remote image collection system and method
CN108024096A (en) * 2017-11-27 2018-05-11 深圳市小快联科技有限公司 A kind of low-power-consumption video monitoring system and its control method
CN108401137A (en) * 2018-02-09 2018-08-14 湖南正申科技有限公司 A kind of portable audio video life detection instrument based on wireless transmission

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
施云: "《无线传感器网络技术概论》", 31 October 2017, 西安电子科技大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532909A (en) * 2020-10-23 2021-03-19 福州交通信息投资运营有限公司 Video call system based on 5G communication technology
CN113066269A (en) * 2021-03-16 2021-07-02 昆明理工大学 Building materials consumption control management device for engineering management

Similar Documents

Publication Publication Date Title
EP3258651B1 (en) Ip camera control method, apparatus, and system
US7940709B2 (en) Service provision at a network access point
WO2016058335A1 (en) Signal transmission control method and apparatus and electronic device
JP2002170174A (en) Security system
CN111447422A (en) Audio and video data acquisition method and device and computer equipment
CN111971647A (en) Speech recognition apparatus, cooperation system of speech recognition apparatus, and cooperation method of speech recognition apparatus
CN110677899A (en) Data transmission method and device, terminal equipment and storage medium
US11818595B2 (en) Operating wireless devices and image data systems
CN111669494B (en) Network camera control method and network camera
TWI603619B (en) A low power consumption and fast response and low false alarm rate of the video surveillance system
CN110930540A (en) Method and device for starting/sleeping automobile data recorder
CN111885447B (en) Electronic device, control method thereof, control device thereof, and readable storage medium
CN111649448A (en) Air conditioner control method, air conditioner and medium
JP2007336180A (en) Remote control system
CN114879525B (en) Intelligent house-keeping system based on complete household appliances
CN108663942B (en) Voice recognition equipment control method, voice recognition equipment and central control server
WO2019052431A1 (en) Photography apparatus, photography system, and method for reducing power consumption of photography apparatus
CN110609482A (en) Electric equipment control method and device and electronic equipment
US10264524B2 (en) Wireless communication system, and wireless communication method in wireless communication system
CN116156610B (en) Bidirectional real-time video keep-alive method
US20230068136A1 (en) Electronic Monitoring System Implementing Coordinated Waking of Wireless Battery-Powered Monitoring Devices
CN114530939B (en) Remote monitoring device and method for two-wire centralized power supply
CN113346607B (en) Power supply management method for vehicle-mounted terminal, vehicle-mounted terminal and computer storage medium
CN111866449B (en) Intelligent video acquisition system and method
TWI669688B (en) Control method and system for controlled device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200724

RJ01 Rejection of invention patent application after publication