Flow processing method, cloud gateway and home broadband gateway

By transmitting traffic through the VXLAN tunnel between the home broadband gateway and the cloud gateway, and using the computing power of the cloud gateway to process value-added services, it solves the problem of the home broadband gateway being unable to support value-added services, improves user experience and reduces costs.

CN118802412APending Publication Date: 2024-10-18CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311144321.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-06
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

It is difficult for home broadband gateways to support value-added services, especially in-depth traffic analysis and processing services, resulting in low user experience. Existing technical frameworks such as OSGI and LXC are difficult to implement large-scale value-added services, and hardware upgrade costs are high.

Method used

By establishing a VXLAN tunnel between the home broadband gateway and the cloud gateway, the super computing power of the cloud gateway is used to process traffic, realize VXLAN encapsulation and decapsulation of the traffic, accurately identify value-added services and target services, and send them to the cloud server for processing. deal with.

Benefits of technology

It realizes the development of value-added services for home broadband, improves users' broadband experience, reduces equipment costs, and supports the development of diversified and large-scale value-added services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802412A_ABST
    Figure CN118802412A_ABST
Patent Text Reader

Abstract

The invention discloses a flow processing method, a cloud gateway and a home broadband gateway. The flow processing method applied to the cloud gateway comprises the following steps: receiving a first flow sent by a home broadband gateway through a virtual extension local area network (VXLAN) tunnel, the first flow being a flow obtained by carrying out VXLAN encapsulation on a second flow generated by the home broadband gateway for surfing the Internet by a user; decapsulating the first traffic to obtain VXLAN identification information, service identification information and second traffic; determining at least one value added service corresponding to the home broadband gateway according to the VXLAN identification information, and determining at least one target service corresponding to the second flow according to the service identification information; and for each target service, under the condition that the at least one value-added service comprises the target service, sending a second flow to a cloud server corresponding to the target service, the cloud server being used for processing the target service. According to the embodiment of the invention, the method can support the development of the value-added service of a household broadband, and improves the user experience of the broadband.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and in particular relates to a traffic processing method, a cloud gateway, and a home broadband gateway. Background Art

[0002] With the rapid development of Internet technology and services, broadband products have entered thousands of households, further stimulating the endless Internet access needs of users. Simply fast Internet access speed is no longer able to meet the different business needs of users. In order to meet the growing Internet access needs of users, operators urgently need to achieve scale-based value management transformation through value-added services for home broadband. Home broadband gateways are the entry point for operators to carry out value-added services for home broadband. Therefore, it is crucial to carry out value-added services based on home broadband gateways.

[0003] However, since the home broadband gateway is deployed at the user's home, it is usually purchased by the user individually or provided by the operator. It often has a low cost, low hardware configuration, poor performance and scalability, and is difficult to support the development of value-added services for home broadband (especially services that perform in-depth analysis and processing of traffic), resulting in a low user experience with broadband. Summary of the invention

[0004] The embodiments of the present application provide a traffic processing method, a cloud gateway, and a home broadband gateway, which can support the development of value-added services for home broadband and enhance the user experience of broadband.

[0005] In a first aspect, an embodiment of the present application provides a traffic processing method, which is applied to a cloud gateway, and the method includes:

[0006] Receiving first traffic sent by a home broadband gateway through a virtual extended local area network (VXLAN) tunnel, where the first traffic is traffic obtained by performing VXLAN encapsulation on second traffic generated by a user surfing the Internet by the home broadband gateway;

[0007] Decapsulate the first traffic to obtain VXLAN identification information, service identification information, and second traffic, wherein the VXLAN identification information corresponds one-to-one to the home broadband gateway;

[0008] Determine at least one value-added service corresponding to the home broadband gateway according to the VXLAN identification information, and determine at least one target service corresponding to the second traffic according to the service identification information;

[0009] For each of the target services, when the at least one value-added service includes the target service, the second traffic is sent to a cloud server corresponding to the target service, and the cloud server is used to process the target service.

[0010] In a possible implementation manner, after sending the second traffic to the cloud server corresponding to the target service, the method further includes:

[0011] receiving a third flow sent by the cloud server, wherein the third flow is the flow obtained after the cloud server processes the target service;

[0012] Perform VXLAN encapsulation on the third flow to obtain fourth flow;

[0013] The fourth traffic is sent to the home broadband gateway through the VXLAN tunnel.

[0014] In a possible implementation, the method further includes:

[0015] For each of the target services, when the at least one value-added service does not include the target service, the second traffic is sent to a broadband remote access server, and the broadband remote access server is used to process the target service.

[0016] In a possible implementation, before receiving the first traffic sent by the home broadband gateway through the VXLAN tunnel, the method further includes:

[0017] Receiving a VXLAN tunnel establishment request sent by the home broadband gateway;

[0018] In response to the VXLAN tunnel establishment request, a VXLAN tunnel is established.

[0019] In a second aspect, an embodiment of the present application provides a traffic processing method, which is applied to a home broadband gateway, and the method includes:

[0020] When a user generates second traffic while surfing the Internet, VXLAN encapsulates the second traffic to obtain first traffic;

[0021] The first traffic is sent to the cloud gateway through the VXLAN tunnel, so that the cloud gateway obtains the second traffic, at least one value-added service corresponding to the home broadband gateway, and at least one target service corresponding to the second traffic based on the first traffic, and for each of the target services, when the at least one value-added service includes the target service, the second traffic is sent to the cloud server corresponding to the target service.

[0022] In a possible implementation manner, before sending the first traffic to the cloud gateway through the VXLAN tunnel, the method further includes:

[0023] A VXLAN tunnel establishment request is sent to the cloud gateway, where the VXLAN tunnel establishment request is used to request the cloud gateway to establish a VXLAN tunnel.

[0024] In a possible implementation, before sending the VXLAN tunnel establishment request to the cloud gateway, the method further includes:

[0025] When powered on, obtain VXLAN configuration information, where the VXLAN configuration information includes cloud gateway identification information;

[0026] The sending a VXLAN tunnel establishment request to the cloud gateway includes:

[0027] Send a tunnel establishment request to the cloud gateway corresponding to the cloud gateway identification information.

[0028] In a possible implementation manner, obtaining VXLAN configuration information includes:

[0029] Sending an access authentication request to a broadband remote access server, wherein the access authentication request is used to request the broadband remote access server to authenticate a broadband user corresponding to the home broadband gateway;

[0030] Receive VXLAN configuration information sent by the broadband remote access server when authentication is passed.

[0031] In a third aspect, an embodiment of the present application provides a cloud gateway, the cloud gateway comprising:

[0032] A first receiving module is used to receive first traffic sent by a home broadband gateway through a VXLAN tunnel, where the first traffic is traffic obtained by performing VXLAN encapsulation on second traffic generated by a user surfing the Internet by the home broadband gateway;

[0033] a decapsulation module, configured to decapsulate the first traffic to obtain VXLAN identification information, service identification information, and second traffic, wherein the VXLAN identification information corresponds one-to-one to the home broadband gateway;

[0034] a determination module, configured to determine at least one value-added service corresponding to the home broadband gateway according to the VXLAN identification information, and to determine at least one target service corresponding to the second traffic according to the service identification information;

[0035] The first sending module is used to send the second traffic to the cloud server corresponding to the target service for each of the target services when the at least one value-added service includes the target service, and the cloud server is used to process the target service.

[0036] In a fourth aspect, an embodiment of the present application provides a home broadband gateway, the home broadband gateway comprising:

[0037] A first encapsulation module is used to perform VXLAN encapsulation on the second traffic to obtain the first traffic when the user generates the second traffic online;

[0038] The second sending module is used to send the first traffic to the cloud gateway through the VXLAN tunnel, so that the cloud gateway obtains the second traffic, at least one value-added service corresponding to the home broadband gateway, and at least one target service corresponding to the second traffic based on the first traffic, and for each target service, when the at least one value-added service includes the target service, the second traffic is sent to the cloud server corresponding to the target service.

[0039] In a fifth aspect, an embodiment of the present application provides an electronic device, the device comprising: a processor and a memory storing computer program instructions;

[0040] When the processor executes the computer program instructions, the method in any possible implementation method of the first aspect or the second aspect is implemented.

[0041] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement a method in any possible implementation method of the first aspect or the second aspect mentioned above.

[0042] In a seventh aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes a method in any possible implementation method of the first aspect or the second aspect mentioned above.

[0043] In the traffic processing method, cloud gateway and home broadband gateway of the embodiment of the present application, since the first traffic is the traffic obtained by VXLAN encapsulation of the second traffic generated by the home broadband gateway for the user's Internet access, the second traffic is obtained by receiving and decapsulating the first traffic sent by the home broadband gateway through the VXLAN tunnel, and the second traffic can be transmitted to the cloud gateway based on the VXLAN technology, and then the value-added service of the home broadband can be implemented based on the cloud gateway. By decapsulating the first traffic, VXLAN identification information and service identification information are obtained, and at least one value-added service corresponding to the home broadband gateway is determined according to the VXLAN identification information, and at least one target service corresponding to the second traffic is determined according to the service identification information, and the value-added service that the broadband user corresponding to the home broadband gateway has handled can be accurately determined, as well as the target service corresponding to the user's Internet access demand. By sending the second traffic to the cloud server corresponding to each target service, when at least one value-added service includes the target service, the cloud server can process the target service. Since the cloud server has super computing power, the target service can be processed by the cloud server to support the development of the value-added service of the home broadband and improve the user's experience of using the broadband. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0045] Figure 1 It is a flow chart of a flow processing method provided in an embodiment of the present application;

[0046] Figure 2 It is a flow chart of a traffic processing method applied to a cloud gateway provided in an embodiment of the present application;

[0047] Figure 3 This is an interactive schematic diagram of VXLAN NAT penetration provided by an embodiment of the present application;

[0048] Figure 4 It is a flow chart of a traffic processing method applied to a home broadband gateway provided in an embodiment of the present application;

[0049] Figure 5 It is a flow chart of another flow processing method provided in an embodiment of the present application;

[0050] Figure 6 This is a schematic diagram of cloud migration of a home broadband service based on VXLAN tunnel technology provided in an embodiment of the present application;

[0051] Figure 7 It is a structural diagram of a cloud gateway provided in an embodiment of the present application;

[0052] Figure 8 It is a structural diagram of a home broadband gateway provided in an embodiment of the present application;

[0053] Fig. 9 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0055] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0056] At present, it is difficult for home broadband gateways to support the development of value-added services for home broadband (especially services that perform in-depth analysis and processing of traffic).

[0057] Specifically, the Broadband Forum (BBF), an authoritative standards organization in the field of home broadband, has developed the home broadband smart gateway equipment standard TR-124, and proposed an executable program running framework based on the Open Service Gateway Initiative (OSGI) framework and kernel virtualization technology (Linux Container, LXC) to carry out value-added home broadband services.

[0058] If the home broadband gateway does not support technical frameworks such as OSGI and LXC, it will not be able to carry out value-added services. Even if the home broadband gateway supports technical frameworks such as OSGI and LXC, at present, the home broadband gateway based on the OSGI framework can only be used to issue static configuration of the gateway or count gateway status information, and it is difficult to carry out value-added services such as traffic processing. Given that the OSGI framework is not suitable for high-performance traffic processing services, TR-124 also defines an executable program environment based on the C language and recommends the use of the LXC container framework technology, on which C plug-ins can run. To a certain extent, this standard can improve the processing performance of the equipment and expand the scope and possibility of value-added services. However, when updating the value-added service plug-in, it is necessary to issue the plug-in to the home broadband gateway one by one through the management platform. Under the scale of more than 10 million users, it takes a long time and occupies a large amount of network bandwidth resources, making it difficult to support the diversified and large-scale development of home broadband value-added services. At the same time, the development of Internet services is flourishing, and new services are emerging in an endless stream. The existing technical frameworks all use interfaces to provide capability opening for upper-layer services to call. This method leads to a slow service iteration cycle and makes it difficult to quickly adapt to the development of new services. In other words, currently, it is not possible to carry out value-added services on a large scale using technical frameworks such as OSGI and LXC.

[0059] On the other hand, in theory, the processing performance can be greatly improved by improving the hardware configuration of the home broadband gateway. However, improving the hardware configuration of the home broadband gateway will lead to a significant increase in equipment costs, which is difficult for users and operators to bear, and ultimately makes it unfeasible in actual operation.

[0060] In addition, under the national and operator strategies of cloud-network integration and computing-network integration, edge cloud and central cloud have theoretically inexhaustible computing power, providing unlimited possibilities for the development of home broadband value-added services.

[0061] Thus, in order to solve the problems of the prior art, the embodiments of the present application provide a traffic processing method, a cloud gateway and a home broadband gateway. Among them, the cloud gateway can be deployed in the edge cloud of the metropolitan area network. The broadband remote access server (BRAS) in the home broadband gateway environment can be used as the entry device of the metropolitan area network. In this way, the cloud gateway can rely on the sufficient computing power resources of the edge cloud to carry out value-added services based on the full traffic and perform service orchestration and scheduling. Specifically, the deployment carrier of the cloud gateway can be unlimited. The cloud gateway can be deployed in combination with the edge cloud of the operator, such as integrated deployment with the content delivery network (CDN), Internet content source, etc., to realize direct cloud access for user traffic without the need to inject back into the BRAS, greatly improving the user experience. Under the condition of no edge cloud, it can be independently deployed as a hardware server. In addition, the cloud gateway can be deployed in the same computer room as the BRAS device. Considering factors such as equipment cost and network latency, multiple BRAS can reuse the same cloud gateway. The specific deployment method is not limited, and physical direct or cross-device connection can be adopted to ensure that the route is reachable.

[0062] In addition, based on the existing home broadband gateway, the home broadband gateway can support VXLAN message encapsulation and decapsulation functions at the hardware chip level to support line-speed forwarding of traffic and ensure the gigabit broadband user experience.

[0063] The following is an introduction to the traffic processing method provided in the embodiments of the present application.

[0064] Figure 1 FIG. 1 is a flow chart showing a flow chart of a method for processing traffic provided by an embodiment of the present application. Figure 1 As shown, the traffic processing method provided in the embodiment of the present application includes steps S110 to S150.

[0065] S110, when the user generates second traffic when surfing the Internet, the home broadband gateway performs VXLAN encapsulation on the second traffic to obtain first traffic.

[0066] Here, the second traffic may be the traffic generated by the user's normal Internet access. The first traffic may be the traffic obtained after the second traffic is encapsulated in a virtual extended local area network (Visual eXtensible Local Area Network, VXLAN). The second traffic may include multiple second data packets. VXLAN encapsulation of the second traffic may be VXLAN encapsulation of multiple second data packets in the second traffic respectively, to obtain first data packets corresponding to the multiple second data packets respectively. The first traffic may include multiple first data packets. Among them, VXLAN encapsulation may be a mac in udp encapsulation technology, which can build a large Layer 2 network, provide a basis for the implementation of Layer 2 traffic in the home intranet to the cloud, and provide convenience for the development of value-added services for home broadband. VXLAN technology itself is a common industry technology and will not be described in detail here.

[0067] S120, the home broadband gateway sends the first traffic to the cloud gateway through the VXLAN tunnel.

[0068] Here, a tunnel can be a logical concept, and a VXLAN tunnel can be a virtual channel. A logical direct connection between a home broadband gateway and a cloud gateway can be achieved through a VXLAN tunnel. That is, the two endpoints of a VXLAN tunnel can include a home broadband gateway and a cloud gateway.

[0069] S130, the cloud gateway decapsulates the first traffic to obtain VXLAN identification information, service identification information and second traffic, where the VXLAN identification information corresponds one-to-one to the home broadband gateway.

[0070] Here, after the home broadband gateway performs VXLAN encapsulation on the second traffic and obtains the first traffic, the first traffic may include VXLAN identification information, service identification information, and information such as the second traffic. Among them, the VXLAN identification information may be a VXLAN network identifier (VXLAN Network Identifier, VNI). There may be a one-to-one correspondence between the VXLAN tunnel and the VXLAN identification information. The service identification information may include information such as preset field information, a destination Internet Protocol (Internet Protocol, IP) address, and a destination port number in the first data packet. Among them, the preset field information may be field information related to the service. By performing a comprehensive analysis of the service identification information, the target service corresponding to the first data packet can be determined. The method of performing a comprehensive analysis on the service identification information to obtain the target service corresponding to the first data packet can refer to the existing method, and will not be described in detail here. Since the first traffic includes multiple first data packets, the target service corresponding to the first traffic may be one or more. That is, the first traffic may correspond to at least one target service.

[0071] Based on this, after the cloud gateway decapsulates the first traffic, VXLAN identification information, service identification information, and second traffic information can be obtained. Among them, since the endpoints of the VXLAN tunnel include the home broadband gateway, the VXLAN tunnel and the home broadband gateway can correspond one to one. Since the VXLAN tunnel and the VXLAN identification information can correspond one to one, the VXLAN identification information and the home broadband gateway can correspond one to one.

[0072] S140, the cloud gateway determines at least one value-added service corresponding to the home broadband gateway according to the VXLAN identification information, and determines at least one target service corresponding to the second traffic according to the service identification information.

[0073] Here, since each home broadband gateway can correspond to a broadband user, there can be a one-to-one correspondence between the VXLAN identification information and the broadband user corresponding to the home broadband gateway. Therefore, after determining the VXLAN identification information, the broadband user corresponding to the VXLAN identification information can be determined according to the correspondence between the VXLAN identification information and the broadband user corresponding to the home broadband gateway. After determining the broadband user, at least one value-added service corresponding to the home broadband gateway can be obtained by querying at least one value-added service corresponding to the broadband user. Among them, the value-added service can be a value-added service that the broadband user has handled. After the user handles the value-added service, he can enjoy the service corresponding to the value-added service. Among them, the value-added service can include green Internet access, intelligent acceleration, security protection, etc.

[0074] In addition, the target service can be any one of the value-added services such as green Internet access, intelligent acceleration, and security protection, or any one of the non-value-added services such as accessing web pages and watching videos. The cloud gateway can identify the second traffic based on the service identification information to obtain at least one target service corresponding to the second traffic. The specific process of identifying the second traffic based on the service identification information can refer to the existing process, which will not be described in detail here. Since the first traffic is obtained by VXLAN encapsulation of the second traffic, at least one target service corresponding to the second traffic can be the same as at least one target service corresponding to the first traffic, which will not be described in detail here.

[0075] S150, for each target service, when at least one value-added service includes the target service, sending second traffic to a cloud server corresponding to the target service, and the cloud server is used to process the target service.

[0076] Here, the cloud server can be deployed in the edge cloud or in the central cloud, and there is no limitation here. Among them, the cloud server can include a value-added service acceleration private network. The cloud server can process the target service through the value-added service acceleration private network. A cloud server can process one target service or multiple target services.

[0077] As an example, if the target service is a value-added service that the broadband user has already subscribed to, the cloud gateway can divert the second traffic to the value-added service acceleration network so that the target service can be processed through the value-added service acceleration network. For example, if the target service is game acceleration, and game acceleration is a value-added service that the broadband user has already subscribed to, the cloud gateway can divert the second traffic to the value-added service acceleration network so that the value-added service acceleration network can accelerate the game corresponding to the second traffic.

[0078] As an example, when there are multiple target services corresponding to the second traffic, and all of the multiple target services are value-added services that the broadband user has already handled, the cloud gateway can perform service chain processing based on the user's service handling situation. Specifically, the cloud gateway can first determine the priorities of multiple target services based on the user's service handling situation, and then send the multiple target services to the cloud servers corresponding to the target services in order of priority from high to low. Specifically, if the multiple target services include intelligent acceleration and security protection, and the priority of security protection is higher than that of intelligent acceleration, the cloud gateway can first send the second traffic to the cloud server corresponding to security protection. After the cloud server performs security protection on the second traffic and returns the second traffic to the cloud gateway, the cloud gateway can then send the second traffic to the cloud server corresponding to the intelligent acceleration, so that the cloud server performs intelligent acceleration on the second traffic.

[0079] In addition, if the target service is green Internet access, that is, the second traffic is traffic related to pornography, gambling and drugs, the second gateway can block and discard the second traffic.

[0080] The traffic processing method of the embodiment of the present application performs VXLAN encapsulation on the second traffic generated by the user's Internet access through the home broadband gateway to obtain the first traffic, and sends the first traffic to the cloud gateway through the VXLAN tunnel, which can transmit the second traffic to the cloud gateway based on the VXLAN technology, and then can realize the development of value-added services of home broadband based on the cloud gateway. The cloud gateway decapsulates the first traffic to obtain VXLAN identification information, service identification information and second traffic, determines at least one value-added service corresponding to the home broadband gateway according to the VXLAN identification information, and determines at least one target service corresponding to the second traffic according to the service identification information, which can accurately determine the value-added services that the broadband user corresponding to the home broadband gateway has handled, and the target service corresponding to the user's Internet access needs. For each target service, when at least one value-added service includes the target service, the cloud gateway sends the second traffic to the cloud server corresponding to the target service, that is, the cloud gateway performs service orchestration and scheduling, so that the cloud server can process the target service. Since the cloud server has super computing power, the cloud server processes the target service, which can support the development of value-added services of home broadband and improve the user's experience of using broadband.

[0081] The following is an introduction to the traffic processing method applied to the cloud gateway provided in the embodiment of the present application.

[0082] Figure 2 A flow chart of a traffic processing method applied to a cloud gateway provided in an embodiment of the present application is shown. Figure 2 As shown, the traffic processing method applied to the cloud gateway provided in the embodiment of the present application includes steps S210 to S240.

[0083] S210, receiving first traffic sent by a home broadband gateway through a VXLAN tunnel, where the first traffic is traffic obtained by performing VXLAN encapsulation on second traffic generated by a user surfing the Internet by the home broadband gateway.

[0084] Based on this, in order to enable the cloud gateway to receive the first traffic sent by the home broadband gateway, before the above S210, the following may also be included:

[0085] Receive a VXLAN tunnel establishment request sent by a home broadband gateway;

[0086] In response to the VXLAN tunnel establishment request, a VXLAN tunnel is established.

[0087] Here, in the environment of the home broadband gateway, the Network Address Translation (NAT) is usually port-restricted or symmetric, which makes it impossible to establish a VXLAN tunnel. In order to establish a VXLAN tunnel, VXLAN NAT penetration modification can be performed. Specifically, the home broadband gateway initiates VXLAN communication to the cloud gateway (the source port is random, and the destination port is the VXLAN well-known port 4789); the broadband remote access server (BRAS) performs NAT conversion on the home intranet address, and the source IP address and port change after the conversion. Among them, BRAS can be the entrance device of the metropolitan area network. Since the source port is random and the source IP address and port change after NAT conversion, after the cloud gateway monitors the VXLAN message of the home broadband gateway at 4789, in order to ensure NAT penetration, the cloud gateway must initiate communication with source port 4789, and the destination IP address and port must be the IP address and port after NAT conversion; after the downlink message passes through the BRAS and is converted by NAT, the VXLAN destination port changes to the source port of the home broadband gateway to initiate VXLAN communication to the cloud gateway, and the home broadband gateway must be able to monitor this port.

[0088] Therefore, in order to complete the establishment of the VXLAN tunnel on the basis of completing NAT, the embodiment of the present application can perform NAT only once on the left side of the BRAS. Specifically, the VXLAN listening port of the home broadband gateway needs to be dynamically adjusted, with the source port of the first communication as the destination listening port; the VXLAN communication between the cloud gateway and the home broadband gateway must use 4789 as the source port, and the destination IP address and port need to be dynamically adjusted according to the received VXLAN message. The home broadband gateway and the cloud gateway can communicate periodically to keep the user alive and prevent the NAT session of the BRAS device from aging. If the NAT session ages, the above steps can be repeated to rebuild the VXLAN tunnel.

[0089] In addition, after the NAT configuration of the BRAS device is released, the VXLAN tunnel can be established normally.

[0090] As an example, the interaction diagram of VXLAN NAT traversal can be as follows: Figure 3 shown.

[0091] In this way, by establishing a VXLAN tunnel, the cloud gateway can receive the first traffic sent by the home broadband gateway.

[0092] S220, decapsulate the first traffic to obtain VXLAN identification information, service identification information and second traffic, where the VXLAN identification information corresponds to the home broadband gateway one by one.

[0093] S230, determining at least one value-added service corresponding to the home broadband gateway according to the VXLAN identification information, and determining at least one target service corresponding to the second traffic according to the service identification information.

[0094] S240, for each target service, when at least one value-added service includes the target service, sending second traffic to a cloud server corresponding to the target service, and the cloud server is used to process the target service.

[0095] Based on this, in some embodiments, after the above S240, the following may also be included:

[0096] receiving third traffic sent by the cloud server, where the third traffic is traffic obtained after the cloud server processes the target service;

[0097] Perform VXLAN encapsulation on the third flow to obtain fourth flow;

[0098] The fourth flow is sent to the home broadband gateway through the VXLAN tunnel.

[0099] Here, in the case where the third traffic is downlink traffic for accessing the home broadband gateway, the third traffic can be sent to the home broadband gateway via VXLAN encapsulation.

[0100] Based on this, in some embodiments, the following may also be included:

[0101] For each target service, when at least one value-added service does not include the target service, the second traffic is sent to the broadband remote access server, and the broadband remote access server is used to process the target service.

[0102] Here, if the target service does not belong to the value-added service that the broadband user has subscribed to, that is, the second traffic is normal outbound traffic, the cloud gateway can inject the second traffic back to the BRAS.

[0103] In this way, orchestration and scheduling of services through the cloud gateway can ensure the rationality of traffic processing.

[0104] In addition, the other steps of the method in the embodiment of the present application can be seen above Figure 1 The relevant description of the illustrated embodiment will not be repeated here.

[0105] In the traffic processing method of the embodiment of the present application, since the first traffic is the traffic obtained by VXLAN encapsulation of the second traffic generated by the user's Internet access by the home broadband gateway, the second traffic is obtained by receiving and decapsulating the first traffic sent by the home broadband gateway through the VXLAN tunnel, and the second traffic can be transmitted to the cloud gateway based on the VXLAN technology, and then the value-added service of the home broadband can be implemented based on the cloud gateway. By decapsulating the first traffic, VXLAN identification information and service identification information are obtained, and at least one value-added service corresponding to the home broadband gateway is determined according to the VXLAN identification information, and at least one target service corresponding to the second traffic is determined according to the service identification information, and the value-added service that has been handled by the broadband user corresponding to the home broadband gateway can be accurately determined, as well as the target service corresponding to the user's Internet access demand. By sending the second traffic to the cloud server corresponding to each target service, when at least one value-added service includes the target service, the cloud server can process the target service. Since the cloud server has super computing power, the target service can be processed by the cloud server to support the development of the value-added service of the home broadband and improve the user's experience of using the broadband.

[0106] The following is an introduction to the traffic processing method applied to a home broadband gateway provided in an embodiment of the present application.

[0107] Figure 4 FIG. 1 is a flow chart showing a flow chart of a method for processing traffic applied to a home broadband gateway provided by an embodiment of the present application. Figure 4 As shown, the traffic processing method applied to the home broadband gateway provided in the embodiment of the present application includes steps S410 to S420.

[0108] S410, when a user generates second traffic when surfing the Internet, perform VXLAN encapsulation on the second traffic to obtain first traffic.

[0109] S420, sending a first flow to a cloud gateway through a VXLAN tunnel, so that the cloud gateway obtains a second flow, at least one value-added service corresponding to the home broadband gateway, and at least one target service corresponding to the second flow based on the first flow, and for each target service, when at least one value-added service includes the target service, sending the second flow to a cloud server corresponding to the target service.

[0110] Based on this, in order to enable the home broadband gateway to send the first traffic to the cloud gateway through the VXLAN tunnel, in some embodiments, before the above S420, the following may also be included:

[0111] Send a VXLAN tunnel establishment request to the cloud gateway. The VXLAN tunnel establishment request is used to request the cloud gateway to establish a VXLAN tunnel.

[0112] Here, when the home broadband gateway has obtained the IP address of the cloud gateway, a VXLAN tunnel establishment request can be sent to the IP address to request the cloud gateway of the IP address to establish a VXLAN tunnel between the cloud gateway and the home broadband gateway. After the VXLAN tunnel is established, the home broadband gateway can set the VXLAN tunnel to a wide area network (WAN) port. Specifically, the home broadband gateway can perform corresponding device configuration based on the interface of the established VXLAN tunnel, direct all outbound traffic to the interface of the VXLAN tunnel, and enable the home broadband gateway to send the first traffic to the cloud gateway through the VXLAN tunnel.

[0113] Based on this, in order to obtain the IP address of the cloud gateway, in some embodiments, before sending the VXLAN tunnel establishment request to the cloud gateway, the following may also be included:

[0114] When powered on, obtain VXLAN configuration information, which includes cloud gateway identification information;

[0115] Based on this, the above-mentioned sending of a VXLAN tunnel establishment request to the cloud gateway may specifically include:

[0116] A tunnel establishment request is sent to the cloud gateway corresponding to the cloud gateway identification information.

[0117] Here, the VXLAN configuration information may include VXLAN identification information, cloud gateway identification information, and home broadband gateway identification information. The cloud gateway identification information may include the IP address of the cloud gateway. The home broadband gateway identification information may include the IP address of the home broadband gateway.

[0118] As an example, the VXLAN configuration information may be pre-stored in the BRAS. Based on this, the above-mentioned acquisition of the VXLAN configuration information may specifically include:

[0119] Sending an access authentication request to the broadband remote access server, the access authentication request is used to request the broadband remote access server to authenticate the broadband user corresponding to the home broadband gateway;

[0120] Receive VXLAN configuration information sent by the broadband remote access server when authentication is successful.

[0121] Here, after powering on, the home broadband gateway can initiate a Point-to-Point Protocol over Ethernet (PPPoE) or IPoE access authentication request to the BRAS. After receiving the access authentication request, the BRAS can authenticate the broadband user corresponding to the home broadband gateway. If the authentication is successful, the BRAS can send VXLAN configuration information to the home broadband gateway. In addition, if the authentication is successful, the network can be ensured to be reachable at the IP level, so that the home broadband gateway has the network foundation to establish a VXLAN tunnel with the cloud gateway.

[0122] As another example, before the home broadband gateway is powered on, the user can make corresponding interface modifications in the configuration management channel of the operator's gateway management system (such as the TR069 configuration channel) and add VXLAN configuration information so that after the home broadband gateway is powered on, the VXLAN configuration information can be sent to the home broadband gateway through the network element.

[0123] Based on this, after the home broadband gateway obtains the VXLAN configuration information, it can extract the IP address of the cloud gateway from the VXLAN configuration information, and then send a tunnel establishment request to the extracted IP address.

[0124] In addition, the other steps of the method in the embodiment of the present application can be seen above Figure 1 The relevant description of the illustrated embodiment will not be repeated here.

[0125] The traffic processing method of the embodiment of the present application performs VXLAN encapsulation on the second traffic generated by the user's Internet access to obtain the first traffic, and sends the first traffic to the cloud gateway through the VXLAN tunnel, so that the second traffic can be transmitted to the cloud gateway based on the VXLAN technology, and then the value-added services of home broadband can be implemented based on the cloud gateway. Since the cloud gateway relies on cloud resources and has super computing power, it can support the development of value-added services of home broadband and improve the user's experience of broadband.

[0126] In order to better describe the entire solution, some specific examples are given based on the above embodiments.

[0127] For example, Figure 5 As shown, a flow chart of a traffic processing method provided in an embodiment of the present application may specifically include the following steps:

[0128] S51, power on the home broadband gateway;

[0129] S52, the home broadband gateway initiates PPPoE or IPoE access authentication to the BRAS;

[0130] S53, BRAS performs user authentication corresponding to access authentication;

[0131] S54. If authentication is successful, the BRAS sends VXLAN configuration information to the home broadband gateway.

[0132] S55, the home broadband gateway extracts the cloud gateway identification information from the VXLAN configuration information;

[0133] S56. The home broadband gateway sends a VXLAN tunnel establishment request to the cloud gateway corresponding to the cloud gateway identification information;

[0134] S57: The cloud gateway establishes a VXLAN tunnel.

[0135] S58. The cloud gateway sends a response message indicating that the VXLAN tunnel is established to the home broadband gateway.

[0136] S59, the home broadband gateway sets the VXLAN tunnel to the WAN port;

[0137] S510, the user accesses the Internet normally;

[0138] S511, the home broadband gateway performs VXLAN encapsulation on the second traffic generated by the user's normal Internet access;

[0139] S512. The home broadband gateway sends the second traffic to the cloud gateway through the VXLAN tunnel.

[0140] S513: The cloud gateway performs VXLAN decapsulation to obtain the user service handling status, the second flow, and the service chain (at least one target service) corresponding to the second flow.

[0141] S514. The cloud gateway performs business chain processing according to the user's business handling situation.

[0142] Specifically, for each target service, if the target service does not belong to the value-added service that the user has already handled (i.e., the second traffic belongs to normal outbound traffic), S5141 is executed; if the target service belongs to the value-added service that the user has already handled (i.e., the second traffic belongs to high-value service traffic), S5142 is executed. After the second traffic is processed by the value-added service acceleration network, the third traffic is obtained, and S5143 is executed.

[0143] S5141. The cloud gateway injects the second traffic back into the BRAS.

[0144] S5142, the cloud gateway guides the second traffic to the value-added service acceleration network;

[0145] S5143. The cloud gateway performs VXLAN encapsulation on the third traffic, and sends the encapsulated traffic to the home broadband gateway through the VXLAN tunnel.

[0146] Figure 5 Specifically, it can include three stages: broadband access, VXLAN tunnel establishment, and service orchestration and scheduling.

[0147] Broadband access stage: After the user applies for broadband services, the home broadband gateway is powered on, and PPPoE or IPoE broadband dial-up access is initiated to the BRAS and broadband access authentication is completed. In this stage, the network is ensured to be reachable at the IP level, and the home broadband gateway has the network foundation to establish a VXLAN tunnel with the cloud gateway.

[0148] VXLAN tunnel establishment phase: The home broadband gateway extracts the cloud gateway identification information from the VXLAN configuration information and initiates a VXLAN tunnel establishment request to the cloud gateway corresponding to the cloud gateway identification information. The VXLAN tunnel is established between the home broadband gateway and the cloud gateway, forming a logical direct connection. Based on the established VXLAN tunnel interface, the home broadband gateway performs corresponding device configuration and directs all outbound traffic to the VXLAN tunnel interface. The cloud gateway can save the VXLAN tunnel information corresponding to the broadband user and distinguish broadband users based on the VNI.

[0149] Service orchestration and scheduling stage: After the user's normal Internet traffic is encapsulated by the home broadband gateway VXLAN and sent to the cloud gateway, the cloud gateway can perform VXLAN decapsulation on the traffic, identify the broadband user based on the VXLAN tunnel VNI identifier, query the user's service handling status, and perform service chain orchestration and scheduling on the decapsulated traffic to perform related service processing. The cloud gateway performs service chain orchestration and scheduling specifically including: injecting the normally released Internet traffic back into the BRAS, directing the traffic that needs to be accelerated to the value-added service acceleration network, encapsulating the downlink traffic to the home broadband gateway via VXLAN and sending it to the home broadband gateway, and discarding the traffic that needs to be blocked (for example, if the user has activated the green Internet service, the related pornographic, gambling and drug traffic will be discarded).

[0150] Therefore, by achieving logical direct connection between the home broadband gateway and the cloud gateway through the VXLAN tunnel, the user's broadband Internet traffic is encapsulated in VXLAN and sent to the cloud gateway. The cloud gateway relies on the sufficient computing power resources of the edge cloud to carry out value-added services based on the full traffic and perform service orchestration and scheduling, which can realize one-hop cloud services and greatly improve user experience.

[0151] For another example, the schematic diagram of cloud migration of home broadband services based on VXLAN tunnel technology can be as follows: Figure 6 As shown. Figure 6In the example, Internet can be a common network, CR can be a core router, OLT can be an optical line terminal, TOR (Top of Rack) can be a diversion device, cloud NAS can be a cloud network attached storage device, and HomeCDN can be a content delivery network device. Among them, the maximum transmission unit (Maximum Transmission Unit, MTU) of intermediate network element devices such as OLT and BRAS is usually 1500. VXLAN encapsulation of traffic can increase 50 bytes. Therefore, in order to ensure the normal transmission of traffic between the cloud gateway and the home broadband gateway, the MTU of the intermediate device can be adjusted to 1550.

[0152] Therefore, through the embodiments of the present application, it is possible to be compatible with traditional home broadband gateways and broadband access technologies, and to achieve rapid cloud migration of home broadband value-added services without increasing hardware costs, occupying additional network bandwidth, or adjusting transmission network element equipment. Through VXLAN technology, the second-layer traffic is sent to the cloud, that is, the value-added services of home broadband are moved to the cloud, which can further reduce the dependence of the service on the hardware of the home broadband gateway and significantly reduce the equipment cost. After the value-added services of home broadband are moved to the cloud, in theory, they are no longer limited by the performance limitations of the equipment hardware, and can be combined with advantageous cloud resources such as big data, artificial intelligence (AI), and graphics processing units (GPUs), providing unlimited possibilities for the development of future home broadband value-added services. In addition, even in the case of NAT in the home broadband network, the embodiments of the present application can quickly establish a VXLAN tunnel, which can be applied to all current home broadband network environments.

[0153] Based on the traffic processing method applied to the cloud gateway provided in the above embodiment, accordingly, the present application also provides a specific implementation of the cloud gateway. Please refer to the following embodiment.

[0154] like Figure 7 As shown, the cloud gateway 700 provided in the embodiment of the present application includes the following modules:

[0155] The first receiving module 710 is used to receive first traffic sent by the home broadband gateway through the VXLAN tunnel, where the first traffic is traffic obtained by performing VXLAN encapsulation on second traffic generated by the user surfing the Internet by the home broadband gateway;

[0156] The decapsulation module 720 is used to decapsulate the first traffic to obtain VXLAN identification information, service identification information and second traffic, where the VXLAN identification information corresponds to the home broadband gateway one by one;

[0157] A determination module 730 is used to determine at least one value-added service corresponding to the home broadband gateway according to the VXLAN identification information, and to determine at least one target service corresponding to the second traffic according to the service identification information;

[0158] The first sending module 740 is used to send the second traffic to the cloud server corresponding to the target service for each target service when at least one value-added service includes the target service, and the cloud server is used to process the target service.

[0159] The cloud gateway 700 is described in detail below, as follows:

[0160] In some embodiments, the cloud gateway 700 may also include:

[0161] A second receiving module is used to receive a third flow sent by the cloud server after sending the second flow to the cloud server corresponding to the target service, where the third flow is the flow obtained after the cloud server processes the target service;

[0162] A second encapsulation module is used to perform VXLAN encapsulation on the third flow to obtain a fourth flow;

[0163] The third sending module is used to send the fourth traffic to the home broadband gateway through the VXLAN tunnel.

[0164] In some embodiments, the cloud gateway 700 may also include:

[0165] The fourth sending module is used to send the second traffic to the broadband remote access server for each target service when at least one value-added service does not include the target service, and the broadband remote access server is used to process the target service.

[0166] In some embodiments, the cloud gateway 700 may also include:

[0167] A third receiving module is used to receive a VXLAN tunnel establishment request sent by the home broadband gateway before receiving the first traffic sent by the home broadband gateway through the VXLAN tunnel;

[0168] An establishing module is used to establish a VXLAN tunnel in response to a VXLAN tunnel establishment request.

[0169] In the cloud gateway of the embodiment of the present application, since the first traffic is the traffic obtained by VXLAN encapsulation of the second traffic generated by the home broadband gateway for the user's Internet access, the second traffic is obtained by receiving and decapsulating the first traffic sent by the home broadband gateway through the VXLAN tunnel, and the second traffic can be transmitted to the cloud gateway based on the VXLAN technology, and then the value-added service of the home broadband can be implemented based on the cloud gateway. By decapsulating the first traffic, VXLAN identification information and service identification information are obtained, and at least one value-added service corresponding to the home broadband gateway is determined according to the VXLAN identification information, and at least one target service corresponding to the second traffic is determined according to the service identification information, and the value-added service that has been handled by the broadband user corresponding to the home broadband gateway can be accurately determined, as well as the target service corresponding to the user's Internet access demand. By sending the second traffic to the cloud server corresponding to each target service, when at least one value-added service includes the target service, the cloud server can process the target service. Since the cloud server has super computing power, the target service can be processed by the cloud server to support the development of the value-added service of the home broadband and improve the user's experience of using the broadband.

[0170] Based on the traffic processing method applied to the home broadband gateway provided in the above embodiment, accordingly, the present application also provides a specific implementation of the home broadband gateway. Please refer to the following embodiment.

[0171] like Figure 8 As shown, the home broadband gateway 800 provided in the embodiment of the present application includes the following modules:

[0172] The first encapsulation module 810 is used to perform VXLAN encapsulation on the second traffic to obtain the first traffic when the user generates the second traffic online;

[0173] The second sending module 820 is used to send the first traffic to the cloud gateway through the VXLAN tunnel, so that the cloud gateway obtains the second traffic, at least one value-added service corresponding to the home broadband gateway, and at least one target service corresponding to the second traffic based on the first traffic, and for each target service, when at least one value-added service includes the target service, the second traffic is sent to the cloud server corresponding to the target service.

[0174] The above-mentioned home broadband gateway 800 is described in detail below, as follows:

[0175] In some embodiments, the home broadband gateway 800 may further include:

[0176] The fifth sending module is used to send a VXLAN tunnel establishment request to the cloud gateway before sending the first traffic to the cloud gateway through the VXLAN tunnel, where the VXLAN tunnel establishment request is used to request the cloud gateway to establish a VXLAN tunnel.

[0177] In some embodiments, the home broadband gateway 800 may further include:

[0178] An acquisition module is used to acquire VXLAN configuration information when powered on, where the VXLAN configuration information includes cloud gateway identification information;

[0179] Based on this, the fifth sending module may specifically include:

[0180] The first sending submodule is used to send a tunnel establishment request to the cloud gateway corresponding to the cloud gateway identification information.

[0181] In some embodiments, the acquisition module may specifically include:

[0182] The second sending submodule is used to send an access authentication request to the broadband remote access server, where the access authentication request is used to request the broadband remote access server to authenticate the broadband user corresponding to the home broadband gateway;

[0183] The receiving submodule is used to receive the VXLAN configuration information sent by the broadband remote access server when the authentication is passed.

[0184] The home broadband gateway of the embodiment of the present application performs VXLAN encapsulation on the second traffic generated by the user's Internet access to obtain the first traffic, and sends the first traffic to the cloud gateway through the VXLAN tunnel, so that the second traffic can be transmitted to the cloud gateway based on the VXLAN technology, and then the value-added services of home broadband can be implemented based on the cloud gateway. Since the cloud gateway relies on cloud resources and has super computing power, it can support the development of value-added services of home broadband and improve the user's experience of broadband.

[0185] Based on the traffic processing method provided in the above embodiment, the embodiment of the present application also provides a specific implementation of the electronic device. Fig. 9 A schematic diagram of an electronic device 900 provided in an embodiment of the present application is shown.

[0186] The electronic device 900 may include a processor 910 and a memory 920 storing computer program instructions.

[0187] Specifically, the processor 910 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0188] The memory 920 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 920 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 920 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 920 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 920 is a non-volatile solid-state memory.

[0189] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to the first aspect of the present application.

[0190] The processor 910 implements any one of the traffic processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 920 .

[0191] In one example, the electronic device 900 may further include a communication interface 930 and a bus 940. Fig. 9 As shown, the processor 910, the memory 920, and the communication interface 930 are connected via a bus 940 and communicate with each other.

[0192] The communication interface 930 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0193] Bus 940 includes hardware, software or both, and the parts of electronic equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, bus 940 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0194] Exemplarily, the electronic device 900 may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA).

[0195] The electronic device can execute the flow processing method in the embodiment of the present application, thereby realizing the combination Figures 1 to 8 Described is a traffic processing method, a cloud gateway, and a home broadband gateway.

[0196] In addition, in combination with the traffic processing method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any traffic processing method in the above embodiment is implemented.

[0197] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0198] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0199] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0200] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0201] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A traffic processing method, It is characterized in that Applied to a cloud gateway, the method includes: Receiving first traffic sent by a home broadband gateway through a virtual extended local area network (VXLAN) tunnel, where the first traffic is traffic obtained by performing VXLAN encapsulation on second traffic generated by a user surfing the Internet by the home broadband gateway; Decapsulate the first traffic to obtain VXLAN identification information, service identification information, and second traffic, wherein the VXLAN identification information corresponds one-to-one to the home broadband gateway; Determine at least one value-added service corresponding to the home broadband gateway according to the VXLAN identification information, and determine at least one target service corresponding to the second traffic according to the service identification information; For each of the target services, when the at least one value-added service includes the target service, the second traffic is sent to a cloud server corresponding to the target service, and the cloud server is used to process the target service.

2. The method according to claim 1, It is characterized in that After sending the second traffic to the cloud server corresponding to the target service, the method further includes: receiving a third flow sent by the cloud server, wherein the third flow is the flow obtained after the cloud server processes the target service; Perform VXLAN encapsulation on the third flow to obtain fourth flow; The fourth traffic is sent to the home broadband gateway through the VXLAN tunnel.

3. The method according to claim 1, It is characterized in that The method further comprises: For each of the target services, when the at least one value-added service does not include the target service, the second traffic is sent to a broadband remote access server, and the broadband remote access server is used to process the target service.

4. The method according to claim 1, It is characterized in that Before receiving the first traffic sent by the home broadband gateway through the VXLAN tunnel, the method further includes: Receiving a VXLAN tunnel establishment request sent by the home broadband gateway; In response to the VXLAN tunnel establishment request, a VXLAN tunnel is established.

5. A traffic processing method, It is characterized in that Applied to a home broadband gateway, the method comprises: When a user generates second traffic while surfing the Internet, VXLAN encapsulates the second traffic to obtain first traffic; The first traffic is sent to the cloud gateway through the VXLAN tunnel, so that the cloud gateway obtains the second traffic, at least one value-added service corresponding to the home broadband gateway, and at least one target service corresponding to the second traffic based on the first traffic, and for each of the target services, when the at least one value-added service includes the target service, the second traffic is sent to the cloud server corresponding to the target service.

6. The method according to claim 5, It is characterized in that Before sending the first traffic to the cloud gateway through the VXLAN tunnel, the method further includes: A VXLAN tunnel establishment request is sent to the cloud gateway, where the VXLAN tunnel establishment request is used to request the cloud gateway to establish a VXLAN tunnel.

7. The method according to claim 6, It is characterized in that Before sending the VXLAN tunnel establishment request to the cloud gateway, the method further includes: When powered on, obtain VXLAN configuration information, where the VXLAN configuration information includes cloud gateway identification information; The sending a VXLAN tunnel establishment request to the cloud gateway includes: Send a tunnel establishment request to the cloud gateway corresponding to the cloud gateway identification information.

8. The method according to claim 7, It is characterized in that The obtaining of VXLAN configuration information includes: Sending an access authentication request to a broadband remote access server, wherein the access authentication request is used to request the broadband remote access server to authenticate a broadband user corresponding to the home broadband gateway; Receive VXLAN configuration information sent by the broadband remote access server when authentication is passed.

9. A cloud gateway, It is characterized in that The cloud gateway comprises: A first receiving module is used to receive first traffic sent by a home broadband gateway through a VXLAN tunnel, where the first traffic is traffic obtained by performing VXLAN encapsulation on second traffic generated by a user surfing the Internet by the home broadband gateway; a decapsulation module, configured to decapsulate the first traffic to obtain VXLAN identification information, service identification information, and second traffic, wherein the VXLAN identification information corresponds one-to-one to the home broadband gateway; a determination module, configured to determine at least one value-added service corresponding to the home broadband gateway according to the VXLAN identification information, and to determine at least one target service corresponding to the second traffic according to the service identification information; The first sending module is used to send the second traffic to the cloud server corresponding to the target service for each of the target services when the at least one value-added service includes the target service, and the cloud server is used to process the target service.

10. A home broadband gateway, It is characterized in that The home broadband gateway comprises: A first encapsulation module is used to perform VXLAN encapsulation on the second traffic to obtain the first traffic when the user generates the second traffic online; The second sending module is used to send the first traffic to the cloud gateway through the VXLAN tunnel, so that the cloud gateway obtains the second traffic, at least one value-added service corresponding to the home broadband gateway, and at least one target service corresponding to the second traffic based on the first traffic, and for each target service, when the at least one value-added service includes the target service, the second traffic is sent to the cloud server corresponding to the target service.

11. An electronic device, It is characterized in that The electronic device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the traffic processing method as described in any one of claims 1-4 or 5-8 is implemented.

12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the traffic processing method according to any one of claims 1-4 or 5-8 is implemented.