Data transmission method and system of low-power-consumption internet-of-things equipment and low-power-consumption intelligent safety box

By establishing a low-power link between IoT devices and proxy devices and implementing appropriate routing strategies according to the data type, the problem of high power consumption and low efficiency in long data cycles is solved, and low power consumption and efficient data transmission is achieved.

CN120075972APending Publication Date: 2025-05-30SHANGHAI WU QI MICROELECTRONICS CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510275365.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-10
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

Traditional Wi-Fi IoT devices are unable to effectively meet the low power consumption due to continuous maintenance of links or frequent link establishment and disconnection during long data cycles.

Method used

By establishing a low-power link between IoT devices and proxy devices, maintaining link synchronization with periodic handshakes, wake up the device for data transmission when needed, and performing long data or short data routing policies based on the data type, optimizing link adjustments to reduce power consumption.

Benefits of technology

It realizes maintaining a low power consumption state for most of the time, improving the data transmission efficiency of IoT devices and system reliability, while reducing power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075972A_ABST
    Figure CN120075972A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method and system of low-power-consumption Internet of Things equipment and a low-power-consumption intelligent safety box, and relates to the technical field of low-power-consumption Internet of Things. The method comprises the following steps: acquiring a data transmission demand of Internet of Things equipment; executing different routing policies according to the data type of the data to be transmitted, wherein the routing policies comprise a long data routing policy and a short data routing policy; under the long data routing strategy, link adjustment is carried out on links among the Internet of Things equipment, the proxy equipment and the AP, so that the Internet of Things equipment directly communicates with the AP through a Wi-Fi link to transmit long data, and the Wi-Fi link between the Internet of Things equipment proxy by the proxy equipment and the AP enters a connection dormancy state; and under the short data routing strategy, link adjustment is not carried out, and short data is transmitted by utilizing the periodic handshake opportunity of the low-power-consumption link. Furthermore, a low-power-consumption intelligent safety box scheme is provided by combining the characteristics and requirements of the safety box. According to the invention, the low-power-consumption Internet of Things product industry is enriched.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of low-power Internet of Things, and particularly to a data transmission method, system and low-power intelligent safe for low-power Internet of Things devices. Background Art

[0002] The Internet of Things, namely Internet Of Things (IoT). The Internet of Things technology has important applications in the fields of smart home, intelligent transportation, smart city, industrial inspection, personal health, etc. Internet of Things devices can be various information sensors and controllers, or various intelligent household appliances and industrial appliances. Internet of Things devices can access the Internet in various ways to form a huge network, realizing the extension of the Internet from people to things. Among them, the Wi-Fi Internet of Things access method is one of the most widely used, lowest-cost and best-scalable Internet of Things device access methods. Generally, Wi-Fi Internet of Things devices can directly access the network through a Wi-Fi access point AP (Access Point, also known as a Wi-Fi hotspot or wireless router) and exchange data with an Internet server.

[0003] There are generally the following two ways for data exchange of traditional Wi-Fi Internet of Things devices: 1) continuously maintain the IP layer link between the device and the Internet server via the AP. This method requires continuous packet sending to maintain this link and prevent timeout disconnection; 2) when exchanging data packets each time, the device re-establishes the IP layer and above links with the Internet server via the AP. For general Wi-Fi Internet of Things devices with a long data cycle powered by batteries, the above traditional methods spend most of the data exchange and device energy on the exchange of non-effective data, with low efficiency and unnecessary waste of power consumption.

[0004] Accordingly, in response to the low-power requirements of Internet of Things (IoT) devices with long data cycles, the prior art has provided some low-power link solutions for IoT. These solutions adopt optimized designs in communication systems to reduce power consumption in the links. As an example, for instance, Chinese Patent ZL201510288713.7 discloses a method for implementing a low-power IoT based on proxy devices, including: First, establish a low-power Wi-Fi MAC layer link between the proxy device and at least one Wi-Fi IoT device in advance. The Wi-Fi IoT device only establishes a low-power Wi-Fi MAC layer link with the proxy device. The proxy device uses the standard 802.11 protocol to connect to the Wi-Fi access point and thus connect to the Internet server. The proxy device is provided with sufficient energy supply and does not need to enter the sleep state. When the Wi-Fi IoT device needs to exchange data with the Internet server, the data is loaded into the packet payload structure defined by the MAC layer, and data pre-exchange is performed with the proxy device through the low-power Wi-Fi MAC layer link. After the pre-exchange is completed, it enters the low-power sleep state, and the proxy device forwards the data received from the pre-exchange to the Internet server through the specified IP address and higher-layer protocol (such as TCP) in the MAC layer packet payload via the IP layer and above links. However, although the above solution meets the low-power consumption requirements of IoT devices to a certain extent, the data transmission of IoT devices all requires the proxy device to perform data pre-exchange, data forwarding, and data caching. When there are many IoT devices, congestion and conflicts are likely to occur, affecting the data transmission efficiency and reliability. At the same time, it also poses high requirements on the processing performance and storage performance of the proxy device.

[0005] In response to the above defects, the prior art has proposed improvements. Referring to the low-power communication systems provided in Chinese Patent Applications CN202410106433.9 (publication number CN117880945A) and CN202410106429.2 (publication number CN117896809A), a new topology structure is constructed in the system to meet the low-power consumption requirements of low-power IoT devices. In the system, the proxy device and the low-power IoT device maintain information synchronization through a low-power link (Low Power Link), and functions such as link handover are achieved through this link. Among them, CN117896809A also introduces a new ultra-low-power link technology different from existing technologies such as Wi-Fi, Bluetooth, and Zigbee. This ultra-low-power link is used for information synchronization between the proxy device and the low-power IoT device in the basic architecture, and functions such as link handover are achieved through this link. The above low-power communication solution provides a more energy-efficient and efficient data transmission configuration, especially suitable for wireless networking communication of IoT devices. Summary of the Invention

[0006] The object of the present invention is to: in combination with the data transmission characteristics and requirements of some Internet of Things devices in practical applications, based on the low-power optimization technologies in CN117880945A and CN117896809A, construct specific applications thereon to enrich the low-power Internet of Things product formats. Specifically, the present invention provides a data transmission method, system and low-power intelligent safe for low-power Internet of Things devices.

[0007] To achieve the above object, the present invention provides the following technical solutions: A data transmission method for low-power Internet of Things devices, comprising the following steps: Collect the data transmission requirements of the Internet of Things device, including data sending requirements or data receiving requirements; wherein, when there is no data transmission, the proxy device communicates with the Wi-Fi access point AP on behalf of the Internet of Things device, and the Internet of Things device is in a sleep state. In the sleep state, the Internet of Things device is connected to the proxy device through a low-power link. At this time, the Internet of Things device maintains the low-power link with the proxy device through periodic handshakes; when there is data to send, the Internet of Things device can wake itself up; According to the data type to which the data to be transmitted belongs, different routing strategies are executed, including long data routing strategies and short data routing strategies; in the long data routing strategy, the communication link between the Internet of Things device, the proxy device and the AP is adjusted so that the Internet of Things device directly communicates with the AP through the Wi-Fi link to transmit long data, and the Wi-Fi link between the proxy device and the AP on behalf of the foregoing Internet of Things device enters the connection sleep state; in the short data routing strategy, no link adjustment is performed, and the short data is transmitted by using the opportunity of the periodic handshake of the foregoing low-power link.

[0008] Further, in the scenario where the Internet of Things device sends long data, the steps of the link adjustment are as follows: The Internet of Things device sends a link handover request to the proxy device; The proxy device receives the link handover request of the Internet of Things device. After agreeing to the link handover, it puts the Wi-Fi link between the proxy device and the AP on behalf of the foregoing Internet of Things device into the connection sleep state, and feeds back the response information agreeing to the link handover to the Internet of Things device; After receiving the foregoing response information, the Internet of Things device activates its Wi-Fi link with the AP and directly initiates a communication to upload long data to the AP; After receiving the long data uploaded by the Internet of Things device, the AP feeds back an upload confirmation message to the Internet of Things device through the Wi-Fi link; After receiving the foregoing upload confirmation message, the Internet of Things device sends a request signal to the proxy device to resume the low-power link connection; After the proxy device receives a request from the IoT device to resume the low-power link connection, it feeds back response information agreeing to resume the low-power link connection to the IoT device; After the IoT device receives the aforementioned response information agreeing to resume the low-power link connection, it puts itself into the sleep state. At this time, the connection state between the recovery proxy device and the AP is restored, and the proxy device communicates with the AP on behalf of the IoT device.

[0009] Furthermore, in the scenario where the IoT device sends short data, the steps of sending short data using periodic handshakes are as follows: The IoT device enters the wake state, calculates the next nearest handshake time anchor point, enters the sleep state, and sleeps until the aforementioned time anchor point; when the aforementioned time anchor point arrives, the IoT device sends a handshake request to the proxy device and sends short data to the proxy device using the opportunity of the handshake. After the proxy device receives the short data from the IoT device, it feeds back response information confirming the receipt of the short data to the IoT device and uploads the received short data to the AP; The IoT device receives the aforementioned response information confirming the receipt and enters the sleep state; during the above process, the proxy device and the AP maintain the connection state, and the proxy device communicates with the AP on behalf of the IoT device.

[0010] Furthermore, in the scenario where the IoT device receives short data, the steps of receiving short data using periodic handshakes are as follows: The proxy device receives the short data sent by the AP and waits for the handshake time anchor point of the IoT device; The IoT device enters the wake state, calculates the next nearest handshake time anchor point, enters the sleep state, and sleeps until the aforementioned time anchor point; when the aforementioned time anchor point arrives, the IoT device sends a handshake request to the proxy device; The proxy device receives the handshake request sent by the IoT device and sends the aforementioned short data from the AP to the IoT device using the opportunity of the handshake with the IoT device; After the IoT device receives the short data sent by the proxy device, it performs relevant processing and then enters the sleep state.

[0011] Furthermore, the AP is configured to: upload the received long data or short data to the client in the Internet through the Wi-Fi link; and, Obtain a short data command for the IoT device issued by the client in the Internet and send the received command to the proxy device through the Wi-Fi link between the aforementioned IoT device and the AP proxied by the proxy device.

[0012] The present invention also provides a communication system for low-power Internet of Things devices. The system includes a Wi-Fi access point AP, an Internet of Things device supporting low power consumption, and a proxy device. The AP is used to access the Internet. The Internet of Things device is sensitive to power consumption, and the proxy device is not sensitive to power consumption. When there is no data transmission, the proxy device communicates with the Wi-Fi access point AP on behalf of the Internet of Things device, and the Internet of Things device is in a sleep state. In this sleep state, the Internet of Things device is connected to the proxy device through a low-power link. At this time, the Internet of Things device maintains the low-power link with the proxy device through periodic handshakes. When there is data to be sent, the Internet of Things device can wake itself up. When data needs to be transmitted, different routing strategies are executed according to the data type to which the data to be transmitted belongs. The routing strategies include a long-data routing strategy and a short-data routing strategy. Under the long-data routing strategy, the communication link between the Internet of Things device, the proxy device, and the AP is adjusted so that the Internet of Things device directly communicates with the AP through a Wi-Fi link to transmit long data, and the Wi-Fi link between the proxy device and the AP on behalf of the aforementioned Internet of Things device enters a connection sleep state. Under the short-data routing strategy, no link adjustment is made, and the short data is transmitted by taking advantage of the timing of the periodic handshakes of the aforementioned low-power link.

[0013] The present invention also provides a low-power intelligent safe, which includes a safe controller. A lighting unit and a camera unit are arranged inside the safe, and the lighting unit and the camera unit are connected to the safe controller and receive the control of the safe controller. The safe controller is configured to: enter a sleep state when there is no data transmission, and the proxy device communicates with the Wi-Fi access point AP on behalf of itself. In this sleep state, the safe is connected to the proxy device through a low-power link, and the safe maintains the low-power link with the proxy device through periodic handshakes; and, wake itself up when there is data to be sent; and, execute different routing strategies according to the data type to which the data to be transmitted belongs. The routing strategies include a long-data routing strategy and a short-data routing strategy. Under the long-data routing strategy, the communication link between the safe, the proxy device, and the AP is adjusted so that the safe directly communicates with the AP through a Wi-Fi link to transmit long data, and the Wi-Fi link between the proxy device and the AP on behalf of the aforementioned safe enters a connection sleep state. Under the short-data routing strategy, no link adjustment is made, and the short data is transmitted by taking advantage of the timing of the periodic handshakes of the aforementioned low-power link.

[0014] Further, the safe controller is configured to: monitor the door state of the safe, and trigger a snapshot upload mode when the door of the safe changes from the open state to the closed state, or when the door of the safe changes from the closed state to the open state and the user enables the open door snapshot upload function, or when the door of the safe changes from the closed state to the open state and the door is abnormally opened; In the snapshot upload mode: control the camera to move to adjust the camera direction, take a picture of the inside of the safe to obtain a closed door snapshot or take a picture of the person opening the door to obtain an open door snapshot, and request a link handover from the proxy device; and, After receiving the response information from the proxy device agreeing to the link handover, activate the Wi-Fi link between itself and the AP, and directly upload the closed door snapshot or the open door snapshot to the AP; and, After receiving the snapshot upload confirmation information from the AP, send a request signal to the proxy device to resume the low-power link connection. According to the response information from the proxy device agreeing to resume the low-power link connection, put itself into the sleep state. At this time, resume the connection state between the proxy device and the AP, and the proxy device communicates with the AP on behalf of the safe.

[0015] Further, the safe controller is configured to: monitor the movement information of the safe, and trigger a vibration alarm mode when the safe vibrates or the spatial orientation of the safe changes; In the vibration alarm mode: wake itself up to the wake state, calculate the next nearest handshake time anchor point, prepare the alarm message content, enter the sleep state, and sleep until the aforementioned time anchor point; when the aforementioned time anchor point arrives, send the aforementioned alarm message to the proxy device; and, After receiving the response information from the proxy device confirming the receipt of the alarm message, enter the sleep state; during this process, the proxy device and the AP maintain the connection state, and the proxy device communicates with the AP on behalf of the safe.

[0016] Further, the safe controller is configured to: trigger a vibration snapshot mode when the vibration intensity of the safe reaches a preset intensity threshold and / or the change amount of the spatial orientation reaches a preset displacement threshold; In the vibration snapshot mode: control the camera to move to adjust the camera direction, take a picture of the inside of the safe to obtain a vibration snapshot, and request a link handover from the proxy device; and, After receiving the response information from the proxy device agreeing to the link handover, activate the Wi-Fi link between itself and the AP, and directly upload the vibration snapshot to the AP; and, After receiving the snapshot upload confirmation information fed back by the AP, send a request signal to the proxy device to resume the low-power link connection. According to the response information fed back by the proxy device agreeing to resume the low-power link connection, put itself into the sleep state. At this time, resume the connection state between the proxy device and the AP, and the proxy device communicates with the AP on behalf of the safe.

[0017] Further, the safe controller is configured to: execute the foregoing command after receiving the control command issued at the timing of the periodic handshake request by the proxy device; when executing the command, trigger the long data reply mode or the short data reply mode respectively according to the type of data that needs to be replied by itself; In the long data reply mode, request link handover from the proxy device; and, after receiving the response information fed back by the proxy device agreeing to the link handover, activate its own Wi-Fi link with the AP and directly upload the long data to the AP; and, after receiving the long data upload confirmation information fed back by the AP, send a request signal to the proxy device to resume the low-power link connection. According to the response information fed back by the proxy device agreeing to resume the low-power link connection, put itself into the sleep state; at this time, resume the connection state between the proxy device and the AP, and the proxy device communicates with the AP on behalf of the safe; In the short data reply mode, wake itself up to the wake state, calculate the next nearest handshake time anchor point, enter the sleep state, and sleep until the foregoing time anchor point; when the foregoing time anchor point arrives, send a handshake request to the proxy device, and use the opportunity of the handshake to send short data to the proxy device; and, receive the response information fed back by the proxy device confirming the receipt of the short data and enter the sleep state; during this process, the proxy device and the AP maintain the connection state, and the proxy device communicates with the AP on behalf of the safe.

[0018] Due to the adoption of the above technical solutions, compared with the prior art, the present invention has the following advantages and positive effects by way of example: Combining the data transmission characteristics and requirements of some Internet of Things devices in practical applications, and based on the low-power optimization technology in the background art, a specific application is constructed thereon, enriching the low-power Internet of Things product formats.

[0019] The data transmission solution of the low-power Internet of Things device provided by the present invention, in most cases, the Internet of Things device maintains synchronization of the low-power link with the proxy device to save power; when the Internet of Things device needs to transmit data, different routing strategies are adopted according to whether the data to be transmitted is short data or long data. In this way, while optimizing the power consumption of the Internet of Things device, the data transmission performance of the system is improved.

[0020] Further, a low-power intelligent safe solution is proposed in combination with the characteristics and application requirements of the intelligent safe. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 Timing diagram of the periodic handshake of the Low Power Link.

[0022] Figure 2 Communication network topology provided by the present invention.

[0023] Figure 3 Schematic diagram of the routing strategy for long data upload provided by the present invention.

[0024] Figure 4 Schematic diagram of the routing strategy for short data upload provided by the present invention.

[0025] Figure 5 Schematic diagram of device information interaction when the intelligent safe uploads a door - closing snapshot provided by the present invention.

[0026] Figure 6 Schematic diagram of device information interaction when the intelligent safe uploads a door - opening snapshot provided by the present invention.

[0027] Figure 7 Schematic diagram of device information interaction when the intelligent safe triggers a vibration alarm provided by the present invention.

[0028] Figure 8 Schematic diagram of device information interaction when the intelligent safe triggers a vibration snapshot provided by the present invention.

[0029] Figure 9 Schematic diagram of the time anchor points of the periodic handshake of the Low Power Link provided by the present invention.

[0030] Figure 10 Schematic diagram of the routing strategy for the data download scenario (intelligent safe receiving data) provided by the present invention.

[0031] Figure 11 Schematic diagram of device information interaction during data download provided by the present invention. Detailed implementation manners

[0032] The following further elaborates in detail on the data transmission method, system, and low-power intelligent safe of the low-power Internet of Things device disclosed in the present invention in conjunction with the accompanying drawings and specific embodiments. It should be noted that technologies (including methods and devices) known to those of ordinary skill in the relevant fields may not be discussed in detail, but in appropriate cases, the above-known technologies are regarded as part of the specification. At the same time, other examples of the exemplary embodiments may have different values. The structures, ratios, sizes, etc. shown in the drawings of this specification are only used to cooperate with the content disclosed in the specification for those familiar with this technology to understand and read, and are not used to limit the conditions under which the invention can be implemented. In the description of the embodiments of the present application, " / " means "or", and "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist. For example, "A and / or B" means: A exists alone, B exists alone, and both A and B exist at the same time. In the description of the embodiments of the present application, "a plurality of" means two or more. Embodiment

[0033] First, review the low-power optimization solution provided in the invention with the publication number CN117896809A. After the connection between the Station (specifically, a low-power IOT device) and the proxy device Agent is successfully established, the Station and the Agent enter the connection communication phase. During the connection communication phase between the Station and the Agent, within each set interval time Interval (the Interval time parameter is provided by the Station and is used to maintain link synchronization between the Station and the Agent after the connection is established), the Station initiates a handshake request, and the Agent responds. See Figure 1 as shown.

[0034] To ensure the low power consumption of the Station, the Station hands over most of its activities to the Agent, allowing the Agent to communicate with the outside world (AP) as an agent, while the Station itself only maintains a relatively small amount of activity with the Agent - such as Handshake. The Handshake is periodic (it repeatedly occurs in the low-power link. A handshake, also known as a handover, is an information interaction behavior after the establishment of a communication connection and before the start of information transmission. One handshake corresponds to one information interaction), and the interval time is the aforementioned Interval, and the size of the interval time Interval depends on the power consumption sensitivity of the Station device (the larger the interval time Interval, the smaller the activity of the Station and the more power is saved). Therefore, usually, the interval time Interval of the periodic handshake can be configured according to the application requirements such as the power consumption and real-time performance of the Station, which can be dozens, hundreds of milliseconds, or several seconds, minutes, or hours, etc.

[0035] When the periodic handshake occurs, the transmitted data packet can be configured to be as short as possible to reduce power consumption. For example, maintain a low-power LowPower link between the Station and the Agent through the handshake, such as clock synchronization; or, the Agent can send a small amount of data to the Station using the opportunity of the handshake, such as updating the current state of the AP; or, the Agent can use the opportunity of the handshake to let the Station exit the sleep mode (low-power mode) and perform a link handover with the Station; or, the Station can use the opportunity of the handshake to renegotiate the link parameters with the Agent, such as changing the size of the aforementioned interval time interval according to the application requirements.

[0036] For the implementation method of the low-power optimization solution, refer to the relevant records in CN117896809A, which will not be elaborated here.

[0037] The present invention is a further improvement based on the above-mentioned prior art. Specifically, the present invention provides a data transmission method for a low-power Internet of Things (IOT) device, including the following steps.

[0038] S100, collect the data transmission requirements of the Internet of Things device, and the data transmission requirements can be data sending requirements or data receiving requirements.

[0039] Among them, when there is no data transmission, the proxy device communicates with the Wi-Fi access point AP on behalf of the Internet of Things device, and the Internet of Things device is in a dormant state. In the dormant state, the Internet of Things device is connected to the proxy device through a low-power link. At this time, the Internet of Things device maintains the low-power link with the proxy device through periodic handshakes. When there is data to be sent, the Internet of Things device can wake itself up.

[0040] S200. According to the data type to which the data to be transmitted belongs, different routing strategies are executed, including a long data routing strategy and a short data routing strategy.

[0041] Specifically, the data type may include long data and short data. When long data needs to be transmitted, the long data routing strategy is adopted, and when short data needs to be transmitted, the short data routing strategy is adopted. The division rule for long data and short data can be set by the system by default or can be customized by the user according to actual needs. As an example, a data volume threshold can be preset, and data packets with a data length greater than or equal to the data volume threshold are determined to be of the long data type, and data packets with a data length less than the data volume threshold are determined to be of the short data type.

[0042] Under the long data routing strategy, the communication link between the Internet of Things device, the proxy device, and the AP is adjusted so that the Internet of Things device directly communicates with the AP through the Wi-Fi link to transmit long data, and the Wi-Fi link between the aforementioned Internet of Things device and the AP that the proxy device represents enters the connection dormant state.

[0043] Under the short data routing strategy, no link adjustment is required. Instead, the short data is directly transmitted by taking advantage of the opportunity of the periodic handshake of the aforementioned low-power link and then uploaded to the AP through the Agent.

[0044] By adopting the above solution, on the one hand, the efficiency of using Wi-Fi for long data is higher and the transmission speed is faster, so that the radio frequency switch time window of the Internet of Things device is shorter, which is beneficial to saving the power consumption of the Internet of Things device. On the other hand, by taking advantage of the characteristic that less data volume can be transmitted when the handshake occurs, the Internet of Things device directly communicates with the proxy device Agent through the opportunity of the periodic handshake of the low-power link, and the Agent uploads the data to the AP. In this way, the Internet of Things device maintains a relatively small amount of activity during this process (handing over most of its Activity to the Agent and letting the Agent act as a proxy to communicate with the outside world (AP)), ensuring its own low power consumption.

[0045] In one implementation manner of this embodiment, in the scenario where the Internet of Things device sends long data, the steps of the link adjustment may be specifically as follows: S211, The IoT device sends a link handover request to the proxy device.

[0046] S212, The proxy device receives the link handover request from the IoT device. After agreeing to the link handover, it puts the Wi-Fi link between the aforementioned IoT device it represents and the AP into a connection sleep state, and feeds back a response message agreeing to the link handover to the IoT device.

[0047] S213, After receiving the aforementioned response message, the IoT device activates its own Wi-Fi link with the AP and directly initiates communication to upload long data to the AP, uploading the long data to the AP.

[0048] S214, After receiving the long data uploaded by the IoT device, the AP feeds back an upload confirmation message to the IoT device via the Wi-Fi link.

[0049] S215, After receiving the aforementioned upload confirmation message, the IoT device sends a request signal to the proxy device to resume the low-power link connection.

[0050] S216, After receiving the request from the IoT device to resume the low-power link connection, the proxy device feeds back a response message agreeing to resume the low-power link connection to the IoT device.

[0051] S217, After receiving the aforementioned response message agreeing to resume the low-power link connection, the IoT device enters a sleep state. At this time, the connection state between the proxy device and the AP is restored, and the proxy device communicates with the AP on behalf of the IoT device.

[0052] In another implementation of this embodiment, in the scenario where the IoT device sends short data, the specific steps for sending short data using periodic handshakes can be as follows: S221, The IoT device wakes up, calculates the next nearest handshake time anchor point, enters a sleep state, and sleeps until the aforementioned time anchor point; when the aforementioned time anchor point arrives, the IoT device sends a handshake request to the proxy device and sends short data to the proxy device using the opportunity of the handshake.

[0053] S222, After receiving the short data from the IoT device, the proxy device feeds back a response message confirming the receipt of the short data to the IoT device and uploads the received short data to the AP.

[0054] S223, The IoT device receives the aforementioned response message confirming the receipt and enters a sleep state.

[0055] During the process of executing steps S221 - S223 above, the proxy device and the AP maintain a connection state, and the proxy device communicates with the AP on behalf of the IoT device.

[0056] In another implementation of this embodiment, in the scenario where the Internet of Things device receives short data, the specific steps for receiving short data using periodic handshakes can be as follows: S231. The proxy device receives the short data sent by the AP and waits for the handshake time anchor point of the Internet of Things device.

[0057] S232. The Internet of Things device enters the wake-up state, calculates the next nearest handshake time anchor point, enters the sleep state, and sleeps until the aforementioned time anchor point; when the aforementioned time anchor point arrives, the Internet of Things device sends a handshake request to the proxy device.

[0058] S233. The proxy device receives the handshake request sent by the Internet of Things device and sends the aforementioned short data from the AP to the Internet of Things device at the time of handshaking with the Internet of Things device.

[0059] S234. After receiving the short data sent by the proxy device, the Internet of Things device performs relevant processing and then enters the sleep state.

[0060] In this embodiment, the AP is further configured to: upload the received long data or short data to the user terminal in the Internet through the Wi-Fi link; and obtain the short data commands for the Internet of Things device issued by the user terminal in the Internet - such as various control commands, usually in small quantities, and send the received commands to the proxy device through the Wi-Fi link between the Internet of Things device and the AP proxied by the proxy device to save the power consumption of the Internet of Things device.

[0061] Another embodiment of the present invention further provides a communication system for low-power Internet of Things devices.

[0062] The system includes a Wi-Fi access point AP, an Internet of Things device supporting low power consumption, and a proxy device. The AP is used to access the Internet. The Internet of Things device is sensitive to power consumption, and the proxy device is not sensitive to power consumption.

[0063] When there is no data transmission, the proxy device communicates with the Wi-Fi access point AP on behalf of the Internet of Things device, and the Internet of Things device is in the sleep state. In the sleep state, the Internet of Things device is connected to the proxy device through a low-power link. At this time, the Internet of Things device maintains the low-power link with the proxy device through periodic handshakes. When there is data to be sent, the Internet of Things device can wake itself up.

[0064] When data needs to be transmitted, determine the data type to which the data to be transmitted belongs, and execute different routing policies according to the data type.

[0065] The data type includes a long data type and a short data type, and the corresponding routing policies include a long data routing policy and a short data routing policy.

[0066] Under the long - data routing strategy, the communication link between the Internet of Things (IoT) device, the proxy device, and the access point (AP) is adjusted so that the IoT device directly communicates with the AP via a Wi - Fi link to transmit long data, and the Wi - Fi link between the aforementioned IoT device proxy - managed by the proxy device and the AP enters the connection sleep state.

[0067] Under the short - data routing strategy, no link adjustment is performed, and the short data is transmitted by taking advantage of the opportunity of the periodic handshake of the aforementioned low - power link.

[0068] For other technical features, refer to the description of the previous embodiments and will not be elaborated here.

[0069] Another embodiment of the present invention specifically proposes a low - power intelligent safe in combination with the characteristics and application requirements of an intelligent safe.

[0070] Currently, the intelligent functions of existing intelligent safes mainly include remote monitoring and management, item management function, humidity control, and internal lighting, etc.

[0071] Remote monitoring and management: With the help of Internet of Things technology, users can remotely monitor the status of the safe (such as remote monitoring, remote unlocking, etc.) through the user terminal - such as a mobile phone application. For example, users can view information such as the opening and closing status of the safe, whether there is an abnormal alarm, etc. at any time. Moreover, some safes also allow users to remotely authorize opening. When a legitimate requester needs to open the safe, the user can send a one - time opening password or authorization instruction through the mobile phone application, which is convenient and fast for handling emergencies.

[0072] Item management function: An item storage induction device can be set inside the intelligent safe. When an item is put in or taken out, the safe can automatically record information about the item, such as name, quantity, storage time, etc. Through the mobile phone application, users can conveniently view the item list inside the safe, which is convenient for item management and inventory. Some safes also have an intelligent classification function. According to the type of item (such as documents, jewelry, cash, etc.) or the user - defined classification method, the item information is automatically classified and sorted, making it convenient for users to quickly find the required item.

[0073] Humidity control: To better protect the stored items, the intelligent safe can also be equipped with a humidity adjustment device. Through the built - in humidity sensor, the safe can monitor the internal humidity in real - time. When the humidity exceeds the set threshold, the dehumidification device will automatically turn on to reduce the humidity to an appropriate range. This is very important for storing humidity - sensitive items such as paper documents and artworks.

[0074] Internal lighting: When the safe is opened, the internal lighting equipment will automatically light up. These lighting equipment usually adopt energy-saving LED lights with moderate brightness, enabling users to clearly see the items inside the safe. The lighting angle and range are designed to have no lighting blind spots, facilitating users to search for and operate items.

[0075] Of course, in addition to the above functions, those skilled in the art can configure other functional modules according to needs to achieve corresponding functions, such as biometric functions, item recognition functions, fire prevention functions, etc. One can refer to various intelligent safes in the prior art and will not be elaborated here.

[0076] Based on the low-power consumption requirements of the intelligent safe, the present invention improves its communication link and data transmission method.

[0077] Specifically, the low-power intelligent safe may include a safe controller. Inside the safe, there are a lighting unit and a camera unit, which are connected to the safe controller and receive the control of the safe controller. The safe controller is the core component of the safe, used to control various electronic components of the safe, process various internal and external data, and complete the coordination and command of the entire safe system operation.

[0078] The safe controller is configured to: enter the sleep state when there is no data transmission, and let the proxy device communicate with the Wi-Fi access point AP on its behalf (the safe controller). In the sleep state, the safe is connected to the proxy device through a low-power consumption link, and the safe maintains the low-power consumption link with the proxy device through periodic handshakes; and, wake itself up when there is data to be sent; and, execute different routing strategies according to the data type to which the data to be transmitted belongs.

[0079] In most cases, there is no data transmission in the safe. At this time, the safe is in the sleep state, and the safe synchronizes with the Agent to maintain the low-power consumption link (the safe maintains the low-power consumption link with the Agent through periodic handshakes) to save power consumption. See Figure 2 As shown, it is the communication topology structure among the intelligent safe, the proxy device Agent, and the Wi-Fi access point AP in the case of no data transmission. The AP is used to access the Internet. The safe is sensitive to power consumption, and the proxy device Agent is not sensitive to power consumption. The proxy device Agent accesses the AP in the Internet as the proxy of the intelligent safe in the Station role and communicates with the AP through the Wi-Fi link, and maintains communication with the user side at the other end of the Internet with the AP as the gateway.

[0080] When the status of the safe changes, it can be determined whether the communication link needs to be adjusted based on the situation, and then the data can be uploaded to the Internet based on the adjusted link to notify the user; or, when the user needs to remotely view and control the status of the safe, the user sends the command to the safe through the network.

[0081] In this embodiment, in order to optimize power consumption and performance, a long data routing strategy and a short data routing strategy may be respectively adopted according to whether the transmitted data (upload data or received and sent data) is of a long data type or a short data type.

[0082] Under the long data routing strategy, the communication link between the safe, the proxy device and the AP needs to be Figure 2 The communication topology shown in the figure is used to adjust the link so that the safe communicates directly with the AP through the Wi-Fi link to transmit long data, and the Wi-Fi link between the safe and the AP represented by the proxy device enters the connection dormant state. Taking the safe uploading data as an example, Figure 3 The example illustrates the long data routing strategy in the data upload scenario. The safe directly communicates the long data with the AP through the Wi-Fi link.

[0083] Under the short data routing strategy, no link adjustment is performed, and short data is directly transmitted using the periodic handshake opportunity of the aforementioned low-power link. Taking the safe uploading data as an example, Figure 4 This example illustrates the short data routing strategy in the data upload scenario.

[0084] The following describes the corresponding data transmission solution based on the specific data sending and receiving requirements of the safe.

[0085] When the status of the safe changes, the data needs to be uploaded to the user, mainly in the following scenarios.

[0086] Scenario of uploading snapshots inside the safe when the door is closed: After the safe is closed, it is necessary to take a snapshot of the inside of the safe and transmit the images of the arrangement and placement of items to the user. When the user needs to check the items next time, there is no need to take a snapshot of the inside of the safe through remote commands (generally speaking, the items in the safe will not change before the next safe door is opened). In this way, the user does not need to frequently take snapshots of the inside of the safe through remote commands, thus saving the power consumption of the safe.

[0087] Safe door opening snapshot upload scenario: After the safe door is opened, the camera is adjusted to the direction of the door opener, and a photo is taken and uploaded. The requirements for the door opening snapshot are similar to those for the door closing snapshot, except that the camera is pointed in a different direction: because the data required for the door closing snapshot is the information of the objects in the safe, the data required for the door opening snapshot is the information of the door opener.

[0088] In this embodiment, the camera inside the intelligent safe is a rotatable camera, which is used in conjunction with the internal lighting system to facilitate the user to remotely search for items inside the safe. At the same time, since the camera is rotatable, each time the safe door is closed or opened, the camera takes a picture of the inside of the safe to obtain a closing snapshot or takes a snapshot of the person opening the door to obtain an opening snapshot, which is saved and uploaded to the user terminal, such as a mobile phone APP. The image data of the snapshot is usually relatively large, greater than the preset data volume threshold, and is determined to be long data.

[0089] At this time, the safe controller is configured as follows: The safe controller is configured to monitor the state of the safe door. When the door changes from the open state to the closed state, or the door changes from the closed state to the open state and the user enables the opening snapshot upload function, or the door changes from the closed state to the open state and the door is abnormally opened, the snapshot upload mode is triggered.

[0090] In the snapshot upload mode: Control the camera to adjust the camera direction, take a picture of the inside of the safe to obtain a closing snapshot or take pictures of the person opening the cabinet door to obtain an opening snapshot, and request a link handover from the proxy device; and, after receiving the response information from the proxy device agreeing to the link handover, activate the Wi-Fi link between itself and the AP, and directly upload the closing snapshot or opening snapshot to the AP; and, after receiving the snapshot upload confirmation information from the AP, send a request signal to the proxy device to restore the low-power link connection. According to the response information from the proxy device agreeing to restore the low-power link connection, put itself into the sleep state. At this time, restore the connection state between the proxy device and the AP, and the proxy device replaces the safe to communicate with the AP.

[0091] In this embodiment, the opening snapshot upload function of the safe can be enabled or disabled by the user, so that the user can choose whether to use the opening snapshot upload function according to their needs. For example, some users may not want their image information to be uploaded when the safe is in normal use. At this time, they can choose to disable the opening snapshot upload function.

[0092] The abnormal opening of the cabinet door means that the cabinet door is not opened in a normal way such as by a key or password. At this time, it is necessary to upload the opening snapshot to obtain the abnormal opening information.

[0093] Specifically, in the case of the closing snapshot, first, the intelligent safe is in the open state. When the user closes the door, the camera inside the cabinet adjusts to an appropriate angle, turns on the lighting, takes pictures of different positions, and then sends a link handover request to the Agent. Initiating a link handover is to enable the intelligent safe to directly communicate with the AP using Wi-Fi. Because for long data, using Wi-Fi is more efficient and has a faster transmission speed, which makes the radio frequency switch time window of the safe shorter and is conducive to saving power.

[0094] For the specific process, see Figure 5 As shown. Initially, when the intelligent safe is in the open state, the proxy device Agent and the Wi-Fi access point AP are in a connected state, and the proxy device communicates with the AP on behalf of the safe.

[0095] After an external factor triggers a closing signal, the intelligent safe enters the closed state, adjusts the camera direction, takes a picture of the inside of the safe, and requests a link handover from the proxy device Agent.

[0096] The proxy device Agent receives the link handover request from the intelligent safe. When Agent agrees to the link handover, the Wi-Fi link between the intelligent safe Agent is proxying and the AP enters the connection sleep state, and Agent feeds back a response message agreeing to the link handover to the intelligent safe.

[0097] After the intelligent safe receives the aforementioned response message, it activates the Wi-Fi link between the intelligent safe and the AP, and the intelligent safe directly initiates communication to upload the snapshot to the AP. That is to say, when Agent agrees to the link handover, the Wi-Fi link between the intelligent safe Agent is proxying and the AP is in the sleep state, while the Wi-Fi link between the intelligent safe and the AP is in the active state, enabling the intelligent safe to directly initiate communication to upload the snapshot to the AP.

[0098] After the Wi-Fi access point AP receives the snapshot uploaded by the intelligent safe, it feeds back an upload confirmation message to the intelligent safe through the Wi-Fi link.

[0099] After the intelligent safe receives the aforementioned upload confirmation message, it sends a request signal to the proxy device Agent to restore the low-power link connection.

[0100] After the proxy device Agent receives the request from the intelligent safe to restore the low-power link connection, it feeds back a response message agreeing to restore the low-power link connection to the intelligent safe.

[0101] After the intelligent safe receives the aforementioned response message agreeing, it restores the connection state between the proxy device Agent and the Wi-Fi access point AP, the proxy device Agent communicates with the AP on behalf of the intelligent safe, and the intelligent safe enters the sleep state.

[0102] For the specific process of the opening snapshot, see Figure 6 As shown. Initially, when the intelligent safe is in the closed state, the proxy device Agent and the Wi-Fi access point AP are in a connected state.

[0103] After an external factor triggers an opening signal, the intelligent safe enters the opening state, adjusts the camera direction, captures the person opening the safe, and requests a link handover from the proxy device Agent.

[0104] The proxy device Agent receives the link handover request from the intelligent safe. When Agent agrees to the link handover, the Wi-Fi link between the intelligent safe Agent represents and the AP enters the connection sleep state, and Agent feeds back a response message agreeing to the link handover to the intelligent safe.

[0105] After receiving the aforementioned response message, the intelligent safe activates the Wi-Fi link between the intelligent safe and the AP, and the intelligent safe directly initiates communication to upload the snapshot to the AP and uploads the snapshot to the AP.

[0106] After the Wi-Fi access point AP receives the snapshot uploaded by the intelligent safe, it feeds back an upload confirmation message to the intelligent safe through the Wi-Fi link.

[0107] After receiving the aforementioned upload confirmation message, the intelligent safe sends a request signal to the proxy device Agent to restore the low-power link connection.

[0108] After the proxy device Agent receives the request to restore the low-power link connection from the intelligent safe, it feeds back a response message agreeing to restore the low-power link connection to the intelligent safe.

[0109] After receiving the aforementioned response message of agreement, the intelligent safe restores the connection state between the proxy device Agent and the Wi-Fi access point AP. The proxy device Agent communicates with the AP on behalf of the intelligent safe, and the intelligent safe enters the sleep state.

[0110] In this embodiment, a motion and vibration sensor Sensor can also be set inside the intelligent safe. When the sensor Sensor of the safe detects abnormal vibration, it can alarm the user terminal.

[0111] Because the amount of data for vibration alarm is usually small, less than the preset data volume threshold, a short data routing strategy is adopted, that is, there is no need for link handover, and the short data is directly uploaded to the AP through Agent by taking advantage of the opportunity of the low-power link handshake Handshake. In this way, power consumption can be saved.

[0112] At this time, the safe controller is configured to: monitor the motion information of the safe, and trigger the vibration alarm mode when it detects that the safe vibrates or the spatial orientation of the safe changes.

[0113] In the vibration alarm mode: Wake itself up into the wake state (before the vibration occurs, the safe is in the closed and sleeping state), calculate the next nearest handshake time anchor point, prepare the content of the alarm message, enter the sleeping state, and sleep until the aforementioned time anchor point; when the aforementioned time anchor point arrives, send the aforementioned alarm message to the proxy device; and, receive the response information of the proxy device confirming the receipt of the alarm message, and enter the sleeping state (that is, after confirming the successful upload, the safe enters the sleeping state again); during this process, the proxy device and the AP remain connected, and the proxy device communicates with the AP on behalf of the safe.

[0114] For the specific process of vibration alarm, please refer to Figure 7 as shown. Initially, the intelligent safe is in the sleeping state when the door is closed, and the proxy device Agent and the Wi-Fi access point AP are in the connected state.

[0115] When an external factor causes vibration, the intelligent safe wakes itself up into the wake state, calculates the next nearest handshake time anchor point, and prepares the content of the alarm message, enters the sleeping state, and sleeps until the aforementioned time anchor point; when the handshake time anchor point arrives, refer to Figure 8 as shown, and send the aforementioned alarm message to the proxy device Agent.

[0116] After receiving the alarm message from the intelligent safe, the proxy device Agent feeds back the response information confirming the receipt to the intelligent safe, and sends the received alarm message to the Wi-Fi access point AP.

[0117] After receiving the aforementioned response information confirming the receipt, the intelligent safe enters the sleeping state again.

[0118] During the above process, the proxy device Agent and the Wi-Fi access point AP remain connected, and the proxy device Agent communicates with the AP on behalf of the intelligent safe.

[0119] Furthermore, when the safe moves or vibrates beyond a certain standard, vibration snapshot upload can also be triggered: because when the safe undergoes physical displacement or vibration in the closed state, it may affect the arrangement of the items inside the cabinet or even cause damage, and in this case, the snapshot upload can be updated.

[0120] In response to the above situation, the safe controller is configured to: trigger the vibration snapshot mode when the vibration intensity of the safe reaches the preset intensity threshold and / or the change amount of the spatial orientation reaches the preset displacement threshold.

[0121] In the vibration snapshot mode: control the camera to adjust its direction, take an image inside the safe to obtain a vibration snapshot - for example, take a photo of a corner inside the safe preset by the user and save it, and request a link handover from the proxy device; and, after receiving the response information agreeing to the link handover from the proxy device, activate the Wi-Fi link between itself and the AP, and directly upload the vibration snapshot to the AP; and, after receiving the snapshot upload confirmation information from the AP, send a request signal to the proxy device to resume the low-power link connection, and enter the sleep state according to the response information fed back by the proxy device agreeing to resume the low-power link connection. At this time, restore the connection state between the proxy device and the AP, and let the proxy device communicate with the AP on behalf of the safe.

[0122] For the specific process of the vibration snapshot, see Figure 9 as shown. Initially, when the intelligent safe is closed, it is in the sleep state, and the proxy device Agent and the Wi-Fi access point AP are in the connected state.

[0123] When an external factor triggers the movement of the intelligent safe or causes the intelligent safe to vibrate strongly, after reaching the preset threshold, the intelligent safe enters the alarm state and then requests a link handover from the proxy device Agent.

[0124] The proxy device Agent receives the link handover request from the intelligent safe. When Agent agrees to the link handover, the Wi-Fi link between the intelligent safe Agent represents and the AP enters the connected sleep state, and feeds back the response information agreeing to the link handover to the intelligent safe.

[0125] After receiving the aforementioned response information, the intelligent safe activates the Wi-Fi link between the intelligent safe and the AP, and the intelligent safe directly initiates a communication to upload the snapshot to the AP, and uploads the vibration snapshot to the AP.

[0126] After receiving the snapshot uploaded by the intelligent safe, the Wi-Fi access point AP feeds back the upload confirmation information to the intelligent safe through the Wi-Fi link.

[0127] After receiving the aforementioned upload confirmation information, the intelligent safe sends a request signal to the proxy device Agent to resume the low-power link connection.

[0128] After receiving the request from the intelligent safe to resume the low-power link connection, the proxy device Agent feeds back the response information agreeing to resume the low-power link connection to the intelligent safe.

[0129] After receiving the aforementioned response information agreeing, the intelligent safe restores the connection state between the proxy device Agent and the Wi-Fi access point AP, and the proxy device Agent communicates with the AP on behalf of the intelligent safe, and at the same time the intelligent safe enters the sleep state.

[0130] It should be noted that the vibration snapshot upload is a special case of vibration alarm. The vibration alarm has a lower requirement for the energy level triggered by vibration and is more likely to be triggered, while the vibration snapshot is triggered when the vibration reaches a certain level.

[0131] For the data download scenario, it is mainly control commands from users, which are characterized by usually small data volume, less than the preset data volume threshold. As an example, for instance: checking the opening and closing status of the safe, whether there is an abnormal alarm, remote authorization to open, etc.; when a legitimate requester needs to open the safe, the user can also send a one-time opening password or authorization instruction through the mobile application to handle emergency situations conveniently and quickly.

[0132] Because control commands are usually short data, a short data routing strategy is adopted to save power consumption, as shown in Figure 10 shown. The source of data download is the user from the network, and the download command reaches the safe at the Handshake time of the proxy device Agent and the intelligent safe. According to different download commands, the safe can perform corresponding processing. If data needs to be returned, the safe can also perform different processing according to the length of the returned data packet.

[0133] In specific implementation, the safe controller is configured to: after receiving the control command sent at the time of the periodic handshake request from the proxy device, execute the foregoing command; when executing the command, according to the type of data to be replied according to its own needs, respectively trigger the long data reply mode or the short data reply mode.

[0134] In the long data reply mode, request link handover from the proxy device; and, after receiving the response information of the proxy device agreeing to the link handover, activate its own Wi-Fi link with the AP, directly upload the long data to the AP; and, after receiving the long data upload confirmation information from the AP, send a request signal to the proxy device to restore the low-power link connection, and enter the sleep state according to the response information of the proxy device agreeing to restore the low-power link connection; at this time, restore the connection state between the proxy device and the AP, and the proxy device Agent replaces the safe to communicate with the AP.

[0135] In the short data reply mode, wake itself up to the wake state, calculate the next nearest handshake time anchor point, enter the sleep state, and sleep until the foregoing time anchor point; when the foregoing time anchor point arrives, send a handshake request to the proxy device, and use the opportunity of the handshake to send short data to the proxy device; and, after receiving the response information of the proxy device confirming the receipt of the short data, enter the sleep state; during this process, the proxy device and the AP maintain the connection state, and the proxy device replaces the safe to communicate with the AP.

[0136] For the specific process of command download, seeFigure 11 As shown. Initially, the intelligent safe is in the sleep state. The proxy device Agent and the Wi-Fi access point AP are in a connected state. The proxy device Agent communicates with the AP on behalf of the intelligent safe. Communication between the intelligent safe and the proxy device Agent is through handshake communication over a low-power link.

[0137] The user terminal issues a command to the Wi-Fi access point AP.

[0138] The Wi-Fi access point AP receives the command issued by the user terminal and sends the command to the proxy device Agent.

[0139] The proxy device Agent receives the command sent by the Wi-Fi access point AP and waits for the handshake time anchor point of the intelligent safe.

[0140] The intelligent safe enters the wake-up state. After calculating the next nearest handshake time anchor point, it enters the sleep state and sleeps until the aforementioned time anchor point. When the handshake time anchor point arrives, it sends a handshake request to the proxy device Agent.

[0141] The proxy device Agent receives the handshake request sent by the intelligent safe and issues the aforementioned command to the intelligent safe based on the timing of this handshake request.

[0142] After receiving the command sent by the proxy device Agent, the intelligent safe executes the aforementioned command.

[0143] According to the different issued commands, the intelligent safe makes different treatments.

[0144] The first treatment is the case where the safe needs to reply with long data. At this time, the intelligent safe needs to first request link handover from the proxy device Agent.

[0145] After receiving the link handover request from the intelligent safe, when the Agent agrees to the link handover, the Wi-Fi link between the intelligent safe proxyed by the Agent and the AP enters the connected sleep state, and the Agent feeds back a response message agreeing to the link handover to the intelligent safe.

[0146] After receiving the aforementioned agreed response message, the intelligent safe activates the Wi-Fi link between the intelligent safe and the AP, and the intelligent safe directly uploads long data to the AP.

[0147] After receiving the long data uploaded by the intelligent safe, the Wi-Fi access point AP feeds back long data confirmation information to the intelligent safe through the Wi-Fi link; and sends the received long data to the user terminal.

[0148] After receiving the aforementioned long data confirmation information, the intelligent safe sends a request signal to the proxy device Agent to restore the low-power link connection.

[0149] After receiving the request from the intelligent safe to restore the low-power link connection, the proxy device Agent sends a response message agreeing to restore the low-power link connection to the intelligent safe.

[0150] After receiving the aforementioned response message of agreement, the intelligent safe restores the connection state between the proxy device Agent and the Wi-Fi access point AP. The proxy device Agent communicates with the AP on behalf of the intelligent safe, and the intelligent safe enters the sleep state.

[0151] The second process is the case where the safe needs to reply with short data. At this time, after the intelligent safe enters the wake-up state, calculates the next nearest handshake time anchor point, and then enters the sleep state, sleeping until the aforementioned time anchor point; when the time anchor point of the handshake arrives, it sends a handshake request to the proxy device Agent and sends short data to the proxy device Agent through the timing of the handshake.

[0152] After receiving the short data from the intelligent safe, the proxy device Agent sends a confirmation message of receiving the short data to the intelligent safe and uploads the received short data to the Wi-Fi access point AP.

[0153] After receiving the short data uploaded by the proxy device Agent, the Wi-Fi access point AP sends the short data to the user side.

[0154] After receiving the aforementioned confirmation information of the short data, the intelligent safe enters the sleep state again.

[0155] In the above process, the proxy device Agent and the Wi-Fi access point AP maintain the connection state, and the proxy device Agent communicates with the AP on behalf of the intelligent safe.

[0156] Another embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the aforementioned method.

[0157] The storage medium may include various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs.

[0158] For other technical features, refer to the description of the previous embodiments and will not be elaborated here.

[0159] In the foregoing description, the disclosure of the present invention is not intended to limit itself to these aspects. Rather, within the scope of the object of this disclosure, the various components may be selectively and operatively combined in any number. Additionally, terms such as "including", "comprising", and "having" shall be construed as inclusive or open-ended by default, rather than exclusive or closed, unless expressly defined to the contrary. All technical, scientific, or other such terms shall conform to the meaning understood by those skilled in the art, unless defined to the contrary. Common terms found in dictionaries shall not be construed too idealistically or too unrealistically in the context of the relevant technical documents, unless the present disclosure expressly so defines them. Any changes or modifications made by a person of ordinary skill in the art to the present invention based on the foregoing disclosure shall fall within the scope of protection of the claims.

Claims

1. A data transmission method for low-power Internet of Things devices, characterized in that: Collecting data transmission requirements of IoT devices, including data sending requirements or data receiving requirements; wherein, when there is no data transmission, the proxy device replaces the IoT device to communicate with the Wi-Fi access point AP, and the IoT device is in a dormant state. In the dormant state, the IoT device and the proxy device are connected through a low-power link. At this time, the IoT device maintains the low-power link with the proxy device through periodic handshakes; when there is data to be sent, the IoT device can wake itself up; Different routing strategies are implemented according to the data type of the data to be transmitted, including long data routing strategy and short data routing strategy. Under the long data routing strategy, the communication link between the IoT device, the proxy device and the AP is adjusted so that the IoT device directly communicates with the AP through the Wi-Fi link to transmit long data, and the Wi-Fi link between the aforementioned IoT device and the AP represented by the proxy device enters a connection dormant state. Under the short data routing strategy, no link adjustment is performed, and short data is transmitted by utilizing the periodic handshake of the aforementioned low-power link.

2. The data transmission method according to claim 1, characterized in that: In the scenario where the IoT device sends long data, the link adjustment steps are as follows: The IoT device sends a link handover request to the proxy device; The proxy device receives the link handover request from the IoT device, and after agreeing to the link handover, puts the Wi-Fi link between the aforementioned IoT device and the AP that it represents into a connection dormant state, and feeds back a response message of agreeing to the link handover to the IoT device; After receiving the above response information, the IoT device activates its Wi-Fi link with the AP, directly initiates communication to upload long data to the AP, and uploads the long data to the AP; After receiving the long data uploaded by the IoT device, the AP feeds back the upload confirmation information to the IoT device through the Wi-Fi link; After receiving the aforementioned upload confirmation information, the IoT device sends a request signal to the proxy device to restore the low-power link connection; After receiving the request from the IoT device to restore the low-power link connection, the proxy device feeds back a response message of agreeing to restore the low-power link connection to the IoT device; After receiving the aforementioned response information agreeing to restore the low-power link connection, the IoT device puts itself into a dormant state. At this time, the connection state between the proxy device and the AP is restored, and the proxy device communicates with the AP instead of the IoT device.

3. The data transmission method according to claim 1, characterized in that: In the scenario where IoT devices send short data, the steps for sending short data using periodic handshake are as follows: The IoT device enters the awake state, calculates the next nearest handshake time anchor point, enters the sleep state, and sleeps until the aforementioned time anchor point; when the aforementioned time anchor point arrives, the IoT device sends a handshake request to the proxy device, and uses the handshake opportunity to send short data to the proxy device; After receiving the short data from the IoT device, the proxy device feeds back a response message confirming the receipt of the short data to the IoT device, and uploads the received short data to the AP; The IoT device receives the aforementioned response information confirming receipt and enters a dormant state. During the above process, the proxy device and the AP remain connected, and the proxy device communicates with the AP instead of the IoT device.

4. The data transmission method according to claim 1, characterized in that: In the scenario where an IoT device receives short data, the steps for receiving short data using periodic handshake are as follows: The proxy device receives the short data sent by the AP and waits for the handshake time anchor point of the IoT device; The IoT device enters the awake state, calculates the next most recent handshake time anchor point, enters the sleep state, and sleeps until the aforementioned time anchor point; When the aforementioned time anchor point arrives, the IoT device sends a handshake request to the proxy device; The proxy device receives the handshake request sent by the IoT device, and sends the aforementioned short data from the AP to the IoT device when shaking hands with the IoT device; After receiving the short data sent by the proxy device, the IoT device performs relevant processing and then enters a sleep state.

5. The data transmission method according to claim 1, characterized in that: The AP is configured to: upload the received long data or short data to a user terminal in the Internet via a Wi-Fi link; and, Obtain a short data command for an IoT device sent by a user terminal in the Internet, and send the received command to the proxy device through a Wi-Fi link between the aforementioned IoT device and the AP represented by the proxy device.

6. A communication system for low-power IoT devices, characterized in that: It includes a Wi-Fi access point AP, an IoT device supporting low power consumption, and a proxy device, wherein the AP is used to access the Internet, the IoT device is sensitive to power consumption, and the proxy device is insensitive to power consumption; When there is no data transmission, the proxy device replaces the IoT device to communicate with the Wi-Fi access point AP, and the IoT device is in a dormant state. In the dormant state, the IoT device and the proxy device are connected through a low-power link. At this time, the IoT device maintains the low-power link with the proxy device through periodic handshakes; when there is data to be sent, the IoT device can wake itself up; When data needs to be transmitted, different routing strategies are executed according to the data type of the data to be transmitted; the routing strategies include long data routing strategies and short data routing strategies; Under the long data routing strategy, the communication links between the IoT device, the proxy device and the AP are adjusted so that the IoT device directly communicates with the AP through the Wi-Fi link to transmit long data, and the Wi-Fi link between the aforementioned IoT device and the AP represented by the proxy device enters a connection dormant state; Under the short data routing strategy, no link adjustment is performed, and the short data is transmitted using the periodic handshake opportunity of the aforementioned low-power link.

7. A low-power smart safe, characterized in that: It includes a safe controller, a lighting unit and a camera unit are arranged in the safe, and the lighting unit and the camera unit are connected to the safe controller and receive control of the safe controller; The safe controller is configured to: enter a dormant state when there is no data transmission, and the proxy device communicates with the Wi-Fi access point AP on its behalf. In the dormant state, the safe and the proxy device are connected via a low-power link, and the safe maintains the low-power link with the proxy device through periodic handshakes; and, Wake yourself up when there is data to send; And, different routing strategies are executed according to the data type of the data to be transmitted; the routing strategies include long data routing strategies and short data routing strategies; under the long data routing strategy, the communication link between the safe, the proxy device and the AP is adjusted, so that the safe directly communicates with the AP through the Wi-Fi link to transmit long data, and the Wi-Fi link between the safe and the AP represented by the proxy device enters a connection dormant state; under the short data routing strategy, no link adjustment is performed, and short data is transmitted by utilizing the periodic handshake opportunity of the low-power link.

8. The low-power smart safe according to claim 7, characterized in that: The safe controller is configured to: monitor the state of the door of the safe, and trigger the snapshot upload mode when the door changes from an open state to a closed state, or when the door changes from a closed state to an open state and the user turns on the door opening snapshot upload function, or when the door changes from a closed state to an open state and the door is abnormally opened; In snapshot upload mode: controlling the camera action to adjust the camera direction, taking a picture of the inside of the safe to obtain a closed door snapshot or taking a picture of the person who opens the door to obtain an open door snapshot, and requesting a link handover from the proxy device; and, After receiving the response information of link handover consent from the proxy device, it activates the Wi-Fi link between itself and the AP and directly uploads the door closing snapshot or door opening snapshot to the AP; as well as, After receiving the snapshot upload confirmation information fed back by the AP, a request signal for restoring the low-power link connection is sent to the proxy device. Based on the response information fed back by the proxy device agreeing to restore the low-power link connection, the proxy device enters a dormant state. At this time, the connection status between the proxy device and the AP is restored, and the proxy device communicates with the AP instead of the safe.

9. The low-power smart safe according to claim 7, characterized in that: The safe controller is configured to: monitor the movement information of the safe, and trigger a vibration alarm mode when it is detected that the safe is vibrating or the spatial orientation of the safe is changing; In the vibration alarm mode: wake up itself to enter the awake state, calculate the next nearest handshake time anchor point, prepare the alarm message content, enter the sleep state, and sleep until the aforementioned time anchor point; when the aforementioned time anchor point arrives, send the aforementioned alarm message to the proxy device; and, The receiving agent device receives the alarm message fed back, confirms the received response information, and enters the dormant state; during this process, the agent device and the AP remain connected, and the agent device communicates with the AP instead of the safe.

10. The low-power intelligent safe according to claim 9, characterized in that: The safe controller is configured to: trigger a vibration snapshot mode when the vibration intensity of the safe reaches a preset intensity threshold and / or the change in spatial orientation reaches a preset displacement threshold; In the vibration snapshot mode: control the camera action to adjust the camera direction, take images inside the safe to obtain vibration snapshots, and request link handover from the proxy device; as well as, After receiving the response information of link handover consent from the proxy device, it activates the Wi-Fi link between itself and the AP and directly uploads the vibration snapshot to the AP; as well as, After receiving the snapshot upload confirmation information fed back by the AP, a request signal for restoring the low-power link connection is sent to the proxy device. Based on the response information fed back by the proxy device agreeing to restore the low-power link connection, the proxy device enters a dormant state. At this time, the connection status between the proxy device and the AP is restored, and the proxy device communicates with the AP instead of the safe.

11. The low-power smart safe according to claim 7, characterized in that: The safe controller is configured to: execute the aforementioned command after receiving the control command sent by the proxy device through the opportunity of periodic handshake request; when executing the command, trigger the long data reply mode or the short data reply mode according to the type of data that needs to be replied; In the long data reply mode, the proxy device is requested to hand over the link; and after receiving the response information of the proxy device agreeing to the link handover, the Wi-Fi link between itself and the AP is activated to directly upload the long data to the AP; And, after receiving the long data upload confirmation information fed back by the AP, a request signal for restoring the low-power link connection is sent to the proxy device, and according to the response information of agreeing to restore the low-power link connection fed back by the proxy device, the proxy device enters the dormant state; at this time, the connection state between the proxy device and the AP is restored, and the proxy device communicates with the AP instead of the safe; In the short data reply mode, wake up the system and enter the awake state, calculate the next nearest handshake time anchor point, enter the sleep state, and sleep until the aforementioned time anchor point; When the aforementioned time anchor point arrives, a handshake request is sent to the proxy device, and short data is sent to the proxy device during the handshake; And, receiving a response message of a short data confirmation received fed back by the proxy device, and entering a dormant state; During this process, the proxy device and the AP remain connected, and the proxy device communicates with the AP instead of the safe.

Citation Information

Patent Citations

  • Low-power IoT Implementation Method Based on Agent Devices

    CN104968037B

  • WiFi low-power-consumption communication system and method based on proxy device

    CN117880945A

  • Implementation method and application of low-power-consumption data link layer protocol

    CN117896809A