Video service processing method and system based on software defined network and edge computing technology

文档序号:516503 发布日期:2021-05-28 浏览:14次 中文

阅读说明:本技术 一种基于软件定义网络和边缘计算技术的视频业务处理方法和系统 (Video service processing method and system based on software defined network and edge computing technology ) 是由 赵建云 王文民 洛佳明 徐达 于 2020-12-31 设计创作,主要内容包括:本发明涉及一种基于软件定义网络和边缘计算技术的视频业务处理方法和系统,包括标配边缘节点的本地缓存中未存在目标视频时,将视频请求信息转发至SDN控制器,SDN控制器根据视频请求信息和视频热度模型,确定目标视频的热度,并根据目标视频的热度,确定待缓存目标视频的标配边缘节点,SDN控制器根据视频请求信息,确定处理视频请求信息的高配边缘节点,高配边缘节点根据视频请求信息和流表信息,将目标视频发送至终端。本发明通过SDN控制器的全局管理能力,对高清视频业务提供智能热点分析,可满足终端用户的超高清视频业务的敏捷连接等方面的需求。高配边缘节点针对超高清视频处理的特殊需求增加特殊适配方案,大量减少设备数量,从而减少系统投入。(The invention relates to a video service processing method and a system based on a software defined network and an edge computing technology, wherein when a target video does not exist in a local cache of a standard edge node, video request information is forwarded to an SDN controller, the SDN controller determines the heat of the target video according to the video request information and a video heat model, and determines the standard edge node of the target video to be cached according to the heat of the target video, the SDN controller determines a high-configuration edge node for processing the video request information according to the video request information, and the high-configuration edge node transmits the target video to a terminal according to the video request information and flow table information. According to the invention, through the global management capability of the SDN controller, intelligent hotspot analysis is provided for the high-definition video service, and the requirements of terminal users on agile connection and the like of the ultra-high-definition video service can be met. The high-definition edge nodes add special adaptation schemes aiming at special requirements of ultra-high-definition video processing, and greatly reduce the number of devices, thereby reducing the system investment.)

1. A video service processing method based on software defined network and edge computing technology is characterized in that the method comprises the following steps:

when a standard edge node receives video request information sent by a terminal, if a target video does not exist in a local cache, forwarding the video request information to an SDN controller;

the SDN controller determines the heat of the target video according to the video request information and a video heat model, determines a standard configuration edge node of the target video to be cached according to the heat of the target video, and informs the standard configuration edge node of the target video to be cached of caching the target video;

the SDN controller determines a high-matching edge node for processing the video request information according to the video request information and a local flow table database, and sends flow table information corresponding to the high-matching edge node;

and the high-matching edge node processes the local cache video according to the video request information and the flow table information, and sends the obtained target video to the terminal.

2. The video service processing method based on the SDN and edge computing technology as claimed in claim 1, wherein the SDN controller determines the heat of the target video according to the video request information and a video heat model, and specifically includes:

the SDN controller generates a heat space matrix according to all the video request information of the received target video and all the standard edge nodes of the video request information of the received target video in a preset time period;

extracting characteristic information of the target video according to the data of the target video, and generating a video characteristic matrix according to the characteristic information of the target video;

and inputting the heat space matrix and the video feature matrix into the video heat model to obtain the heat of the target video.

3. The video service processing method based on the software defined network and the edge computing technology as claimed in claim 2, wherein the determining a matching edge node of the target video to be cached according to the heat of the target video specifically comprises:

and when the heat degree of the target video is larger than a preset threshold value, inputting the heat degree space matrix into the video heat degree model to obtain a scale edge node of the target video to be cached, and informing the scale edge node of the target video to be cached to cache the target video.

4. The video service processing method based on the software defined network and the edge computing technology as claimed in claim 3, wherein the extracting the feature information of the target video according to the data of the target video, and generating the video feature matrix according to the feature information of the target video specifically comprises:

extracting a plurality of video frames from the target video;

extracting information of the video frame, including face detection and/or OCR character extraction;

extracting a feature vector by using a neural network based on a result of face detection and/or a result of OCR character extraction;

and obtaining the video feature matrix according to the feature vector.

5. The video service processing method based on the software defined network and the edge computing technology as claimed in claim 4, wherein the generating the heat space matrix according to all the video request information of the received target video and all the standard edge nodes of the video request information of the received target video specifically includes:

respectively counting the quantity of video request information of the target video received by each of the standard edge nodes;

extracting the standard edge nodes of which the number of the received video request information of the target video is greater than a preset threshold value as elements in a preset empty matrix;

and taking the video request information quantity of the target video received by the scaling edge node as the value of each element in the preset empty matrix to obtain the heat space matrix.

6. The video service processing method based on the software-defined network and the edge computing technology as claimed in claim 5, wherein the training process of the video heat model comprises:

acquiring a historical high-heat video, and acquiring a video feature matrix of the high-heat video;

counting video request information of the high-heat video received by the scaling edge node, and generating the heat space matrix of the high-heat video;

and training a preset neural network model according to the video feature matrix of the high-heat video and the heat space matrix to obtain the video heat model.

7. The video service processing method based on the software defined network and the edge computing technology as claimed in any one of claims 1 to 6, wherein when the edge node receives video request information sent by a terminal, and if a target video does not exist in a local cache, the method forwards the video request information to an SDN controller, specifically comprising:

the standard edge node determines the name and definition index of the target video according to the video request information;

judging whether the target video exists in a local cache or not;

if not, forwarding the video request information to the SDN controller;

otherwise, judging whether the definition index of the target video in the local cache meets the definition index in the video request information;

and if not, forwarding the video request information to the SDN controller.

8. The video service processing method based on the software defined network and the edge computing technology as claimed in claim 7, wherein the highly-distributed edge node processes a local cache video according to the video request information and the flow table information issued by the SDN controller, obtains the target video, and sends the target video to the terminal, specifically comprising:

the high-definition edge node determines the name and definition index of the target video according to video request information issued by the SDN controller;

performing video coding and decoding processing meeting the resolution ratio on the corresponding video in the local cache to obtain a target video meeting the requirement of a terminal for clearness;

and receiving flow table information from the SDN controller, and sending the target video to the terminal according to the flow table information.

9. A video service processing system based on software defined networking and edge computing, comprising:

the standard edge node is used for forwarding video request information to an SDN controller when the video request information sent by a terminal is received and a target video does not exist in a local cache;

the SDN controller is used for determining the heat of the target video according to the video request information and a video heat model, determining a scale edge node of the target video to be cached according to the heat of the target video, and informing the scale edge node of the target video to be cached of caching the target video;

the SDN controller is used for determining a high-matching edge node for processing the video request information according to the video request information and a local flow table database, and sending flow table information corresponding to the high-matching edge node;

and the high-matching edge node is used for sending the target video to the terminal according to the video request information and the flow table information.

10. The video service processing system based on the software defined networking and edge computing technology of claim 9, wherein:

the SDN controller is specifically configured to calculate, according to all the video request information of the received target video and all the standard edge nodes of the video request information of the received target video within a preset time period, and generate a heat space matrix;

extracting characteristic information of the target video according to the data of the target video, and generating a video characteristic matrix according to the characteristic information of the target video;

and inputting the heat space matrix and the video feature matrix into the video heat model to obtain the heat of the target video.

Technical Field

The invention relates to the technical field of information processing, in particular to a video service processing method and system based on a software defined network and an edge computing technology.

Background

With the continuous increase of the scale of the internet and the continuous increase of the number of users, various problems are exposed to the traditional network system architecture, such as distributed deployment, poor controllability, poor mobility and the like. These disadvantages severely restrict the rapid development of network technology, and therefore, a network architecture capable of breaking this situation is urgently needed. Software-defined Networks (SDN) have also come to light. The essence of a software defined network is to implement a decoupling of the control plane and the data plane so that a network administrator can control the entire network through software programming. Compared with a traditional network, the SDN separates a control plane and a data plane of a current network, the data plane is simply forwarded by actual network devices (such as switches and routers), and the control plane is regulated and controlled by a controller (or called a network operating system) which is managed centrally in logic, so that policy execution, optimization and network configuration are simplified.

With the development of network technology, ultra-high-definition videos can bring better viewing experience to users. At present, the ultra-high-definition video technology in China is in a development stage, and the number of ultra-high-definition video sources is increased. How to meet the requirement of ultra-high-definition video of users in the SDN network and reduce the investment in the SDN network is a technical problem which needs to be solved urgently at present.

Disclosure of Invention

The invention aims to solve the technical problem of the prior art and provides a video service processing method and system based on a software defined network and an edge computing technology.

The technical scheme for solving the technical problems is as follows:

a video service processing method based on software defined networking and edge computing technology, the method comprising:

when a standard edge node receives video request information sent by a terminal, if a target video does not exist in a local cache, forwarding the video request information to an SDN controller;

the SDN controller determines the heat of the target video according to the video request information and a video heat model, determines a standard configuration edge node of the target video to be cached according to the heat of the target video, and informs the standard configuration edge node of the target video to be cached of caching the target video;

the SDN controller determines a high-matching edge node for processing the video request information according to the video request information and a local flow table database, and sends flow table information corresponding to the high-matching edge node;

and the high-matching edge node sends the target video to the terminal according to the video request information and the flow table information.

The method has the beneficial effects that: the video service processing method based on the software defined network and the edge computing technology is provided, video request information sent by a terminal is received through a matching edge node, if a target video does not exist in a local cache, the video request information is forwarded to an SDN controller, the SDN controller determines the heat degree of the target video according to the video request information and a video heat degree model, determines a matching edge node of the target video to be cached according to the heat degree of the target video and informs the matching edge node of the target video to be cached of caching the target video, the SDN controller determines a high matching edge node processing the video request information according to the video request information and a local flow table database, sends flow table information corresponding to the high matching edge node, and the high matching edge node sends the target video to the terminal according to the video request information and the flow table information, the invention provides intelligent hotspot analysis for high-definition video services and routing arrangement management and cache management of edge nodes by defining the global management capability of a network SDN controller through software, wherein the standard edge nodes have the capabilities of calculation, storage, network forwarding, decision making and the like, are nearest to a terminal user, can meet the requirements of the terminal user on the aspects of agile connection of ultra-high-definition video services and the like, and can be applied to ultra-high-definition monitoring videos, short videos, video on demand and the like. The high-definition edge nodes are added with special adaptation schemes according to special requirements of ultra-high-definition video processing, and the number of the high-definition edge nodes is greatly reduced, so that system investment is reduced.

On the basis of the technical scheme, the invention can be further improved as follows.

Further, the SDN controller determines the heat of the target video according to the video request information and the video heat model, and specifically includes:

the SDN controller generates a heat space matrix according to all the video request information of the received target video and all the standard edge nodes of the video request information of the received target video in a preset time period;

extracting characteristic information of the target video according to the data of the target video, and generating a video characteristic matrix according to the characteristic information of the target video;

and inputting the heat space matrix and the video feature matrix into the video heat model to obtain the heat of the target video.

The beneficial effect of adopting the further scheme is that: the SDN controller generates a heat space matrix according to video request information and standard edge nodes of a statistical target video, extracts feature information of the target video according to data of the target video, and generates a video feature matrix according to the feature information of the target video. And inputting the heat space matrix and the video characteristic matrix into the video heat model to obtain the heat of the target video, and improving the accuracy of judging whether the target video is a high-heat-point video.

Further, the determining, according to the heat of the target video, a matching edge node of the target video to be cached specifically includes:

and when the heat degree of the target video is larger than a preset threshold value, inputting the heat degree space matrix into the video heat degree model to obtain a scale edge node of the target video to be cached, and informing the scale edge node of the target video to be cached to cache the target video.

The beneficial effect of adopting the further scheme is that: the heat space matrix is input into the video heat model to obtain the scale edge nodes of the target video to be cached, obtain the hot spot area of the high heat spot video, and cache the target video by the scale edge nodes in the hot spot area, so that the scale edge nodes of the target video to be cached can be reduced, the cache space in the scale edge nodes is saved, and the occupation of network bandwidth is reduced.

Further, the extracting, according to the data of the target video, the feature information of the target video, and generating a video feature matrix according to the feature information of the target video specifically include:

extracting a plurality of video frames from the target video;

extracting information of the video frame, including face detection and/or OCR character extraction;

extracting a feature vector by using a neural network based on a result of face detection and/or a result of OCR character extraction;

and obtaining the video feature matrix according to the feature vector.

The beneficial effect of adopting the further scheme is that: the accuracy of judging whether the video is the high-heat-point video is improved by extracting a plurality of video frames from the target video, drawing face detection on each extracted video frame and extracting feature vectors by using OCR characters, and generating a video feature matrix of the target video according to the feature vectors.

Further, the generating a heat space matrix according to all the video request information of the target video received by statistics and all the scale edge nodes of the video request information of the target video received by statistics specifically includes:

respectively counting the quantity of video request information of the target video received by each of the standard edge nodes;

extracting the standard edge nodes of which the number of the received video request information of the target video is greater than a preset threshold value as elements in a preset empty matrix;

and taking the video request information quantity of the target video received by the scaling edge node as the value of each element in the preset empty matrix to obtain the heat space matrix.

The beneficial effect of adopting the further scheme is that: the method comprises the steps of respectively counting the number of video request information received by each index edge node for a target video, extracting the index edge nodes of which the number of the received video request information is larger than a preset threshold value as elements in a preset empty matrix, and taking the number of the received video request information of the target video of the index edge nodes as the value of each element in the preset empty matrix to obtain a heat space matrix, thereby obtaining a hot spot request area of the high-heat-spot video.

Further, the training process of the video popularity model comprises the following steps:

acquiring a historical high-heat video, and acquiring a video feature matrix of the high-heat video;

counting video request information of the high-heat video received by the scaling edge node, and generating the heat space matrix of the high-heat video;

and training a preset neural network model according to the video feature matrix of the high-heat video and the heat space matrix to obtain the video heat model.

The beneficial effect of adopting the further scheme is that: the method comprises the steps of obtaining historical high-heat videos, obtaining video feature matrixes of the high-heat videos, counting video request information of the high-heat videos received by a standard edge node, generating heat space matrixes of the high-heat videos, training a preset neural network model according to the video feature matrixes and the heat space matrixes of the high-heat videos, obtaining a video heat model, and improving the accuracy of judging whether a target video is the high-heat video.

Further, when the edge node receives video request information sent by the terminal, and if the target video does not exist in the local cache, forwarding the video request information to the SDN controller, specifically including:

the standard edge node determines the name and definition index of the target video according to the video request information;

judging whether the target video exists in a local cache or not;

if not, forwarding the video request information to the SDN controller;

otherwise, judging whether the definition index of the target video in the local cache meets the definition index in the video request information;

and if not, forwarding the video request information to the SDN controller.

The beneficial effect of adopting the further scheme is that: when the standard edge node receives the video request information sent by the terminal, if the target video does not exist in the local cache, the video request information is forwarded to the SDN controller, and the requirement of a terminal user on video definition is met.

Further, the highly-matched edge node processes a local cache video according to the video request information and the flow table information issued by the SDN controller, obtains the target video, and sends the target video to the terminal, and specifically includes:

the high-definition edge node determines the name and definition index of the target video according to video request information issued by the SDN controller;

performing video coding and decoding processing meeting the resolution ratio on the corresponding video in the local cache to obtain a target video meeting the requirement of a terminal for clearness;

and receiving flow table information from the SDN controller, and sending the target video to the terminal according to the flow table information.

Another technical solution of the present invention for solving the above technical problems is as follows: a video service processing system based on software defined networking and edge computing technology comprises:

the standard edge node is used for forwarding video request information to an SDN controller when the video request information sent by a terminal is received and a target video does not exist in a local cache;

the SDN controller is used for determining the heat of the target video according to the video request information and a video heat model, determining a scale edge node of the target video to be cached according to the heat of the target video, and informing the scale edge node of the target video to be cached of caching the target video;

the SDN controller is used for determining a high-matching edge node for processing the video request information according to the video request information and a local flow table database, and sending flow table information corresponding to the high-matching edge node;

and the high-matching edge node is used for processing the local cache video according to the video request information and the flow table information and sending the obtained target video to the terminal.

The beneficial effects of the system are as follows: the video service processing system based on the software defined network and the edge computing technology is provided, video request information sent by a terminal is received through a matching edge node, if a target video does not exist in a local cache, the video request information is forwarded to an SDN controller, the SDN controller determines the heat degree of the target video according to the video request information and a video heat degree model, determines a matching edge node of the target video to be cached according to the heat degree of the target video and informs the matching edge node of the target video to be cached of caching the target video, the SDN controller determines a high matching edge node processing the video request information according to the video request information and a local flow table database, sends flow table information corresponding to the high matching edge node to the matching edge node, and the high matching edge node sends the target video to the terminal according to the video request information and the flow table information, the invention provides intelligent hotspot analysis for high-definition video services and routing arrangement management and cache management of edge nodes by defining the global management capability of a network SDN controller through software, wherein the standard edge nodes have the capabilities of calculation, storage, network forwarding, decision making and the like, are nearest to a terminal user, can meet the requirements of the terminal user on the aspects of agile connection of ultra-high-definition video services and the like, and can be applied to ultra-high-definition monitoring videos, short videos, video on demand and the like. The high-definition edge nodes are added with special adaptation schemes according to special requirements of ultra-high-definition video processing, and the number of the high-definition edge nodes is greatly reduced, so that system investment is reduced.

Further, the SDN controller is specifically configured to generate a heat space matrix according to all the video request information of the received target video and all the matching edge nodes of the video request information of the received target video counted within a preset time period;

extracting characteristic information of the target video according to the data of the target video, and generating a video characteristic matrix according to the characteristic information of the target video;

and inputting the heat space matrix and the video feature matrix into the video heat model to obtain the heat of the target video.

Further, the SDN controller is specifically configured to, when the heat of the target video is greater than a preset threshold, input the heat space matrix into the video heat model, and obtain a matching edge node of the target video to be cached.

Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention or in the description of the prior art will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.

Fig. 1 is a schematic flow chart of a video service processing method based on a software defined network and an edge computing technology according to the present invention;

fig. 2 is a schematic diagram of a video service processing system based on the software defined network and the edge computing technology according to the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.

As shown in fig. 1, which is a schematic flow chart of a video service processing method based on a software defined network and an edge computing technology according to the present invention, the video service processing method based on the software defined network and the edge computing technology includes the following steps:

110. when the standard edge node receives video request information sent by a terminal, if a target video does not exist in a local cache, the video request information is forwarded to an SDN controller.

It should be understood that the edge node of the standard configuration in this embodiment may be considered as an SDN device disposed in an edge of an SDN network, may receive request information of end users, and process request information of some end users, and has some buffer spaces, which may buffer some data information. Similarly, the high-edge nodes are also located in the edge of the SDN network, but the high-edge nodes are closer to the central location of the SDN network than the high-edge nodes and do not directly receive the request information of the end user, and the number of the high-edge nodes is less than that of the standard-edge nodes.

After receiving video request information of a terminal, a standard edge node determines definition of a target video and a target video required by the terminal, determines whether the target video meeting the definition of the target video exists in a cache of the standard edge node, and if not, sends the video request information to an SDN controller.

120. The SDN controller determines the heat of the target video according to the video request information and the video heat model, determines the scale edge node of the target video to be cached according to the heat of the target video, and informs the scale edge node of the target video to be cached of caching the target video.

It should be understood that there are a large number of mapping edge nodes in the SDN network, and the mapping edge nodes are divided into different geographic areas according to the geographic areas, and the mapping edge nodes that are to cache the target video are determined according to the heat degree of the target video and the hot spot area of the request target video.

130. The SDN controller determines a high-configuration edge node for processing the video request information according to the video request information and a local flow table database, and sends flow table information corresponding to the high-configuration edge node.

It should be understood that the SDN controller needs to process the current video request information of the end user, determine, through the local flow table database, the high-edge-matching node in which the target video is cached, determine, according to the area information of the standard-edge-matching node, the high-edge-matching node which is closest to the target video and in which the target video is cached, issue the flow table to the high-edge-matching node, and send the target video to the end user through the high-edge-matching node.

The control function is completed in a centralized SDN controller, and the standard edge node and the high-matching edge node perform data forwarding in the software defined network, so that the design ensures high-speed forwarding of data, the data forwarding of the edge node is based on a flow table, but the edge node does not manage the flow table, the flow table is usually managed by the SDN controller and issued to the edge node, and the edge node forwards the data according to the flow table after receiving the flow table. And establishing a flow table database in the SDN controller to manage the flow table.

140. And the high-matching edge node processes the local cache video according to the video request information and the flow table information, and sends the obtained target video to the terminal.

Specifically, when a standard edge node receives video request information sent by a terminal, if a target video does not exist in a local cache, the video request information is forwarded to an SDN controller;

in addition, when the target video exists in the local cache of the index edge node, the definition of the target video in the local cache and the definition of the target video applied by the terminal are matched, if the matching is successful, the target video is sent to the terminal according to flow table information issued by the SDN, and otherwise, the video request information is forwarded to the SDN controller.

The SDN controller determines the heat degree of a target video according to the video request information and a video heat degree model, determines whether a standard edge node needs to cache the target video or not according to the heat degree of the target video, if so, informs the standard edge node to cache the target video and issues related flow table information, and otherwise, forwards the video request information to a nearby high-distribution edge node according to network topology information;

the SDN controller determines a high-configuration edge node for processing the video request information according to the video request information, a local flow table database and network topology information, and sends flow table information corresponding to the high-configuration edge node;

and the high-matching edge node processes the local cache video according to the video request information and the flow table information, and sends the obtained target video to the terminal.

Based on the video service processing method based on the software defined network and the edge computing technology provided by the embodiment, video request information sent by a terminal is received through a standard edge node, if a target video does not exist in a local cache, the video request information is forwarded to an SDN controller, the SDN controller determines the heat degree of the target video according to the video request information and a video heat degree model, determines a standard edge node of the target video to be cached according to the heat degree of the target video, and notifies the standard edge node of the target video to be cached to cache the target video, the SDN controller determines a high-matching edge node for processing the video request information according to the video request information and a local flow table database, and sends flow table information corresponding to the high-matching edge node, and the high-matching edge node sends the target video to the terminal according to the video request information and the flow table information, the invention provides intelligent hotspot analysis for high-definition video services and routing arrangement management and cache management of edge nodes by defining the global management capability of a network SDN controller through software, wherein the standard edge nodes have the capabilities of calculation, storage, network forwarding, decision making and the like, are nearest to a terminal user, can meet the requirements of the terminal user on the aspects of agile connection of ultra-high-definition video services and the like, and can be applied to ultra-high-definition monitoring videos, short videos, video on demand and the like. The high-definition edge nodes are added with special adaptation schemes according to special requirements of ultra-high-definition video processing, and the number of the high-definition edge nodes is greatly reduced, so that system investment is reduced.

Further, step 120 specifically includes:

121. and the SDN controller generates a heat space matrix according to all the video request information of the received target video and all the standard edge nodes of the video request information of the received target video in a preset time period.

It should be understood that the heat space matrix reflects the heat of the video request information of the target video received by each of the matching edge nodes, for example, the frequency of the target video request information received by the standard edge node 1 is seven thousand times per day, the frequency of the target video request information received by the standard edge node 2 is one hundred times per day, each standard edge node is divided according to the space, for example, the index edge nodes in region one include index edge nodes 1-8, region two includes index edge nodes 13-19, the hot value of the video request information of the target video received by the standard edge node in the same area is written into the hot space matrix according to the column or the row, the calculation of the heat value may be based on the number of requests received per day or some other mathematical calculation, and is not described in this application.

122. And extracting the characteristic information of the target video according to the data of the target video, and generating a video characteristic matrix according to the characteristic information of the target video.

It should be understood that the target video is composed of a series of video frames, when extracting the feature information of the target video, several video frames are extracted from the target video, and in order to ensure that the extracted video frames determine the feature information of the target video, the information of the used video frames is consistent, each extracted video frame needs to be divided into the same number of image blocks. The extracted feature information of the video frame comprises face detection, the face detection algorithm is a widely applied algorithm, and a proper algorithm is selected according to factors such as detection speed and detection precision, for example, some people with high network heat at present are identified. Extracting OCR characters, extracting information such as subtitles and barrage appearing in the video. The character information in the video is generally displayed horizontally or vertically, so that two different conditions are respectively extracted, and characters appearing in the video may not only contain Chinese characters, so that foreign characters such as English and the like, and minority nationality characters such as Tibetan, Uyghur and the like are identified. Because the writing directions and writing formats of characters in different languages are different, different OCR character extraction models need to be trained for different languages.

After extracting the feature information, extracting feature vectors of the feature information by establishing a neural network, respectively extracting the feature vectors of characters extracted by face recognition and OCR characters and original images, and obtaining a video feature matrix through an attention mechanism or other mathematical modes according to the extracted feature vectors

123. And inputting the heat space matrix and the video characteristic matrix into the video heat model to obtain the heat of the target video.

124. And when the heat degree of the target video is larger than a preset threshold value, inputting the heat degree space matrix into the video heat degree model to obtain a scale edge node of the target video to be cached, and informing the scale edge node of the target video to be cached to cache the target video.

Further, step 122 specifically includes:

extracting a number of video frames from the target video.

And extracting information of the video frame, including face detection and/or OCR character extraction.

And extracting the feature vector by using a neural network based on the result of the face detection and/or the result of the OCR character extraction.

And obtaining the video feature matrix according to the feature vector.

Further, step 121 specifically includes:

and respectively counting the quantity of the video request information of the target video received by each matching edge node.

And extracting the standard edge nodes of which the number of the received video request information of the target video is greater than a preset threshold value as elements in a preset empty matrix.

And taking the video request information quantity of the target video received by the standard edge node as the value of each element in the preset empty matrix to obtain the heat space matrix.

It should be understood that, in order to obtain the heat space matrix, a null matrix is preset in advance, wherein element values in each row and each column in the null matrix respectively represent heat values of the requested target video received by each edge node.

Further, the training process of the video heat model comprises the following steps:

and acquiring historical high-heat video and obtaining a video feature matrix of the high-heat video.

And counting the video request information of the high-heat video received by the standard edge node, and generating a heat spatial matrix of the high-heat video.

And training a preset neural network model according to the video characteristic matrix and the heat spatial matrix of the high-heat video to obtain a video heat model.

Further, step 110 specifically includes:

and the standard edge node determines the name and definition index of the target video according to the video request information.

And judging whether the target video exists in the local cache or not.

And if not, forwarding the video request information to the SDN controller.

Otherwise, judging whether the definition index of the target video in the local cache meets the definition index in the video request information.

And if not, forwarding the video request information to the SDN controller.

Based on the above embodiment, step 140 specifically includes:

the high-matching edge node determines the name and definition index of the target video according to the video request information;

matching the target video meeting the definition index from a local cache, and receiving flow table information from the SDN controller;

and sending the target video to the terminal according to the flow table information.

As shown in fig. 2, a schematic diagram of a video service processing system based on a software defined network and an edge computing technology according to the present invention, the video service processing system based on a software defined network and an edge computing technology includes:

the standard edge node is used for forwarding video request information to an SDN controller when the video request information sent by a terminal is received and a target video does not exist in a local cache;

the SDN controller is used for determining the heat of the target video according to the video request information and a video heat model, determining a scale edge node of the target video to be cached according to the heat of the target video, and informing the scale edge node of the target video to be cached of caching the target video;

the SDN controller is used for determining a high-matching edge node for processing the video request information according to the video request information and a local flow table database, and sending flow table information corresponding to the high-matching edge node;

and the high-matching edge node is used for processing the local cache video according to the video request information and the flow table information and sending the obtained target video to the terminal.

Based on the video service processing system based on the software defined network and the edge computing technology provided by this embodiment, video request information sent by a terminal is received through a standard edge node, if a target video does not exist in a local cache, the video request information is forwarded to an SDN controller, the SDN controller determines the heat degree of the target video according to the video request information and a video heat degree model, determines a standard edge node of the target video to be cached according to the heat degree of the target video, and notifies the standard edge node of the target video to be cached to cache the target video, the SDN controller determines a high-resolution edge node processing the video request information according to the video request information and a local flow table database, and sends flow table information corresponding to the high-resolution edge node, and the high-resolution edge node sends the target video to the terminal according to the video request information and the flow table information, the invention provides intelligent hotspot analysis for high-definition video services and routing arrangement management and cache management of edge nodes by defining the global management capability of a network SDN controller through software, wherein the standard edge nodes have the capabilities of calculation, storage, network forwarding, decision making and the like, are nearest to a terminal user, can meet the requirements of the terminal user on the aspects of agile connection of ultra-high-definition video services and the like, and can be applied to ultra-high-definition monitoring videos, short videos, video on demand and the like. The high-definition edge nodes are added with special adaptation schemes according to special requirements of ultra-high-definition video processing, and the number of the high-definition edge nodes is greatly reduced, so that system investment is reduced.

Further, the SDN controller is specifically configured to generate a heat space matrix according to all the video request information of the received target video and all the matching edge nodes of the video request information of the received target video counted within a preset time period.

And extracting the characteristic information of the target video according to the data of the target video, and generating a video characteristic matrix according to the characteristic information of the target video.

And inputting the heat space matrix and the video feature matrix into the video heat model to obtain the heat of the target video.

Further, the SDN controller is specifically configured to, when the heat of the target video is greater than a preset threshold, input the heat space matrix into the video heat model, obtain a scaling edge node where the target video is to be cached, and notify the scaling edge node where the target video is to be cached to cache the target video.

It should be understood that, for convenience and brevity of description, only the division of the above-mentioned functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules as required, that is, the internal structure of the apparatus may be divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.

Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal system and method can be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal system are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.

Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.

The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种直播控制方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类