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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[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, perform ASCII code conversion on the fields in order from left to right, obtain the field string corresponding to each field, and combine all the field strings into the line string of the first line , where, in the line string of the first line, every two adjacent field strings 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 is as a temporary string;
[0027] Step S12, obtain the field of the next line of the encoded content and encode to obtain the line string of the next line, and add the line string of the next line to the temporary string until all the fields of the encoded content are encoded, and the final obtained Temporary strings are sent as SelectHelp data.
[00...
Embodiment 2
[0046] Based on the same inventive concept as the above encoding method, this embodiment provides a decoding method for a remote data transmission protocol, such as figure 2 shown, including:
[0047] Step S21, receiving SelectHelp data.
[0048] In step S22, both the row coordinate and the column coordinate of the storage address are set to 0. This is the memory address initialization step.
[0049] Step S23, read the character in the SelectHelp data, if the character is not 0x01 and the character is not 0x02, then store the character into the second character string; if the character is 0x01, then convert the second character string into text data and store it in storage Address, add 1 to the column coordinate of the storage address; if the character is 0x02, convert the second character string into text data and store it in the storage address, add 1 to the row coordinate of the storage address, and change the column coordinate of the storage address to 0.
[0050] Step...
Embodiment 3
[0057] Based on the same inventive concept as the above encoding method, this embodiment also provides a remote data transmission terminal 5, such as image 3As shown, it includes: acquisition interface 1, data preprocessing module 2, encoding module 3, and communication module 4. The collection 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 encoded content. The preprocessing mainly converts the format of the data output by the device to make it 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, perform ASCII code conversion on the fields in order from left to right, obtain the field strings corresponding to each field, and compose all field strings into the first line character string, where the space between every two adjacent field strings in the line string of t...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com