CN113179148A - Method for realizing decomposition and combination of Beidou short message multi-packet transmission - Google Patents
Method for realizing decomposition and combination of Beidou short message multi-packet transmission Download PDFInfo
- Publication number
- CN113179148A CN113179148A CN202110454667.9A CN202110454667A CN113179148A CN 113179148 A CN113179148 A CN 113179148A CN 202110454667 A CN202110454667 A CN 202110454667A CN 113179148 A CN113179148 A CN 113179148A
- Authority
- CN
- China
- Prior art keywords
- packet
- short message
- long
- terminal
- receiving terminal
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/08—Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Abstract
A big Dipper short message multi-packet transmission decomposition and combination realization method comprises the following steps: a sending terminal splits a long and short message to enable the long and short message to be a plurality of packets, and carries out protocol encapsulation on each packet; a transmitting terminal transmits a plurality of packets to a receiving terminal; the receiving terminal analyzes and extracts and analyzes the packet after receiving the packet; if the packet loss occurs in S3, the receiving terminal sends the reply short message of the lost packet to the sending terminal for packet supplement; if no packet loss occurs in S3, the multiple packets are completely combined and merged for analysis, and the final response is sent to the terminal. The invention can divide a piece of information exceeding the maximum transmission capacity of the Beidou card into a plurality of short messages to be sent, and the short messages are received and recombined to return original length information. The method is simple and convenient to implement, low in use cost and of great practical significance in the aspect of popularization of the civil Beidou process.
Description
Technical Field
The invention relates to the technical field of satellite navigation and communication, in particular to a method for realizing the decomposition and combination of Beidou short message multi-packet transmission.
Background
The Beidou satellite navigation system is a regional satellite navigation system independently developed in China, covers the whole situation and surrounding countries in China, and consists of three parts, namely a sky satellite, a ground control station and a user application terminal. The user application terminal has the functions of positioning, navigation, short message data communication and the like, and has wide application in the fields of positioning, navigation and communication.
With the progress and development of society and science and technology, a satellite system is gradually integrated into social life, and the Beidou system has an unique short message communication function, so that the communication mode is limited by the Beidou system in the use process, particularly a civil Beidou card, the transmitted data volume is small, and the service frequency time is long, so that the communication mode has certain limitation, and for users except for national defense and military, earthquake relief, marine fishery, forest fire prevention, traffic, electric power, hydrology, weather and the like, the content length of a short message cannot completely transmit the complete message, so that great inconvenience is brought to the use.
The problems that long messages are transmitted and applied through Beidou short messages are solved as follows:
the problem one is that the short message is too long to be transmitted at one time; satellite short messages are limited according to the grade of a Beidou card, the length of sent content is limited to a certain length, and for the current data transmission application scene, a large amount of numerical value information needs to be transmitted in many applications, and one short message cannot transmit the data at one time, so that a plurality of short messages need to be disassembled for transmission, the disassembled data easily cause the conditions of data confusion, incompleteness and the like after transmission, and the original complete information needs to be seen by a user.
Problem two, packet loss judgment and retransmission; the big dipper short message transmission is subject to factors such as environment and frequency, so that the phenomenon of packet loss is inevitable, and how to ensure that whether all packets are received or not is verified after the transmission of a plurality of packets is ensured, and if some packets are lost, how to let the sending terminal know to replenish the corresponding lost packets.
Disclosure of Invention
Objects of the invention
In order to solve the technical problems in the background art, the invention provides a method for realizing the multi-packet transmission decomposition and combination of Beidou short messages, which can divide a piece of information exceeding the maximum transmission capacity of a Beidou card into several short messages for sending, and recombine the received short messages to the original length information; the method is simple and convenient to implement, low in use cost and of great practical significance in the aspect of popularization of the civil Beidou process.
(II) technical scheme
The invention provides a method for realizing the decomposition and combination of Beidou short message multi-packet transmission, which comprises the following steps:
s1, the sending terminal splits one long and short message to make one long and short message into a plurality of packets, and carries out protocol encapsulation on each packet;
s2, the transmitting terminal transmitting the plurality of packets to the receiving terminal;
s3, extracting and analyzing the packet after the receiving terminal receives the packet;
s4, if the packet loss occurs in S3, the receiving terminal sends the reply short message of the lost packet to the sending terminal for packet supplement;
and S5, if no packet loss occurs in S3, completely combining a plurality of packets, merging and analyzing the packets, and finally sending a response to the terminal.
Preferably, a long and short message to be sent is split into N short messages, and the short messages are pushed to the receiving terminal after protocol encapsulation.
Preferably, the protocol encapsulation in S1 means that each long and short message has a protocol header with an identifier; the protocol header is used for the receiving terminal to identify the content, the number and the sequence of the long and short messages.
Preferably, after receiving the short message, the receiving terminal extracts the content and caches the content.
Preferably, when the receiving terminal receives the last packet, it analyzes whether the packet is lost.
Preferably, if there is a packet loss, the reply short message of the lost packet is sent to the sending terminal for packet compensation.
Preferably, if no packet is lost, the information is recombined according to the sequence of packet numbers, and the complete long message is pushed to the user; and meanwhile, the response reply is sent to the sending terminal, so that the sending terminal carries out the next sending.
Compared with the prior art, the technical scheme of the invention has the following beneficial technical effects:
first, aiming at the problem one: one long message is transmitted through the Beidou short message, the Beidou short message is unpacked, the long message is disassembled according to a set length, meanwhile, the disassembled short message needs to be marked correspondingly, so that the received and sent identification and the package number which are matched, the message sequence and the data are not disordered, and the short messages can be sequentially combined into a complete long message according to the sequence number after all the short messages are received and are sent to a user;
secondly, aiming at the problem two: to ensure the integrity and accuracy of information, the identification of a protocol is used to identify the total number of packets of a piece of complete information, the number of received packets, the number of lost packets and the lost packets; by contrast analysis, then reply is carried out; the next long message can be sent out by analyzing the response, and the lost packet is sent again when the packet is lost, so that the data packet is ensured to be completely transmitted.
Drawings
Fig. 1 is a compression schematic diagram of a first problem method in an implementation method for decomposing and combining Beidou short message multi-packet transmission provided by the invention.
Fig. 2 is an analysis schematic diagram of a transmitting terminal packetization protocol of a first problem method in the method for implementing the decomposition and combination of the Beidou short message multi-packet transmission provided by the invention.
Fig. 3 is an analysis schematic diagram of a packet loss situation sent by a receiving terminal according to a first problem in the method for implementing decomposition and combination of multi-packet transmission of beidou short messages.
Fig. 4 is a word segmentation schematic diagram of a first problem in the method for implementing the big dipper short message multi-packet transmission decomposition and combination provided by the present invention.
Fig. 5 is a schematic diagram of a compiling mode of a first problem in the method for implementing the decomposition and combination of the Beidou short message multi-packet transmission provided by the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
As shown in fig. 1-5, the method for implementing the big dipper short message multi-packet transmission decomposition and combination provided by the present invention comprises the following steps:
s1, the sending terminal splits one long and short message to make one long and short message into a plurality of packets, and carries out protocol encapsulation on each packet;
s2, the transmitting terminal transmitting the plurality of packets to the receiving terminal;
s3, extracting and analyzing the packet after the receiving terminal receives the packet;
s4, if the packet loss occurs in S3, the receiving terminal sends the reply short message of the lost packet to the sending terminal for packet supplement;
and S5, if no packet loss occurs in S3, completely combining a plurality of packets, merging and analyzing the packets, and finally sending a response to the terminal.
In an optional embodiment, a long and short message to be sent is split into N short messages, and the short messages are encapsulated by a protocol and then pushed to a receiving terminal.
In an alternative embodiment, the protocol encapsulation in S1 means that each long and short message has an identified protocol header; the protocol header is used for the receiving terminal to identify the content, the number and the sequence of the long and short messages.
In an optional embodiment, after receiving the short message, the receiving terminal extracts the content, analyzes whether the short message is a normal short message or a long and short message, extracts the long and short message, analyzes a protocol header, which is the long and short message, wherein the number of the long and short messages is N, and M of the long and short messages are cached.
In an optional embodiment, when the receiving terminal receives the last packet, it analyzes whether the packet is lost.
In an optional embodiment, if there is a packet loss, the reply short message of the lost packet is sent to the sending terminal for packet compensation.
In an optional embodiment, if no packet is lost, the information is recombined according to the sequence of packet numbers, and a complete long message is pushed to a user; and meanwhile, the response reply is sent to the sending terminal, so that the sending terminal carries out the next sending.
When a sending terminal sends a piece of long information data, the length of the information is y, the length obtained by subtracting the information length from the maximum length is s according to the maximum length of the content information which can be sent by the Beidou card, as shown in fig. 2, the length of the required protocol header is 8bit +32bit +8bit +8bit + 56bit, then the maximum length x which can be sent by each piece of information is s-56bit, and z pieces of information which need to be sent in total are set: and z is y/x, and rounded up, the long information data is divided into z pieces, each of which is arranged in order.
Then, each piece of data is subjected to protocol encapsulation, firstly, a type protocol head is adopted, and in order to distinguish the data from the common short message, the long message can be known after analysis, so that a protocol head for identifying the long message is defined; then, the protocol header is identified, because the long message is transmitted in multiple packets, in order to ensure that the receiving terminal can identify which long and short message the received packet belongs to, the identification needs to be confirmed by the identifier, the identification can be defined as the counting starting from 0, and the counting is started from 0 again after the counting identification is full, and the process is repeated; the header of the total packet protocol means how many packets the length of information is divided into, namely z; the packet sequence number protocol means that the current packet is sent after the long message is split; and adding the split content into the short message, and finally completing the packaging of each short message.
Next, the terminal sends the encapsulated short messages to the receiving terminal one by one according to the sequence, after the receiving terminal receives the data, as shown in fig. 5, the receiving terminal firstly extracts the short message for analysis, whether the short message has a protocol header of a long message or not, if not, the short message is sent to the user according to a common short message, if so, the short message is extracted, which short message of the long message is identified according to the protocol sequence, and how many packets are totally contained, which are the number of packets, then the information and the content are stored in the cache, the receiving of other packets is waited, after all the packets are received, the content can be combined according to the sequence, the long message data of the current identification is recombined, and then the long message data is pushed to the user.
The big dipper short message transmission inevitably has the condition of packet loss, in order to ensure that the information can be completely received, the receiving terminal and the sending terminal are required to be provided with a response mechanism, when the sending terminal sends the last packet of data, that is, when the serial number of the total packet number is equal to z, if the receiving terminal receives the packet, it indicates that all packets of the length of information have been received, at this time, the receiving terminal checks whether all packets of the next length of information have been received completely, if the receiving is complete, a reply message can be replied to the sending terminal, and the protocol has a protocol header with the type, which indicates that the reply message is a reply message of a long message, the identification consistent with the length information, the total packet loss number is filled with 0 when no packet is lost completely, the packet loss number is empty, when the receiving terminal receives the short response message, the receiving terminal can start to transmit the next message after knowing that the receiving terminal completely receives the long message.
If the last short message is sent to the receiving terminal by the sending terminal, the receiving terminal does not receive the short message, the sending terminal also does not correspondingly receive the response short message, at the moment, the sending terminal can continue to send the last short message at the next frequency, the process is repeated until a response reply is received, but the process is always circulated in the long message to avoid resource waste, the number of times of repeated sending is recommended to be too many, the number of times of 3 times is more proper, the response short message is not received after the number of times of 3, an identifier is made in a library to record that the long message is not completely received, the next long message can be continuously pushed, and the abnormal message record can be provided for a subsequent administrator to process.
If the receiving terminal receives the last short message, the packet loss occurring in the middle of the long message is judged, how many packets which are lost together can be filled into a total packet loss number protocol through a response protocol, the lost packets are all filled into a protocol packet loss number and then pushed to the sending terminal, the sending terminal analyzes the short message after receiving the response short message, the total packet loss number is filled into the total packet number of the sending protocol, and the lost packets with the sequence numbers are pushed to the receiving terminal again; the above method is repeated until the data reception is completed.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.
Claims (7)
1. A method for realizing the decomposition and combination of Beidou short message multi-packet transmission is characterized by comprising the following steps:
s1, the sending terminal splits one long and short message to make one long and short message into a plurality of packets, and carries out protocol encapsulation on each packet;
s2, the transmitting terminal transmitting the plurality of packets to the receiving terminal;
s3, extracting and analyzing the packet after the receiving terminal receives the packet;
s4, if the packet loss occurs in S3, the receiving terminal sends the reply short message of the lost packet to the sending terminal for packet supplement;
and S5, if no packet loss occurs in S3, completely combining a plurality of packets, merging and analyzing the packets, and finally sending a response to the terminal.
2. The method for implementing the multi-packet transmission decomposition and combination of the beidou short messages according to claim 1, wherein a long short message to be sent is split into N short messages, and the short messages are encapsulated by a protocol and then pushed to a receiving terminal.
3. The method for implementing the multi-packet transmission decomposition and combination of the beidou short messages according to claim 1, wherein the protocol encapsulation in S1 means that each of the long and short messages has a protocol header with an identifier; the protocol header is used for the receiving terminal to identify the content, the number and the sequence of the long and short messages.
4. The method for implementing the multi-packet transmission decomposition and combination of the Beidou short message according to claim 1, wherein the receiving terminal extracts the content and caches the content after receiving the short message.
5. The method for implementing decomposition and combination of Beidou short message multi-packet transmission according to claim 1, wherein when the receiving terminal receives the last packet, the analysis of whether the packet is lost is performed.
6. The method for implementing decomposition and combination of Beidou short message multi-packet transmission according to claim 5, wherein if packet loss occurs, the reply short message of the lost packet is sent to the sending terminal for packet supplement.
7. The method for implementing the decomposition and combination of the Beidou short message multi-packet transmission according to claim 5, is characterized in that if no packet is lost, the information is completely recombined according to the sequence of packet numbers, and the complete long message is pushed to a user; and meanwhile, the response reply is sent to the sending terminal, so that the sending terminal carries out the next sending.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110454667.9A CN113179148A (en) | 2021-04-26 | 2021-04-26 | Method for realizing decomposition and combination of Beidou short message multi-packet transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110454667.9A CN113179148A (en) | 2021-04-26 | 2021-04-26 | Method for realizing decomposition and combination of Beidou short message multi-packet transmission |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113179148A true CN113179148A (en) | 2021-07-27 |
Family
ID=76926337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110454667.9A Pending CN113179148A (en) | 2021-04-26 | 2021-04-26 | Method for realizing decomposition and combination of Beidou short message multi-packet transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113179148A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114499765A (en) * | 2022-04-14 | 2022-05-13 | 航天宏图信息技术股份有限公司 | Data transmission method and system based on Beidou short message |
CN114884630A (en) * | 2022-04-20 | 2022-08-09 | 中国石油大学(华东) | Data broadcasting method, system, medium and equipment based on Beidou short message communication |
CN115550278A (en) * | 2022-08-23 | 2022-12-30 | 中银金融科技有限公司 | MQ long message processing method and device under decision engine platform |
CN116389772A (en) * | 2023-06-02 | 2023-07-04 | 广州磐钴智能科技有限公司 | Beidou network-based image transmission method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105120439A (en) * | 2015-07-13 | 2015-12-02 | 宁波尚为信息技术有限公司 | Beidou long message communication method |
CN106059848A (en) * | 2016-05-06 | 2016-10-26 | 南京大学 | BeiDou short message communication-based electric power data acquisition transmission processing system and method |
CN106452688A (en) * | 2016-10-11 | 2017-02-22 | 福建星海通信科技有限公司 | Beidou data lost message retransmission method and system |
CN109921843A (en) * | 2019-03-25 | 2019-06-21 | 内蒙古大学 | A kind of Big Dipper short message communication method towards distance education based on satellite communication system |
CN111615072A (en) * | 2020-06-04 | 2020-09-01 | 中国人民解放军95871部队 | Beidou technology data transmission method, meteorological data transmission method and system |
-
2021
- 2021-04-26 CN CN202110454667.9A patent/CN113179148A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105120439A (en) * | 2015-07-13 | 2015-12-02 | 宁波尚为信息技术有限公司 | Beidou long message communication method |
CN106059848A (en) * | 2016-05-06 | 2016-10-26 | 南京大学 | BeiDou short message communication-based electric power data acquisition transmission processing system and method |
CN106452688A (en) * | 2016-10-11 | 2017-02-22 | 福建星海通信科技有限公司 | Beidou data lost message retransmission method and system |
CN109921843A (en) * | 2019-03-25 | 2019-06-21 | 内蒙古大学 | A kind of Big Dipper short message communication method towards distance education based on satellite communication system |
CN111615072A (en) * | 2020-06-04 | 2020-09-01 | 中国人民解放军95871部队 | Beidou technology data transmission method, meteorological data transmission method and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114499765A (en) * | 2022-04-14 | 2022-05-13 | 航天宏图信息技术股份有限公司 | Data transmission method and system based on Beidou short message |
CN114884630A (en) * | 2022-04-20 | 2022-08-09 | 中国石油大学(华东) | Data broadcasting method, system, medium and equipment based on Beidou short message communication |
CN115550278A (en) * | 2022-08-23 | 2022-12-30 | 中银金融科技有限公司 | MQ long message processing method and device under decision engine platform |
CN116389772A (en) * | 2023-06-02 | 2023-07-04 | 广州磐钴智能科技有限公司 | Beidou network-based image transmission method and system |
CN116389772B (en) * | 2023-06-02 | 2023-08-11 | 广州磐钴智能科技有限公司 | Beidou network-based image transmission method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113179148A (en) | Method for realizing decomposition and combination of Beidou short message multi-packet transmission | |
CN112152697B (en) | Power service data coding transmission method and system based on Beidou short message communication | |
CN102694855B (en) | Meteorological disaster early warning information publishing system and method on basis of Beidou satellite | |
CN108965484A (en) | A kind of transmission method of internet of things data, system and terminal | |
CN103278823B (en) | Position sharing method and ground processing device based on Beidou satellite | |
CN106506508B (en) | A method of extension Big Dipper short message length | |
CN102983884A (en) | A method for transmitting data via a magnetic channel | |
CN113835902B (en) | Data processing method, device, computer equipment and storage medium | |
US10817460B2 (en) | RDMA data sending and receiving methods, electronic device, and readable storage medium | |
CN101018206A (en) | Packet message processing method and device | |
CN103532784A (en) | Method and system for transmitting heartbeat messages, terminal and network equipment | |
CN101662418A (en) | Detecting method and terminal of file transmission | |
CN112436998A (en) | Data transmission method and electronic equipment | |
CN113890897B (en) | Message processing method and related device | |
WO2018227699A1 (en) | Terminal-device data classification method and apparatus | |
CN105610554A (en) | Data exchange method for data exchange system based on BDS (BeiDou Navigation Satellite System) and UWSNs (Underwater Wireless Sensor Networks) and shore base station | |
CN114785805B (en) | Data transmission method, device, electronic equipment and storage medium | |
CN109766347B (en) | Data updating method, device, system, computer equipment and storage medium | |
CN115866587A (en) | Internet of things safety data processing method, device and system based on real-time dynamic transmission | |
CN102045658B (en) | Short message transmission alarm information based system and device | |
KR100653038B1 (en) | Apparatus And Method For Transmission/Receiving Large Volumes Of Message In Satellite Mobile Data ServiceSMDS System | |
KR101295556B1 (en) | Server for sending selective data and method therefor | |
CN110008033A (en) | The method and electronic equipment that a kind of and client is communicated | |
CN109462591A (en) | A kind of data transmission method, method of reseptance, apparatus and system | |
CN111585686B (en) | Data transmission method and device, electronic equipment and computer-readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210727 |
|
RJ01 | Rejection of invention patent application after publication |