CN101436992A - Method, apparatus and system for transferring user message - Google Patents

Method, apparatus and system for transferring user message Download PDF

Info

Publication number
CN101436992A
CN101436992A CNA200810192940XA CN200810192940A CN101436992A CN 101436992 A CN101436992 A CN 101436992A CN A200810192940X A CNA200810192940X A CN A200810192940XA CN 200810192940 A CN200810192940 A CN 200810192940A CN 101436992 A CN101436992 A CN 101436992A
Authority
CN
China
Prior art keywords
user message
priority
transport stream
control protocol
data block
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
CNA200810192940XA
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA200810192940XA priority Critical patent/CN101436992A/en
Publication of CN101436992A publication Critical patent/CN101436992A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention discloses a method, a device and a system for transmitting user information, and belongs to the communication field and invented to solve the problem in the prior art that flow control transmission protocols can not furthest ensure the transmission of important and valid user information. According to the technical proposal provided by the embodiment of the invention, a transmitting end sends user information on a priority basis, and a receiving end receives and processes the user information on a priority basis. Through the technical proposal provided by the embodiment of the invention, flow control transmission protocols can distinguish the priority of the user information; therefore, when network congestion or abnormal traffic occurs, the embodiment of the invention can furthest protect the transmission of important and valid user information and reduces the transmission of invalid user information so as to maximize the service efficiency of the system. Moreover, the technical proposal provided by the embodiment of the invention can be used in the network communication system field.

Description

Transmit the methods, devices and systems of user message
Technical field
The present invention relates to the communications field, relate in particular to a kind of methods, devices and systems that transmit user message.
Background technology
(Stream Control Transmission Protocol is a kind of reliable host-host protocol SCTP) to SCTP, and it is a transport layer protocol, transmits the user message that upper-layer protocol issues.SCTP sets up coupling between two SCTP endpoint, provide reliable, orderly data delivery service by transport stream, transport stream is an one-way logical channel of setting up between two SCTP endpoint, submit business for order, user messages all in this passage all must transmit in order.
In the prior art, the message passing mechanism of SCTP exists following shortcoming: SCTP when transmitting user message, can not distinguish responsible consumer message and inessential user message, validated user message and inactive users message.In network congestion, perhaps transmitting terminal SCTP disposal ability deficiency, when perhaps receiving terminal SCTP disposal ability is not enough, the user message amount of Chuan Diing has exceeded the user message amount that SCTP can transmit if desired, can't guarantee transmission important, validated user message so, reach the maximization of system business efficient.
Summary of the invention
Embodiments of the invention provide a kind of methods, devices and systems that transmit user message, can guarantee transmission important, validated user message.
The method that the embodiment of the invention is transmitted user message is by the following technical solutions:
A kind of method of transmitting user message comprises:
Receive the user message of flow transmission control protocol, described user message carries precedence information;
According to transport stream priority that sets in advance or user message priority transmission rule, transmit described user message.
The method that the embodiment of the invention is transmitted user message is by the following technical solutions:
A kind of method of transmitting user message comprises:
By the user message that flow transmission control protocol receiving end/sending end sends, described user message is that transmitting terminal transmits according to the transport stream priority or the user message priority transmission rule that set in advance;
Priority orders according to described user message is handled the described user message that receives.
The device that the embodiment of the invention is transmitted user message is by the following technical solutions:
A kind of device that transmits user message comprises:
Receiver module is used to receive the user message of flow transmission control protocol, and described user message carries precedence information;
Sending module is used for transmitting described user message according to the transport stream priority or the user message priority transmission rule that set in advance.
The device that the embodiment of the invention is transmitted user message is by the following technical solutions:
A kind of device that transmits user message comprises:
Receiver module is used for the user message by the transmission of flow transmission control protocol receiving end/sending end, and described user message is that transmitting terminal transmits according to the transport stream priority or the user message priority transmission rule that set in advance;
Processing module is used for handling the described user message that receives according to the priority orders of described user message.
The system that the embodiment of the invention is transmitted user message is by the following technical solutions:
A kind of system that transmits user message comprises:
Transmitting terminal is used to receive the user message of flow transmission control protocol, and described user message carries precedence information, according to transport stream priority that sets in advance or user message priority transmission rule, transmits described user message;
Receiving terminal is used for the user message by the transmission of flow transmission control protocol receiving end/sending end, and handles the described user message that receives according to the priority orders of described user message.
The embodiment of the invention provides a kind of methods, devices and systems that transmit user message; the technical scheme that provides by the embodiment of the invention; SCTP can be distinguished the priority of user message; the user profile of priority treatment high priority; thereby under the situation of network congestion or abnormal traffic amount; protect to greatest extent that high priority is just important, the transmission of validated user message, reduce the transmission of inactive users message, reach the maximization of system business efficient.
Description of drawings
Fig. 1 is the described transmission user message of an embodiment of the invention method flow diagram;
Fig. 2 is the described transmission user message of an embodiment of the invention method flow diagram;
Fig. 3 is the described transmission user message of an embodiment of the invention method flow diagram;
Fig. 4 is the described optional parameters structural representation of the embodiment of the invention;
Fig. 5 is the described transmission user message of an embodiment of the invention method flow diagram;
Fig. 6 is the described transmission user message of an embodiment of the invention method flow diagram;
Fig. 7 is the described block data structure schematic diagram of the embodiment of the invention;
Fig. 8 is the described transmission user message of an embodiment of the invention method flow diagram;
Fig. 9 is the described transmission user message of an embodiment of the invention device block diagram;
Figure 10 is the described transmission user message of an embodiment of the invention device block diagram;
Figure 11 is the described transmission user message system of an embodiment of the invention block diagram.
Embodiment
The transmission of, validated user message important in order to guarantee, the embodiment of the invention provides a kind of method of transmitting user message.
As shown in Figure 1, this transmission user message method comprises in the processing of transmitting terminal:
101, receive the user message of flow transmission control protocol;
The priority of the upper-layer protocol unit definition user message of transmitting terminal, the SCTP unit of transmitting terminal (promptly realizing the unit of Stream Control Transmission Protocol function) receives the user message that upper-layer protocol issues, and comprises precedence information in this user message.In actual applications, the upper-layer protocol unit of transmitting terminal can be M3UA (the MTP3-User Adaptation layer in the Softswitch, MTP third level user adaptation layer) unit or M2UA (MTP2-User Adaptation layer, MTP second level user adaptation layer) unit or IUA (I SDNQ.931-User Adaptation Layer, ISDN is customer adaptation layer protocol Q.931) unit or SUA (SS7SCCP-User Adaptation Layer, SS7 SCCP User Adaptation Layer) unit etc.
102, according to the transport stream priority or the user message priority transmission rule that set in advance, transmit described user message.
The user message that the SCTP unit of transmitting terminal issues the upper-layer protocol unit sends the SCTP unit of receiving terminal to according to the priority orders of user message, the SCTP unit of transmitting terminal according to user message priority from high to low, transmit the user message of high priority earlier, transmit the user message of time high priority then, by that analogy, transmit the minimum user message of priority at last.
The embodiment of the invention also provides a kind of method of transmitting user message
As shown in Figure 2, the another kind of user message method of transmitting comprises in the processing of receiving terminal:
201, the user message that sends by flow transmission control protocol receiving end/sending end;
The user message that the SCTP unit of the SCTP unit receiving end/sending end of receiving terminal sends over, described user message are that transmitting terminal transmits according to the transport stream priority or the user message priority transmission rule that set in advance.
202, handle the user message that receives according to the priority orders of described user message.
The user message that receives is handled according to the priority orders of described user message in the SCTP unit of receiving terminal, the user message that receives is sent to the upper-layer protocol unit of receiving terminal.According to user message priority, handle the user message of high priority from high to low earlier, handle the user message of time high priority then, by that analogy, the last minimum user message of processing priority.
The embodiment of the invention provides a kind of method of transmitting user message; the technical scheme that provides by the embodiment of the invention; SCTP can be distinguished the priority of user message; the user profile of priority treatment high priority; thereby under the situation of network congestion or abnormal traffic amount; protect to greatest extent that high priority is just important, the transmission of validated user message, reduce the transmission of inactive users message, reach the maximization of system business efficient.
Transport stream is an one-way logical channel of setting up between two SCTP endpoint, for a SCTP endpoint, inlet flow is exactly the output stream of opposite end SCTP endpoint, the output stream of transmitting terminal is exactly the inlet flow of receiving terminal, in embodiments of the present invention, transmitting terminal is referred to as transport stream to receiving terminal, receiving terminal to the stream of this both direction of transmitting terminal.In the said method, the transport stream that transmitting terminal can be set up by SCTP sends the precedence information of user message to receiving terminal, also can send the precedence information of user message to receiving terminal by the data block among the SCTP, when transmitting user message by data block, transport stream and transport stream of the prior art are as broad as long, and the priority of transport stream is not set.Specifically further describe by the following examples.
Below in conjunction with different embodiment, describe transmitting terminal and send the precedence information of user message to receiving terminal by different modes.
Wherein, among Fig. 3 and the embodiment shown in Figure 5, transmitting terminal sends the precedence information of user message to receiving terminal by transport stream.
As shown in Figure 3, transmitting the user message method comprises in the processing of transmitting terminal:
301, the priority of transport stream in the flow transmission control protocol is set;
Before transmitting terminal SCTP unit transmitted user message, transmitting terminal upper-layer protocol unit was provided with the priority of transport stream by transmitting terminal SCTP unit.In concrete operations, transmitting terminal upper-layer protocol unit sends message to transmitting terminal SCTP unit, and notice transmitting terminal SCTP unit is provided with the priority of transport stream.In the transport stream that can have between two SCTP endpoint more than two, transmitting terminal SCTP unit is provided with a priority for each transport stream, such as the priority that transport stream 0 is set is 1, the priority that transport stream 1 is set is 2 or the like, and priority is that to be higher than priority be 2 transport stream to the priority of 1 transport stream.After the priority of transport stream is set, transmitting terminal SCTP unit is when transmitting user message, according to the priority of transport stream from high to low, the preferential user message that transmits in the high priority transfer stream, transmit the user message in time high priority transfer stream again, transmit the user message in the lowest priority transport stream at last.
302, transmit the priority of transport stream to receiving terminal by the flow transmission control protocol;
After transmitting terminal SCTP unit set the priority of transport stream, transmitting terminal SCTP unit sent the precedence information of transport stream to receiving terminal SCTP unit by INIT (initial, initial) data block.At this moment need to expand the optional parameters in the INIT data block of existing protocol, carry the precedence information of transport stream by this optional parameters.Types value with this optional parameters in the embodiment of the invention is made as 21, and the types value of optional parameters can be made as other does not in actual applications have occupied value.。
As shown in Figure 4, be the INIT optional parameters after the expansion, each row of this optional parameters has 32 bits, and preceding 16 bits of first row represent that the types value of this optional parameters is the shared byte numbers of 21, the first row back these optional parameters medium priority information of 16 bit identification.Preceding 16 bits of second row are represented the priority of transport stream 0, and the second row back, 16 bits are represented the priority of transport stream 1, and preceding 16 bits of the third line are represented the priority of transport stream 2, by that analogy.Like this in actual transmissions, the types value of 1~2 byte representation of optional parameters self, the shared byte number of 3~4 byte representation precedence informations, per two bytes are carried the precedence information of a transport stream in other the byte.
In transmitting terminal SCTP unit after receiving terminal SCTP unit transmits the precedence information of transport stream, receiving terminal SCTP unit sends INIT ACK (Acknowledge Character to transmitting terminal SCTP unit, acknowledge character) data block, include optional parameters in this data block, the structure of optional parameters as shown in Figure 4, receiving terminal SCTP unit sends to transmitting terminal SCTP unit by this optional parameters with the precedence information of the transport stream of receiving terminal, inform the precedence information of the transport stream of this direction from the receiving terminal to the transmitting terminal, when transmitting terminal sends user message, need use the precedence information of transport stream in the INIT ack msg piece at receiving terminal.
After transmitting terminal SCTP unit sent the precedence information of transport stream to receiving terminal SCTP unit by the INIT data block, receiving terminal SCTP unit reported receiving terminal upper-layer protocol unit with the priority of described transport stream.
303, user message is sent in the transport stream of respective priority and transmit, transmit user message in the transport stream to receiving terminal according to the priority orders of transport stream.
After the priority of transport stream is learnt in receiving terminal SCTP unit, receiving terminal upper-layer protocol unit, the user message that transmitting terminal SCTP unit issues transmitting terminal upper-layer protocol unit sends in the transport stream of respective priority and transmits, and includes the precedence information of user message in this user message.Such as; the priority of the user message that the transmitting terminal upper-layer protocol issues is 1; then this user message is sent to priority is to transmit in 1 the transport stream to transmitting terminal SCTP; send receiving terminal SCTP to; in actual applications; can also be 1 with priority; it is to transmit in 1 the transport stream that 2 user message sends to priority; with priority is 3; it is to transmit or the like in 2 the transport stream that 4 user message sends to priority; user message can be sent in the transport stream identical and transmit with user message priority; also the user message of different priorities can be sent in the same transport stream and transmit; give unnecessary details no longer one by one at this; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Transmitting terminal SCTP sends the user message that is transmitted in the transport stream according to the priority orders of transport stream, preferentially sends the user message that is transmitted in the transport stream of high priority.
As shown in Figure 5, another kind of transmission user message method being treated at receiving terminal:
501, pass through the priority of the transport stream of flow transmission control protocol receiving end/sending end transmission;
After transmitting terminal upper-layer protocol unit sets the priority of transport stream, the precedence information of the transport stream that receiving end/sending end SCTP unit, receiving terminal SCTP unit passes over by the INIT data block carries the precedence information of transport stream by the optional parameters in the INIT data block.Types value with this optional parameters in the embodiment of the invention is made as 21, and the types value of optional parameters can be made as other does not in actual applications have occupied value.
As shown in Figure 4, be the INIT optional parameters after the expansion, each row of this optional parameters has 32 bits, and preceding 16 bits of first row represent that the types value of this optional parameters is the shared byte numbers of 21, the first row back these optional parameters medium priority information of 16 bit identification.Preceding 16 bits of second row are represented the priority of transport stream 0, and the second row back, 16 bits are represented the priority of transport stream 1, and preceding 16 bits of the third line are represented the priority of transport stream 2, by that analogy.Like this in actual transmissions, the types value of 1~2 byte representation of optional parameters self, the shared byte number of 3~4 byte representation precedence informations, per two bytes are carried the precedence information of a transport stream in other the byte.
After the precedence information that receives the transport stream that transmitting terminal SCTP unit passes over by the INIT data block, the priority of the transport stream that receiving terminal SCTP unit is set with transmitting terminal reports receiving terminal upper-layer protocol unit.
502, according to the user message in the priority orders reception transport stream of transport stream;
Receiving terminal SCTP unit is according to the user message in the priority orders reception transport stream of the set transport stream of transmitting terminal, according to transport stream priority from high to low, receive the streamed user message of high priority transfer earlier, receive time streamed user message of high priority transfer then, by that analogy, receive the streamed user message of the minimum transmission of priority at last.
503, according to receiving the described user message of sequential processes.
Receiving terminal SCTP unit is according to after the user message in the priority orders reception transport stream of the set transport stream of transmitting terminal, the reception order is the priority orders of user message just, receiving terminal SCTP unit sends the user message that receives to receiving terminal upper-layer protocol unit according to the reception order, earlier the user message that receives just sends receiving terminal upper-layer protocol unit earlier to, after the user message that receives send the receiving terminal upper-layer protocol to after just.
In embodiments of the present invention, preferentially transmit and handle the user message that transmits in the high priority flows, sending buffering area and receiving the user message that buffering area will preferentially be stored high priority; Because of congested or disposal ability is not enough when causing user message to overstock, transmitting terminal preferentially transmits the user message of high priority, transmits the user message of low priority again; Receiving terminal preferentially transmits high-priority users message to the upper strata, transmits low priority user message again; Work as system overload, in the time of need abandoning the part user message, preferentially abandon the user message of low priority, guarantee the transmission of high-priority users message.
The embodiment of the invention provides a kind of method of transmitting user message; the technical scheme that provides by the embodiment of the invention; SCTP can be distinguished the priority of user message; the user profile of priority treatment high priority; thereby under the situation of network congestion or abnormal traffic amount; protect to greatest extent that high priority is just important, the transmission of validated user message, reduce the transmission of inactive users message, reach the maximization of system business efficient.
In Fig. 6 and embodiment shown in Figure 8, transmitting terminal sends the precedence information of user message to receiving terminal by data block, comprises the information of user message and priority thereof in the described data block.When transmitting user message by data block, transport stream and transport stream of the prior art are as broad as long, and the priority of transport stream is not set.
As shown in Figure 6, transmitting the user message method comprises in the processing of transmitting terminal:
601, the priority of user message is set;
The priority of the upper-layer protocol unit of transmitting terminal definition user message, and with user message with and priority be handed down to transmitting terminal SCTP unit.
602, by the flow transmission control protocol and according to the priority orders of user message to the receiving terminal transmission block.
Transmitting terminal SCTP puts into data block with user message and precedence information thereof in the unit, transmits this data block to receiving terminal SCTP unit.The form of this data block as shown in Figure 7, each row comprises 32 bits, i.e. 4 bytes, the type that preceding 8 table of bits of first row are shown data block (in embodiments of the present invention, the types value of this data block is 0), 9~13 of first row has the precedence information that 5 bits are represented user message altogether, and back 16 table of bits of first row are shown the byte number of data block.From fifth line, the content in the data block is a user message, and in actual transmissions, data block is a user message since the 17th byte like this.
Transmitting terminal SCTP unit sends the data block at user message place to receiving terminal SCTP unit according to the priority orders of user message, according to user message priority from high to low, transmit the data block at high-priority users message place earlier, transmit the data block at time high-priority users message place then, by that analogy, transmit the data block at the minimum user message place of priority at last.
As shown in Figure 8, another kind of transmission user message method being treated at receiving terminal:
801, the data block that sends over by flow transmission control protocol receiving end/sending end;
The data block that receiving end/sending end SCTP unit, receiving terminal SCTP unit sends over carries user message and precedence information thereof in this data block.
802, according to the user message in the described data block of sequential processes of described data block medium priority information representation.
Receiving terminal SCTP unit sends the user message that receives to receiving terminal upper-layer protocol unit according to the order of described data block medium priority information representation, receiving terminal SCTP unit is according to the height of user message priority, send the user message of high priority to receiving terminal upper-layer protocol unit earlier, user message with inferior high priority sends receiving terminal upper-layer protocol unit to then, by that analogy, send the user message of low priority to receiving terminal upper-layer protocol unit at last.
In embodiments of the present invention, preferentially transmit and handle the user message that transmits in the high priority flows, sending buffering area and receiving the user message that buffering area will preferentially be stored high priority; Because of congested or disposal ability is not enough when causing user message to overstock, transmitting terminal preferentially transmits the user message of high priority, transmits the user message of low priority again; Receiving terminal preferentially transmits high-priority users message to the upper strata, transmits low priority user message again; Work as system overload, in the time of need abandoning the part user message, preferentially abandon the user message of low priority, guarantee the transmission of high-priority users message.
The embodiment of the invention provides a kind of method of transmitting user message; the technical scheme that provides by the embodiment of the invention; SCTP can be distinguished the priority of user message; the user profile of priority treatment high priority; thereby under the situation of network congestion or abnormal traffic amount; protect to greatest extent that high priority is just important, the transmission of validated user message, reduce the transmission of inactive users message, reach the maximization of system business efficient.
In the method for the above-mentioned transmission user message of the embodiment of the invention, the transport stream that transmitting terminal can be set up by SCTP sends the precedence information of user message to receiving terminal, also can send the precedence information of user message to receiving terminal, can also will transmit the precedence information of user message by transport stream and combine in actual applications by the precedence information that data block transmits user message by the data block among the SCTP.
After transmitting terminal was provided with the priority of transport stream, transmitting terminal sent data block by transport stream to receiving terminal, comprised the precedence information of user message and user message in this data block.Transmitting terminal preferentially send data block in the high priority transfer stream to receiving terminal at first according to transport stream priority from high to low, transmits the data block in time high priority transfer stream again, transmits the data block in the low priority transport stream at last.For data blocks different in the same transport stream, transmitting terminal again according to the priority of user message in the data block from high to low, preferentially transmit the data block at high-priority users message place to receiving terminal, transmit the data block at time high-priority users message place again, transmit the data block at low priority user message place at last.In like manner, receiving terminal is after receiving the data block that transmitting terminal sends over, at first from high to low according to transport stream priority, preferential data block in upper strata transmission high priority transfer stream, transmit the data block in time high priority transfer stream again, transmit the data block in the low priority transport stream at last.For data blocks different in the same transport stream, receiving terminal again according to the priority of user message in the data block from high to low, preferentially transmit the data block at high-priority users message place to the upper strata, transmit the data block at time high-priority users message place again, transmit the data block at low priority user message place at last.
Transmitting terminal can also be at first according to the priority of user message in the data block from high to low, preferentially transmit the data block at high-priority users message place to receiving terminal, transmit the data block at time high-priority users message place again, transmit the data block at low priority user message place at last.Data block for the user message place of equal priority in the transport stream of different priorities, transmitting terminal again according to transport stream priority from high to low, preferentially send data block in the high priority transfer stream to receiving terminal, transmit the data block in time high priority transfer stream again, transmit the data block in the low priority transport stream at last.In like manner, receiving terminal at first according to the priority of user message in the data block from high to low, preferentially transmit the data block at high-priority users message place, transmit the data block at time high-priority users message place again, transmit the data block at low priority user message place at last to the upper strata.Data block for the user message place of equal priority in the transport stream of different priorities, receiving terminal again according to transport stream priority from high to low, preferential data block in upper strata transmission high priority transfer stream, transmit the data block in time high priority transfer stream again, transmit the data block in the low priority transport stream at last.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The embodiment of the invention also provides a kind of transmission user message device.
As shown in Figure 9, this transmission user message device at transmitting terminal comprises receiver module 901 and sending module 902:
Wherein, receiver module 901 receives the user message of flow transmission control protocol, and described user message carries precedence information; Sending module 902 transmits described user message according to the transport stream priority or the user message priority transmission rule that set in advance.
In the said apparatus, transmitting terminal can be provided with the priority of transport stream earlier, the precedence information of transport stream is informed receiving terminal, send the precedence information of user message to receiving terminal by transport stream again, also can send the precedence information of user message to receiving terminal by the data block among the SCTP, can also will transmit the precedence information of user message by transport stream and combine by the precedence information that data block transmits user message, the specific implementation of this device be with reference to the transmission user message method in the foregoing description.
The method of transmission user message corresponding shown in Figure 3, the transport stream that transmitting terminal is set up by SCTP sends the precedence information of user message to receiving terminal, and receiver module 901 also is used for being provided with according to the precedence information of described user message the priority of transport stream in the flow transmission control protocol; Sending module 902 also is used for transmitting to receiving terminal by the flow transmission control protocol priority of transport stream, and user message is sent in the transport stream of respective priority and transmit, transmit user message in the transport stream according to the priority orders of transport stream to receiving terminal.
The method of transmission user message corresponding shown in Figure 6, transmitting terminal sends the precedence information of user message to receiving terminal by the data block among the SCTP, sending module 902 be used for by the flow transmission control protocol and according to the priority orders of user message to the receiving terminal transmission block, comprise the information of described user message and priority thereof in this data block.
The embodiment of the invention also provides a kind of transmission user message device.
As shown in figure 10, this transmission user message device at receiving terminal comprises receiver module 1001 and processing module 1002:
Wherein, receiver module 1001 is used for the user message by the transmission of flow transmission control protocol receiving end/sending end, and described user message is that transmitting terminal transmits according to the transport stream priority or the user message priority transmission rule that set in advance; Processing module 1002 is used for handling the user message that receives according to the priority orders of described user message.
In the said apparatus, the precedence information of the transport stream that receiving terminal can first receiving end/sending end passes over, the precedence information of the user message that passes over by the transport stream receiving end/sending end again, the precedence information of the user message that also can receiving end/sending end passes over by the data block among the SCTP, the precedence information of the user message that can also receiving end/sending end passes over by transport stream and data block, the specific implementation of this device is with reference to the transmission user message method in the foregoing description.
The method of transmission user message corresponding shown in Figure 5, the transport stream that transmitting terminal is set up by SCTP sends the precedence information of user message to receiving terminal, receiver module 1001 is used for the priority by the transport stream of flow transmission control protocol receiving end/sending end transmission, this priority is by the transmitting terminal setting, and receives user message in the transport stream according to the priority of transport stream; Processing module 1002 is used for according to receiving the described user message of sequential processes, and described user message is to transmit by the transport stream of respective priority.
The method of transmission user message corresponding shown in Figure 8, transmitting terminal sends the precedence information of user message to receiving terminal by the data block among the SCTP, receiver module 1001 is used for the data block that sends over by flow transmission control protocol receiving end/sending end, comprises the information of user message and priority thereof in this data block; Processing module 1002 is used for the user message according to the described data block of sequential processes of described data block medium priority information representation.
In embodiments of the present invention, preferentially transmit and handle the user message that transmits in the high priority flows, sending buffering area and receiving the user message that buffering area will preferentially be stored high priority; Because of congested or disposal ability is not enough when causing user message to overstock, transmitting terminal preferentially transmits the user message of high priority, transmits the user message of low priority again; Receiving terminal preferentially transmits high-priority users message to upper-layer protocol, transmits low priority user message again; Work as system overload, in the time of need abandoning the part user message, preferentially abandon the user message of low priority, guarantee the transmission of high-priority users message.
The embodiment of the invention provides a kind of device that transmits user message; the technical scheme that provides by the embodiment of the invention; SCTP can be distinguished the priority of user message; the user profile of priority treatment high priority; thereby under the situation of network congestion or abnormal traffic amount; protect to greatest extent that high priority is just important, the transmission of validated user message, reduce the transmission of inactive users message, reach the maximization of system business efficient.
The embodiment of the invention also provides a kind of system that transmits user message.
As shown in figure 11, this system comprises transmitting terminal 1101 and receiving terminal 1102:
Wherein, transmitting terminal 1101 is used to receive the user message of flow transmission control protocol, and described user message carries precedence information, according to transport stream priority that sets in advance or user message priority transmission rule, transmits described user message; Receiving terminal 1102 is used for the user message by the transmission of flow transmission control protocol receiving end/sending end, and handles the user message that receives according to the priority orders of described user message.
In the said apparatus, transmitting terminal can be provided with the priority of transport stream earlier, the precedence information of transport stream is informed receiving terminal, send the precedence information of user message to receiving terminal by transport stream again, also can send the precedence information of user message to receiving terminal by the data block among the SCTP, can also will transmit the precedence information of user message by transport stream and combine by the precedence information that data block transmits user message, the specific implementation of this system be with reference to the transmission user message method in the foregoing description.
The method of corresponding diagram 3 and transmission user message shown in Figure 5, the transport stream that transmitting terminal is set up by SCTP sends the precedence information of user message to receiving terminal, transmitting terminal 1101 is used for being provided with the priority of flow transmission control protocol transport stream, transmit the priority of described transport stream to receiving terminal by the flow transmission control protocol, and user message is sent in the transport stream of respective priority and transmit, transmit user message in the transport stream according to the priority of transport stream to receiving terminal; Receiving terminal 1102 is used for the priority by the transport stream of flow transmission control protocol receiving end/sending end transmission, this priority is by the transmitting terminal setting, according to the user message in the priority reception transport stream of transport stream, and according to receiving the described user message of sequential processes, described user message is to transmit by the transport stream of respective priority.
The method of corresponding diagram 6 and transmission user message shown in Figure 8, transmitting terminal sends the precedence information of user message to receiving terminal by the data block among the SCTP, transmitting terminal 1101 is used to be provided with the priority of user message, and by the flow transmission control protocol and according to the priority orders of user message to the receiving terminal transmission block, comprise the information of described user message and priority thereof in this data block; Receiving terminal 1102 is used for the data block that sends over by flow transmission control protocol receiving end/sending end, the information that comprises user message and priority thereof in this data block, and according to the user message in the described data block of sequential processes of described data block medium priority information representation.
In embodiments of the present invention, preferentially transmit and handle the user message that transmits in the high priority flows, sending buffering area and receiving the user message that buffering area will preferentially be stored high priority; Because of congested or disposal ability is not enough when causing user message to overstock, transmitting terminal preferentially transmits the user message of high priority, transmits the user message of low priority again; Receiving terminal preferentially transmits high-priority users message to the upper strata, transmits low priority user message again; Work as system overload, in the time of need abandoning the part user message, preferentially abandon the user message of low priority, guarantee the transmission of high-priority users message.
The embodiment of the invention provides a kind of system that transmits user message; the technical scheme that provides by the embodiment of the invention; SCTP can be distinguished the priority of user message; the user profile of priority treatment high priority; thereby under the situation of network congestion or abnormal traffic amount; protect to greatest extent that high priority is just important, the transmission of validated user message, reduce the transmission of inactive users message, reach the maximization of system business efficient.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (15)

1, a kind of method of transmitting user message is characterized in that, comprising:
Receive the user message of flow transmission control protocol, described user message carries precedence information;
According to transport stream priority that sets in advance or user message priority transmission rule, transmit described user message.
2, the method for transmission user message according to claim 1 is characterized in that, transport stream priority that described basis sets in advance or user message priority transmission rule transmit described user message and also comprise before:
The priority of transport stream in the flow transmission control protocol is set;
Transmit the priority of described transport stream to receiving terminal by the flow transmission control protocol;
Transport stream priority that described basis sets in advance or user message priority transmission rule, transmitting described user message comprises: user message is sent in the transport stream of respective priority and transmit, transmit user message in the transport stream according to the priority of transport stream to receiving terminal.
3, want the method for 1 described transmission user message according to right, it is characterized in that, transport stream priority that described basis sets in advance or user message priority transmission rule, transmitting described user message comprises: by the flow transmission control protocol and according to the priority orders of user message to the receiving terminal transmission block, comprise the information of described user message and priority thereof in this data block.
4, a kind of method of transmitting user message is characterized in that, comprising:
By the user message that flow transmission control protocol receiving end/sending end sends, described user message is that transmitting terminal transmits according to the transport stream priority or the user message priority transmission rule that set in advance;
Priority orders according to described user message is handled the described user message that receives.
5, the method for transmission user message according to claim 4 is characterized in that, the described user message that sends by flow transmission control protocol receiving end/sending end also comprises before:
The priority of the transport stream that sends by flow transmission control protocol receiving end/sending end, this priority is by the transmitting terminal setting;
The described user message that sends by flow transmission control protocol receiving end/sending end is: according to the user message in the priority reception transport stream of transport stream;
Described priority orders according to described user message is handled the user message that receives and is: according to receiving the described user message of sequential processes, described user message is to transmit by the transport stream of respective priority.
6, the method for transmission user message according to claim 4 is characterized in that,
The described user message that sends by flow transmission control protocol receiving end/sending end is: by the data block that flow transmission control protocol receiving end/sending end sends over, comprise the information of user message and priority thereof in this data block;
Described priority orders according to described user message is handled the user message that receives and is: according to the user message in the described data block of sequential processes of described data block medium priority information representation.
7, a kind of device that transmits user message is characterized in that, comprising:
Receiver module is used to receive the user message of flow transmission control protocol, and described user message carries precedence information;
Sending module is used for transmitting described user message according to the transport stream priority or the user message priority transmission rule that set in advance.
8, the device of transmission user message according to claim 7 is characterized in that,
Receiver module also is used for being provided with according to the precedence information of described user message the priority of transport stream in the flow transmission control protocol;
Sending module also is used for transmitting the priority of transport stream by the flow transmission control protocol to receiving terminal, and user message is sent in the transport stream of respective priority and transmit, and transmits user message in the transport stream according to the priority of transport stream to receiving terminal.
9, the device of transmission user message according to claim 7 is characterized in that,
Sending module be used for by the flow transmission control protocol and according to the priority orders of user message to the receiving terminal transmission block, comprise the information of described user message and priority thereof in this data block.
10, a kind of device that transmits user message is characterized in that, comprising:
Receiver module is used for the user message by the transmission of flow transmission control protocol receiving end/sending end, and described user message is that transmitting terminal transmits according to the transport stream priority or the user message priority transmission rule that set in advance;
Processing module is used for handling the described user message that receives according to the priority orders of described user message.
11, the device of transmission user message according to claim 10 is characterized in that,
Receiver module is used for the priority of the transport stream that sends by flow transmission control protocol receiving end/sending end, and this priority is by the transmitting terminal setting, and receives user message in the transport stream according to the priority of transport stream;
Processing module is used for according to receiving the described user message of sequential processes, and described user message is to transmit by the transport stream of respective priority.
12, the device of transmission user message according to claim 10 is characterized in that,
Receiver module is used for the data block that sends over by flow transmission control protocol receiving end/sending end, comprises the information of user message and priority thereof in this data block;
Processing module is used for the user message according to the described data block of sequential processes of described data block medium priority information representation.
13, a kind of system that transmits user message is characterized in that, comprising:
Transmitting terminal is used to receive the user message of flow transmission control protocol, and described user message carries precedence information, according to transport stream priority that sets in advance or user message priority transmission rule, transmits described user message;
Receiving terminal is used for the user message by the transmission of flow transmission control protocol receiving end/sending end, and handles the described user message that receives according to the priority orders of described user message.
14, the system of transmission user message according to claim 13 is characterized in that,
Transmitting terminal is used for being provided with the priority of flow transmission control protocol transport stream, transmit the priority of described transport stream to receiving terminal by the flow transmission control protocol, and user message is sent in the transport stream of respective priority and transmit, transmit user message in the transport stream according to the priority of transport stream to receiving terminal;
Receiving terminal is used for the priority by the transport stream of flow transmission control protocol receiving end/sending end transmission, this priority is by the transmitting terminal setting, according to the user message in the priority reception transport stream of transport stream, and according to receiving the described user message of sequential processes, described user message is to transmit by the transport stream of respective priority.
15, the system of transmission user message according to claim 13 is characterized in that,
Transmitting terminal is used to be provided with the priority of user message, and by the flow transmission control protocol and according to the priority orders of user message to the receiving terminal transmission block, comprise the information of described user message and priority thereof in this data block;
Receiving terminal is used for the data block that sends over by flow transmission control protocol receiving end/sending end, the information that comprises user message and priority thereof in this data block, and according to the user message in the described data block of sequential processes of described data block medium priority information representation.
CNA200810192940XA 2008-12-31 2008-12-31 Method, apparatus and system for transferring user message Pending CN101436992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200810192940XA CN101436992A (en) 2008-12-31 2008-12-31 Method, apparatus and system for transferring user message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200810192940XA CN101436992A (en) 2008-12-31 2008-12-31 Method, apparatus and system for transferring user message

Publications (1)

Publication Number Publication Date
CN101436992A true CN101436992A (en) 2009-05-20

Family

ID=40711224

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200810192940XA Pending CN101436992A (en) 2008-12-31 2008-12-31 Method, apparatus and system for transferring user message

Country Status (1)

Country Link
CN (1) CN101436992A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102869070A (en) * 2012-08-16 2013-01-09 大唐移动通信设备有限公司 Access control method and device of mobility management entity (MME) resource processing entity
CN104168609A (en) * 2014-08-29 2014-11-26 京信通信系统(中国)有限公司 Method and device for processing signals
CN104780120A (en) * 2015-04-15 2015-07-15 天脉聚源(北京)教育科技有限公司 Method and device for transmitting files in local area network
CN105389205A (en) * 2015-10-26 2016-03-09 联想(北京)有限公司 Information processing method and electronic device
CN106789640A (en) * 2016-11-10 2017-05-31 上海斐讯数据通信技术有限公司 A kind of priority classification methods, devices and systems based on SDN
CN107018086A (en) * 2017-04-24 2017-08-04 中南大学 Transfer control method based on packet priority in a kind of data center network
CN107302554A (en) * 2016-04-15 2017-10-27 九阳股份有限公司 A kind of intelligent appliance off-line data processing method
CN113326124A (en) * 2021-05-20 2021-08-31 深圳证券通信有限公司 Method for presetting priority of file transmission task

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102869070A (en) * 2012-08-16 2013-01-09 大唐移动通信设备有限公司 Access control method and device of mobility management entity (MME) resource processing entity
CN102869070B (en) * 2012-08-16 2015-04-08 大唐移动通信设备有限公司 Access control method and device of mobility management entity (MME) resource processing entity
CN104168609A (en) * 2014-08-29 2014-11-26 京信通信系统(中国)有限公司 Method and device for processing signals
CN104168609B (en) * 2014-08-29 2018-07-06 京信通信系统(中国)有限公司 A kind for the treatment of method and apparatus of signaling
CN104780120A (en) * 2015-04-15 2015-07-15 天脉聚源(北京)教育科技有限公司 Method and device for transmitting files in local area network
CN105389205A (en) * 2015-10-26 2016-03-09 联想(北京)有限公司 Information processing method and electronic device
CN105389205B (en) * 2015-10-26 2019-08-27 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107302554A (en) * 2016-04-15 2017-10-27 九阳股份有限公司 A kind of intelligent appliance off-line data processing method
CN106789640A (en) * 2016-11-10 2017-05-31 上海斐讯数据通信技术有限公司 A kind of priority classification methods, devices and systems based on SDN
CN107018086A (en) * 2017-04-24 2017-08-04 中南大学 Transfer control method based on packet priority in a kind of data center network
CN107018086B (en) * 2017-04-24 2019-09-24 中南大学 Transfer control method based on packet priority in a kind of data center network
CN113326124A (en) * 2021-05-20 2021-08-31 深圳证券通信有限公司 Method for presetting priority of file transmission task

Similar Documents

Publication Publication Date Title
CN101436992A (en) Method, apparatus and system for transferring user message
CN100547420C (en) Reliable multicast communication
CN101729524B (en) Data processing method, data processing device, RLC entity and PDCP entity
US8310934B2 (en) Method and device for controlling information channel flow
CN104378308A (en) Method and device for detecting message sending rate
CN103166995A (en) Method and device of video transmission
CN106953797A (en) A kind of method and apparatus of the RDMA data transfers based on Dynamic link library
US6094423A (en) Wireless protocol method and apparatus supporting transaction requests with variable length responses
CN101222443B (en) Method and network appliance for processing packet
CN100438484C (en) Method and device for congestion notification in packet networks indicating several different congestion causes
CN104683228B (en) A kind of digital switch media gateway realization method based on FPGA
CN101207570A (en) Data transmission method, data sending rate control method and base station
CN103152192A (en) Data transmission method and network management system
CN101674193B (en) Management method of transmission control protocol connection and device thereof
CN100417156C (en) A method and system for implementing data transmission in flow control transmission protocol
CN102223311A (en) Queue scheduling method and device
CN101883047B (en) Data concurrency transmission method of multi-network interface device
CN101053222B (en) Method for transmitting supplying to use data with data block mode
CN102638392B (en) Data transmission method, data transmission equipment and data transmission system
CN101631353B (en) Method and device for managing status packet data unit
CN101459699B (en) Method and apparatus for network address conversion
CN101001204B (en) Method for detecting and controlling downlink congestion of high speed data packet access service
CN109067663A (en) A kind of system and method for the control request speed of response in application program
CN102299861A (en) Message traffic control method
CN101854660B (en) Congestion control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090520