CN112911693A - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN112911693A
CN112911693A CN201911136829.3A CN201911136829A CN112911693A CN 112911693 A CN112911693 A CN 112911693A CN 201911136829 A CN201911136829 A CN 201911136829A CN 112911693 A CN112911693 A CN 112911693A
Authority
CN
China
Prior art keywords
message
terminal equipment
length
state
tcp
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.)
Granted
Application number
CN201911136829.3A
Other languages
Chinese (zh)
Other versions
CN112911693B (en
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201911136829.3A priority Critical patent/CN112911693B/en
Publication of CN112911693A publication Critical patent/CN112911693A/en
Application granted granted Critical
Publication of CN112911693B publication Critical patent/CN112911693B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/06TPC algorithms
    • H04W52/14Separate analysis of uplink or downlink
    • H04W52/146Uplink power control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/30TPC using constraints in the total amount of available transmission power
    • H04W52/36TPC using constraints in the total amount of available transmission power with a discrete range or set of values, e.g. step size, ramping or offsets
    • H04W52/365Power headroom reporting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

The embodiment of the invention provides a message processing method, which is applied to base station equipment and comprises the following steps: receiving the power allowance of the terminal equipment reported by the terminal equipment; determining the sending power state of the terminal equipment according to the power allowance; if the transmitting power state of the terminal equipment is determined to be the first state, modifying the maximum message length in the handshake message into the target maximum message length in the process of establishing Transmission Control Protocol (TCP) connection with the terminal equipment; and establishing TCP connection with the terminal equipment based on the target maximum message length. The embodiment of the invention can reduce the transmission delay of the TCP message.

Description

Message processing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message processing method and apparatus.
Background
In a User plane Protocol of a 5G (5th Generation Mobile Networks, fifth Generation communication technology) NR (New Radio technology), a Packet Data Convergence Protocol (PDCP), a Radio Link Control (RLC), a Media Access Control (MAC) layer, and a Transmission Control Protocol (TCP) are mainly included in the User plane Protocol.
When the UE is located at the cell edge, due To power limitation, one TCP packet cannot be transmitted within one TTI (Time To interval). Therefore, to reduce the error code, the currently adopted method is to reduce the amount of uplink data per subframe, and increase the power spectral density of each PRB by reducing PRBs, so that the base station is easier to demodulate.
However, this will result in the uplink TCP data being segmented at the RLC protocol layer, and the larger the TCP layer packet, the more segments. If some segments are lost in the air interface transmission process, the transmission of SDU (Service Data Unit) will be buffered in the base station, and further the processing delay of TCP message at the base station side will be increased.
Disclosure of Invention
The embodiment of the invention provides a message processing method and a message processing device, which can reduce the transmission delay of a TCP message.
The embodiment of the invention provides a message processing method, which is applied to base station equipment and comprises the following steps:
receiving the power allowance of the terminal equipment reported by the terminal equipment;
determining the sending power state of the terminal equipment according to the power allowance;
if the transmitting power state of the terminal equipment is determined to be the first state, modifying the maximum message length in the handshake message into the target maximum message length in the process of establishing Transmission Control Protocol (TCP) connection with the terminal equipment;
and establishing TCP connection with the terminal equipment based on the target maximum message length.
The embodiment of the invention provides a message processing device, which is applied to base station equipment, and comprises:
the data receiving module is used for receiving the power allowance of the terminal equipment reported by the terminal equipment;
a state determining module, configured to determine a transmit power state of the terminal device according to the power headroom;
a value modification module, configured to modify a maximum packet length in a handshake message to a target maximum packet length in a process of establishing a TCP (transmission control protocol) connection with the terminal device if it is determined that the transmit power state of the terminal device is a first state;
and the connection establishing module is used for establishing TCP connection with the terminal equipment based on the target maximum message length.
The embodiment of the invention has the following advantages:
determining the sending power state of the terminal equipment according to the power allowance; if the transmitting power state of the terminal equipment is determined to be the first state, modifying the maximum message length in the handshake message into the target maximum message length in the process of establishing Transmission Control Protocol (TCP) connection with the terminal equipment; and establishing TCP connection with the terminal equipment based on the target maximum message length. By the embodiment of the invention, under the condition that the sending power state of the terminal equipment is determined to be the first state, the maximum message length of the TCP message can be automatically adjusted, so that the size of the SDU message generated by TCP can be limited, the TCP message can be scheduled and completed at an air interface as soon as possible, the occurrence of the condition that the TCP message is segmented in an RLC protocol layer can be reduced, and the increase of processing load and transmission delay caused by SDU segmentation can be further reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 shows a flow diagram of a message processing method embodiment of the present invention;
FIG. 2 is a flow diagram illustrating another message processing method embodiment of the present invention;
fig. 3 shows a block diagram of a message processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Method embodiment one
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a message processing method according to the present invention is shown, where the method is applicable to a base station device, and specifically may include:
step 101, receiving power allowance of terminal equipment reported by the terminal equipment;
step 102, determining a sending power state of the terminal equipment according to the power margin;
step 103, if the sending power state of the terminal equipment is determined to be the first state, modifying the maximum message length in the handshake message to the target maximum message length in the process of establishing Transmission Control Protocol (TCP) connection with the terminal equipment;
and 104, establishing TCP connection with the terminal equipment based on the target maximum message length.
The base station device in the embodiment of the present invention may be a base station device in a 4G (4th generation) or 5G mobile communication network.
In the embodiment of the present invention, the base station device may receive a Power Headroom of the terminal device reported by the terminal device, and specifically, the base station device may receive a Power Headroom Report (PHR) reported by the terminal device. From the PHR, the transmit power state of the terminal device may be determined.
The PH (Power Headroom) refers to how much transmission Power is available for the terminal device in addition to the transmission Power used for the current PUSCH (Physical Uplink Shared Channel) transmission, and the unit of the PH is dB. The terminal device may report the PHR to the base station device to inform the base station device of the power headroom of the terminal device. The base station device can determine the current sending power state of the terminal device according to the power margin of the terminal device.
In an optional embodiment of the present invention, the determining the transmission power state of the terminal device according to the power headroom specifically includes the following steps:
if the value of the power margin is smaller than or equal to a preset value, determining that the sending power state of the terminal equipment is a first state; otherwise, determining the sending power state of the terminal equipment as a second state.
Wherein the first state is operable to indicate that the terminal device is in a power limited state. The second state may be used to indicate that the terminal device is in a non-power limited state. If the value of the power margin is smaller than or equal to a preset value, the power margin of the terminal equipment is low, and the terminal equipment reaches the maximum transmitting power, determining that the transmitting power state of the terminal equipment is a first state, otherwise, determining that the transmitting power state of the terminal equipment is a second state. The preset value may be 0, or may be a preset smaller value.
In order to solve the problem of power limitation of the terminal device, the number of Physical Resource Blocks (PRBs) to be scheduled may be reduced. However, this results in that one SDU needs to be segmented at the MAC layer for scheduling multiple times, resulting in increased delay.
In order to solve the problem, in the embodiment of the present invention, when it is determined that the transmission power state of the terminal device is the first state, in the process of establishing the TCP connection between the base station device and the terminal device, the maximum packet length in the handshake message is modified to the target maximum packet length.
The target maximum message length is a message length that can ensure that the TCP message can be scheduled at one time at the air interface.
The establishment of a TCP connection requires a three-way handshake across both parties. When the master side sends out a SYN (synchronization Sequence Numbers) connection request, the master side waits for the other side to answer SYN ACK (acknowledgement Character), and if the SYN ACK of the other side is received, the master side replies an ACK response to the other side, so that the master side and the slave side establish reliable TCP connection.
In the embodiment of the present invention, a message sent by both parties in the three-way handshake process is referred to as a handshake message, for example, the handshake message may include a SYN or SYN ACK type TCP packet. In the Options field of the TCP packet, an MSS (Maximum Segment Size) field is included, and this field is used to indicate the Maximum data length that each Segment can carry when the two parties of the transceiver negotiate for communication.
In the embodiment of the invention, under the condition that the sending power state of the terminal equipment is determined to be the first state, the maximum message length in the handshake message is modified in the process of establishing TCP connection with the terminal equipment. Specifically, the MSS field in the handshake message may be modified, the maximum packet length in the MSS field may be modified to the target maximum packet length, and based on the target maximum packet length, a TCP connection may be established with the terminal device.
Optionally, the modifying the maximum packet length in the handshake message to the target maximum packet length may be performed by modifying only the handshake message sent by one of the two parties that establish the TCP connection. The TCP protocol will automatically select the minimum MSS in the two-way handshake message to transmit data according to the negotiation.
Therefore, in the embodiment of the present invention, under the condition that the transmission power state of the terminal device is determined to be the first state, if the terminal device initiates a request for establishing a TCP connection, a handshake message in the process of establishing the TCP connection may be monitored, an MSS field in a SYN and SYN ACK message sent by one or both of the parties is modified to a target maximum message length, and then the modified handshake message is sent to the terminal device.
In an optional embodiment of the present invention, after establishing a TCP connection with the terminal device based on the target maximum packet length, the method may further include the following steps:
and transmitting a TCP message with the terminal equipment through the TCP connection, wherein the length of the TCP message does not exceed the length of the target maximum message.
Under the condition that the sending power state of the terminal equipment is in the first state, and after the base station equipment establishes the TCP connection with the terminal equipment, the base station equipment and the terminal equipment can transmit a TCP message through the TCP connection. In the process of establishing the TCP connection, the maximum message length in the handshake message is modified to the target maximum message length, and the target maximum message length is the message length which can ensure that the TCP message can be scheduled at one time at an air interface. In the process of transmitting the TCP message, the length of the TCP message does not exceed the target maximum message length, so that the size of the application layer SDU can be controlled by modifying the maximum message length in the handshake message, the condition that the TCP message is segmented in an RLC protocol layer can be avoided, and the increase of processing load and transmission delay caused by SDU segmentation can be further reduced.
In an optional embodiment of the present invention, after determining the transmission power state of the terminal device and before modifying the maximum packet length in the handshake message to the target maximum packet length, the method may further include:
step S11, determining the maximum transmission block size of the terminal equipment in the first state;
and step S12, determining the target maximum message length according to the maximum transmission block size.
It can be understood that the embodiment of the present invention does not limit the specific method for determining the target maximum packet. Optionally, when the transmit power state of the terminal device is in the first state, a maximum TBS (fransport block size) of the terminal device in the first state may be determined, and a target maximum packet length may be determined according to the maximum TBS.
Specifically, the maximum TBS of the terminal device in the first state may be determined by: assuming that the MCS _ init _ nonlimt is equal to the MCS (Modulation and Coding Scheme) level, the terminal equipment transmits a corresponding Modulation and Coding Scheme (MCS) level according to the expected power level of a single PRB, and ph (i) schedules the number of PRBs for the base station equipment to be Mpusch(i) When the PH power margin reported is over, the PRB _ MAX _ NOLimt reaches the power when the terminal equipment transmits according to the single PRB expected power levelThe number of PRBs that can be scheduled up to the maximum transmit power. Wherein PRB _ MAX _ NOLimt ═ Mpusch(i)×10PH(i)/10
According to the PRB _ MAX _ NOLimt and the MCS _ init _ NOLimt, the current maximum TBS can be calculated or obtained by looking up a table and is TBS _ NOLimit, and therefore the maximum TBS which can be transmitted by the time interface when the terminal equipment is in the power limited state can be obtained.
Wherein, BS _ limit is the maximum transport block size that can be transmitted by the MAC layer of the air interface of the base station device, and the unit is bit, and it needs to be converted into bytes. The SDU size of the TCP application layer is MSS + TCP header length + IP header length + S byte size, and S is the RLC and MAC and PDCP protocol header byte number when one RLC PDU. Therefore, it can be determined that the target maximum packet length is: (Byte) TBS _ notimit-S-TCP header length-IP header length.
In an optional embodiment of the present invention, after modifying the maximum packet length in the handshake message to the target maximum packet length, the method may further include:
step S21, recording the original maximum message length before modification;
step S22, monitoring the sending power state of the terminal equipment;
step S23, if it is monitored that the transmission power state of the terminal device is the second state, sending a message length recovery notification to the terminal device, so as to notify the terminal device to send a TCP message according to the original maximum message length.
After determining that the sending power state of the terminal device is the first state and modifying the maximum message length in the handshake message to the target maximum message length, the embodiment of the present invention may record the original maximum message length before modification, and monitor the sending power state of the terminal device. If the sending power state of the terminal equipment is monitored to be the second state, the terminal equipment is in a non-power limited state, and the maximum message length of the TCP message can be recovered at the moment. The base station device may send a message length recovery notification to the terminal device to notify the terminal device to send a TCP message according to the original maximum message length.
In an optional embodiment of the present invention, the sending a message length recovery notification to the terminal device specifically may include:
step S32, judging whether a TCP connection is established with the terminal equipment;
step S32, if TCP connection is established with the terminal device, sending a control message protocol ICMP message to the terminal device, wherein the ICMP message carries the original maximum message length;
step S33, if the TCP connection is not established with the terminal device, modifying the maximum packet length in the handshake message to the original maximum packet length in the process of establishing the TCP connection with the terminal device.
When the transmission power state of the terminal device is monitored to be the second state, the terminal device may still maintain the established TCP connection with the base station device, or the terminal device may disconnect the established TCP connection with the base station device. Therefore, it is necessary to determine whether a TCP connection is established with the terminal device, and if the TCP connection is established between the base station device and the terminal device, the base station device may send an ICMP (Internet Control Message Protocol) Message to the terminal device to notify the terminal device of recovering the maximum Message length of the TCP Message, where the ICMP Message carries the original maximum Message length.
In practical application, the ICMP message may be used to notify an MTU (Maximum Transmission Unit) of a router in a Transmission network, and a sender is required to transmit data according to the MTU of the router. After the terminal device receives the ICMP message sent by the base station device, the terminal device may send a TCP message according to the original maximum message length specified in the ICMP message.
If the base station device and the terminal device do not establish TCP connection, the maximum message length in the handshake message is modified to the original maximum message length in the process of establishing transmission control protocol TCP connection with the terminal device.
Therefore, the embodiment of the invention can calculate the maximum TBS which can be dispatched by the MAC when the power of the terminal equipment is determined to be limited. On this basis, the maximum message length of the TCP message carried on the RB is adjusted through the TBS size, so that the size of the SDU message generated by the TCP can be limited, and the message can be scheduled at one time at an air interface to the greatest extent. And when the power of the terminal equipment is monitored to be not limited, a message length recovery notice can be sent to the terminal equipment. It can be seen that, by the embodiment of the present invention, the size of the MSS can be dynamically adjusted according to the transmission power state of the terminal device, so that the size of the transmission packet can be adaptive to the network state of the terminal device, the SDU transmission delay can be reduced, and the transmission efficiency can be improved.
Method embodiment two
Referring to fig. 2, a flowchart illustrating steps of another embodiment of a message processing method according to the present invention is shown, where the method is applicable to a base station device, and specifically may include:
step 201, receiving a PHR reported by a terminal device;
step 202, judging whether the PH of the terminal equipment is less than or equal to 0; if yes, go to step 203; if not, go to step 207;
step 203, calculating the maximum transmission block size of the terminal device in the first state;
if the PH of the terminal device is less than or equal to 0, it may be determined that the transmission power state of the terminal device is a first state (power limited state), and at this time, the maximum transport block size of the terminal device in the first state may be calculated.
Step 204, determining the target maximum message length according to the maximum transmission block size;
step 205, modifying the maximum message length in the handshake message to the target maximum message length in the process of establishing the TCP connection with the terminal device;
step 206, recording the original maximum message length before modification;
step 207, monitoring the transmitting power state of the terminal equipment;
step 208, if the transmission power state of the terminal device is the second state, determining whether a TCP connection is established with the terminal device; if yes, go to step 209; if not, go to step 210;
if the PH of the terminal device is greater than 0, it may be determined that the transmission power state of the terminal device is a second state (non-power-limited state), and at this time, it may be determined whether a TCP connection is established with the terminal device.
Step 209, sending a control message protocol ICMP message to the terminal equipment, wherein the ICMP message carries the original maximum message length;
step 210, in the process of establishing a transmission control protocol TCP connection with the terminal device, modifying the maximum message length in the handshake message to the original maximum message length.
To sum up, in the embodiment of the present invention, when it is determined that the transmission power state of the terminal device is the first state, the maximum packet length of the TCP packet may be automatically adjusted, so as to limit the size of an SDU packet generated by TCP, ensure that the TCP packet can be scheduled at an air interface at one time, reduce the occurrence of a situation that the TCP packet is segmented in an RLC protocol layer, and further reduce the increase of processing load and transmission delay caused by SDU segmentation.
Device embodiment
Referring to fig. 3, a block diagram of a message processing apparatus according to an embodiment of the present invention is shown, and is applied to a base station device, where the apparatus may specifically include:
a data receiving module 301, configured to receive a power headroom of a terminal device reported by the terminal device;
a state determining module 302, configured to determine a transmit power state of the terminal device according to the power headroom;
a value modification module 303, configured to modify a maximum packet length in a handshake message to a target maximum packet length in a process of establishing a TCP (transmission control protocol) connection with the terminal device if it is determined that the transmit power state of the terminal device is the first state;
a connection establishing module 304, configured to establish a TCP connection with the terminal device based on the target maximum packet length.
Optionally, the state determining module is specifically configured to determine that the transmit power state of the terminal device is a first state if the value of the power headroom is less than or equal to a preset value; otherwise, determining the sending power state of the terminal equipment as a second state.
Optionally, the apparatus further comprises:
a first determining module, configured to determine a maximum transport block size of the terminal device in the first state;
and the second determining module is used for determining the target maximum message length according to the maximum transmission block size.
Optionally, the apparatus further comprises:
the numerical value recording module is used for recording the original maximum message length before modification;
the state monitoring module is used for monitoring the transmitting power state of the terminal equipment;
and the value recovery module is used for sending a message length recovery notification to the terminal equipment if the sending power state of the terminal equipment is monitored to be a second state so as to notify the terminal equipment to send a TCP message according to the original maximum message length.
Optionally, the value recovery module includes:
the connection judgment submodule is used for judging whether TCP connection is established with the terminal equipment;
a first recovery sub-module, configured to send a control message protocol ICMP message to the terminal device if a TCP connection is established with the terminal device, where the ICMP message carries the original maximum message length;
and the second recovery submodule is used for modifying the maximum message length in the handshake message into the original maximum message length in the process of establishing Transmission Control Protocol (TCP) connection with the terminal equipment if the TCP connection with the terminal equipment is not established.
Optionally, the apparatus further comprises:
and the data transmission module is used for transmitting a TCP message with the terminal equipment through the TCP connection, and the length of the TCP message does not exceed the length of the target maximum message.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for the message processing method and the message processing apparatus provided by the present invention, and the specific examples are applied herein to explain the principle and the implementation of the present invention, and the above descriptions of the embodiments are only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A message processing method is applied to a base station device, and comprises the following steps:
receiving the power allowance of the terminal equipment reported by the terminal equipment;
determining the sending power state of the terminal equipment according to the power allowance;
if the transmitting power state of the terminal equipment is determined to be the first state, modifying the maximum message length in the handshake message into the target maximum message length in the process of establishing Transmission Control Protocol (TCP) connection with the terminal equipment;
and establishing TCP connection with the terminal equipment based on the target maximum message length.
2. The method of claim 1, wherein the determining the transmit power state of the terminal device according to the power headroom comprises:
if the value of the power margin is smaller than or equal to a preset value, determining that the sending power state of the terminal equipment is a first state; otherwise, determining the sending power state of the terminal equipment as a second state.
3. The method of claim 1, wherein after determining the transmit power state of the terminal device and before modifying the maximum packet length in the handshake message to the target maximum packet length, the method further comprises:
determining the maximum transmission block size of the terminal equipment in the first state;
and determining the target maximum message length according to the maximum transmission block size.
4. The method of claim 1, wherein after modifying the maximum packet length in the handshake message to the target maximum packet length, the method further comprises:
recording the original maximum message length before modification;
monitoring the transmitting power state of the terminal equipment;
if the sending power state of the terminal equipment is monitored to be a second state, sending a message length recovery notice to the terminal equipment so as to inform the terminal equipment to send a TCP message according to the original maximum message length.
5. The method of claim 4, wherein the sending the message length recovery notification to the terminal device comprises:
judging whether a TCP connection is established with the terminal equipment;
if TCP connection is established with the terminal equipment, sending a control message protocol ICMP message to the terminal equipment, wherein the ICMP message carries the original maximum message length;
if the TCP connection with the terminal equipment is not established, the maximum message length in the handshake message is modified to the original maximum message length in the process of establishing the transmission control protocol TCP connection with the terminal equipment.
6. The method according to claim 1, wherein after establishing a TCP connection with the terminal device based on the target maximum packet length, the method further comprises:
and transmitting a TCP message with the terminal equipment through the TCP connection, wherein the length of the TCP message does not exceed the length of the target maximum message.
7. A message processing apparatus, applied to a base station device, the apparatus comprising:
the data receiving module is used for receiving the power allowance of the terminal equipment reported by the terminal equipment;
a state determining module, configured to determine a transmit power state of the terminal device according to the power headroom;
a value modification module, configured to modify a maximum packet length in a handshake message to a target maximum packet length in a process of establishing a TCP (transmission control protocol) connection with the terminal device if it is determined that the transmit power state of the terminal device is a first state;
and the connection establishing module is used for establishing TCP connection with the terminal equipment based on the target maximum message length.
8. The apparatus of claim 7, wherein the state determining module is specifically configured to determine that the transmit power state of the terminal device is a first state if the value of the power headroom is less than or equal to a preset value; otherwise, determining the sending power state of the terminal equipment as a second state.
9. The apparatus of claim 7, further comprising:
a first determining module, configured to determine a maximum transport block size of the terminal device in the first state;
and the second determining module is used for determining the target maximum message length according to the maximum transmission block size.
10. The apparatus of claim 7, further comprising:
the numerical value recording module is used for recording the original maximum message length before modification;
the state monitoring module is used for monitoring the transmitting power state of the terminal equipment;
and the value recovery module is used for sending a message length recovery notification to the terminal equipment if the sending power state of the terminal equipment is monitored to be a second state so as to notify the terminal equipment to send a TCP message according to the original maximum message length.
11. The apparatus of claim 10, wherein the value recovery module comprises:
the connection judgment submodule is used for judging whether TCP connection is established with the terminal equipment;
a first recovery sub-module, configured to send a control message protocol ICMP message to the terminal device if a TCP connection is established with the terminal device, where the ICMP message carries the original maximum message length;
and the second recovery submodule is used for modifying the maximum message length in the handshake message into the original maximum message length in the process of establishing Transmission Control Protocol (TCP) connection with the terminal equipment if the TCP connection with the terminal equipment is not established.
12. The apparatus of claim 7, further comprising:
and the data transmission module is used for transmitting a TCP message with the terminal equipment through the TCP connection, and the length of the TCP message does not exceed the length of the target maximum message.
CN201911136829.3A 2019-11-19 2019-11-19 Message processing method and device Active CN112911693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911136829.3A CN112911693B (en) 2019-11-19 2019-11-19 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911136829.3A CN112911693B (en) 2019-11-19 2019-11-19 Message processing method and device

Publications (2)

Publication Number Publication Date
CN112911693A true CN112911693A (en) 2021-06-04
CN112911693B CN112911693B (en) 2022-03-29

Family

ID=76103502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911136829.3A Active CN112911693B (en) 2019-11-19 2019-11-19 Message processing method and device

Country Status (1)

Country Link
CN (1) CN112911693B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315668A (en) * 2021-07-28 2021-08-27 浙江国利信安科技有限公司 Method, node device and storage medium for adaptively adjusting network configuration

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316013A (en) * 2010-07-01 2012-01-11 杭州华三通信技术有限公司 Method and device for regulating maximum message size
CN102957590A (en) * 2011-08-29 2013-03-06 盛科网络(苏州)有限公司 Message slicing method and device
CN103647759A (en) * 2013-11-26 2014-03-19 华为技术有限公司 Negotiation method and apparatus of maximum segment size (MSS)
US20150113298A1 (en) * 2005-03-07 2015-04-23 Nokia Corporation Expanding Universal Plug And Play Capabilities In Power Constrained Environment
US20160066224A1 (en) * 2012-09-04 2016-03-03 Apple Inc. Reducing call drops in uplink power limited scenarios
CN108429700A (en) * 2017-02-13 2018-08-21 华为技术有限公司 A kind of method and device sending message

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150113298A1 (en) * 2005-03-07 2015-04-23 Nokia Corporation Expanding Universal Plug And Play Capabilities In Power Constrained Environment
CN102316013A (en) * 2010-07-01 2012-01-11 杭州华三通信技术有限公司 Method and device for regulating maximum message size
CN102957590A (en) * 2011-08-29 2013-03-06 盛科网络(苏州)有限公司 Message slicing method and device
US20160066224A1 (en) * 2012-09-04 2016-03-03 Apple Inc. Reducing call drops in uplink power limited scenarios
CN103647759A (en) * 2013-11-26 2014-03-19 华为技术有限公司 Negotiation method and apparatus of maximum segment size (MSS)
CN108429700A (en) * 2017-02-13 2018-08-21 华为技术有限公司 A kind of method and device sending message

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315668A (en) * 2021-07-28 2021-08-27 浙江国利信安科技有限公司 Method, node device and storage medium for adaptively adjusting network configuration

Also Published As

Publication number Publication date
CN112911693B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
RU2402170C2 (en) Method for transfer/reception of data channel control information for improved transfer of upperlink data
CA2957186C (en) Systems and methods for dual-connectivity operation
RU2474087C2 (en) Triggering cqi transmission from ue to node b for ue in cell_fach state
US20160234851A1 (en) Data transmission apparatus and method
US20130294283A1 (en) Facilitating device-to-device communication
JP2017517949A (en) System and method for dual connectivity operation
EP3737183B1 (en) Communication methods, apparatuses and computer-readable storage medium
US20220116819A1 (en) Method and apparatus for reporting rlc layer status, storage medium and user equipment
WO2013135196A1 (en) Method and system for data packet transmission and sending terminal equipment and receiving terminal equipment
JP2008005021A (en) Retransmission control method and device
JP2018507627A (en) Radio bearer reconfiguration method, radio bearer establishment method, user equipment, and base station
JP2013535926A (en) Method and apparatus for reporting usable transmission power information in a mobile communication system for carrier aggregation
JP2017143590A (en) Method and apparatus for determining carrier-specific maximum transmission power in mobile communication system for carrier aggregation
CN113039733A (en) Apparatus, method and computer program
WO2017020302A1 (en) Method and apparatus for establishing data radio bearer
EP3462772A1 (en) Service data distribution method and device
WO2015070446A1 (en) Data transmission method and user equipment
US7924770B2 (en) Method of controlling communication between two nodes in a communication system
US20220386165A1 (en) Method of wireless communication system for extended reality applications with enhanced quality of service
CN107302802B (en) Data transmission method and device
US9301160B2 (en) Network supervised device-to-device communication
CN112911693B (en) Message processing method and device
CN108632933B (en) Data transmission method and device and user equipment
JP5124591B2 (en) Method for displaying consecutive data units in RAN
CN108024378B (en) Data packet preprocessing method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant