CN111343291A - Service acceleration processing method and device, QoS platform and storage medium - Google Patents

Service acceleration processing method and device, QoS platform and storage medium Download PDF

Info

Publication number
CN111343291A
CN111343291A CN201811551444.9A CN201811551444A CN111343291A CN 111343291 A CN111343291 A CN 111343291A CN 201811551444 A CN201811551444 A CN 201811551444A CN 111343291 A CN111343291 A CN 111343291A
Authority
CN
China
Prior art keywords
public network
address
information
speed
port
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
CN201811551444.9A
Other languages
Chinese (zh)
Other versions
CN111343291B (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 Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201811551444.9A priority Critical patent/CN111343291B/en
Publication of CN111343291A publication Critical patent/CN111343291A/en
Application granted granted Critical
Publication of CN111343291B publication Critical patent/CN111343291B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a service acceleration processing method, a device, a QoS platform and a storage medium, wherein the method comprises the following steps: acquiring a first public network IP address and a first public network port corresponding to the speed-up request, acquiring a mapping relation corresponding to the first public network IP address according to the address conversion configuration of the attribution region, and converting the mapping relation into a first internal network IP address and a first internal network port; generating first quintuple information corresponding to the speed-up request based on the first intranet IP address and the first intranet port; sending the first quintuple information to DRA or PCRF equipment in a home region; the method, the device, the QoS platform and the storage medium can simplify the speed-up process of the QoS products, reduce the dependence conditions of the QoS products during speed-up, improve the success rate and the application range of QoS guarantee, expand the application scene of speed-up requests and have better application value.

Description

Service acceleration processing method and device, QoS platform and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing service acceleration, a QoS platform, and a storage medium.
Background
QoS products, such as 4GQoS products, are important products for operators to implement differentiated services. The product allocates more wireless resources and core network resources to the user by establishing a special bearer, thereby reducing the time delay packet loss and improving the user experience. At present, backward speed-up products in QoS products of operators and equipment providers generally have the problems of low speed-up success rate, complex speed-up process and certain limitation on speed-up scenes. The main reason for the above problems is that the back-up of the QoS products requires that information such as the intranet IP and the mobile phone number of the user mobile phone is known in advance and then session binding is performed, thereby ensuring the performance. However, the method for acquiring the intranet IP of the user in the current QoS product has low accuracy and a complex acquisition process.
Disclosure of Invention
One or more embodiments of the present invention provide a method and an apparatus for processing service acceleration, a QoS platform, and a storage medium.
According to an aspect of the present invention, a method for processing service acceleration is provided, which includes: receiving a speed-up request, and acquiring a first public network IP address and a first public network port corresponding to the speed-up request; acquiring attribution area information corresponding to the first public network IP address, and acquiring a mapping relation corresponding to the first public network IP address according to address conversion configuration of the attribution area; converting the first public network IP address and the first public network port into a first internal network IP address and a first internal network port based on the mapping relation; generating first quintuple information corresponding to the speed-up request based on the first intranet IP address and the first intranet port; and sending the first five-tuple information to DRA or PCRF equipment of the home region, so that the DRA or PCRF equipment performs session binding according to the first five-tuple information and performs speed-up processing on service data matched with the first five-tuple information.
Optionally, the obtaining a mapping relationship corresponding to the first public network IP address according to the address translation configuration of the home domain includes: establishing at least one mapping relation according to the NAT firewall configuration of the home region; wherein each mapping relationship comprises: a plurality of public network segments, a first public network port range, a plurality of private network segments and a private network port block.
Optionally, the converting the first public network IP address and the first public network port into a first internal network IP address and a first internal network port based on the mapping relationship includes: calculating public network segment offset of each public network segment in the mapping relation; calculating private network segment offset of each private network segment in the mapping relation; obtaining the mapping relation corresponding to the first public network IP address, the public network segment and the public network segment offset; calculating the total offset of the first public network IP address and the first public network port; and acquiring corresponding private network segment offset based on the total offset, and calculating the private network IP address based on the private network segment offset.
Optionally, if the DRA device is not enabled in the home region, sending the first quintuple information to all PCRF devices in the home region; and if the first quintuple information is successfully ensured on the PCRF equipment, recording a first corresponding relation between a session Id and the PCRF equipment as well as the first quintuple information.
Optionally, if the home region enables the DRA device, the first five-tuple information is sent to the DRA device, the DRA device performs session binding according to an intranet IP of a user, and records a second corresponding relationship between a session Id and the DRA device as well as the first five-tuple information.
Optionally, if a request for stopping guarantee or a request for inquiring speed-up state is received, acquiring a second public network IP address and a second public network port corresponding to the request for stopping guarantee or the request for inquiring speed-up state; converting the second public network IP address and the second public network port into a second intranet IP address and a second intranet port based on the mapping relation; generating second quintuple information corresponding to the request for stopping guarantee or inquiring the speed-up state based on the second intranet IP address and the second intranet port; and obtaining the DRA or the PCRF corresponding to the second five-tuple information according to the first corresponding relation or the second corresponding relation, and initiating a speed reduction or query instruction to the DRA or the PCRF.
Optionally, the speed-up request sent by the terminal or the SP server is received, and the first public network IP address and the first public network port are obtained from http protocol information in the speed-up request sent by the terminal or a signaling of the SP server.
According to another aspect of the present invention, there is provided a service acceleration processing apparatus, including: the public network information acquisition module is used for receiving the speed-up request and acquiring a first public network IP address and a first public network port corresponding to the speed-up request; a mapping relation obtaining module, configured to obtain home region information corresponding to the first public network IP address, and obtain a mapping relation corresponding to the first public network IP address according to address translation configuration of the home region; the internal network information conversion module is used for converting the first public network IP address and the first public network port into a first internal network IP address and a first internal network port based on the mapping relation; generating first quintuple information corresponding to the speed-up request based on the first intranet IP address and the first intranet port; and the acceleration processing module is used for sending the first five-tuple information to the DRA or PCRF equipment of the attributive region, so that the DRA or PCRF equipment performs session binding according to the first five-tuple information and performs acceleration processing on the service data matched with the first five-tuple information.
Optionally, the mapping relationship obtaining module is configured to establish at least one mapping relationship according to the NAT firewall configuration in the home region; wherein each mapping relationship comprises: a plurality of public network segments, a first public network port range, a plurality of private network segments and a private network port block.
Optionally, the intranet information conversion module is configured to calculate a public network segment offset of each public network segment in the mapping relationship; calculating private network segment offset of each private network segment in the mapping relation; obtaining the mapping relation corresponding to the first public network IP address, the public network segment and the public network segment offset; calculating the total offset of the first public network IP address and the first public network port; and acquiring corresponding private network segment offset based on the total offset, and calculating the private network IP address based on the private network segment offset.
Optionally, the speed-up processing module includes: an information sending unit, configured to send the first quintuple information to all PCRF devices in the home region if the home region does not enable DRA devices; and the relationship storage unit is used for recording a first corresponding relationship between the session Id and the PCRF device and the first quintuple information if the first quintuple information is successfully guaranteed on the PCRF device.
Optionally, the information sending unit is configured to send the first quintuple information to the DRA device if the DRA device is enabled by the home region, where the DRA device performs session binding according to an intranet IP of a user; and the relationship storage unit is used for recording a second corresponding relationship between the session Id and the DRA equipment as well as the first quintuple information.
Optionally, the speed-up processing module includes: the information extraction unit is used for acquiring a second public network IP address and a second public network port corresponding to a stop guarantee request or an inquiry speed-up state request if the stop guarantee request or the inquiry speed-up state request is received; the information conversion unit is used for converting the second public network IP address and the second public network port into a second internal network IP address and a second internal network port based on the mapping relation; generating second quintuple information corresponding to the request for stopping guarantee or inquiring the speed-up state based on the second intranet IP address and the second intranet port; and the information sending unit is configured to obtain the DRA or the PCRF corresponding to the second five-tuple information according to the first corresponding relationship or the second corresponding relationship, and initiate a speed reduction or query instruction to the DRA or the PCRF.
Optionally, the public network information obtaining module is configured to receive the speed-up request sent by the terminal or the SP server, and obtain the first public network IP address and the first public network port from http protocol information in the speed-up request sent by the terminal or a signaling of the SP server.
According to another aspect of the present invention, there is provided a service acceleration processing apparatus, including: a memory; and a processor coupled to the memory, the processor configured to perform the method as described above based on instructions stored in the memory.
According to still another aspect of the present invention, there is provided a QoS platform including: the service acceleration processing device is described above.
Optionally, the QoS platform comprises: 4G QoS platform.
According to yet another aspect of the invention, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by one or more processors, implement the steps of the method as described above.
The service acceleration processing method, the device, the QoS platform and the storage medium provided by the invention provide an efficient and low-cost service acceleration processing scheme aiming at the problems that the acceleration process of QoS products is complex and depends on terminal intranet IP, so that the acceleration process of the QoS products can be simplified, the dependence condition of the QoS products during acceleration is reduced, the use threshold of the QoS products is reduced, the success rate and the application range of QoS guarantee can be improved, the dependence of acceleration requests on equipment and application can be reduced, the application scene of the acceleration requests is expanded, and the service acceleration processing method and the device have better application value.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without inventive exercise.
FIG. 1 is a schematic flow chart diagram illustrating one embodiment of a service acceleration processing method according to the present disclosure;
FIG. 2 is a schematic flow chart illustrating address translation in an embodiment of a service acceleration processing method according to the present disclosure;
FIG. 3 is a block diagram of one embodiment of a traffic acceleration processing apparatus according to the present disclosure;
FIG. 4 is a block diagram of an acceleration processing module in an embodiment of a service acceleration processing apparatus according to the present disclosure;
fig. 5 is a block diagram of another embodiment of a service acceleration processing apparatus according to the present disclosure.
Detailed Description
The present disclosure now will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the disclosure are shown. The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The terms "first", "second", and the like are used hereinafter only for descriptive distinction and not for other specific meanings.
Fig. 1 is a schematic flow chart of an embodiment of a service acceleration processing method according to the present disclosure, as shown in fig. 1:
step 101, receiving a speed-up request, and acquiring a first public network IP address and a first public network port corresponding to the speed-up request.
The first public network IP address and the first public network port may be a public network IP address and a public network address of the terminal carried in the speed-up request, and the terminal may be a mobile phone, a PAD, or the like. And receiving an acceleration request sent by the terminal or the SP server, and acquiring a first public network IP address and a first public network port from http protocol information in the acceleration request sent by the terminal or signaling of the SP server.
For example, a 4G terminal or an SP (Service Provider) server initiates a speed-up request to the 4G qos platform. If the request is initiated by the SP server, the public network IP and the port of the 4G terminal need to be carried. For a speed-up request initiated by a 4G terminal, a 4GQoS platform acquires a public network address and a port of the 4G terminal from a lower tcp protocol of an http protocol of the speed-up request; and for the request initiated by the SP server, the public network address and the port of the 4G terminal are obtained from the acceleration request body.
And 102, acquiring home region information corresponding to the first public network IP address, and acquiring a mapping relation corresponding to the first public network IP address according to address conversion configuration of the home region. For example, the information of the province belonging to the first public network address can be inquired according to the public network IP plan of each province.
And 103, converting the first public network IP address and the first public network port into a first internal network IP address and a first internal network port based on the mapping relation. The intranet IP address and the intranet port may also be referred to as a private network IP address and a private network port.
And 104, generating first quintuple information corresponding to the speed-up request based on the first intranet IP address and the first intranet port.
For example, NAT firewall configurations of provinces can be used, a corresponding terminal intranet IP is calculated through a user public network IP and a port according to a preset IP mapping algorithm, and speed-up quintuple information is supplemented, wherein the quintuple information includes source IP, destination IP, a source port, a destination port and protocol number information.
And 105, sending the first quintuple information to a DRA (Diameter Routing Agent) or PCRF (Policy and Charging Rule function) equipment in the home area, so that the DRA or PCRF equipment performs session binding according to the first quintuple information and performs speed-up processing on service data matched with the first quintuple information. The speed-up processing may be a plurality of methods, for example, matching five-tuple information in the session with the first five-tuple information, and if the matching is successful, establishing a dedicated bearer for the session to provide corresponding QoS guarantee.
The QoS product of the operator can provide new differentiated service capability for the Internet SP and 4G users, and the QoS product can be a 4G QoS product. The invention provides a high-efficiency and low-cost service acceleration processing method aiming at the problems that the acceleration process of the QoS products is complex and depends on the terminal intranet IP, and can simplify the acceleration process of the QoS products and reduce the dependence conditions when the QoS products are accelerated, thereby reducing the use threshold of the QoS products, expanding the application range and improving the acceleration success rate.
In one embodiment, there may be multiple mappings corresponding to the first public network IP address obtained according to the address translation configuration of the home domain. For example, at least one mapping relationship is established according to the NAT firewall configuration of the home region, where each mapping relationship includes: a plurality of public network segments, a first public network port range, a plurality of private network segments, a private network port block and the like. There may be various methods for converting the first public network IP address and the first public network port into the first intranet IP address and the first intranet port based on the mapping relationship.
Fig. 2 is a schematic flowchart of address translation in an embodiment of a service speed-up processing method according to the present disclosure, as shown in fig. 2:
step 201, calculating public network segment offset of each public network segment in the mapping relation.
Calculating a mapping relation RkPublic network segment offset POffset of each public network segment in the networki(ii) a Wherein, POffset0=0;POffseti=IOffsetj-1+(Pend[j-1]–Pstart[j-1]+1)*(Portend-Portstart+ 1); the Port range of the public network is (Port)start,Portend) The ith public network segment is (P)start[i],Pend[i]) I is the mapping relation RkAnd the ith public network segment.
Step 202, calculating private network segment offset of each private network segment in the mapping relation.
Calculating a mapping relation RkPrivate network segment offset IOffset of each private network segment insidejWherein IOffset0=0;IOffsetj=IOffsetj-1+(Iend[j-1]–Istart[j-1]+1) × 65536/C; the jth public network segment is (I)start[j],Iend[j]) J is the mapping relation RkAnd the inner jth public network segment and the private network port block are C.
Step 203, obtaining the mapping relation corresponding to the first public network IP address, the public network segment and the public network segment offset.
Step 204, calculating the total offset of the first public network IP address and the first public network port.
Calculating the total offset TOFfset of the public network IP address and the public network Port; wherein TOffset is POffsetm+(P-Pstart[m])*(Portend-Portstart+1)+Port-Portstart
And step 205, acquiring corresponding private network segment offset based on the total offset, and calculating a private network IP address based on the private network segment offset.
Obtaining corresponding IOffset based on TOFfsetjCalculating a private network IP address I; wherein I ═ Istart[j]+(TOffset-IOffsetj)/65536*C+Istart[j]
In one embodiment, because there are many IP mapping links of the NAT firewall, the actual mapping route of the whole network service is usually in the billions, and the mapping route is implemented by using a circuit when the current network firewall is heavy, whereas the IP mapping method implemented by storing the routing relationship and searching the database is difficult to meet the performance requirement.
And recording the public network IP needing to be converted as P and recording the public network Port as Port. Establishing a mapping relation R according to each NAT fusion firewall configuration rulek(k is the kth mapping rule). The following contents are contained in each mapping relation: a 4G public network port range: (Port)start,Portend) And a plurality of 4G public network address sections: [ (P)start[i],Pend[i])](i is the ith public network segment in the rule), and a plurality of 4G private network address segments: [ (I)start[j],Iend[j])](j is the jth private network segment in the rule), and a 4G private network port block is C.
For the mapping relation RkCalculating public network segment offset POffset of each segment of public network ipiThe calculation formula is as follows:
POffset0=0(1-1);
POffseti=IOffsetj-1+(Pend[j-1]–Pstart[j-1]+1)*(Portend-Portstart+1)(1-2);
for the mapping relation RkEach private network segment j in the network is used for calculating the corresponding private network segment offset IOffsetjThe calculation formula is as follows:
IOffset0=0(1-3);
IOffsetj=IOffsetj-1+(Iend[j-1]–Istart[j-1]+1)*65536/C(1-4);
for a given needFor the public network ip (P) and Port (Port) of private network address, firstly, according to the result of formula (1-2), the mapping rule R is searched through traversalkAnd a public network segment Pstart[i]Then, from the calculation result, find out its public network offset POffseti
The total offset TOffset for a given public network ip (p) and Port (Port) is calculated. The calculation formula is as follows:
TOffset=POffseti+(P-Pstart[i])*(Portend-Portstart+1)+Port-Portstart
(1-5);
according to the TOffset, searching the corresponding IOffset from the calculation results of the formula (1-4)j. And calculating a private network address I. The calculation formula is as follows:
I=Istart[j]+(TOffset-IOffsetj)/65536*C+Istart[j](1-6)。
in one embodiment, if the DRA device is not enabled in the home region, the first quintuple information is sent to all PCRF devices in the home region, and if the first quintuple information is successfully provisioned on the PCRF devices, the first corresponding relationship between the session Id and the PCRF devices and the first quintuple information is recorded.
And if the home region enables the DRA equipment, sending the first five-tuple information to the DRA equipment, carrying out session binding by the DRA equipment according to the user intranet IP, and recording a second corresponding relation between the session Id and the DRA equipment as well as the first five-tuple information.
And if the request for stopping guarantee or inquiring the speed-up state is received, acquiring a second public network IP address and a second public network port corresponding to the request for stopping guarantee or inquiring the speed-up state. And converting the second public network IP address and the second public network port into a second intranet IP address and a second intranet port based on the mapping relation.
Generating second quintuple information corresponding to the guarantee stopping request or the speed increasing state inquiring request based on the second intranet IP address and the second intranet port; and obtaining the DRA or the PCRF corresponding to the second five-tuple information according to the first corresponding relation or the second corresponding relation, initiating a speed reduction or query instruction to the DRA or the PCRF, and carrying out corresponding speed reduction or query processing on the DRA or the PCRF according to the speed reduction or query instruction.
In one embodiment, a user terminal or SP server initiates an acceleration request. The 4GQoS platform obtains the public network ip and the port of the accelerated person according to the http protocol bottom layer in the acceleration request initiated by the user terminal or the signaling text of the SP server. For example, the public network ip: the ports are 180.243.96.1: 1026.
According to the firewall route configuration, inquiring the mapping rule corresponding to the public network ip:
public network port range: 1025+ 65024, private network port block: 256 of;
private network address field: 10.20.0.1-10.23.255.254; 10.28.0.0-10.71.255.254;
public network address field: 180.243.32.0-180.243.63.255; 180.243.96.0-180.243.125.255.
Inquiring the public network segment corresponding to the public network IP, and calculating the public network total offset corresponding to the public network IP, namely the public network segment offset and the public network segment internal offset, namely (65024 + 1025+1) × (180.243.63.255-180.243.32.0+1) + (65024 + 1025+1) × (180.243.96.1-180.243.96.0) +1026 + 1025, namely 524288000+64001, namely 524352001.
Inquiring the private network segment and private network offset corresponding to the public network offset, and calculating the private network IP of the public network IP
(524352001-(10.23.255.254-10.20.0.1)*65536/256)/65536*256+10.28.0.0={524288000+64001-67108096}/256+10.28.0.0=10.54.65.253。
And routing the user request to the DRA or PCRF corresponding to the province according to the public network IP, using the calculated private network IP as the speed-up IP of the quintuple, carrying out session binding, recording response equipment and quintuple information of the session, and completing speed-up. When the user needs to stop speeding up, the recorded response network element and quintuple information are searched, and a speed reduction or query instruction is initiated to the corresponding network element.
In one embodiment, as shown in fig. 3, the present invention provides a service acceleration processing apparatus 30, including: a public network information obtaining module 31, a mapping relation obtaining module 32, an intranet information conversion module 33 and an acceleration processing module 34. The public network information obtaining module 31 receives the speed-up request, and obtains a first public network IP address and a first public network port corresponding to the speed-up request. The mapping relation obtaining module 32 obtains the home region information corresponding to the first public network IP address, and obtains the mapping relation corresponding to the first public network IP address according to the address conversion configuration of the home region.
The intranet information conversion module 33 converts the first public network IP address and the first public network port into a first intranet IP address and a first intranet port based on the mapping relationship. The intranet information conversion module 33 generates the first quintuple information corresponding to the speed-up request based on the first intranet IP address and the first intranet port. The acceleration processing module 34 routes the acceleration request to the DRA or PCRF device in the home region, so that the DRA or PCRF device performs session binding according to the first quintuple information, and performs acceleration processing on the service data matched with the first quintuple information.
In one embodiment, the mapping relationship obtaining module 32 establishes at least one mapping relationship according to the NAT firewall configuration of the home region, where each mapping relationship includes: a plurality of public network segments, a first public network port range, a plurality of private network segments, a private network port block and the like.
The public network information obtaining module 31 receives an acceleration request sent by the terminal or the SP server, and obtains the first public network IP address and the first public network port from http protocol information in the acceleration request sent by the terminal or a signaling of the SP server. The intranet information conversion module 33 calculates the public network segment offset of each public network segment in the mapping relationship. The intranet information conversion module 33 calculates the private network segment offset of each private network segment in the mapping relationship.
The intranet information conversion module 33 obtains a mapping relationship corresponding to the first public network IP address, a public network segment, and a public network segment offset. The intranet information conversion module 33 calculates the total offset of the first public network IP address and the first public network port. The intranet information conversion module 33 obtains a corresponding private network segment offset based on the total offset, and calculates a private network IP address based on the private network segment offset.
In one embodiment, as shown in FIG. 4, the speed-up processing module 34 includes: information transmitting section 341, relationship holding section 342, information extracting section 343, and information converting section 344. If the home region does not enable the DRA device, information transmitting unit 341 transmits the first five-tuple information to all PCRF devices of the home region. If the first quintuple information is successfully provisioned on the PCRF device, the relationship saving unit 342 records a first corresponding relationship between the session Id and the PCRF device and the first quintuple information.
If the home region enables the DRA device, information sending unit 341 sends the first quintuple information to the DRA device, and the DRA device performs session binding according to the user intranet IP. The relationship holding unit 342 records a second corresponding relationship between the session Id and the DRA device and the first quintuple information.
If a request for stopping the provisioning or inquiring the speed-up status is received, the information extracting unit 343 acquires the second public network IP address and the second public network port corresponding to the request for stopping the provisioning or inquiring the speed-up status. The information conversion unit 344 converts the second public network IP address and the second public network port into a second intranet IP address and a second intranet port based on the mapping relationship.
The information conversion unit 344 generates second quintuple information corresponding to the stop safeguard request or the query acceleration state request based on the second intranet IP address and the second intranet port. The information sending unit 341 obtains the DRA or PCRF corresponding to the second five-tuple information according to the first corresponding relationship or the second corresponding relationship, and initiates a speed reduction or query instruction to the DRA or PCRF.
Fig. 5 is a block diagram of an embodiment of a traffic acceleration processing apparatus according to the present disclosure. As shown in fig. 5, the apparatus may include a memory 51, a processor 52, a communication interface 53, and a bus 54. The memory 51 is used for storing instructions, the processor 52 is coupled to the memory 51, and the processor 52 is configured to execute the service acceleration processing method based on the instructions stored in the memory 51.
The memory 51 may be a high-speed RAM memory, a non-volatile memory (non-volatile memory), or the like, and the memory 51 may be a memory array. The storage 51 may also be partitioned and the blocks may be combined into virtual volumes according to certain rules. Processor 52 may be a central processing unit CPU, or an application specific integrated circuit asic (application specific integrated circuit), or one or more integrated circuits configured to implement the service acceleration processing method of the present disclosure.
In one embodiment, the present invention provides a QoS platform comprising: the traffic acceleration processing device in any of the above embodiments. The QoS platform can be various, for example, the QoS platform is a 4G QoS platform.
In one embodiment, the present disclosure provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement a traffic acceleration processing method as in any one of the above embodiments.
The service acceleration processing method and device, the QoS platform and the storage medium in the embodiments provide an efficient and low-cost service acceleration processing scheme for solving the problems that the acceleration process of QoS products is complex and depends on the terminal intranet IP, so that the acceleration process of QoS products can be simplified, and the dependence conditions of QoS products during acceleration can be reduced, thereby reducing the use threshold of QoS products, and improving the success rate and the application area of QoS guarantee, thereby having better application value.
The service acceleration processing method, the service acceleration processing device, the QoS platform and the storage medium in the embodiment are easy to deploy and implement, and can fully utilize the network address conversion mapping configuration and principle of the existing network to realize the mapping and acquisition of private network addresses; the dependence of the speed-up request on equipment and application is reduced, and the application scene of the speed-up request is expanded. The QoS guarantee process is simplified, the guarantee can be completed by one request at any time and any place, and the realization of the second-level speed acceleration is changed into the realization of the millisecond-level speed acceleration, so that the 4GQoS has better application value in the following scenes more easily:
in the scene of the Internet of things, the interaction times of the terminals are reduced, so that the power is improved, and meanwhile, ordering and data pre-entry are avoided, so that the application value is better;
in the scene of the Internet of vehicles, the QoS guarantee can be established more quickly, so that the method has better application value;
in the existing service scene, the problem that the ip of a part of terminal intranet is read wrongly and the problem that the ip of the intranet cannot be read in advance in some scenes can be solved, the success rate and the application range of QoS guarantee are improved, and therefore the method has good application value.
The method and system of the present disclosure may be implemented in a number of ways. For example, the methods and systems of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
The description of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to practitioners skilled in this art. The embodiment was chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.

Claims (18)

1. A service acceleration processing method comprises the following steps:
receiving a speed-up request, and acquiring a first public network IP address and a first public network port corresponding to the speed-up request;
acquiring attribution area information corresponding to the first public network IP address, and acquiring a mapping relation corresponding to the first public network IP address according to address conversion configuration of the attribution area;
converting the first public network IP address and the first public network port into a first internal network IP address and a first internal network port based on the mapping relation;
generating first quintuple information corresponding to the speed-up request based on the first intranet IP address and the first intranet port;
and sending the first five-tuple information to DRA or PCRF equipment of the home region, so that the DRA or PCRF equipment performs session binding according to the first five-tuple information and performs speed-up processing on service data matched with the first five-tuple information.
2. The method of claim 1, the obtaining the mapping corresponding to the first public network IP address according to the address translation configuration of the home domain comprising:
establishing at least one mapping relation according to the NAT firewall configuration of the home region;
wherein each mapping relationship comprises: a plurality of public network segments, a first public network port range, a plurality of private network segments and a private network port block.
3. The method of claim 2, said converting the first public network IP address and first public network port to a first internal network IP address and first internal network port based on the mapping relationship comprising:
calculating public network segment offset of each public network segment in the mapping relation;
calculating private network segment offset of each private network segment in the mapping relation;
obtaining the mapping relation corresponding to the first public network IP address, the public network segment and the public network segment offset;
calculating the total offset of the first public network IP address and the first public network port;
and acquiring corresponding private network segment offset based on the total offset, and calculating the private network IP address based on the private network segment offset.
4. The method of claim 1, further comprising:
if the home region does not enable DRA equipment, the first quintuple information is sent to all PCRF equipment of the home region;
and if the first quintuple information is successfully ensured on the PCRF equipment, recording a first corresponding relation between a session Id and the PCRF equipment as well as the first quintuple information.
5. The method of claim 4, further comprising:
and if the home region enables the DRA equipment, sending the first five-tuple information to the DRA equipment, carrying out session binding by the DRA equipment according to an intranet IP of a user, and recording a second corresponding relation between a session Id and the DRA equipment as well as the first five-tuple information.
6. The method of claim 5, further comprising:
if a request for stopping guarantee or inquiring the speed-up state is received, acquiring a second public network IP address and a second public network port corresponding to the request for stopping guarantee or inquiring the speed-up state;
converting the second public network IP address and the second public network port into a second intranet IP address and a second intranet port based on the mapping relation;
generating second quintuple information corresponding to the request for stopping guarantee or inquiring the speed-up state based on the second intranet IP address and the second intranet port;
and obtaining the DRA or the PCRF corresponding to the second five-tuple information according to the first corresponding relation or the second corresponding relation, and initiating a speed reduction or query instruction to the DRA or the PCRF.
7. The method of claim 1, further comprising:
and receiving the speed-up request sent by the terminal or the SP server, and acquiring a first public network IP address and a first public network port from http protocol information in the speed-up request sent by the terminal or signaling of the SP server.
8. A traffic acceleration processing apparatus, comprising:
the public network information acquisition module is used for receiving the speed-up request and acquiring a first public network IP address and a first public network port corresponding to the speed-up request;
a mapping relation obtaining module, configured to obtain home region information corresponding to the first public network IP address, and obtain a mapping relation corresponding to the first public network IP address according to address translation configuration of the home region;
the internal network information conversion module is used for converting the first public network IP address and the first public network port into a first internal network IP address and a first internal network port based on the mapping relation; generating first quintuple information corresponding to the speed-up request based on the first intranet IP address and the first intranet port;
and the acceleration processing module is used for sending the first five-tuple information to the DRA or PCRF equipment of the attributive region, so that the DRA or PCRF equipment performs session binding according to the first five-tuple information and performs acceleration processing on the service data matched with the first five-tuple information.
9. The apparatus of claim 8, wherein,
the mapping relation obtaining module is used for establishing at least one mapping relation according to the NAT firewall configuration of the home region; wherein each mapping relationship comprises: a plurality of public network segments, a first public network port range, a plurality of private network segments and a private network port block.
10. The apparatus of claim 9, wherein,
the intranet information conversion module is used for calculating public network segment offset of each public network segment in the mapping relation; calculating private network segment offset of each private network segment in the mapping relation; obtaining the mapping relation corresponding to the first public network IP address, the public network segment and the public network segment offset; calculating the total offset of the first public network IP address and the first public network port; and acquiring corresponding private network segment offset based on the total offset, and calculating the private network IP address based on the private network segment offset.
11. The apparatus of claim 8, wherein,
the speed-up processing module comprises:
an information sending unit, configured to send the first quintuple information to all PCRF devices in the home region if the home region does not enable DRA devices;
and the relationship storage unit is used for recording a first corresponding relationship between the session Id and the PCRF device and the first quintuple information if the first quintuple information is successfully guaranteed on the PCRF device.
12. The apparatus of claim 11, wherein,
the information sending unit is configured to send the first quintuple information to the DRA device if the DRA device is enabled by the home region, and the DRA device performs session binding according to an intranet IP of a user;
and the relationship storage unit is used for recording a second corresponding relationship between the session Id and the DRA equipment as well as the first quintuple information.
13. The apparatus of claim 12, wherein,
the speed-up processing module comprises:
the information extraction unit is used for acquiring a second public network IP address and a second public network port corresponding to a stop guarantee request or an inquiry speed-up state request if the stop guarantee request or the inquiry speed-up state request is received;
the information conversion unit is used for converting the second public network IP address and the second public network port into a second internal network IP address and a second internal network port based on the mapping relation; generating second quintuple information corresponding to the request for stopping guarantee or inquiring the speed-up state based on the second intranet IP address and the second intranet port;
and the information sending unit is configured to obtain the DRA or the PCRF corresponding to the second five-tuple information according to the first corresponding relationship or the second corresponding relationship, and initiate a speed reduction or query instruction to the DRA or the PCRF.
14. The apparatus of claim 8, further comprising:
the public network information obtaining module is used for receiving the speed-up request sent by the terminal or the SP server and obtaining a first public network IP address and a first public network port from http protocol information in the speed-up request sent by the terminal or signaling of the SP server.
15. A traffic acceleration processing apparatus, comprising:
a memory; and a processor coupled to the memory, the processor configured to perform the method of any of claims 1-7 based on instructions stored in the memory.
16. A QoS platform comprising:
a traffic acceleration processing apparatus according to any of the claims 8-15.
17. The QoS platform of claim 16,
the QoS platform comprises: 4G QoS platform.
18. A computer readable storage medium having stored thereon computer program instructions which, when executed by one or more processors, implement the steps of the method of any one of claims 1 to 7.
CN201811551444.9A 2018-12-19 2018-12-19 Service acceleration processing method and device, QoS platform and storage medium Active CN111343291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811551444.9A CN111343291B (en) 2018-12-19 2018-12-19 Service acceleration processing method and device, QoS platform and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811551444.9A CN111343291B (en) 2018-12-19 2018-12-19 Service acceleration processing method and device, QoS platform and storage medium

Publications (2)

Publication Number Publication Date
CN111343291A true CN111343291A (en) 2020-06-26
CN111343291B CN111343291B (en) 2022-04-26

Family

ID=71186721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811551444.9A Active CN111343291B (en) 2018-12-19 2018-12-19 Service acceleration processing method and device, QoS platform and storage medium

Country Status (1)

Country Link
CN (1) CN111343291B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463409A (en) * 2020-12-04 2021-03-09 天津狮拓信息技术有限公司 Data interaction method and device, electronic equipment and computer readable storage medium
CN113905105A (en) * 2021-09-30 2022-01-07 阿里巴巴(中国)有限公司 Method and device for establishing application dependency relationship

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932490A (en) * 2011-08-12 2013-02-13 中国电信股份有限公司 Internet protocol (IP) address translation method and device, network address translation equipment and authentication system
US20150304275A1 (en) * 2014-04-07 2015-10-22 Benu Networks, Inc. Carrier grade nat
CN105207786A (en) * 2014-05-30 2015-12-30 中国电信股份有限公司 Method, system and route agent node for Rx session and Gx session binding
CN105992195A (en) * 2015-02-16 2016-10-05 中国电信股份有限公司 Method and system for implementing PCRF (policy and charging rule function) addressing
CN106559509A (en) * 2015-09-30 2017-04-05 中国电信股份有限公司 Registration server, CGN equipment, service provider system and index, retransmission method
CN107612722A (en) * 2017-08-31 2018-01-19 江苏省公用信息有限公司 Open platform and its implementation based on 4GQoS networks
CN108259434A (en) * 2016-12-29 2018-07-06 中国移动通信集团浙江有限公司 A kind of opening method and server of user side QoS supportabilitys

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932490A (en) * 2011-08-12 2013-02-13 中国电信股份有限公司 Internet protocol (IP) address translation method and device, network address translation equipment and authentication system
US20150304275A1 (en) * 2014-04-07 2015-10-22 Benu Networks, Inc. Carrier grade nat
CN105207786A (en) * 2014-05-30 2015-12-30 中国电信股份有限公司 Method, system and route agent node for Rx session and Gx session binding
CN105992195A (en) * 2015-02-16 2016-10-05 中国电信股份有限公司 Method and system for implementing PCRF (policy and charging rule function) addressing
CN106559509A (en) * 2015-09-30 2017-04-05 中国电信股份有限公司 Registration server, CGN equipment, service provider system and index, retransmission method
CN108259434A (en) * 2016-12-29 2018-07-06 中国移动通信集团浙江有限公司 A kind of opening method and server of user side QoS supportabilitys
CN107612722A (en) * 2017-08-31 2018-01-19 江苏省公用信息有限公司 Open platform and its implementation based on 4GQoS networks

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李韶英等: "手机游戏业务4G QoS部署策略研究", 《移动通信》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463409A (en) * 2020-12-04 2021-03-09 天津狮拓信息技术有限公司 Data interaction method and device, electronic equipment and computer readable storage medium
CN113905105A (en) * 2021-09-30 2022-01-07 阿里巴巴(中国)有限公司 Method and device for establishing application dependency relationship
CN113905105B (en) * 2021-09-30 2024-03-15 阿里巴巴(中国)有限公司 Method and device for establishing application dependency relationship

Also Published As

Publication number Publication date
CN111343291B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
US11716262B2 (en) Control method, apparatus, and system for collecting traffic statistics
US10484307B2 (en) Method of operating a network entity
CN111586670A (en) Method for realizing service continuity and related equipment
EP4283949A2 (en) Routing control method, device, and system
EP2093963A1 (en) A method, system and path computation element for obtaining path information
CN103873356B (en) Application and identification method, system and home gateway based on home gateway
CN111343291B (en) Service acceleration processing method and device, QoS platform and storage medium
WO2009092304A1 (en) A method and apparatus for selecting the policy and charging rule function entity
CN105101176B (en) A kind of binding session methods, devices and systems under roaming scence
CN107484224A (en) A kind of data transmission method and device
CN106789725B (en) Method, device and system for realizing traffic redirection
JP6674051B2 (en) Base station apparatus, terminal apparatus, and QoS control method
CN110035040B (en) Method and device for signaling addressing
CN109451539B (en) Service quality improving method and device
WO2014206180A1 (en) Path acquisition method, path computation element, path computation client and system
CN108617008B (en) A kind of method and apparatus of business data processing
EP3232637A1 (en) Network entity and service policy management method
CN109787799B (en) Quality of service (QoS) control method and equipment
CN109314903A (en) The method and gateway in tunnel are established between a kind of local gateway
CN114598676A (en) Application addressing method, system and storage medium
CN104521201B (en) Processing method, forward node and the control node of forward node
JP2016174268A (en) Network system, network system control method, communication device and program
CN111263292B (en) Communication service processing method, device, system and computer readable storage medium
CN114980359B (en) Data forwarding method, device, equipment, system and storage medium
CN103457794A (en) Method and system for confirming faults of IP bearer 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