CN106792895B - method and equipment for determining size of data packet - Google Patents

method and equipment for determining size of data packet Download PDF

Info

Publication number
CN106792895B
CN106792895B CN201611107810.2A CN201611107810A CN106792895B CN 106792895 B CN106792895 B CN 106792895B CN 201611107810 A CN201611107810 A CN 201611107810A CN 106792895 B CN106792895 B CN 106792895B
Authority
CN
China
Prior art keywords
terminal
estimated
service rate
rate parameter
data packet
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.)
Active
Application number
CN201611107810.2A
Other languages
Chinese (zh)
Other versions
CN106792895A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201611107810.2A priority Critical patent/CN106792895B/en
Publication of CN106792895A publication Critical patent/CN106792895A/en
Application granted granted Critical
Publication of CN106792895B publication Critical patent/CN106792895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/23805Controlling the feeding rate to the network, e.g. by controlling the video pump
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0273Traffic management, e.g. flow control or congestion control adapting protocols for flow control or congestion control to wireless environment, e.g. adapting transmission control protocol [TCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • H04W28/22Negotiating communication rate

Abstract

The embodiment of the invention provides a method and equipment for determining the size of a data packet, relates to the field of communication, evaluates and determines the size of the data packet suitable for a transmission scene, exerts the maximum performance of a network, shortens the data transmission time and reduces the waiting time of a user. The scheme provided by the embodiment of the invention comprises the following steps: receiving a service request message sent by a terminal, wherein the service request message comprises an identifier of a resource requested by the terminal; and acquiring the estimated service rate parameter of the terminal according to the estimated reference parameter, wherein the estimated service rate parameter of the terminal is used for determining the size of a data packet of the resource which is sent to the terminal and indicated by the identification. The invention is used for determining the size of the data packet.

Description

Method and equipment for determining size of data packet
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for determining a size of a data packet.
Background
With the development of network technology, mobile data services have also been rapidly developed. Currently, internet manufacturers provide video services to terminals by using telecommunication operator networks, and mobile network broadcasting video services replace televisions occupying the main bodies of mass leisure activities to some extent.
The video playing service of the mobile network is carried out after the user terminal establishes connection with the mobile network, and comprises an initial caching stage and a playing stage. In the initial caching stage, since there is no playable data in the memory of the client, it is necessary to quickly download enough data to start video playing. At present, the initial buffering stage adopts the Transmission Control Protocol (TCP), the Internet Protocol (IP). Because the IP protocol is a single-channel sharing protocol, in order to avoid the reduction of the overall network throughput caused by the collision or error code of a data packet, both communication parties initially adopt tentative transmission, adopt a small initial data packet and try to gradually increase the transmitted data packet for many times until the size of the subsequently transmitted data packet is determined by the occurrence of packet error or collision.
It can be known from the above tentative transmission process that the initial caching period of the mobile network on-demand video service is too long, which results in a long waiting time for the terminal user, and the mobile network on-demand video service cannot exert the maximum performance of the network under the condition that the telecommunication operator network has sufficient bandwidth, which results in a poor experience for the terminal user.
Disclosure of Invention
embodiments of the present invention provide a method and an apparatus for determining a size of a data packet, which evaluate and determine a size of a data packet suitable for a transmission scenario, exert the maximum performance of a network, shorten a data transmission duration, and reduce a user waiting duration.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
In a first aspect, a method for determining a packet size is provided, including:
Receiving a service request message sent by a terminal, wherein the service request message comprises an identifier of a resource requested by the terminal;
Acquiring a pre-estimated service rate parameter of the terminal according to the pre-estimated reference parameter; the pre-estimated service rate parameter indicates the pre-estimated service rate which can be supported by the terminal, and the pre-estimated service rate parameter is used for determining the size of a data packet of the resource which is indicated by the identifier and is sent to the terminal.
In a second aspect, an apparatus for determining a packet size is provided, which is configured to perform the method of the first aspect. The equipment specifically comprises:
A receiving unit, configured to receive a service request message sent by a terminal, where the service request message includes an identifier of a resource requested by the terminal;
the acquisition unit is used for acquiring the pre-estimated service rate parameter of the terminal according to the pre-estimated reference parameter; the pre-estimated service rate is used for indicating the pre-estimated service rate which can be supported by the terminal, and the pre-estimated service rate parameter is used for determining the size of a data packet of the resource which is indicated by the identification and is sent to the terminal.
According to the method and the device for determining the size of the data packet, the pre-estimated service rate parameter for indicating the pre-estimated supportable service rate of the terminal is obtained according to the pre-estimated reference parameter, and then the size of the data packet sent to the terminal is determined according to the pre-estimated service rate parameter. Therefore, the estimated service rate parameter of the terminal can be reasonably controlled as long as the estimated reference parameter is configured in advance according to the actual service scene requirement, and then the data packet size determined according to the estimated service rate parameter is as large as possible on the premise of being suitable for a transmission scene, so that the maximum performance of the network can be exerted through the scheme of the application, the data transmission time length is shortened through the data packet, the waiting time length of a user is shortened as large as possible, and the experience of the terminal user is well improved.
drawings
Fig. 1 is a schematic diagram of a network architecture according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an apparatus for determining a size of a data packet according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for determining a size of a data packet according to an embodiment of the present invention;
Fig. 4 is a flowchart illustrating another method for determining a size of a data packet according to an embodiment of the present invention;
Fig. 5 is a schematic structural diagram of another apparatus for determining a size of a data packet according to an embodiment of the present invention;
Fig. 6 is a schematic structural diagram of another apparatus for determining a packet size according to an embodiment of the present invention.
Detailed Description
The terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The basic principle of the application is as follows: the supportable service rate of the terminal is estimated, the size of a data packet which is reasonable and as large as possible is determined according to the estimated service rate parameter of the terminal through the representation of the estimated service rate parameter, so that the maximum performance of a telecommunication mobile network is exerted, the data transmission time length is reduced, and the waiting time length of a user is reduced.
it should be noted that the pre-estimated reference parameter is preset information for evaluating at least one dimension of the pre-estimated service rate parameter of the terminal. The type and content of the pre-estimated reference parameter can be set according to actual requirements, which is not specifically limited in the present application.
For example, the estimated reference parameter may include at least one of the following information:
The current geographical position of the terminal, the current signal quality of the terminal, the performance parameters of the terminal, the load of the terminal access network, and the type of the terminal access network.
it should be noted that the above example is only an exemplary illustration of the type of the estimated reference parameter, and is not a limitation on the type of the estimated reference parameter. In practical applications, any dimension of information used for evaluating the service rate supportable by the terminal can be used as the pre-estimated reference parameter.
the method for determining the size of the data packet provided by the embodiment of the invention can be applied to a service network architecture based on a mobile network shown in fig. 1. As shown in fig. 1, the mobile network-based service network architecture includes a terminal 101 directly interacting with a user, a base station 102 providing mobile network services to the terminal 101, and a target server 103 providing resources to the terminal 101.
The terminal 101 may communicate with the base station 102 directly or with the base station 102 through an access device, which is not specifically limited in this application.
In conjunction with fig. 1, taking a video-on-demand service of a mobile network as an example, an implementation process of the service based on the mobile network is exemplarily described, and the target server 103 is used for providing video resources. Illustratively, the implementation process of the mobile network video service includes: upon receiving a service request from a user, the terminal 101 sends a service request including a requested resource identifier to the target server 103 through the base station 102. When receiving a service request sent by the terminal 101, the base station 102 forwards the received service request to the target server 103 according to the identifier of the target server included in the service request. When receiving the service request, the target server 103 transmits the requested resource to the terminal 101.
In the process of implementing the mobile network video-on-demand service, when the target server 103 transmits the requested resource to the terminal 101, the target server 103 determines the size of the data packet first and then transmits the data packet.
It should be noted that the size of the data packet described in all embodiments of the present application may be an initial data packet size for each service request message response, or may be a size of each data packet in a transmission process for each service request message response.
it should be noted that fig. 1 is only an example to describe an application scenario of the present application. Of course, the scheme of the present application may also be applied to any other scenario for determining the size of the data packet, and is not limited to the scenario of the mobile network video playing service.
the method for determining the size of the data packet provided by the embodiment of the present invention is executed by the apparatus 20 for determining the size of the data packet provided by the embodiment of the present invention. The device 20 for determining the size of the data packet may be deployed alone in a communication link of the network architecture shown in fig. 1, or may also be part or all of the base station 102 in the network architecture shown in fig. 1, or may also be part or all of the target server 103 in the network architecture shown in fig. 1, or the device 20 for determining the size of the data packet may also be deployed as a plurality of devices in the network architecture shown in fig. 1 according to functional modules. The deployment manner of the device 20 for determining the size of the data packet is not specifically limited in the embodiment of the present invention.
fig. 2 is a schematic diagram of the structure of the apparatus 20 for determining the size of a data packet according to the embodiments of the present invention. As shown in fig. 2, the apparatus 20 for determining the packet size may include: processor 201, memory 202, communication port 203.
The following describes in detail the respective constituent elements of the packet size determining apparatus 20 with reference to fig. 2:
The memory 202 may be a volatile memory (hereinafter, referred to as a volatile memory), such as a random-access memory (RAM); or a non-volatile memory (collectively called a non-volatile memory), such as a read-only memory (ROM), a flash memory (collectively called a flash memory), a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above types of memories for storing the relevant applications and configuration files that implement the method of the present invention.
The processor 201 is the control center of the apparatus 20 for determining the size of the data packet, and may be a Central Processing Unit (CPU), A Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present invention, such as: one or more microprocessors (DSP), or one or more Field Programmable Gate Arrays (FPGA). The processor 201 may perform various functions of the apparatus 20 for determining the size of a data packet by running or executing software programs and/or modules stored in the memory 202 and invoking data stored in the memory 202.
The communication port 203 may be a transceiving antenna, or an interface for communication with other devices such as a network port.
The specific processor 201 performs the following functions by running or executing software programs and/or modules stored in the memory 202 and calling data stored in the memory 202:
And receiving a service request message sent by the terminal through the communication port 203, wherein the service request message comprises the identification of the resource requested by the terminal. Acquiring a pre-estimated service rate parameter of the terminal according to the pre-estimated reference parameter; the pre-estimated service rate parameter is used for indicating the pre-estimated service rate which can be supported by the terminal; and determining the size of a data packet of the resource which is sent to the terminal and indicated by the identification according to the pre-estimated service rate parameter.
embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
In one aspect, an embodiment of the present invention provides a method for determining a packet size, which is performed by an apparatus for determining a packet size. As shown in fig. 3, the method may include:
S301, receiving a service request message sent by a terminal.
Wherein the service request message includes an identification of the resource requested by the terminal.
specifically, the specific implementation manner of S301 is different according to different deployment locations of devices for determining the size of the data packet, and specifically includes the following two cases:
In the first case, the device for determining the size of the data packet is a network device directly interacting with the terminal, and S301 is implemented to directly receive the service request message sent by the terminal.
for example, in the first case, the device for determining the size of the data packet may be a base station in a mobile network. The base station receives a service request message sent by the terminal through a mobile network.
In the second case, the device for determining the size of the data packet is not a network device directly interacting with the terminal, and S301 is implemented such that the device for determining the size of the data packet receives the service request message forwarded by the network device directly interacting with the terminal.
In both cases, the device interacting directly with the terminal may be a base station in a mobile network, for example. The base station receives a service request message sent by the terminal through a mobile network.
For example, assuming that in the scenario shown in fig. 1, a device for determining the size of a data packet is deployed in the base station 102, S301 is implemented by the first case. Assuming that in the scenario shown in fig. 1, the device for determining the size of the data packet is deployed in the target server 103 or between the base station 102 and the target server 103, S301 is implemented by the second case described above.
S302, acquiring the pre-estimated service rate parameter of the terminal according to the pre-estimated reference parameter.
Specifically, the pre-estimated traffic rate parameter indicates a pre-estimated traffic rate supportable by the terminal. The estimated service rate parameter of the terminal obtained in S302 is used to determine the size of the data packet of the resource that is sent to the terminal and indicated by the identifier.
alternatively, the estimated traffic rate parameter may include the estimated traffic rate itself supportable by the terminal, or the estimated traffic rate parameter may include a parameter corresponding to the estimated traffic rate supportable by the terminal.
illustratively, the parameters corresponding to the predicted traffic rate supportable by the terminal may include signal-to-noise ratio, rate class information, and the like.
it should be noted that all the information that can be used to reflect the predicted terminal-supportable service rate can be used as a parameter corresponding to the predicted terminal-supportable service rate. In practical application, the content of the parameter corresponding to the estimated service rate supportable by the terminal may be determined according to actual requirements, which is not specifically limited in the embodiment of the present invention.
The pre-estimated reference parameter is preset information of at least one dimension used for estimating a pre-estimated service rate parameter of the terminal. The type and content of the pre-estimated reference parameter can be set according to actual requirements, which is not specifically limited in the present application. For example, the estimated reference parameter may include at least one of the following information: the current geographical position of the terminal, the current signal quality of the terminal, the performance parameters of the terminal, the load of the terminal access network, and the type of the terminal access network.
The current geographic location of the terminal may be represented by latitude and longitude, or may be represented by other location parameters, which is not specifically limited in the embodiment of the present invention.
The signal quality of the terminal may be represented by a quality level, may also be represented by a signal amplitude, or may also be represented in other forms, which is not specifically limited in the embodiment of the present invention.
The performance parameter of the terminal refers to a parameter which has an influence on a service rate supported by the terminal from the dimension of the terminal performance. For example, the performance parameter of the terminal may be a screen size of the terminal, or may be a model of the terminal, or may be a processor performance of the terminal, and so on. The embodiment of the invention does not limit the specific content of the performance parameters of the participating terminals.
the load of the terminal access network refers to the load capacity of the network to which the terminal is currently accessed, and is used for reflecting the influence degree of the access network on the service rate of the terminal.
The type of the terminal access network may include information such as a system of the access network. For example, the type of the terminal Access network may be a third Generation mobile communication technology (3 rd-Generation, 3G) network, a Wideband Code Division Multiple Access (WCDMA) network, a Code Division Multiple Access (CDMA) network, or the like. The embodiment of the present invention does not specifically limit the type of the terminal accessing the network.
It should be noted that the above example is only an exemplary illustration of the type of the estimated reference parameter, and is not a limitation on the type of the estimated reference parameter. In practical applications, any dimension of information used for evaluating the service rate supportable by the terminal can be used as the pre-estimated reference parameter.
Further, if the device for determining the size of the data packet can directly obtain the pre-estimated reference parameter, the pre-estimated reference parameter is detected and obtained.
It should be noted that, in all embodiments of the present invention, the embodiment of the present invention is not specifically limited to the process of detecting and acquiring the estimated reference parameter. All the detection modes which can be obtained but can estimate the reference parameters can be applied to the application.
further, if the device for determining the size of the data packet cannot directly obtain the pre-estimated reference parameter, as shown in fig. 4, before performing S302, the method may further include S302 a.
And S302, 302a, receiving the estimated reference parameters.
in S302a, if the device with the determined packet size is the base station, the estimated reference parameters may be directly obtained.
For example, if the device for determining the size of the data packet is deployed in the network architecture shown in fig. 1, at a location other than the base station 102, the estimated reference parameter cannot be directly obtained, and the device for determining the size of the data packet performs S302a to receive the estimated reference parameter sent by the base station 102 before S302.
Further, the process of performing S302 is different according to different contents of the estimated reference parameter. The following describes a specific process of implementing S302 when several estimated reference parameters include the current signal quality of the terminal.
The first implementation process comprises the following steps:
in the first implementation process, in S302, the pre-estimated service rate parameter of the terminal is obtained according to the pre-estimated reference parameter, which may specifically be implemented as step 1 and step 2:
Step 1, searching a preset database according to the current geographic position and the current signal quality of the terminal, and acquiring a service rate parameter corresponding to the current geographic position and the current signal quality in the preset database.
The preset database comprises the statistical distribution of geographic positions, signal quality and service rate parameters.
illustratively, table 1 illustrates a geographic location-related content in a predetermined database. Wherein, the Signal quality is expressed by Reference Signal Receiving Power (RSRP), and the unit is dBm; the rate parameter is expressed in terms of Signal to Interference plus noise Ratio (SINR), which is expressed in dB.
TABLE 1
It should be noted that table 1 only illustrates the content in the preset database and the form of the preset database by way of example, and is not specific limitations on the content in the preset database and the form of the preset database. Further, only the content of the relevant preset database in one geographic location is illustrated in table 1, and the preset database may include the content of the relevant database in at least one geographic location, which is not specifically limited in the embodiment of the present invention.
Specifically, the preset database is a big database which is statistically established according to the historical data of the terminal. When the terminal enters the coverage area of the base station, the geographical position, the signal quality and the supported maximum service rate of the terminal at each moment are recorded, and a statistical distribution database based on the signal quality and the service rate parameters of the geographical position is established for acquiring the estimated service rate parameters of the terminal according to the estimated reference parameters.
The terminal may be a sending terminal of the service request message in S301, or may be another terminal, which is not specifically limited in this embodiment of the present invention.
It should be noted that, as to the establishment manner of the preset database, this is not specifically limited in the embodiment of the present invention. The method can adopt a machine learning modeling mode and a statistical mode, and can be selected according to actual requirements.
further, the preset database may be established by a device that determines the size of the data packet, or may be established by another device, which is not specifically limited in this embodiment of the present invention. The preset database may be stored in the device for determining the size of the data packet, or may be stored outside the device for determining the size of the data packet, which is not specifically limited in the embodiment of the present invention.
And 2, acquiring an estimated service rate parameter of the terminal according to the current geographic position and the service rate parameter corresponding to the current signal quality.
it should be noted that, when the preset database may be stored outside the device for determining the size of the data packet, the preset database may obtain the preset database in an interactive manner to execute S302. Of course, the device for determining the size of the data packet may also transmit the estimated reference parameter to the device for storing the preset database, and the device for storing the preset database performs S302 and then feeds back the result to the device for determining the size of the data packet. That is, S302 may be performed by one device or performed by a plurality of devices in a matching manner, which is not specifically limited in this embodiment of the present invention.
Further, for the step 2, if the estimated reference parameter only includes the current signal quality of the terminal, in the step 2, the service rate parameter corresponding to the current geographic location and the current signal quality is used as the estimated service rate parameter of the terminal.
further, if the estimated reference parameter includes the current load of the terminal accessing the network in addition to the current signal quality of the terminal, the step 2 may be specifically implemented as: and acquiring the estimated service rate parameter of the terminal according to the current geographic position, the service rate parameter corresponding to the current signal quality and the current load of the terminal access network.
it should be noted that, according to the current geographic location and the service rate parameter corresponding to the current signal quality, and the current load of the terminal access network, the specific process of obtaining the estimated service rate parameter of the terminal may be determined according to the actual requirement, and two ways of implementing the process are provided below, but not limited to the specific process.
Optionally, the estimated service rate parameter of the terminal is obtained according to the current geographic location and the service rate parameter corresponding to the current signal quality, and the current load of the terminal access network, which may be specifically implemented by, but not limited to, the following two ways:
The first mode,
And selecting a smaller one of the service rate parameters corresponding to the current geographic position and the current signal quality and the service rate supportable by the terminal corresponding to the current load of the terminal access network as the estimated service rate parameter of the terminal.
The second mode,
And substituting the service rate parameters corresponding to the current geographic position and the current signal quality and the current load of the terminal access network into a preset algorithm to calculate the estimated service rate parameters of the terminal.
It should be noted that, the content of the preset algorithm may be set according to actual requirements, and this is not specifically limited in the embodiment of the present invention. For example, the preset algorithm may be a linear calculation, a power function calculation, or another preset algorithm.
it should be noted that, a specific process of obtaining the estimated service rate parameter of the terminal according to the current geographic location and the service rate parameter corresponding to the current signal quality and the current load of the terminal access network may be specifically determined according to an actual application scenario.
It should be noted that, when the estimated reference parameter includes other parameters besides the current signal quality of the terminal, the process of executing S302 is not repeated here, and may be implemented by referring to the first mode or the second mode, or may be implemented by other modes, which is not specifically limited in this embodiment of the present invention.
Further, in the first implementation process, the process of performing S302 when the estimated reference parameter includes the current signal quality of the terminal is described, and of course, when the estimated reference parameter includes other contents, the process of performing S302 may be similar to or different from that of the first implementation process, and may be set according to actual requirements, which is not specifically limited in this embodiment of the present invention.
the second implementation process comprises the following steps:
In the second implementation process, the obtaining of the pre-estimated service rate parameter of the terminal according to the pre-estimated reference parameter in S302 may specifically be implemented as: and substituting the current signal quality of the terminal, the signal quality of the terminal recorded for the previous N times and the service rate parameter into a preset algorithm to obtain an estimated service rate parameter of the terminal. Wherein N is greater than or equal to 1.
The signal quality and service rate parameters of the terminal recorded for the previous N times refer to parameters of service rates reached by the terminal sending the service request message at different signal qualities recorded before the current time.
It should be noted that, the content of the preset algorithm may be set according to actual requirements, and this is not specifically limited in the embodiment of the present invention. For example, the preset algorithm may be a linear calculation, a power function calculation, or another preset algorithm.
It should be further noted that, for a specific value of N, the value may also be configured according to actual requirements, and this is not specifically limited in the embodiment of the present invention. The larger the value of N is, the more accurate the estimated service rate parameter of the estimated terminal is, but the calculated amount will also increase.
According to the method for determining the size of the data packet, the pre-estimated service rate parameter used for indicating the pre-estimated supportable service rate of the terminal is obtained according to the pre-estimated reference parameter, and then the size of the data packet sent to the terminal is determined according to the pre-estimated service rate parameter. Therefore, the estimated service rate parameter of the terminal can be reasonably controlled as long as the estimated reference parameter is configured in advance according to the actual service scene requirement, and then the data packet size determined according to the estimated service rate parameter is as large as possible on the premise of being suitable for a transmission scene, so that the maximum performance of the network can be exerted through the scheme of the application, the data transmission time length is shortened through the data packet, the waiting time length of a user is shortened as large as possible, and the experience of the terminal user is well improved.
Optionally, after S302, if all functions of the device for determining the size of the data packet are deployed in the target server in the network architecture shown in fig. 1, as shown in fig. 4, the method may further include S303.
S303, the target server determines the size of the data packet of the resource which is sent to the terminal and indicated by the identification according to the estimated service rate parameter.
Specifically, in S303, the size of the data packet of the resource that is sent to the terminal and indicated by the identifier is determined according to the estimated service rate parameter, which may be specifically implemented by any one of the following two implementation manners:
The implementation mode 1,
And determining the data packet size of the resource indicated by the resource identifier included in the service request message sent to the terminal, wherein the data packet size is the data packet size corresponding to the estimated service rate parameter in the preset corresponding relation.
The preset corresponding relation comprises at least one service rate parameter and a data packet size value corresponding to the at least one service rate parameter one to one.
for example, it is assumed that the estimated traffic rate parameter is a traffic rate supportable by the terminal, and is expressed in megabits per second (Mega bit per second, Mb/s), and the corresponding packet size is expressed in megabits (Mega bit, Mb). Table 2 illustrates a preset correspondence.
TABLE 2
Pre-estimated traffic rate parameter (traffic rate X) packet size
5≤X<10 5
10≤X<20 10
20≤X<30 20
…… ……
It should be noted that table 1 only describes the content and form of the preset correspondence relationship by way of example, and is not intended to specifically limit the content and form of the preset correspondence relationship.
For example, assuming that the estimated traffic rate parameter is 15Mb/s, the size of the data packet sent to the terminal may be determined to be 10Mb according to the preset correspondence shown in table 1.
Implementation mode 2,
Substituting the estimated service rate parameter into a preset formula for calculating the size of the data packet, and calculating to obtain the size of the data packet.
The preset formula for calculating the size of the data packet may be determined according to actual requirements, which is not specifically limited in the embodiment of the present invention. For example, the predetermined formula for calculating the packet size may be a linear calculation formula, a quadratic calculation formula, or other formulas.
Optionally, if the function of performing S301 and S302 in the device that determines the size of the data packet is not deployed in the target server, the service request message further includes an identifier of the target server. In this case, as shown in fig. 4, after S302, the method may further include S304.
S304, sending the pre-estimated service rate parameter to the target server, so that the target server determines the size of the data packet of the resource which is sent to the terminal and indicated by the identification according to the pre-estimated service rate parameter.
In this scenario, the functions of the device for determining the size of the data packet are distributed in different hardware devices, and the purpose of determining the size of the data packet is achieved through interaction of a plurality of devices.
Further, after S304, the target server may determine the size of the data packet of the resource that is indicated by the identifier and sent to the terminal according to the pre-estimated service rate parameter, the process is the same as S303, and details are not repeated here.
further, as shown in fig. 4, after S303 or S304, the method may further include S305.
S305, the target server sends the data packet to the terminal according to the determined size of the data packet.
In S305, among the resources requested by the terminal, the resources of the packet size determined in S303 or S304 are transmitted to the terminal.
Optionally, if all functions of the device that determines the size of the data packet are not deployed in the target server, before S305, the method further includes: the packet size determining apparatus transmits the determined packet size to the destination server for the destination server to perform S305.
Further, after transmitting the packet by performing S305, data following the packet may be transmitted along with the packet size determined in S303 or S304 during data transmission. Alternatively, a tentative data transmission method may be adopted, and the size of each data packet to be transmitted is gradually increased until the upper limit supportable by the network is reached, based on the data packet transmitted in S305.
Optionally, after S301, it may be determined whether the service request message sent by the terminal is a video service request message. As shown in fig. 4, after S301, the method may further include:
S301a, judging whether the service request message sent by the terminal is a video service request message.
Alternatively, if it is determined in S301a that the service request message sent by the terminal is a video service request message, S302 is executed. Otherwise, performing conventional transparent transmission.
Specifically, in S301a, it can be determined whether the service request message sent by the terminal is a DNS request. And if the DNS request is carried out, the service request message is a video service request message, otherwise, the DNS request is not carried out.
Optionally, it is determined whether the service request message is a DNS request, and the DNS request may be identified by a port number of the service request message.
Illustratively, if the port number of the service request message is 53, the service request message is a DNS request.
optionally, after S301, it may be determined first whether a resource requested by a service request message sent by the terminal is included in a preset resource list, so as to determine whether the resource requested by the terminal can support the method for determining the size of the data packet provided by the present application. As shown in fig. 4, after S301, the method may further include:
s301b, determining whether the resource requested by the service request message sent by the terminal is included in a preset resource list.
alternatively, if it is determined in S301b that the resource requested by the service request message sent by the terminal is included in the preset resource list, S302 is executed. Otherwise, performing conventional transparent transmission.
Specifically, the preset resource list used in S301b may be configured according to actual requirements, which is not specifically limited in this embodiment of the present application.
It should be noted that after S301, S301a and/or S301b may be included. When S301 is followed by S301, including S301a and S301b, the order of the two may be set according to actual requirements, which is not specifically limited in this embodiment of the application. When S301 is followed by S301 including S301a and S301b, S302 is executed only when both S301a and S301b are judged to be satisfied.
It should be further noted that the execution sequence of the steps included in fig. 4 is only an illustration and is not particularly limited.
It should be noted that, in the process of sending a data packet to the terminal by the target server, the scheme of the present application may be executed once each time a service request message sent by the terminal is received, and the size of the initial data packet is determined only once, thereby shortening the time for data transmission. The scheme of the application can be executed once when a service request message sent by a terminal is received and a resource requested by the service request message is sent to the terminal, so that the size of each data packet sent is ensured to be an optimal value suitable for network transmission. Of course, the embodiment of the present invention is not particularly limited thereto.
On the other hand, an embodiment of the present invention further provides an apparatus 50 for determining a packet size, and as shown in fig. 5, the apparatus 50 for determining a packet size may include:
A receiving unit 501, configured to receive a service request message sent by a terminal, where the service request message includes an identifier of a resource requested by the terminal.
An obtaining unit 502, configured to obtain an estimated service rate parameter of the terminal according to the estimated reference parameter; the pre-estimated service rate parameter indicates the pre-estimated service rate which can be supported by the terminal, and the pre-estimated service rate parameter is used for determining the size of a data packet of the resource which is sent to the terminal and indicated by the identification.
optionally, the estimated reference parameter may include a current signal quality of the terminal. The obtaining unit 502 may specifically be configured to:
Searching a preset database according to the current geographic position and the current signal quality of the terminal, and acquiring a service rate parameter corresponding to the current geographic position and the current signal quality in the preset database; the preset database comprises the statistical distribution of geographic positions, signal quality and service rate parameters. And acquiring the pre-estimated service rate parameter of the terminal according to the current geographic position and the service rate parameter corresponding to the current signal quality.
Further, the estimated reference parameter may further include a current load of the terminal accessing the network. The obtaining unit 502 obtains the pre-estimated service rate parameter of the terminal according to the current geographic location and the service rate parameter corresponding to the current signal quality, which may include: and acquiring the estimated service rate parameter of the terminal according to the current geographic position, the service rate parameter corresponding to the current signal quality and the current load of the terminal access network.
Optionally, the estimated reference parameter may include a current signal quality of the terminal. The obtaining unit 502 may specifically be configured to: substituting the current signal quality, the signal quality of the terminal recorded for the previous N times and the service rate parameter into a preset algorithm to obtain an estimated service rate parameter of the terminal; wherein N is greater than or equal to 1.
Further, the receiving unit 501 may also receive the pre-estimated reference parameter before the obtaining unit 502 obtains the pre-estimated service rate parameter of the terminal according to the pre-estimated reference parameter.
Further, as shown in fig. 6, the apparatus 50 for determining the size of the data packet may further include a determining unit 503, configured to determine the size of the data packet that is used to send the resource indicated by the identifier to the terminal according to the estimated traffic rate parameter. Or, the service request message may further include an identifier of the target server; the apparatus 50 for determining the size of the data packet may further include a sending unit 504, configured to send the estimated service rate parameter to the target server, so that the target server determines, according to the estimated service rate parameter, the size of the data packet that is sent to the terminal and identifies the resource indicated by the identifier.
Further, the determining unit 503 may specifically be configured to:
Determining the size of a data packet of a resource which is sent to a terminal and indicated by an identification, wherein the size of the data packet is corresponding to a pre-estimated service rate parameter in a preset corresponding relation; the preset corresponding relation comprises at least one service rate parameter and a data packet size value corresponding to the at least one service rate parameter one to one.
The apparatus 50 for determining the size of a data packet according to the present application first obtains an estimated service rate parameter indicating an estimated service rate that can be supported by a terminal according to an estimated reference parameter, and then determines the size of the data packet to be sent to the terminal according to the estimated service rate parameter. Therefore, the estimated service rate parameter of the terminal can be reasonably controlled as long as the estimated reference parameter is configured in advance according to the actual service scene requirement, and then the data packet size determined according to the estimated service rate parameter is as large as possible on the premise of being suitable for a transmission scene, so that the maximum performance of the network can be exerted through the scheme of the application, the data transmission time length is shortened through the data packet, the waiting time length of a user is shortened as large as possible, and the experience of the terminal user is well improved.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
the integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solution of the present invention may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
the above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A method for determining packet size, comprising:
receiving a service request message sent by a terminal, wherein the service request message comprises an identifier of a resource requested by the terminal;
acquiring a pre-estimated service rate parameter of the terminal according to the pre-estimated reference parameter; the pre-estimated service rate parameter indicates the pre-estimated service rate which can be supported by the terminal, and the pre-estimated service rate parameter is used for determining the size of a data packet of the resource which is indicated by the identifier and is sent to the terminal.
2. the method of claim 1, wherein the pre-estimated reference parameters comprise a current signal quality of the terminal;
The obtaining of the pre-estimated service rate parameter of the terminal according to the pre-estimated reference parameter includes:
Searching a preset database according to the current geographic position and the current signal quality of the terminal, and acquiring a service rate parameter corresponding to the current geographic position and the current signal quality in the preset database; the preset database comprises statistical distribution of geographic positions, signal quality and service rate parameters;
and acquiring the pre-estimated service rate parameter of the terminal according to the current geographic position and the service rate parameter corresponding to the current signal quality.
3. The method of claim 2, wherein the pre-estimated reference parameters further include a current load of the terminal accessing a network;
The acquiring the pre-estimated service rate parameter of the terminal according to the current geographic position and the service rate parameter corresponding to the current signal quality comprises:
And acquiring an estimated service rate parameter of the terminal according to the current geographic position, the service rate parameter corresponding to the current signal quality and the current load of the terminal access network.
4. The method of claim 1, wherein the pre-estimated reference parameters comprise a current signal quality of the terminal;
The obtaining of the pre-estimated service rate parameter of the terminal according to the pre-estimated reference parameter includes:
substituting the current signal quality, the signal quality of the terminal recorded for the previous N times and the service rate parameter into a preset algorithm to obtain an estimated service rate parameter of the terminal; wherein N is greater than or equal to 1.
5. the method according to any of claims 1-4, wherein before said obtaining the estimated traffic rate parameter of the terminal according to the estimated reference parameter, the method further comprises:
and receiving the estimated reference parameters.
6. The method according to any of claims 1-4, wherein after said obtaining the estimated traffic rate parameter of the terminal according to the estimated reference parameter, the method further comprises:
determining the size of a data packet of the resource indicated by the identifier sent to the terminal according to the pre-estimated service rate parameter;
Or, the service request message further includes an identifier of the target server; and sending the pre-estimated service rate parameter to the target server so that the target server determines the size of a data packet of the resource indicated by the identifier sent to the terminal according to the pre-estimated service rate parameter.
7. The method according to claim 6, wherein said determining, according to the estimated traffic rate parameter, a packet size of a resource indicated by the identifier to be sent to the terminal comprises:
Determining the size of a data packet of the resource which is indicated by the identifier and sent to the terminal, wherein the size of the data packet is corresponding to the pre-estimated service rate parameter in a preset corresponding relation;
the preset corresponding relation comprises at least one service rate parameter and a data packet size value corresponding to the at least one service rate parameter one to one.
8. An apparatus for determining packet size, comprising:
A receiving unit, configured to receive a service request message sent by a terminal, where the service request message includes an identifier of a resource requested by the terminal;
the acquisition unit is used for acquiring the pre-estimated service rate parameter of the terminal according to the pre-estimated reference parameter; the pre-estimated service rate is used for indicating the pre-estimated service rate which can be supported by the terminal, and the pre-estimated service rate parameter is used for determining the size of a data packet of the resource which is indicated by the identification and is sent to the terminal.
9. The apparatus of claim 8, wherein the pre-estimated reference parameters comprise a current signal quality of the terminal;
the obtaining unit is specifically configured to:
Searching a preset database according to the current geographic position and the current signal quality of the terminal, and acquiring a service rate parameter corresponding to the current geographic position and the current signal quality in the preset database; the preset database comprises statistical distribution of geographic positions, signal quality and service rate parameters;
And acquiring the pre-estimated service rate parameter of the terminal according to the current geographic position and the service rate parameter corresponding to the current signal quality.
10. The apparatus of claim 9, wherein the pre-estimated reference parameters further comprise a current load of the terminal accessing a network;
The acquiring unit acquires the pre-estimated service rate parameter of the terminal according to the current geographic position and the service rate parameter corresponding to the current signal quality, and the acquiring unit comprises:
And acquiring an estimated service rate parameter of the terminal according to the current geographic position, the service rate parameter corresponding to the current signal quality and the current load of the terminal access network.
11. The apparatus of claim 8, wherein the pre-estimated reference parameters comprise a current signal quality of the terminal;
the obtaining unit is specifically configured to:
Substituting the current signal quality, the signal quality of the terminal recorded for the previous N times and the service rate parameter into a preset algorithm to obtain an estimated service rate parameter of the terminal; wherein N is greater than or equal to 1.
12. the apparatus according to any one of claims 8-11, characterized in that the apparatus further comprises:
And the receiving unit is used for receiving the pre-estimated reference parameters before the acquiring unit acquires the pre-estimated service rate parameters of the terminal according to the pre-estimated reference parameters.
13. The apparatus according to any one of claims 8 to 11,
The device also comprises a determining unit, which is used for determining the size of a data packet of the resource which is indicated by the identifier and is sent to the terminal according to the estimated service rate parameter acquired by the acquiring unit;
Alternatively, the first and second electrodes may be,
The service request message also comprises an identifier of a target server; the device further comprises a sending unit, configured to send the estimated service rate parameter to the target server, so that the target server determines, according to the estimated service rate parameter, a size of a data packet of the resource indicated by the identifier to be sent to the terminal.
14. The device according to claim 13, wherein the determining unit is specifically configured to:
determining the size of a data packet of the resource which is indicated by the identifier and sent to the terminal, wherein the size of the data packet is corresponding to the pre-estimated service rate parameter in a preset corresponding relation;
The preset corresponding relation comprises at least one service rate parameter and a data packet size value corresponding to the at least one service rate parameter one to one.
CN201611107810.2A 2016-12-05 2016-12-05 method and equipment for determining size of data packet Active CN106792895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611107810.2A CN106792895B (en) 2016-12-05 2016-12-05 method and equipment for determining size of data packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611107810.2A CN106792895B (en) 2016-12-05 2016-12-05 method and equipment for determining size of data packet

Publications (2)

Publication Number Publication Date
CN106792895A CN106792895A (en) 2017-05-31
CN106792895B true CN106792895B (en) 2019-12-13

Family

ID=58878945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611107810.2A Active CN106792895B (en) 2016-12-05 2016-12-05 method and equipment for determining size of data packet

Country Status (1)

Country Link
CN (1) CN106792895B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110881021B (en) * 2018-09-06 2022-06-03 中国移动通信有限公司研究院 MSRP fragment processing method and device, network equipment and storage medium
CN112055174B (en) * 2020-08-27 2022-07-05 深圳英飞拓智能技术有限公司 Video transmission method and device and computer readable storage medium
CN114025212B (en) * 2021-11-03 2024-02-20 青岛聚看云科技有限公司 Page data issuing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257868A (en) * 2008-11-10 2011-11-23 诺基亚公司 Predictive bit-rate modification of content delivery in a wireless network
CN102404184A (en) * 2010-09-09 2012-04-04 鸿富锦精密工业(深圳)有限公司 Data transmission system and transmission method
CN103873189A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Data transmission method and device
CN105681881A (en) * 2015-11-06 2016-06-15 乐视移动智能信息技术(北京)有限公司 Multimedia data transmission method based on mobile terminal, and mobile terminal
CN108235382A (en) * 2017-11-27 2018-06-29 上海华为技术有限公司 A kind of method, node device and the server of transmission rate adjustment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257868A (en) * 2008-11-10 2011-11-23 诺基亚公司 Predictive bit-rate modification of content delivery in a wireless network
CN102404184A (en) * 2010-09-09 2012-04-04 鸿富锦精密工业(深圳)有限公司 Data transmission system and transmission method
CN103873189A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Data transmission method and device
CN105681881A (en) * 2015-11-06 2016-06-15 乐视移动智能信息技术(北京)有限公司 Multimedia data transmission method based on mobile terminal, and mobile terminal
CN108235382A (en) * 2017-11-27 2018-06-29 上海华为技术有限公司 A kind of method, node device and the server of transmission rate adjustment

Also Published As

Publication number Publication date
CN106792895A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US10827421B2 (en) Network slice selection method, user equipment, and network device
JP7257539B2 (en) User plane routing method and apparatus
CN110062407B (en) Method and device for managing network slice performance
CN105848113B (en) The method of the point-to-multipoint transmission of single cell
EP2875680B1 (en) Method and apparatus for selecting a wireless access point
US8830930B2 (en) Device in wireless network, device resource management apparatus, gateway and network server, and control method of the network server
TWI487419B (en) Communications
WO2018098790A1 (en) Measurement method, terminal device, and network device
CN112533227A (en) Method and communication device for quality of experience measurement
US8982787B2 (en) Method and apparatus for connecting to network from mobile terminal
CN112312418A (en) Method and device for acquiring user plane data and storage medium
CN106534289B (en) Automatic testing method, device and system
JP6040466B2 (en) Communication control method, user equipment, network server, and system
KR20210057125A (en) Communication method and related equipment
WO2021204230A1 (en) Access control method and apparatus, and device and storage medium
CN106792895B (en) method and equipment for determining size of data packet
US20140169190A1 (en) Methods and systems for network performance measurement using verifiable single-use highly-entropic file generation
US20200296575A1 (en) Method and apparatus for determining status of terminal device, and device
US11310728B2 (en) Management of system information area
EP3567927B1 (en) Access method, and terminal
US10129079B2 (en) Telecommunications system and method
KR102398433B1 (en) Measurement of Transmission Delay
CN103096427A (en) Wireless access point (AP) information of terminal acquiring method and device
CN117155844B (en) Communication link selection method, system, electronic equipment and storage medium
US11290902B2 (en) Method and system for performing radio measurements in a mobile network

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