Data collection and remote control method and system

A technology of remote control and data acquisition, applied in the field of network communication, to ensure the effect of confirming the reception and ensuring that the reception will not be repeated.

Inactive Publication Date: 2018-12-07
四川爱创科技有限公司
View PDF5 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is to overcome the problem that pre-defined parameters are required for topic publishing...

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
  • Data collection and remote control method and system
  • Data collection and remote control method and system
  • Data collection and remote control method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0041] Such as figure 1 As shown, a method for data collection and remote control proposed by an embodiment of the present invention includes the following steps:

[0042] S0. Preparatory work: the device end and the control end connect to the MQTT server; the device end submits its own machine code and random string to the control end for binding storage; wherein, the device end can communicate with the control end using the HTTP protocol.

[0043] S1. During data collection, the device side publishes messages to the MQTT server with a fixed prefix plus its own machine code as the publishing topic, and the control side uses the fixed prefix corresponding to the device side that needs to collect data plus wildcards as the subscription topic to subscribe to the MQTT server. , the MQTT server automatically pushes the release message of the device to the control terminal according to the subscription topic of the control terminal;

[0044] S2. During remote control, the device s...

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 relates to the field of network communication, and provides a data collection and remote control method aiming at the problem that during existing data collection and remote control, release and subscription of a subject need predetermined parameters. The method comprises the steps as follows: an equipment end and a control end are connected with an MQTT server; the equipment end submits an own machine code and a random character string to the control end to perform binding storage; the equipment end releases a message to the MQTT server by using a fixed prefix and the own machine code as a release subject, and the control end subscribes to the message from the MQTT server by using the fixed prefix and a wildcard character as a subscription subject; and the equipment subscribes to the message from the MQTT server by using the own machine code and the random character string as the subscription subject, the control end releases the message to the MQTT server by using the subscription subject of the equipment as a release subject, and the MQTT server automatically pushes the message according to the subscription subject and the release subject. The method and the systemprovided by the invention are applicable to data collection and remote control of the intelligent equipment.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a method and system for data collection and remote control. Background technique [0002] MQTT (Message Queuing Telemetry Transport, Message Queuing Telemetry Transport) is an open source lightweight communication protocol, which uses the publish and subscribe message push mode, suitable for low bandwidth, unreliable connections, embedded devices and other CPU memory resource constraints device of. [0003] The Chinese patent with the publication number CN104639625A discloses a data concentrator acquisition control method based on MQTT. The method is to use the MQTT protocol to connect to the MQTT server, publish and subscribe topics according to predefined parameters, and then send messages through the MQTT server. Forwarding to achieve data collection and remote control functions, this solution has the following problems: [0004] 1) The method of setting parameters in ad...

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
IPC IPC(8): H04L29/08G06F17/22
CPCH04L67/02H04L67/025G06F40/126H04L67/55
Inventor 戴德军李坤明陈爱君
Owner 四川爱创科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products