CN102123103A - Method and system for fragmenting message to be transmitted - Google Patents

Method and system for fragmenting message to be transmitted Download PDF

Info

Publication number
CN102123103A
CN102123103A CN2011100771693A CN201110077169A CN102123103A CN 102123103 A CN102123103 A CN 102123103A CN 2011100771693 A CN2011100771693 A CN 2011100771693A CN 201110077169 A CN201110077169 A CN 201110077169A CN 102123103 A CN102123103 A CN 102123103A
Authority
CN
China
Prior art keywords
message
fragment
sends
record
parameter value
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
CN2011100771693A
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.)
National University of Defense Technology
Original Assignee
National University of Defense Technology
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 National University of Defense Technology filed Critical National University of Defense Technology
Priority to CN2011100771693A priority Critical patent/CN102123103A/en
Publication of CN102123103A publication Critical patent/CN102123103A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides a method and a system for fragmenting a message to be transmitted. The method for fragmenting the message to be transmitted comprises the following steps of: searching a message transmission record within preset time in the process of transmitting messages, wherein the message transmission record comprises the fragmentation size and transmission time of the transmitted messages and a parameter value which is used for representing the transmission success rate of the message fragmentation of the transmitted message; according to the comparison result of the parameter value and the preset threshold value, determining the fragmentation size of the message to be transmitted; and fragmenting the message to be transmitted according to the determined message fragmentation size. According to the embodiment of the invention, a pre-established message transmission record is searched in the process of transmitting the message, and the fragmentation size of the message to be transmitted is determined according to the transmission success rate of the message fragmentation in the record, and rational fragmentation of the message to be transmitted is realized so that information can be successfully transmitted, and the relatively high transmission efficiency is maintained at the same time. The reliable transmission of the message in the bad network of the channel is guaranteed.

Description

A kind of sharding method of message transmission and system
Technical field
The present invention relates to information transmission technology field, relate in particular to a kind of sharding method and system of message transmission.
Background technology
Along with the deep application of Internet and developing rapidly of communication equipment, the network transmission technology level also improves day by day.For the message transmission of traditional fixed line, existing transmission technology means and advanced transmission equipment (as optical fiber), (error rate is less than 10 can to guarantee quality of channel preferably -9) and the stability of signal.
Yet, emerge in multitude along with mobile device, using mobile device to communicate transmission, especially when using low-quality channel to transmit, owing to there is the problem of bad channel quality and jitter, if still adopt conventional transmission method to transmit, can there be the bigger error rate, and because error code can further cause the re-transmission of information, when amount of information is big, can finally cause information always can't successfully transmit.
When the network of bad channel quality carries out message transmission, the normal method of earlier infomational message being carried out burst and then transmission that adopts, the more little easy more transmission success of burst, but efficiency of transmission is low more, and burst is too big, can cause bust this again, therefore how to determine the burst size, the information that makes can successfully be transmitted, and keeps efficiency of transmission preferably again simultaneously, is the key that solves information reliable transmission in the bad channel network.
Summary of the invention
The embodiment of the invention provides a kind of sharding method and system of message transmission, can reasonably determine the size of message fragment.
In order to solve the problems of the technologies described above, the technical scheme of the embodiment of the invention is as follows:
The embodiment of the invention provides a kind of sharding method of message transmission, comprising:
When message transmission, the message of searching in the Preset Time sends record, and described message sends in the record and comprises the burst size that sends message, transmitting time and be used to characterize the parameter value that the message fragment that has sent message sends success rate;
According to the comparative result of described parameter value and predetermined threshold value, determine the message fragment size of message to be transmitted;
Treat message transmission according to the described message fragment size of determining and carry out burst.
Further, described comparative result according to described parameter value and predetermined threshold value, determine to comprise the message fragment size of message to be transmitted:
There is the message fragment of parameter value if the message in the Preset Time sends in the record, then in the message fragment of parameter value, choose the message fragment size of maximum message fragment as message to be transmitted more than or equal to described first threshold more than or equal to first threshold.
Further, described comparative result according to described parameter value and predetermined threshold value, determine to comprise the message fragment size of message to be transmitted:
If the message in the Preset Time sends the parameter value of message fragment in the record all less than first threshold, and there be the message fragment of parameter value more than or equal to second threshold value, then choose the message fragment size of the message fragment of parameter value maximum as message to be transmitted, wherein, described second threshold value is less than described first threshold.
Further, described comparative result according to described parameter value and predetermined threshold value, determine to comprise the message fragment size of message to be transmitted:
If the message in the Preset Time sends the parameter value of message fragment in the record all less than second threshold value, then in described message transmission record, in the Unrecorded message fragment size, choose the message fragment size of maximum message fragment as message to be transmitted.
Further, described comparative result according to described parameter value and predetermined threshold value, determine to comprise the message fragment size of message to be transmitted:
If the message in the Preset Time sends the parameter value of message fragment in the record all less than second threshold value, and comprise all big or small message fragments in the described message transmission record, then choose the message fragment size of the message fragment of parameter value maximum as message to be transmitted.
Further, also comprise:
If search less than described message and send record, determine that then the message fragment size of described message to be transmitted is 4MB.
Further, also comprise:
Send the message fragment of message;
Be used to show that the message fragment of described message sends successful response message if in the default response time, receive, then add up the successful transmission number of times of the message fragment of described message; If do not receive described response message in the default response time, the failure that then adds up the message fragment of described message sends number of times;
After the message fragment of described message all sends end, successfully send number of times and failure sends number of times according to described, the message fragment that is identified for characterizing described message sends the parameter value of success rate;
With the message fragment size of described message, transmitting time and the described message fragment that is used to characterize described message send the parameter value of success rate, and the described message of typing sends record.
The embodiment of the invention also provides a kind of separating system of message transmission, comprising:
The record search unit, be used for when message transmission, the message of searching in the Preset Time sends record, and described message sends in the record and comprises the burst size that sends message, transmitting time and be used to characterize the parameter value that the message fragment that has sent message sends success rate;
The burst determining unit is used for the comparative result according to described parameter value and predetermined threshold value, determines the message fragment size of message to be transmitted;
The message fragment unit is used for treating message transmission according to the size of the described message fragment of determining and carries out burst.
Further, described burst determining unit, specifically be used for when the message in the Preset Time sends record and has parameter value more than or equal to the message fragment of first threshold, in the message fragment of parameter value, choose the message fragment size of maximum message fragment as message to be transmitted more than or equal to described first threshold.
Further, described burst determining unit, the message that specifically is used in Preset Time sends the parameter value of record message fragment all less than first threshold, and when having parameter value more than or equal to the message fragment of second threshold value, choose the message fragment size of the message fragment of parameter value maximum as message to be transmitted, wherein, described second threshold value is less than described first threshold.
Further, described burst determining unit, the parameter value that specifically is used for sending the record message fragment when the message in the Preset Time is during all less than second threshold value, in described message transmission record, in the Unrecorded message fragment size, choose the message fragment size of maximum message fragment as message to be transmitted.
Further, described burst determining unit, the message that specifically is used in Preset Time sends the parameter value of record message fragment all less than second threshold value, and described message sends when comprising all big or small message fragments in the record, chooses the message fragment size of the message fragment of parameter value maximum as message to be transmitted.
Further, described burst determining unit also is used for determining that when searching when sending record less than described message the message fragment size of described message to be transmitted is 4MB.
Further, also comprise:
The burst transmitting element is used to send the message fragment of message;
First computing unit is used for when receiving the message fragment that is used to show described message when sending successful response message in the default response time, totally the successful transmission number of times of the message fragment of described message; When not receiving described response message in the default response time, the failure of the message fragment of the described message of accumulative total sends number of times;
Second computing unit is used for after the message fragment of described message all sends end, successfully sends number of times and failure sends number of times according to described, and the message fragment that is identified for characterizing described message sends the parameter value of success rate;
Record cell is used for the message fragment size with described message, and transmitting time and the described message fragment that is used to characterize described message send the parameter value of success rate, and the described message of typing sends record.
The embodiment of the invention is by when message transmission, search the message of setting up in advance and send record, and determine the burst size of message to be transmitted according to the transmission success rate of message fragment in the record, realized treating the reasonable burst of message transmission, the information that makes can successfully be transmitted, simultaneously keep efficiency of transmission preferably again, guaranteed the reliable transmission of message transmission in the bad channel network.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of message transmission sharding method of embodiment of the invention flow chart;
Fig. 2 is the another kind of message transmission sharding method of an embodiment of the invention flow chart;
Fig. 3 is a kind of message transmission separating system of embodiment of the invention structural representation;
Fig. 4 is the another kind of message transmission separating system of an embodiment of the invention structural representation.
Embodiment
In order to make those skilled in the art can further understand feature of the present invention and technology contents, see also following about detailed description of the present invention and accompanying drawing, accompanying drawing only provide with reference to and explanation, be not to be used for limiting the present invention.
Can't rationally determine the size of message fragment in the prior art, have the little easy transmission success of burst but efficiency of transmission is low, perhaps, burst easily causes the problem of bust this too greatly again.Based on this, the embodiment of the invention is by when message transmission, search the message of setting up in advance and send record, and determine the burst size of message to be transmitted according to the transmission success rate of message fragment in the record, thereby realized treating the reasonable burst of message transmission, the information that makes can successfully be transmitted, and keeps efficiency of transmission preferably again simultaneously, has guaranteed the reliable transmission of message transmission in the bad channel network.
Below in conjunction with drawings and Examples, technical scheme of the present invention is described.
Referring to Fig. 1, be the sharding method flow chart of a kind of message transmission of the embodiment of the invention.
This method can comprise:
Step 101, when message transmission, the message of searching in the Preset Time sends record.
In the present embodiment, message transmitting party this locality can establish message and send record, this message sends record promptly when sending message at every turn, message fragment size to this message, transmitting time, and be used to characterize the parameter value that message fragment sends success rate and carry out record, wherein, the acquisition of this parameter value specifically can be: at first to the successful transmission number of times of message fragment in the message, and the failure of message fragment transmission number of times is added up, then according to the number of times of record, calculate and to be used to characterize the parameter value that this message fragment sends success rate and get final product, for example size is that the transmission success rate of the message fragment of 1MB is 70%.
After setting up above-mentioned message in advance and sending record, during message to be transmitted, can determine the burst size of message to be transmitted with reference to this record.Because the state variation of channel is very fast, in embodiments of the present invention, when message transmission, can send the transmitting time of message fragment in the record according to message, only search the transmission record in a period of time,, improve the success rate of transmission to improve the accuracy of determining message fragment.Should " a period of time " be Preset Time, can be one day or several hrs etc., specifically can determine as required, do not do concrete qualification herein.
Step 102 according to the comparative result of parameter value and predetermined threshold value, is determined the message fragment size of message to be transmitted.
Before the message fragment size of determining message to be transmitted, at first message is sent in the record, sent (be used to characterize message fragment send success rate) parameter value of message fragment in the Preset Time, compare with a default threshold value, for example this threshold value is 70%, and then according to comparative result, and message sends the message fragment size in the record, determine the message fragment size of message to be transmitted, the concrete description that please refer to subsequent embodiment.
Step 103 is treated message transmission according to the message fragment size of the message of determining to be transmitted and is carried out burst.
The embodiment of the invention is by when message transmission, search the message of setting up in advance and send record, and determine the burst size of message to be transmitted according to the relevant parameter of message fragment in the record, thereby realized treating the reasonable burst of message transmission, the information that makes can successfully be transmitted, simultaneously keep efficiency of transmission preferably again, guaranteed the reliable transmission of message transmission in the bad channel network.
Referring to Fig. 2, be the another kind of message fragment method flow diagram of the embodiment of the invention.
This method can comprise:
Step 201, the message fragment of transmission message.
Transmit leg is supposed this message 12MB altogether when sending message A, it is divided into 3 message fragments, and each message fragment 4MB sends this three message fragments one by one.
Step 202 if receive response message in the default response time, then adds up the successful transmission number of times of the message fragment of message; If do not receive response message in the default response time, the failure that then adds up the message fragment of message sends number of times.
In the present embodiment, transmit leg is for the transmission of each message fragment, all require the recipient after receiving this message fragment, return response information in the regular hour is if transmit leg is in the default response time, in 32 seconds, receive this response message, illustrate that then this message fragment sends successfully, otherwise, think that this message fragment sends failure, then resends.Wherein, the size of response message should be less than the size of the message fragment of current transmission, and to guarantee that transmit leg can successfully receive this response message, concrete, response message length can be set to 10 bytes.Send in the process of message fragment at transmit leg, simultaneously the transmission situation of message fragment is carried out record.
If in the default response time, receive response message, then accumulate message fragment and send successful number of times, if do not receive response message, the failure of then accumulating message fragment sends number of times.For message A, specific as follows:
Receive the response message of first message fragment correspondence, then number of success is counted 1;
Do not receive the response message of second message fragment correspondence, then the frequency of failure is counted 1;
Receiving the response message of second the message fragment correspondence that repeats to send, is 2 with number of success accumulative total then;
Not receiving the response message of the 3rd message fragment correspondence, is 2 with frequency of failure accumulative total then;
Receiving the response message of the 3rd the message fragment correspondence that repeats to send, is 3 with number of success accumulative total then.
As known from the above, it is 5 times that the total of message A message fragment sends number of times, and wherein, the number of times that success sends is 3 times, and the number of times that failure sends is 2 times.
In another embodiment, if the message fragment of message A all sends failure continuous 10 times, also be that transmit leg sends 10 times continuously all less than receive response message in the default response time, then transmit leg can reduce half with the message fragment size, for example be decreased to 2MB, and then send by former 4MB size; Still continuous 10 transmission failures when if the burst size has been 32 bytes of minimum, then time-out sends, and zero clearings are write down in all message fragments transmissions of this message A, and (as 1 hour) is that burst sends with the 4M size again behind the certain interval of time.
Step 203 after the message fragment of message all sends end, determines that the message fragment of sign message sends the parameter value of success rate.
After all message fragments of message A sent end, then can send number of times according to the total of message A message fragment be 5 times, and wherein, successfully sending number of times is 3 times, and it is 2 times that failure sends number of times, determined that the message fragment of sign message A sends the parameter value of success rate.
In the present embodiment, with number of success and total percentage that sends number of times as this parameter value, also promptly 60%.
Step 204, with the message fragment size of message, the message fragment of transmitting time and sign message sends the parameter value of success rate, and the typing message sends record.
With the message fragment size 4MB of message A, transmitting time and corresponding parameters value 60% are charged to message and are sent in the record.
In like manner, when sending other message, corresponding information can be charged in the transmission record, for example:
Message fragment size 2MB, transmitting time: * * divides * * second, corresponding parameter value 65% during * * * * month * * day * *;
Message fragment size 1MB, transmitting time: * * divides * * second, corresponding parameter value 70% during * * * * month * * day * *;
Message fragment size 512KB, transmitting time: * * divides * * second, corresponding parameter value 80% during * * * * month * * day * *;
Step 205, when message transmission B, the message of searching in the Preset Time sends record.
When message transmission B, in order to improve accuracy, improve the success rate that sends message to message B burst, at first search apart from intraday message of current time and send record.Suppose that the message transmission in this section period is recorded as:
Message fragment size 4MB, transmitting time 00: 00: 00 on the 28th March in 2011, corresponding parameters value 60%;
Message fragment size 2MB, transmitting time 8: 00: 00 on the 28th March in 2011, corresponding parameter value 65%;
Message fragment size 1MB, transmitting time 15: 00: 00 on the 28th March in 2011, corresponding parameter value 75%;
Message fragment size 512KB, transmitting time 23: 59: 59 on the 28th March in 2011, corresponding parameter value 80%.
Step 206 according to the comparative result of parameter value and predetermined threshold value, is determined the message fragment size of message B to be transmitted.
There is the message fragment of parameter value if the message in the Preset Time sends in the record, then in the message fragment of parameter value, choose the message fragment size of maximum message fragment as message to be transmitted more than or equal to first threshold more than or equal to first threshold.
In the present embodiment, setting first threshold is 70%, then selects parameter value more than or equal to 70% message fragment in the message sending, also is that the message fragment size is 1MB, 512KB, and then choose the message fragment size of maximum message fragment as message transmission, also be 1MB.
In another embodiment of the present invention, if the message in the Preset Time sends the parameter value of message fragment in the record all less than first threshold, but there be the message fragment of parameter value more than or equal to second threshold value, then can choose the message fragment size of the message fragment of parameter value maximum as message to be transmitted, wherein, second threshold value is less than first threshold.For example, message in Preset Time sends in the record, the parameter value of each message fragment is all less than first threshold 70%, but there be the message fragment of parameter value more than or equal to second threshold value 40%, and the message fragment that wherein parameter value is the highest size is 2MB, and then the message fragment size with message to be transmitted is defined as 2MB.
In another embodiment of the present invention, if the message in the Preset Time sends the parameter value of message fragment in the record all less than second threshold value, then in this message transmission record, in the Unrecorded message fragment size, choose the message fragment size of maximum message fragment as message to be transmitted.
In another embodiment of the present invention, if the message in the Preset Time sends the parameter value of message fragment in the record all less than second threshold value, and this message sends in the record and comprises all big or small message fragments, then chooses the message fragment size of the message fragment of parameter value maximum as message to be transmitted.
In another embodiment of the present invention, if this message B is the message that transmits for the first time, promptly there is not abovementioned steps 201~204 yet, search less than message and send record, then can adopt greedy pattern, determine that the message fragment size of message to be transmitted is 4MB.
Certainly, also can also be according to the comparative result of parameter value and predetermined threshold value, adopt other rule to determine the message fragment size of message to be transmitted, specifically can be according to the transmission requirement of current message, determine as transmission time etc., as long as the message fragment size of choosing can guarantee the transmission success rate that this message is certain.
Step 207 is treated message transmission B according to the message fragment size of determining and is carried out burst.
In the present embodiment, can treat message transmission B and carry out burst according to the message fragment size 1MB that determines.
After to message B burst, can repeat the action of similar step 201~204, with the message fragment size of message B, transmitting time and relevant parameter value record are gone into message and are sent in the record so that during the subsequent transmission message with reference to this record.
The embodiment of the invention is by when message transmission, search the message of setting up in advance and send record, and determine the burst size of message to be transmitted according to the transmission success rate of message fragment in the record, thereby realized treating the reasonable burst of message transmission, the information that makes can successfully be transmitted, simultaneously keep efficiency of transmission preferably again, guaranteed the reliable transmission of message transmission in the bad channel network.
More than be description, below to realizing that system for carrying out said process is introduced to the inventive method embodiment.
Referring to Fig. 3, be a kind of message transmission separating system of embodiment of the invention structural representation.
This system can comprise:
Record search unit 301, be used for when message transmission, the message of searching in the Preset Time sends record, and this message sends in the record and comprises the burst size that sends message, transmitting time and be used to characterize the parameter value that the message fragment that has sent message sends success rate.
Burst determining unit 302 is used for the comparative result according to parameter value and predetermined threshold value, determines the message fragment size of message to be transmitted.
Message fragment unit 303 is used for treating message transmission according to the size of the message fragment of determining and carries out burst.
When message transmission, the record search unit 301 of this system is at first searched the message of setting up in advance and is sent record, this message sends in the record and comprises the burst size that sends message, transmitting time and be used to characterize the parameter value that the message fragment that has sent message sends success rate.Find after message in a period of time sends record in record search unit 301, burst determining unit 302 sends message in the record, all have sent the parameter value of the sign message fragment transmission success rate of message, compare with a default threshold value, for example this threshold value is 70%, determine the message fragment size of message to be transmitted then according to comparative result, treat message transmission by message fragment unit 303 according to the message fragment size of the message of determining to be transmitted and carry out burst.
The embodiment of the invention is passed through above-mentioned three unit when message transmission, search the message of setting up in advance and send record, and determine the burst size of message to be transmitted according to the transmission success rate of message fragment in the record, thereby realized treating the reasonable burst of message transmission, the information that makes can successfully be transmitted, simultaneously keep efficiency of transmission preferably again, guaranteed the reliable transmission of message transmission in the bad channel network.
Referring to Fig. 4, be the another kind of message transmission separating system of embodiment of the invention structural representation.
This system can also comprise burst transmitting element 404, first computing unit 405, second computing unit 406 and record cell 407 except can comprising record search unit 401, burst determining unit 402, message fragment unit 403.Wherein, record search unit 401 and message fragment unit 403 are similar with record search unit 301, message fragment unit 303 in the previous embodiment, repeat no more herein.
Burst transmitting element 404 is used to send the message fragment of message.
First computing unit 405 is used for when receiving the message fragment that is used to show message when sending successful response message in the default response time, totally the successful transmission number of times of the message fragment of message; When not receiving response message in the default response time, the failure of the message fragment of accumulative total message sends number of times;
Second computing unit 406 is used for after the message fragment of message all sends end, and according to successfully sending number of times and failure sends number of times, the message fragment that is identified for characterizing message sends the parameter value of success rate;
Record cell 407 is used for the message fragment size with message, and the message fragment that transmitting time and being used to characterizes message sends the parameter value of success rate, and the typing message sends record.
In the present embodiment, after burst transmitting element 404 sends message fragment, whether receive response message by first computing unit, 405 bases, the transmission number of success and the frequency of failure to all message fragments of this message are calculated, concrete, transmission for each message fragment, all require the recipient after receiving this message fragment, return response information in the regular hour is if first computing unit 405 is in the default time, in 32 seconds, receive this response message, illustrate that then this message fragment sends successfully, otherwise, think that this message fragment sends failure, is then resend by burst delivery section far away 404.Wherein, the size of response message should can successfully receive this response message to guarantee first computing unit 405 less than the size of the message fragment of current transmission, and concrete, response message length can be set to 10 bytes.If first computing unit 405 receives response message in the default response time, then accumulate message fragment and send successful number of times, if do not receive response message, the failure of then accumulating message fragment sends number of times.After all message fragments of this message send end, send number of times by second computing unit 406 according to successfully sending number of times and failing, the message fragment that calculating is used to characterize message sends the parameter value of success rate, concrete, can be total transmission number of success and total ratio that sends number of times, ratio between perhaps total transmission number of success and the total transmission frequency of failure etc., get final product so long as can be used to characterize the parameter value that message fragment sends success rate, last by the message fragment size of record cell 407 with message, the message fragment that transmitting time and being used to characterizes message sends the parameter value of success rate, and the typing message sends record.
Set up message transmission record through said units after, can realize treating the burst of message transmission by record search unit 401, burst determining unit 402 and message fragment unit 403.In the present embodiment, burst determining unit 402 specifically can be worked as message in the Preset Time and send when having parameter value more than or equal to the message fragment of first threshold in the record, in the message fragment of parameter value, choose the message fragment size of maximum message fragment as message to be transmitted more than or equal to first threshold; The message that can also be used in Preset Time sends the parameter value of record message fragment all less than first threshold, and when having parameter value more than or equal to the message fragment of second threshold value, choose the message fragment size of the message fragment of parameter value maximum as message to be transmitted, wherein, second threshold value is less than first threshold; The parameter value that can also be used for sending the record message fragment when the message in the Preset Time is during all less than second threshold value, sends in the record in the Unrecorded message fragment size at message, chooses the message fragment size of maximum message fragment as message to be transmitted; The message that can also be used in Preset Time sends the parameter value of record message fragment all less than second threshold value, and message sends when comprising all big or small message fragments in the record, chooses the message fragment size of the message fragment of parameter value maximum as message to be transmitted.If when record search unit 401 was searched less than message transmission record, burst determining unit 402 can also determine directly that the message fragment size of message to be transmitted is 4MB.
After treating message transmission and carry out burst in message fragment unit 403, can send message fragment by burst transmitting element 404, and then the transmission situation typing message of message fragment is sent record by first computing unit 405, second computing unit 406 and record cell 407, so that search during the subsequent transmission message.
The embodiment of the invention by said units when the message transmission, search the message of setting up in advance and send record, and determine the burst size of message to be transmitted according to the transmission success rate of message fragment in the record, thereby realized treating the reasonable burst of message transmission, the information that makes can successfully be transmitted, simultaneously keep efficiency of transmission preferably again, guaranteed the reliable transmission of message transmission in the bad channel network.
The specific implementation process of each unit please refer to the corresponding description among the preceding method embodiment in the above system, repeats no more herein.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within the claim protection range of the present invention.

Claims (14)

1. the sharding method of a message transmission is characterized in that, comprising:
When message transmission, the message of searching in the Preset Time sends record, and described message sends in the record and comprises the burst size that sends message, transmitting time and be used to characterize the parameter value that the message fragment that has sent message sends success rate;
According to the comparative result of described parameter value and predetermined threshold value, determine the message fragment size of message to be transmitted;
Treat message transmission according to the message fragment size of determining and carry out burst.
2. method according to claim 1 is characterized in that, described comparative result according to described parameter value and predetermined threshold value is determined to comprise the message fragment size of message to be transmitted:
There is the message fragment of parameter value if the message in the Preset Time sends in the record, then in the message fragment of parameter value, choose the message fragment size of maximum message fragment as message to be transmitted more than or equal to described first threshold more than or equal to first threshold.
3. method according to claim 1 is characterized in that, described comparative result according to described parameter value and predetermined threshold value is determined to comprise the message fragment size of message to be transmitted:
If the message in the Preset Time sends the parameter value of message fragment in the record all less than first threshold, and there be the message fragment of parameter value more than or equal to second threshold value, then choose the message fragment size of the message fragment of parameter value maximum as message to be transmitted, wherein, described second threshold value is less than described first threshold.
4. method according to claim 1 is characterized in that, described comparative result according to described parameter value and predetermined threshold value is determined to comprise the message fragment size of message to be transmitted:
If the message in the Preset Time sends the parameter value of message fragment in the record all less than second threshold value, then in described message transmission record, in the Unrecorded message fragment size, choose the message fragment size of maximum message fragment as message to be transmitted.
5. method according to claim 1 is characterized in that, described comparative result according to described parameter value and predetermined threshold value is determined to comprise the message fragment size of message to be transmitted:
If the message in the Preset Time sends the parameter value of message fragment in the record all less than second threshold value, and comprise all big or small message fragments in the described message transmission record, then choose the message fragment size of the message fragment of parameter value maximum as message to be transmitted.
6. method according to claim 1 is characterized in that, also comprises:
If search less than described message and send record, determine that then the message fragment size of described message to be transmitted is 4MB.
7. according to any described method in the claim 1 to 6, it is characterized in that, also comprise:
Send the message fragment of message;
Be used to show that the message fragment of described message sends successful response message if in the default response time, receive, then add up the successful transmission number of times of the message fragment of described message; If do not receive described response message in the default response time, the failure that then adds up the message fragment of described message sends number of times;
After the message fragment of described message all sends end, successfully send number of times and failure sends number of times according to described, the message fragment that is identified for characterizing described message sends the parameter value of success rate;
With the message fragment size of described message, transmitting time and the described message fragment that is used to characterize described message send the parameter value of success rate, and the described message of typing sends record.
8. the separating system of a message transmission is characterized in that, comprising:
The record search unit, be used for when message transmission, the message of searching in the Preset Time sends record, and described message sends in the record and comprises the burst size that sends message, transmitting time and be used to characterize the parameter value that the message fragment that has sent message sends success rate;
The burst determining unit is used for the comparative result according to described parameter value and predetermined threshold value, determines the message fragment size of message to be transmitted;
The message fragment unit is used for treating message transmission according to the size of the described message fragment of determining and carries out burst.
9. system according to claim 8 is characterized in that,
Described burst determining unit, specifically be used for when the message in the Preset Time sends record and has parameter value more than or equal to the message fragment of first threshold, in the message fragment of parameter value, choose the message fragment size of maximum message fragment as message to be transmitted more than or equal to described first threshold.
10. system according to claim 8 is characterized in that,
Described burst determining unit, the message that specifically is used in Preset Time sends the parameter value of record message fragment all less than first threshold, and when having parameter value more than or equal to the message fragment of second threshold value, choose the message fragment size of the message fragment of parameter value maximum as message to be transmitted, wherein, described second threshold value is less than described first threshold.
11. system according to claim 8 is characterized in that,
Described burst determining unit, the parameter value that specifically is used for sending the record message fragment when the message in the Preset Time is during all less than second threshold value, in described message transmission record, in the Unrecorded message fragment size, choose the message fragment size of maximum message fragment as message to be transmitted.
12. system according to claim 8 is characterized in that,
Described burst determining unit, the message that specifically is used in Preset Time sends the parameter value of record message fragment all less than second threshold value, and described message sends when comprising all big or small message fragments in the record, chooses the message fragment size of the message fragment of parameter value maximum as message to be transmitted.
13. system according to claim 8 is characterized in that,
Described burst determining unit also is used for determining that when searching when sending record less than described message the message fragment size of described message to be transmitted is 4MB.
14. any described system in 13 is characterized in that according to Claim 8, also comprises:
The burst transmitting element is used to send the message fragment of message;
First computing unit is used for when receiving the message fragment that is used to show described message when sending successful response message in the default response time, totally the successful transmission number of times of the message fragment of described message; When not receiving described response message in the default response time, the failure of the message fragment of the described message of accumulative total sends number of times;
Second computing unit is used for after the message fragment of described message all sends end, successfully sends number of times and failure sends number of times according to described, and the message fragment that is identified for characterizing described message sends the parameter value of success rate;
Record cell is used for the message fragment size with described message, and transmitting time and the described message fragment that is used to characterize described message send the parameter value of success rate, and the described message of typing sends record.
CN2011100771693A 2011-03-29 2011-03-29 Method and system for fragmenting message to be transmitted Pending CN102123103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100771693A CN102123103A (en) 2011-03-29 2011-03-29 Method and system for fragmenting message to be transmitted

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100771693A CN102123103A (en) 2011-03-29 2011-03-29 Method and system for fragmenting message to be transmitted

Publications (1)

Publication Number Publication Date
CN102123103A true CN102123103A (en) 2011-07-13

Family

ID=44251559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100771693A Pending CN102123103A (en) 2011-03-29 2011-03-29 Method and system for fragmenting message to be transmitted

Country Status (1)

Country Link
CN (1) CN102123103A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079232A (en) * 2013-01-16 2013-05-01 大唐移动通信设备有限公司 Method and device for determining maximum capacity of message
CN104185216A (en) * 2013-05-28 2014-12-03 腾讯科技(深圳)有限公司 File transferring method and apparatus
CN110019023A (en) * 2019-01-24 2019-07-16 阿里巴巴集团控股有限公司 A kind of method for pushing, device and the equipment of organization information message
CN110881021A (en) * 2018-09-06 2020-03-13 中国移动通信有限公司研究院 MSRP fragment processing method and device, network equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0942560A2 (en) * 1998-03-11 1999-09-15 Siemens Information and Communication Networks Inc. Apparatus and method for speech transport with adaptive packet size
CN1433230A (en) * 2001-12-29 2003-07-30 Lg电子株式会社 Group frame length altering equipment and method
CN1567736A (en) * 2003-07-08 2005-01-19 联想(北京)有限公司 A method for improving transmission efficiency of wireless network channel
US6956867B1 (en) * 1999-08-13 2005-10-18 Fujitsu Limited Method and router changing fragment size of data packets
CN1917476A (en) * 2006-09-07 2007-02-21 杭州华为三康技术有限公司 Laminated adjustment method and device
CN101299755A (en) * 2007-04-30 2008-11-05 Vixs系统公司 Multimedia client/server system with adjustable packet size and methods for use therewith

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0942560A2 (en) * 1998-03-11 1999-09-15 Siemens Information and Communication Networks Inc. Apparatus and method for speech transport with adaptive packet size
US6956867B1 (en) * 1999-08-13 2005-10-18 Fujitsu Limited Method and router changing fragment size of data packets
CN1433230A (en) * 2001-12-29 2003-07-30 Lg电子株式会社 Group frame length altering equipment and method
CN1567736A (en) * 2003-07-08 2005-01-19 联想(北京)有限公司 A method for improving transmission efficiency of wireless network channel
CN1917476A (en) * 2006-09-07 2007-02-21 杭州华为三康技术有限公司 Laminated adjustment method and device
CN101299755A (en) * 2007-04-30 2008-11-05 Vixs系统公司 Multimedia client/server system with adjustable packet size and methods for use therewith

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079232A (en) * 2013-01-16 2013-05-01 大唐移动通信设备有限公司 Method and device for determining maximum capacity of message
CN104185216A (en) * 2013-05-28 2014-12-03 腾讯科技(深圳)有限公司 File transferring method and apparatus
CN104185216B (en) * 2013-05-28 2018-09-04 腾讯科技(深圳)有限公司 A kind of transmission method and device of file
CN110881021A (en) * 2018-09-06 2020-03-13 中国移动通信有限公司研究院 MSRP fragment processing method and device, network equipment and storage medium
CN110881021B (en) * 2018-09-06 2022-06-03 中国移动通信有限公司研究院 MSRP fragment processing method and device, network equipment and storage medium
CN110019023A (en) * 2019-01-24 2019-07-16 阿里巴巴集团控股有限公司 A kind of method for pushing, device and the equipment of organization information message

Similar Documents

Publication Publication Date Title
CN106953718A (en) A kind of implementation method, device and the equipment of the retransmission process of code block
CN108512785B (en) Data transmission protocol method
CN109451032B (en) Message transmission system
CN102123103A (en) Method and system for fragmenting message to be transmitted
CN102752283A (en) Method and system for transmitting files with large data sizes
CN104580371A (en) Methods of fragmentation, transmission and copy control for file fixed size and changeable size in opportunistic network
CN105306424A (en) Stream media transmission method, stream media sending device and stream media transmission system
CN105812456A (en) File transmission method and device
CN103428037A (en) User online detecting method, device and system
CN101841480A (en) Multilink message sending method, equipment and system
CN102611531A (en) One-way data transmission method
CN102480520A (en) Media data synchronism method based on differential metadata description structure
CN104936156A (en) Short message sending method and device
CN105450682A (en) Method, device, and system for data synchronous storage and synchronizing data to client
CN104079623A (en) Method and system for controlling multilevel cloud storage synchrony
CN102711192A (en) Method and device for processing network service quality and communication system
CN101771518A (en) Method, device and system for sending status report
CN103414543B (en) A kind of method adjusting HARQ buffer memory and terminal
CN113031990B (en) Broadcasting upgrading method, system, equipment and storage medium of street lamp terminal
CN104967663A (en) File transmission method and system, file sending device, and file receiving device
CN102932820A (en) Link processing method, device and system
CN102868557B (en) Method for realizing configuration synchronization between network manager and xPON (x-passive optical network) device
CN105119968A (en) Picture transmission method and device
CN104683288A (en) Message continuous transmission method and device
CN102802197A (en) Method and device for transmitting application data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110713