Data communication method and device
A data transmission method and data technology, applied in the field of communication, can solve problems such as inability to realize transmission, and achieve the effect of expanding data types
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] Such as figure 1 As shown, the embodiment of the present invention provides a data sending method, including:
[0058] 101. The sending end encodes the data to be transmitted according to a preset data format, and the preset data format includes a type field and a data part for indicating the type of the data to be transmitted.
[0059] Wherein, the type field is used to indicate that the data type to be transmitted is a subtype of an integer value, a subtype of a string type, a Vector type or a Map type, and the subtype of the integer value is used to represent the space occupied by an integer value storage space, the subtype of the string type is used to represent the storage space occupied by the variable of the length of the string;
[0060] The data part includes a data field of an integer value, a length field of a character string length and a data field of a character string, a length field of a Vector element quantity and a Vector element field, or, a length f...
Embodiment 2
[0135] Such as Figure 9 As shown, the embodiment of the present invention provides a data sending device, including:
[0136] An encoding module 11, configured to encode the data to be transmitted according to a preset data format, the preset data format including a type field and a data part for indicating the type of data to be transmitted;
[0137] The type field is used to indicate that the data type to be transmitted is a subtype of an integer value, a subtype of a string type, a Vector type or a Map type, and the subtype of the integer value is used to indicate the storage space occupied by an integer value , the subtype of the string type is used to represent the storage space occupied by the variable of the length of the string;
[0138] The data part includes a data field of an integer value, a length field of a character string length and a data field of a character string, a length field of a Vector element quantity and a Vector element field, or, a length field o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com