[go: up one dir, main page]

CN111935803A - Equipment awakening method and device based on ZigBee communication protocol - Google Patents

Equipment awakening method and device based on ZigBee communication protocol Download PDF

Info

Publication number
CN111935803A
CN111935803A CN202010666276.9A CN202010666276A CN111935803A CN 111935803 A CN111935803 A CN 111935803A CN 202010666276 A CN202010666276 A CN 202010666276A CN 111935803 A CN111935803 A CN 111935803A
Authority
CN
China
Prior art keywords
information
wake
time period
preset time
receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010666276.9A
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.)
Beijing Ziroom Information Technology Co Ltd
Original Assignee
Beijing Ziroom Information 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 Beijing Ziroom Information Technology Co Ltd filed Critical Beijing Ziroom Information Technology Co Ltd
Priority to CN202010666276.9A priority Critical patent/CN111935803A/en
Publication of CN111935803A publication Critical patent/CN111935803A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is leader and terminal is follower
    • H04W52/0216Power saving arrangements in terminal devices managed by the network, e.g. network or access point is leader and terminal is follower using a pre-established activity schedule, e.g. traffic indication frame
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/28Discontinuous transmission [DTX]; Discontinuous reception [DRX]
    • 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种基于ZigBee通信协议的设备唤醒方法及装置,其中,该方法包括:当接收设备处于休眠状态时,不发送监听信息,直至累计达到第一预设时间段时,切换至接收状态;当接收设备处于接收状态时,广播监听信息,以监测中心设备是否发送唤醒信息;当在第二预设时间段内监测中心设备未发送唤醒信息时,切换至休眠状态;当在第二预设时间段内监测到中心设备发送唤醒信息时,保持处于接收状态,接收中心设备发送的有效数据信息。通过实施本发明,解决了现有技术中存在的不断地向外部设备发送数据包,会使电量消耗较大的问题,每隔预设时间段发送监听信息,降低了接收设备的能量消耗,提高了电池的使用寿命。

Figure 202010666276

The invention discloses a device wake-up method and device based on the ZigBee communication protocol, wherein the method includes: when the receiving device is in a dormant state, not sending monitoring information, until the accumulation reaches a first preset time period, switching to receiving state; when the receiving device is in the receiving state, broadcast monitoring information to monitor whether the central device sends wake-up information; when the monitoring center device does not send wake-up information within the second preset time period, switch to the dormant state; When it is detected that the central device sends wake-up information within a preset time period, it remains in the receiving state and receives valid data information sent by the central device. By implementing the present invention, the problem of continuously sending data packets to external devices in the prior art and causing large power consumption is solved, and monitoring information is sent every preset time period, thereby reducing the energy consumption of the receiving device and increasing the power consumption. battery life.

Figure 202010666276

Description

一种基于ZigBee通信协议的设备唤醒方法及装置A device wake-up method and device based on ZigBee communication protocol

技术领域technical field

本发明涉及无线通信领域,具体涉及一种基于ZigBee通信协议的设备唤醒方法及装置。The invention relates to the field of wireless communication, in particular to a device wake-up method and device based on the ZigBee communication protocol.

背景技术Background technique

随着科学技术的飞速发展,物联网已经渗透于人们生活的方方面面,在物联网的具体应用场景中,人们大多是利用无线通信来实现的万物互联,其中,ZigBee通信就是一种很重要的无线通信方式。ZigBee通信大多应用于低功耗设备中,在低功耗设备被动接收数据的具体应用场景中,现有的应用方式是,低功耗设备不停地向外部设备(例如,协调器)发送数据信息,从而实现数据同步。但是不断地向外部设备发送数据包,会使电量消耗较大。With the rapid development of science and technology, the Internet of Things has penetrated into all aspects of people's lives. In the specific application scenarios of the Internet of Things, people mostly use wireless communication to realize the interconnection of all things. Among them, ZigBee communication is a very important wireless communication. way of communication. ZigBee communication is mostly used in low-power devices. In the specific application scenario where low-power devices passively receive data, the existing application method is that low-power devices continuously send data to external devices (for example, a coordinator). information to achieve data synchronization. However, continuously sending data packets to external devices will consume a lot of power.

发明内容SUMMARY OF THE INVENTION

因此,本发明要解决的技术问题在于克服现有技术中的存在的电量消耗较大的缺陷,从而提供一种基于ZigBee通信协议的设备唤醒方法。Therefore, the technical problem to be solved by the present invention is to overcome the defect of large power consumption in the prior art, so as to provide a device wake-up method based on the ZigBee communication protocol.

根据第一方面,本发明实施例提供了一种基于ZigBee通信协议的设备唤醒方法,包括:当处于休眠状态时,不发送监听信息,直至累计达到第一预设时间段,切换至接收状态;当处于接收状态时,广播监听信息,以监测中心设备是否发送唤醒信息;当在第二预设时间段内监测所述中心设备未发送所述唤醒信息时,切换至所述休眠状态;当在第二预设时间段内监测到所述中心设备发送所述唤醒信息时,保持处于接收状态,接收所述中心设备发送的有效数据信息。According to the first aspect, an embodiment of the present invention provides a device wake-up method based on the ZigBee communication protocol, including: when in a dormant state, not sending monitoring information, until the accumulated time reaches a first preset time period, and switching to a receiving state; When in the receiving state, broadcast monitoring information to monitor whether the central device sends wake-up information; when monitoring that the central device does not send the wake-up information within the second preset time period, switch to the sleep state; When the central device is monitored to send the wake-up information within the second preset time period, the device remains in the receiving state and receives valid data information sent by the central device.

结合第一方面,在第一方面第一实施方式中,所述当在第二预设时间段内监测到所述中心设备发送所述唤醒信息时,保持处于接收状态,接收所述中心设备发送的有效数据信息,具体包括:当在第二预设时间段内监测到所述中心设备发送所述唤醒信息时,根据所述唤醒信息,判断所述唤醒信息能否通过校验;当所述唤醒信息通过校验时,保持处于接收状态,接收所述中心设备发送的有效数据信息。With reference to the first aspect, in the first implementation manner of the first aspect, when the central device is monitored to send the wake-up information within a second preset time period, it remains in the receiving state, and receives the data sent by the central device. The valid data information includes: when monitoring the central device to send the wake-up information within the second preset time period, judging whether the wake-up information can pass the verification according to the wake-up information; When the wake-up information passes the verification, it remains in the receiving state and receives valid data information sent by the central device.

结合第一方面第一实施方式,在第一方面第二实施方式中,所述根据所述唤醒信息,判断所述唤醒信息能否通过校验,具体包括:提取所述唤醒信息中的第一设备地址信息;当所述第一设备地址信息与预设地址信息相同时,确定所述唤醒信息通过校验。With reference to the first embodiment of the first aspect, in the second embodiment of the first aspect, determining whether the wake-up information can pass the verification according to the wake-up information specifically includes: extracting the first part of the wake-up information. Device address information; when the first device address information is the same as the preset address information, it is determined that the wake-up information passes the verification.

结合第一方面第一实施方式,在第一方面第三实施方式中,该方法还包括:当所述第一设备地址信息与预设地址信息不同时,确定所述唤醒信息不通过校验,切换至休眠状态。With reference to the first embodiment of the first aspect, in the third embodiment of the first aspect, the method further includes: when the first device address information is different from the preset address information, determining that the wake-up information does not pass the verification, Switch to sleep state.

结合第一方面,在第一方面第四实施方式中,所述第一预设时间段大于所述第二预设时间段。With reference to the first aspect, in a fourth implementation manner of the first aspect, the first preset time period is greater than the second preset time period.

结合第一方面,在第一方面第五实施方式中,所述中心设备发送所述唤醒信息的时间段大于所述第一预设时间段与所述第二预设时间段的和。With reference to the first aspect, in a fifth implementation manner of the first aspect, the time period during which the central device sends the wake-up information is greater than the sum of the first preset time period and the second preset time period.

根据第二方面,本发明实施例提供了一种基于ZigBee通信协议的设备唤醒装置,包括:第一切换模块,用于当处于休眠状态时,不发送监听信息,直至累计达到第一预设时间段,切换至接收状态;第二切换模块,用于当处于接收状态时,广播监听信息,以监测中心设备是否发送唤醒信息;当在第二预设时间段内监测所述中心设备未发送所述唤醒信息时,切换至所述休眠状态;有效数据信息接收模块,用于当在第二预设时间段内监测到所述中心设备发送所述唤醒信息时,保持处于接收状态,接收所述中心设备发送的有效数据信息。According to a second aspect, an embodiment of the present invention provides a device wake-up device based on the ZigBee communication protocol, including: a first switching module, configured to not send monitoring information when in a dormant state until the accumulated time reaches a first preset time The second switching module is used to broadcast monitoring information when it is in the receiving state to monitor whether the central equipment sends wake-up information; when monitoring the central equipment within the second preset time period, the central equipment does not send any When the wake-up information is sent, switch to the sleep state; the valid data information receiving module is configured to keep in the receiving state when monitoring that the central device sends the wake-up information within the second preset time period, and receive the Valid data information sent by the central device.

结合第二方面,在第二方面第一实施方式中,所述有效数据信息接收模块,具体包括:判断单元,用于当在第二预设时间段内监测到所述中心设备发送所述唤醒信息时,根据所述唤醒信息,判断所述唤醒信息能否通过校验;信息接收单元,用于当所述唤醒信息通过校验时,保持处于接收状态,接收所述中心设备发送的有效数据信息。With reference to the second aspect, in the first embodiment of the second aspect, the valid data information receiving module specifically includes: a judgment unit, configured to send the wake-up message when the central device is monitored within a second preset time period When the wake-up information passes the verification, determine whether the wake-up information can pass the verification; the information receiving unit is used to keep in the receiving state when the wake-up information passes the verification, and receive the valid data sent by the central device. information.

根据第三方面,本发明实施例提供了一种基于ZigBee通信协议的设备唤醒系统,包括:接收设备,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行如第一方面或第一方面任一实施方式所述的基于ZigBee通信协议的设备唤醒方法的步骤;中心设备,用于发送唤醒信息以及有效数据信息。According to a third aspect, an embodiment of the present invention provides a device wake-up system based on a ZigBee communication protocol, including: a receiving device, including: at least one processor; and a memory communicatively connected to the at least one processor; the memory stores instructions executable by the one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform as described in the first aspect or any embodiment of the first aspect The steps of the device wake-up method based on the ZigBee communication protocol; the central device is used for sending wake-up information and valid data information.

根据第四方面,本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面或第一方面任一实施方式所述的基于ZigBee通信协议的设备唤醒方法的步骤。According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the implementation of the first aspect or any implementation manner of the first aspect is realized. The steps of the device wake-up method based on the ZigBee communication protocol.

本发明技术方案,具有如下优点:The technical scheme of the present invention has the following advantages:

1.本发明提供的一种基于ZigBee通信协议的设备唤醒方法及装置,其中,该方法包括:当接收设备处于休眠状态时,不发送监听信息,直至累计达到第一预设时间段时,切换至接收状态;当接收设备处于接收状态时,广播监听信息,以监测中心设备是否发送唤醒信息;当在第二预设时间段内监测中心设备未发送唤醒信息时,切换至休眠状态;当在第二预设时间段内监测到中心设备发送唤醒信息时,保持处于接收状态,接收中心设备发送的有效数据信息。通过实施本发明,解决了现有技术中存在的不断地向外部设备发送数据包,会使电量消耗较大的问题,每隔预设时间段发送监听信息,降低了接收设备的能量消耗,提高了电池的使用寿命。1. A device wake-up method and device based on the ZigBee communication protocol provided by the present invention, wherein the method includes: when the receiving device is in a dormant state, do not send monitoring information, until the accumulation reaches the first preset time period, switching. to the receiving state; when the receiving device is in the receiving state, broadcast monitoring information to monitor whether the central device sends wake-up information; when the monitoring central device does not send wake-up information within the second preset time period, switch to the dormant state; When monitoring that the central device sends the wake-up information within the second preset time period, it remains in the receiving state and receives valid data information sent by the central device. By implementing the present invention, the problem of continuously sending data packets to external devices in the prior art, which will consume a large amount of electricity, is solved, and monitoring information is sent every preset time period, thereby reducing the energy consumption of the receiving device and increasing the power consumption. battery life.

2.本发明提供的一种基于ZigBee通信协议的设备唤醒方法,结合唤醒信息中的第一设备地址信息以及预设地址信息的比较,保证了中心设备只会唤醒指定设备,而不会对其他接收设备造成影响,从而保证了有效数据传输的安全性,也进一步地降低了能量的消耗。2. A device wake-up method based on the ZigBee communication protocol provided by the present invention, combined with the comparison of the first device address information and the preset address information in the wake-up information, ensures that the central device will only wake up the designated device, and will not wake up other devices. The receiving device has an impact, thereby ensuring the security of effective data transmission and further reducing energy consumption.

3.本发明提供的一种基于ZigBee通信协议的设备唤醒方法,结合接收设备在休眠状态以及接收状态间来回切换,而处于休眠状态的时间大于处于接收状态的时间,降低了对射频环境造成的污染,不会影响在相同频段内的其他射频设备的正常收发数据信息。3. A device wake-up method based on the ZigBee communication protocol provided by the present invention switches back and forth between the dormant state and the receiving state in combination with the receiving device, and the time in the dormant state is longer than the time in the receiving state, reducing the impact on the radio frequency environment. Pollution will not affect the normal sending and receiving of data information of other radio frequency devices in the same frequency band.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required in the description of the specific embodiments or the prior art. Obviously, the accompanying drawings in the following description The drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative efforts.

图1为本发明实施例中基于ZigBee通信协议的设备唤醒方法的一个具体示例的流程图;1 is a flowchart of a specific example of a device wake-up method based on the ZigBee communication protocol in an embodiment of the present invention;

图2为本发明实施例中基于ZigBee通信协议的设备唤醒方法的时序图;2 is a sequence diagram of a device wake-up method based on the ZigBee communication protocol in an embodiment of the present invention;

图3为本发明实施例中基于ZigBee通信协议的设备唤醒装置的一个具体示例的原理框图;3 is a schematic block diagram of a specific example of a device wake-up device based on the ZigBee communication protocol in an embodiment of the present invention;

图4为本发明实施例中一种基于ZigBee通信协议的设备唤醒系统的结构框图;4 is a structural block diagram of a device wake-up system based on the ZigBee communication protocol in an embodiment of the present invention;

图5为本发明实施例中一种基于ZigBee通信协议的设备唤醒系统中接收设备的结构框图。FIG. 5 is a structural block diagram of a receiving device in a device wake-up system based on a ZigBee communication protocol according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合附图对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

在本发明的描述中,需要说明的是,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。In the description of the present invention, it should be noted that the terms "first", "second" and "third" are only used for description purposes, and cannot be understood as indicating or implying relative importance.

在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense, unless otherwise expressly specified and limited, for example, it may be a fixed connection or a detachable connection connection, or integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal connection of two components, which can be a wireless connection or a wired connection connect. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood in specific situations.

此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

在现有的相关技术中,接收设备需要每隔预设周期向智能网关发送询问数据,用以主动询问是否有需要下发给当前接收设备的应用数据。由于接收设备向外发送询问数据是比较耗电的,所以一般会把发送询问数据的间隔时间调的较长,造成响应时效差,为了解决此问提,也为了使接收设备在相同电量的情况下,可以监听更长时间,本发明实施例提供了一种基于ZigBee通信协议的设备唤醒方法、装置及系统。In the existing related art, the receiving device needs to send inquiry data to the intelligent gateway every preset period, so as to actively inquire whether there is application data that needs to be delivered to the current receiving device. Since it is relatively power-hungry for the receiving device to send query data to the outside world, the interval for sending the query data is generally adjusted to be longer, resulting in poor response time. In this case, the monitoring can be carried out for a longer time, and the embodiments of the present invention provide a device wake-up method, device and system based on the ZigBee communication protocol.

如图1及图2所示,本发明实施例的基于ZigBee通信协议的设备唤醒方法,包括:As shown in FIG. 1 and FIG. 2 , the device wake-up method based on the ZigBee communication protocol according to the embodiment of the present invention includes:

步骤S11:当处于休眠状态时,不发送监听信息,直至累计达到第一预设时间段,切换至接收状态;在本实施例中,所述的方法应用于接收设备100中,在实际应用中,接收设备可以是基于ZigBee通信协议进行数据传输的通信设备,例如,智能门锁、单火开关、温度传感器等。接收设备100在休眠状态及接收状态中来回切换。接收设备100的接收状态的持续时间长度为T1,休眠状态的持续时间长度为T2,也就是,第一预设时间段为T2,第二预设时间段为T1。休眠状态实际上是不会向外部设备发送监听信息的状态,此时,接收设备100消耗的电量很低。监听信息用于监测外部设备(例如,中心设备200)有无发送唤醒信息,中心设备在实际应用场景中即为发送有效数据的设备,例如,智能网关设备。Step S11: When in the dormant state, do not send monitoring information until the accumulated first preset time period is reached, and switch to the receiving state; in this embodiment, the method described is applied to the receiving device 100, and in practical applications , the receiving device may be a communication device that performs data transmission based on the ZigBee communication protocol, for example, a smart door lock, a single fire switch, a temperature sensor, and the like. The receiving device 100 switches back and forth between the sleep state and the receiving state. The duration of the receiving state of the receiving device 100 is T1, and the duration of the sleep state is T2, that is, the first preset time period is T2, and the second preset time period is T1. The sleep state is actually a state in which monitoring information is not sent to an external device. At this time, the power consumption of the receiving device 100 is very low. The monitoring information is used to monitor whether an external device (eg, the central device 200 ) sends wake-up information. In an actual application scenario, the central device is a device that sends valid data, such as an intelligent gateway device.

示例性地,当接收设备100处于休眠状态时,此时,不会向外部设备广播监听信息,也就是不会监听外部设备有无发送唤醒信息,接收设备100此时的功耗较低,节省能量,休眠状态的持续时间为T2。Exemplarily, when the receiving device 100 is in a dormant state, at this time, the monitoring information will not be broadcast to the external device, that is, it will not monitor whether the external device sends wake-up information. The power consumption of the receiving device 100 at this time is low, saving energy. energy, the duration of the sleep state is T2.

步骤S12:当处于接收状态时,广播监听信息,以监测中心设备200是否发送唤醒信息;当在第二预设时间段内监测中心设备200未发送唤醒信息时,切换至休眠状态;在本实施例中,接收状态是接收设备100可以向外部广播监听信息,以监测外部设备是否发送唤醒信息的状态;唤醒信息是中心设备200发送的,用于唤醒某一接收设备的信息。具体地,接收设备100在休眠状态及接收状态间来回切换的状态,可以称之为周期性唤醒状态。Step S12: when in the receiving state, broadcast monitoring information to monitor whether the central device 200 sends wake-up information; when the monitoring central device 200 does not send the wake-up information within the second preset time period, switch to the dormant state; in this implementation For example, the receiving state is a state in which the receiving device 100 can broadcast monitoring information to the outside to monitor whether the external device sends wake-up information; the wake-up information is the information sent by the central device 200 to wake up a certain receiving device. Specifically, the state in which the receiving device 100 switches back and forth between the sleep state and the receiving state may be referred to as a periodic wake-up state.

步骤S13:当在第二预设时间段内监测到中心设备200发送唤醒信息时,保持处于接收状态,接收中心设备200发送的有效数据信息。在本实施例中,在第二预设时间段内,也就是在T1时间段内,接收设备100始终处于接收状态,此时,如果接收设备100在处于接收状态时,所广播的监听信息监测到中心设备200有发送唤醒信息,此时,接收设备100会继续保持处于接收状态不变,具体地,接收设备100可以向中心设备200发送反馈信息,所述反馈信息用于通知中心设备200可以向接收设备100传输有效数据信息。Step S13 : when the center device 200 is monitored to send the wake-up information within the second preset time period, keep in the receiving state, and receive the valid data information sent by the center device 200 . In this embodiment, in the second preset time period, that is, in the T1 time period, the receiving device 100 is always in the receiving state. At this time, if the receiving device 100 is in the receiving state, the broadcast monitoring information is monitored. When the wake-up information is sent to the central device 200, the receiving device 100 will continue to remain in the receiving state. Specifically, the receiving device 100 can send feedback information to the central device 200, and the feedback information Valid data information is transmitted to the receiving device 100 .

示例性地,接收设备100在接收到中心设备200发送的有效数据信息后,也就是在接收到中心设备200发送的应用数据后,重新切换回休眠状态,也就是切换回周期唤醒状态,继续在T1时间长度的接收状态与T2时间长度的休眠状态之间来回交替。Exemplarily, after receiving the valid data information sent by the central device 200, that is, after receiving the application data sent by the central device 200, the receiving device 100 switches back to the sleep state, that is, switches back to the periodic wake-up state, and continues to Alternate back and forth between a receive state for a duration of T1 and a sleep state for a duration of T2.

示例性地,中心设备200在接收到接收设备100发送的反馈信息后,开始向接收设备100发送有效数据信息,中心设备200发送有效数据信息的时间长度可以是T4,也就是说,在接收设备100被中心设备200所发送的唤醒信息唤醒后,会始终处于接收状态并开始接收中心设备200所发送的有效数据信息,当接收设备100接收有效数据信息的时间长度大于T4时,接收设备100重新恢复至周期唤醒状态。即被唤醒设备接收到应用数据后,通过超时机制重新进入周期唤醒状态下。Exemplarily, after receiving the feedback information sent by the receiving device 100, the central device 200 starts to send valid data information to the receiving device 100, and the time length for the central device 200 to send the valid data information may be T4, that is, after the receiving device 100 After the 100 is awakened by the wake-up information sent by the central device 200, it will always be in the receiving state and start to receive the valid data information sent by the central device 200. Return to periodic wake-up state. That is, after the wake-up device receives the application data, it re-enters the periodic wake-up state through the timeout mechanism.

本发明实施例提供的一种基于ZigBee通信协议的设备唤醒方法,包括:当接收设备100处于休眠状态时,不发送监听信息,直至累计达到第一预设时间段时,切换至接收状态;当接收设备100处于接收状态时,广播监听信息,以监测中心设备200是否发送唤醒信息;当在第二预设时间段内监测中心设备200未发送唤醒信息时,切换至休眠状态;当在第二预设时间段内监测到中心设备200发送唤醒信息时,保持处于接收状态,接收中心设备200发送的有效数据信息。通过实施本发明,解决了现有技术中存在的不断地向外部设备发送数据包,会使电量消耗较大的问题,每隔预设时间段发送监听信息,降低了接收设备的能量消耗,提高了电池的使用寿命。A device wake-up method based on a ZigBee communication protocol provided by an embodiment of the present invention includes: when the receiving device 100 is in a dormant state, not sending monitoring information, and switching to the receiving state when the accumulation reaches a first preset time period; When the receiving device 100 is in the receiving state, it broadcasts monitoring information to monitor whether the central device 200 sends wake-up information; when the monitoring central device 200 does not send the wake-up information within the second preset time period, it switches to the dormant state; When it is detected that the central device 200 sends the wake-up information within the preset time period, it remains in the receiving state, and the valid data information sent by the central device 200 is received. By implementing the present invention, the problem of continuously sending data packets to external devices in the prior art, which will consume a large amount of electricity, is solved, and monitoring information is sent every preset time period, thereby reducing the energy consumption of the receiving device and increasing the power consumption. battery life.

作为本申请一个可选的实施方式,步骤S13,当在第二预设时间段内监测到中心设备200发送唤醒信息时,保持处于接收状态,接收中心设备200发送的有效数据信息,具体包括:As an optional implementation manner of the present application, in step S13, when monitoring the wake-up information sent by the central device 200 within the second preset time period, keep in the receiving state, and receive the valid data information sent by the central device 200, specifically including:

当在第二预设时间段内监测到中心设备200发送唤醒信息时,根据唤醒信息,判断唤醒信息能否通过校验;在本实施例中,当接收设备100在处于接收状态时,所广播的监听信息监测到中心设备200有发送唤醒信息,此时,要判断唤醒信息能否通过所述接收设备100的校验,具体地,也就是判断,中心设备200发送的唤醒信息想要唤醒的是否为当前接收设备。When monitoring the wake-up information sent by the central device 200 within the second preset time period, it is determined whether the wake-up information can pass the verification according to the wake-up information; in this embodiment, when the receiving device 100 is in the receiving state, the broadcasted The monitoring information monitors that the central device 200 has sent wake-up information. At this time, it is necessary to judge whether the wake-up information can pass the verification of the receiving device 100. Specifically, it is judged that the wake-up information sent by the central device 200 wants to wake up. Whether it is the current receiving device.

当唤醒信息通过校验时,保持处于接收状态,接收中心设备200发送的有效数据信息。在本实施例中,当根据所述唤醒信息,判断中心设备200想要唤醒的接收设备100为当前接收设备时,即广播监听信息的该接收设备时,该接收设备保持处于接收状态不变,并向中心设备200发送反馈信息,用以通知所述中心设备200向该接收设备发送有效数据信息。When the wake-up information passes the verification, it remains in the receiving state and receives valid data information sent by the central device 200 . In this embodiment, when it is determined according to the wake-up information that the receiving device 100 that the central device 200 wants to wake up is the current receiving device, that is, the receiving device that broadcasts monitoring information, the receiving device remains in the receiving state unchanged, Feedback information is sent to the central device 200 to notify the central device 200 to send valid data information to the receiving device.

作为本申请一个可选的实施方式,上述实施例中,根据唤醒信息,判断唤醒信息能否通过校验,具体包括:As an optional implementation manner of the present application, in the above embodiment, according to the wake-up information, it is determined whether the wake-up information can pass the verification, which specifically includes:

提取唤醒信息中的第一设备地址信息;当第一设备地址信息与预设地址信息相同时,确定唤醒信息通过校验。在本实施例中,唤醒信息中会携带中心设备200想要唤醒的接收设备100的地址信息,即第一设备地址信息。广播监听信息的接收设备100本身也存储于预设地址信息,用以表示当前接收设备100的mac地址。当唤醒信息中的第一设备地址信息与当前接收设备100的地址信息相同时,确定当前接收设备100即为中心设备200想要唤醒的设备,即唤醒信息通过了当前接收设备100的校验。Extract the first device address information in the wake-up information; when the first device address information is the same as the preset address information, it is determined that the wake-up information passes the verification. In this embodiment, the wake-up information will carry the address information of the receiving device 100 that the central device 200 wants to wake up, that is, the first device address information. The receiving device 100 that broadcasts the monitoring information is also stored in the preset address information, which is used to indicate the mac address of the current receiving device 100 . When the first device address information in the wake-up information is the same as the address information of the current receiving device 100 , it is determined that the current receiving device 100 is the device that the central device 200 wants to wake up, that is, the wake-up information has passed the verification of the current receiving device 100 .

本发明实施例所提供的一种基于ZigBee通信协议的设备唤醒方法,结合唤醒信息中的第一设备地址信息以及预设地址信息的比较,保证了中心设备只会唤醒指定接收设备,而不会对其他接收设备造成影响,从而保证了有效数据传输的安全性,也进一步地降低了能量的消耗。The device wake-up method based on the ZigBee communication protocol provided by the embodiment of the present invention, combined with the comparison of the first device address information and the preset address information in the wake-up information, ensures that the central device will only wake up the designated receiving device, and will not wake up the device. It affects other receiving devices, thereby ensuring the security of effective data transmission and further reducing energy consumption.

作为本申请一个可选的实施方式,该设备唤醒方法还包括:As an optional implementation manner of the present application, the device wake-up method further includes:

当第一设备地址信息与预设地址信息不同时,确定唤醒信息不通过校验,切换至休眠状态。在本实施例中,当唤醒信息中携带的设备mac地址信息与当前接收设备100的mac地址不同时,确定所述唤醒信息没有通过当前接收设备100的校验,当前接收设备100在接收状态持续累计至第二预设时间段时,会自动切换至休眠状态。When the address information of the first device is different from the preset address information, it is determined that the wake-up information does not pass the verification, and the device switches to the sleep state. In this embodiment, when the device mac address information carried in the wake-up information is different from the mac address of the current receiving device 100, it is determined that the wake-up information has not passed the verification of the current receiving device 100, and the current receiving device 100 continues to be in the receiving state When the second preset time period is accumulated, it will automatically switch to the sleep state.

作为本申请一个可选的实施方式,为了使低功耗设备,即接收设备大部分时间可以处于休眠状态,因此,本发明实施例中的第一预设时间段需要大于第二预设时间段。在本实施例中,接收设备100在接收状态以及休眠状态之间来回切换,接收状态的持续时间长度为T1,休眠状态的持续时间长度为T2,一般来说,T2大于T1,以此来达到降低功耗的效果。As an optional implementation manner of the present application, in order to make the low-power consumption device, that is, the receiving device, in a dormant state most of the time, the first preset time period in this embodiment of the present invention needs to be greater than the second preset time period . In this embodiment, the receiving device 100 switches back and forth between the receiving state and the sleep state, the duration of the receive state is T1, and the duration of the sleep state is T2. Generally speaking, T2 is greater than T1, so as to achieve The effect of reducing power consumption.

优选地,T2的持续时间长度可以远远大于T1的持续时间长度,为了节省接收设备100的耗电量,T1/T2的比值越小,接收设备的耗电量越低,例如,T1可以为20us,T2可以为1-3s,通过此种设置方法,实现了低功耗设备每隔一定时间监听空中数据,因此可以在消耗相同电量的情况下,达到更长时间的监测时间。Preferably, the duration of T2 can be far greater than the duration of T1. In order to save the power consumption of the receiving device 100, the smaller the ratio of T1/T2, the lower the power consumption of the receiving device. For example, T1 can be 20us, T2 can be 1-3s. Through this setting method, the low-power device can monitor the air data at regular intervals, so it can achieve a longer monitoring time under the condition of consuming the same power.

作为本申请一个可选的实施方式,为了保证设备可靠的被唤醒,也就是说,不论在中心设备200开始发送唤醒信息时,接收设备100处于何种状态,总能接收到唤醒信息,因此,设置中心设备200发送唤醒信息的时间段大于第一预设时间段与第二预设时间段的和。在本实施例中,为了保证中心设备200发送唤醒信息时,接收设备100一定会接收到,因此,设置中心设备200发送唤醒信息的持续时间T3大于接收设备100的第一预设时间段T2以及第二预设时间段T1的和T5,即T3>T5。即中心设备200重复发送的唤醒数据时间大于设备唤醒与接收状态周期,保证了设备被唤醒的可靠性,T5越小,接收设备被唤醒的速度就会越快。As an optional embodiment of the present application, in order to ensure that the device can be woken up reliably, that is, no matter what state the receiving device 100 is in when the central device 200 starts to send the wake-up information, the wake-up information can always be received. Therefore, It is set that the time period during which the center device 200 sends the wake-up information is greater than the sum of the first preset time period and the second preset time period. In this embodiment, in order to ensure that when the center device 200 sends the wake-up information, the receiving device 100 will definitely receive it. Therefore, the duration T3 for the center device 200 to send the wake-up information is set to be greater than the first preset time period T2 and the The sum T5 of the second preset time period T1, that is, T3>T5. That is, the time for the wake-up data sent repeatedly by the central device 200 is longer than the device wake-up and receiving state period, which ensures the reliability of the device being woken up. The smaller T5 is, the faster the receiving device is woken up.

本发明实施例提供一种基于ZigBee通信协议的设备唤醒装置,如图3所示,包括:An embodiment of the present invention provides a device wake-up device based on the ZigBee communication protocol, as shown in FIG. 3 , including:

第一切换模块21,用于当处于休眠状态时,不发送监听信息,直至累计达到第一预设时间段,切换至接收状态;详细实施内容可参见上述方法实施例中步骤S11的相关描述。The first switching module 21 is configured to not send monitoring information when in the dormant state, and switch to the receiving state until the accumulation reaches the first preset time period; for detailed implementation content, please refer to the relevant description of step S11 in the above method embodiment.

第二切换模块22,用于当处于接收状态时,广播监听信息,以监测中心设备是否发送唤醒信息;当在第二预设时间段内监测中心设备未发送唤醒信息时,切换至休眠状态;详细实施内容可参见上述方法实施例中步骤S12的相关描述。The second switching module 22 is used to broadcast monitoring information when in the receiving state to monitor whether the central equipment sends wake-up information; when the monitoring central equipment does not send the wake-up information within the second preset time period, switch to the dormant state; For the detailed implementation content, please refer to the relevant description of step S12 in the above method embodiment.

有效数据信息接收模块23,用于当在第二预设时间段内监测到中心设备发送唤醒信息时,保持处于接收状态,接收中心设备发送的有效数据信息,详细实施内容可参见上述方法实施例中步骤S13的相关描述。The valid data information receiving module 23 is used to keep in the receiving state when monitoring the wake-up information sent by the central device within the second preset time period, and receive the valid data information sent by the central device. For detailed implementation content, please refer to the above method embodiments Relevant description of step S13 in .

作为本申请一个可选的实施方式,有效数据信息接收模块23,具体包括:As an optional embodiment of the present application, the valid data information receiving module 23 specifically includes:

判断单元,用于当在第二预设时间段内监测到中心设备发送唤醒信息时,根据唤醒信息,判断唤醒信息能否通过校验;详细实施内容可参见上述方法实施例中步骤S13的相关描述。The judgment unit is used to judge whether the wake-up information can pass the verification according to the wake-up information when it is detected that the central device sends the wake-up information within the second preset time period; for details of the implementation, please refer to the related steps of step S13 in the above method embodiment. describe.

信息接收单元,用于当唤醒信息通过校验时,保持处于接收状态,接收中心设备发送的有效数据信息。详细实施内容可参见上述方法实施例中步骤S13的相关描述。The information receiving unit is used to keep in the receiving state when the wake-up information passes the verification, and receive the valid data information sent by the central equipment. For the detailed implementation content, please refer to the relevant description of step S13 in the above method embodiment.

本发明实施例提供的一种基于ZigBee通信协议的设备唤醒装置,包括:当接收设备处于休眠状态时,不发送监听信息,直至累计达到第一预设时间段时,切换至接收状态;当接收设备处于接收状态时,广播监听信息,以监测中心设备是否发送唤醒信息;当在第二预设时间段内监测中心设备未发送唤醒信息时,切换至休眠状态;当在第二预设时间段内监测到中心设备发送唤醒信息时,保持处于接收状态,接收中心设备发送的有效数据信息。通过实施本发明,解决了现有技术中存在的不断地向外部设备发送数据包,会使电量消耗较大的问题,每隔预设时间段发送监听信息,降低了接收设备的能量消耗,提高了电池的使用寿命。A device wake-up device based on a ZigBee communication protocol provided by an embodiment of the present invention includes: when the receiving device is in a dormant state, not sending monitoring information, and switching to a receiving state when the accumulation reaches a first preset time period; When the device is in the receiving state, broadcast monitoring information to monitor whether the central device sends wake-up information; when the monitoring center device does not send wake-up information within the second preset time period, switch to the sleep state; when the second preset time period When it is detected that the central device sends wake-up information, it remains in the receiving state and receives valid data information sent by the central device. By implementing the present invention, the problem of continuously sending data packets to external devices in the prior art, which will consume a large amount of electricity, is solved, and monitoring information is sent every preset time period, thereby reducing the energy consumption of the receiving device and increasing the power consumption. battery life.

本发明实施例还提供了一种基于ZigBee通信协议的设备唤醒系统300,如图4所示,该设备唤醒系统300包括接收设备100、中心设备200,其中,接收设备100可以包括处理器41和存储器42,其中处理器41和存储器42可以通过总线或者其他方式连接,图5中以通过总线连接为例。An embodiment of the present invention further provides a device wake-up system 300 based on the ZigBee communication protocol. As shown in FIG. 4 , the device wake-up system 300 includes a receiving device 100 and a central device 200, wherein the receiving device 100 may include a processor 41 and The memory 42, where the processor 41 and the memory 42 may be connected by a bus or in other ways, and the connection by a bus is taken as an example in FIG. 5 .

处理器41可以为中央处理器(Central Processing Unit,CPU)。处理器41还可以为其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等芯片,或者上述各类芯片的组合。The processor 41 may be a central processing unit (Central Processing Unit, CPU). The processor 41 may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or Other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components and other chips, or a combination of the above types of chips.

存储器42作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如本发明实施例中的基于ZigBee通信协议的设备唤醒方法对应的程序指令/模块(例如,图3所示的第一切换模块21、第二切换模块22、有效数据信息接收模块23)。处理器41通过运行存储在存储器42中的非暂态软件程序、指令以及模块,从而执行处理器的各种功能应用以及数据处理,即实现上述方法实施例中的基于ZigBee通信协议的设备唤醒方法。As a non-transitory computer-readable storage medium, the memory 42 can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as corresponding to the device wake-up method based on the ZigBee communication protocol in the embodiment of the present invention. Program instructions/modules (for example, the first switching module 21, the second switching module 22, and the valid data information receiving module 23 shown in FIG. 3). The processor 41 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 42, that is, the device wake-up method based on the ZigBee communication protocol in the above method embodiments is implemented. .

存储器42可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储处理器41所创建的数据等。此外,存储器42可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器42可选包括相对于处理器41远程设置的存储器,这些远程存储器可以通过网络连接至处理器41。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system and an application program required by at least one function; the storage data area may store data created by the processor 41 and the like. Additionally, memory 42 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 42 may optionally include memory located remotely from processor 41, which may be connected to processor 41 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

所述一个或者多个模块存储在所述存储器42中,当被所述处理器41执行时,执行如图1所示实施例中的基于ZigBee通信协议的设备唤醒方法。The one or more modules are stored in the memory 42, and when executed by the processor 41, execute the device wake-up method based on the ZigBee communication protocol in the embodiment shown in FIG. 1 .

上述计算机设备具体细节可以对应参阅图1所示的实施例中对应的相关描述和效果进行理解,此处不再赘述。The specific details of the above computer equipment can be understood by referring to the corresponding description and effects in the embodiment shown in FIG. 1 , and details are not repeated here.

可选地,本发明实施例还提供了一种非暂态计算机可读介质,非暂态计算机可读存储介质存储计算机指令,计算机指令用于使计算机执行如上述实施例中任意一项描述的基于ZigBee通信协议的设备唤醒方法,其中,存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)、随机存储记忆体(Random Access Memory,RAM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,缩写:HDD)或固态硬盘(Solid-State Drive,SSD)等;存储介质还可以包括上述种类的存储器的组合。Optionally, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute any one of the foregoing embodiments. A device wake-up method based on the ZigBee communication protocol, wherein the storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory ( Flash Memory), Hard Disk Drive (Hard Disk Drive, abbreviation: HDD) or Solid-State Drive (Solid-State Drive, SSD), etc.; the storage medium may also include a combination of the above-mentioned types of memories.

显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。Obviously, the above-mentioned embodiments are only examples for clear description, and are not intended to limit the implementation manner. For those of ordinary skill in the art, changes or modifications in other different forms can also be made on the basis of the above description. There is no need and cannot be exhaustive of all implementations here. And the obvious changes or changes derived from this are still within the protection scope of the present invention.

Claims (10)

1.一种基于ZigBee通信协议的设备唤醒方法,其特征在于,包括:1. a device wake-up method based on ZigBee communication protocol, is characterized in that, comprises: 当处于休眠状态时,不发送监听信息,直至累计达到第一预设时间段,切换至接收状态;When in the dormant state, the monitoring information is not sent until the accumulation reaches the first preset time period, and the state is switched to the receiving state; 当处于接收状态时,广播监听信息,以监测中心设备是否发送唤醒信息;当在第二预设时间段内监测所述中心设备未发送所述唤醒信息时,切换至所述休眠状态;When in the receiving state, broadcast monitoring information to monitor whether the central device sends wake-up information; when monitoring that the central device does not send the wake-up information within a second preset time period, switch to the dormant state; 当在第二预设时间段内监测到所述中心设备发送所述唤醒信息时,保持处于接收状态,接收所述中心设备发送的有效数据信息。When monitoring that the central device sends the wake-up information within the second preset time period, the central device remains in the receiving state, and receives valid data information sent by the central device. 2.根据权利要求1所述的方法,其特征在于,所述当在第二预设时间段内监测到所述中心设备发送所述唤醒信息时,保持处于接收状态,接收所述中心设备发送的有效数据信息,具体包括:2 . The method according to claim 1 , wherein, when monitoring that the central device sends the wake-up information within a second preset time period, keep in a receiving state, and receive the data sent by the central device. 3 . Valid data information, including: 当在第二预设时间段内监测到所述中心设备发送所述唤醒信息时,根据所述唤醒信息,判断所述唤醒信息能否通过校验;When monitoring that the central device sends the wake-up information within the second preset time period, according to the wake-up information, determine whether the wake-up information can pass the verification; 当所述唤醒信息通过校验时,保持处于接收状态,接收所述中心设备发送的所述有效数据信息。When the wake-up information passes the verification, it remains in the receiving state and receives the valid data information sent by the central device. 3.根据权利要求2所述的方法,其特征在于,所述根据所述唤醒信息,判断所述唤醒信息能否通过校验,具体包括:3. The method according to claim 2, wherein the determining whether the wake-up information can pass the verification according to the wake-up information specifically comprises: 提取所述唤醒信息中的第一设备地址信息;extracting the first device address information in the wake-up information; 当所述第一设备地址信息与预设地址信息相同时,确定所述唤醒信息通过校验。When the first device address information is the same as the preset address information, it is determined that the wake-up information passes the verification. 4.根据权利要求3所述的方法,其特征在于,还包括:4. The method of claim 3, further comprising: 当所述第一设备地址信息与预设地址信息不同时,确定所述唤醒信息不通过校验,切换至休眠状态。When the address information of the first device is different from the preset address information, it is determined that the wake-up information does not pass the verification, and the state is switched to a sleep state. 5.根据权利要求1所述的方法,其特征在于,所述第一预设时间段大于所述第二预设时间段。5. The method of claim 1, wherein the first preset time period is greater than the second preset time period. 6.根据权利要求1所述的方法,其特征在于,所述中心设备发送所述唤醒信息的时间段大于所述第一预设时间段与所述第二预设时间段的和。6 . The method according to claim 1 , wherein the time period during which the central device sends the wake-up information is greater than the sum of the first preset time period and the second preset time period. 7 . 7.一种基于ZigBee通信协议的设备唤醒装置,其特征在于,包括:7. a device wake-up device based on ZigBee communication protocol, is characterized in that, comprises: 第一切换模块,用于当处于休眠状态时,不发送监听信息,直至累计达到第一预设时间段,切换至接收状态;a first switching module, configured to not send monitoring information when in a dormant state, and switch to a receiving state until the accumulation reaches a first preset time period; 第二切换模块,用于当处于接收状态时,广播监听信息,以监测中心设备是否发送唤醒信息;当在第二预设时间段内监测所述中心设备未发送所述唤醒信息时,切换至所述休眠状态;The second switching module is configured to broadcast monitoring information when in the receiving state to monitor whether the central device sends the wake-up information; when monitoring that the central device does not send the wake-up information within the second preset time period, switch to the sleep state; 有效数据信息接收模块,用于当在第二预设时间段内监测到所述中心设备发送所述唤醒信息时,保持处于接收状态,接收所述中心设备发送的有效数据信息。The valid data information receiving module is configured to keep in the receiving state and receive valid data information sent by the central device when monitoring the central device to send the wake-up information within the second preset time period. 8.根据权利要求7所述的装置,其特征在于,所述有效数据信息接收模块,具体包括:8. The device according to claim 7, wherein the effective data information receiving module specifically comprises: 判断单元,用于当在第二预设时间段内监测到所述中心设备发送所述唤醒信息时,根据所述唤醒信息,判断所述唤醒信息能否通过校验;a judgment unit, configured to judge whether the wake-up information can pass the verification according to the wake-up information when the central device is monitored to send the wake-up information within a second preset time period; 信息接收单元,用于当所述唤醒信息通过校验时,保持处于接收状态,接收所述中心设备发送的有效数据信息。The information receiving unit is configured to keep in the receiving state when the wake-up information passes the verification, and receive the valid data information sent by the central device. 9.一种基于ZigBee通信协议的设备唤醒系统,其特征在于,包括:9. A device wake-up system based on ZigBee communication protocol, is characterized in that, comprises: 接收设备,包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行权利要求1-6中任一项所述的基于ZigBee通信协议的设备唤醒方法的步骤;a receiving device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the one processor, the instructions being processed by the at least one processor The processor executes, so that the at least one processor executes the steps of the ZigBee communication protocol-based device wake-up method according to any one of claims 1-6; 中心设备,用于发送唤醒信息以及有效数据信息。The central device is used to send wake-up information and valid data information. 10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-6中任一项所述的基于ZigBee通信协议的设备唤醒方法的步骤。10. A computer-readable storage medium on which a computer program is stored, wherein the computer program realizes the device based on the ZigBee communication protocol as described in any one of claims 1-6 when the computer program is executed by the processor The steps of the wakeup method.
CN202010666276.9A 2020-07-09 2020-07-09 Equipment awakening method and device based on ZigBee communication protocol Pending CN111935803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010666276.9A CN111935803A (en) 2020-07-09 2020-07-09 Equipment awakening method and device based on ZigBee communication protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010666276.9A CN111935803A (en) 2020-07-09 2020-07-09 Equipment awakening method and device based on ZigBee communication protocol

Publications (1)

Publication Number Publication Date
CN111935803A true CN111935803A (en) 2020-11-13

Family

ID=73312769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010666276.9A Pending CN111935803A (en) 2020-07-09 2020-07-09 Equipment awakening method and device based on ZigBee communication protocol

Country Status (1)

Country Link
CN (1) CN111935803A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113365251A (en) * 2021-05-31 2021-09-07 浙江大华技术股份有限公司 Monitoring data transmission method and device, storage medium and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101349914A (en) * 2008-09-18 2009-01-21 贺新 Valve controller based on ZigBee communication technology and control method thereof
CN102740427A (en) * 2012-06-15 2012-10-17 无锡必创传感科技有限公司 Method for awakening wireless sensor, wireless sensor and wireless sensor system
CN103313277A (en) * 2013-03-08 2013-09-18 南京芯传汇电子科技有限公司 WSN (Wireless Sensor Network) terminal node and ZigBee-based low-power-consumption intercepting method thereof
CN103327651A (en) * 2012-03-23 2013-09-25 施耐德电气东南亚(总部)有限公司 Information transmission method and system and sleeping function device
EP2811789A1 (en) * 2013-06-03 2014-12-10 Alcatel Lucent A communication method, a communications system, an access network node and a power limited node
US20170003736A1 (en) * 2015-06-30 2017-01-05 Google Inc. Systems and methods for efficiently communicating between low-power devices
CN108495361A (en) * 2018-02-08 2018-09-04 哈尔滨研拓科技发展有限公司 A kind of electronic tag, data exchange host and electronic labelling system
CN108566687A (en) * 2018-04-25 2018-09-21 成都西谷曙光数字技术有限公司 LDSW ultra-low power consumption wireless self-organizing network system and communication means
CN110996380A (en) * 2019-11-29 2020-04-10 京东方科技集团股份有限公司 Terminal wake-up period adjusting method and device, storage medium and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101349914A (en) * 2008-09-18 2009-01-21 贺新 Valve controller based on ZigBee communication technology and control method thereof
CN103327651A (en) * 2012-03-23 2013-09-25 施耐德电气东南亚(总部)有限公司 Information transmission method and system and sleeping function device
CN102740427A (en) * 2012-06-15 2012-10-17 无锡必创传感科技有限公司 Method for awakening wireless sensor, wireless sensor and wireless sensor system
CN103313277A (en) * 2013-03-08 2013-09-18 南京芯传汇电子科技有限公司 WSN (Wireless Sensor Network) terminal node and ZigBee-based low-power-consumption intercepting method thereof
EP2811789A1 (en) * 2013-06-03 2014-12-10 Alcatel Lucent A communication method, a communications system, an access network node and a power limited node
US20170003736A1 (en) * 2015-06-30 2017-01-05 Google Inc. Systems and methods for efficiently communicating between low-power devices
CN108495361A (en) * 2018-02-08 2018-09-04 哈尔滨研拓科技发展有限公司 A kind of electronic tag, data exchange host and electronic labelling system
CN108566687A (en) * 2018-04-25 2018-09-21 成都西谷曙光数字技术有限公司 LDSW ultra-low power consumption wireless self-organizing network system and communication means
CN110996380A (en) * 2019-11-29 2020-04-10 京东方科技集团股份有限公司 Terminal wake-up period adjusting method and device, storage medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113365251A (en) * 2021-05-31 2021-09-07 浙江大华技术股份有限公司 Monitoring data transmission method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
RU2619920C2 (en) Systems and methods for reporting configuration changes between access point and station
US10285128B2 (en) Method and apparatus for waking up devices in batches, and device
CN104982061B (en) Dynamic adaptation of traffic inactivity timers
JP5182427B2 (en) System and method for adaptive power saving based on traffic profile
RU2570895C2 (en) Power-saving with data fetch time, with end of data indication and with more data acknowledgement
CN103596632B (en) Method, device, the terminal of the wake-up period of adjustment terminal
CN107360362B (en) Portable network video camera and wireless router operation method
US20120188928A1 (en) Method for maintaining connection between terminal and network server, terminal and network server
JP2007151121A (en) Method and apparatus for remote discovery of client and access point settings in a wireless LAN
KR20060066709A (en) System and method for wake from WLAN
CN101631377A (en) Terminal sleeping method and terminal
CN102413152B (en) A method and server for sending information to a terminal
TWI674018B (en) Method and apparatus for providing power saving optimization for wlan ap
CN111436098A (en) Communication method and device
CN106550438B (en) Method and system for limiting regular awakening and mobile device
CN109816830B (en) Unlocking method and device
BR102012028349B1 (en) METHOD TO MANAGE MOBILE RADIO RESOURCES TO IMPROVE PACKAGE RECEPTION
CN111935803A (en) Equipment awakening method and device based on ZigBee communication protocol
CN106714264B (en) Energy-saving method and system for nodes of Internet of things
CN1816789A (en) System and method for wake on wireless lan
CN111385860A (en) On-demand wake-up method for Bluetooth Mesh low-power nodes based on message priority
CN106063336B (en) Data transmission system, bridge device, method realized by bridge device, storage medium
US10027495B2 (en) Idle scheduling method and home network node
WO2010099664A1 (en) Method and device for accessing network
CN113873624A (en) Internet of things terminal and control method thereof

Legal Events

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

Application publication date: 20201113