[go: up one dir, main page]

CN118632330A - A method and system for wirelessly transmitting and receiving information - Google Patents

A method and system for wirelessly transmitting and receiving information Download PDF

Info

Publication number
CN118632330A
CN118632330A CN202410637446.9A CN202410637446A CN118632330A CN 118632330 A CN118632330 A CN 118632330A CN 202410637446 A CN202410637446 A CN 202410637446A CN 118632330 A CN118632330 A CN 118632330A
Authority
CN
China
Prior art keywords
terminal
time
receiving
gateway
period
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.)
Granted
Application number
CN202410637446.9A
Other languages
Chinese (zh)
Other versions
CN118632330B (en
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.)
Techbloom Beijing Information Technology Co ltd
Original Assignee
Techbloom Beijing 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 Techbloom Beijing Information Technology Co ltd filed Critical Techbloom Beijing Information Technology Co ltd
Priority to CN202410637446.9A priority Critical patent/CN118632330B/en
Publication of CN118632330A publication Critical patent/CN118632330A/en
Application granted granted Critical
Publication of CN118632330B publication Critical patent/CN118632330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0631Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms
    • 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
    • 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
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/0015Synchronization between nodes one node acting as a reference for the others

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明涉及通信技术领域,具体涉及一种信息无线收发方法及系统。本发明的一种信息无线收发方法包括:响应于第一终端与第一网关时间同步,第一终端经过第一时间周期开启信息接收模式;所述第一网关经过所述第一时间在发送第二时间长度的前导码;所述信息接收模式包括第一接收时段和第二接收时段;响应于所述第一终端在所述第一接收时段接收到所述前导码,所述第一终端在所述第二接收时段接收所述第一网关发送的第一信息。解决第一终端如何低功耗接收网关发送的信息的问题。

The present invention relates to the field of communication technology, and in particular to a method and system for wirelessly transmitting and receiving information. A method for wirelessly transmitting and receiving information of the present invention comprises: in response to a first terminal being synchronized with a first gateway, the first terminal turns on an information receiving mode after a first time period; the first gateway sends a preamble code of a second time length after the first time; the information receiving mode includes a first receiving period and a second receiving period; in response to the first terminal receiving the preamble code in the first receiving period, the first terminal receives the first information sent by the first gateway in the second receiving period. The problem of how the first terminal can receive information sent by the gateway with low power consumption is solved.

Description

一种信息无线收发方法及系统A method and system for wirelessly transmitting and receiving information

技术领域Technical Field

本发明涉及通信技术领域,具体而言,涉及一种信息无线收发方法及系统。The present invention relates to the field of communication technology, and in particular to a method and system for wirelessly transmitting and receiving information.

背景技术Background Art

电池供电第一终端的无线数据接收存在两个相矛盾的点,一是要求接收速度越快越好,以快速响应用户业务,在规定时间内给用户下一步操作指示,一是第一终端功耗要尽可能的低,以延长电池工作时间,使电池供电第一终端具有更好的经济效益,避免频繁更换电池。以上两点通常难以同时满足,更快的响应通常需要更频繁的接收频率,高频率的接收会导致接收平均电流的增大,从而两者难以同时满足。There are two contradictory points in the wireless data reception of the battery-powered first terminal. One is that the receiving speed is required to be as fast as possible to quickly respond to user services and give the user the next operation instructions within the specified time. The other is that the power consumption of the first terminal should be as low as possible to extend the battery working time, so that the battery-powered first terminal has better economic benefits and avoids frequent battery replacement. The above two points are usually difficult to meet at the same time. Faster response usually requires more frequent reception frequency. High-frequency reception will lead to an increase in the average receiving current, so it is difficult to meet both at the same time.

LoraWan协议下的classB类工作方式,需要有后端云服务器的支持,网关工作对时需要有GPS对时完成时间的同步。无线唤醒技术WOR,通过无线唤醒第一终端下发数据,接收端定时监测空中前导码Preamble是否达到接收强度,达到后表明有无线数据发送,第一终端准备接收,未检测到指定强度时关闭接收,进入休眠,等待下次接收周期。The class B working mode under the LoraWan protocol requires the support of the backend cloud server, and the gateway needs to synchronize with GPS to complete the time synchronization. The wireless wake-up technology WOR wakes up the first terminal wirelessly to send data, and the receiving end regularly monitors whether the air preamble Preamble reaches the receiving strength. If it reaches, it indicates that there is wireless data sending, and the first terminal is ready to receive. If the specified strength is not detected, the reception is turned off, and it enters sleep and waits for the next receiving cycle.

无线第一终端的响应时间与第一终端监测前导码的频率相关,监测的频率高时,则相应的响应时间快,如每200ms监测一次前导码,则第一终端可实现约200ms的确定响应时间。但只是利用WOR功能的缺点是:1.前导码发送时间长;2.无线信道利用率低,下行并发量低;3.第一终端接收信息平均时间长,导致接收电流高。The response time of the wireless first terminal is related to the frequency of the first terminal monitoring the preamble code. When the monitoring frequency is high, the corresponding response time is fast. For example, if the preamble code is monitored once every 200ms, the first terminal can achieve a definite response time of about 200ms. However, the disadvantages of using only the WOR function are: 1. The preamble code transmission time is long; 2. The wireless channel utilization rate is low, and the downlink concurrency is low; 3. The average time for the first terminal to receive information is long, resulting in high receiving current.

LoraWan的ClassB对时需要有GPS保持高精度时间,网关需要安装在室外才能完成对时,且需要后端LoraWan服务器完成第一终端的管理,配置复杂,成本较高,且不适用室内工作,只能使用Lora技术特有芯片。同时LoraWan网关下行信道较少,限制了下行数据的并发量。LoraWan's Class B time synchronization requires GPS to maintain high-precision time. The gateway needs to be installed outdoors to complete the time synchronization, and the back-end LoraWan server is required to complete the management of the first terminal. The configuration is complex and the cost is high. It is not suitable for indoor work and can only use Lora technology-specific chips. At the same time, the LoraWan gateway has fewer downlink channels, which limits the concurrency of downlink data.

发明内容Summary of the invention

有鉴于此,本发明实施例所解决的技术问题之一在于提供一种信息无线收发方法及系统,用于克服现有技术中因频繁接收网关发送信息导致的第一终端的功耗过高的问题。In view of this, one of the technical problems solved by the embodiments of the present invention is to provide a method and system for wirelessly transmitting and receiving information, so as to overcome the problem in the prior art that the power consumption of the first terminal is too high due to frequent reception of information sent by the gateway.

本申请实施例第一方面公开了一种信息无线收发方法,包括:The first aspect of the embodiment of the present application discloses a method for wirelessly transmitting and receiving information, including:

响应于第一终端与第一网关时间同步,第一终端经过第一时间周期开启信息接收模式;In response to the first terminal being time synchronized with the first gateway, the first terminal turning on an information receiving mode after a first time period;

所述第一网关经过所述第一时间在发送第二时间长度的前导码;The first gateway sends a preamble code of a second time length after the first time;

所述信息接收模式包括第一接收时段和第二接收时段;The information receiving mode includes a first receiving period and a second receiving period;

响应于所述第一终端在所述第一接收时段接收到所述前导码,所述第一终端在所述第二接收时段接收所述第一网关发送的第一信息。In response to the first terminal receiving the preamble code in the first receiving time period, the first terminal receives the first information sent by the first gateway in the second receiving time period.

在一些实施例中,所述第一终端经过第三时间周期所述第一终端主动向所述第一网关请求时间同步。In some embodiments, the first terminal actively requests time synchronization from the first gateway after a third time period.

在一些实施例中,所述第一时间周期为30*2Nms,N∈[0,11]。In some embodiments, the first time period is 30*2 N ms, N∈[0,11].

在一些实施例中,所述第二时间长度为两倍的所述第一网关和所述第一终端的误差时间。In some embodiments, the second time length is twice the error time between the first gateway and the first terminal.

在一些实施例中,所述第一接收时段用于接收所述前导码。In some embodiments, the first reception period is used to receive the preamble.

在一些实施例中,所述第二接收时段用于接收所述第一网关发送的有效数据。In some embodiments, the second receiving period is used to receive valid data sent by the first gateway.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

所述第一终端开启所述信息接收模式前的第四时间段和所述第一终端开启所述信息接收模式后的第五时间段不进行数据收发。The first terminal does not send or receive data in a fourth time period before the first terminal turns on the information receiving mode and in a fifth time period after the first terminal turns on the information receiving mode.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

响应于所述第一终端和至少一个其他第一终端开启所述信息接收模式时间相同,所述第一终端经过所述第一时间周期开启所述信息接收模式后进行第六时间长度的时间延迟。In response to the first terminal and at least one other first terminal starting the information receiving mode at the same time, the first terminal performs a time delay of a sixth time length after starting the information receiving mode after the first time period.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

响应于所述第一终端和至少一个其他第一终端开启所述信息接收模式时间相同,所述第一终端经过所述第一时间周期开启所述信息接收模式后进行第六时间长度的时间延迟。In response to the first terminal and at least one other first terminal starting the information receiving mode at the same time, the first terminal performs a time delay of a sixth time length after starting the information receiving mode after the first time period.

在一些实施例中,所述第三时间周期为64秒。In some embodiments, the third time period is 64 seconds.

在一些实施例中,所述第四时间段为100ms。In some embodiments, the fourth time period is 100 ms.

在一些实施例中,所述第五时间段为120ms。In some embodiments, the fifth time period is 120 ms.

在一些实施例中,根据AES加密算法得到所述第六时间长度。In some embodiments, the sixth time length is obtained according to an AES encryption algorithm.

本申请实施例第二方面公开了一种信息无线收发系统,所述系统包括:A second aspect of an embodiment of the present application discloses a wireless information transceiver system, the system comprising:

网关模块,所述网关模块用于时钟同步和数据收发;A gateway module, which is used for clock synchronization and data transmission and reception;

第一终端模块,所述第一终端模块包括至少一个第一终端;A first terminal module, the first terminal module comprising at least one first terminal;

控制模块,所述控制模块被配置为实现第一方面所述的方法。A control module, wherein the control module is configured to implement the method described in the first aspect.

本发明有以下优点:解决因频繁接收网关发送信息导致的第一终端的功耗过高的问题。在网关和第一终端时间同步的前提下,通过前导码唤醒与接收槽的合并应用来完成高效的无线接收,第一终端接收周期可调整,从而适应不同业务要求的响应时间,增加接收周期可进一步降低第一终端功耗,减小接收周期可提高第一终端响应时间,通过调整这一参数灵活控制第一终端工作模式。The present invention has the following advantages: it solves the problem of excessive power consumption of the first terminal caused by frequent reception of information sent by the gateway. Under the premise of time synchronization between the gateway and the first terminal, efficient wireless reception is achieved by combining the preamble code wake-up and the receiving slot. The receiving cycle of the first terminal can be adjusted to adapt to the response time required by different services. Increasing the receiving cycle can further reduce the power consumption of the first terminal, and reducing the receiving cycle can increase the response time of the first terminal. By adjusting this parameter, the working mode of the first terminal can be flexibly controlled.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明实施例的一种信息无线收发方法的流程图。FIG1 is a flow chart of a method for wirelessly sending and receiving information according to an embodiment of the present invention.

具体实施方式DETAILED DESCRIPTION

现在将参照若干示例性实施例来论述本公开的内容。应当理解,论述了这些实施例仅是为了使得本领域普通技术人员能够更好地理解且因此实现本公开的内容,而不是暗示对本公开的范围的任何限制。The present disclosure will now be discussed with reference to several exemplary embodiments. It should be understood that these embodiments are discussed only to enable those skilled in the art to better understand and thus implement the present disclosure, rather than implying any limitation on the scope of the present disclosure.

如本文中所使用的,术语“包括”及其变体要被解读为意味着“包括但不限于”的开放式术语。术语“基于”要被解读为“至少部分地基于”。术语“一个实施例”和“一种实施例”要被解读为“至少一个实施例”。术语“另一个实施例”要被解读为“至少一个其他实施例”。术语“上”、“下”、“左”、“右”、“前”、“后”、“顶”、“底”、“内”、“外”、“竖直”、“水平”、“横向”、“纵向”等指示的方位或位置关系为基于附图所示的方位或位置关系。这些术语主要是为了更好地描述本申请及其实施例,并非用于限定所指示的装置、元件或组成部分必须具有特定方位,或以特定方位进行构造和操作。并且,上述部分术语除了可以用于表示方位或位置关系以外,还可能用于表示其他含义,例如术语“上”在某些情况下也可能用于表示某种依附关系或连接关系。对于本领域普通技术人员而言,可以根据具体情况理解这些术语在本申请中的具体含义。此外,术语“安装”、“设置”、“设有”、“连接”、“相连”应做广义理解。例如,可以是固定连接,可拆卸连接,或整体式构造;可以是机械连接,或电连接;可以是直接相连,或者是通过中间媒介间接相连,又或者是两个装置、元件或组成部分之间内部的连通。对于本领域普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。此外,术语“第一”、“第二”等主要是用于区分不同的装置、元件或组成部分(具体的种类和构造可能相同也可能不同),并非用于表明或暗示所指示装置、元件或组成部分的相对重要性和数量。除非另有说明,“多个”的含义为两个或两个以上。As used herein, the term "including" and its variants are to be interpreted as open-ended terms meaning "including but not limited to". The term "based on" is to be interpreted as "based at least in part on". The terms "one embodiment" and "an embodiment" are to be interpreted as "at least one embodiment". The term "another embodiment" is to be interpreted as "at least one other embodiment". The orientation or position relationship indicated by the terms "upper", "lower", "left", "right", "front", "back", "top", "bottom", "inner", "outer", "vertical", "horizontal", "lateral", "longitudinal" and the like is based on the orientation or position relationship shown in the drawings. These terms are mainly for better describing the present application and its embodiments, and are not used to limit the indicated devices, elements or components to have a specific orientation, or to be constructed and operated in a specific orientation. In addition, in addition to being used to indicate an orientation or position relationship, some of the above terms may also be used to indicate other meanings, such as the term "upper" may also be used to indicate a certain dependency or connection relationship in some cases. For those of ordinary skill in the art, the specific meanings of these terms in this application can be understood according to the specific circumstances. In addition, the terms "install", "set", "provided with", "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection, or an electrical connection; it can be directly connected, or indirectly connected through an intermediate medium, or it can be an internal connection between two devices, elements or components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to the specific circumstances. In addition, the terms "first", "second", etc. are mainly used to distinguish different devices, elements or components (the specific types and structures may be the same or different), and are not used to indicate or imply the relative importance and quantity of the indicated devices, elements or components. Unless otherwise specified, "plurality" means two or more.

本申请实施例公开了一种信息无线收发方法,包括:The embodiment of the present application discloses a method for wirelessly transmitting and receiving information, including:

响应于第一终端与第一网关时间同步,第一终端经过第一时间周期开启信息接收模式;In response to the first terminal being time synchronized with the first gateway, the first terminal turning on an information receiving mode after a first time period;

所述第一网关经过所述第一时间在发送第二时间长度的前导码;The first gateway sends a preamble code of a second time length after the first time;

所述信息接收模式包括第一接收时段和第二接收时段;The information receiving mode includes a first receiving period and a second receiving period;

响应于所述第一终端在所述第一接收时段接收到所述前导码,所述第一终端在所述第二接收时段接收所述第一网关发送的第一信息。In response to the first terminal receiving the preamble code in the first receiving time period, the first terminal receives the first information sent by the first gateway in the second receiving time period.

在本发明实施例中,第一终端与网关定期同步beacon信息(beacon信息即第一信息:网关定时下发的信息,用于对时或同步网络信息),信息内包含网关时间,无线第一终端接收到时间后,同步自身时钟,两者时钟同步后,网关与第一终端根据相同算法计算得出第一终端的接收时间,在得出的接收时间,网关定时向其发送数据,第一终端在特定时间槽打开接收,所述时间槽由第一接收时段和第二接收时段组成。两者通过精确的时间对应关系,不需要很长的前导码来唤醒第一终端,同时第一终端不需要高频率的打开接收检测前导码。第一终端的接收周期根据业务的要求响应时间决定。In an embodiment of the present invention, the first terminal and the gateway periodically synchronize beacon information (beacon information is the first information: information sent by the gateway at regular intervals, used for time synchronization or synchronization of network information). The information contains the gateway time. After the wireless first terminal receives the time, it synchronizes its own clock. After the clocks of the two are synchronized, the gateway and the first terminal calculate the receiving time of the first terminal according to the same algorithm. At the obtained receiving time, the gateway sends data to it at regular intervals. The first terminal opens the reception in a specific time slot, and the time slot is composed of the first receiving period and the second receiving period. The two have a precise time correspondence, and do not need a very long preamble to wake up the first terminal. At the same time, the first terminal does not need to open the reception detection preamble at a high frequency. The receiving cycle of the first terminal is determined according to the response time required by the service.

网关时间采用高精度RTC(实时时钟,为系统提供精确时间)时钟,并定期与局域网内NTP(网络时间协议,用来使客户端与服务器同步时间)服务器同步时间,确保多个网关在同一局域网内时间偏差保持在较小范围。网关没有采用GPS同步同时,因此网关可工作在室内,扩展了第一终端的使用范围,使其适用于室内工作。同时,第一终端的同步与入网管理均在网关端完成,简化了服务器端的工作,使其配置安装更加简便,降低了实施的成本。The gateway time uses a high-precision RTC (real-time clock, providing accurate time for the system) clock, and regularly synchronizes time with the NTP (network time protocol, used to synchronize time between the client and the server) server in the LAN, ensuring that the time deviation of multiple gateways in the same LAN remains within a small range. The gateway does not use GPS synchronization, so the gateway can work indoors, expanding the scope of use of the first terminal and making it suitable for indoor work. At the same time, the synchronization and network access management of the first terminal are completed on the gateway side, which simplifies the work on the server side, makes its configuration and installation easier, and reduces the cost of implementation.

网关在给第一终端下发数据时不用再发送长时间的前导码来唤醒第一终端,只用发送一个长度比第一终端时钟偏差稍大一点的前导码即可,前导码从原来的几百ms缩短到10ms左右,前导码的时间缩短提高了无线频道的使用率,使单位时间内可下行的第一终端数量增大,如原来第一终端200ms接收一次数据,网关前导码长度要比200ms稍长,从而达到使第一终端不会错过前导码,这时每次下行数据要最少使用200ms,一秒内最多发送5条数据,而且在发送前导码的过程中,所有检测到前导码的第一终端均会进入接收状态,使整体的功耗大大增加。在采用预先定义的接收槽后,每个第一终端工作在其特定的接收槽内,每个槽30ms宽度,1秒钟内可有33个槽用于第一终端的数据发送,最大下行第一终端数可为33个,达到原来下行数量的6倍,同时,在发送数据时,无关第一终端不会唤醒进入接收状态,降低了所有第一终端的无关唤醒时间,节省了功耗。When the gateway sends data to the first terminal, it no longer needs to send a long preamble to wake up the first terminal. It only needs to send a preamble with a length slightly larger than the clock deviation of the first terminal. The preamble is shortened from hundreds of ms to about 10ms. The shortened preamble time improves the utilization rate of the wireless channel and increases the number of first terminals that can be downlinked per unit time. For example, if the first terminal originally receives data once every 200ms, the gateway preamble length should be slightly longer than 200ms, so that the first terminal will not miss the preamble. At this time, each downlink data will take at least 200ms, and a maximum of 5 data will be sent in one second. In addition, in the process of sending the preamble, all first terminals that detect the preamble will enter the receiving state, which greatly increases the overall power consumption. After adopting the predefined receiving slots, each first terminal works in its specific receiving slot. Each slot is 30ms wide. 33 slots can be used for data transmission by the first terminal within 1 second. The maximum number of downlink first terminals can be 33, which is 6 times the original downlink number. At the same time, when sending data, irrelevant first terminals will not wake up and enter the receiving state, which reduces the irrelevant wake-up time of all first terminals and saves power consumption.

在一些实施例中,所述第一终端经过第三时间周期所述第一终端主动向所述第一网关请求时间同步。In some embodiments, the first terminal actively requests time synchronization from the first gateway after a third time period.

在本发明实施例中,当第一终端接收beacon失败时,第一终端不能同步到最新时间,第一终端会主动向网关请求对时,网关收到请求对时命令时,发送其时间给第一终端,第一终端通过收到的时间,调整其接收槽时间,从而避免时钟误差的增加使beacon接收失败,接收时间与网关无法再次同步问题。In an embodiment of the present invention, when the first terminal fails to receive beacon, the first terminal cannot synchronize to the latest time. The first terminal will actively request time synchronization from the gateway. When the gateway receives the time synchronization request command, it sends its time to the first terminal. The first terminal adjusts its receiving slot time according to the received time, thereby avoiding the increase of clock error causing beacon reception failure and the problem that the receiving time cannot be synchronized with the gateway again.

在一些实施例中,所述第一时间周期为30*2Nms,N∈[0,11]。In some embodiments, the first time period is 30*2Nms, N∈[0,11].

在本发明实施例中,第一终端的接收周期决定了第一终端的响应时间,当接收周期(即第一时间周期)为960ms时,即每个第一终端每隔32个槽接收一次,使其可在1秒内响应业务需求,当接收周期调整为30ms,即每个槽都可接收时,第一终端的响应时间可达到30ms,这一参数的设置使第一终端动态调整了接收时间,平衡了业务响应时间需求和低功耗。In an embodiment of the present invention, the receiving period of the first terminal determines the response time of the first terminal. When the receiving period (i.e., the first time period) is 960ms, each first terminal receives once every 32 slots, so that it can respond to business needs within 1 second. When the receiving period is adjusted to 30ms, that is, each slot can receive, the response time of the first terminal can reach 30ms. The setting of this parameter enables the first terminal to dynamically adjust the receiving time and balance the business response time requirements and low power consumption.

在一些实施例中,所述第二时间长度为两倍的所述第一网关和所述第一终端的误差时间。In some embodiments, the second time length is twice the error time between the first gateway and the first terminal.

在本发明实施例中,网关与第一终端的系统时间在运行一段时间后会产生偏差,这一偏差使网关发送数据时可能与第一终端的接收开放时间错开,因此网关发送数据的前导码时长要以网关与第一终端的的运时时间误差为准,当两者误差在5ms时,前导码长度要大于等于2*5ms=10ms,以覆盖两者或快或慢的时间偏差。In the embodiment of the present invention, the system time of the gateway and the first terminal will deviate after running for a period of time. This deviation may cause the gateway to send data at a time difference from the receiving opening time of the first terminal. Therefore, the preamble length of the gateway to send data shall be based on the operating time error between the gateway and the first terminal. When the error between the two is 5ms, the preamble length shall be greater than or equal to 2*5ms=10ms to cover the faster or slower time deviation between the two.

在一些实施例中,所述第一接收时段用于接收所述前导码。In some embodiments, the first reception period is used to receive the preamble.

在本发明实施例中,前导码的作用为:第一终端在接收数据时,会检测是否有前导码信息在发送,若检测到有前导码数据在发送,则第一终端打开接收进行数据的接收,若没有前导码数据,则立即关闭接收,节约系统功耗网关在发送数据前先发送前导码,前导码的发送时间提前1/2的前导码发送时间,以使前导码的中间位置对应在第一终端的接收检测窗口点上。理想接收位置:网关与第一终端在无时间偏差时的理想接收位置。最大偏差可接收位置:当第一终端与网关的时间偏差超过这一值时,第一终端将不能正确收到信息的最大值位置。In the embodiment of the present invention, the role of the preamble is as follows: when the first terminal receives data, it will detect whether there is a preamble information being sent. If it is detected that there is a preamble data being sent, the first terminal will open the reception to receive the data. If there is no preamble data, the reception will be closed immediately to save system power consumption. The gateway sends the preamble before sending the data. The sending time of the preamble is 1/2 of the preamble sending time in advance, so that the middle position of the preamble corresponds to the receiving detection window point of the first terminal. Ideal receiving position: the ideal receiving position when there is no time deviation between the gateway and the first terminal. Maximum deviation receivable position: when the time deviation between the first terminal and the gateway exceeds this value, the first terminal will not be able to correctly receive the maximum value position of the information.

在一些实施例中,所述第二接收时段用于接收所述第一网关发送的有效数据。In some embodiments, the second receiving period is used to receive valid data sent by the first gateway.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

所述第一终端开启所述信息接收模式前的第四时间段和所述第一终端开启所述信息接收模式后的第五时间段不进行数据收发。The first terminal does not send or receive data in a fourth time period before the first terminal turns on the information receiving mode and in a fifth time period after the first terminal turns on the information receiving mode.

在一些实施例中,所述第四时间段为100ms。In some embodiments, the fourth time period is 100 ms.

在一些实施例中,所述第五时间段为120ms。In some embodiments, the fifth time period is 120 ms.

在本发明实施例中,第四时间段和第五时间段为为确保beacon的正确下发,保留的时间,此时间内不进行数据收发。在第四时间段和第五时间段时不进行数据的发送,防止其影响beacon信息的发送,同时这一时间不能过长,时间过长时,影响数据发送的实时性,选择beacon发送后120ms,发送前100ms的时间,从而保证了实时性,不影响业务的数据流程。In the embodiment of the present invention, the fourth time period and the fifth time period are reserved to ensure the correct delivery of beacons, and no data is sent or received during this time period. No data is sent during the fourth time period and the fifth time period to prevent it from affecting the sending of beacon information. At the same time, this time period cannot be too long. If the time period is too long, the real-time nature of data transmission is affected. The time period of 120ms after beacon transmission and 100ms before transmission is selected to ensure real-time nature without affecting the data flow of the business.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

响应于所述第一终端和至少一个其他第一终端开启所述信息接收模式时间相同,所述第一终端经过所述第一时间周期开启所述信息接收模式后进行第六时间长度的时间延迟。In response to the first terminal and at least one other first terminal starting the information receiving mode at the same time, the first terminal performs a time delay of a sixth time length after starting the information receiving mode after the first time period.

在一些实施例中,所述方法还包括:In some embodiments, the method further comprises:

响应于所述第一终端和至少一个其他第一终端开启所述信息接收模式时间相同,所述第一终端经过所述第一时间周期开启所述信息接收模式后进行第六时间长度的时间延迟。In response to the first terminal and at least one other first terminal starting the information receiving mode at the same time, the first terminal performs a time delay of a sixth time length after starting the information receiving mode after the first time period.

在一些实施例中,根据AES加密算法得到所述第六时间长度。In some embodiments, the sixth time length is obtained according to an AES encryption algorithm.

在本发明实施例中,第一终端在beacon接收完成后,根据接收时间调整自身时间,调整时间后,准备定时接收信息,若多第一终端使用同一个时间槽接收数据,则每次接收时间窗口都会重叠,为降低多第一终端始终使用同一时间槽接收的问题,加入一延时时间,延时时间通过AES加密算法,使用当前时间与设备地址进行加密结果计算,使用计算的结果进行时间偏移,网关与第一终端同时进行这一计算,如此重叠的第一终端在下一次beacon接收成功后的会有不同的偏移时间,可错开其接收窗口的重叠问题,加入这一随机的延时可避免多个第一终端始终重叠的问题。In an embodiment of the present invention, after the beacon is received, the first terminal adjusts its own time according to the receiving time. After adjusting the time, it prepares to receive information regularly. If multiple first terminals use the same time slot to receive data, the receiving time windows will overlap each time. In order to reduce the problem that multiple first terminals always use the same time slot for reception, a delay time is added. The delay time uses the AES encryption algorithm to calculate the encryption result using the current time and the device address, and the calculated result is used for time offset. The gateway and the first terminal perform this calculation at the same time. In this way, the overlapping first terminals will have different offset times after the next successful beacon reception, which can stagger the overlapping problem of their receiving windows. Adding this random delay can avoid the problem of multiple first terminals always overlapping.

在一些实施例中,所述第三时间周期为64秒。In some embodiments, the third time period is 64 seconds.

在本发明实施例中,网关的beacon同步时间为64s,前导码长度根据第一终端的定时器工作精度可选择5-10ms,前导码时长应能满足第一终端beacon周期内的时间偏差为宜,如64S内第一终端定时器偏差为+5ms,则前导码长度要大于5ms,以使发送前导码时,第一终端检测无线信号时可以检测到。In an embodiment of the present invention, the beacon synchronization time of the gateway is 64s, and the preamble code length can be selected to be 5-10ms according to the working accuracy of the timer of the first terminal. The preamble code length should be able to meet the time deviation within the beacon period of the first terminal. For example, if the timer deviation of the first terminal within 64S is +5ms, the preamble code length should be greater than 5ms, so that when the preamble code is sent, the first terminal can detect it when detecting the wireless signal.

本发明的另一个实施例公开了一种信息无线收发系统,所述系统包括:Another embodiment of the present invention discloses a wireless information transceiver system, the system comprising:

网关模块,所述网关模块用于时钟同步和数据收发;A gateway module, which is used for clock synchronization and data transmission and reception;

第一终端模块,所述第一终端模块包括至少一个第一终端;A first terminal module, the first terminal module comprising at least one first terminal;

控制装置,所述控制装置被配置为实现上述所述一种信息无线收发方法。A control device, wherein the control device is configured to implement the above-mentioned method for wirelessly sending and receiving information.

本发明的有益效果为:解决因频繁接收网关发送信息导致的第一终端的功耗过高的问题。在网关和第一终端时间同步的前提下,通过前导码唤醒与接收槽的合并应用来完成高效的无线接收,第一终端接收周期可调整,从而适应不同业务要求的响应时间,增加接收周期可进一步降低第一终端功耗,减小接收周期可提高第一终端响应时间,通过调整这一参数灵活控制第一终端工作模式。The beneficial effects of the present invention are: solving the problem of excessive power consumption of the first terminal caused by frequent reception of information sent by the gateway. Under the premise of time synchronization between the gateway and the first terminal, efficient wireless reception is achieved by combining the preamble code wake-up and the receiving slot. The receiving cycle of the first terminal can be adjusted to adapt to the response time required by different services. Increasing the receiving cycle can further reduce the power consumption of the first terminal, and reducing the receiving cycle can increase the response time of the first terminal. By adjusting this parameter, the working mode of the first terminal can be flexibly controlled.

以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离所述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其他技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other.

应理解,本发明的发明内容及实施例中各步骤的序号的大小并不绝对意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。出于示例和描述的目的,已经给出了本公开实施的前述说明。前述说明并非是穷举性的也并非要将本公开限制到所公开的确切形式,根据上述教导还可能存在各种变形和修改,或者是可能从本公开的实践中得到各种变形和修改。选择和描述这些实施例是为了说明本公开的原理及其实际应用,以使得本领域的技术人员能够以适合于构思的特定用途来以各种实施方式和各种修改而利用本公开。本领域的普通技术人员可以理解,上述各实施方式是实现本公开的具体案例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本公开的精神和范围。It should be understood that the size of the sequence number of each step in the content of the invention and the embodiments of the present invention does not absolutely mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention. For the purpose of example and description, the above description of the implementation of the present disclosure has been given. The above description is not exhaustive and is not intended to limit the present disclosure to the exact form disclosed. According to the above teachings, there may be various deformations and modifications, or various deformations and modifications may be obtained from the practice of the present disclosure. These embodiments are selected and described to illustrate the principles of the present disclosure and its practical application, so that those skilled in the art can use the present disclosure in various embodiments and various modifications for the specific purpose suitable for the conception. It can be understood by those of ordinary skill in the art that the above-mentioned embodiments are specific cases for implementing the present disclosure, and in practical applications, various changes can be made to them in form and detail without departing from the spirit and scope of the present disclosure.

Claims (13)

1. An information wireless transceiving method, characterized in that the method comprises the following steps:
Responding to time synchronization of the first terminal and the first gateway, and starting an information receiving mode by the first terminal through a first time period;
the first gateway sends a preamble of a second time length at the first time;
The information receiving mode includes a first receiving period and a second receiving period;
And receiving first information sent by the first gateway in the second receiving period by the first terminal in response to the first terminal receiving the preamble in the first receiving period.
2. The method as recited in claim 1, wherein the method further comprises:
And the first terminal actively requests time synchronization from the first gateway after a third time period passes.
3. The method of claim 1, wherein the first time period is 30 x 2 N ms, N e [0, 11].
4. The method of claim 1, wherein the second time length is twice an error time of the first gateway and the first terminal.
5. The method of claim 1, wherein the first receive period is for receiving the preamble.
6. The method of claim 1, wherein the second receive period is used to receive valid data sent by the first gateway.
7. The method as recited in claim 1, wherein the method further comprises:
And the fourth time period before the first terminal starts the information receiving mode and the fifth time period after the first terminal starts the information receiving mode do not carry out data receiving and transmitting.
8. The method as recited in claim 1, wherein the method further comprises:
And responding to the fact that the first terminal and at least one other first terminal start the information receiving mode for the same time, and performing time delay of a sixth time length after the first terminal starts the information receiving mode for the first time period.
9. The method of claim 2, wherein the third time period is 64 seconds.
10. The method of claim 7, wherein the fourth time period is 100ms.
11. The method of claim 7, wherein the fifth time period is 120ms.
12. The method of claim 8, wherein the sixth length of time is obtained according to an AES encryption algorithm.
13. An information radio transceiver system, the system comprising:
the gateway module is used for clock synchronization and data transceiving;
a first terminal module comprising at least one first terminal;
a control module configured to implement the method of any of claims 1-12.
CN202410637446.9A 2024-05-22 2024-05-22 A method and system for wirelessly transmitting and receiving information Active CN118632330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410637446.9A CN118632330B (en) 2024-05-22 2024-05-22 A method and system for wirelessly transmitting and receiving information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410637446.9A CN118632330B (en) 2024-05-22 2024-05-22 A method and system for wirelessly transmitting and receiving information

Publications (2)

Publication Number Publication Date
CN118632330A true CN118632330A (en) 2024-09-10
CN118632330B CN118632330B (en) 2025-03-11

Family

ID=92606242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410637446.9A Active CN118632330B (en) 2024-05-22 2024-05-22 A method and system for wirelessly transmitting and receiving information

Country Status (1)

Country Link
CN (1) CN118632330B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880775A (en) * 2018-07-20 2018-11-23 东信和平科技股份有限公司 A kind of awakening method and device based on ClassB mode
CN110312299A (en) * 2019-07-11 2019-10-08 京东方科技集团股份有限公司 Communication system, gateway, terminal and communication method based on LoRa technology
US20190372820A1 (en) * 2018-05-31 2019-12-05 Alibaba Group Holding Limited Communication method and apparatus based on relay device, and communication method and apparatus between terminal and base station
CN111405549A (en) * 2019-01-03 2020-07-10 阿里巴巴集团控股有限公司 Communication method and device of terminal and base station
US20210135811A1 (en) * 2019-10-30 2021-05-06 Boe Technology Group Co., Ltd. Communication system, gateway device, terminal device and communication method
CN113543299A (en) * 2020-04-15 2021-10-22 华为技术有限公司 Time synchronization method and device
CN114126017A (en) * 2021-11-26 2022-03-01 华清科盛(北京)信息技术有限公司 Energy-saving method of LoRa bracelet for scheduling and LoRa bracelet for scheduling
CN116132967A (en) * 2023-01-10 2023-05-16 阿里云计算有限公司 Network access method of terminal, communication method of terminal and base station and related equipment
CN117750485A (en) * 2022-09-15 2024-03-22 维沃移动通信有限公司 Method, terminal and network side equipment for acquiring synchronous information
CN117835444A (en) * 2022-09-30 2024-04-05 华为技术有限公司 A resource indication method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190372820A1 (en) * 2018-05-31 2019-12-05 Alibaba Group Holding Limited Communication method and apparatus based on relay device, and communication method and apparatus between terminal and base station
CN108880775A (en) * 2018-07-20 2018-11-23 东信和平科技股份有限公司 A kind of awakening method and device based on ClassB mode
CN111405549A (en) * 2019-01-03 2020-07-10 阿里巴巴集团控股有限公司 Communication method and device of terminal and base station
CN110312299A (en) * 2019-07-11 2019-10-08 京东方科技集团股份有限公司 Communication system, gateway, terminal and communication method based on LoRa technology
US20210135811A1 (en) * 2019-10-30 2021-05-06 Boe Technology Group Co., Ltd. Communication system, gateway device, terminal device and communication method
CN113543299A (en) * 2020-04-15 2021-10-22 华为技术有限公司 Time synchronization method and device
CN114126017A (en) * 2021-11-26 2022-03-01 华清科盛(北京)信息技术有限公司 Energy-saving method of LoRa bracelet for scheduling and LoRa bracelet for scheduling
CN117750485A (en) * 2022-09-15 2024-03-22 维沃移动通信有限公司 Method, terminal and network side equipment for acquiring synchronous information
CN117835444A (en) * 2022-09-30 2024-04-05 华为技术有限公司 A resource indication method and device
CN116132967A (en) * 2023-01-10 2023-05-16 阿里云计算有限公司 Network access method of terminal, communication method of terminal and base station and related equipment

Also Published As

Publication number Publication date
CN118632330B (en) 2025-03-11

Similar Documents

Publication Publication Date Title
EP3094154B1 (en) Efficient discontinuous reception in a mobile network
US8005515B1 (en) Beacon miss prevention in power save modes using timing synchronization function
EP1808030B1 (en) Method of scanning for beacon transmissions in a wlan
US9572102B2 (en) Correction of clock errors in a wireless station to enable reduction of power consumption
US11071058B2 (en) Method and apparatus for low power device synchronization
CN111132291B (en) LPWAN synchronous awakening method based on LoRa
CN111836277A (en) Lora communication method, Lora node and Lora communication system
US20130272455A1 (en) Systems and methods for clock compensation
CN111132287A (en) Lora-based low-delay low-power-consumption downlink communication mechanism
WO2019148486A1 (en) Method and device for low power synchronization in wireless communication
CN111465039B (en) Wireless upgrading method based on Lora technology
CN100581094C (en) A network clock synchronization method for short-range wireless communication network
US20250056441A1 (en) Communication method of electronic shelf label system, system, computer device and storage medium
CN105636190B (en) A kind of micro power radio communication Low-power-consumptiocontrol control method, terminal and system
US20160212723A1 (en) Synchronization method and apparatus
CN118632330A (en) A method and system for wirelessly transmitting and receiving information
CN113225803A (en) Wireless clock synchronization method and device for mining 5G base station
US10554251B1 (en) Low power wake up radio synchronization with low power antenna
TWI777483B (en) Wireless device and associated wireless communication method
CN118301503A (en) Data acquisition method and data acquisition system based on dual-mode communication network
CN115103389B (en) A method for indicating faults in distribution network
CN110809314B (en) Method for synchronizing wireless network beacon frame
CN120110581A (en) A lightweight self-calibration time synchronization method for LoRa sensor networks
CN121240115A (en) A link-level low-power bidirectional relay method for wireless fire alarm systems
CN118678433A (en) A method for reducing power consumption of tags

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
GR01 Patent grant
GR01 Patent grant