Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for transmitting data codes in messages

A data code and message technology, applied in the field of communication, can solve problems such as occupation, multiple network resources, and affecting transmission accuracy

Inactive Publication Date: 2014-12-10
SICHUAN JIUZHOU ELECTRIC GROUP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, the value range of data encoding after computer internal code encoding is 161-254 (decimal), but sometimes the sending end needs to send the data to be sent to the receiving end through ASCII code, but the value range of ASCII code is 0-127, which is the same as The value range of the data encoding after computer internal code encoding is different, so if the ASCII code is directly sent in the Beidou short message, errors are likely to occur during the transmission process, which affects the accuracy of the transmission
[0004] In order to solve the problem of transmission accuracy caused by the difference between the value range of the computer internal code code and the value range of the ASCII code, the data corresponding to the ASCII code can be coded in the computer internal code, but at this time each ASCII code will be represented by One byte becomes two bytes, which increases the amount of transmitted data, takes up more network resources, and the transmission efficiency is very low

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
  • Method and device for transmitting data codes in messages
  • Method and device for transmitting data codes in messages
  • Method and device for transmitting data codes in messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] see figure 1 , Embodiment 1 of the present invention provides a method for sending a data code in a message, the method comprising:

[0049] Step 101: converting the first data code corresponding to the data to be sent into a second data code;

[0050] Step 102: Generate a message according to the second data code, wherein the first data code is outside the encoding value range supported by the message, and the second data code is within the encoding value range supported by the message;

[0051] Step 103: Send the message carrying the second data code to the receiving end.

[0052] In Embodiment 1 of the present invention, the problem of transmission errors or increased transmission volume caused by coding incompatible message modes is solved by code conversion: when the first data code corresponding to the data to be sent is in the code supported by the message When the value is outside the value range, the first data code is converted into the second data code with...

Embodiment 2

[0054] see figure 2 , corresponding to Embodiment 1, Embodiment 2 of the present invention provides a method for receiving a data code in a message, the method comprising:

[0055] Step 201: Receive a message sent by the sending end, the message carries a second data code, and the second data code is within the code value range supported by the message;

[0056] Step 202: Convert the second data code into a first data code, and the first data code is outside the encoding value range supported by the message;

[0057] Step 203: Obtain restored data according to the first data code.

[0058]In Embodiment 2 of the present invention, when the receiving end receives the message from the sending end, it supports converting the second data code into the first data code, and obtains the restored data according to the first data code, so that when the sending end needs to send When the first data code corresponding to the data to be sent is outside the encoding value range supported...

Embodiment 3

[0060] see image 3 , Embodiment 3 of the present invention provides a method for transmitting a data code in a message, the method comprising:

[0061] Step 301: When the sending end needs to send the data to be sent, obtain the corresponding first data code according to the data to be sent, the first data code is outside the range of encoding values ​​supported by the message, and the message is for sending the message required by the first data code;

[0062] Among them, when the sender needs to send the data to be sent, it first needs to obtain the data code corresponding to the data to be sent, then add the obtained data code to the message, and then send the message to realize the sending of the data to be sent .

[0063] Wherein, the first data code corresponding to the data to be sent obtained by the sending end may be a data code such as ASCII code (American Standard Code for Information Interchange, American Standard Code for Information Interchange).

[0064] Spe...

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 discloses a method and a device for transmitting data codes in messages and belongs to the field of communication. The method includes converting first data codes corresponding to data to be transmitted into second data codes; generating the messages according to the second data codes, and transmitting the messages carried with the second data codes to a receiving end, wherein the first data codes are out of an encoding value range supported by the messages and the second data codes are within the encoding value range supported by the messages. The device comprises a first conversion module, a generating module and a first transmission module. No errors are caused when the second data codes are transmitted in the form of the messages. Meanwhile, transmission data flow is not increased, and transmission efficiency is improved.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for transmitting data codes in a message. Background technique [0002] With the rapid development of communication technology, Beidou satellite navigation system is widely used in people's work and life. For example, the Beidou short message communication function in the Beidou satellite navigation system is often used in missile guidance, car navigation, emergency search and other fields, which brings great convenience to people. [0003] In Beidou short message communication, the sending end often performs computer internal code encoding on the data to be sent, and then sends the encoded data to the receiving end in the form of Beidou short message. Among them, the value range of data encoding after computer internal code encoding is 161-254 (decimal), but sometimes the sending end needs to send the data to be sent to the receiving end through ASCII code, but the...

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/06G06F17/22
Inventor 索国锋张徐辉
Owner SICHUAN JIUZHOU ELECTRIC GROUP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products