Diversion method, communication vehicle, CDN scheduling server and system
By deploying communication vehicle base stations and CDN nodes in hotspot areas, local offloading of terminal data is achieved, which solves the problem of CDN node transmission delay and insufficient offloading strategies, and improves user experience and data caching capabilities.
Patent Information
- Application Number
- CN202210580736.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-25
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-05-25
AI Technical Summary
Existing CDN nodes are deployed in provincial and municipal aggregation computer rooms, resulting in long transmission delays from terminals to CDN nodes. There is a lack of effective offloading strategies and cannot meet the data caching needs of hotspot areas, affecting user experience.
Deploy communication vehicles in hot spots, equipped with vehicle-mounted base stations eNodeB, vehicle-mounted distribution servers and vehicle-mounted CDN nodes, receive terminal requests through the vehicle-mounted eNodeB, and the vehicle-mounted distribution server modifies the requests to achieve local distribution, transfers the data download business to the vehicle-mounted CDN node, and uses the vehicle-mounted CDN The node delivers data to the terminal to achieve efficient CDN local distribution.
Through the local offloading strategy, the terminal data download delay is reduced, the user experience is improved, and elastic expansion and contraction can be achieved in hot spots to meet data caching needs.
Smart Images

Figure CN115002837B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication network technology, and in particular to a traffic diversion method, a communication vehicle, a CDN scheduling server and a system. Background Art
[0002] In recent years, with the popularization of network broadband and the development of mobile bandwidth, streaming media services such as live broadcasting have gradually become important applications of the Internet. In order to improve the transmission quality and performance of streaming media, the content delivery network (CDN) has played a great role. CDN pre-distributes network content to each node and assigns a "nearest" node to the user for data forwarding when the user requests related resources, thereby improving the data transmission performance in the network.
[0003] However, currently CDN nodes are mainly deployed in provincial and municipal aggregation rooms, and there is still a few hops of transmission delay from the terminal to the CDN node. CDN has no diversion strategy or the diversion strategy is relatively simple, which cannot meet the data caching needs of hot spots. For example, when a large-scale event is held in a specific location, how to provide a more effective CDN diversion method in a short period of time with a large number of users to further improve the user experience has become an urgent problem to be solved. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a diversion method, a communication vehicle, a CDN scheduling server and a system in view of the above-mentioned deficiencies in the prior art, so as to solve the problem that in the prior art, there is a long transmission delay from the terminal to the CDN node, the CDN has no diversion strategy or the diversion strategy is relatively simple, and cannot meet the data caching requirements of hot spots, thus affecting the user experience.
[0005] In a first aspect, the present invention provides a traffic diversion method, which is applied to a communication vehicle, wherein the communication vehicle comprises: an on-board base station eNodeB, an on-board traffic diversion server, and an on-board content distribution network CDN node.
[0006] The method comprises:
[0007] The vehicle-mounted eNodeB receives a first request for a data download service sent by the terminal to the CDN scheduling server;
[0008] The vehicle-mounted traffic diversion server monitors the first request, modifies the first request into a second request for implementing local diversion of the data download service, and then sends the second request to the CDN scheduling server;
[0009] The vehicle-mounted eNodeB forwards a response message returned by the CDN scheduling server based on the second request to the terminal, where the response message is used to indicate that the vehicle-mounted CDN node is allowed to be used to implement local offloading;
[0010] The in-vehicle CDN node receives a third request for a data download service sent by the terminal according to the response message, and sends data according to the third request.
[0011] Preferably, the first request is specifically used to request allocation of a CDN node that provides data download for a data download service;
[0012] The second request is specifically used to request allocation of the vehicle-mounted CDN node to provide data download for the data download service to achieve local diversion.
[0013] Preferably, the vehicle-mounted CDN node receives the third request for the data download service sent by the terminal according to the response message, and sends data according to the third request, specifically including:
[0014] The in-vehicle CDN node receives a third request for a data download service sent by the terminal according to the response message and forwarded by the in-vehicle eNodeB;
[0015] The on-vehicle CDN node sends data according to the third request, and forwards the data to the terminal through the on-vehicle eNodeB.
[0016] Preferably, before the vehicle-mounted eNodeB receives the first request for a data download service sent by the terminal to the CDN scheduling server, the method further includes:
[0017] The on-board CDN node pre-caches data;
[0018] The vehicle-mounted traffic diversion server presets a traffic diversion strategy, and configures the CDN scheduling server address corresponding to the cached data in the preset traffic diversion strategy.
[0019] Preferably, the vehicle-mounted traffic diversion server monitors the first request, modifies it into a second request for implementing local diversion of the data download service, and then sends the second request to the CDN scheduling server, specifically including:
[0020] The vehicle-mounted traffic distribution server monitors whether the vehicle-mounted eNodeB receives the first request;
[0021] If the first request is received, determining whether to perform local diversion of the data download service according to a preset diversion strategy;
[0022] If it is determined to perform local diversion on the data download service, the first request is modified into a second request including an address for implementing local diversion, and the second request is sent to the CDN scheduling server.
[0023] Preferably, the determining whether to perform local diversion on the data download service according to the preset diversion strategy specifically includes:
[0024] Obtaining a target CDN scheduling server address from the first request;
[0025] Comparing the target CDN dispatching server address with the CDN dispatching server address configured in the preset diversion strategy of the vehicle-mounted diversion server to see whether they are consistent;
[0026] If they are consistent, it is determined to perform local diversion on the data download service.
[0027] Preferably, the modifying the first request into a second request including an address for implementing local diversion, and sending the second request to the CDN scheduling server specifically includes:
[0028] Modify the source address in the first request to the address of the vehicle-mounted traffic diversion server to obtain the second request;
[0029] The second request is sent to the CDN scheduling server, so that the CDN scheduling server obtains the vehicle-mounted CDN node address according to the pre-configured correspondence between the vehicle-mounted diversion server address and the vehicle-mounted CDN node address, and generates a response message including the vehicle-mounted CDN node address.
[0030] In a second aspect, the present invention provides a traffic diversion method, which is applied to a content distribution network CDN scheduling server, and the method comprises:
[0031] Receiving a second request for local diversion of a data download service sent by an on-board diversion server of a communication vehicle, wherein the second request is generated by the on-board diversion server monitoring and modifying a first request for a data download service sent by an on-board eNodeB receiving terminal of the communication vehicle to the CDN scheduling server;
[0032] generating, according to the second request, a response message for indicating that the on-board CDN node of the communication vehicle is allowed to be used to implement local diversion;
[0033] The response message is sent to the terminal through the vehicle-mounted eNodeB, so that the vehicle-mounted CDN node receives the third request for the data download service sent by the terminal according to the response message, and sends data according to the third request.
[0034] Preferably, before receiving the second request for implementing local diversion of the data download service sent by the on-board diversion server of the communication vehicle, the method further includes:
[0035] Pre-configure the correspondence between the vehicle-mounted traffic diversion server address that can realize local traffic diversion and the vehicle-mounted CDN node address;
[0036] The generating, according to the second request, a response message for indicating that the on-board CDN node of the communication vehicle is allowed to be used to implement local diversion specifically includes:
[0037] Obtaining the address of the vehicle-mounted traffic diversion server carried in the second request;
[0038] Obtaining the vehicle-mounted CDN node address from a pre-configured correspondence between the vehicle-mounted diversion server address and the vehicle-mounted CDN node address according to the vehicle-mounted diversion server address;
[0039] A response message including the vehicle-mounted CDN node address is generated to instruct the terminal to download data from the vehicle-mounted CDN node to achieve local diversion.
[0040] In a third aspect, the present invention provides a communication vehicle, comprising:
[0041] The vehicle-mounted base station eNodeB is used to receive a first request for a data download service sent by a terminal to a content delivery network CDN scheduling server;
[0042] an on-vehicle traffic diversion server connected to the on-vehicle eNodeB, configured to monitor the first request, modify the first request into a second request for implementing local diversion of the data download service, and then send the second request to the CDN scheduling server;
[0043] The vehicle-mounted eNodeB is further used to forward a response message returned by the CDN scheduling server based on the second request to the terminal, where the response message is used to indicate that the vehicle-mounted CDN node is allowed to be used to implement local offloading;
[0044] The vehicle-mounted CDN node is connected to the vehicle-mounted eNodeB, and is used to receive a third request for a data download service sent by the terminal according to the response message, and send data according to the third request.
[0045] In a fourth aspect, the present invention provides a content delivery network CDN scheduling server, comprising:
[0046] A receiving module, configured to receive a second request sent by an on-board traffic diversion server of a communication vehicle for realizing local diversion of a data download service, wherein the second request is generated by the on-board traffic diversion server monitoring and modifying a first request for a data download service sent by an on-board eNodeB receiving terminal of the communication vehicle to the CDN scheduling server;
[0047] a response module, connected to the receiving module, and configured to generate, according to the second request, a response message indicating that the on-board CDN node of the communication vehicle is allowed to be used to implement local diversion;
[0048] The sending module is connected to the response module and is used to send the response message to the terminal through the vehicle-mounted eNodeB, so that the vehicle-mounted CDN node receives the third request for data download service sent by the terminal according to the response message, and sends data according to the third request.
[0049] In a fifth aspect, the present invention provides a flow diversion system, comprising:
[0050] A terminal, used to send a first request for a data download service to a content delivery network CDN scheduling server, and to send a third request for a data download service to an on-board CDN node of a communication vehicle according to a response message sent by the CDN scheduling server;
[0051] A communication vehicle, connected to the terminal, used to perform the diversion method as described above;
[0052] The CDN scheduling server is connected to the communication vehicle and is used to execute the diversion method as described above.
[0053] The present invention provides a traffic diversion method, a communication vehicle, a CDN scheduling server and a system. An on-board eNodeB, an on-board traffic diversion server and an on-board CDN node are integrated on the communication vehicle. After the communication vehicle is moved to a hot spot area, when a terminal in the hot spot area requests a data download service, the on-board eNodeB receives the data download service request, and the on-board traffic diversion server transfers the data download service to the on-board CDN node. The on-board CDN node is quickly connected to the local hot spot area, and the on-board CDN node sends data to the terminal, thereby providing an efficient CDN local traffic diversion strategy, meeting the data caching requirements of the hot spot area, achieving elastic expansion and contraction, reducing the delay of terminal downloading data, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 is a flow chart of a diversion method according to an embodiment of the present invention;
[0055] Figure 2 It is a structural schematic diagram of a flow diversion system according to an embodiment of the present invention;
[0056] Figure 3 is an interactive flow chart of another diversion method according to an embodiment of the present invention;
[0057] Figure 4 is a flow chart of another diversion method according to an embodiment of the present invention;
[0058] Figure 5 It is a structural diagram of a CDN scheduling server according to an embodiment of the present invention. DETAILED DESCRIPTION
[0059] In order to enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0060] It should be understood that the specific embodiments and drawings described herein are only used to explain the present invention rather than to limit the present invention.
[0061] It can be understood that, in the absence of conflict, the various embodiments of the present invention and the various features in the embodiments can be combined with each other.
[0062] It can be understood that, for the convenience of description, the drawings of the present invention only show the parts related to the present invention, while the parts irrelevant to the present invention are not shown in the drawings.
[0063] It can be understood that each unit and module involved in the embodiments of the present invention may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.
[0064] It can be understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of the present invention may occur in an order different from that marked in the drawings.
[0065] It is understood that the flowcharts and block diagrams of the present invention illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present invention. Each box in the flowchart or block diagram may represent a unit, module, program segment, or code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or may be implemented by a combination of hardware and computer instructions.
[0066] It can be understood that the units and modules involved in the embodiments of the present invention can be implemented by software or hardware. For example, the units and modules can be located in a processor.
[0067] Embodiment 1:
[0068] like Figure 1 As shown, Embodiment 1 of the present invention provides a flow diversion method, which is applied to Figure 2 The communication vehicle 2 shown includes: an on-board eNodeB 21 , an on-board traffic distribution server 22 , and an on-board CDN node 23 .
[0069] A more specific embodiment is that when the user terminal 1 is located in a hot spot area, a customized CDN diversion solution based on LBO (local breakout) is provided for its data download service. For example, for a large-scale event held at a specific location, an emergency communication vehicle 2 is set up, and an on-board eNodeB 21, an on-board diversion server 22, and an on-board CDN node 23 are integrated in the communication vehicle 2. The on-board CDN node 23 pre-caches the relevant data for the event for the terminal 1 to download. The event organizer can pre-customize the cache content of the communication vehicle 2 and the on-board CDN node 23. After the event starts, the communication vehicle 2 arrives at the event site in advance to provide emergency communications for a large number of user terminals 1 at the event site. Taking into account the different network element functions and network structures of 4G and 5G, 4G is still the main force in the current network, and the emergency communication vehicle 2 is still targeted For the 4G communication network design, the vehicle-mounted eNodeB21 adopts a small 4G communication base station, and a vehicle-mounted diversion server 22 is connected in series behind the vehicle-mounted eNodeB21. The vehicle-mounted diversion server 22 diverts the traffic that the terminal 1 needs to download data to a small-scale vehicle-mounted CDN node 23. In this solution, the operator's core network 3 does not need to be modified, and the content service provider's CDN scheduling server 4 needs to cooperate with the communication vehicle 2; through this solution, a CDN node with the closest distance can be provided to the terminal 1, minimizing the user's access delay to the distributed content. At the same time, through customization, only the traffic related to this activity is diverted, thereby maximizing the utilization rate of CDN resources and effectively improving user perception.
[0070] The method comprises:
[0071] S21 . The vehicle-mounted eNodeB 21 receives a first request for a data download service sent by the terminal 1 to the CDN scheduling server 4 .
[0072] A more specific embodiment is that when the terminal 1 initiates a data download service request, it needs to first request the address of the CDN node for the data download service. After the communication vehicle 2 arrives at the hotspot area, the on-board eNodeB 21 receives the first request for the CDN node address nearby, and provides emergency communication base station access for the hotspot area through the on-board eNodeB 21.
[0073] In an optional embodiment, before the vehicle-mounted eNodeB 21 receives the first request for a data download service sent by the terminal 1 to the CDN scheduling server 4, the method further includes:
[0074] The vehicle-mounted CDN node 23 pre-caches data;
[0075] The vehicle-mounted traffic diversion server 22 presets a traffic diversion strategy, and configures the address of the CDN scheduling server 4 corresponding to the cached data in the preset traffic diversion strategy.
[0076] A more specific embodiment is that, in order to implement the specific task of diverting traffic for a large-scale event, the on-board CDN node 23 pre-caches the data related to the event, and the on-board CDN node 23 receives the dispatch of the CDN scheduling server 4 of the content service provider. Therefore, the address of the CDN scheduling server 4 is pre-configured in the on-board diversion server 22 for subsequent sending of requests to the CDN scheduling server 4 to dispatch the on-board CDN node 23 for local diversion.
[0077] S22 , the vehicle-mounted traffic diversion server 22 monitors the first request, modifies it into a second request for implementing local diversion of the data download service, and then sends the second request to the CDN scheduling server 4 .
[0078] In an optional embodiment, the first request is specifically used to request allocation of a CDN node that provides data download for a data download service;
[0079] The second request is specifically used to request allocation of the vehicle-mounted CDN node to provide data download for the data download service to achieve local diversion.
[0080] A more specific embodiment is to modify the data download service request of the terminal 1 by connecting a vehicle-mounted diversion server 22 in series behind the vehicle-mounted eNodeB 21, and modify the original request for selecting a CDN node for allocation by the CDN scheduling server 4 to a request for specifying the allocation of the vehicle-mounted CDN node 23.
[0081] In an optional embodiment, the vehicle-mounted traffic diversion server 22 monitors the first request, modifies it into a second request for implementing local traffic diversion, and then sends the second request to the CDN scheduling server 4, specifically including:
[0082] The vehicle-mounted traffic distribution server 22 monitors whether the vehicle-mounted eNodeB 21 receives the first request;
[0083] If the first request is received, determining whether to perform local diversion of the data download service according to a preset diversion strategy;
[0084] If it is determined to perform local diversion on the data download service, the first request is modified into a second request containing an address for implementing local diversion, and the second request is sent to the CDN scheduling server 4 .
[0085] In an optional embodiment, the determining whether to perform local diversion on the data download service according to a preset diversion strategy specifically includes:
[0086] Obtaining the address of the target CDN scheduling server 4 from the first request;
[0087] Compare the target CDN dispatch server address 4 with the CDN dispatch server address 4 configured in the preset diversion strategy of the vehicle-mounted diversion server 22 to see whether they are consistent;
[0088] If they are consistent, it is determined to perform local diversion on the data download service.
[0089] In an optional embodiment, modifying the first request into a second request including an address for implementing local diversion, and sending the second request to the CDN scheduling server 4 specifically includes:
[0090] Modify the source address in the first request to the address of the vehicle-mounted traffic diversion server 22 to obtain the second request;
[0091] The second request is sent to the CDN scheduling server 4, so that the CDN scheduling server 4 obtains the address of the vehicle-mounted CDN node 23 according to the pre-configured correspondence between the address of the vehicle-mounted diversion server 22 and the address of the vehicle-mounted CDN node 23, and generates a response message including the address of the vehicle-mounted CDN node.
[0092] A more specific embodiment is that the on-board diversion server 22 needs to modify the first request issued by the terminal 1 to meet its preset diversion strategy, that is, the data required to be downloaded by the first request has been pre-cached in the on-board CDN node 23, such as data related to the current event. It can be specifically judged based on the address of the CDN scheduling server 4 requested by the terminal 1. If the requested CDN scheduling server 4 address is the same as the address of the pre-cached data, the first request is modified to the second request, and the on-board CDN node 23 is scheduled to divert the data download service requested by the terminal 1 through the rules pre-agreed with the CDN scheduling server 4.
[0093] S23 . The vehicle-mounted eNodeB 21 forwards the response message returned by the CDN scheduling server 4 based on the second request to the terminal 1 . The response message is used to indicate that the vehicle-mounted CDN node 23 is allowed to be used to implement local diversion.
[0094] In a more specific embodiment, after receiving the second request sent by the on-board traffic diversion server 22, the CDN scheduling server 4 directly allocates the address of the on-board CDN node 23 according to the pre-agreed rule, and forwards it to the terminal 1 through the on-board eNodeB 21, so as to realize the local diversion of the data download service requested by the terminal 1; the pre-agreed rule may be that the corresponding relationship between the IP address of the on-board traffic diversion server 22 that can realize local diversion and the IP address of the on-board CDN node 23 is pre-configured in the CDN scheduling server 4, and the on-board traffic diversion server 22 adds its own IP address to the second request. After receiving the second request, the CDN scheduling server 4 obtains the IP address of the vehicle-mounted diversion server 22 carried in the second request; according to the IP address of the vehicle-mounted diversion server 22, the IP address of the vehicle-mounted CDN node 23 is obtained from the pre-configured correspondence between the IP address of the vehicle-mounted diversion server 22 and the IP address of the vehicle-mounted CDN node 23, and a response message including the IP address of the vehicle-mounted CDN node 23 is generated, which is used to instruct the terminal 1 to download data from the vehicle-mounted CDN node 23 to realize local diversion, and the response message is forwarded to the terminal 1 through the vehicle-mounted eNodeB21.
[0095] S24. The vehicle-mounted CDN node 23 receives the third request for the data download service sent by the terminal 1 according to the response message, and sends data according to the third request.
[0096] In an optional embodiment, the vehicle-mounted CDN node 23 receives the third request for the data download service sent by the terminal 1 according to the response message, and sends data according to the third request, specifically including:
[0097] The on-vehicle CDN node 23 receives the third request for the data download service sent by the terminal 1 according to the response message and forwarded by the on-vehicle eNodeB 21;
[0098] The vehicle-mounted CDN node 23 sends data according to the third request, and forwards it to the terminal 1 through the vehicle-mounted eNodeB 21 .
[0099] A more specific embodiment is that after the terminal 1 obtains the IP address of the on-board CDN node 23 from the response message, it sends a third request for data download service to the address, and the on-board eNodeB 21 receives the third request nearby and forwards it to the on-board CDN node 23. The on-board CDN node 23 sends data according to the third request and forwards it to the terminal 1 through the on-board eNodeB 21. During the activity, the on-board eNodeB 21 always forwards data in the hotspot area. The on-board CDN node 23 is undoubtedly the CDN node closest to the terminal 1 in the hotspot area. Therefore, it can provide elastic capacity expansion for the hotspot area, effectively reduce the traffic pressure in the hotspot area, reduce the delay of the user terminal 1 downloading data, and improve the user experience.
[0100] In another more specific embodiment, the interaction process between the communication vehicle 2 and the CDN scheduling server 4 for implementing local traffic diversion is as follows: Figure 3 As shown, it includes two stages:
[0101] First, before the communication vehicle 2 arrives at the hotspot area, the communication vehicle 2 and the CDN scheduling server 4 need to be configured in advance, including:
[0102] S001: The vehicle-mounted CDN node 23 requests cache data from the CDN scheduling server 4 of the content service provider in advance; the cached content in the vehicle-mounted CDN node 23 can be cached in advance before the communication vehicle 2 arrives. If it is live streaming media, it can be cached synchronously in the vehicle-mounted CDN node 23 when the live streaming is uploaded;
[0103] S002: The vehicle-mounted traffic diversion server 22 is pre-configured with the address of the CDN scheduling server 4; it is used to monitor the data download service to be accelerated and activate the diversion strategy;
[0104] S003: The CDN scheduling server 4 pre-configures the correspondence between the address of the vehicle-mounted distribution server 22 and the address of the vehicle-mounted CDN node 23; which is used for subsequent scheduling of the vehicle-mounted CDN node 23.
[0105] Second, after communication vehicle 2 arrives at the hotspot area, communication vehicle 2 implements local diversion of the CDN data download service of terminal 1, including:
[0106] S004: The vehicle-mounted eNodeB 21 receives a request sent by the terminal 1 to the CDN scheduling server 4; the terminal 1 may initiate a request to the CDN scheduling server 4 through the vehicle-mounted eNodeB 21 to obtain the IP address of the CDN node for the data download service;
[0107] S005: The on-board traffic diversion server 22 monitors the request of the terminal, modifies the source address to its own address, and forwards the message to the CDN scheduling server 4; it can be that after the on-board traffic diversion server 22 monitors the request from the terminal 1 for the allocation of the IP address of the CDN node, it starts the diversion strategy, modifies the source IP address in the request message to its own IP address, and quickly forwards the message to the CDN scheduling server 5 through the metropolitan area network;
[0108] S006: The CDN dispatching server 4 returns the address of the vehicle-mounted CDN node 23 to the terminal 1; it may be that after receiving the request to modify the address, the CDN dispatching server 4 allocates the vehicle-mounted CDN node 23 as the CDN node for this service according to the pre-configured correspondence between the address of the vehicle-mounted distribution server 22 and the address of the vehicle-mounted CDN node 23, and returns the IP address of the vehicle-mounted CDN node 23 to the terminal 1;
[0109] S007: The terminal 1 requests data download from the vehicle-mounted CDN node 23; it may be that after the terminal 1 obtains the IP address of the CDN node of this service (that is, the IP address of the vehicle-mounted CDN node 23), it sends a data download request to the IP address;
[0110] S008: The vehicle-mounted CDN node 23 sends data to the terminal 1; it can be that after the terminal 1 receives the CDN node IP address, subsequent data download services can be downloaded from the node of the address (ie, the vehicle-mounted CDN node 23), thereby realizing local diversion.
[0111] Embodiment 2:
[0112] like Figure 4 As shown, the present invention provides a flow diversion method, which is applied to Figure 2 The CDN scheduling server 4 shown, the method includes:
[0113] Receiving a second request for local diversion of a data download service sent by an onboard diversion server 22 of a communication vehicle 2, the second request being generated by the onboard diversion server 22 monitoring and modifying the first request after the onboard eNodeB 21 of the communication vehicle 2 receives the first request for a data download service sent by the terminal 1 to the CDN scheduling server 4;
[0114] Generate a response message for indicating permission to use the on-board CDN node 23 of the communication vehicle 2 to implement local diversion according to the second request;
[0115] The response message is sent to the terminal 1 through the vehicle-mounted eNodeB 21, so that the vehicle-mounted CDN node 23 receives the third request for the data download service sent by the terminal 1 according to the response message, and sends data according to the third request.
[0116] In an optional embodiment, before receiving the second request for implementing local diversion of the data download service sent by the on-board diversion server 22 of the communication vehicle 2, the method further includes:
[0117] Pre-configure the correspondence between the address of the vehicle-mounted traffic diversion server 22 that can realize local traffic diversion and the address of the vehicle-mounted CDN node 23;
[0118] The generating, according to the second request, a response message for indicating that the onboard CDN node 23 of the communication vehicle 2 is allowed to be used to implement local diversion specifically includes:
[0119] Obtaining the address of the vehicle-mounted traffic diversion server 22 carried in the second request;
[0120] Obtaining the address of the on-board CDN node 23 from the pre-configured correspondence between the address of the on-board traffic diversion server 22 and the address of the on-board CDN node 23 according to the address of the on-board traffic diversion server 22;
[0121] A response message including the address of the vehicle-mounted CDN node 23 is generated to instruct the terminal 1 to download data to the vehicle-mounted CDN node 23 to achieve local diversion.
[0122] In another more specific embodiment, the CDN dispatching server 4 implements the interactive process of local diversion by dispatching the vehicle-mounted CDN node 23 of the communication vehicle 2 as follows: Figure 3 As shown, the process has been described in detail in Example 1 and will not be repeated here.
[0123] Embodiment 3:
[0124] Embodiment 3 of the present invention provides a communication vehicle 2, whose composition structure and network connection relationship are as follows: Figure 2 As shown, the communication vehicle 2 includes:
[0125] The vehicle-mounted eNodeB 21 is used to receive a first request for a data download service sent by the terminal 1 to the CDN scheduling server 4;
[0126] The vehicle-mounted traffic distribution server 22 is connected to the vehicle-mounted eNodeB 21, and is used to monitor the first request, modify it into a second request for implementing local traffic distribution for the data download service, and then send the second request to the CDN scheduling server 4;
[0127] The vehicle-mounted eNodeB 21 is further used to forward a response message returned by the CDN scheduling server 4 based on the second request to the terminal 1, wherein the response message is used to indicate that the vehicle-mounted CDN node 23 is allowed to be used to implement local diversion;
[0128] The vehicle-mounted CDN node 23 is connected to the vehicle-mounted eNodeB 21, and is used to receive the third request for the data download service sent by the terminal 1 according to the response message, and send data according to the third request.
[0129] In an optional embodiment, the first request is specifically used to request allocation of a CDN node that provides data download for a data download service;
[0130] The second request is specifically used to request allocation of the vehicle-mounted CDN node to provide data download for the data download service to achieve local diversion.
[0131] In an optional embodiment, the vehicle-mounted eNodeB 21 is also used to: forward the third request for data download service sent by the terminal 1 according to the response message to the vehicle-mounted CDN node 23; and forward the data sent by the vehicle-mounted CDN node 23 according to the third request to the terminal 1.
[0132] In an optional embodiment, the vehicle-mounted CDN node 23 is also used to pre-cache data;
[0133] The vehicle-mounted traffic diversion server 22 is further used to preset a traffic diversion strategy, and configure the address of the CDN scheduling server 4 corresponding to the cached data in the preset traffic diversion strategy.
[0134] In an optional embodiment, the vehicle-mounted traffic diversion server 22 specifically includes:
[0135] A monitoring unit, configured to monitor whether the vehicle-mounted eNodeB 21 receives the first request;
[0136] a judgment unit connected to the monitoring unit, and configured to judge whether to perform local diversion of the data download service according to a preset diversion strategy if the first request is received;
[0137] The modification unit is connected to the judgment unit and is used to modify the first request into a second request containing an address for implementing local diversion if it is determined that the data download service is to be locally diverted, and send the second request to the CDN scheduling server 4.
[0138] In an optional embodiment, the judging unit specifically includes:
[0139] An acquisition subunit, used to acquire the address of the target CDN scheduling server 4 from the first request;
[0140] A comparison subunit, used to compare whether the address of the target CDN dispatching server 4 is consistent with the address of the CDN dispatching server 4 configured in the preset diversion strategy of the vehicle-mounted diversion server 22;
[0141] The determination subunit is used to determine to locally divert the data download service if they are consistent.
[0142] In an optional embodiment, the modification unit specifically includes:
[0143] a modification subunit, configured to modify the source address in the first request to the address of the vehicle-mounted traffic diversion server 22, so as to obtain the second request;
[0144] The sending subunit is used to send the second request to the CDN scheduling server 4, so that the CDN scheduling server 4 obtains the address of the vehicle-mounted CDN node 23 according to the pre-configured correspondence between the address of the vehicle-mounted diversion server 22 and the address of the vehicle-mounted CDN node 23, and generates a response message including the address of the vehicle-mounted CDN node.
[0145] Embodiment 4:
[0146] like Figure 5 As shown, the present invention provides a CDN scheduling server 4, which is specifically arranged as follows Figure 2 The system shown in FIG. 2 is implemented with the communication vehicle 2 as follows Figure 3 In the interactive process shown, the CDN scheduling server 4 includes:
[0147] The receiving module 41 is used to receive a second request for local diversion of the data download service sent by the on-board diversion server 22 of the communication vehicle 2, wherein the second request is generated by the on-board diversion server 22 monitoring and modifying the first request for the data download service sent by the on-board eNodeB 21 of the communication vehicle 2 to the CDN scheduling server 4 after the first request for the data download service is received by the terminal 1;
[0148] a response module 42 connected to the receiving module 41, and configured to generate, according to the second request, a response message indicating that the on-board CDN node 23 of the communication vehicle 2 is allowed to realize local diversion of the data download service;
[0149] The sending module 43 is connected to the response module 42 and is used to send the response message to the terminal 1 through the vehicle-mounted eNodeB 21, so that the vehicle-mounted CDN node 23 receives the third request for data download service sent by the terminal 1 according to the response message, and sends data according to the third request.
[0150] In an optional embodiment, the CDN scheduling server 4 further includes:
[0151] A pre-configuration module, used to pre-configure the correspondence between the address of the vehicle-mounted traffic diversion server 22 that can realize local traffic diversion and the address of the vehicle-mounted CDN node 23;
[0152] The response module 42 specifically includes:
[0153] An acquiring unit, configured to acquire the address of the vehicle-mounted traffic diversion server 22 carried in the second request;
[0154] a search unit connected to the acquisition unit, and configured to obtain the address of the vehicle-mounted CDN node 23 from a pre-configured correspondence between the address of the vehicle-mounted traffic distribution server 22 and the address of the vehicle-mounted CDN node 23 according to the address of the vehicle-mounted traffic distribution server 22;
[0155] The generating unit is connected to the searching unit and is used to generate a response message including the address of the vehicle-mounted CDN node 23, so as to instruct the terminal to download data from the vehicle-mounted CDN node to realize local diversion.
[0156] Embodiment 5:
[0157] like Figure 2 As shown, the present invention provides a flow diversion system, comprising:
[0158] Terminal 1, used to send a first request for a data download service to a CDN scheduling server 4, and used to send a third request for a data download service to a vehicle-mounted CDN node 23 of a communication vehicle 2 according to a response message sent by the CDN scheduling server 1;
[0159] A communication vehicle 2, connected to the terminal 1, and configured to execute the traffic diversion method as described in Example 1;
[0160] The CDN scheduling server 4 is connected to the communication vehicle 2 and is used to execute the diversion method as described in Example 2.
[0161] Embodiments 1-5 of the present invention provide a diversion method, a communication vehicle, a CDN scheduling server and a system, wherein a vehicle-mounted eNodeB, a vehicle-mounted diversion server and a vehicle-mounted CDN node are integrated on the communication vehicle. After the communication vehicle is moved to a hot spot area, when a terminal in the hot spot area requests a data download service, the data download service request is received through the vehicle-mounted eNodeB, and the data download service is transferred to the vehicle-mounted CDN node through the vehicle-mounted diversion server. The vehicle-mounted CDN node is quickly connected to the local hot spot area, and the vehicle-mounted CDN node sends data to the terminal, thereby providing an efficient CDN local diversion strategy to meet the data caching requirements of the hot spot area, achieve elastic expansion and contraction, reduce the delay of terminal downloading data, and improve user experience.
[0162] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A diversion method, characterized in that: Applied to a communication vehicle, the communication vehicle comprises: an on-board eNodeB, an on-board traffic diversion server, and an on-board CDN node, the on-board CDN node pre-caches customized cache content for hotspot areas and corresponding to the CDN scheduling server, and the communication vehicle is deployed in the hotspot area; The method comprises: The vehicle-mounted eNodeB receives a first request for a data download service sent by a terminal in the hotspot area to the CDN scheduling server; The vehicle-mounted traffic diversion server monitors the first request, modifies it into a second request for realizing local diversion of the data download service, and sends the second request to the CDN scheduling server, wherein the second request is specifically used to request the vehicle-mounted CDN node to be allocated to provide data download for the data download service to realize local diversion; The vehicle-mounted eNodeB forwards a response message returned by the CDN scheduling server based on the second request to the terminal, where the response message is used to indicate that the vehicle-mounted CDN node is allowed to be used to implement local offloading; The vehicle-mounted CDN node receives the third request for the data download service sent by the terminal according to the response message, and sends the data in its own customized cache content according to the third request; Among them, eNodeB is the base station and CDN is the content distribution network.
2. The method according to claim 1, characterized in that The first request is specifically used to request allocation of a CDN node that provides data downloading for a data download service.
3. The method according to claim 1, characterized in that The vehicle-mounted CDN node receives the third request for the data download service sent by the terminal according to the response message, and sends data according to the third request, specifically including: The in-vehicle CDN node receives a third request for a data download service sent by the terminal according to the response message and forwarded by the in-vehicle eNodeB; The on-vehicle CDN node sends data according to the third request, and forwards the data to the terminal through the on-vehicle eNodeB.
4. The method according to any one of claims 1 to 3, characterized in that: Before the vehicle-mounted eNodeB receives a first request for a data download service sent by the terminal to the CDN scheduling server, the method further includes: The vehicle-mounted traffic diversion server presets a traffic diversion strategy, and configures the CDN scheduling server address corresponding to the customized cache content in the preset traffic diversion strategy.
5. The method according to claim 4, characterized in that The vehicle-mounted traffic diversion server monitors the first request, modifies the first request into a second request for implementing local diversion of the data download service, and then sends the second request to the CDN scheduling server, specifically including: The vehicle-mounted traffic distribution server monitors whether the vehicle-mounted eNodeB receives the first request; If the first request is received, determining whether to perform local diversion of the data download service according to a preset diversion strategy; If it is determined to perform local diversion on the data download service, the first request is modified into a second request including an address for implementing local diversion, and the second request is sent to the CDN scheduling server.
6. The method according to claim 5, characterized in that The determining whether to perform local diversion on the data download service according to the preset diversion strategy specifically includes: Obtaining a target CDN scheduling server address from the first request; Comparing the target CDN dispatching server address with the CDN dispatching server address configured in the preset diversion strategy of the vehicle-mounted diversion server to see whether they are consistent; If they are consistent, it is determined to perform local diversion on the data download service.
7. The method according to claim 5, characterized in that The step of modifying the first request into a second request including an address for implementing local diversion, and sending the second request to the CDN scheduling server specifically includes: Modify the source address in the first request to the address of the vehicle-mounted traffic diversion server to obtain the second request; The second request is sent to the CDN scheduling server, so that the CDN scheduling server obtains the vehicle-mounted CDN node address according to the pre-configured correspondence between the vehicle-mounted diversion server address and the vehicle-mounted CDN node address, and generates a response message including the vehicle-mounted CDN node address.
8. A diversion method, characterized in that: Applied to a CDN scheduling server, the method includes: receiving a second request sent by the on-board traffic diversion server of the communication vehicle for realizing local diversion of the data download service, wherein the second request is generated by the on-board traffic diversion server monitoring and modifying the first request after the on-board eNodeB of the communication vehicle receives the first request for the data download service sent by the terminal in the hotspot area to the CDN scheduling server, and the second request is specifically used to request the allocation of the on-board CDN node of the communication vehicle to provide data download for the data download service to realize local diversion; generating, according to the second request, a response message for indicating that the use of the vehicle-mounted CDN node to implement local offloading is permitted; Sending the response message to the terminal through the vehicle-mounted eNodeB, so that the vehicle-mounted CDN node receives the third request for the data download service sent by the terminal according to the response message, and sends the data in its own customized cache content according to the third request, wherein the customized cache content is pre-cached by the vehicle-mounted CDN node for the hotspot area and corresponding to the CDN scheduling server, and the communication vehicle is deployed in the hotspot area; Among them, eNodeB is the base station and CDN is the content distribution network.
9. The method according to claim 8, characterized in that Before receiving a second request for implementing local diversion of a data download service from a vehicle-mounted diversion server of a communication vehicle, the method further includes: Pre-configure the correspondence between the vehicle-mounted traffic diversion server address that can realize local traffic diversion and the vehicle-mounted CDN node address; The generating, according to the second request, a response message for indicating that the on-board CDN node of the communication vehicle is allowed to be used to implement local diversion specifically includes: Obtaining the address of the vehicle-mounted traffic diversion server carried in the second request; Obtaining the vehicle-mounted CDN node address from a pre-configured correspondence between the vehicle-mounted diversion server address and the vehicle-mounted CDN node address according to the vehicle-mounted diversion server address; A response message including the vehicle-mounted CDN node address is generated to instruct the terminal to download data from the vehicle-mounted CDN node to achieve local diversion.
10. A communication vehicle, characterized in that: The communication vehicle is deployed in a hot spot area, including: The vehicle-mounted eNodeB is used to receive a first request for a data download service sent by a terminal in the hotspot area to a CDN scheduling server; The vehicle-mounted traffic diversion server is connected to the vehicle-mounted eNodeB, and is used to monitor the first request, modify it into a second request for realizing local diversion of the data download service, and then send the second request to the CDN scheduling server, wherein the second request is specifically used to request the vehicle-mounted CDN node of the communication vehicle to be allocated to provide data download for the data download service to realize local diversion; The vehicle-mounted eNodeB is further used to forward a response message returned by the CDN scheduling server based on the second request to the terminal, where the response message is used to indicate that the vehicle-mounted CDN node is allowed to be used to implement local offloading; an on-vehicle CDN node, connected to the on-vehicle eNodeB, configured to receive a third request for a data download service sent by the terminal according to the response message, and to send data in its own customized cache content according to the third request, wherein the customized cache content is pre-cached by the on-vehicle CDN node for the hotspot area and corresponding to the CDN scheduling server; Among them, eNodeB is the base station and CDN is the content distribution network.
11. A CDN scheduling server, characterized in that: include: a receiving module, configured to receive a second request sent by an on-board traffic diversion server of a communication vehicle for realizing local diversion of a data download service, wherein the second request is generated by the on-board traffic diversion server monitoring and modifying the first request after the on-board eNodeB of the communication vehicle receives the first request for a data download service sent by a terminal in a hotspot area to the CDN scheduling server, and the second request is specifically used to request allocation of the on-board CDN node of the communication vehicle to provide data download for the data download service to realize local diversion; a response module, connected to the receiving module, and configured to generate, according to the second request, a response message indicating that the vehicle-mounted CDN node is allowed to be used to implement local traffic diversion; a sending module, connected to the response module, and configured to send the response message to the terminal through the vehicle-mounted eNodeB, so that the vehicle-mounted CDN node receives the third request for the data download service sent by the terminal according to the response message, and sends the data in its own customized cache content according to the third request, wherein the customized cache content is pre-cached by the vehicle-mounted CDN node for the hotspot area and corresponding to the CDN scheduling server; Among them, eNodeB is the base station and CDN is the content distribution network.
12. A flow diversion system, characterized in that: include: A terminal, located in a hotspot area, for sending a first request for a data download service to a CDN scheduling server, and for sending a third request for a data download service to an on-board CDN node of a communication vehicle according to a response message sent by the CDN scheduling server; A communication vehicle, connected to the terminal, and used to execute the diversion method according to any one of claims 1 to 7; The CDN scheduling server is connected to the communication vehicle and is used to execute the diversion method as described in any one of claims 8-9.
Citation Information
Patent Citations
Data communication method based on vehicular cloud
CN106453081A
Scheduling method and apparatus of request message
CN106941507A
A method and system for CDN node allocation based on MEC
CN109040259A
Scheduling method and device and scheduling network
CN110417676A
Service processing method and related equipment
CN110896411A
