Unlock instant, AI-driven research and patent intelligence for your innovation.

Network data interaction method and system, and gateway

A technology of network data and interaction method, which is applied in the field of gateway, network data interaction method and system, and can solve problems such as single connection mode of communication network and complex wiring of smart home

Pending Publication Date: 2020-10-27
浙江绿碳智能建筑有限公司 +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a network data interaction method, system, and gateway, which solve the problems that the existing technology cannot realize direct docking with the standard universal platform for further conversion or secondary development, the connection mode of the communication network is single, and the wiring of the smart home is relatively complicated.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network data interaction method and system, and gateway
  • Network data interaction method and system, and gateway
  • Network data interaction method and system, and gateway

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] The embodiment of the present invention provides a network data interaction method, including: the gateway receives the uplink data packet of the terminal device and the server downlink instruction; the server instruction data packet is put into the gateway first-in-first-out queue QueueC; and the queue head position is obtained from the first-in-first-out queue QueueC downlink packets.

[0033] Preferably, after the gateway receives the terminal device uplink data packet and the server downlink instruction, it includes: the server downlink instruction is cached in the gateway first-in-first-out queue QueueA; when the gateway receives the terminal device data packet uplink, the gateway downlink buffers the server downlink instruction, The terminal device uploads business data to the server;

[0034] When the gateway receives the terminal data packet uplink and does not trigger the gateway downlink cache server downlink instruction, the terminal device resends the data p...

Embodiment 2

[0037] The embodiment of the present invention provides a network data interaction method, including: the gateway receives the uplink data packet of the terminal device and the server downlink instruction; the server instruction data packet is put into the gateway first-in-first-out queue QueueC; and the queue head position is obtained from the first-in-first-out queue QueueC downlink packets.

[0038] Preferably, obtaining the downlink data packet at the queue head position from the first-in-first-out queue QueueC also includes: if the downlink data packet exists, then continue to inquire until the queue is empty; if the downlink data packet does not exist, then pop up the The downlink data packet is sent, and the receiving timeout waiting mechanism is set after the sending of the downlink data packet is completed.

[0039] Preferably, if the downlink data packet does not exist, pop up the downlink data packet, set the receiving timeout waiting mechanism after sending the dow...

Embodiment 3

[0043] An embodiment of the present invention provides a network data interaction system, including: a gateway, a server, and a terminal device. The network transmission protocol TCP / IP is used between the gateway and the server, and the gateway joins a heartbeat mechanism; the gateway and the terminal The LoRa spread spectrum technology is used between the devices as the physical layer transmission technology; the link layer between the gateway and the terminal device is implemented using the LoRaWAN protocol combined with multi-thread inter-thread synchronization technology.

[0044] Preferably, the LoRa spread spectrum technology is used as the physical layer transmission technology between the gateway and the terminal device, and further includes: when the LoRa spread spectrum factor is SF=7, the signal transmission rate is the highest.

[0045] Preferably, the link layer between the gateway and the terminal device uses the LoRaWAN protocol, and also includes: a first threa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a network data interaction method. The method comprises the following steps: a gateway receives an uplink data packet of terminal equipment and a downlink instruction of a server; the server instructs a data packet to be put into a gateway first-in first-out queue QueueC; and a downlink data packet at the queue header position is acquired from the first-in first-out queue Queue C. The problems that in the prior art, direct connection with a standard universal platform cannot be achieved, conversion or secondary development is conducted again, the mode of connecting a communication network is single, and smart home wiring is complex are solved, and user real-time control equipment interaction logic and active uplink type equipment interaction logic are achieved.

Description

technical field [0001] The invention relates to the field of gateways and data interaction, in particular to a network data interaction method and system, and a gateway. Background technique [0002] A communication system may be seen as a facility that enables a communication session between two or more entities such as fixed or mobile communication devices, base stations, servers and / or other communication nodes. Communication systems and compatible communicating entities typically operate according to a given standard or specification that sets out what the various entities associated with the system are allowed to do and how these should be implemented. For example, standards, specifications, and related protocols may define how communication devices access a communication system and how various aspects of communication between communication devices should be implemented. Communications may be carried over wired or wireless carriers. [0003] Due to the wide coverage o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/66H04L12/861
CPCH04L12/66H04L49/9005H04L49/90H04L49/9042
Inventor 钟晨聂仙忠
Owner 浙江绿碳智能建筑有限公司