Remote data transmission terminal and system, and encoding and decoding methods of remote data transmission protocol

A technology of remote data transmission and encoding method, which is applied in the field of industrial Internet of Things data transmission, can solve problems such as unfavorable development of industrial Internet of Things, inability to store special characters, complex escape, etc., to reduce access workload, improve integration efficiency, The effect of fast transfer rate

Active Publication Date: 2017-05-31
杭州塔网科技有限公司
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, in the field of industrial Internet of Things, the interactive information between intelligent terminals, ERP, MES, PDM and other systems still adopts data formats such as XML and JSON. XML

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
  • Remote data transmission terminal and system, and encoding and decoding methods of remote data transmission protocol
  • Remote data transmission terminal and system, and encoding and decoding methods of remote data transmission protocol
  • Remote data transmission terminal and system, and encoding and decoding methods of remote data transmission protocol

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0024] Example one

[0025] Such as figure 1 As shown, the encoding method of a remote data transmission protocol provided in this embodiment includes:

[0026] Step S11: Obtain all the fields in the first line of the encoded content, and perform ASCII code conversion on the fields in order from left to right to obtain the field string corresponding to each field, and compose all the field strings into the line string of the first line , Where each two adjacent field strings in the line string of the first line are separated by 0x01 characters, and the end of the line string of the first line is 0x02 characters, and the line string of the first line As a temporary string;

[0027] Step S12: Obtain the next line of the encoded content and encode the next line of the string, and add the next line of the string to the temporary string, until all the fields of the encoded content are encoded, the final result will be obtained The temporary character string is sent as SelectHelp data.

...

Example Embodiment

[0045] Example two

[0046] Based on the same inventive concept as the above encoding method, this embodiment provides a method for decoding remote data transmission protocols, such as figure 2 Shown, including:

[0047] Step S21: Receive SelectHelp data.

[0048] In step S22, the row coordinates and column coordinates of the storage address are both set to zero. This is the storage address initialization step.

[0049] Step S23: Read the characters in the SelectHelp data. If the character is not 0x01 and the character is not 0x02, then the character is stored in the second string; if the character is 0x01, the second string is converted into text data and stored in storage Address, the column coordinate of the storage address plus 1; if the character is 0x02, the second character string is converted into text data and stored in the storage address, the row coordinate of the storage address is increased by 1, and the column coordinate of the storage address is changed to 0.

[0050] ...

Example Embodiment

[0056] Example three

[0057] Based on the same inventive concept as the foregoing encoding method, this embodiment also provides a remote data transmission terminal 5, such as image 3 As shown, it includes: a collection interface 1, a data preprocessing module 2, an encoding module 3, and a communication module 4. The acquisition interface 1 is used to connect with the data output interface of the device. The data preprocessing module 2 is used to preprocess the data output by the device to obtain the encoded content. The preprocessing is mainly to convert the format of the data output by the device to meet the requirements of the encoding protocol. Encoding module 3 is used to obtain all the fields in the first line of the encoded content, and convert the fields from left to right to ASCII code to obtain the field string corresponding to each field, and all the field strings form the first line of the line Character string, where every two adjacent field strings in the line 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 technical field of data transmission of the industrial Internet of Things, and specifically relates to a remote data transmission terminal and system, and encoding and decoding methods of a remote data transmission protocol. The encoding method of the remote data transmission protocol comprises the following steps: performing ASCII code conversion on fields in encoded contents row by row, separating each two adjacent fields by 0x01 characters, and separating each row of fields by 0x02 characters to finally form SelectHelp data for transmission. By adoption of the encoding method of the remote data transmission protocol provided by the invention, the efficiency of data transmission among devices, ERP, MES and other systems in the industrial Internet of Things is improved.

Description

technical field [0001] The invention relates to the technical field of industrial Internet of Things data transmission, in particular to a remote data transmission terminal, a system and an encoding and decoding method thereof. Background technique [0002] At present, in the field of industrial Internet of Things, the interactive information between intelligent terminals, ERP, MES, PDM and other systems still adopts data formats such as XML and JSON. XML and JSON mainly have large data redundancy and cannot store special characters. Complicated and cumbersome defects are not conducive to the efficient and stable development of the Industrial Internet of Things. Contents of the invention [0003] Aiming at the defects in the prior art, the present invention provides a remote data transmission terminal, system and encoding and decoding methods thereof, which improve the efficiency of data transmission between equipment, ERP, MES and other systems in the Industrial Internet ...

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/06H04L29/08
CPCH04L67/025H04L69/08H04L69/162
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