CN115883630A - Connection method, system, device and medium of low-power-consumption monitoring system - Google Patents

Connection method, system, device and medium of low-power-consumption monitoring system Download PDF

Info

Publication number
CN115883630A
CN115883630A CN202310139285.6A CN202310139285A CN115883630A CN 115883630 A CN115883630 A CN 115883630A CN 202310139285 A CN202310139285 A CN 202310139285A CN 115883630 A CN115883630 A CN 115883630A
Authority
CN
China
Prior art keywords
client
connection
low
network detection
power consumption
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.)
Withdrawn
Application number
CN202310139285.6A
Other languages
Chinese (zh)
Inventor
方彪
赵刚强
金伟
应红力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Mirui Technology Co ltd
Original Assignee
Hangzhou Mirui Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Mirui Technology Co ltd filed Critical Hangzhou Mirui Technology Co ltd
Priority to CN202310139285.6A priority Critical patent/CN115883630A/en
Priority to CN202310322583.9A priority patent/CN116346881A/en
Publication of CN115883630A publication Critical patent/CN115883630A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Power Sources (AREA)

Abstract

The application discloses a connection method, a system, a device and a storage medium of a low-power monitoring system, which are applied to the field of low-power monitoring systems. After receiving the awakening command, the monitoring equipment determines that the network detection is successful, and establishes handshake request connection between the monitoring equipment and the client so that the client can conveniently acquire the audio and video from the monitoring equipment. By the method, the client wakes up the low-power-consumption equipment and simultaneously detects whether a bidirectional communication channel can be directly established with the low-power-consumption module, if the network detection is successful, the master control can directly establish handshake connection according to the available contact address of the client, so that the time for connecting the server after the master control is powered on can be saved, and then the server starts to establish a forwarding link or establish a new peer-to-peer (P2P) link, so that the connection time between the client and the equipment is greatly reduced, the waiting time for the client to check low-power-consumption monitoring audio and video is reduced, the bandwidth is reduced, the operating cost of the server is saved, and the client experience is improved.

Description

Connection method, system, device and medium of low-power-consumption monitoring system
Technical Field
The present disclosure relates to the field of low power monitoring systems, and in particular, to a connection method, system, device and storage medium for a low power monitoring system.
Background
With the development of science and technology, the low-power consumption monitoring equipment has the advantages of high utilization rate due to the advantages of battery power supply, low power consumption, long standby time, remote real-time awakening and the like.
At present, two working modes of a low-power consumption monitoring device are mainly used, namely a main control normal power-on working mode and a power-saving sleep mode, no matter whether a client and the device are in any network, the client is required to send a wakeup command to a server firstly, the server forwards a message to the low-power consumption monitoring device through a corresponding link, the low-power consumption monitoring device wakes up the main control and powers on after receiving the command, the main control is powered on and connected to the server, the client can start to establish a forwarding link or start to establish a P2P link with the main control at the moment, after the link is successfully established, the client finally requests the device to send audio and video, the client decodes and plays the audio and video after receiving the audio and video stream, and therefore the total time from the time of waking up the low-power consumption device to the time of receiving the audio and video of the device is relatively long, and the experience brought to the client is general.
In view of the above, a way to solve the above technical problems is sought after as a problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a connection method, a connection system, a connection device and a storage medium of a low-power monitoring system.
The method comprises the steps of determining that network detection is successful after a monitoring device receives a wake-up command, sending a handshake request to a client based on network detection success information, obtaining handshake response data sent by the client, determining that connection with the client is successful, and returning handshake response confirmation data to the client so that the client can conveniently obtain audio and video from the monitoring device. By the method, the client wakes up the low-power-consumption device and simultaneously detects whether the bidirectional communication channel can be directly established with the low-power-consumption module, if the network detection is successful, the master control can directly establish handshake connection according to the available contact address of the client, so that the time for the master control to connect with the server after being powered on and then start to establish a forwarding link or establish a new P2P link through the server can be saved, the connection time between the client and the device is greatly shortened, the waiting time for the client to check and monitor audio and video is shortened, the bandwidth is reduced, the cost is saved, and the client experience is improved.
In order to solve the above technical problem, the present application provides a connection method for a low power consumption monitoring system, which is applied to a monitoring device, and the method includes:
acquiring a wake-up command from a client forwarded by a server;
sending a network detection request message to a client according to the awakening command;
sending a handshake request message to the client according to the network detection success message;
and establishing handshake request connection with the client so that the client can conveniently acquire the audio and video from the monitoring equipment.
Preferably, the monitoring device comprises: the system comprises a low-power-consumption module and a main control module, wherein the power consumption of the low-power-consumption module is far smaller than that of the main control module;
the low-power-consumption module is used for acquiring a wake-up command from the client, which is forwarded by the server, and waking up the main control module according to the wake-up command.
Preferably, the establishing the handshake request connection with the client includes:
acquiring a handshake response message sent by a client;
returning to the client handshake response confirmation message;
and determining that the connection with the client is successful.
Preferably, before sending the handshake request message to the client according to the network probing success message, the method further includes:
sending a network detection request message with verification information to a client;
acquiring a network detection response message with verification information sent by a client and verifying the network detection response message;
if the verification is not qualified, discarding the network detection response data packet;
and if the verification is qualified, sending a network detection response confirmation message to the client and acquiring network detection success information.
Preferably, the obtaining of the wake-up command from the client forwarded by the server comprises:
acquiring a wake-up command carrying network detection request address information and network detection request check information acquired in a server;
and awakening the main control module according to the awakening command.
Preferably, after sending the handshake request message to the client according to the network probing success message, the method further includes:
if the handshake request connection with the client cannot be established, judging whether the handshake request exceeds a preset time length;
and if the preset time length is not exceeded, the step of sending a handshake request message to the client is entered again.
In order to solve the above technical problem, the present application further provides a connection method for a low power consumption monitoring system, which is applied to a client, and the method includes:
sending a wake-up command to the monitoring equipment through the server;
acquiring a network detection request message sent by monitoring equipment;
acquiring a handshake request message sent by monitoring equipment;
establishing handshake request connection with the monitoring equipment;
and acquiring audio and video data from the monitoring equipment.
In order to solve the above technical problem, the present application further provides a connection system of a low power consumption monitoring system, which is applied to a monitoring device, and includes:
the acquisition module is used for acquiring the awakening command from the client, which is forwarded by the server;
the first sending module is used for sending a network detection request message to the client according to the awakening command;
the second sending module is used for sending a handshake request message to the client according to the network detection success message;
and the establishing module is used for establishing handshake request connection with the client so as to facilitate the client to acquire the audio and video from the monitoring equipment.
In order to solve the above technical problem, the present application further provides a connection device of a low power consumption monitoring system, including a memory for storing a computer program;
a processor for implementing the steps of the connection method of the low power consumption monitoring system when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the connection method of the low power consumption monitoring system as above.
According to the connection method of the low-power-consumption monitoring system, the monitoring device determines that network detection is successful after receiving the awakening command, sends a handshake request to the client based on network detection success information, acquires handshake response data sent by the client, determines that the connection with the client is successful, and returns handshake response confirmation data to the client so that the client can conveniently acquire audio and video from the monitoring device. By the method, the client wakes up the low-power-consumption device and simultaneously detects whether a two-way communication channel can be directly established with the low-power-consumption module, if the network detection is successful, the master control can directly establish handshake connection according to the available contact address of the client, so that the time for connecting the server after the master control is powered on and then starting to establish a forwarding link or establish a new P2P link through the server can be saved, the connection time of the client and the device is greatly shortened, the waiting time for the client to check and monitor the audio and video is shortened, the bandwidth is reduced, the cost is saved, and the client experience is improved.
The application also provides a connection system, a device and a computer readable storage medium of the low power consumption monitoring system, which correspond to the method, so that the method has the same beneficial effects as the method.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings required for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a connection method of a low power consumption monitoring system provided in the present application;
fig. 2 is a flowchart of a solution for performing a fast connection between a client and a monitoring device according to the present application;
fig. 3 is a flowchart of a connection method of a low power consumption monitoring system according to another embodiment of the present application;
FIG. 4 is a block diagram of a connection system of a low power consumption monitoring system provided in the present application;
fig. 5 is a structural diagram of a connection device of a low power consumption monitoring system according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a connection method, a system, a device and a storage medium of a low-power consumption monitoring system.
The method comprises the steps of determining that network detection is successful after a monitoring device receives a wake-up command, sending a handshake request to a client based on network detection success information, obtaining handshake response data sent by the client, determining that connection with the client is successful, and returning handshake response confirmation data to the client so that the client can conveniently obtain audio and video from the monitoring device. By the method, the client wakes up the low-power-consumption device and simultaneously detects whether the bidirectional communication channel can be directly established with the low-power-consumption module, if the network detection is successful, the master control can directly establish handshake connection according to the available contact address of the client, so that the time for the master control to connect with the server after being powered on and then start to establish a forwarding link or establish a new P2P link through the server can be saved, the connection time between the client and the device is greatly shortened, the waiting time for the client to check and monitor audio and video is shortened, the bandwidth is reduced, the cost is saved, and the client experience is improved.
In order that those skilled in the art will better understand the disclosure, the following detailed description is given with reference to the accompanying drawings.
Fig. 1 is a flowchart of a connection method of a low power consumption monitoring system provided in the present application, which is applied to a monitoring device, and as shown in fig. 1, the method includes:
s10: acquiring a wake-up command from a client forwarded by a server;
it should be noted that the monitoring device is in a power-off state when not in use, when the client wants to acquire the audio and video in the monitoring device, a corresponding wake-up command needs to be sent to the monitoring device through the server, so that the monitoring device is in a power-on state, and after the monitoring device acquires the wake-up command forwarded by the server, the monitoring device is in a state of waking up the master control and powering up the monitoring device. The embodiment of the application does not limit the specific modules contained in the monitoring equipment, and the embodiment of the application does not limit the mode of awakening the monitoring equipment. In addition, the embodiment of the application does not limit the way of forwarding the wake-up command by the server, and does not limit the type of the server.
S11: sending a network detection request message to a client according to the awakening command;
s12: sending a handshake request message to the client according to the network detection success message;
s13: and establishing handshake request connection with the client so that the client can conveniently acquire the audio and video from the monitoring equipment.
It should be noted that, when the monitoring device is in the wake-up state, a handshake request message may be sent to the client, and a corresponding handshake request connection is established between the client and the client according to the handshake request message, so that subsequent communication between the client and the server is performed through the handshake request connection, and each communication does not need to be forwarded through the server, so that the client can obtain the audio and video from the monitoring device. The method for establishing the handshake request connection is not limited, and the number of handshakes between the client and the monitoring device is not limited in the embodiment of the application. In addition, the embodiment of the application does not limit the action between the client and the monitoring device before the handshake connection is established, and the action can be changed according to the actual situation.
For example, as shown in fig. 2, fig. 2 is a flowchart of a scheme for performing a fast connection between a client and a monitoring device, where network detection is performed before handshaking between the client and the monitoring device, when the network detection is successful, handshaking between the client and the monitoring device is performed, and after the handshaking connection is established and confirmed, it is proved that the client and the monitoring device are successfully connected, at this time, the client may send an audio/video request instruction to the monitoring device, the monitoring device returns an instruction for requesting confirmation to the client, and at the same time, transmits an audio/video packet. The embodiment of the present application does not limit the network detection method.
Therefore, according to the method provided by the embodiment of the application, the success of network detection is determined after the monitoring device receives the wake-up command, the handshake request is sent to the client based on the success information of network detection, the handshake response data sent by the client is obtained, the successful connection with the client is determined, and the handshake response confirmation data is returned to the client, so that the client can obtain the audio and video from the monitoring device. By the method, the client wakes up the low-power-consumption device and simultaneously detects whether a two-way communication channel can be directly established with the low-power-consumption module, if the network detection is successful, the master control can directly establish handshake connection according to the available contact address of the client, so that the time for connecting the server after the master control is powered on and then starting to establish a forwarding link or establish a new P2P link through the server can be saved, the connection time of the client and the device is greatly shortened, the waiting time for the client to check the low-power-consumption monitoring audio and video is shortened, the bandwidth is reduced, the cost is saved, and the client experience is improved.
On the basis of the above embodiments, the present application provides a preferred embodiment, and the monitoring device includes: the system comprises a low-power-consumption module and a main control module, wherein the power consumption of the low-power-consumption module is far less than that of the main control module;
the low-power-consumption module is used for acquiring a wake-up command from the client, which is forwarded by the server, and waking up the main control module according to the wake-up command.
It should be noted that the low power consumption monitoring system module generally includes a main control module, a low power consumption module, and the like, and the main control module and the low power consumption module are controlled by a network module (a WIFI module or a 4G/5G module, and the like). The main control module mainly realizes the service functions of quick start of the camera and media acquisition related functions such as video and audio acquisition coding, video and audio storage and transmission, video analysis, alarm pushing and the like, and quickly enters a power-off state after the related service functions are completed, is a main service module and a module with relatively high power consumption, and is in a power-off state under the general condition in order to avoid connecting an external power supply for a long time and meet the requirement of long standby time. The network module mainly completes communication between the equipment and the Internet network, forwards the received network message to the main control module or the low-power module according to the port mapping configuration rule, and also can forward the information of the main control module and the low-power module through the network module, so that network communication and message routing forwarding are mainly realized. The low-power-consumption power-saving module is mainly used for saving power consumption, when the master control is powered off, the service function of the low-power-consumption module is in keep-alive connection with the server, so that the equipment can be remotely awakened by a network, and a client can be remotely awakened at any time to check monitoring. In order to improve the experience of the client in checking the video by using the client awakening device, the scheme optimizes the scheme of simultaneously awakening and detecting the connection on the basis of the traditional method that the client awakens the main control connection server firstly and then establishes the connection, if the network detection connection of the client and the device is successful, the method advances the connection step of the client and the main control, can realize the two-way communication without waiting for the main control connection server, and accelerates the speed of the client requesting the audio and video. If the connection between the client and the equipment end is failed in network detection, the method has no influence on the speed of the outgoing image, and is compatible with the traditional client that firstly wakes up the main control connection server, then establishes connection with the main control and finally requests the audio and video. The embodiments of the present application are not limited to only including the above modules.
Therefore, according to the method provided by the embodiment of the application, after the monitoring device receives the wake-up command, it is determined that the network detection is successful, the handshake request is sent to the client based on the network detection success information, the handshake response data sent by the client is obtained, the successful connection with the client is determined, and the handshake response confirmation data is returned to the client, so that the client can conveniently obtain the audio and video from the monitoring device. By the method, the client wakes up the low-power-consumption device and simultaneously detects whether a two-way communication channel can be directly established with the low-power-consumption module, if the network detection is successful, the master control can directly establish handshake connection according to the available contact address of the client, so that the time for connecting the server after the master control is powered on and then starting to establish a forwarding link or establish a new P2P link through the server can be saved, the connection time of the client and the device is greatly shortened, the waiting time for the client to check and monitor the audio and video is shortened, the bandwidth is reduced, the cost is saved, and the client experience is improved.
On the basis of the foregoing embodiments, the present application provides a preferred embodiment, where establishing a handshake request connection with a client includes:
acquiring a handshake response message sent by a client;
returning to the client handshake response confirmation message;
and determining that the connection with the client is successful.
It should be noted that, two ports may be set for the client, one of the two ports is a network probe response server1 (server 1) and a network probe receiving and handshake server2 (server 2), where the port bound to server1 may reply the response and distribute the response to the low power consumption module through the low power consumption device network module, the port bound to server2 may reply the response and distribute the response to the main control module through the low power consumption device network module, and server2 is also configured to receive a network probe request and acknowledgement message sent by the low power consumption module to the client and a handshake request and acknowledgement message sent by the main control module to the client. As shown in fig. 2, after the master control module is started, when the master control module is connected to the central server, information and a state of successful network detection are firstly obtained from the low-power module, if the network detection is successful, a handshake request is sent to the server2, based on a result of successful network detection, the server2 can receive the handshake request, the server2 firstly verifies the validity of the handshake information, if the handshake request is valid, the handshake response is directly replied to the master control module through the server2, at this time, according to a configured forwarding rule, data sent by the server2 is responded to the master control module, after the master control module receives the handshake response, the connection state with the client is considered to be successful, the upper layer of the device is notified to be successfully connected, the device waits for receiving a data request of the client, and meanwhile, a handshake response confirmation is sent to the client server 2. And the client server2 waits for receiving the handshake response confirmation message of the main control module, and then continuously sends the handshake response message to the main control module. And when the client server2 receives the handshake response confirmation message sent by the main control module and passes the verification, the client server stops retransmitting the handshake response, namely the client server determines that the connection state with the equipment end is successful, informs the client that the upper layer connection is ready, and can directly carry out connection. After connection, the client can request to transmit audio and video data, in order to completely realize the correct decoding of the audio and video by the client, the communication between the client and the main control module of the monitoring equipment can be enabled to carry out sub-packaging with a certain length before sending a data packet, and meanwhile, local sub-packaging cache is carried out, only when the acknowledgement of the opposite side to the packet is received, the packet can be deleted, otherwise, the packet needs to be retransmitted at regular time and fast, so that the client can completely decode and play the audio and video data in real time after receiving the audio and video data, and after the handshake connection is successful, the heartbeat packet needs to be sent to the opposite side at regular time to maintain the link not to be released by the gateway node and simultaneously confirm whether the link is continuously available.
The embodiment of the present application provides only one preferred specific implementation, and is not limited to include only the above method, and the embodiment of the present application does not limit the specific manner of the handshake request, the embodiment of the present application does not limit the number of handshakes, and in addition, the embodiment of the present application does not limit the manner of sending the application.
As can be seen, in the method provided in this embodiment, after receiving the wake-up command, the monitoring device determines that the network detection is successful, sends a handshake request to the client based on the network detection success information, acquires handshake response data sent by the client, and determines that the connection with the client is successful, and returns handshake response confirmation data to the client, so that the client can acquire the audio and video from the monitoring device. By the method, the client wakes up the low-power-consumption device and simultaneously detects whether a two-way communication channel can be directly established with the low-power-consumption module, if the network detection is successful, the master control can directly establish handshake connection according to the available contact address of the client, so that the time for connecting the server after the master control is powered on and then starting to establish a forwarding link or establish a new P2P link through the server can be saved, the connection time of the client and the device is greatly shortened, the waiting time for the client to check and monitor the audio and video is shortened, the bandwidth is reduced, the cost is saved, and the client experience is improved.
On the basis of the foregoing embodiment, the present application provides a preferred embodiment, before sending the handshake request message to the client according to the network probing success message, further including:
sending a network detection request message with verification information to a client;
acquiring a network detection response message with verification information sent by a client and verifying the network detection response message;
if the verification is not qualified, discarding the network detection response data packet;
and if the verification is qualified, sending a network detection response confirmation message to the client and acquiring network detection success information.
It should be noted that, when receiving the wake-up command, the low power consumption module sends a network probe request to the server2, where the probe request carries verification information to facilitate the client to perform validity verification. When the low-power module does not receive the network detection response and does not detect timeout, the low-power module continuously retransmits the network detection request to the server2 until the network detection response is received or the detection timeout occurs. If the server2 on the client receives the network detection packet, firstly checking the validity of the detection packet, and if not, discarding the detection packet. If the check-sum rule is right, the network detection response is sent to the monitoring equipment through the server1, because according to the forwarding rule configured by the low-power-consumption network module, the data response sent by the server1 is forwarded to the low-power-consumption module, at the moment, if the low-power-consumption module receives the network detection response, the validity of the data is checked, if the data response is not the rule, the data is discarded, if the data response passes the check, the network detection information and the detection success state are updated, and meanwhile, the network detection response confirmation is replied to the client server 2. And if the client server2 does not receive the network detection response confirmation but does not detect overtime, continuing to send the network detection response to the monitoring equipment through the server 1. If server2 has received the network detection response confirmation message, server1 is informed to stop sending the network detection response, the client is informed that the upper layer network detection is successful, and the client waits for the handshake connection. And if any step is overtime, the network detection is considered to be failed. The embodiment of the present application provides only one preferred specific implementation, and is not limited to only including the above method, and the embodiment of the present application does not limit the specific manner of network probe, and the embodiment of the present application does not limit the number of times of probe requests.
As can be seen, in the method provided in this embodiment, after receiving the wake-up command, the monitoring device determines that the network detection is successful, sends a handshake request to the client based on the network detection success information, acquires handshake response data sent by the client, and determines that the connection with the client is successful, and returns handshake response confirmation data to the client, so that the client can acquire the audio and video from the monitoring device. By the method, the client wakes up the low-power-consumption device and simultaneously detects whether a two-way communication channel can be directly established with the low-power-consumption module, if the network detection is successful, the master control can directly establish handshake connection according to the available contact address of the client, so that the time for connecting the server after the master control is powered on and then starting to establish a forwarding link or establish a new P2P link through the server can be saved, the connection time of the client and the device is greatly shortened, the waiting time for the client to check and monitor the audio and video is shortened, the bandwidth is reduced, the cost is saved, and the client experience is improved.
On the basis of the foregoing embodiment, the present application provides a preferred embodiment, where acquiring the wake-up command from the client forwarded by the server includes:
acquiring a wake-up command carrying network detection request address information and network detection request check information acquired in a server;
and awakening the main control module according to the awakening command.
It should be noted that, when the client needs to wake up the low power consumption monitoring device in the dormant state, the contact address and the related check information of the local server2 need to be carried in the wake-up command, and after the wake-up command is forwarded by the server and distributed to the low power consumption module by the network module, the low power consumption module starts to wake up the main control module.
Therefore, according to the method provided by the embodiment of the application, the master control is in a power-down state in a normal state, the power consumption of the low-power module is relatively low, the bandwidth is reduced by using a wake-up mode, the cost is saved, and the customer experience is improved.
On the basis of the foregoing embodiment, the present application provides a preferred embodiment, after sending a handshake request message to a client according to a network probing success message, the method further includes:
if the handshake request connection with the client cannot be established, judging whether the handshake request exceeds a preset time length;
and if the preset time length is not exceeded, the step of sending a handshake request message to the client is entered again.
It should be noted that, in a preferred embodiment, if the main control module does not receive the handshake response but does not yet handshake overtime, it continues to send handshake information to server2, and stops retransmission until the handshake response is received.
Therefore, by the method, whether the request is received or not is judged for many times, if the request is not received, the request is sent for many times under the condition of not overtime, connection does not need to be reestablished, the connection time of the client and the equipment is shortened, and the user experience is improved.
To solve the foregoing technical problem, the present application further provides a connection method of a low power consumption monitoring system, which is applied to a client, and fig. 3 is a flowchart of a connection method of a low power consumption monitoring system according to another embodiment of the present application, and as shown in fig. 3, the method includes:
s30: sending a wake-up command to the monitoring equipment through the server;
s31: acquiring a network detection request message sent by monitoring equipment;
s32: acquiring a handshake request message sent by monitoring equipment;
s33: establishing handshake request connection with the monitoring equipment;
s34: and audio and video data are acquired from the monitoring equipment.
The embodiment of the connection method applied to the low-power monitoring system of the client is the same as the embodiment of the connection method applied to the low-power monitoring system of the monitoring device, and details are not repeated here.
The connection method applied to the low-power-consumption monitoring system of the client has the same beneficial effects as the connection method of the low-power-consumption monitoring system of the application and the monitoring equipment.
Based on the angle of the functional module, the present application further provides a connection system of a low power consumption monitoring system, fig. 4 is a structural diagram of the connection system of the low power consumption monitoring system provided in the embodiment of the present application, and is applied to a monitoring device, where the system includes:
an obtaining module 40, configured to obtain a wake-up command from a client forwarded by a server;
a first sending module 41, configured to send a network probe request message to the client according to the wake-up command;
a second sending module 42, configured to send a handshake request message to the client according to the network detection success message;
and the establishing module 43 is configured to establish a handshake request connection with the client, so that the client can obtain the audio and video from the monitoring device.
Since the embodiment of the system part corresponds to the embodiment of the method part, the embodiment of the system part is described with reference to the embodiment of the method part, and is not repeated here.
The connection system of the low power consumption monitoring system provided by the embodiment corresponds to the connection method of the low power consumption monitoring system, so that the connection system has the same beneficial effects as the connection method of the low power consumption monitoring system.
Fig. 5 is a structural diagram of a connection device of a low power consumption monitoring system according to another embodiment of the present application, and as shown in fig. 5, the connection device of the low power consumption monitoring system includes: a memory 20 for storing a computer program;
the processor 21, when executing the computer program, is configured to implement the steps of the connection method of the low power consumption monitoring system as mentioned in the above embodiments.
The connection device of the low power consumption monitoring system provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in at least one hardware form of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the connection method of the low power consumption monitoring system disclosed in any one of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, windows, unix, linux, and the like. The data 203 may include, but is not limited to, data related to a connection method of the low power monitoring system, and the like.
In some embodiments, the connection device of the low power monitoring system may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in fig. 5 does not constitute a limitation of the connection means of the low power consumption monitoring system and may include more or fewer components than those shown.
The connection device of the low-power consumption monitoring system provided by the embodiment of the application comprises a memory and a processor, wherein when the processor executes a program stored in the memory, the following method can be realized: a connection method of a low-power consumption monitoring system.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is understood that, if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be substantially or partially implemented in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods of the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The connection method, system, apparatus and storage medium of the low power consumption monitoring system provided in the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It should also be noted that, in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A connection method of a low-power consumption monitoring system is applied to monitoring equipment, and the method comprises the following steps:
acquiring a wake-up command from a client forwarded by a server;
sending a network detection request message to the client according to the awakening command;
sending a handshake request message to the client according to the network detection success message;
and establishing handshake request connection with the client so as to facilitate the client to acquire the audio and video from the monitoring equipment.
2. The connection method of the low power consumption monitoring system according to claim 1, wherein the monitoring device comprises: the system comprises a low-power-consumption module and a main control module, wherein the power consumption of the low-power-consumption module is smaller than that of the main control module;
the low-power consumption module is used for acquiring a wake-up command from a client, which is forwarded by the server, and waking up the main control module according to the wake-up command.
3. The connection method of the low power consumption monitoring system according to claim 2, wherein the establishing a handshake request connection with the client comprises:
acquiring a handshake response message sent by the client;
returning to the client handshake response confirmation message;
and determining that the connection with the client is successful.
4. The connection method of the low power consumption monitoring system according to claim 3, wherein before sending the handshake request message to the client according to the network probing success message, the method further comprises:
sending a network detection request message with verification information to the client;
acquiring a network detection response message with verification information sent by the client and verifying the network detection response message;
if the verification is not qualified, discarding the network detection response data packet;
and if the verification is qualified, sending a network detection response confirmation message to the client and acquiring network detection success information.
5. The connection method of the low power consumption monitoring system according to claim 4, wherein the obtaining the wake command from the client forwarded by the server comprises:
acquiring a wake-up command carrying network detection request address information and network detection request check information acquired in the server;
and awakening the main control module according to the awakening command.
6. The connection method of the low power consumption monitoring system according to any one of claims 1 to 5, wherein after sending the handshake request message to the client according to the network probing success message, the method further comprises:
if the handshake request connection with the client cannot be established, judging whether the handshake request exceeds a preset time length;
and if the preset time length is not exceeded, the step of sending a handshake request message to the client is entered again.
7. A connection method of a low-power consumption monitoring system is applied to a client, and the method comprises the following steps:
sending a wake-up command to the monitoring equipment through the server;
acquiring a network detection request message sent by the monitoring equipment;
acquiring a handshake request message sent by the monitoring equipment;
establishing handshake request connection with the monitoring equipment;
and acquiring audio and video data from the monitoring equipment.
8. A connection system of a low-power consumption monitoring system is applied to monitoring equipment and comprises:
the acquisition module is used for acquiring the awakening command from the client, which is forwarded by the server;
the first sending module is used for sending a network detection request message to the client according to the awakening command;
the second sending module is used for sending a handshake request message to the client according to the network detection success message;
and the establishing module is used for establishing handshake request connection with the client so as to facilitate the client to acquire the audio and video from the monitoring equipment.
9. A connection device for a low power consumption monitoring system, comprising a memory for storing a computer program;
a processor for implementing the steps of the connection method of the low power consumption monitoring system according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method for connecting a low power consumption monitoring system according to any one of claims 1 to 6.
CN202310139285.6A 2023-02-21 2023-02-21 Connection method, system, device and medium of low-power-consumption monitoring system Withdrawn CN115883630A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202310139285.6A CN115883630A (en) 2023-02-21 2023-02-21 Connection method, system, device and medium of low-power-consumption monitoring system
CN202310322583.9A CN116346881A (en) 2023-02-21 2023-03-29 Connection method, system, device and medium of low-power consumption monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310139285.6A CN115883630A (en) 2023-02-21 2023-02-21 Connection method, system, device and medium of low-power-consumption monitoring system

Publications (1)

Publication Number Publication Date
CN115883630A true CN115883630A (en) 2023-03-31

Family

ID=85761374

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202310139285.6A Withdrawn CN115883630A (en) 2023-02-21 2023-02-21 Connection method, system, device and medium of low-power-consumption monitoring system
CN202310322583.9A Pending CN116346881A (en) 2023-02-21 2023-03-29 Connection method, system, device and medium of low-power consumption monitoring system

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202310322583.9A Pending CN116346881A (en) 2023-02-21 2023-03-29 Connection method, system, device and medium of low-power consumption monitoring system

Country Status (1)

Country Link
CN (2) CN115883630A (en)

Also Published As

Publication number Publication date
CN116346881A (en) 2023-06-27

Similar Documents

Publication Publication Date Title
US10912035B2 (en) Power management via coordination and selective operation of timer-related tasks
US10178614B2 (en) Power saving Wi-Fi tethering
US8310969B2 (en) Mobile device and power saving method thereof
US11243595B2 (en) Method and apparatus for reducing continuous-wakeup delay of bluetooth loudspeaker, and bluetooth loudspeaker
US20120158981A1 (en) Fast join of peer to peer group with power saving mode
TW200915888A (en) Communication apparatus and network search method thereof
WO2023174179A1 (en) Communication method and apparatus, electronic device and readable storage medium
CN108551668B (en) Information transmission method, device, equipment and storage medium
JP2016536892A (en) Method for transmitting heartbeat message and portable terminal
CN109982355B (en) Method for saving and restoring network path, apparatus, terminal and storage medium thereof
WO2023174180A1 (en) Communication method and apparatus for analyte concentration data monitoring system
WO2023221948A1 (en) Information processing method, and device, storage medium and program product
CN111212151B (en) File transmission method, device and storage medium
US10445108B2 (en) Technologies for optimizing resume time for media agnostic USB
CN114584707A (en) Method for controlling power consumption of wireless communication module in camera
TWI577162B (en) Method for maintaining transmission control protocol connection and computer system
US10488909B2 (en) Communicating commands to an embedded controller of a system
CN115883630A (en) Connection method, system, device and medium of low-power-consumption monitoring system
CN105357387A (en) Method, apparatus and system for wakening terminal
JP4882537B2 (en) Request control method by timer cooperation
CN109327560A (en) IP address re-rents method, apparatus, network system and electronic equipment
CN115413015A (en) Communication method, device, storage medium and terminal equipment
CN109379449B (en) Data connection method, device, terminal and storage medium
CN108174458B (en) Method and device for wireless connection between mobile terminal and wearable device, mobile terminal and wearable device
CN113835977B (en) State prompting method, state prompting device, computer equipment and computer readable storage medium

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20230331