CN110891042A - Communication system and data transmission and reception method - Google Patents

Communication system and data transmission and reception method Download PDF

Info

Publication number
CN110891042A
CN110891042A CN201811044654.9A CN201811044654A CN110891042A CN 110891042 A CN110891042 A CN 110891042A CN 201811044654 A CN201811044654 A CN 201811044654A CN 110891042 A CN110891042 A CN 110891042A
Authority
CN
China
Prior art keywords
data
list
data type
classification
master
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811044654.9A
Other languages
Chinese (zh)
Inventor
覃树才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Qinggan Intelligent Technology Co Ltd
Original Assignee
Shanghai Qinggan Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Qinggan Intelligent Technology Co Ltd filed Critical Shanghai Qinggan Intelligent Technology Co Ltd
Priority to CN201811044654.9A priority Critical patent/CN110891042A/en
Publication of CN110891042A publication Critical patent/CN110891042A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a communication system and a data sending and receiving method, wherein the communication system comprises a sending end, a receiving end and a transmitting end, wherein the sending end is configured to obtain and send first data type information of first data; the receiving end stores a data main classification list and a data type list, and is configured to: obtaining the data master classification list, and determining a first data master classification corresponding to the first data type information by using the data master classification list; obtaining a first data type list corresponding to the first data master classification, and determining a first data type corresponding to the first data type information according to the first data type list; and processing the first data according to the first data type. The communication system and the data sending and receiving method provided by the invention have the data type information, and the data type information can correspond to different data types, so that the data in various formats can be compatible, and the flow can be effectively saved when the data type with determined data length is processed.

Description

Communication system and data transmission and reception method
Technical Field
The present invention relates to a communication system and a data transmission and reception method, and more particularly, to a communication system and a data transmission and reception method used for the same.
Background
Currently, in remote communication, widely adopted data encoding methods mainly include JS Object Notation (json) encoding, custom binary encoding, and TLV (Tag, Length, Value) encoding. The JS object numbered musical notation coding mode has the advantages of universality, simplicity and the like, but the JS object numbered musical notation coding mode is large in data volume and is not applicable to occasions sensitive to data flow. Although the custom code can better solve the flow problem, the universality is poor, so that when the custom code is used for remote communication, more complex decoding and transcoding operations are often required to be performed at a sending end and a receiving end. TLV encoding, while more versatile, is inefficient.
Therefore, it is necessary to provide a communication system and a data transmitting and receiving method that can better correspond to different data types, are compatible with data in various formats, and can effectively save traffic when processing data types determined by data length.
Disclosure of Invention
An object of the present invention is to provide a communication system and a data transmitting and receiving method capable of better corresponding to different data types, being compatible with data of various formats, and effectively saving traffic when processing data types determined by data length.
In order to solve at least part of technical problems of the present invention, the present invention provides a communication system including: the sending terminal is configured to obtain first data type information of first data according to the content of the first data, and send the first data type information and the first data; a receiver that stores a master data classification list and a data type list corresponding to each master data classification in the master data classification list, the receiver being configured to: receiving the first data type information and the first data; obtaining the data master classification list, and determining a first data master classification corresponding to the first data type information by using the data master classification list; obtaining a first data type list corresponding to the first data master classification, and determining a first data type corresponding to the first data type information according to the first data type list; and processing the first data according to the first data type.
In at least one embodiment of the present invention, the sender stores the data master classification list and the data type list; the transmitting end is configured to: obtaining the data master classification list, and determining the first data master classification corresponding to the first data by using the data master classification list; obtaining a first data type list corresponding to the first data master classification, and determining the first data type corresponding to the first data according to the first data type list; the first data type information is determined according to the first data type, or the first data type information is determined according to the first data main classification and the first data type.
In at least one embodiment of the present invention, the sending end stores sending end path information, where the sending end path information includes the data master classification list and a storage address of the data type list in the sending end; the sending end is suitable for obtaining the data master classification list according to the sending end path information and obtaining the first data type list according to the sending end path information and the first data master classification; the receiving end stores receiving end path information, the receiving end path information comprises the data main classification list and the storage address of the data type list in the receiving end; the receiving end is suitable for obtaining the data master classification list according to the receiving end path information and obtaining the first data type list according to the receiving end path information and the first data master classification.
In at least one embodiment of the invention, the sender is adapted to generate a first sequence number for the first data.
In at least one embodiment of the present invention, the transmitting end is adapted to make the first data and the first data type into a first data packet, and transmit the first data type information and the first data in a manner of transmitting the first data packet.
In at least one embodiment of the present invention, in the first data packet, the first data type information and the first data are arranged in a sequential order.
In at least one embodiment of the invention, the transmitting end comprises a telematics processor of a vehicle, and the first data comprises at least one part of image information collected from a camera of the vehicle and/or at least one part of driving information corresponding to driving operation of a driver; the receiving end comprises a data receiving base station.
In at least one embodiment of the invention, at least a portion of the data types have a fixed data length; when the data type of the first data has a fixed data length, the length of the first data is not included in the first data.
In at least one embodiment of the invention, the data master classifications in the data master classification list include a base master classification, a list master classification, and a chart master classification; the data types in the data type list corresponding to the basic main classification comprise Byte, uByte, Short, uShort, Integer, uInteger, Long, uLong, Date, Float, Double, String and Byte stream; the data types in the data type List corresponding to the main classification of the List comprise a List; the data types in the data type list corresponding to the chart master classification comprise maps.
In order to solve at least a part of technical problems of the present invention, the present invention further provides a data transmitting and receiving method, including: the following steps are carried out at the transmitting end: generating first data type information according to the first data; transmitting the first data type information and the first data; and performing the following steps at the receiving end: receiving the first data type information and the first data; obtaining a data master classification list; determining a first data master classification corresponding to the first data type information according to the data master classification list; obtaining a first data type list corresponding to the first data master classification; determining a first data type corresponding to the first data type information according to the first data type list; the first data is processed according to the first data type.
In at least one embodiment of the present invention, generating the first data type information from the first data further comprises: obtaining the master classification list of the data; determining the first data master classification corresponding to the first data by using the data master classification list; obtaining the first data type list corresponding to the first data master classification; determining the first data type corresponding to the first data according to the first data type list; the first data type information is determined according to the first data type, or the first data type information is determined according to the first data main classification and the first data type.
In at least one embodiment of the present invention, the sending end stores sending end path information, where the sending end path information includes the data master classification list and a storage address of the data type list in the sending end; the sending end is suitable for obtaining the data master classification list according to the sending end path information and obtaining the first data type list according to the sending end path information and the first data master classification; the receiving end stores receiving end path information, the receiving end path information comprises the data main classification list and the storage address of the data type list in the receiving end; the receiving end is suitable for obtaining the data master classification list according to the receiving end path information and obtaining the first data type list according to the receiving end path information and the first data master classification.
In at least one embodiment of the present invention, the following steps are further performed at the transmitting end: a first sequence number is generated for the first data.
In at least one embodiment of the present invention, the step of transmitting the first data type information and the first data includes: making the first data and the first data type into a first data packet; the first data type information and the first data are transmitted in a manner of transmitting the first data packet.
In at least one embodiment of the present invention, in the first data packet, the first data type information and the first data are arranged in a sequential order.
In at least one embodiment of the invention, at least a portion of the data types have a fixed data length; when the data type of the first data has a fixed data length, the length of the first data is not included in the first data.
In at least one embodiment of the invention, the data master classifications in the data master classification list include a base master classification, a list master classification, and a chart master classification; the data types in the data type list corresponding to the basic main classification comprise Byte, uByte, Short, uShort, Integer, uInteger, Long, uLong, Date, Float, Double, String and Byte stream; the data types in the data type List corresponding to the main classification of the List comprise a List; the data types in the data type list corresponding to the chart master classification comprise maps.
The communication system and the data sending and receiving method provided by the invention have the data type information, and the data type information can correspond to different data types, so that the data in various formats can be compatible, and the flow can be effectively saved when the data type with determined data length is processed.
Drawings
The above and other features, properties and advantages of the present invention will become more apparent from the following description of the embodiments with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of a communication system of one embodiment of the present invention;
fig. 2 is a diagram of data transmitted by a transmitting end according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a data transmission method of a communication system according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a data receiving method of a communication system according to an embodiment of the present invention.
Detailed Description
The following discloses many different embodiments or examples for implementing the subject technology described. Specific examples of components and arrangements are described below to simplify the present disclosure, but these are merely examples and do not limit the scope of the invention. For example, if a first feature is formed over or on a second feature described later in the specification, this may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features are formed between the first and second features, such that the first and second features may not be in direct contact. Additionally, reference numerals and/or letters may be repeated among the various examples throughout this disclosure. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. Further, when a first element is described as being coupled or coupled to a second element, the description includes embodiments in which the first and second elements are directly coupled or coupled to each other, as well as embodiments in which one or more additional intervening elements are added to indirectly couple or couple the first and second elements to each other.
The communication system and the data transmission and reception method operable thereon of the present invention will now be described, by way of non-limiting examples, with reference to fig. 1 to 4. In these embodiments, the communication system includes a transmitting end 100 and a receiving end 200.
In the current embodiment, the transmitting end 100 is an in-vehicle electronic system including a processor 11, a memory 12, and a telematics (T-box) 13. The vehicle-mounted electronic system is mounted on a vehicle, and the vehicle is provided with a vehicle machine. The processor 11 and the memory 12 are part of the car machine. The receiving end 200 is a data receiving base station capable of establishing a connection with the telematics processor 13 of the vehicle through the wireless network 300. Of course, in some other embodiments, the data receiving base station 200 can also transmit data to the in-vehicle electronic system 100, and the data transmitting and receiving method provided by the present invention can also be adopted when transmitting data. In these embodiments, therefore, data receiving base station 200 should be regarded as a transmitting end and in-vehicle electronic system 100 should be regarded as a transmitting end. The following description will proceed with an embodiment in which "the transmitting end 100 is an in-vehicle electronic system and the receiving end 200 is a data receiving base station".
Assume that the current transmitting end 100 is to transmit some data. For convenience, hereinafter, the data to be transmitted will be referred to as first data Value 01. The transmitting end 100 performs the following operations when transmitting the first data Value 01. First, the sender 100 obtains data type information of the first data Value01 according to the content of the first data Value 01. For convenience of explanation, the data type information of the first data Value01 will be referred to as first data type information TagID01 hereinafter. After obtaining the first data type information TagID01, the transmitting end 100 transmits the first data type information TagID01 together with the first data Value01 when transmitting the data.
Referring to fig. 2, the transmitting end 100 may transmit only the first data type information TagID01 and the first data Value01, or may transmit more contents together with the first data type information TagID01 and the first data Value 01. The data transmitted by the transmitting end 100 may specifically include what will be described in detail later.
The specific manner in which the sender 100 obtains the first data type information TagID01 of the first data Value01 according to the content of the first data Value01 may be various. For example, the sender 100 may upload the content of the first data Value01 to a cloud, and obtain the first data type information TagID01 of the first data Value01 from the cloud.
In the present embodiment, a memory of the transmitting end 100 stores a software module adapted to be executed by the processor 11, and the processor 11 generates the first data type information TagID01 of the first data Value01 according to the content of the first data Value01 by executing the software module. On the other hand, the specific steps of the sender 100 obtaining the data type of the first data Value01 according to the content of the first data Value01 may be various. Referring to fig. 3, in the current embodiment, the transmitting end 100 performs the following steps:
in step 101, a master sorted list of data is obtained. Wherein the data master classification list typecast may be stored in the memory 12 of the transmitting end 100 or obtained from the outside. Although this step is described first, this does not mean that this step must be performed first. With continued reference to fig. 3, in some embodiments, a "start" step is also performed before this step is performed, in which the sending end 100 performs self-checking, confirms connection with the receiving end 200, and so on.
In step 102, a first data master classification type 01 corresponding to the first data type is determined according to the data master classification list. This step can be realized by comparing the length of the first data TagID, the content of the head, and other information with the content in the master sort list.
In step 103, a first data type list corresponding to a first data master classification TypeCate01 is obtained. The DataType list DataType may also be stored in the memory 12 of the sender 100. Correspondingly, a specific way of obtaining the first data type list may be to find the first data type list through the address information stored in the first data master classification typecap 01.
In step 104, determining a first data type DataType 01 corresponding to the first data Value01 according to the obtained first data type list;
in step 105, the first data type information TagID01 is determined. The first data type information TagID01 may be determined according to the first data type DataType 01, or may be determined according to the first primary data classification type 01 and the first data type DataType 01. For example, in the embodiment shown in fig. 2, the first data type information TagID01 directly includes the contents of the first data main classification type carbonate 01 and the first data type DataType 01, and the first data type information TagID01 is formed in such a manner that the contents of the first data main classification type carbonate 01 and the first data type DataType 01 are spliced end to end.
After completing the above step 105, the transmitting end may transmit the first data Value01 and the first data type information TagID01 in the step of transmitting data.
With continued reference to fig. 1, in the present embodiment, the receiving end 200 is a data receiving base station capable of establishing a connection with the telematics processor 13 of the vehicle through a wireless network 300. The base station also has a memory 22, and the memory 22 stores therein a data master classification list typecast and a data type list DataType corresponding to each data master classification in the data master classification list typecast. Referring to fig. 4, in the current embodiment, the receiving end 200 performs the following steps:
in step 201, first data type information TagID01 and first data Value01 are received. Although this step is described first, this does not mean that this step must be performed first. With continued reference to fig. 4, in some embodiments, a "start" step is also performed before performing this step, in which the receiving end 200 performs self-checking, confirms connection with the transmitting end 100, and so on.
In step 202, a data master classification list typecast is obtained, from which a first data master classification typecast 01 corresponding to the first data type information TagID01 is determined. Wherein the data master classification list typecast may be stored in the memory 22 of the receiving end 200. In other embodiments, the data master classification list typeCate may be obtained in other manners. For example, obtained from the outside.
In step 203, a first data type list corresponding to the first data master classification type cast 01 is obtained, and a first data type DataType 01 corresponding to the first data type information is determined according to the first data type list. Wherein the data type list DataType may be stored in the memory 22 of the receiving terminal 200. A specific way to obtain the first data type list may be to find the first data type list in the memory 22 by using the address information stored in the first data master classification typecap 01.
In step 204, the first data Value01 is processed according to the first data type DataType 01. Since it is known that the data type of the first data Value01 is the first data type DataType 01, what meaning each bit of the first data Value01 represents can be known, and thus the first data Value01 can be correctly processed.
The communication system and the data transmission and reception method according to the present embodiment can be compatible with more data types because data type information capable of representing the type of data is generated and transmitted together with the data itself when the data is transmitted. In addition, the communication system and the data transmission and reception method provided by the present embodiment can make the length of the finally transmitted data shorter when processing some specific data types. For example, the communication system and the data transmission and reception method provided in this embodiment may not need the length of the transmission data when transmitting data in the { T, V } format. The communication system and the data sending and receiving method provided by the embodiment can better correspond to different data types, are compatible with data in various formats, and can effectively save flow when processing the data type determined by the data length.
The communication system and the data transmitting and receiving method of the embodiment can be used in various communication fields, and have particularly important values in some specific fields, such as the field of car networking. For example, when an enterprise desires to perform research and development of automatic driving, it is often desired to collect the photographing results of the cameras on the vehicles and the driving information of the vehicles driven by the users to obtain the operation method of the human driver under various road conditions. The data format of each camera on the vehicle and the data format of the driving information are often different, and even the formats of the shooting results of different cameras are different, so when transmitting the data, a communication system and a data transmitting and receiving method are required to be compatible with different data types. On the other hand, since the total amount of information of the photographed results of the cameras on the vehicle and the driving information of the vehicle driven by the user is large, and these data can be transmitted only by wireless, the saving of the traffic can bring direct economic benefits.
Although one embodiment of the vehicle machine of the present invention is described above, in other embodiments of the present invention, the communication system may have more structures in many aspects than the above-described embodiments. Accordingly, the data transmitting and receiving method may have more steps in many aspects than the above-described embodiments. For example, the sender 100 may also generate a first sequence number MessageTypeID 01 for the first data Value 01. And the first sequence number MessageTypeID 01 may or may not be sent to the recipient 200. Further details of the communication system and the data transmission and reception method of the present embodiment and at least some of optional variations in these details are described below in some embodiments.
In some embodiments, the sender 100 stores sender path information FieldPath S, where the sender path information FieldPath S includes storage addresses of a data master classification list typecap and a data type list DataType in the sender 100. In these embodiments, when the sender 100 needs to obtain the data master classification list typecast, the sender path information FieldPath S may be read to obtain the storage address of the data master classification list typecast, and then the data master classification list typecast is read at the corresponding address. And when the first data master classification type 01 is obtained, a first data type list corresponding to the first data master classification type 01 is obtained according to the sender path information FieldPath S and the first data master classification type 01.
Accordingly, in some embodiments, the receiving end 200 also stores receiving end path information FieldPath R. The receiving end path information FieldPath R includes the storage addresses of the data main classification list typecap and the data type list DataType in the receiving end 200. When the receiving end 200 needs to obtain the data master classification list typecast, it may read the sending end path information FieldPath R to obtain the storage address of the data master classification list typecast, and further read the data master classification list typecast at the corresponding address. When the first primary data classification type 01 is obtained, a first data type list is obtained according to the sending end path information FieldPath R and the first primary data classification type 01.
In some embodiments, the primary classification list TypeCate and the data type list DataType in the sender 100 and the receiver 200 are stored in the same way, so that the sender 100 and the receiver 200 have the same path information FieldPath. Therefore, in the step of transmitting data by the transmitting end 100, the path information FieldPath may be transmitted to the receiving end 200 or not.
Referring to fig. 2, in some embodiments, the sender 100 packages the first data Value01 and the first data type information TagID01 to make a first data packet 400 when sending data. When transmitting data to the receiving end 200, the transmitting end 100 transmits the first packet 400 to the receiving end 200. With continued reference to fig. 2, in some embodiments, the first data type information TagID01 and the first data Value01 are arranged in a sequential order in the first data packet 400. In other embodiments, the first data type information TagID01 and the first data Value01 are arranged in other manners, for example, there is other data between the first data type information TagID01 and the first data Value01 or the first data Value01 is arranged before the first data type information TagID 01.
The data master classification list typeCate and data type list DataType are described in one embodiment below with reference to Table 1.
Figure BDA0001792975730000101
TABLE 1 Primary Classification List TypeCate and data type List DataType Table
Referring to Table 1, in the current embodiment, the primary category list TypeCate includes three major categories, a base primary category, a list primary category, and a chart primary category. The data types in the data type list corresponding to the basic main classification comprise Byte, uByte, Short, uShort, Integer, uInteger, Long, uLong, Date, Float, Double, String and Byte stream. The data types in the data type List corresponding to the main classification of the List comprise a List; the data types in the data type list corresponding to the chart master classification comprise maps.
With continued reference to Table 1, although in the foregoing embodiment, the primary classification list TypeCate and the data type list DataType are described as including information of the primary classification and the data type. In fact, however, the primary classification list typecast and the data type list DataType may also have other information. For example, the main classification list typecast and the data type list DataType may have information such as a length field length, a decimal field length, a value length, and a data structure.
In the present embodiment at least a part of the data types have a fixed data length. Specifically, the data types Byte, uByte, Short, uShort, Integer, uInteger, Long, uLong, Date, Float, and Double in the basic master classification have a fixed data length, i.e., a value length of a certain value. For String and byte streams, and the data type List corresponding to the List master class, the data length of the data type Map corresponding to the chart master class is uncertain, and thus the value in Table 1 is marked as n longer. In addition, if the data type of the data to be transmitted has a fixed data length when transmitting the data, the length of the data may not be transmitted when transmitting the data.
Although the present invention has been disclosed in terms of the preferred embodiment, it is not intended to limit the invention, and variations and modifications may be made by one skilled in the art without departing from the spirit and scope of the invention. Therefore, any modification, equivalent change and modification of the above embodiments according to the technical essence of the present invention are within the protection scope defined by the claims of the present invention, unless the technical essence of the present invention departs from the content of the present invention.

Claims (17)

1. A communication system, comprising:
a sending end configured to obtain first data type information of first data according to content of the first data and send the first data type information and the first data;
a receiving end, which stores a data master classification list and a data type list corresponding to each data master classification in the data master classification list, and is configured to:
receiving the first data type information and the first data;
obtaining the data master classification list, and determining a first data master classification corresponding to the first data type information according to the data master classification list;
obtaining a first data type list corresponding to the first data master classification, and determining a first data type corresponding to the first data type information according to the first data type list; and
processing the first data according to the first data type.
2. The communication system according to claim 1, wherein said sender has stored therein said master data classification list and said data type list;
the transmitting end is configured to:
obtaining the data master classification list, and determining the first data master classification corresponding to the first data according to the data master classification list;
obtaining a first data type list corresponding to the first data master classification, and determining the first data type corresponding to the first data according to the first data type list;
and determining the first data type information according to the first data type, or determining the first data type information according to the first data main classification and the first data type.
3. The communication system according to claim 2, wherein the sender stores sender path information, and the sender path information includes the master classification list of data and a storage address of the data type list in the sender;
the sending end is suitable for obtaining the data master classification list according to the sending end path information and obtaining the first data type list according to the sending end path information and the first data master classification;
receiving end path information is stored in the receiving end, and the receiving end path information comprises the data main classification list and the storage address of the data type list in the receiving end;
the receiving end is suitable for obtaining the data master classification list according to the receiving end path information and obtaining the first data type list according to the receiving end path information and the first data master classification.
4. The communication system according to claim 1, wherein the sender is adapted to generate a first sequence number for the first data.
5. The communication system according to claim 1, wherein the transmitting end is adapted to make the first data and the first data type information into a first data packet, and transmit the first data type information and the first data in a manner of transmitting the first data packet.
6. The communication system according to claim 5, wherein the first data type information and the first data are arranged in a sequential order in the first data packet.
7. The communication system according to claim 1, wherein the transmitting end includes a telematics processor of a vehicle, and the first data includes at least a part of image information collected from a camera of the vehicle and/or at least a part of driving information corresponding to a driving operation of a driver;
the receiving end comprises a data receiving base station.
8. The communication system of claim 1, wherein at least a portion of the data types have a fixed data length;
when the data type of the first data has a fixed data length, the length of the first data is not included in the first data.
9. The communication system of claim 1, wherein the data master classifications in the list of data master classifications include a base master classification, a list master classification, and a chart master classification;
the data types in the data type list corresponding to the basic main classification comprise Byte, uByte, Short, uShort, Integer, uInteger, Long, uLong, Date, Float, Double, String and Byte stream;
the data types in the data type List corresponding to the List main classification comprise a List;
the data types in the data type list corresponding to the chart main classification comprise maps.
10. A data transmitting and receiving method, comprising:
the following steps are carried out at the transmitting end:
generating first data type information according to the first data;
sending the first data type information and the first data;
and, at the receiving end, performing the steps of:
receiving the first data type information and the first data;
obtaining a data master classification list;
determining a first data master classification corresponding to the first data type information according to the data master classification list;
obtaining a first data type list corresponding to the first data master classification;
determining a first data type corresponding to the first data type information according to the first data type list;
processing the first data according to the first data type.
11. The transmission and reception method of claim 10, wherein generating the first data type information from the first data further comprises:
obtaining the master classification list of the data;
determining the first data master classification corresponding to the first data according to the data master classification list;
obtaining the first data type list corresponding to the first data master classification;
determining the first data type corresponding to the first data according to the first data type list;
and determining the first data type information according to the first data type, or determining the first data type information according to the first data main classification and the first data type.
12. The transmission and reception method according to claim 11, wherein: the sending end stores sending end path information, and the sending end path information comprises the data master classification list and the storage address of the data type list in the sending end;
the sending end is suitable for obtaining the data master classification list according to the sending end path information and obtaining the first data type list according to the sending end path information and the first data master classification;
receiving end path information is stored in the receiving end, and the receiving end path information comprises the data main classification list and the storage address of the data type list in the receiving end;
the receiving end is suitable for obtaining the data master classification list according to the receiving end path information and obtaining the first data type list according to the receiving end path information and the first data master classification.
13. The transmission and reception method according to claim 10, wherein the following steps are further performed at the transmission end:
a first sequence number is generated for the first data.
14. The transmission and reception method according to claim 10, wherein the step of transmitting the first data type information and the first data includes:
making the first data and the first data type into a first data packet;
and transmitting the first data type information and the first data in a mode of transmitting the first data packet.
15. The transmission and reception method according to claim 14, wherein the first data type information and the first data are arranged in a sequential order in the first data packet.
16. The transmission and reception method according to claim 10, wherein at least a part of the data types have a fixed data length;
when the data type of the first data has a fixed data length, the length of the first data is not included in the first data.
17. The transmission and reception method according to claim 10, wherein the data master categories in the data master category list include a base master category, a list master category, and a chart master category;
the data types in the data type list corresponding to the basic main classification comprise Byte, uByte, Short, uShort, Integer, uInteger, Long, uLong, Date, Float, Double, String and Byte stream;
the data types in the data type List corresponding to the List main classification comprise a List;
the data types in the data type list corresponding to the chart main classification comprise maps.
CN201811044654.9A 2018-09-07 2018-09-07 Communication system and data transmission and reception method Pending CN110891042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811044654.9A CN110891042A (en) 2018-09-07 2018-09-07 Communication system and data transmission and reception method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811044654.9A CN110891042A (en) 2018-09-07 2018-09-07 Communication system and data transmission and reception method

Publications (1)

Publication Number Publication Date
CN110891042A true CN110891042A (en) 2020-03-17

Family

ID=69744667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811044654.9A Pending CN110891042A (en) 2018-09-07 2018-09-07 Communication system and data transmission and reception method

Country Status (1)

Country Link
CN (1) CN110891042A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6104720A (en) * 1997-04-28 2000-08-15 Intel Corporation Dynamic communication path selection for data transmission between computers
CN101459492A (en) * 2008-12-30 2009-06-17 国家电网公司 Data transmission method and system, data sending terminal
CN103297183A (en) * 2012-03-05 2013-09-11 腾讯科技(深圳)有限公司 Data communication method and device
CN104123364A (en) * 2014-07-21 2014-10-29 上海迈循信息科技有限公司 Method and device for transmitting and receiving data through mobile terminal
US20180076825A1 (en) * 2016-09-12 2018-03-15 Beijing Baidu Netcom Science And Technology Co., Ltd. Data transmission method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6104720A (en) * 1997-04-28 2000-08-15 Intel Corporation Dynamic communication path selection for data transmission between computers
CN101459492A (en) * 2008-12-30 2009-06-17 国家电网公司 Data transmission method and system, data sending terminal
CN103297183A (en) * 2012-03-05 2013-09-11 腾讯科技(深圳)有限公司 Data communication method and device
CN104123364A (en) * 2014-07-21 2014-10-29 上海迈循信息科技有限公司 Method and device for transmitting and receiving data through mobile terminal
US20180076825A1 (en) * 2016-09-12 2018-03-15 Beijing Baidu Netcom Science And Technology Co., Ltd. Data transmission method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈里等: "一种基于MMS的低成本汽车安防***设计与实现", 《微计算机信息》 *

Similar Documents

Publication Publication Date Title
CN108965484B (en) Internet of things data transmission method, system and terminal
US10298492B2 (en) System and method for interworking between vehicle controller and external resource
CN101608925B (en) Feedback method, terminal and server of information of geographic elements of navigation electronic map
CN102461122A (en) Car2x communication with reduced data volume
RU2010130186A (en) SIGNALING BY CONTROL CHANNEL USING A GENERAL SIGNALING FIELD FOR TRANSPORT FORMAT AND REDUNDANCE VERSION
US11115482B1 (en) System and method for correlating keep-alive connection communications with unary connection communications
CN104954374A (en) IOV (Internet of Vehicles) communication protocol design method
WO2019062537A1 (en) Vehicle data transmission method and receiving method, and corresponding system
CN115243216A (en) Method for data transmission in a V2X network
US20110105157A1 (en) SMS Communication Platform and Methods for Telematic Devices
CN115827928A (en) Vehicle data processing method, device, equipment, medium and product
CN111552268A (en) Vehicle remote diagnosis method, equipment connector and vehicle connector
CN111147126A (en) Beidou satellite short message communication data unpacking transmission method
CN109756293B (en) Method for processing data in Ethernet and physical layer chip
CN111246421B (en) Method, device, storage medium and electronic equipment for transmitting data
CN110891042A (en) Communication system and data transmission and reception method
CN112803950A (en) Data compression method, device and equipment and computer storage medium
CN107181783B (en) Method and device for transmitting data in a vehicle using Ethernet
CN113055736B (en) Video receiving and sending method, terminal equipment and road side equipment
EP4301006A1 (en) Communication method and apparatus, and device
CN114651236A (en) Resource deleting method, device, equipment and storage medium
CN117856981A (en) Data transmission method and device
CN114777806B (en) Driving route drawing method and device, electronic equipment and storage medium
CN116304177A (en) Driving scene data searching method and device, electronic equipment and storage medium
CN115842800B (en) Mail downloading and inquiring method, system and related device in Beidou communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200317

WD01 Invention patent application deemed withdrawn after publication