CN112260946B - Link failure processing method and device, terminal equipment and storage medium - Google Patents

Link failure processing method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112260946B
CN112260946B CN202010948435.4A CN202010948435A CN112260946B CN 112260946 B CN112260946 B CN 112260946B CN 202010948435 A CN202010948435 A CN 202010948435A CN 112260946 B CN112260946 B CN 112260946B
Authority
CN
China
Prior art keywords
data link
service
link
network equipment
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010948435.4A
Other languages
Chinese (zh)
Other versions
CN112260946A (en
Inventor
李志明
方小帅
谢文龙
杨春晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN202010948435.4A priority Critical patent/CN112260946B/en
Publication of CN112260946A publication Critical patent/CN112260946A/en
Application granted granted Critical
Publication of CN112260946B publication Critical patent/CN112260946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath

Abstract

The embodiment of the invention provides a method, a device, terminal equipment and a storage medium for processing link faults, which comprise the following steps: when an initial data link of a first service executed by first visual network equipment fails, receiving failure link data sent by the first visual network equipment; analyzing the fault link data; determining a first data link set according to the parsed video network number of the source equipment, the video network number of the destination equipment and a pre-stored data link list; determining a second data link corresponding to the target service type according to the target service type, the service bearing information of the node visual network equipment in the first data link and the first data link set; and sending the second data link to the monitoring access server so that the monitoring access server switches the initial data link to the second data link, and thus, when the link fails during service execution, the second data link can be switched to other links to ensure the normal operation of the service.

Description

Link failure processing method and device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method and apparatus for processing a link failure, a terminal device, and a storage medium.
Background
With the continuous development of the video networking, the video networking has been small in scale, and thousands of video networking network devices are contained in the video networking. So many of the internet of view network devices are doing a wide variety of services at any time. In the prior art, normal operation of the visual network equipment is ensured through a master-slave data link.
Specifically, the network management server sets a master data link and a slave data link for the video networking terminal equipment, and when the master data link is normally connected, the slave data link is in an idle state. When data transmission through the master data link is interrupted, the slave data link is switched to, but the connection state and the service carrying capacity of the slave data link are not considered.
When the load-bearing capacity of the slave data link is limited and the service of the master data link is overlarge, the service switched to the slave data link has overlong delay or overtime, so that normal service cannot be performed.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are presented to provide a method, apparatus, terminal device, and storage medium for processing a link failure that overcomes or at least partially solves the foregoing problems.
In a first aspect, an embodiment of the present invention provides a method for processing a link failure, where the method is applied to a link aware server in a link failure system, and the method includes:
receiving fault link data sent by first video networking network equipment under the condition that an initial data link of first service executed by the first video networking network equipment fails;
analyzing the fault link data to obtain the video network number of the source equipment, the video network number of the destination equipment and the destination service type of the first service;
determining a first data link set according to the video-on number of the source equipment, the video-on number of the destination equipment and a pre-stored data link list; the pre-stored data link list comprises a video network number of video network equipment and a network topological relation formed by the video network equipment;
determining a second data link corresponding to the destination service type according to the destination service type, the service bearing information of the node visual network equipment in the first data link and the first data link set;
and sending the second data link to a monitoring access server so that the monitoring access server switches the initial data link to the second data link, and the node in the second data link executes the first service by adopting the second data link by the network equipment of the visual network.
Optionally, the determining, according to the destination service type, the service bearer information of the node view networking network device in the first data link and the first data link set, a second data link corresponding to the destination service type includes:
determining a third data link set corresponding to the destination service type according to the destination service type and the first data link set;
acquiring service bearing information of node visual network equipment in the third data link, wherein the service bearing information comprises CPU occupancy rate and memory occupancy rate;
judging service bearing information of the node visual network equipment;
and if the CPU occupancy rate is smaller than a first preset value and the memory occupancy rate is smaller than a second preset value, determining the third data link as the second data link.
Optionally, the failed link data further includes service user information, and the method further includes:
if the second video networking network equipment executes the second service through the second data link, acquiring service user information of the second service;
and controlling the video networking network equipment to execute the service with high priority through a second data link according to the service user information of the second service and the priority of the service user information of the first service.
Optionally, before receiving the failed link data sent by the first visual network device, the method further includes:
and receiving data link information sent by each video networking network device, wherein the data link information comprises video networking numbers, network topological relations, bandwidths, current service types and service bearing information of the video networking network devices.
Optionally, the receiving, when the initial data link of the first service executed by the first internet-of-view network device fails, the failed link data sent by the first internet-of-view network device includes:
and under the condition that the third visual network equipment executes the initial data link interruption of the first service, receiving fault link data sent by the first visual network equipment, wherein the first visual network equipment is superior node equipment of the third visual network equipment.
Optionally, the receiving, when the initial data link of the first service executed by the first internet-of-view network device fails, the failed link data sent by the first internet-of-view network device includes:
and under the condition that the fourth visual network equipment executes the full load of the initial data link of the first service, receiving fault link data sent by the first visual network equipment, wherein the first visual network equipment is subordinate node equipment of the fourth visual network equipment.
In a second aspect, an embodiment of the present invention provides a device for processing a link failure, where the device is applied to a link aware server in a link failure system, and the device includes:
the receiving module is used for receiving fault link data sent by the first visual network equipment under the condition that an initial data link of the first visual network equipment executing the first service fails;
the analysis module is used for analyzing the fault link data to obtain the video networking number of the source equipment, the video networking number of the destination equipment and the destination service type of the first service;
the searching module is used for determining a first data link set according to the video networking number of the source equipment, the video networking number of the destination equipment and a pre-stored data link list; the pre-stored data link list comprises a video network number of video network equipment and a network topological relation formed by the video network equipment;
the determining module is used for determining a second data link corresponding to the target service type according to the target service type, the service bearing information of the node visual network equipment in the first data link and the first data link set;
And the switching module is used for sending the second data link to a monitoring access server so that the monitoring access server switches the initial data link to the second data link, and the node visual network equipment in the second data link executes the first service by adopting the second data link.
Optionally, the determining module is configured to:
determining a third data link set corresponding to the destination service type according to the destination service type and the first data link set;
acquiring service bearing information of node visual network equipment in the third data link, wherein the service bearing information comprises CPU occupancy rate and memory occupancy rate;
judging service bearing information of the node visual network equipment;
and if the CPU occupancy rate is smaller than a first preset value and the memory occupancy rate is smaller than a second preset value, determining the third data link as the second data link.
Optionally, the failed link data further includes service user information, and the apparatus further includes an execution module, where the execution module is configured to:
if the second video networking network equipment executes the second service through the second data link, acquiring service user information of the second service;
And controlling the video networking network equipment to execute the service with high priority through a second data link according to the service user information of the second service and the priority of the service user information of the first service.
Optionally, the apparatus further includes an acquisition module, where the acquisition module is configured to:
and receiving data link information sent by each video networking network device, wherein the data link information comprises video networking numbers, network topological relations, bandwidths, current service types and service bearing information of the video networking network devices.
Optionally, the receiving module is configured to:
and under the condition that the third visual network equipment executes the initial data link interruption of the first service, receiving fault link data sent by the first visual network equipment, wherein the first visual network equipment is superior node equipment of the third visual network equipment.
Optionally, the receiving module is configured to:
and under the condition that the fourth visual network equipment executes the full load of the initial data link of the first service, receiving fault link data sent by the first visual network equipment, wherein the first visual network equipment is subordinate node equipment of the fourth visual network equipment.
In a third aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored by the memory to implement the method for handling link failure provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium having stored therein a computer program which, when executed, implements the method for handling link failure provided in the first aspect.
The embodiment of the invention has the following advantages:
the embodiment of the invention is applied to a link perception server in a link failure system, and the method comprises the following steps: receiving fault link data sent by first visual network equipment under the condition that an initial data link of the first visual network equipment executing first service fails; analyzing the fault link data to obtain the video networking number of the source equipment, the video networking number of the destination equipment and the destination service type of the first service; determining a first data link set according to the video-on number of the source equipment, the video-on number of the destination equipment and a pre-stored data link list; determining a second data link corresponding to the target service type according to the target service type, the service bearing information of the node visual network equipment in the first data link and the first data link set; and switching the initial data link to a second data link so that the first video networking network equipment executes the first service by adopting the second data link, and switching to other links when the links fail during service execution to ensure the normal operation of the service.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of a method of handling a link failure of the present invention;
FIG. 2 is a flow chart of steps of another embodiment of a method of handling a link failure of the present invention;
FIG. 3 is a flow chart of steps of yet another embodiment of a method of handling a link failure of the present invention;
FIG. 4 is a block diagram of an embodiment of a link failure handling apparatus of the present invention;
fig. 5 is a schematic structural view of a terminal device of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
The video networking is an important milestone for network development, is a real-time network, can realize real-time transmission of high-definition videos, and pushes numerous internet applications to high-definition videos, and the high definition faces.
The video networking adopts a real-time high-definition video exchange technology, and can integrate all required services such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delay television, network teaching, live broadcast, VOD on demand, television mail, personal record (PVR), intranet (self-processing) channel, intelligent video playing control, information release and other tens of services into one system platform, and realize high-definition quality video playing through television or computer.
The nouns are explained as follows:
visual networking: an Ethernet hardware-based real-time large-bandwidth transmission network is used for a special network for high-speed transmission of high-definition videos and special protocols.
Monitoring access service: the video network monitoring access service system is core equipment for accessing internet monitoring resources into the video network, and is an important tie of the video network in monitoring fusion application. The method supports access to monitoring front-end equipment, video monitoring systems and video monitoring networking platforms of different manufacturers, has low-delay video-audio protocol conversion capability, and realizes fusion, aggregation and real-time scheduling of monitoring resources in the video networking.
Network management service: the network management system of the visual network can support the normal operation of the visual network and is a powerful network management and operation and maintenance guarantee system. The system coordinates operation modes and workflows, coordinates and manages all devices and resources in the video networking. The system has the communication capability of operation-level real-time high-definition video, can support hundreds of millions of users to use, and ensures the stable operation of operation-level high-definition video service.
Link aware service: the visual network data link perception service is used for collecting all visual network equipment link data and processing service capacity data in the visual network, calculating the data to obtain an optimal data link automatic distribution data link and is specially used for intelligent protection of the data link.
An embodiment of the invention provides a processing method of link failure, which is used for switching a failed data link. The execution body of the embodiment is a processing device of link failure, which is arranged on a link perception server in a link failure system.
Referring to fig. 1, there is shown a flowchart of steps of an embodiment of a method for processing a link failure according to the present invention, where the method may be applied to a link aware server in a link failure system, and may specifically include the steps of:
s101, under the condition that an initial data link of first service executed by first video networking network equipment fails, receiving failure link data sent by the first video networking network equipment;
the embodiment of the invention is particularly applied to a link failure system, which comprises a link perception server, a network management server and a monitoring access server, wherein the network management server is connected with the link perception server, and a visual network device and the monitoring access server are respectively connected with the network management server and are successfully connected with the network; the monitoring system comprises an Internet side monitoring device, a monitoring access server and a monitoring pull-in server, wherein the Internet side monitoring device is connected to the monitoring access server through the Internet, and the monitoring pull-in server is configured with a main virtual terminal and a plurality of non-main virtual terminals, and the non-main virtual terminals are used for receiving monitoring data sent by the monitoring device.
In the link failure system, the video networking network devices can be video networking terminals or video networking servers, the video networking network devices present a certain topological structure, each video networking network device sends the video networking number of the video networking network device and the video networking numbers of other video networking network devices connected with the video networking network device to a network management server, the network management server sends the video networking numbers to a link perception server, and the link perception server stores information sent by each video networking network device.
When a service is executed through the internet of view network device, a plurality of links may exist, if the link of the internet of view network device executing the service fails, in order to ensure that the service can operate normally, the internet of view network device is decided to send failure link data to the link perception server through the network management server, wherein the failure link data comprises device information of source device, device information of destination device, destination service type of the first service, service user information and the like.
S102, analyzing the fault link data to obtain the video network number of the source equipment, the video network number of the destination equipment and the destination service type of the first service;
Specifically, when the link perception server receives fault link data sent by the first video networking network device, the fault link data is analyzed to obtain a video networking number of the source device, a video networking number of the destination device and a destination service type of the first service, wherein the video networking number can be a 4-bit character string or an 11-bit character string, and the service type comprises video telephone, video conference, live broadcast and the like.
S103, determining a first data link set according to the video-on-line number of the source equipment, the video-on-line number of the destination equipment and a pre-stored data link list; the pre-stored data link list comprises a video network number of video network equipment and a network topological relation formed by the video network equipment;
specifically, the link perception server receives data link information sent by each video networking network device, the link perception server stores the data link information as a data link list, and the data link list comprises the video networking numbers of the video networking network devices and the network topological relation formed by the video networking network devices.
After receiving the fault link data, the link perception server searches other data links from the source equipment to the destination equipment in a pre-stored data link list according to the video network number of the source equipment and the video network number of the destination equipment, and determines the other data links into a first data link set.
S104, determining a second data link corresponding to the destination service type according to the destination service type, the service bearing information of the node visual network equipment in the first data link and the first data link set;
specifically, the link aware server further selects a first data link in the first data link set, and selects a data link corresponding to the destination service type according to the destination service type, for example, if the destination service type is a video phone, then selecting data links of other executable video phones;
the first data link further comprises node visual network equipment, the link perception server acquires service bearing information of each node visual network equipment, the service bearing information comprises CPU occupancy rate and memory occupancy rate, the service bearing information of each node visual network equipment is judged, and if the service bearing information is smaller than a preset value, the corresponding first data link is determined to be a second data link.
And S105, the second data link is sent to a monitoring access server, so that the monitoring access server switches the initial data link into the second data link, and the node in the second data link executes the first service by adopting the second data link through a visual networking network device.
Specifically, after the link aware server obtains the second data link, the link aware server sends the best link information, namely the second data link, to the monitoring access server through the network management server, and after the monitoring access server receives the best link information, the data link service interrupted before is automatically switched to the node view networking network equipment in the second data link, so that the node view networking network equipment in the second data link executes the first service according to the second data link, and the normal operation of the first service is ensured.
According to the link failure processing method provided by the embodiment of the invention, failure link data sent by first visual network equipment is received under the condition that an initial data link of first service executed by the first visual network equipment fails; analyzing the fault link data to obtain the video networking number of the source equipment, the video networking number of the destination equipment and the destination service type of the first service; determining a first data link set according to the video-on number of the source equipment, the video-on number of the destination equipment and a pre-stored data link list; determining a second data link corresponding to the target service type according to the target service type, the service bearing information of the node visual network equipment in the first data link and the first data link set; and switching the initial data link to a second data link so that the first video networking network equipment executes the first service by adopting the second data link, and switching to other links when the links fail during service execution to ensure the normal operation of the service.
The method for processing the link failure provided by the embodiment of the invention is further described in a further embodiment of the invention.
As shown in fig. 2, a flowchart illustrating steps of another embodiment of a method for processing a link failure of the present invention is applied to a link aware server in a link failure system, where the method for processing a link failure includes:
s201, receiving data link information sent by each video networking network device, wherein the data link information comprises video networking numbers, network topological relations, bandwidths, current service types and service bearing information of the video networking network devices.
Each of the video networking network devices sends the data link information to the network management server, the network management server sends the data link information to the link perception server, and the video networking network devices send the video networking numbers of the video networking network devices, video networking numbers, bandwidths, current service types, service bearing information and the like of other video networking network devices connected with the video networking network devices to the link perception server.
Specifically, when the service is performed, a link interruption or a link full condition may occur, and if the link interruption occurs, S202 is executed; if the link is full, executing S203;
S202, under the condition that an initial data link of a first service executed by third visual network equipment is interrupted, fault link data sent by the first visual network equipment is received, wherein the first visual network equipment is superior node equipment of the third visual network equipment.
When the initial data link of the first service executed by the visual network equipment is interrupted, the superior visual network equipment of the visual network equipment sends the fault link data to the link perception server.
And S203, under the condition that the initial data link of the first service executed by the fourth visual network equipment is fully loaded, receiving fault link data sent by the first visual network equipment, wherein the first visual network equipment is lower node equipment of the fourth visual network equipment.
When the initial data link of the first service is fully loaded, the lower-level visual network equipment of the visual network equipment sends fault link data to the link perception server.
S204, analyzing the fault link data to obtain the video network number of the source equipment, the video network number of the destination equipment and the destination service type of the first service;
S205, determining a first data link set according to the video-on-line number of the source equipment, the video-on-line number of the destination equipment and a pre-stored data link list; the pre-stored data link list comprises a video network number of video network equipment and a network topological relation formed by the video network equipment;
since steps S204 to S205 are the same as steps S102 and S103 in the embodiment shown in fig. 1. The steps S102 to S103 have been described in detail in fig. 1, and thus, the descriptions of the steps S204 to S205 are not repeated here.
S206, determining a second data link corresponding to the destination service type according to the destination service type, the service bearing information of the node visual network equipment in the first data link and the first data link set;
specifically, step S206 includes:
step 11, determining a third data link set corresponding to the destination service type according to the destination service type and the first data link set;
step 12, acquiring service bearing information of the node visual network equipment in the third data link, wherein the service bearing information comprises CPU occupancy rate and memory occupancy rate;
Step 13, judging the service bearing information of the node visual networking network equipment;
and step 14, if the CPU occupancy rate is smaller than a first preset value and the memory occupancy rate is smaller than a second preset value, determining the third data link as the second data link.
And S207, the second data link is sent to a monitoring access server, so that the monitoring access server switches the initial data link to the second data link, and the node in the second data link executes the first service by adopting the second data link through a visual networking network device.
S208, if the second video networking network equipment executes the second service through the second data link, acquiring service user information of the second service;
s209, according to the service user information of the second service and the priority of the service user information of the first service, controlling the video networking network equipment to execute the service with high priority through the second data link.
For example, if the second service is originally executed through the second data link and the second service is an external service and the allocated first service is an internal service, the internal service is executed after the external service is executed through the second data link preferentially.
Fig. 3 is a flowchart illustrating steps of another embodiment of a link failure processing method according to the present invention, where, as shown in fig. 3, each of the devices of the internet of view network in fig. 3 is connected to a network management server, and not shown in the figure, a monitoring device needs to be connected to a monitoring access server, and needs to deploy a link aware server in the internet of view. All network devices in the internet of view must be networked. All network devices of the video network can send the data link information of the video network and the subordinate network devices to the network management service in real time, and the network management service can forward the data link information to the link perception server. The link aware server may store the received data link information for the internet of view network device.
The monitoring 1 is watched by the monitoring network management scheduling platform of the video network, and a data link is established in the video network for data transmission. The data link comprises a monitoring device 1, a monitoring access service 1, a visual networking network device F, a visual networking network device E, a visual networking network device X, a visual networking network device O and a visual networking monitoring networking management scheduling platform.
When the data link of the internet-of-view network device F on the link is interrupted, the internet-of-view network device E will send the data link interruption information to the network management server, which forwards the data link interruption information to the link awareness server. The link perception server calculates the stored data link information and the stored data link interruption information of the visual network equipment to obtain the optimal data link. The optimal data link comprises a monitoring device 1, a monitoring access service 1, a visual networking network device A, a visual networking network device B, a visual networking network device X, a visual networking network device O and a visual networking monitoring networking management scheduling platform.
The link perception server sends the optimal link information to the monitoring access server 1 through the network management server, and the monitoring access server 1 automatically slices the data link service interrupted before to the video networking network equipment A after receiving the optimal link information. Therefore, the normal operation of the service of the viewing monitoring 1 of the monitoring networking management scheduling platform of the viewing networking can be ensured.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
According to the link failure processing method provided by the embodiment of the invention, failure link data sent by first visual network equipment is received under the condition that an initial data link of first service executed by the first visual network equipment fails; analyzing the fault link data to obtain the video networking number of the source equipment, the video networking number of the destination equipment and the destination service type of the first service; determining a first data link set according to the video-on number of the source equipment, the video-on number of the destination equipment and a pre-stored data link list; determining a second data link corresponding to the target service type according to the target service type, the service bearing information of the node visual network equipment in the first data link and the first data link set; and switching the initial data link to a second data link so that the first video networking network equipment executes the first service by adopting the second data link, and switching to other links when the links fail during service execution to ensure the normal operation of the service.
Another embodiment of the present invention provides a processing apparatus for link failure, configured to execute the processing method for link failure provided in the foregoing embodiment.
Referring to fig. 4, there is shown a block diagram of an embodiment of a link failure handling apparatus of the present invention, which may be applied to a link aware server in a link failure system, and may specifically include the following modules: a receiving module 401, a parsing module 402, a searching module 403, a determining module 404 and a switching module 405, wherein:
the receiving module 401 is configured to receive, when an initial data link of a first internet-of-view network device executing a first service fails, failure link data sent by the first internet-of-view network device;
the parsing module 402 is configured to parse the fault link data to obtain an internet-of-view number of the source device, an internet-of-view number of the destination device, and a destination service type of the first service;
the searching module 403 is configured to determine a first data link set according to the internet-of-view number of the source device, the internet-of-view number of the destination device, and a pre-stored data link list; the pre-stored data link list comprises a video network number of video network equipment and a network topological relation formed by the video network equipment;
The determining module 404 is configured to determine a second data link corresponding to the destination service type according to the destination service type, service bearer information of the node view networking network device in the first data link, and the first data link set;
the switching module 405 is configured to send the second data link to a monitoring access server, so that the monitoring access server switches the initial data link to the second data link, and the node in the second data link performs the first service with the second data link.
The link failure processing device provided by the embodiment of the invention receives failure link data sent by first visual network equipment under the condition that an initial data link of first service executed by the first visual network equipment fails; analyzing the fault link data to obtain the video networking number of the source equipment, the video networking number of the destination equipment and the destination service type of the first service; determining a first data link set according to the video-on number of the source equipment, the video-on number of the destination equipment and a pre-stored data link list; determining a second data link corresponding to the target service type according to the target service type, the service bearing information of the node visual network equipment in the first data link and the first data link set; and switching the initial data link to a second data link so that the first video networking network equipment executes the first service by adopting the second data link, and switching to other links when the links fail during service execution to ensure the normal operation of the service.
The invention further provides a device for processing the link failure, which is provided by the embodiment.
Optionally, the determining module 404 is configured to:
determining a third data link set corresponding to the destination service type according to the destination service type and the first data link set;
acquiring service bearing information of node visual network equipment in the third data link, wherein the service bearing information comprises CPU occupancy rate and memory occupancy rate;
judging service bearing information of the node visual network equipment;
and if the CPU occupancy rate is smaller than a first preset value and the memory occupancy rate is smaller than a second preset value, determining the third data link as the second data link.
Optionally, the failed link data further includes service user information, and the apparatus further includes an execution module, where the execution module is configured to:
if the second video networking network equipment executes the second service through the second data link, acquiring service user information of the second service;
and controlling the video networking network equipment to execute the service with high priority through a second data link according to the service user information of the second service and the priority of the service user information of the first service.
Optionally, the apparatus further includes an acquisition module, where the acquisition module is configured to:
and receiving data link information sent by each video networking network device, wherein the data link information comprises video networking numbers, network topological relations, bandwidths, current service types and service bearing information of the video networking network devices.
Optionally, the receiving module 401 is configured to:
and under the condition that the third visual network equipment executes the initial data link interruption of the first service, receiving fault link data sent by the first visual network equipment, wherein the first visual network equipment is superior node equipment of the third visual network equipment.
Optionally, the receiving module 401 is configured to:
and under the condition that the fourth visual network equipment executes the full load of the initial data link of the first service, receiving fault link data sent by the first visual network equipment, wherein the first visual network equipment is subordinate node equipment of the fourth visual network equipment.
It should be noted that, in this embodiment, each of the possible embodiments may be implemented separately, or may be implemented in any combination without conflict, which is not limited to the implementation of the present application.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The link failure processing device provided by the embodiment of the invention receives failure link data sent by first visual network equipment under the condition that an initial data link of first service executed by the first visual network equipment fails; analyzing the fault link data to obtain the video networking number of the source equipment, the video networking number of the destination equipment and the destination service type of the first service; determining a first data link set according to the video-on number of the source equipment, the video-on number of the destination equipment and a pre-stored data link list; determining a second data link corresponding to the target service type according to the target service type, the service bearing information of the node visual network equipment in the first data link and the first data link set; and switching the initial data link to a second data link so that the first video networking network equipment executes the first service by adopting the second data link, and switching to other links when the links fail during service execution to ensure the normal operation of the service.
An embodiment of the present invention provides a terminal device, configured to execute the method for processing a link failure provided in the foregoing embodiment.
Fig. 5 is a schematic structural view of a terminal device of the present invention, as shown in fig. 5, the terminal device includes: at least one processor 501 and memory 502;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the method for processing a link failure provided in the foregoing embodiment.
The terminal device provided in this embodiment receives, when an initial data link of a first service executed by a first video network device fails, failure link data sent by the first video network device; analyzing the fault link data to obtain the video networking number of the source equipment, the video networking number of the destination equipment and the destination service type of the first service; determining a first data link set according to the video-on number of the source equipment, the video-on number of the destination equipment and a pre-stored data link list; determining a second data link corresponding to the target service type according to the target service type, the service bearing information of the node visual network equipment in the first data link and the first data link set; and switching the initial data link to a second data link so that the first video networking network equipment executes the first service by adopting the second data link, and switching to other links when the links fail during service execution to ensure the normal operation of the service.
Yet another embodiment of the present application provides a computer readable storage medium having a computer program stored therein, which when executed implements the method for handling link failure provided in any of the above embodiments.
According to the computer readable storage medium of the present embodiment, by receiving failure link data transmitted by a first internet-of-view network device in the case where a failure occurs in an initial data link for the first internet-of-view network device to execute a first service; analyzing the fault link data to obtain the video networking number of the source equipment, the video networking number of the destination equipment and the destination service type of the first service; determining a first data link set according to the video-on number of the source equipment, the video-on number of the destination equipment and a pre-stored data link list; determining a second data link corresponding to the target service type according to the target service type, the service bearing information of the node visual network equipment in the first data link and the first data link set; and switching the initial data link to a second data link so that the first video networking network equipment executes the first service by adopting the second data link, and switching to other links when the links fail during service execution to ensure the normal operation of the service.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, electronic devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing electronic device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or electronic device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or electronic device. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or electronic device that comprises the element.
The above description of the link failure processing method and the link failure processing device provided by the present invention applies specific examples to illustrate the principles and embodiments of the present invention, and the above description of the examples is only used to help understand the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. A method for processing a link failure, the method being applied to a link aware server in a link failure system, the method comprising:
receiving fault link data sent by first video networking network equipment under the condition that an initial data link of first service executed by the first video networking network equipment fails;
analyzing the fault link data to obtain the video network number of the source equipment, the video network number of the destination equipment and the destination service type of the first service;
determining a first data link set according to the video-on number of the source equipment, the video-on number of the destination equipment and a pre-stored data link list; the pre-stored data link list comprises a video network number of video network equipment and a network topological relation formed by the video network equipment;
determining a second data link corresponding to the target service type according to the target service type, service bearing information of the node visual network equipment in the first data link and the first data link set, wherein the service bearing information comprises CPU occupancy rate and memory occupancy rate;
And sending the second data link to a monitoring access server so that the monitoring access server switches the initial data link to the second data link, and the node in the second data link executes the first service by adopting the second data link by the network equipment of the visual network.
2. The method of claim 1, wherein the determining a second data link corresponding to the destination traffic type according to the destination traffic type, traffic bearing information of a node-wise networking network device in the first data link, and the first set of data links, comprises:
determining a third data link set corresponding to the destination service type according to the destination service type and the first data link set;
acquiring service bearing information of node visual network equipment in the third data link, wherein the service bearing information comprises CPU occupancy rate and memory occupancy rate;
judging service bearing information of the node visual network equipment;
and if the CPU occupancy rate is smaller than a first preset value and the memory occupancy rate is smaller than a second preset value, determining the third data link as the second data link.
3. The method of claim 2, wherein the failed link data further comprises service user information, the method further comprising:
if the second video networking network equipment executes the second service through the second data link, acquiring service user information of the second service;
and controlling the video networking network equipment to execute the service with high priority through a second data link according to the service user information of the second service and the priority of the service user information of the first service.
4. The method of claim 1, wherein prior to receiving the failed link data sent by the first video networking network device, the method further comprises:
and receiving data link information sent by each video networking network device, wherein the data link information comprises video networking numbers, network topological relations, bandwidths, current service types and service bearing information of the video networking network devices.
5. The method according to claim 1, wherein receiving the failed link data sent by the first view networking network device in the case that the initial data link of the first view networking network device performing the first service fails, comprises:
And under the condition that the third visual network equipment executes the initial data link interruption of the first service, receiving fault link data sent by the first visual network equipment, wherein the first visual network equipment is superior node equipment of the third visual network equipment.
6. The method according to claim 1, wherein receiving the failed link data sent by the first view networking network device in the case that the initial data link of the first view networking network device performing the first service fails, comprises:
and under the condition that the fourth visual network equipment executes the full load of the initial data link of the first service, receiving fault link data sent by the first visual network equipment, wherein the first visual network equipment is subordinate node equipment of the fourth visual network equipment.
7. A processing apparatus for link failure, the apparatus being adapted for use in a link aware server in a link failure system, the apparatus comprising:
the receiving module is used for receiving fault link data sent by the first visual network equipment under the condition that an initial data link of the first visual network equipment executing the first service fails;
The analysis module is used for analyzing the fault link data to obtain the video networking number of the source equipment, the video networking number of the destination equipment and the destination service type of the first service;
the searching module is used for determining a first data link set according to the video networking number of the source equipment, the video networking number of the destination equipment and a pre-stored data link list; the pre-stored data link list comprises a video network number of video network equipment and a network topological relation formed by the video network equipment;
the determining module is used for determining a second data link corresponding to the target service type according to the target service type, service bearing information of the node visual network equipment in the first data link and the first data link set, wherein the service bearing information comprises CPU occupancy rate and memory occupancy rate;
and the switching module is used for sending the second data link to a monitoring access server so that the monitoring access server switches the initial data link to the second data link, and the node visual network equipment in the second data link executes the first service by adopting the second data link.
8. The apparatus of claim 7, wherein the determining module is configured to:
determining a third data link set corresponding to the destination service type according to the destination service type and the first data link set;
acquiring service bearing information of node visual network equipment in the third data link, wherein the service bearing information comprises CPU occupancy rate and memory occupancy rate;
judging service bearing information of the node visual network equipment;
and if the CPU occupancy rate is smaller than a first preset value and the memory occupancy rate is smaller than a second preset value, determining the third data link as the second data link.
9. A terminal device, comprising: at least one processor and memory;
the memory stores a computer program; the at least one processor executing the computer program stored by the memory to implement the method of handling link failure of any of claims 1-6.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed, implements the method of handling a link failure according to any of claims 1-6.
CN202010948435.4A 2020-09-10 2020-09-10 Link failure processing method and device, terminal equipment and storage medium Active CN112260946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010948435.4A CN112260946B (en) 2020-09-10 2020-09-10 Link failure processing method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010948435.4A CN112260946B (en) 2020-09-10 2020-09-10 Link failure processing method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112260946A CN112260946A (en) 2021-01-22
CN112260946B true CN112260946B (en) 2024-03-19

Family

ID=74232116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010948435.4A Active CN112260946B (en) 2020-09-10 2020-09-10 Link failure processing method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112260946B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114640625A (en) * 2022-03-17 2022-06-17 湖南中车时代通信信号有限公司 Signal transmission method and device, electronic equipment and readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102820987A (en) * 2012-07-30 2012-12-12 华为技术有限公司 Method and device for displaying service route in network failure maintaining
CN106130767A (en) * 2016-09-23 2016-11-16 深圳灵动智网科技有限公司 The system and method that a kind of service path failure monitoring and fault solve
CN106330703A (en) * 2015-06-16 2017-01-11 中兴通讯股份有限公司 Route selection method and device, routing bridge and network
CN106656790A (en) * 2016-12-21 2017-05-10 全球能源互联网研究院 OpenFlow business data transmission method and device
WO2017186004A1 (en) * 2016-04-26 2017-11-02 中兴通讯股份有限公司 Fault reporting method and apparatus, and storage medium
CN108011817A (en) * 2017-11-09 2018-05-08 中国电力科学研究院有限公司 A kind of method and system disposed again to power communication private network business route
CN108347377A (en) * 2017-01-25 2018-07-31 华为技术有限公司 Data forwarding method and device
WO2018214059A1 (en) * 2017-05-24 2018-11-29 深圳市乃斯网络科技有限公司 Method and system for selecting data link in network
CN110311865A (en) * 2018-03-20 2019-10-08 华为技术有限公司 A kind of transmission method and relevant device of video data
CN110933512A (en) * 2019-10-23 2020-03-27 视联动力信息技术股份有限公司 Load determination method and device based on video network
CN111478793A (en) * 2020-03-05 2020-07-31 视联动力信息技术股份有限公司 Service request processing method, device, terminal equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102820987A (en) * 2012-07-30 2012-12-12 华为技术有限公司 Method and device for displaying service route in network failure maintaining
WO2014019402A1 (en) * 2012-07-30 2014-02-06 华为技术有限公司 Method and device for displaying service path in network trouble maintenance
CN106330703A (en) * 2015-06-16 2017-01-11 中兴通讯股份有限公司 Route selection method and device, routing bridge and network
WO2017186004A1 (en) * 2016-04-26 2017-11-02 中兴通讯股份有限公司 Fault reporting method and apparatus, and storage medium
CN106130767A (en) * 2016-09-23 2016-11-16 深圳灵动智网科技有限公司 The system and method that a kind of service path failure monitoring and fault solve
CN106656790A (en) * 2016-12-21 2017-05-10 全球能源互联网研究院 OpenFlow business data transmission method and device
CN108347377A (en) * 2017-01-25 2018-07-31 华为技术有限公司 Data forwarding method and device
WO2018214059A1 (en) * 2017-05-24 2018-11-29 深圳市乃斯网络科技有限公司 Method and system for selecting data link in network
CN108011817A (en) * 2017-11-09 2018-05-08 中国电力科学研究院有限公司 A kind of method and system disposed again to power communication private network business route
CN110311865A (en) * 2018-03-20 2019-10-08 华为技术有限公司 A kind of transmission method and relevant device of video data
CN110933512A (en) * 2019-10-23 2020-03-27 视联动力信息技术股份有限公司 Load determination method and device based on video network
CN111478793A (en) * 2020-03-05 2020-07-31 视联动力信息技术股份有限公司 Service request processing method, device, terminal equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Fault Tolerance of Real-time Video Streaming Protocols over SDN Networks;S. Gaikwad, S. Tafleen, R. Gottumukkala and K. Elgazzar;2018 14th International Wireless Communications & Mobile Computing Conference (IWCMC), Limassol, Cyprus;全文 *
何秀美;沈超.MPLS网中的QoS路径保护机制研究.西安邮电学院学报.2008,(第05期),全文. *

Also Published As

Publication number Publication date
CN112260946A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
US11284126B2 (en) Method and system for streaming media live broadcast
RU2520408C2 (en) Method, apparatus for television service system management in ip data networks and television service system in ip data networks
CN112272291B (en) Video storage method, device, management equipment and readable storage medium
CN113301299B (en) Multi-channel video transmission method, system, terminal and storage medium
CN110445697B (en) Video big data cloud platform equipment access service method
CN103312593B (en) A kind of message distributing system and method
CN111884825A (en) Fault processing method and device, terminal equipment and storage medium
CN102420868A (en) Service providing method, device and system
CN107682411A (en) A kind of extensive SDN controllers cluster and network system
CN105554099A (en) Method and device for balancing load of acquisition servers
CN112260946B (en) Link failure processing method and device, terminal equipment and storage medium
CN115150592A (en) Audio and video transmission method, server and computer readable storage medium
CN108551571B (en) Monitoring video distribution method, device and system and distribution server
CN112866390B (en) Data transmission method, device, terminal equipment and storage medium
CN100589452C (en) Switch processing method of stream media node controller
CN101695044A (en) Stream media service node and load balancing method thereof
EP2876864A1 (en) Program source data processing method and device
CN105634765A (en) Controller replacement method and controller replacement device
CN113422696B (en) Monitoring data updating method, system, equipment and readable storage medium
CN112437146B (en) Equipment state synchronization method, device and system
CN112004161A (en) Processing method and device of address resources, terminal equipment and storage medium
CN111294553B (en) Method, device, equipment and storage medium for processing video monitoring service signaling
CN114301763A (en) Distributed cluster fault processing method and system, electronic device and storage medium
CN111953932A (en) Data processing method and device, terminal equipment and storage medium
CN107147867B (en) Distributed transcoding method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant