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

A data transmission method, device and electronic equipment

A data transmission method and data transmission technology, which are applied in the fields of data transmission methods, devices and electronic equipment, can solve problems such as high error rate and transmission error, and achieve the effect of improving the success rate of analysis

Active Publication Date: 2021-04-13
中国移动通信集团内蒙古有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

After locating and troubleshooting the problem, it is found that when the IOS client transmits and parses the XML file, for some special characters, such as "<", "\", etc., the parsing error rate is very high, resulting in the entire XML file being lost between the server and An error occurred while transferring between clients

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
  • A data transmission method, device and electronic equipment
  • A data transmission method, device and electronic equipment
  • A data transmission method, device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0034] figure 1 A schematic flowchart of a data transmission method provided by an embodiment of the present invention, such as figure 1 As shown, the method includes:

[0035] Step 101: Obtain data to be transmitted, the data to be transmitted consists of multiple characters;

[0036] Specifically, according to the request sent by the electron...

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

Embodiments of the present invention provide a data transmission method, an apparatus, and an electronic device. The method includes: acquiring data to be transmitted, the data to be transmitted consisting of a plurality of characters; performing byte conversion on the bytes occupied by the characters in the data to be transmitted to obtain the converted bytes; The mapping table is used to map the characters corresponding to the converted bytes to obtain the corresponding mapping code values; the mapping code values ​​are assembled and then transmitted. The system is used to perform the method. In the embodiment of the present invention, the bytes occupied by the characters in the data to be transmitted are converted into bytes to obtain the converted bytes, and the mapping code value is obtained according to the pre-established mapping table and the characters corresponding to the converted bytes, and the mapping code Values ​​are assembled and transmitted, improving the success rate of data parsing during transmission.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of data processing, and in particular, to a data transmission method, device, and electronic equipment. Background technique [0002] NSXMLParser parsing is a type of XML document parsing in the IOS SDK, which belongs to the time-driven mode, that is, SAX is used to parse XML format documents. [0003] In the process of processing XML documents, when NSXMLParser encounters the following elements, such as: elements, attributes, CDATA blocks, comments, etc., it will notify its delegate, but it will not perform any processing on the parsed elements itself, and entrust it to NSXMLParserDelegate for processing. Also report bugs. [0004] Through the data transmission of the same XML file in the above way, the Android client parses all of them successfully, but when using the IOS client to parse, sometimes it succeeds and sometimes fails. After submitting the same XML file 100 times through ...

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 Patents(China)
IPC IPC(8): H04L1/00G06F40/154G06F40/14
CPCG06F40/14G06F40/154H04L1/0006H04L1/0079
Inventor 康雅萍李敏捷王晓宏陈熠王谱新
Owner 中国移动通信集团内蒙古有限公司