CN114666841A - Flow-free method and flow-free system for directional flow - Google Patents
Flow-free method and flow-free system for directional flow Download PDFInfo
- Publication number
- CN114666841A CN114666841A CN202011531049.1A CN202011531049A CN114666841A CN 114666841 A CN114666841 A CN 114666841A CN 202011531049 A CN202011531049 A CN 202011531049A CN 114666841 A CN114666841 A CN 114666841A
- Authority
- CN
- China
- Prior art keywords
- free
- user client
- cdn
- flow
- scheduling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000004044 response Effects 0.000 claims abstract description 22
- 230000015654 memory Effects 0.000 claims description 34
- 238000012546 transfer Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 7
- 239000000047 product Substances 0.000 description 20
- 238000004891 communication Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 9
- 238000004590 computer program Methods 0.000 description 6
- 238000007726 management method Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000037361 pathway Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000008685 targeting Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种定向流量的免流方法及免流系统。The present application relates to the field of communication technologies, and in particular, to a flow-free method and flow-free system for directional traffic.
背景技术Background technique
随着移动互联网的发展和4G(4generation,4G)网络的普及,越来越多的人们得以随时随地接入高速无线宽带网络,享受移动数字技术带来的便利。With the development of the mobile Internet and the popularization of 4G (4 generation, 4G) networks, more and more people can access high-speed wireless broadband networks anytime, anywhere, and enjoy the convenience brought by mobile digital technology.
目前,定向流量的免流业务比较常见,定向流量的免流业务是指针对指定的定向流量在满足业务使用的规定和限额情况下不进行计费的业务。现有技术中,可以用CDN技术来实现定向流量运营。Currently, traffic-free services for directional traffic are relatively common. Traffic-free services for directional traffic refer to services that do not charge for the specified directional traffic when the service usage regulations and limits are met. In the prior art, the CDN technology can be used to implement directional traffic operations.
然而,在网络里面,同样的流量对用户来说,有的是免流流量,有的是非免流流量,服务器需要部署免流CDN节点和非免流CDN节点,这样就需要更多的节点资源来实现免流服务或者非免流服务。However, in the network, for the same traffic to users, some are free-flow traffic and some are non-flow-free traffic. The server needs to deploy free-flow CDN nodes and non-flow-free CDN nodes, which requires more node resources to achieve free-flow. Streaming service or non-streaming service.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种定向流量的免流方法及免流系统,使得CDN网络中不用额外区分免流CDN节点和非免流CDN节点以及不用额外提供免流服务端和非免流服务端,就能为用户客户端提供免流定向流量,从而可以节省网络资源。The embodiments of the present application provide a flow-free method and flow-free system for directional traffic, so that the CDN network does not need to additionally distinguish between flow-free CDN nodes and non-flow-free CDN nodes, and does not need to additionally provide flow-free servers and non-flow-free servers. It can provide flow-free directional traffic for user clients, thereby saving network resources.
第一方面,本申请提供一种定向流量的免流方法,该方法包括:CDN调度中心接收用户客户端发送的播放调度请求消息,所述播放调度请求消息中携带第一指示信息,所述第一指示信息用于指示所述用户客户端请求目标免费定向流量;所述CDN调度中心根据所述播放调度请求消息向所述用户客户端发送调度请求响应消息,所述调度请求响应消息中携带目标免流IP地址;所述用户客户端发送播放请求消息,所述播放请求消息中携带所述目标免流IP地址;接收到所述播放请求消息的目标CDN节点从所述目标免流IP地址对应的服务端获取所述免费定向流量;所述目标CDN节点向所述用户客户端发送所述免费定向流量。In a first aspect, the present application provides a flow-free method for directional traffic. The method includes: a CDN scheduling center receives a playback scheduling request message sent by a user client, wherein the playback scheduling request message carries first indication information, and the first An indication message is used to instruct the user client to request free directional traffic of the target; the CDN scheduling center sends a scheduling request response message to the user client according to the playback scheduling request message, and the scheduling request response message carries the target Stream-free IP address; the user client sends a playback request message, and the playback request message carries the target stream-free IP address; the target CDN node that receives the playback request message corresponds to the target stream-free IP address The server obtains the free directional traffic; the target CDN node sends the free directional traffic to the user client.
本方法中,因为给提供定向流量的服务端配置了免流IP地址,且调度中心给用户客户端返回的是能够提供用户请求的定向流量的服务端的免流IP地址,所以用户客户端向CDN节点请求免流定向流量时,可以告知CDN节点该免流IP地址,使得CDN节点可以从服务端的该免流IP地址处获取免流定向流量。本实施例的方法可以使得CDN网络中不用额外区分免流CDN节点和非免流CDN节点以及不用额外提供免流服务端和非免流服务端,就能为用户客户端提供免流定向流量,从而可以节省网络资源。In this method, because the flow-free IP address is configured for the server that provides directional traffic, and the dispatch center returns the flow-free IP address of the server that can provide the directional traffic requested by the user to the user client, the user client sends the CDN When a node requests flow-free directional traffic, it can inform the CDN node of the flow-free IP address, so that the CDN node can obtain flow-free directional traffic from the flow-free IP address of the server. The method of the present embodiment can make it possible to provide flow-free directional traffic for user clients without additionally distinguishing flow-free CDN nodes and non-flow-free CDN nodes and without additionally providing flow-free servers and non-flow-free servers in the CDN network. Thereby, network resources can be saved.
结合第一方面,在第一种可能的实现方式中,所述CDN调度中心根据所述播放调度请求消息向所述用户客户端发送调度请求响应消息之前,所述方法还包括:所述CDN调度中心对所述用户客户端与所述免费定向流量进行订购关系鉴权;所述CDN调度中心对所述用户客户端和所述免费定向流量进行流量限额鉴权。With reference to the first aspect, in a first possible implementation manner, before the CDN scheduling center sends a scheduling request response message to the user client according to the playback scheduling request message, the method further includes: the CDN scheduling The center performs subscription relationship authentication between the user client and the free directional traffic; the CDN dispatch center performs traffic limit authentication on the user client and the free directional traffic.
结合第一种可能的实现方式,在第二种可能的实现方式中,所述播放调度请求消息中还携带所述用户客户端的手机号码;相应地,所述CDN调度中心根据所述播放调度请求消息向所述用户客户端发送调度请求响应消息,包括:所述CDN调度中心根据所述手机号码确定所述用户客户端归属地;所述CDN调度中心将所述归属地中能够提供所述免流定向服务的目标服务端的免流IP地址确定为所述目标免流IP地址。In combination with the first possible implementation manner, in the second possible implementation manner, the playback scheduling request message also carries the mobile phone number of the user client; correspondingly, the CDN scheduling center according to the playback scheduling request The message sends a scheduling request response message to the user client, including: the CDN scheduling center determines the attribution of the user client according to the mobile phone number; The flow-free IP address of the target server of the flow-directed service is determined as the target flow-free IP address.
结合第二种可能的实现方式,在第三种可能的实现方式中,所述播放调度请求消息是基于超文本传输协议(hyper text transfer protocol,HTTP)应用层调度接口生成的,所述HTTP应用层调度接口的参数包括:用户客户端的手机号码、用户客户端的IP地址、服务配置文件(service profile,SP)标识、用户客户端请求的产品的标识、用户客户端请求的产品的统一资源定位系统(uniform resource locator,URL)、时间戳、用户客户端请求的产品的密钥和用户客户端请求的产品的加密校验码。With reference to the second possible implementation manner, in a third possible implementation manner, the playback scheduling request message is generated based on a hypertext transfer protocol (hyper text transfer protocol, HTTP) application layer scheduling interface, and the HTTP application The parameters of the layer scheduling interface include: the mobile phone number of the user client, the IP address of the user client, the service profile (SP) identifier, the identifier of the product requested by the user client, and the uniform resource location system of the product requested by the user client. (uniform resource locator, URL), timestamp, key of the product requested by the user client, and encryption check code of the product requested by the user client.
第二方面,本申请提供一种定向流量的免流系统,该系统包括:CDN调度中心,用于接收用户客户端发送的播放调度请求消息,所述播放调度请求消息中携带第一指示信息,所述第一指示信息用于指示所述用户客户端请求目标免费定向流量;所述CDN调度中心还用于根据所述播放调度请求消息向所述用户客户端发送调度请求响应消息,所述调度请求响应消息中携带目标免流IP地址;所述用户客户端用于发送播放请求消息,所述播放请求消息中携带所述目标免流IP地址;接收到所述播放请求消息的目标CDN节点用于从所述目标免流IP地址对应的服务端获取所述免费定向流量;所述目标CDN节点还用于向所述用户客户端发送所述免费定向流量。In a second aspect, the present application provides a flow-free system for directional traffic, the system includes: a CDN scheduling center, configured to receive a playback scheduling request message sent by a user client, where the playback scheduling request message carries first indication information, The first indication information is used to instruct the user client to request target free directional traffic; the CDN scheduling center is further configured to send a scheduling request response message to the user client according to the playback scheduling request message, and the scheduling The request response message carries the target streaming-free IP address; the user client is used to send a playback request message, and the playback request message carries the target streaming-free IP address; the target CDN node that receives the playback request message uses the obtaining the free directional traffic from the server corresponding to the target traffic-free IP address; the target CDN node is further configured to send the free directional traffic to the user client.
结合第二方面,在第一种可能的实现方式中,所述CDN调度中心根据所述播放调度请求消息向所述用户客户端发送调度请求响应消息之前,所述系统还用于:所述CDN调度中心还用于对所述用户客户端与所述免费定向流量进行订购关系鉴权;所述CDN调度中心还用于对所述用户客户端和所述免费定向流量进行流量限额鉴权。With reference to the second aspect, in a first possible implementation manner, before the CDN scheduling center sends a scheduling request response message to the user client according to the playback scheduling request message, the system is further configured to: the CDN The dispatch center is further configured to authenticate the subscription relationship between the user client and the free directed traffic; the CDN dispatch center is further configured to perform traffic limit authentication on the user client and the free directed traffic.
结合第一种可能的实现方式,在第二种可能的实现方式中,所述播放调度请求消息中还携带所述用户客户端的手机号码;相应地,所述CDN调度中心具体用于:根据所述手机号码确定所述用户客户端归属地;将所述归属地中能够提供所述免流定向服务的目标服务端的免流IP地址确定为所述目标免流IP地址。In combination with the first possible implementation manner, in the second possible implementation manner, the play scheduling request message also carries the mobile phone number of the user client; accordingly, the CDN scheduling center is specifically used to: The mobile phone number is used to determine the home location of the user client;
结合第二种可能的实现方式,在第三种可能的实现方式中,所述播放调度请求消息是基于HTTP应用层调度接口生成的,所述HTTP应用层调度接口的参数包括:用户客户端的手机号码、用户客户端的IP地址、SP标识、用户客户端请求的产品的标识、用户客户端请求的产品的URL、时间戳、用户客户端请求的产品的密钥和用户客户端请求的产品的加密校验码。In combination with the second possible implementation manner, in the third possible implementation manner, the playback scheduling request message is generated based on the HTTP application layer scheduling interface, and the parameters of the HTTP application layer scheduling interface include: the mobile phone of the user client Number, IP address of the user client, SP identification, identification of the product requested by the user client, URL of the product requested by the user client, timestamp, key of the product requested by the user client, and encryption of the product requested by the user client Check code.
第三方面,本申请提供一种定向流量的免流系统,包括:多个存储器和多个处理器;所述存储器用于存储程序指令;所述处理器用于调用所述存储器中的程序指令执行如第一方面或其中任意一种可能的实现方式所述的方法。In a third aspect, the present application provides a flow-free system for directional traffic, comprising: a plurality of memories and a plurality of processors; the memories are used for storing program instructions; the processors are used for calling the program instructions in the memory to execute The method according to the first aspect or any one of the possible implementations.
该系统为计算设备时,在一些实现方式中,该系统还可以包括收发器或通信接口,用于与其他设备通信。When the system is a computing device, in some implementations, the system may also include a transceiver or communication interface for communicating with other devices.
该系统为用于计算设备的芯片时,在一些实现方式中,该系统还可以包括通信接口,用于与计算设备中的其他装置通信,例如用于与计算设备的收发器进行通信。When the system is a chip for a computing device, in some implementations, the system may further include a communication interface for communicating with other devices in the computing device, for example, for communicating with a transceiver of the computing device.
第四方面,本申请提供一种计算机可读介质,所述计算机可读介质存储用于计算机执行的程序代码,该程序代码包括用于执行如第一方面或其中任意一种可能的实现方式所述的方法的指令。In a fourth aspect, the present application provides a computer-readable medium, where the computer-readable medium stores a program code for computer execution, the program code comprising a computer-readable medium for executing the method described in the first aspect or any one of the possible implementations. instructions for the method described.
第五方面,本申请提供一种包含指令的计算机程序产品,当该计算机程序产品在处理器上运行时,使得该处理器实现第一方面或其中任意一种实现方式中的方法。In a fifth aspect, the present application provides a computer program product comprising instructions, which, when the computer program product runs on a processor, causes the processor to implement the method of the first aspect or any one of the implementation manners.
附图说明Description of drawings
图1为本申请一个实施例的定向流量的免流方法流程图;1 is a flowchart of a flow-free method for directional traffic according to an embodiment of the present application;
图2为本申请一个实施例的业务鉴权流程图;FIG. 2 is a flowchart of service authentication according to an embodiment of the application;
图3为本申请一个实施例的号段调度策略流程图;3 is a flowchart of a number segment scheduling strategy according to an embodiment of the application;
图4为本申请一个实施例的用户流量采集和入库的整体流程图;4 is an overall flow chart of user traffic collection and storage according to an embodiment of the application;
图5为本申请一个实施例的定向流量的免流装置的结构示意图。FIG. 5 is a schematic structural diagram of a flow-free device for directional flow according to an embodiment of the present application.
具体实施方式Detailed ways
为于理解,首先对本申请所涉及到的相关术语进行说明。For the sake of understanding, the related terms involved in this application will be explained first.
1、定向流量1. Directed traffic
定向流量是指仅在指定手机应用和内容使用中产生的手机移动通信流量,运营商可通过识别服务端IP来区分定向流量进而采用不同的计费策略。定向流量可以是运营商自有业务,也可以使第三方合作的业务,所对应的服务端有海量的IP,无法全部将服务端IP配置到运营商的移动通信网络中。Directed traffic refers to the mobile communication traffic generated only in the use of designated mobile applications and content. Operators can distinguish the directed traffic by identifying the server IP and adopt different billing strategies. Directed traffic can be an operator's own business or a third-party cooperative business. The corresponding server has a large number of IPs, and it is impossible to configure all the server IPs in the operator's mobile communication network.
2、CDN2. CDN
CDN是在现有Internet中增加一层新的网络架构,由遍布全国的高性能加速节点构成。这些高性能的服务节点都会按照一定的缓存策略存储业务内容,当用户向某一业务内容发起请求时,请求会被调度至最接近用户的服务节点,直接由服务节点直接快速响应,有效降低用户访问延迟,提升可用性。CDN is a new network architecture added to the existing Internet, which is composed of high-performance acceleration nodes all over the country. These high-performance service nodes will store service content according to a certain caching strategy. When a user initiates a request for a certain service content, the request will be dispatched to the service node closest to the user, and the service node will respond directly and quickly, effectively reducing user costs. Access delay and improve availability.
CDN的基本原理是广泛采用各种缓存服务器,将这些缓存服务器分布到用户访问相对集中的地区或网络中,在用户访问网站时,利用全局负载技术将用户的访问指向距离最近的工作正常的缓存服务器上,由缓存服务器直接响应用户请求。CDN具有以下主要功能:(1)节省骨干网带宽,减少带宽需求量;(2)提供服务器端加速,解决由于用户访问量大造成的服务器过载问题;(3)服务商能使用Web Cache技术在本地缓存用户访问过的Web页面和对象,实现相同对象的访问无须占用主干的出口带宽,并提高用户访问因特网页面的相应时间的需求;(4)能克服网站分布不均的问题,并且能降低网站自身建设和维护成本;(5)降低“通信风暴”的影响,提高网络访问的稳定性。The basic principle of CDN is to widely use various cache servers, and distribute these cache servers to regions or networks where user access is relatively concentrated. When users visit a website, the global load technology is used to direct the user's access to the nearest working normal cache. On the server, the cache server directly responds to user requests. CDN has the following main functions: (1) Save backbone network bandwidth and reduce bandwidth requirements; (2) Provide server-side acceleration to solve the problem of server overload caused by large user visits; (3) Service providers can use Web Cache technology to The Web pages and objects visited by users are cached locally, so that the access to the same objects does not need to occupy the egress bandwidth of the backbone, and increases the demand for the corresponding time for users to access Internet pages; (4) It can overcome the problem of uneven distribution of websites, and can reduce Website construction and maintenance costs; (5) Reduce the impact of "communication storms" and improve the stability of network access.
3、域名系统(domain name system,DNS)3. Domain Name System (DNS)
DNS是互联网的一项服务。它作为将域名和IP地址相互映射的一个分布式数据库,能够使人更方便地访问互联网。DNS是Internet上解决网上机器命名的一种系统。就像拜访朋友要先知道别人家怎么走一样,Internet上当一台主机要访问另外一台主机时,必须首先获知其地址,TCP/IP中的IP地址是由四段以“.”分开的数字组成(此处以IPv4的地址为例,IPv6的地址同理),记起来总是不如名字那么方便,所以,就采用了域名系统来管理名字和IP的对应关系。DNS is a service of the Internet. It acts as a distributed database that maps domain names and IP addresses to each other, making it easier for people to access the Internet. DNS is a system on the Internet that resolves the naming of machines on the Internet. Just like visiting a friend, you must first know how to get there. When a host wants to visit another host on the Internet, it must first know its address. The IP address in TCP/IP is a number separated by four segments with "." The composition (here, the IPv4 address is used as an example, and the IPv6 address is the same), it is always not as convenient as the name to remember. Therefore, the domain name system is used to manage the corresponding relationship between the name and the IP.
4、HTTP4. HTTP
HTTP是一个简单的请求响应协议,它通常运行在传输控制协议(transmissioncontrol protocol,TCP)之上。它指定了客户端可能发送给服务器什么样的消息以及得到什么样的响应。请求和响应消息的头以ASCII码形式给出;而消息内容则具有一个类似MIME的格式。这个简单模型是早期Web成功的有功之臣,因为它使开发和部署非常地直截了当。HTTP is a simple request-response protocol that usually runs on top of Transmission Control Protocol (TCP). It specifies what kind of messages the client might send to the server and what kind of response it gets. The headers of the request and response messages are given in ASCII; the message content has a MIME-like format. This simple model was instrumental in the early success of the Web because it made development and deployment very straightforward.
HTTP是一种无状态协议,即服务器不保留与客户交易时的任何状态。这就大大减轻了服务器记忆负担,从而保持较快的响应速度。HTTP是一种面向对象的协议,允许传送任意类型的数据对象,它通过数据类型和长度来标识所传送的数据内容和大小,并允许对数据进行压缩传送。当用户在一个HTML文档中定义了一个超文本链后,浏览器将通过传输控制协议/互联协议(transmission control protocol/internet protocol,TCP/IP)协议与指定的服务器建立连接。HTTP is a stateless protocol, i.e. the server does not keep any state of the transaction with the client. This greatly reduces the memory burden of the server, thereby maintaining a faster response speed. HTTP is an object-oriented protocol that allows the transmission of any type of data object. It identifies the content and size of the transmitted data by data type and length, and allows data to be compressed and transmitted. After a user defines a hypertext link in an HTML document, the browser will establish a connection with the designated server through the transmission control protocol/internet protocol (TCP/IP) protocol.
目前,现有CDN技术主要采用DNS调度机制。在DNS调度机制下,客户端通过域名解析将请求发送到CDN边缘节点,调度过程在应用层之下的TCP/IP协议栈域名解析部分完成,无法实现应用层的业务鉴权逻辑。而且现有CDN调度的粒度是节点,为用户分配一个服务节点,节点内的服务器采用负载均衡自动分配。但是在免流场景下,由于免流是依赖指定的IP,按照现有调度颗粒需要在同一区域部署免流节点和非免流节点,这样不利于设备的复用,也带来对服务器、机架等资源的浪费。At present, the existing CDN technology mainly adopts the DNS scheduling mechanism. Under the DNS scheduling mechanism, the client sends the request to the CDN edge node through domain name resolution. The scheduling process is completed in the domain name resolution part of the TCP/IP protocol stack under the application layer, and the business authentication logic of the application layer cannot be implemented. In addition, the granularity of the existing CDN scheduling is nodes, and a service node is allocated to the user, and the servers in the node are automatically allocated by load balancing. However, in the flow-free scenario, since the flow-free depends on the specified IP, according to the existing scheduling granularity, it is necessary to deploy the flow-free node and the non-flow-free node in the same area, which is not conducive to the reuse of equipment, and also brings about the impact on the server, machine waste of resources such as racks.
针对上述不足,本申请提供了一种定向流量的免流方法,在HTTP调度的基础上,在接口中发送用户ID、业务ID等业务相关参数供服务端做相应业务鉴权,并确保参数不可篡改和仿冒;调度的粒度需要实现到IP级,这样同一台服务器可配置多个IP,包含免流IP和非免流IP,既可以服务于普通非免流场景,也可以服务于免流场景,实现对服务器和IP资源的有效利用。In view of the above shortcomings, the present application provides a flow-free method for directional traffic. On the basis of HTTP scheduling, service-related parameters such as user ID and service ID are sent in the interface for the server to perform corresponding service authentication, and ensure that the parameters cannot be used. Tampering and counterfeiting; the granularity of scheduling needs to be implemented to the IP level, so that the same server can be configured with multiple IPs, including flow-free IP and non-flow-free IP, which can serve both common non-flow-free scenarios and flow-free scenarios. , to achieve effective use of server and IP resources.
下面将结合附图对本申请实施例的实施方式进行详细描述。The implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
图1为本申请一个实施例的定向流量的免流方法流程图。如图1所示,该方法可以包括S101、S102、S103、S104和S105。FIG. 1 is a flowchart of a flow-free method for directional traffic according to an embodiment of the present application. As shown in FIG. 1, the method may include S101, S102, S103, S104 and S105.
S101、内容分发网络CDN调度中心接收用户客户端发送的播放调度请求消息,所述播放调度请求消息中携带第一指示信息,所述第一指示信息用于指示所述用户客户端请求目标免费定向流量。S101. The CDN scheduling center of the content distribution network receives a playback scheduling request message sent by a user client, where the playback scheduling request message carries first indication information, where the first indication information is used to instruct the user client to request free targeting of a target flow.
例如,当APP端在订购免流业务且在移网环境下播放视频时,可以向CDN调度中心发起播放调度请求,该播放调度请求中可以携带订购手机号码、产品ID、回源信息、防盗链信息和请求的免费定量流量的类型等信息。For example, when an APP is ordering a streaming-free service and playing a video in a mobile network environment, it can initiate a playback scheduling request to the CDN scheduling center. The playback scheduling request can carry the ordering mobile phone number, product ID, back-to-source information, and anti-leech. information and the type of free quantitative traffic requested.
CDN调度中心中可以预先存储IP地址与免费定向流量之间的映射关系。The mapping relationship between IP addresses and free directed traffic can be pre-stored in the CDN dispatch center.
在一些实现方式中,播放调度请求消息可以采用HTTP应用层调度接口来实现。In some implementations, the playback scheduling request message may be implemented by using an HTTP application layer scheduling interface.
调度接口的一种示例如下:An example of a dispatch interface is as follows:
http://host:port/gslb?userid=xxxx&userip=xxxxspid=xxxx&pid=xxxx&srcU RL=x&tm=xxx&spkey=xxxhttp://host:port/gslb? userid=xxxx&userip=xxxxspid=xxxx&pid=xxxx&srcURL=x&tm=xxx&spkey=xxx
其中,in,
spkey=MD5(http://host:port/gslb?userid=xxxx&userip=xxxxspid=xxxx&pid=xxxx&srcURL=x&tm=xxx&key)spkey=MD5(http://host:port/gslb?userid=xxxx&userip=xxxxspid=xxxx&pid=xxxx&srcURL=x&tm=xxx&key)
host:port为调度接口的地址,接口参数如下:host:port is the address of the scheduling interface. The interface parameters are as follows:
表1Table 1
响应:采用json格式返回,正常报文包含以下参数:Response: It is returned in json format, and the normal message contains the following parameters:
表2Table 2
S102、CDN调度中心根据所述播放调度请求消息向所述用户客户端发送调度请求响应消息,所述调度请求响应消息中携带目标免流IP地址。S102. The CDN scheduling center sends a scheduling request response message to the user client according to the playback scheduling request message, where the scheduling request response message carries the target stream-free IP address.
S103、用户客户端发送播放请求消息,所述播放请求消息中携带所述目标免流IP地址。S103. The user client sends a play request message, where the play request message carries the target streaming-free IP address.
S104、接收到所述播放请求消息的目标CDN节点从所述目标免流IP地址对应的服务端获取所述免费定向流量。S104. The target CDN node that receives the play request message obtains the free directional traffic from the server corresponding to the target free streaming IP address.
S105、所述目标CDN节点向所述用户客户端发送所述免费定向流量。S105. The target CDN node sends the free directed traffic to the user client.
本实施例中,该目标免流IP地址对应的服务端上也可以同时配置有非免流IP地址,提供非免流定向流量服务。In this embodiment, the server corresponding to the target flow-free IP address may also be configured with a non-flow-free IP address at the same time, so as to provide a non-flow-free directional traffic service.
CDN使用免流IP地址返回用户请求的内容。整体使用定向流量播放视频的流程结束,由于免流IP地址已经在省份GGSN(gateway GPRS support node,GGSN)上做了配置,用户成功使用免费的定向流量播放视频。The CDN uses the streaming-free IP address to return the content requested by the user. The whole process of using directional traffic to play videos is over. Since the streaming-free IP address has been configured on the provincial GGSN (gateway GPRS support node, GGSN), the user successfully uses the free directional traffic to play videos.
本实施例的方法中,因为给提供定向流量的服务端配置了免流IP地址,且调度中心给用户客户端返回的是能够提供用户请求的定向流量的服务端的免流IP地址,所以用户客户端向CDN节点请求免流定向流量时,可以告知CDN节点该免流IP地址,使得CDN节点可以从服务端的该免流IP地址处获取免流定向流量。本实施例的方法可以使得CDN网络中不用额外区分免流CDN节点和非免流CDN节点以及不用额外提供免流服务端和非免流服务端,就能为用户客户端提供免流定向流量,从而可以节省网络资源。In the method of this embodiment, since a flow-free IP address is configured for the server that provides directional traffic, and the dispatch center returns the flow-free IP address of the server that can provide the directional traffic requested by the user to the user client, the user client When the client requests flow-free directional traffic from the CDN node, it can inform the CDN node of the flow-free IP address, so that the CDN node can obtain the flow-free directional traffic from the flow-free IP address of the server. The method of the present embodiment can make it possible to provide flow-free directional traffic for user clients without additionally distinguishing flow-free CDN nodes and non-flow-free CDN nodes and without additionally providing flow-free servers and non-flow-free servers in the CDN network. Thereby, network resources can be saved.
本实施例的一些实现方式中,调度中心可以对用户客户端进行订购关系鉴权和业务鉴权。In some implementations of this embodiment, the dispatch center may perform subscription relationship authentication and service authentication on the user client.
图2为本申请一个实施例的业务鉴权流程图。如图2所示,业务鉴权的整体流程包括用户的订购、退订发生后计费系统和CDN系统的订购关系同步,用户流量详单的采集与定向流量可用额度扣减,以及在用户在请求使用定向流量时的鉴权。CDN端设立REDIS数据库,实时更新订购关系的管更和维护定向流量的可用额度。FIG. 2 is a flowchart of service authentication according to an embodiment of the present application. As shown in Figure 2, the overall process of service authentication includes user subscription, synchronization of subscription relationship between billing system and CDN system after unsubscription occurs, collection of user traffic details and deduction of available quota for directional traffic, and Authentication when requesting directed traffic. A REDIS database is set up on the CDN side to update the management of the subscription relationship in real time and maintain the available quota of directional traffic.
S201、订购关系同步。S201, order relationship synchronization.
计费侧接收各个渠道的用户订购和退订消息,并将订购和退订同步至CDN的订购关系同步接口。The billing side receives user subscription and cancellation messages from various channels, and synchronizes subscription and cancellation to the subscription relationship synchronization interface of the CDN.
S202、订购关系更新至Redis数据库。S202, the subscription relationship is updated to the Redis database.
同步接口实时更新Redis数据库,维护合法的订购关系。The synchronization interface updates the Redis database in real time and maintains legal ordering relationships.
S203、采集用户流量详单后完成用户可用流量的扣减。S203, after collecting the detailed list of user traffic, the deduction of the available traffic of the user is completed.
流量采集和扣减模块实时采集用户流量详单,并进行相应产品定向流量可用额度的扣减。The traffic collection and deduction module collects user traffic details in real time, and deducts the available quota of directional traffic for corresponding products.
S204、CDN调度中心在收到用户客户端播放调度请求时查询相应订购关系和流量是否超额。S204 , the CDN scheduling center inquires whether the corresponding subscription relationship and traffic are excessive when receiving the playback scheduling request from the user client.
CDN调度中心在收到用户客户端的定向流量播放调度请求时,查询Redis数据库进行订购关系的鉴权和流量可用额度的鉴权。如果没有合法的订购关系或者流量使用超额,调度中心返回相应的错误代码给客户端APP。When the CDN scheduling center receives the directional traffic playback scheduling request from the user client, it queries the Redis database to authenticate the subscription relationship and the available traffic quota. If there is no legal subscription relationship or the traffic usage is excessive, the dispatch center returns the corresponding error code to the client APP.
本实施例的一些实现方式中,可选地,播放调度请求消息中携带用户的手机号码时,调度中心可以基于该手机号码为用户客户端确定免流IP地址。调度中心基于手机号码为用户客户端确定免流IP地址的一种示例如图3所示。In some implementations of this embodiment, optionally, when the mobile phone number of the user is carried in the playback scheduling request message, the scheduling center may determine a streaming-free IP address for the user client based on the mobile phone number. An example in which the dispatch center determines the flow-free IP address for the user client based on the mobile phone number is shown in FIG. 3 .
图3为本申请一个实施例的号段调度策略流程图。在调度过程中,调度中心可以提取到用户的手机号码,基于运营商对于手机号码库的管理,可以实现基于手机号段的调度,作为IP地址调度的补充方式,或者和IP地址调度方式结合实现更精准的调度。FIG. 3 is a flowchart of a number segment scheduling strategy according to an embodiment of the present application. In the scheduling process, the dispatch center can extract the user's mobile phone number, and based on the operator's management of the mobile phone number database, the mobile phone number segment-based scheduling can be implemented as a supplement to IP address scheduling, or combined with IP address scheduling. More precise scheduling.
S301、在管理后台配置区域对应的CDN节点。S301. Configure a CDN node corresponding to an area in the management background.
CDN管理后台为不同地理区域分配CDN服务节点。The CDN management background allocates CDN service nodes for different geographical areas.
S302、收到播放调度请求后根据手机号段查询到区域。S302, after receiving the playback scheduling request, query the area according to the mobile phone number segment.
CDN调度中心在收到播放调度请求后,提取请求中的手机号码,与号段库进行匹配以定位用户区域。After receiving the playback scheduling request, the CDN scheduling center extracts the mobile phone number in the request and matches it with the number segment library to locate the user area.
S303、从区域调度表中根据区域查询CDN服务节点。S303: Query the CDN service node according to the area from the area schedule table.
从手机号定位区域后,根据区域调度表进行服务节点匹配,为请求分配对应区域的服务节点。After locating the area from the mobile phone number, the service node matching is performed according to the area schedule, and the service node in the corresponding area is allocated for the request.
在定向流量场景中,在GGSN配置的免流识别参数是IP地址。但是,当前CDN在调度上一般只细化到节点级,在节点使用负载均衡策略再分配到某一台物理服务器上,同一台服务器又一般会配置多个IP(存在某些IP免流,某些IP不免流的情况),这样就会导致调度到非免流IP上从而带来错误的流量计费。因此,在本场景下,CDN的调度必须细化到IP级别,确保定向流量的请求调度到免流IP上。具体的实现机制如下:In the directional traffic scenario, the flow-free identification parameter configured on the GGSN is the IP address. However, the current CDN scheduling is generally only refined to the node level, and the nodes are redistributed to a certain physical server using a load balancing strategy, and the same server is generally configured with multiple IPs (there are some IP free flow, some Some IPs cannot avoid flow), which will lead to scheduling to non-flow-free IPs, resulting in wrong traffic billing. Therefore, in this scenario, CDN scheduling must be refined to the IP level to ensure that requests for directional traffic are scheduled to flow-free IPs. The specific implementation mechanism is as follows:
1)CDN后台对于资源的管理,使用了节点到服务器到网卡到IP的数据结构,即一个节点可包含多个服务器,一个服务器可包含多个网卡,一个网卡可包含多个IP。1) For resource management in the CDN background, the data structure from node to server to network card to IP is used, that is, a node can contain multiple servers, a server can contain multiple network cards, and a network card can contain multiple IPs.
2)每个IP地址标识是否为免流IP;2) Whether each IP address is identified as a flow-free IP;
3)对于免流业务为用户分配免流的IP进行服务,对于非免流的业务为用户分配非免流的IP进行服务。3) For the flow-free service, the user is allocated a flow-free IP for service, and for the non-flow-free service, the user is allocated a non-flow-free IP for service.
这样,每一台服务器配置了多个IP,既可以用于定向流量业务,也可以普通CDN服务,提升了服务器的复用效率,节省了服务器资源。In this way, each server is configured with multiple IPs, which can be used for directional traffic services or ordinary CDN services, which improves the multiplexing efficiency of the server and saves server resources.
本实施例的流量限额鉴权的一种示例如图4所示。图4为本申请一个实施例的用户流量采集和入库的整体流程图。针对不同的产品,CDN会基于产品的定义为产品设置流量限额,例如产品A的流量限额为10G,超出10G的部分在接入调度流程中会返回相应错误信息,客户端可根据返回参数提示用户“当前已超出流量限额,将使用通用流量进行播放”。An example of traffic limit authentication in this embodiment is shown in FIG. 4 . FIG. 4 is an overall flowchart of user traffic collection and storage according to an embodiment of the present application. For different products, CDN will set the traffic limit for the product based on the product definition. For example, the traffic limit of product A is 10G, and the part exceeding 10G will return a corresponding error message in the access scheduling process, and the client can prompt the user according to the returned parameters. "The current data limit has been exceeded, and will use general data to play".
CDN边缘服务器服务用户的定向流量请求,为每一次相关的HTTP请求生成一条日志信息。日志信息中包含:日志产生时间、用户请求时间、服务时长、下载字节数、服务配置文件标识符(service profile identifier,SPID)、产品身份标识号(identity document,ID)等信息。每一分钟切割一次日志,进入日志备份目录。The CDN edge server serves the user's directed traffic requests and generates a log message for each relevant HTTP request. The log information includes: log generation time, user request time, service duration, downloaded bytes, service profile identifier (SPID), product identity document (ID) and other information. The log is cut every minute and entered into the log backup directory.
S401、定时流量汇总,生成用户流量详单。S401 , summarizing the regular traffic, and generating a detailed list of user traffic.
流量采集模块扫描日志备份目录,对于新产生的日志文件进行处理,按照用户ID(手机号)、SPID、产品ID为汇总依据对日志进行汇总,形成用户流量详单,该用户流量详单包括如下字段:时间、用户手机号、SPID、产品ID、流量、服务器IP,详单生成后统一上传至中心服务器详单目录。The traffic collection module scans the log backup directory, processes the newly generated log files, and summarizes the logs according to the user ID (mobile phone number), SPID, and product ID as the aggregation basis to form a detailed user traffic list, which includes the following Fields: time, user phone number, SPID, product ID, traffic, server IP. After the detailed list is generated, it will be uniformly uploaded to the central server detailed list directory.
S402、流量话单入库,可用定向流量扣减。S402, the traffic bill is stored, and the directional traffic can be deducted.
流量话单入库模块部署在中心,实时扫描详单目录中新上传的详单文件,对于详单中的每条记录入库形成用户流量明细,同时扣减相应产品的可用流量。The traffic bill storage module is deployed in the center, scans the newly uploaded detailed bill files in the detailed bill directory in real time, and forms the user traffic details for each record in the detailed bill, and deducts the available traffic of the corresponding products.
S403、CDN调度中心收到播放调度请求后,实时查询可用流量额度。S403. After receiving the playback scheduling request, the CDN scheduling center queries the available traffic quota in real time.
CDN调度中心在收到用户客户端播放调度请求后实时查询相应产品的可用流量,判断用户是否超额,对于可用流量不足的,可以返回相应错误信息。After receiving the user client's playback scheduling request, the CDN scheduling center queries the available traffic of the corresponding product in real time, and determines whether the user is over-excited. If the available traffic is insufficient, the corresponding error message can be returned.
本申请还提供了一种定向流量的免流系统,该免流系统可以包括CDN调度中心、CDN节点和定向流量服务端。进一步地,该免流系统还可以包括用户客户端。本申请提供的用户客户端可以用于执行S101和S103,CDN调度中心可以用于执行S102,服务端可以用于执行S104,CDN节点可以用于执行S105。The present application also provides a flow-free system for directional traffic, and the flow-free system may include a CDN scheduling center, a CDN node, and a directional traffic server. Further, the flow-free system may further include a user client. The user client provided in this application can be used to execute S101 and S103, the CDN scheduling center can be used to execute S102, the server can be used to execute S104, and the CDN node can be used to execute S105.
图5为本申请一个实施例的定向流量的免流装置的结构示意图。图5所示的装置可以用于实现前述任意一个实施例中由用户客户端、CDN调度中心、CDN节点或服务端实现的功能。FIG. 5 is a schematic structural diagram of a flow-free device for directional flow according to an embodiment of the present application. The apparatus shown in FIG. 5 can be used to implement the functions implemented by the user client, the CDN scheduling center, the CDN node or the server in any of the foregoing embodiments.
如图5所示,本实施例的装置500包括:存储器501、处理器502、通信接口503以及总线504。其中,存储器501、处理器502、通信接口503通过总线504实现彼此之间的通信连接。As shown in FIG. 5 , the apparatus 500 in this embodiment includes: a
存储器501可以是只读存储器(read only memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(random access memory,RAM)。存储器501可以存储程序,当存储器501中存储的程序被处理器502执行时,处理器502用于执行图1所示的方法中由用户客户端、CDN调度中心、CDN节点或服务端执行的各个步骤。The
处理器502可以采用通用的中央处理器(central processing unit,CPU),微处理器,应用专用集成电路(application specific integrated circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本申请各个实施例中的方法。The
处理器502还可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,本申请各个实施例的方法的各个步骤可以通过处理器602中的硬件的集成逻辑电路或者软件形式的指令完成。The
上述处理器502还可以是通用处理器、数字信号处理器(digital signalprocessing,DSP)、专用集成电路(ASIC)、现成可编程门阵列(field programmable gatearray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The above-mentioned
结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器501,处理器502读取存储器501中的信息,结合其硬件完成本申请的装置包括的单元所需执行的功能,例如,可以执行图1所示实施例由CDN调度中心实现的各个步骤/功能。The steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the
通信接口503可以使用但不限于收发器一类的收发装置,来实现装置500与其他设备或通信网络之间的通信。The
总线504可以包括在装置500各个部件(例如,存储器501、处理器502、通信接口503)之间传送信息的通路。Bus 504 may include a pathway for communicating information between various components of apparatus 500 (eg,
应理解,本申请实施例所示的装置500可以是计算设备,或者,也可以是配置于计算设备中的芯片。It should be understood that the apparatus 500 shown in this embodiment of the present application may be a computing device, or may also be a chip configured in the computing device.
还应理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的随机存取存储器(random accessmemory,RAM)可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory Access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access Memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM).
上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server or data center by wire (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that contains one or more sets of available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media. The semiconductor medium may be a solid state drive.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系,但也可能表示的是一种“和/或”的关系,具体可参考前后文进行理解。It should be understood that the term "and/or" in this document is only an association relationship to describe associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, and A and B exist at the same time , there are three cases of B alone, where A and B can be singular or plural. In addition, the character "/" in this document generally indicates that the related objects before and after are an "or" relationship, but may also indicate an "and/or" relationship, which can be understood with reference to the context.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In this application, "at least one" means one or more, and "plurality" means two or more. "At least one item(s) below" or similar expressions thereof refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one item (a) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c may be single or multiple .
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a removable hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk and other media that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011531049.1A CN114666841A (en) | 2020-12-22 | 2020-12-22 | Flow-free method and flow-free system for directional flow |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011531049.1A CN114666841A (en) | 2020-12-22 | 2020-12-22 | Flow-free method and flow-free system for directional flow |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114666841A true CN114666841A (en) | 2022-06-24 |
Family
ID=82025548
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011531049.1A Pending CN114666841A (en) | 2020-12-22 | 2020-12-22 | Flow-free method and flow-free system for directional flow |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114666841A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117041899A (en) * | 2023-10-10 | 2023-11-10 | 联通在线信息科技有限公司 | Edge authentication streaming-free metering method and device, electronic equipment and storage medium |
Citations (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103986735A (en) * | 2014-06-05 | 2014-08-13 | 北京赛维安讯科技发展有限公司 | CDN (content distribution network) antitheft system and antitheft method |
| CN104023092A (en) * | 2014-04-29 | 2014-09-03 | 中国联合网络通信集团有限公司 | Method and system for realizing directed flow packet |
| CN104284202A (en) * | 2014-10-14 | 2015-01-14 | 无锡云捷科技有限公司 | CDN transparent transmission method adopting optimized structure |
| CN105141636A (en) * | 2015-09-24 | 2015-12-09 | 网宿科技股份有限公司 | HTTP safety communication method and system applicable for CDN value added service platform |
| CN105246101A (en) * | 2015-09-01 | 2016-01-13 | 厦门大学 | A content recommendation device and method for an inferior mobile content distribution system |
| CN105897931A (en) * | 2016-06-14 | 2016-08-24 | 腾讯科技(深圳)有限公司 | Network traffic-free control method and device |
| US20160277299A1 (en) * | 2015-03-17 | 2016-09-22 | Telefonaktiebolaget L M Ericsson (Publ) | System and method for categorizing packet flows in a network |
| CN106034330A (en) * | 2015-03-17 | 2016-10-19 | 网宿科技股份有限公司 | Mobile terminal traffic processing method, device and system based on content distribution network |
| CN106332183A (en) * | 2015-07-03 | 2017-01-11 | 中兴通讯股份有限公司 | Traffic control method, traffic control processing method, traffic control device, traffic control processing device and terminal |
| CN107135085A (en) * | 2017-05-03 | 2017-09-05 | 网宿科技股份有限公司 | Statistical control method and system for directional flow |
| CN107277150A (en) * | 2017-06-28 | 2017-10-20 | 湖南科创信息技术股份有限公司 | CDN intelligent dispatching methods and system |
| WO2018140067A1 (en) * | 2017-01-27 | 2018-08-02 | Level 3 Communications, Llc | Systems and methods for ip source address spoof detection |
| CN109428733A (en) * | 2017-08-29 | 2019-03-05 | 中移(杭州)信息技术有限公司 | A kind of method and device orienting charge on traffic |
| CN109510775A (en) * | 2018-11-12 | 2019-03-22 | 网宿科技股份有限公司 | Orient dispatching method, authentication device, the network equipment and the storage medium of flow |
| CN109831511A (en) * | 2019-02-18 | 2019-05-31 | 华为技术有限公司 | Method and equipment for scheduling content delivery network CDN edge nodes |
| CN110198530A (en) * | 2019-05-31 | 2019-09-03 | 中国联合网络通信集团有限公司 | Exempt from scheduling processing method, device, equipment and the storage medium of traffic service |
| CN111224952A (en) * | 2019-12-24 | 2020-06-02 | 中移(杭州)信息技术有限公司 | Network resource acquisition method, device and storage medium for directed traffic |
| CN111770121A (en) * | 2019-04-01 | 2020-10-13 | 北京京东尚科信息技术有限公司 | Method and device for service access based on directional flow |
-
2020
- 2020-12-22 CN CN202011531049.1A patent/CN114666841A/en active Pending
Patent Citations (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104023092A (en) * | 2014-04-29 | 2014-09-03 | 中国联合网络通信集团有限公司 | Method and system for realizing directed flow packet |
| CN103986735A (en) * | 2014-06-05 | 2014-08-13 | 北京赛维安讯科技发展有限公司 | CDN (content distribution network) antitheft system and antitheft method |
| CN104284202A (en) * | 2014-10-14 | 2015-01-14 | 无锡云捷科技有限公司 | CDN transparent transmission method adopting optimized structure |
| US20160277299A1 (en) * | 2015-03-17 | 2016-09-22 | Telefonaktiebolaget L M Ericsson (Publ) | System and method for categorizing packet flows in a network |
| CN106034330A (en) * | 2015-03-17 | 2016-10-19 | 网宿科技股份有限公司 | Mobile terminal traffic processing method, device and system based on content distribution network |
| CN106332183A (en) * | 2015-07-03 | 2017-01-11 | 中兴通讯股份有限公司 | Traffic control method, traffic control processing method, traffic control device, traffic control processing device and terminal |
| CN105246101A (en) * | 2015-09-01 | 2016-01-13 | 厦门大学 | A content recommendation device and method for an inferior mobile content distribution system |
| CN105141636A (en) * | 2015-09-24 | 2015-12-09 | 网宿科技股份有限公司 | HTTP safety communication method and system applicable for CDN value added service platform |
| CN105897931A (en) * | 2016-06-14 | 2016-08-24 | 腾讯科技(深圳)有限公司 | Network traffic-free control method and device |
| WO2018140067A1 (en) * | 2017-01-27 | 2018-08-02 | Level 3 Communications, Llc | Systems and methods for ip source address spoof detection |
| CN107135085A (en) * | 2017-05-03 | 2017-09-05 | 网宿科技股份有限公司 | Statistical control method and system for directional flow |
| CN107277150A (en) * | 2017-06-28 | 2017-10-20 | 湖南科创信息技术股份有限公司 | CDN intelligent dispatching methods and system |
| CN109428733A (en) * | 2017-08-29 | 2019-03-05 | 中移(杭州)信息技术有限公司 | A kind of method and device orienting charge on traffic |
| CN109510775A (en) * | 2018-11-12 | 2019-03-22 | 网宿科技股份有限公司 | Orient dispatching method, authentication device, the network equipment and the storage medium of flow |
| CN109831511A (en) * | 2019-02-18 | 2019-05-31 | 华为技术有限公司 | Method and equipment for scheduling content delivery network CDN edge nodes |
| CN111770121A (en) * | 2019-04-01 | 2020-10-13 | 北京京东尚科信息技术有限公司 | Method and device for service access based on directional flow |
| CN110198530A (en) * | 2019-05-31 | 2019-09-03 | 中国联合网络通信集团有限公司 | Exempt from scheduling processing method, device, equipment and the storage medium of traffic service |
| CN111224952A (en) * | 2019-12-24 | 2020-06-02 | 中移(杭州)信息技术有限公司 | Network resource acquisition method, device and storage medium for directed traffic |
Non-Patent Citations (2)
| Title |
|---|
| RIM HAW AND CHOONG SEON HONG: ""A Seamless Content Delivery Scheme for Flow Mobility in Content Centric Network"", 《2014 14TH APNOMS》, 24 November 2012 (2012-11-24) * |
| 刘静,杨锟: ""运营商数字化转型中的内容运营策略研究"", 《信息通信》, 15 May 2020 (2020-05-15) * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117041899A (en) * | 2023-10-10 | 2023-11-10 | 联通在线信息科技有限公司 | Edge authentication streaming-free metering method and device, electronic equipment and storage medium |
| CN117041899B (en) * | 2023-10-10 | 2024-02-09 | 联通在线信息科技有限公司 | Edge authentication streaming-free metering method and device, electronic equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Wittie et al. | Exploiting locality of interest in online social networks | |
| US8510448B2 (en) | Service provider registration by a content broker | |
| US10587544B2 (en) | Message processing method, processing server, terminal, and storage medium | |
| EP2294515B1 (en) | Request routing using network computing components | |
| CN103596066B (en) | Method and device for data processing | |
| US20100115613A1 (en) | Cacheable Mesh Browsers | |
| CN101425969B (en) | Dispatching method, dispatching device and dispatching system | |
| US7987291B2 (en) | Data distribution using DNS | |
| WO2013060210A1 (en) | Sharing control system and method for network resources download information | |
| CN101997759A (en) | Service implementation method and service system | |
| CN102695167A (en) | Mobile subscriber identity management method and apparatus thereof | |
| CN107222561A (en) | A kind of transport layer reverse proxy method | |
| CN109756584B (en) | Domain name resolution method, domain name resolution device and computer readable storage medium | |
| CN102710559B (en) | Method for realizing digital literature resource gateway by reverse proxy technology | |
| CN117938807B (en) | Method, device and system for carrying out portrayal on local DNS (Domain name System) for CDN (content delivery network) | |
| Chen et al. | Analyzing and accelerating web access in a school in peri-urban india | |
| CN115883657A (en) | Method and system for accelerated scheduling of cloud disk services | |
| CN103607410B (en) | A kind of contents access method and equipment | |
| WO2017097092A1 (en) | Method and system for processing cache cluster service | |
| US12328320B2 (en) | Provision of data from a service provider network | |
| CN103416027B (en) | The system of the method, buffer and cache optimization of cache optimization | |
| CN114666841A (en) | Flow-free method and flow-free system for directional flow | |
| CN116248632B (en) | File acquisition method, device, system and equipment, medium and product | |
| CN110545453A (en) | content distribution method, device and system of content distribution network | |
| CN103188323A (en) | System and method for providing Web services based on user mainframe cache equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20220624 |