[go: up one dir, main page]

CN111065082B - A wireless gateway communication control method and system - Google Patents

A wireless gateway communication control method and system Download PDF

Info

Publication number
CN111065082B
CN111065082B CN201911404565.5A CN201911404565A CN111065082B CN 111065082 B CN111065082 B CN 111065082B CN 201911404565 A CN201911404565 A CN 201911404565A CN 111065082 B CN111065082 B CN 111065082B
Authority
CN
China
Prior art keywords
data
communication
wireless
wireless terminal
buffer storage
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.)
Expired - Fee Related
Application number
CN201911404565.5A
Other languages
Chinese (zh)
Other versions
CN111065082A (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.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
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 Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201911404565.5A priority Critical patent/CN111065082B/en
Publication of CN111065082A publication Critical patent/CN111065082A/en
Application granted granted Critical
Publication of CN111065082B publication Critical patent/CN111065082B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

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

Abstract

The invention discloses a communication control method and a system of a wireless gateway, wherein the system comprises a data source, the wireless gateway and a wireless terminal; the wireless gateway comprises a direct memory access controller, a bus system, a universal asynchronous receiver-transmitter, a first buffer memory, a second buffer memory and a main control unit; the wireless terminal comprises a wireless terminal main control module and a wireless terminal slave machine. The method comprises the following steps: establishing communication connection between the wireless gateway and the data source; receiving communication data sent by a data source by a wireless gateway; storing received communication data into a first-level buffer memory, and determining a receiving buffer full mark of the first-level buffer memory; transferring the communication data from a first-level buffer memory to a second-level buffer memory, and updating a receiving buffer full mark of the first-level buffer memory; and transmitting the communication data from the second-level buffer storage to the wireless terminal. The invention improves the data communication speed of the wireless gateway and the throughput of the wireless gateway, and can be widely applied to the technical field of communication.

Description

一种无线网关的通信控制方法及系统A wireless gateway communication control method and system

技术领域technical field

本发明涉及通信技术领域,尤其是一种无线网关的通信控制方法及系统。The present invention relates to the technical field of communication, in particular to a communication control method and system of a wireless gateway.

背景技术Background technique

目前市场上流行的无线物联网网关通常仅提供一至两种网络的通信功能,如基于TCP/IP网络层协议的Wi-Fi或以太网络,不能同时支持BLE、ZigBee等无线网络。若在手机、电脑或路由器的基础上增加硬件设备则可解决通用性问题,但硬件成本过高,通信效率亦较低,缺乏便携性、易安装性和模块化设计。通常这些支持BLE、ZigBee的物联网网关设备只具备单路的通信功能,同时只能与一台BLE或ZigBee等无线设备进行数据通信,受到通信通道数目的限制,都不能够并行完成多个无线设备的数据通信,极大地限制了通信和控制效率,成为物联网应用中的瓶颈。At present, the popular wireless IoT gateways on the market usually only provide one or two network communication functions, such as Wi-Fi or Ethernet network based on TCP/IP network layer protocol, and cannot support wireless networks such as BLE and ZigBee at the same time. If hardware devices are added on the basis of mobile phones, computers or routers, the generality problem can be solved, but the hardware cost is too high, the communication efficiency is also low, and it lacks portability, easy installation and modular design. Usually, these IoT gateway devices that support BLE and ZigBee only have single-channel communication function, and can only communicate with one wireless device such as BLE or ZigBee at the same time. Due to the limitation of the number of communication channels, they cannot complete multiple wireless devices in parallel. The data communication of devices greatly limits the efficiency of communication and control, and becomes a bottleneck in IoT applications.

上述现有技术中,物联网网关功能单一、吞吐量低,网关功耗大。一般采用的低功耗策略仅是简单利用主控单元在工作状态及睡眠状态之间切换而牺牲性能来实现的。In the above-mentioned prior art, the IoT gateway has a single function, low throughput, and high power consumption of the gateway. The generally adopted low power consumption strategy is simply realized by using the main control unit to switch between the working state and the sleep state at the expense of performance.

所有现有技术均未提及如何在保证高吞吐量的前提下以更低的功耗实现物联网网关的通信。All existing technologies do not mention how to realize the communication of the IoT gateway with lower power consumption on the premise of ensuring high throughput.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供一种高吞吐量且低功耗的,无线网关的通信控制方法及系统。In view of this, embodiments of the present invention provide a communication control method and system for a wireless gateway with high throughput and low power consumption.

本发明的第一方面提供了一种无线网关的通信控制方法,包括:A first aspect of the present invention provides a communication control method for a wireless gateway, including:

建立无线网关与数据源之间的通信连接;Establish a communication connection between the wireless gateway and the data source;

由无线网关接收数据源发送的通信数据;The wireless gateway receives the communication data sent by the data source;

将接收的通信数据存入第一级缓冲存储,并确定所述第一级缓冲存储的接收缓存满标志;storing the received communication data in the first-level buffer storage, and determining the reception buffer full flag of the first-level buffer storage;

将所述通信数据从第一级缓冲存储转移至第二级缓冲存储,更新所述第一级缓冲存储的接收缓存满标志;transferring the communication data from the first-level buffer storage to the second-level buffer storage, and updating the reception buffer full flag of the first-level buffer storage;

将所述通信数据从第二级缓冲存储发送至无线终端。The communication data is sent from the second level buffer storage to the wireless terminal.

进一步,所述将所述通信数据从第二级缓冲存储发送至无线终端,包括以下步骤:Further, the sending of the communication data from the second-level buffer storage to the wireless terminal includes the following steps:

基于预设的时钟周期,控制无线网关的主控单元进入中断调度服务;Based on the preset clock cycle, control the main control unit of the wireless gateway to enter the interrupt scheduling service;

通过无线网关的直接存储器访问控制器从所述第二级缓冲存储中读取通信数据;reading communication data from the second level buffer storage via a direct memory access controller of the wireless gateway;

通过无线网关的总线系统和通用异步收发器,将所述通信数据传输至无线终端主控模块;The communication data is transmitted to the wireless terminal main control module through the bus system of the wireless gateway and the universal asynchronous transceiver;

通过所述无线终端主控模块将所述通信数据传输至无线终端从机。The communication data is transmitted to the wireless terminal slave through the wireless terminal master control module.

进一步,所述通过所述无线终端主控模块将所述通信数据传输至无线终端从机,包括:Further, the transmitting the communication data to the wireless terminal slave through the wireless terminal master control module includes:

建立所述无线终端主控模块与无线终端从机之间的通信连接;establishing a communication connection between the wireless terminal master control module and the wireless terminal slave;

由无线终端主控模块获取服务号;The service number is obtained by the wireless terminal main control module;

根据所述服务号确定通信指令;Determine the communication instruction according to the service number;

根据通信指令将所述通信数据传输至无线终端从机。The communication data is transmitted to the wireless terminal slave according to the communication instruction.

进一步,所述通过无线网关的总线系统和通用异步收发器,将所述通信数据传输至无线终端主控模块,包括:Further, transmitting the communication data to the wireless terminal main control module through the bus system of the wireless gateway and the universal asynchronous transceiver, including:

由无线终端主控模块判断无线终端数据发送完成标志是否有效:The wireless terminal main control module determines whether the wireless terminal data transmission completion flag is valid:

若所述无线终端数据发送完成标志无效,则:If the wireless terminal data transmission completion flag is invalid, then:

根据通用异步收发器忙标志,启动直接存储器访问控制器,控制无线网关的主控单元以第一低功耗模式运行;所述直接存储器访问控制器从第二缓冲存储中分批读取数据,并由总线系统和通用异步收发器,将所述通信数据传输至无线终端主控模块;最后确定无线终端数据发送完成标志;According to the UART busy flag, the direct memory access controller is activated to control the main control unit of the wireless gateway to operate in the first low power consumption mode; the direct memory access controller reads data in batches from the second buffer storage, And by the bus system and the universal asynchronous transceiver, the communication data is transmitted to the wireless terminal main control module; finally, the wireless terminal data transmission completion flag is determined;

若所述无线终端数据发送完成标志有效,则:If the wireless terminal data transmission completion flag is valid, then:

根据通用异步收发器忙标志,控制无线网关的主控单元以第一低功耗模式运行;或者,根据通用异步收发器忙标志,控制无线网关的主控单元以第二低功耗模式运行。According to the UART busy flag, the main control unit controlling the wireless gateway operates in the first low power consumption mode; or, according to the universal asynchronous transceiver busy flag, the main control unit controlling the wireless gateway operates in the second low power consumption mode.

进一步,所述由无线网关接收数据源发送的通信数据,包括:Further, the communication data received by the wireless gateway from the data source includes:

所述数据源接收数据推送的操作指令;The data source receives an operation instruction for data push;

所述数据源根据所述操作指令,通过无线网关的通用异步收发器将通信数据发送至无线网关的WiFi设备;The data source sends the communication data to the WiFi device of the wireless gateway through the universal asynchronous transceiver of the wireless gateway according to the operation instruction;

所述WiFi设备通过无线网关的总线系统将所述通信数据发送至所述第一级缓冲存储。The WiFi device sends the communication data to the first-level buffer storage through the bus system of the wireless gateway.

进一步,所述将接收的通信数据存入第一级缓冲存储,并确定所述第一级缓冲存储的接收缓存满标志,包括:Further, storing the received communication data in the first-level buffer storage, and determining the receiving buffer full flag of the first-level buffer storage, includes:

通过所述第一级缓冲存储接收所述通信数据中的数据帧;Receive data frames in the communication data through the first-level buffer storage;

当所述第一级缓冲存储的存储空间满后,确定所述接收缓存满标志。When the storage space of the first-level buffer storage is full, the receiving buffer full flag is determined.

进一步,所述将所述通信数据从第一级缓冲存储转移至第二级缓冲存储,更新所述第一级缓冲存储的接收缓存满标志,包括:Further, the transferring the communication data from the first-level buffer storage to the second-level buffer storage, and updating the receiving buffer full flag of the first-level buffer storage, includes:

将所述第一级缓冲存储中的数据帧拷贝到第二级缓冲存储中;copying the data frame in the first-level buffer storage to the second-level buffer storage;

当所述第二级缓冲存储的存储空间满后,确定所述发送缓存满标志,以及确定无线终点数据发送标志;When the storage space of the second-level buffer storage is full, determine the sending buffer full flag, and determine the wireless endpoint data sending flag;

每次将第一级缓冲存储中的数据帧拷贝到第二级缓冲存储中时,就修改所述接收缓存满标志,以使所述第一级缓冲存储继续接收来自数据源的通信数据。Each time the data frame in the first-level buffer storage is copied to the second-level buffer storage, the receiving buffer full flag is modified, so that the first-level buffer storage continues to receive communication data from the data source.

进一步,还包括:Further, it also includes:

无线终端从机采用广播或者通信服务的方式与无线网关进行数据通信;The wireless terminal slave performs data communication with the wireless gateway by means of broadcasting or communication services;

其中,所述无线终端从机采用广播的方式与无线网关进行数据通信的步骤中,广播的数据帧包括无线终端地址、固件版本信息、无线终端从机电量及保留信息;所述广播的时间间隔动态可调;Wherein, in the step that the wireless terminal slave performs data communication with the wireless gateway in a broadcast manner, the broadcasted data frame includes the wireless terminal address, firmware version information, power and reservation information of the wireless terminal slave; the broadcast time interval Dynamically adjustable;

所述通信服务包括读服务和写服务,所述读服务用于像无线网关发送数据;所述写服务用于接收无线网关发送的数据。The communication service includes a read service and a write service, the read service is used for sending data to the wireless gateway; the write service is used for receiving data sent by the wireless gateway.

第二方面,本发明实施例还提供了一种无线网关的通信控制系统,包括数据源、无线网关和无线终端;In a second aspect, an embodiment of the present invention further provides a communication control system for a wireless gateway, including a data source, a wireless gateway, and a wireless terminal;

所述无线网关包括直接存储器访问控制器、总线系统、通用异步收发器、第一缓冲存储、第二缓冲存储以及主控单元;The wireless gateway includes a direct memory access controller, a bus system, a universal asynchronous transceiver, a first buffer storage, a second buffer storage and a main control unit;

所述无线终端包括无线终端主控模块和无线终端从机。The wireless terminal includes a wireless terminal master control module and a wireless terminal slave.

第三方面,本发明实施例还提供了一种无线网关的通信控制系统,包括:In a third aspect, an embodiment of the present invention further provides a communication control system for a wireless gateway, including:

通信建立模块,用于建立无线网关与数据源之间的通信连接;A communication establishment module for establishing a communication connection between the wireless gateway and the data source;

第一数据发送模块,用于由无线网关接收数据源发送的通信数据;a first data sending module, used for receiving the communication data sent by the data source by the wireless gateway;

第一缓冲模块,用于将接收的通信数据存入第一级缓冲存储,并确定所述第一级缓冲存储的接收缓存满标志;a first buffer module, configured to store the received communication data in the first-level buffer storage, and determine the reception buffer full flag of the first-level buffer storage;

第二缓冲模块,用于将所述通信数据从第一级缓冲存储转移至第二级缓冲存储,更新所述第一级缓冲存储的接收缓存满标志;a second buffer module, configured to transfer the communication data from the first-level buffer storage to the second-level buffer storage, and update the receiving buffer full flag of the first-level buffer storage;

第二数据发送模块,用于将所述通信数据从第二级缓冲存储发送至无线终端。The second data sending module is configured to send the communication data from the second level buffer storage to the wireless terminal.

上述本发明实施例中的一个或多个技术方案具有如下优点:本发明的实施例在接收到数据源发送的通信数据后,首先将接收的通信数据存入第一级缓冲存储,然后将所述通信数据从第一级缓冲存储转移至第二级缓冲存储,建立了两级数据队列来进行数据通讯,提高了无线网关的数据通信速度,还提高了无线网关的吞吐量。One or more of the technical solutions in the above embodiments of the present invention have the following advantages: after receiving the communication data sent by the data source, the embodiments of the present invention first store the received communication data in the first-level buffer storage, and then store the received communication data in the first-level buffer storage. The communication data is transferred from the first-level buffer storage to the second-level buffer storage, and a two-level data queue is established for data communication, which improves the data communication speed of the wireless gateway and also improves the throughput of the wireless gateway.

附图说明Description of drawings

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

图1为本发明实施例的无线网关结构示意图;FIG. 1 is a schematic structural diagram of a wireless gateway according to an embodiment of the present invention;

图2为本发明实施例的无线网关数据流图;2 is a data flow diagram of a wireless gateway according to an embodiment of the present invention;

图3为本发明实施例的无线终端主控模块与无线终端从机之间的通信流程示意图。FIG. 3 is a schematic diagram of a communication flow between a wireless terminal master control module and a wireless terminal slave according to an embodiment of the present invention.

具体实施方式Detailed ways

下面结合说明书附图和具体实施例对本发明作进一步解释和说明。对于本发明实施例中的步骤编号,其仅为了便于阐述说明而设置,对步骤之间的顺序不做任何限定,实施例中的各步骤的执行顺序均可根据本领域技术人员的理解来进行适应性调整。The present invention will be further explained and illustrated below in conjunction with the accompanying drawings and specific embodiments of the description. The step numbers in the embodiments of the present invention are set only for the convenience of elaboration, and the sequence between the steps is not limited, and the execution sequence of the steps in the embodiments can be performed according to the understanding of those skilled in the art Adaptive adjustment.

针对现有技术的物联网网关功能单一、吞吐量低以及网关功耗大的问题,本申请实施例提供了一种无线网关的通信控制方法及系统,本发明的目的是实现跨越若干异质网络的链路层或传输层之间的可靠通信,提供相邻的两种或若干种异质网络的网关功能,可以使用ZigBee、BLE或Wi-Fi等一种或多种无线网络技术与覆盖范围内的众多无线设备交换数据,并在保证高吞吐量的前提实现可靠、稳定并节能的通信。Aiming at the problems of single function, low throughput and high power consumption of the Internet of Things gateway in the prior art, the embodiments of the present application provide a communication control method and system for a wireless gateway. The purpose of the present invention is to achieve spanning several heterogeneous networks. The reliable communication between the link layer or the transport layer of the network provides the gateway function of two or several adjacent heterogeneous networks, and can use one or more wireless network technologies such as ZigBee, BLE or Wi-Fi and coverage. Many wireless devices within the network exchange data and achieve reliable, stable, and energy-efficient communications while maintaining high throughput.

特别的,通过建立两级“乒乓”缓冲数据队列提高无线物联网网关的数据通信速度。In particular, the data communication speed of the wireless IoT gateway is improved by establishing a two-level "ping-pong" buffered data queue.

通过直接存储器访问控制器(DMAC)与主控单元(MCU)协同工作的方式实现多路无线终端设备并行通信提高无线物联网网关的吞吐量,并同时降低无线物联网网关功耗。The parallel communication of multi-channel wireless terminal devices is realized through the cooperative work of the direct memory access controller (DMAC) and the main control unit (MCU), which improves the throughput of the wireless Internet of things gateway and reduces the power consumption of the wireless Internet of things gateway at the same time.

通过基于时间触发的协同式调度器实现稳定、可靠的通信,并通过状态判断进入不同的低功耗模式保证在高吞吐量前提下的无线物联网网关以更低的功耗进行通信。Stable and reliable communication is achieved through a time-triggered cooperative scheduler, and different low-power modes are entered through state judgment to ensure that the wireless IoT gateway can communicate with lower power consumption under the premise of high throughput.

首先,如图1所示,本申请实施例的无线物联网网关结构包括主控单元(MCU),直接存储器访问控制器(DMAC),总线系统,SDRAM(即本申请实施例的第一缓冲存储),SRAM(即本申请实施例的第二缓冲存储),UART设备1,UART设备2,UART设备3。其中,UART设备1连接Wi-Fi模块实现基于互联网的数据源推送通信,UART设备2和UART设备3可以连接ZigBee、BLE等一种或多种无线设备模块实现基于特定协议的数据源推送通信。First, as shown in FIG. 1 , the structure of the wireless IoT gateway in the embodiment of the present application includes a main control unit (MCU), a direct memory access controller (DMAC), a bus system, and an SDRAM (that is, the first buffer storage in the embodiment of the present application). ), SRAM (that is, the second buffer storage in this embodiment of the present application), UART device 1, UART device 2, and UART device 3. Among them, the UART device 1 is connected to the Wi-Fi module to realize the data source push communication based on the Internet, and the UART device 2 and the UART device 3 can be connected to one or more wireless device modules such as ZigBee and BLE to realize the data source push communication based on a specific protocol.

参照图2,本申请实施例的无线物联网网关中各部分的数据流包括以下步骤:Referring to FIG. 2 , the data flow of each part in the wireless IoT gateway according to the embodiment of the present application includes the following steps:

1、无线物联网网关发起与数据源建立连接的请求;1. The wireless IoT gateway initiates a request to establish a connection with the data source;

2、数据源响应请求、建立连接并维持连接;2. The data source responds to the request, establishes the connection and maintains the connection;

3、无线物联网网关定时向数据源发出“心跳”信息以验证连接存在;3. The wireless IoT gateway periodically sends "heartbeat" information to the data source to verify the existence of the connection;

4、数据源响应“心跳”;4. The data source responds to "heartbeat";

5、完成无线物联网网关与数据源的通信;5. Complete the communication between the wireless IoT gateway and the data source;

6、完成无线物联网网关与无线终端从机的通信;6. Complete the communication between the wireless IoT gateway and the wireless terminal slave;

7、完成无线物联网网关对无线终端从机数据推送的响应。7. Complete the response of the wireless IoT gateway to the data push of the wireless terminal slave.

8、完成数据源与无线物联网网关数据推送的响应。8. Complete the data push response from the data source and the wireless IoT gateway.

无线物联网网关与数据源的通信是基于客户端/服务端模式的,其中无线物联网网关为客户端,数据源为服务端。The communication between the wireless IoT gateway and the data source is based on the client/server model, in which the wireless IoT gateway is the client and the data source is the server.

数据源实时判断是否接收到数据推送的操作指令,若是,则执行相应的操作指令后,完成数据源与无线物联网网关之间的通信,并由无线物联网网关反馈通信的结果。The data source judges in real time whether the operation instruction of data push is received, and if so, after executing the corresponding operation instruction, the communication between the data source and the wireless IoT gateway is completed, and the communication result is fed back by the wireless IoT gateway.

无线物联网网关与无线终端从机的通信是基于客户端/服务端模式的,其中无线物联网网关为客户端,无线终端从机为服务端。The communication between the wireless IoT gateway and the wireless terminal slave is based on the client/server mode, wherein the wireless IoT gateway is the client and the wireless terminal slave is the server.

无线物联网网关实时判断是否接收到数据源的操作指令,若是,则根据无线终端从机地址进行扫描,扫描发现相应无线终端从机后发出服务申请请求,在完成无线物联网网关与无线终端从机之间的通信后反馈通信的结果,并把无线物联网网关与无线终端从机之间的通信连接断开,至此完成一次完整的数据源与无线终端之间的数据通信过程。The wireless IoT gateway judges in real time whether it has received the operation instruction of the data source, and if so, scans according to the slave address of the wireless terminal, and sends out a service application request after scanning to find the corresponding wireless terminal slave. After the communication between the devices, the communication results are fed back, and the communication connection between the wireless IoT gateway and the wireless terminal slave is disconnected, and a complete data communication process between the data source and the wireless terminal is completed.

也就是说,本申请实施例利用软硬件协同实现两级“乒乓缓存”及多路无线终端设备的并行通信以提高无线物联网网关的吞吐量。还设计了两种不同的低功耗模式,通过直接存储器访问控制器(DMAC)与主控单元(MCU)协同工作的方式在保证高吞吐量前提下降低无线物联网网关功耗。That is to say, the embodiments of the present application utilize software and hardware cooperation to implement two-level "ping-pong cache" and parallel communication of multiple wireless terminal devices to improve the throughput of the wireless Internet of Things gateway. Two different low-power modes are also designed to reduce the power consumption of the wireless IoT gateway under the premise of ensuring high throughput by means of the direct memory access controller (DMAC) and the main control unit (MCU) working together.

在一些实施例中:通过UART设备1连接Wi-Fi模块实现基于互联网的数据源推送通信,通过UART设备2、和UART设备3连接BLE无线终端主控模块。In some embodiments: the UART device 1 is connected to the Wi-Fi module to implement Internet-based data source push communication, and the UART device 2 and the UART device 3 are connected to the BLE wireless terminal main control module.

下面描述本申请的数据源与无线物联网网关之间的通信过程:The communication process between the data source of this application and the wireless IoT gateway is described below:

无线物联网网关与数据源的通信是基于客户端/服务端模式的,其中无线物联网网关为客户端,数据源为服务端。The communication between the wireless IoT gateway and the data source is based on the client/server model, in which the wireless IoT gateway is the client and the data source is the server.

数据源实时判断是否接收到数据推送的操作指令,若是,则执行相应的操作指令后,将数据发送到连接至UART设备1的Wi-Fi设备,无线物联网网关通过Wi-Fi设备将接收的数据通过总线系统存储至SDRAM的两级“乒乓”缓冲存储中:第一级缓冲存储是“接收缓存”,用于接收数据源推送的的数据帧,并在“接收缓存”满后给出对应“接收缓存满标志”;第二级缓冲存储是“发送缓存”,即将“接收缓存”的数据帧拷贝至其中,并在“发送缓存”满后给出对应“发送缓存满标志”,同时设置“无线终端数据发送标志”为有效;每释放一个接收缓存区则修改其“接收缓存满标志”以保证“接收缓存”可以继续接收来自数据源的推送数据,至此完成数据源与无线物联网网关之间的推送,然后反馈通信结果。The data source judges in real time whether it has received the operation instruction of data push, and if so, executes the corresponding operation instruction, and sends the data to the Wi-Fi device connected to the UART device 1, and the wireless IoT gateway will receive the received data through the Wi-Fi device. The data is stored in the two-level "ping-pong" buffer storage of SDRAM through the bus system: the first-level buffer storage is the "receive buffer", which is used to receive the data frame pushed by the data source, and gives the corresponding data when the "receive buffer" is full. "Receive buffer full flag"; the second level of buffer storage is "send buffer", that is, copy the data frame of "receive buffer" into it, and give the corresponding "send buffer full flag" when the "send buffer" is full, and set it at the same time "Wireless terminal data sending flag" is valid; each time a receiving buffer area is released, its "receiving buffer full flag" is modified to ensure that the "receiving buffer" can continue to receive push data from the data source, and the data source and the wireless IoT gateway are now completed. push between each other, and then feedback the communication results.

需要说明的是,本申请实施例的BLE无线终端包括BLE无线终端主控模块及BLE无线终端从机,BLE无线终端从机有两种服务工作状态:广播与通信服务,其中通信服务包括读取/发送数据。It should be noted that the BLE wireless terminal in this embodiment of the present application includes a BLE wireless terminal master control module and a BLE wireless terminal slave. The BLE wireless terminal slave has two service working states: broadcasting and communication services, wherein the communication service includes reading /send data.

广播的数据帧带有无线终端地址、固件版本、无线终端从机电量及保留信息等数据,广播的间隔可动态调整,越长的间隔意味着更省电的工作方式。The broadcast data frame contains data such as wireless terminal address, firmware version, wireless terminal slave power and reserved information. The broadcast interval can be dynamically adjusted. The longer the interval, the more power-saving working mode.

BLE无线终端从机提供两个基本服务,分别为读特性及写特性,前者用于向无线物联网网关发送数据,后者用于接收无线物联网网关的数据。The BLE wireless terminal slave provides two basic services, namely the read feature and the write feature. The former is used to send data to the wireless IoT gateway, and the latter is used to receive data from the wireless IoT gateway.

参照图3,下面详细说明无线物联网网关与无线终端从机之间的通信过程,主要包括两个部分P1和P2。Referring to FIG. 3 , the communication process between the wireless IoT gateway and the wireless terminal slave is described in detail below, which mainly includes two parts P1 and P2.

第一部分P1是主控单元(MCU)按照设定的“时钟周期”进入中断调度服务,利用直接存储器访问控制器(DMAC)实现从SDRAM的“发送缓存”中读取设定数量的数据通过总线系统到UART设备2或UART设备3连接的BLE无线终端主控模块的通信。主控单元(MCU)首先判断“无线终端数据发送完成标志”是否有效:The first part P1 is that the main control unit (MCU) enters the interrupt scheduling service according to the set "clock cycle", and uses the direct memory access controller (DMAC) to read the set amount of data from the "transmit buffer" of the SDRAM through the bus. Communication from the system to the BLE wireless terminal master module connected to UART device 2 or UART device 3. The main control unit (MCU) first judges whether the "wireless terminal data transmission completion flag" is valid:

-1:若无效,则判断“UART设备忙标志”状态,若不忙,则启动直接存储器访问控制器(DMAC),同时使主控单元(MCU)进入“Low Power Mode 1”以实现低功耗运行,直到下一个“时钟周期”中断再次进入正常工作。直接存储器访问控制器(DMAC)按照设置的数据量从SDRAM的“发送缓存”中分批读取数据通过总线系统发送至UART设备2或UART设备3连接的BLE无线终端主控模块,并设置“UART设备2”或“UART设备3”“UART设备忙标志”,直至“发送缓存”中的数据发送完毕为止,同时设置“无线终端数据发送完成标志”。-1: If invalid, judge the status of "UART device busy flag", if not, start the direct memory access controller (DMAC), and at the same time make the main control unit (MCU) enter "Low Power Mode 1" to achieve low power run until the next "clock cycle" interrupt to resume normal operation. The direct memory access controller (DMAC) reads data in batches from the "transmit buffer" of the SDRAM according to the set amount of data, and sends it to the BLE wireless terminal main control module connected to UART device 2 or UART device 3 through the bus system, and sets " UART device 2" or "UART device 3" "UART device busy flag", until the data in the "transmission buffer" is sent, and set the "wireless terminal data transmission completion flag" at the same time.

-2:若有效,则判断“UART设备忙标志”状态,若忙则使主控单元(MCU)进入“LowPower Mode 1”(即第一低功耗模式)以实现低功耗运行,直到下一个“时钟周期”中断再次进入正常工作;若不忙,则将主控单元(MCU)设置为“Low Power Mode 2”(即第二低功耗模式)进入极低功耗工作状态,直到下一个“时钟周期”中断再次进入正常工作。-2: If it is valid, judge the status of "UART device busy flag", if it is busy, make the main control unit (MCU) enter "LowPower Mode 1" (ie the first low power consumption mode) to realize low power consumption operation, until the next A "clock cycle" interrupt enters normal work again; if it is not busy, the main control unit (MCU) is set to "Low Power Mode 2" (ie, the second low power consumption mode) to enter a very low power consumption working state until the next A "clock cycle" interrupt enters normal operation again.

第二部分P2是BLE无线终端主控模块到BLE无线终端从机的通信如图3所示,BLE无线终端主控模块与BLE无线终端从机通信的前提是已经建立了通信连接且已接收到在直接存储器访问控制器(DMAC)控制下由SDRAM的“发送缓存”中读取的设定数量的数据并通过总线系统发送到UART设备2或UART设备3连接的BLE无线终端主控模块中。BLE无线终端从机的每个服务都有唯一的UUID号,不同的UUID代表不同的服务。BLE无线终端主控模块通过服务的UUID可以找到服务里面由哪些特性组成,每一个特性也有其唯一的UUID号,BLE无线终端主控模块得到特性的UUID后,即可以通过该特性的UUID获取特性的句柄,得到了特性的句柄(handler)后,即可以向特性值写数据,以实现从BLE无线终端主控模块到BLE无线终端从机的数据通信,并获取通信成功与否的状态。The second part P2 is the communication between the BLE wireless terminal master control module and the BLE wireless terminal slave. As shown in Figure 3, the premise of the BLE wireless terminal master control module and the BLE wireless terminal slave communication is that a communication connection has been established and received The set amount of data read from the "transmit buffer" of the SDRAM under the control of the direct memory access controller (DMAC) is sent to the BLE wireless terminal main control module connected to the UART device 2 or UART device 3 through the bus system. Each service of the BLE wireless terminal slave has a unique UUID number, and different UUIDs represent different services. The BLE wireless terminal main control module can find out which features are composed of the service through the UUID of the service. Each feature also has its unique UUID number. After the BLE wireless terminal main control module obtains the UUID of the feature, it can obtain the feature through the UUID of the feature. After getting the handle of the characteristic, you can write data to the characteristic value to realize the data communication from the BLE wireless terminal master control module to the BLE wireless terminal slave, and obtain the status of whether the communication is successful or not.

本发明实施例还提供了一种无线网关的通信控制系统,包括数据源、无线网关和无线终端;The embodiment of the present invention also provides a communication control system for a wireless gateway, including a data source, a wireless gateway and a wireless terminal;

所述无线网关包括直接存储器访问控制器、总线系统、通用异步收发器、第一缓冲存储、第二缓冲存储以及主控单元;The wireless gateway includes a direct memory access controller, a bus system, a universal asynchronous transceiver, a first buffer storage, a second buffer storage and a main control unit;

所述无线终端包括无线终端主控模块和无线终端从机。The wireless terminal includes a wireless terminal master control module and a wireless terminal slave.

本发明实施例还提供了一种无线网关的通信控制系统,包括:An embodiment of the present invention also provides a communication control system for a wireless gateway, including:

通信建立模块,用于建立无线网关与数据源之间的通信连接;A communication establishment module for establishing a communication connection between the wireless gateway and the data source;

第一数据发送模块,用于由无线网关接收数据源发送的通信数据;a first data sending module, used for receiving the communication data sent by the data source by the wireless gateway;

第一缓冲模块,用于将接收的通信数据存入第一级缓冲存储,并确定所述第一级缓冲存储的接收缓存满标志;a first buffer module, configured to store the received communication data in the first-level buffer storage, and determine the reception buffer full flag of the first-level buffer storage;

第二缓冲模块,用于将所述通信数据从第一级缓冲存储转移至第二级缓冲存储,更新所述第一级缓冲存储的接收缓存满标志;a second buffer module, configured to transfer the communication data from the first-level buffer storage to the second-level buffer storage, and update the receiving buffer full flag of the first-level buffer storage;

第二数据发送模块,用于将所述通信数据从第二级缓冲存储发送至无线终端。The second data sending module is configured to send the communication data from the second level buffer storage to the wireless terminal.

综上所述,本申请一种无线网关的通信控制方法及系统具有以下优点:In summary, a communication control method and system for a wireless gateway of the present application has the following advantages:

本申请设计了一种无线物联网网关,实现跨越若干异质网络的链路层或传输层之间的可靠通信,提供相邻的两种或若干种异质网络的网关功能,可以使用ZigBee、BLE或Wi-Fi等一种或多种无线网络技术与覆盖范围内的众多无线终端设备交换数据,并在保证高吞吐量的前提实现可靠、稳定并节能的通信。This application designs a wireless Internet of Things gateway, which realizes reliable communication across the link layer or transport layer of several heterogeneous networks, provides the gateway function of two or several adjacent heterogeneous networks, and can use ZigBee, One or more wireless network technologies such as BLE or Wi-Fi exchange data with many wireless terminal devices within the coverage area, and achieve reliable, stable and energy-saving communication on the premise of ensuring high throughput.

通过建立两级“乒乓缓存”数据队列提高无线物联网网关的数据通信速度,通过直接存储器访问控制器(DMAC)与主控单元(MCU)协同工作的方式实现多路无线终端设备并行通信提高无线物联网网关的吞吐量,并设计两种不同低功耗模式以降低无线物联网网关功耗。The data communication speed of the wireless Internet of Things gateway is improved by establishing a two-level "ping-pong cache" data queue, and the parallel communication of multi-channel wireless terminal equipment is realized through the cooperative work of the direct memory access controller (DMAC) and the main control unit (MCU). The throughput of the IoT gateway, and two different low-power modes are designed to reduce the power consumption of the wireless IoT gateway.

在一些可选择的实施例中,在方框图中提到的功能/操作可以不按照操作示图提到的顺序发生。例如,取决于所涉及的功能/操作,连续示出的两个方框实际上可以被大体上同时地执行或所述方框有时能以相反顺序被执行。此外,在本发明的流程图中所呈现和描述的实施例以示例的方式被提供,目的在于提供对技术更全面的理解。所公开的方法不限于本文所呈现的操作和逻辑流程。可选择的实施例是可预期的,其中各种操作的顺序被改变以及其中被描述为较大操作的一部分的子操作被独立地执行。In some alternative implementations, the functions/operations noted in the block diagrams may occur out of the order noted in the operational diagrams. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/operations involved. Furthermore, the embodiments presented and described in the flowcharts of the present invention are provided by way of example in order to provide a more comprehensive understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of the various operations are altered and in which sub-operations described as part of larger operations are performed independently.

此外,虽然在功能性模块的背景下描述了本发明,但应当理解的是,除非另有相反说明,所述的功能和/或特征中的一个或多个可以被集成在单个物理装置和/或软件模块中,或者一个或多个功能和/或特征可以在单独的物理装置或软件模块中被实现。还可以理解的是,有关每个模块的实际实现的详细讨论对于理解本发明是不必要的。更确切地说,考虑到在本文中公开的装置中各种功能模块的属性、功能和内部关系的情况下,在工程师的常规技术内将会了解该模块的实际实现。因此,本领域技术人员运用普通技术就能够在无需过度试验的情况下实现在权利要求书中所阐明的本发明。还可以理解的是,所公开的特定概念仅仅是说明性的,并不意在限制本发明的范围,本发明的范围由所附权利要求书及其等同方案的全部范围来决定。Furthermore, while the invention is described in the context of functional modules, it is to be understood that, unless stated to the contrary, one or more of the described functions and/or features may be integrated in a single physical device and/or or software modules, or one or more functions and/or features may be implemented in separate physical devices or software modules. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary to understand the present invention. Rather, given the attributes, functions, and internal relationships of the various functional modules in the apparatus disclosed herein, the actual implementation of the modules will be within the routine skill of the engineer. Accordingly, those skilled in the art, using ordinary skill, can implement the invention as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are illustrative only and are not intended to limit the scope of the invention, which is to be determined by the appended claims along with their full scope of equivalents.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管已经示出和描述了本发明的实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, The scope of the invention is defined by the claims and their equivalents.

以上是对本发明的较佳实施进行了具体说明,但本发明并不限于所述实施例,熟悉本领域的技术人员在不违背本发明精神的前提下还可做作出种种的等同变形或替换,这些等同的变形或替换均包含在本申请权利要求所限定的范围内。The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the described embodiments, and those skilled in the art can also make various equivalent deformations or replacements without departing from the spirit of the present invention, These equivalent modifications or substitutions are all included within the scope defined by the claims of the present application.

Claims (5)

1.一种无线网关的通信控制方法,其特征在于,包括:1. A communication control method for a wireless gateway, comprising: 建立无线网关与数据源之间的通信连接;Establish a communication connection between the wireless gateway and the data source; 由无线网关接收数据源发送的通信数据;The wireless gateway receives the communication data sent by the data source; 将接收的通信数据存入第一级缓冲存储,并确定所述第一级缓冲存储的接收缓存满标志;storing the received communication data in the first-level buffer storage, and determining the reception buffer full flag of the first-level buffer storage; 将所述通信数据从第一级缓冲存储转移至第二级缓冲存储,更新所述第一级缓冲存储的接收缓存满标志;transferring the communication data from the first-level buffer storage to the second-level buffer storage, and updating the reception buffer full flag of the first-level buffer storage; 将所述通信数据从第二级缓冲存储发送至无线终端;sending the communication data from the second level buffer storage to the wireless terminal; 所述将所述通信数据从第二级缓冲存储发送至无线终端,包括以下步骤:The sending of the communication data from the second-level buffer storage to the wireless terminal includes the following steps: 基于预设的时钟周期,控制无线网关的主控单元进入中断调度服务;Based on the preset clock cycle, control the main control unit of the wireless gateway to enter the interrupt scheduling service; 通过无线网关的直接存储器访问控制器从所述第二级缓冲存储中读取通信数据;reading communication data from the second level buffer storage via a direct memory access controller of the wireless gateway; 通过无线网关的总线系统和通用异步收发器,将所述通信数据传输至无线终端主控模块;The communication data is transmitted to the wireless terminal main control module through the bus system of the wireless gateway and the universal asynchronous transceiver; 通过所述无线终端主控模块将所述通信数据传输至无线终端从机;transmitting the communication data to the wireless terminal slave through the wireless terminal master control module; 所述通过所述无线终端主控模块将所述通信数据传输至无线终端从机,包括:The transmitting the communication data to the wireless terminal slave through the wireless terminal master control module includes: 建立所述无线终端主控模块与无线终端从机之间的通信连接;establishing a communication connection between the wireless terminal master control module and the wireless terminal slave; 由无线终端主控模块获取服务号;The service number is obtained by the wireless terminal main control module; 根据所述服务号确定通信指令;Determine the communication instruction according to the service number; 根据通信指令将所述通信数据传输至无线终端从机;transmit the communication data to the wireless terminal slave according to the communication instruction; 所述通过无线网关的总线系统和通用异步收发器,将所述通信数据传输至无线终端主控模块,包括:The communication data is transmitted to the wireless terminal main control module through the bus system of the wireless gateway and the universal asynchronous transceiver, including: 由无线终端主控模块判断无线终端数据发送完成标志是否有效:The wireless terminal main control module determines whether the wireless terminal data transmission completion flag is valid: 若所述无线终端数据发送完成标志无效,则:If the wireless terminal data transmission completion flag is invalid, then: 根据通用异步收发器忙标志,启动直接存储器访问控制器,控制无线网关的主控单元以第一低功耗模式运行;所述直接存储器访问控制器从第二缓冲存储中分批读取数据,并由总线系统和通用异步收发器,将所述通信数据传输至无线终端主控模块;最后确定无线终端数据发送完成标志;According to the UART busy flag, the direct memory access controller is activated to control the main control unit of the wireless gateway to operate in the first low power consumption mode; the direct memory access controller reads data in batches from the second buffer storage, And by the bus system and the universal asynchronous transceiver, the communication data is transmitted to the wireless terminal main control module; finally, the wireless terminal data transmission completion flag is determined; 若所述无线终端数据发送完成标志有效,则:If the wireless terminal data transmission completion flag is valid, then: 根据通用异步收发器忙标志,控制无线网关的主控单元以第一低功耗模式运行;或者,根据通用异步收发器忙标志,控制无线网关的主控单元以第二低功耗模式运行。According to the UART busy flag, the main control unit controlling the wireless gateway operates in the first low power consumption mode; or, according to the UART busy flag, the main control unit controlling the wireless gateway operates in the second low power consumption mode. 2.根据权利要求1所述的一种无线网关的通信控制方法,其特征在于,所述由无线网关接收数据源发送的通信数据,包括:2 . The communication control method for a wireless gateway according to claim 1 , wherein the receiving, by the wireless gateway, the communication data sent by the data source comprises: 2 . 所述数据源接收数据推送的操作指令;The data source receives an operation instruction for data push; 所述数据源根据所述操作指令,通过无线网关的通用异步收发器将通信数据发送至无线网关的WiFi设备;The data source sends the communication data to the WiFi device of the wireless gateway through the universal asynchronous transceiver of the wireless gateway according to the operation instruction; 所述WiFi设备通过无线网关的总线系统将所述通信数据发送至所述第一级缓冲存储。The WiFi device sends the communication data to the first-level buffer storage through the bus system of the wireless gateway. 3.根据权利要求1所述的一种无线网关的通信控制方法,其特征在于,所述将接收的通信数据存入第一级缓冲存储,并确定所述第一级缓冲存储的接收缓存满标志,包括:3. The communication control method of a wireless gateway according to claim 1, wherein the received communication data is stored in the first-level buffer storage, and it is determined that the reception buffer of the first-level buffer storage is full signs, including: 通过所述第一级缓冲存储接收所述通信数据中的数据帧;Receive data frames in the communication data through the first-level buffer storage; 当所述第一级缓冲存储的存储空间满后,确定所述接收缓存满标志。When the storage space of the first-level buffer storage is full, the receiving buffer full flag is determined. 4.根据权利要求3所述的一种无线网关的通信控制方法,其特征在于,所述将所述通信数据从第一级缓冲存储转移至第二级缓冲存储,更新所述第一级缓冲存储的接收缓存满标志,包括:4 . The communication control method of a wireless gateway according to claim 3 , wherein, by transferring the communication data from the first-level buffer storage to the second-level buffer storage, the first-level buffer is updated. 5 . Stored receive buffer full flags, including: 将所述第一级缓冲存储中的数据帧拷贝到第二级缓冲存储中;copying the data frame in the first-level buffer storage to the second-level buffer storage; 当所述第二级缓冲存储的存储空间满后,确定发送缓存满标志,以及确定无线终点数据发送标志;When the storage space of the second-level buffer storage is full, determine the sending buffer full flag, and determine the wireless endpoint data sending flag; 每次将第一级缓冲存储中的数据帧拷贝到第二级缓冲存储中时,就修改所述接收缓存满标志,以使所述第一级缓冲存储继续接收来自数据源的通信数据。Each time the data frame in the first-level buffer storage is copied to the second-level buffer storage, the receiving buffer full flag is modified, so that the first-level buffer storage continues to receive communication data from the data source. 5.根据权利要求1-4任一项所述的一种无线网关的通信控制方法,其特征在于,还包括:5. The communication control method of a wireless gateway according to any one of claims 1-4, characterized in that, further comprising: 无线终端从机采用广播或者通信服务的方式与无线网关进行数据通信;The wireless terminal slave performs data communication with the wireless gateway by means of broadcasting or communication services; 其中,所述无线终端从机采用广播的方式与无线网关进行数据通信的步骤中,广播的数据帧包括无线终端地址、固件版本信息、无线终端从机电量及保留信息;所述广播的时间间隔动态可调;Wherein, in the step that the wireless terminal slave performs data communication with the wireless gateway in a broadcast manner, the broadcasted data frame includes the wireless terminal address, firmware version information, power and reservation information of the wireless terminal slave; the broadcast time interval Dynamically adjustable; 所述通信服务包括读服务和写服务,所述读服务用于像无线网关发送数据;所述写服务用于接收无线网关发送的数据。The communication service includes a read service and a write service, the read service is used for sending data to the wireless gateway; the write service is used for receiving data sent by the wireless gateway.
CN201911404565.5A 2019-12-31 2019-12-31 A wireless gateway communication control method and system Expired - Fee Related CN111065082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911404565.5A CN111065082B (en) 2019-12-31 2019-12-31 A wireless gateway communication control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911404565.5A CN111065082B (en) 2019-12-31 2019-12-31 A wireless gateway communication control method and system

Publications (2)

Publication Number Publication Date
CN111065082A CN111065082A (en) 2020-04-24
CN111065082B true CN111065082B (en) 2022-07-19

Family

ID=70305233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911404565.5A Expired - Fee Related CN111065082B (en) 2019-12-31 2019-12-31 A wireless gateway communication control method and system

Country Status (1)

Country Link
CN (1) CN111065082B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340404A (en) * 2008-08-14 2009-01-07 山东大学 Embedded gateway for protocol conversion between WiFi and ZigBee wireless network
KR20090037724A (en) * 2007-10-12 2009-04-16 조병순 Ubiquitous smart gateway and its operation method.
CN102026290A (en) * 2010-12-16 2011-04-20 华为终端有限公司 Wireless mobile gateway and method for responding user access by same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102014113336A1 (en) * 2014-09-16 2016-03-17 Ice Gateway Gmbh Device and method for managing a network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090037724A (en) * 2007-10-12 2009-04-16 조병순 Ubiquitous smart gateway and its operation method.
CN101340404A (en) * 2008-08-14 2009-01-07 山东大学 Embedded gateway for protocol conversion between WiFi and ZigBee wireless network
CN102026290A (en) * 2010-12-16 2011-04-20 华为终端有限公司 Wireless mobile gateway and method for responding user access by same

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"物联网网关的设计与实现";徐勤丰;《中国优秀博硕士学位论文全文数据库(硕士)信息科技I辑》;20170615;正文第2-4章 *
"面向工业自动化应用的智能网关设计";张皓栋 等;《自动化应用》;20160625;正文第3章 *

Also Published As

Publication number Publication date
CN111065082A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
RU2319311C2 (en) Method for power-efficient planning of channels in wireless network
CN101971675B (en) Wireless network including post groupcast time
US11265814B2 (en) Implementation method of low power consumption internet of things based on proxy apparatus
JP4489452B2 (en) Method and apparatus for managing power in a network interface module
TWI452849B (en) Mobile communication device and communicative transmission method
WO2018201476A1 (en) Multicast bearer management method and terminal device
WO2012037831A1 (en) Energy-saving management method, system for wireless sensor network and remote management server
PT2357755E (en) Negotiation of sleep intervals in a network
JP2015534413A (en) System and method for power saving in wireless communications
CN103906207A (en) Wireless sensor network data transmission method based on self-adaptation required awakening technology
CN105813077A (en) Communication method for reducing cost and terminal power consumption based on 802.11ah
WO2009124475A1 (en) A method, a system and a terminal of supporting working in a power-saving mode
JP2012100172A (en) Communication device, control method for communication device, and program
US7289518B2 (en) Method and apparatus for reducing power consumption in a wireless network station
JP2013186904A (en) Wireless access point, wireless station and operation method thereof
JP5768017B2 (en) Communication terminal, communication method, and communication program
US20110239024A1 (en) Low Power Consumption Network Device and Communication Method Thereof
CN112511992A (en) Method, device and medium for data interaction after dormancy awakening of Bluetooth MESH low-power-consumption node
WO2010124494A1 (en) Control method of terminal working modes
CN111065082B (en) A wireless gateway communication control method and system
CN102202377B (en) A kind of method for sending information, system and device
CN108616924B (en) Large data distribution method based on priority dynamic switching in wireless network
CN101014049B (en) Method for managing timer of terminal wireless communication protocol stack software
KR102059409B1 (en) Sleep mode control method based on IP
CN107396433B (en) Energy-saving method and STA of wireless local area network based on NDN architecture

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220719