CN111049693A - Management node switching method and device, signal transmission system and electronic equipment - Google Patents

Management node switching method and device, signal transmission system and electronic equipment Download PDF

Info

Publication number
CN111049693A
CN111049693A CN201911371880.2A CN201911371880A CN111049693A CN 111049693 A CN111049693 A CN 111049693A CN 201911371880 A CN201911371880 A CN 201911371880A CN 111049693 A CN111049693 A CN 111049693A
Authority
CN
China
Prior art keywords
management node
node
nodes
message
signal transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911371880.2A
Other languages
Chinese (zh)
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.)
Beijing Tricolor Technology Co ltd
Original Assignee
Beijing Tricolor 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 Beijing Tricolor Technology Co ltd filed Critical Beijing Tricolor Technology Co ltd
Priority to CN201911371880.2A priority Critical patent/CN111049693A/en
Publication of CN111049693A publication Critical patent/CN111049693A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a management node switching method, a management node switching device, a signal transmission system and electronic equipment; the method comprises the following steps: selecting one node from the nodes as a management node, wherein the management node is used for managing the signal transmission system; the management node performs the following message sending operations: the management node sends a first message based on a preset time interval; the first message includes address information of a node of the signal transmission system; monitoring a first message by nodes except the management node; and if the time from the current time to the time when the nodes except the management node receive the last first message is larger than the preset time threshold, selecting one node from the nodes except the management node as the management node, and continuing to execute the message sending operation. The method can ensure that one node is selected from the nodes except the management node as the management node when the management node is disconnected so as to switch the management node, thereby improving the operation stability of the signal transmission system.

Description

Management node switching method and device, signal transmission system and electronic equipment
Technical Field
The present invention relates to the field of signal transmission technologies, and in particular, to a management node switching method and apparatus, a signal transmission system, and an electronic device.
Background
The current video splicing control field mainly comprises a centralized system and a distributed system, wherein the centralized signal transmission system means that all input and output are in a plug-in board mode and are arranged in a case, and a single board is broken, for example, short circuit can affect the whole system, so that the system cannot work; the input and output nodes of the distributed signal transmission system are all interconnected through a network, the input node is responsible for video and audio acquisition, the output node is responsible for video and audio output, and the management node is responsible for management control of video and audio streams.
The existing distributed signal transmission system only has one management node and cannot be switched, and if the management node is disconnected, the whole signal transmission system is paralyzed and cannot be controlled.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for switching management nodes, a signal transmission system and an electronic device, so as to switch the management nodes and improve the stability of the operation of the signal transmission system.
In a first aspect, an embodiment of the present invention provides a management node switching method, which is applied to a signal transmission system, where the signal transmission system includes a plurality of nodes; the method comprises the following steps: selecting one node from the nodes as a management node, wherein the management node is used for managing the signal transmission system; the management node performs the following message sending operations: the management node sends a first message based on a preset time interval; the first message includes address information of a node of the signal transmission system; monitoring a first message by nodes except the management node; and if the time from the current time to the time when the nodes except the management node receive the last first message is larger than the preset time threshold, selecting one node from the nodes except the management node as the management node, and continuing to execute the message sending operation.
In a preferred embodiment of the present invention, the step of selecting one of the nodes as a management node includes: nodes are numbered in advance, and the nodes are selected as management nodes based on the numbers.
In a preferred embodiment of the present invention, the first packet further includes a number corresponding to the node.
In a preferred embodiment of the present invention, the step of selecting one of the nodes as a management node includes: receiving a management node selection instruction sent by a user; and selecting the node corresponding to the management node selection instruction as the management node.
In a preferred embodiment of the present invention, the nodes include at least one sending node and at least one receiving node.
In a preferred embodiment of the present invention, the method further includes: if the number of the nodes is larger than a preset number threshold, grouping the nodes, wherein the number of each group of the nodes is smaller than the number threshold; the step of selecting one of the nodes as a management node is performed for each group of nodes.
In a preferred embodiment of the present invention, after the step of selecting one node from the nodes other than the management node as the management node and continuing to perform the message sending operation, the method further includes: and if the off-line management node is on line again, continuing to execute the message sending operation by the current management node.
In a second aspect, an embodiment of the present invention further provides a management node switching apparatus, which is applied to a signal transmission system, where the signal transmission system includes a plurality of nodes; the device comprises: the management node selection module is used for selecting one node from the nodes as a management node, and the management node is used for managing the signal transmission system; the message sending module is used for the management node to execute the following message sending operations: the management node sends a first message based on a preset time interval; the first message includes address information of a node of the signal transmission system; the message monitoring module is used for monitoring a first message by nodes except the management node; and the management node reselection module is used for selecting one node from the nodes except the management node as the management node and continuing to execute the message sending operation if the time from the current time to the node except the management node to receive the last first message is greater than a preset time threshold.
In a third aspect, an embodiment of the present invention further provides a signal transmission system, including: the system comprises a switch, a client and a plurality of nodes, wherein the nodes comprise at least one sending node and at least one receiving node; the switch is in communication connection with both the node and the client; the client is used for executing the management node switching method; a transmitting node for transmitting a signal to the switch; the switch is used for sending the signals to the corresponding receiving nodes according to the signal transmission mode determined by the management node; a receiving node for receiving a signal.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, which includes a processor and a memory, where the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the steps of the management node switching method described above.
The embodiment of the invention has the following beneficial effects:
according to the management node switching method, the management node switching device, the signal transmission system and the electronic equipment, the management node sends the first message, and nodes except the management node monitor the first message; and if the time from the current time to the time when the nodes except the management node receive the last first message is larger than a preset time threshold, selecting one node from the nodes except the management node as the management node. In the mode, one node can be selected from the nodes except the management node as the management node when the management node is disconnected, so that the management node is switched, and the running stability of the signal transmission system is improved.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a management node switching method according to an embodiment of the present invention;
fig. 2 is a flowchart of another management node switching method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a signal transmission system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a management node switching apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, the existing distributed signal transmission system only has one management node and cannot be switched, and if the management node is disconnected, the whole signal transmission system is paralyzed and cannot be controlled. Based on this, the embodiment of the invention provides a management node switching method, a management node switching device, a management node switching signal transmission system and electronic equipment, and the technology is applied to the field of audio and video signal transmission, and particularly relates to an audio and video signal transmission system which does not affect global operation due to single-point failure.
To facilitate understanding of the embodiment, a detailed description is first given of a management node switching method disclosed in the embodiment of the present invention.
Example 1
The embodiment of the invention provides a management node switching method, which is applied to a signal transmission system, wherein the signal transmission system comprises a plurality of nodes. The signal transmission system refers to a system for transmitting signals, and the signal transmission system in this embodiment may be an audio/video signal transmission system, that is, signals transmitted in the signal transmission system are audio signals and video signals. A signal transmission system needs to include a plurality of nodes, which are the start point and the end point of transmission signals, i.e., nodes can transmit signals to be transmitted to other nodes. The device performing the method in this embodiment may be an audio video processing device.
Based on the above description, referring to the flowchart of a management node switching method shown in fig. 1, the management node switching method includes the following steps:
step S102, one node is selected from the nodes to be used as a management node, and the management node is used for managing the signal transmission system.
The management node is used for managing the signal transmission system, namely managing the nodes of the signal transmission system so as to realize corresponding functions, for example, the management node can manage the functions of audio/video switching, large screen windowing, seat management and the like of the signal transmission system, and the audio/video switching is how to switch audio and video; the large-screen windowing is to play audio and video on a large screen, perform audio and video splicing processing and the like, for example, play the video on the large screen; the agent management refers to the management of agents formed by a plurality of computer clients; the seat refers to a unit of a control room, and refers to personnel, a seat station and office tools (a mouse keyboard, a display terminal and the like), and common office scenes include a customer service center, a command center, a dispatching center, a data center, a monitoring center and the like.
It should be noted that, in the signal transmission system, it may be selected as a management node, that is, the node may be a node that transmits a signal or a node that receives a signal, and may be used as a management node.
Step S104, the management node executes the following message sending operation: the management node sends a first message based on a preset time interval; the first message includes address information of a node of the signaling system.
The management node needs to perform a message sending operation, that is, send a first message (the first message may also be referred to as an alive message) to other nodes except the management node, where the sending interval time of the first message is fixed and may be 1-2 s. The first message includes addresses of all nodes of the signal transmission system, for example: assuming that the signal transmission system includes 4 nodes, where a first node is a management node, the first node needs to send a first message to three other nodes at regular intervals, where the first message includes: the addresses of these 4 nodes.
And step S106, monitoring the first message by the nodes except the management node.
After the management node sends the first message, other nodes except the management node monitor the first message, that is, the other nodes except the management node can receive the first message once every a period of time, and if the first message is not received for a long time, the problem of communication of the management node is shown.
Step S108, if the time from the current time to the time that the nodes except the management node receive the last first message is larger than the preset time threshold, selecting one node from the nodes except the management node as the management node, and continuing to execute the message sending operation.
If the time from the current time to the previous first packet received by the nodes except the management node is greater than the preset time threshold (the time threshold here may be 3 times of the first packet transmission interval), it indicates that the other nodes except the management node do not receive the first packet for a long time, and then the management node is likely to have a communication problem.
It should be noted that, after determining the new management node, if the communication of the old management node is recovered to normal, the old management node does not execute the function of the management node any more, and does not send the first message; instead, the new management node performs the function of the management node and sends the first packet.
In the management node switching method provided by the embodiment of the invention, a management node sends a first message, and nodes except the management node monitor the first message; and if the time from the current time to the time when the nodes except the management node receive the last first message is larger than a preset time threshold, selecting one node from the nodes except the management node as the management node. In the mode, one node can be selected from the nodes except the management node as the management node when the management node is disconnected, so that the management node is switched, and the running stability of the signal transmission system is improved.
Example 2
The embodiment of the invention also provides another management node switching method; the method is realized on the basis of the method of the embodiment; the method mainly describes a specific implementation mode of selecting one node from the nodes as a management node.
As shown in fig. 2, another management node switching method is a flowchart, and the management node switching method includes the following steps:
in step S202, the nodes are numbered in advance, and the nodes are selected as management nodes based on the numbers.
The nodes of the signal transmission system in this embodiment include at least one transmitting node and at least one receiving node. The transmitting node is used for transmitting signals, and the receiving node is used for receiving signals. The transmitting node can be an input end box, and the input end box is used for encoding the audio and video and transmitting the encoded audio and video; the receiving node can be an output terminal box, the output terminal box is a box for outputting after audio and video processing, and the function is to process the received audio and video, such as decoding and the like.
All nodes of the signal transmission system are numbered in advance, and a sending node and a node are not divided, for example: the signal transmission system has two transmitting nodes and two receiving nodes, which may be numbered 1, 2, 3, 4, respectively.
For example, the client software numbers the sending-end box and the receiving-end box in sequence, transmits the number information to the switch through the network, and the switch inputs the number information to the sending-end box and the receiving-end box.
Based on the numbers, the node is selected as the management node, the node with the smallest number may be selected as the management node, and the node with the largest number may also be selected as the management node, for example: the node with the smallest number is selected as the management node, and the node with the number 1 is used as the management node.
For example, the client software designates a box with the minimum number as a management node through a network and a switch, and the box with the function of the management node regularly sends an online (i.e., normally working) data message to the network in a multicast manner, wherein the frequency is once per second, the data message is named as an alive message, and the alive message contains the number of the box and IP (internet protocol) address information.
In addition to selecting a node as a management node based on the number, the node may be designated by a user as a management node by: receiving a management node selection instruction sent by a user; and selecting the node corresponding to the management node selection instruction as the management node. The user firstly sends a management node selection instruction to the client, and the node with the corresponding number or the corresponding address can be selected as the management node according to the management node selection instruction.
For example, after the system is built, the client and all node boxes are connected, the client designates any online input end and receiving end box as a management node box through a network and a switch, the management node box sends an alive message to the network, other boxes monitor the alive message and receive the control of the management node box, meanwhile, client software also monitors the alive message to ensure the normal operation of the whole system, and if other boxes or client software cannot receive the alive message for 3 times continuously, the client designates the management node again.
Step S204, the management node executes the following message sending operation: the management node sends a first message based on a preset time interval; the first message includes address information of a node of the signaling system.
If the nodes are numbered in advance, the first message sent includes the address information of the nodes of the signal transmission system, and also includes the numbers corresponding to all the nodes. For example: node 1, address xxx; node 2, address xxx … …, and so on.
In step S206, the nodes except the management node monitor the first packet.
All sending end boxes and receiving end boxes are added with multicast taking a box with a function of managing nodes as a sending unit, and an alive message is monitored and controlled by the box with the function of managing nodes. And the software client monitors the alive message, so that the box control system with the function of managing the node is ensured, the software client can be closed, and the closing and the opening of the software client do not influence the management control function of the management node box on the system.
Step S208, if the time from the current time to the time when the nodes except the management node receive the last first message is larger than the preset time threshold, selecting one node from the nodes except the management node as the management node, and continuing to execute the message sending operation.
When other boxes or client software cannot receive an alive message for a long time, the management node is determined to be offline, the box with the minimum number in the online state boxes is automatically converted into the management node, information and the serial number of the last control node are recorded, and message sending operation is continuously executed.
If the off-line management node is on-line again, the management right can not be preempted, namely if the off-line management node is on-line again, the current management node continues to execute the message sending operation.
When the offline box is online again, the offline box does not seize the management right, the offline box does not send an alive message, and the current box (namely the box reselected after the offline box) continues to send the alive message. Only when the box with the function of managing the nodes is disconnected, the box with the minimum number can be automatically converted into the managing nodes.
When the system is large and the boxes of the sending end and the receiving end are large, we select the multi-node control mode, need to group the nodes, and execute through step a 1-step a 2:
step A1, if the number of nodes is larger than the preset number threshold, the nodes are grouped, wherein the number of nodes in each group is smaller than the number threshold.
All nodes are divided into a plurality of groups, and the number of stages of each group is smaller than a preset number threshold value. The client sequentially numbers the sending end boxes and the receiving end boxes of each group, the number information is transmitted to the switch through the network, and the switch inputs the number information to the sending end boxes and the receiving end boxes.
Step a2, for each group of nodes, performs the step of selecting one of the nodes as the management node.
Selecting a management node for a group independently, for example, grouping all the sending end boxes and all the receiving end boxes by client software, for example, 1 to n are a group, n +1 to m + n are a group, and so on; the client software appoints the box with the minimum number in each group as a management node through a network and a switch, and sends the same control command to all the appointed management nodes; the working steps in all the groups are as in steps S202-S208, and are not described in detail here. The normal work of other groups is not influenced by the disconnection, conversion and restarting of the control node box in one group.
The technical scheme is illustrated in a single control node mode without grouping: the method comprises the steps that two sending end boxes and two receiving end boxes are arranged in a building system, the sending end boxes and the receiving end boxes are sequentially numbered as 1, 2, 3 and 4, after power is on, client software designates the box numbered as 1 as a management node, an alive message is sent to a network, the boxes numbered as 2, 3 and 4 monitor the alive message, the control of the box numbered as 1 is received, the system normally works, meanwhile, the client software also monitors the alive message, and the working state of the management node is tracked.
When the boxes with the numbers of 2, 3 and 4 do not receive the alive messages sent by the management node box 1 for 3 times continuously, the box with the number of 2 is automatically converted into the management node box, meanwhile, the information and the serial number of the box with the number of 1 are recorded, the alive messages are sent to the network in a multicast mode, and the boxes with the numbers of 3 and 4 receive the control of the box with the number of 2.
When the box numbered 1 returns to normal, the box numbered 1 does not send an alive message to the network in the system but receives the control of the box numbered 2. The function is to ensure that the management box is not influenced by the recovery of the previous management box when working normally; when the box with the number of 2 is disconnected and loses connection, the box with the number of 1 is converted into a management node box again to send an alive message to the network, and the management system works normally.
According to the method provided by the embodiment of the invention, the management node is not fixed, and the management node can be selected according to the control of the client to control the whole audio and video transmission system. Any box of the signal transmission system can be used as a management node, and the control of the whole system is not influenced when any box is damaged. For the input and output functions, because the input and output functions are connected with each other through a network, the short circuit of a single box does not influence the normal work of other boxes.
Example 3
An embodiment of the present invention further provides a signal transmission system, such as a schematic structural diagram of the signal transmission system shown in fig. 3, where the signal transmission system includes: a switch 31, a client 32, and a plurality of nodes including at least one sending node 331 and at least one receiving node 332; the switch 31 is in communication connection with both the node and the client 32;
and the client 32 is used for executing the management node switching method.
The client is interconnected with the switch through a network, and sends a control signal to the switch to control the switching of videos and audios, monitor an alive message and designate a management node.
The transmission node 331 is configured to transmit a signal to the switch 31.
The transmitting node can be a transmitting end box, is interconnected with the switch through a network, is internally provided with a management node function, is responsible for audio and video acquisition, and is packaged into an IP data packet to be transmitted to the switch.
The switch 31 is configured to send the signal to the corresponding receiving node 332 according to the signal transmission mode determined by the management node.
And the switch is respectively interconnected with the software client, the sending end box and the receiving end box through a network, receives a control instruction of the software client and is responsible for exchanging the audio and video IP message.
And a receiving node 332 for receiving signals.
The receiving node can be a receiving end box, is interconnected with the switch through a network, is internally provided with a management node function, receives the IP message, converts the IP message into an audio and video signal and sends the audio and video signal to the audio and video playing equipment.
The signal transmission system provided by the embodiment of the present invention has the same technical features as the management node switching method provided by the above embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Example 4
Corresponding to the above method embodiment, an embodiment of the present invention provides a management node switching apparatus, which is applied to a signal transmission system, where the signal transmission system includes a plurality of nodes; fig. 4 is a schematic structural diagram of a management node switching apparatus, where the management node switching apparatus includes:
a management node selection module 41, configured to select one node from the nodes as a management node, where the management node is used to manage the signal transmission system;
a message sending module 42, configured to execute the following message sending operations by the management node: the management node sends a first message based on a preset time interval; the first message includes address information of a node of the signal transmission system;
a message monitoring module 43, configured to monitor a first message by a node other than the management node;
and the management node reselection module 44 is configured to, if the time between the current time and the time when the node other than the management node receives the previous first packet is greater than a preset time threshold, select one node from the nodes other than the management node as the management node, and continue to perform packet sending operation.
In the management node switching device provided by the embodiment of the invention, a management node sends a first message, and nodes except the management node monitor the first message; and if the time from the current time to the time when the nodes except the management node receive the last first message is larger than a preset time threshold, selecting one node from the nodes except the management node as the management node. In the mode, one node can be selected from the nodes except the management node as the management node when the management node is disconnected, so that the management node is switched, and the running stability of the signal transmission system is improved.
In some embodiments, the management node selection module is configured to number the nodes in advance, and select the nodes as the management nodes based on the numbers.
In some embodiments, the first packet further includes a number corresponding to the node.
In some embodiments, the management node selection module is configured to receive a management node selection instruction sent by a user; and selecting the node corresponding to the management node selection instruction as the management node.
In some embodiments, the nodes include at least one transmitting node and at least one receiving node.
In some embodiments, the apparatus further comprises a grouping management node selection module for grouping the nodes if the number of nodes is greater than a preset number threshold, wherein the number of nodes per group is less than the number threshold; the step of selecting one of the nodes as a management node is performed for each group of nodes.
In some embodiments, the apparatus further includes a management node re-online module, configured to continue to perform the packet sending operation by the current management node if the dropped management node is re-online.
The management node switching device provided by the embodiment of the invention has the same technical characteristics as the management node switching method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Example 5
The embodiment of the invention also provides an electronic device, which is used for operating the management node switching method; referring to fig. 5, a schematic structural diagram of an electronic device includes a memory 100 and a processor 101, where the memory 100 is configured to store one or more computer instructions, and the one or more computer instructions are executed by the processor 101 to implement the management node switching method.
Further, the electronic device shown in fig. 5 further includes a bus 102 and a communication interface 103, and the processor 101, the communication interface 103, and the memory 100 are connected through the bus 102.
The Memory 100 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 102 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
The processor 101 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 101. The Processor 101 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100, and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to implement the management node switching method.
The management node switching method, the management node switching apparatus, the signal transmission system, and the computer program product of the electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and/or the electronic device described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A management node switching method is applied to a signal transmission system, wherein the signal transmission system comprises a plurality of nodes; the method comprises the following steps:
selecting one node from the nodes as a management node, wherein the management node is used for managing the signal transmission system;
the management node performs the following message sending operations: the management node sends a first message based on a preset time interval; the first message includes address information of a node of the signal transmission system;
monitoring the first message by nodes except the management node;
and if the time from the current time to the time that the nodes except the management node receive the last first message is larger than a preset time threshold, selecting one node from the nodes except the management node as the management node, and continuing to execute the message sending operation.
2. The method of claim 1, wherein the step of selecting one of the nodes as a management node comprises:
and numbering the nodes in advance, and selecting the nodes as management nodes based on the numbers.
3. The method of claim 2, wherein the first packet further comprises a number corresponding to the node.
4. The method of claim 1, wherein the step of selecting one of the nodes as a management node comprises:
receiving a management node selection instruction sent by a user;
and selecting the node corresponding to the management node selection instruction as the management node.
5. The method of claim 1, wherein the nodes comprise at least one sending node and at least one receiving node.
6. The method of claim 1, further comprising:
grouping the nodes if the number of nodes is greater than a preset number threshold, wherein the number of nodes per group is less than the number threshold;
and for each set of said nodes, performing said step of selecting one of said nodes as a management node.
7. The method according to claim 1, wherein after the step of selecting one of the nodes other than the management node as a management node and continuing to perform the packet sending operation, the method further comprises:
and if the off-line management node is on line again, continuing to execute the message sending operation by the current management node.
8. The management node switching device is applied to a signal transmission system, and the signal transmission system comprises a plurality of nodes; the device comprises:
a management node selection module, configured to select one node from the nodes as a management node, where the management node is used to manage the signal transmission system;
a message sending module, configured to execute the following message sending operations by the management node: the management node sends a first message based on a preset time interval; the first message includes address information of a node of the signal transmission system;
the message monitoring module is used for monitoring the first message by nodes except the management node;
and the management node reselection module is used for selecting one node from the nodes except the management node as the management node and continuing to execute the message sending operation if the time from the current time to the time when the nodes except the management node receive the last first message is greater than a preset time threshold.
9. A signal transmission system, comprising: the system comprises a switch, a client and a plurality of nodes, wherein the nodes comprise at least one sending node and at least one receiving node; the switch is in communication connection with both the node and the client;
the client, configured to perform the management node switching method according to any one of claims 1 to 7;
the transmitting node is used for transmitting signals to the switch;
the switch is used for sending the signal to the corresponding receiving node according to the signal transmission mode determined by the management node;
the receiving node is configured to receive the signal.
10. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor for performing the steps of the management node switching method of any of claims 1 to 7.
CN201911371880.2A 2019-12-26 2019-12-26 Management node switching method and device, signal transmission system and electronic equipment Pending CN111049693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911371880.2A CN111049693A (en) 2019-12-26 2019-12-26 Management node switching method and device, signal transmission system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911371880.2A CN111049693A (en) 2019-12-26 2019-12-26 Management node switching method and device, signal transmission system and electronic equipment

Publications (1)

Publication Number Publication Date
CN111049693A true CN111049693A (en) 2020-04-21

Family

ID=70239258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911371880.2A Pending CN111049693A (en) 2019-12-26 2019-12-26 Management node switching method and device, signal transmission system and electronic equipment

Country Status (1)

Country Link
CN (1) CN111049693A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10244511B1 (en) * 2017-08-31 2019-03-26 Synapse Wireless, Inc. Systems and methods for selecting a node management device in a wireless network
CN109542627A (en) * 2018-11-30 2019-03-29 北京金山云网络技术有限公司 Node switching method, device, supervisor, node device and distributed system
CN109787795A (en) * 2017-11-13 2019-05-21 比亚迪股份有限公司 Processing method, node and the electronic equipment of train network host node failure

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10244511B1 (en) * 2017-08-31 2019-03-26 Synapse Wireless, Inc. Systems and methods for selecting a node management device in a wireless network
CN109787795A (en) * 2017-11-13 2019-05-21 比亚迪股份有限公司 Processing method, node and the electronic equipment of train network host node failure
CN109542627A (en) * 2018-11-30 2019-03-29 北京金山云网络技术有限公司 Node switching method, device, supervisor, node device and distributed system

Similar Documents

Publication Publication Date Title
US9608900B2 (en) Techniques for flooding optimization for link state protocols in a network topology
WO2016165463A1 (en) Software defined network-based link failure reporting method and forwarding device
CN105684382A (en) Packet control method, switch and controller
CN106789264B (en) A kind of method and apparatus that link aggregation group channel is switched fast
CN107800791B (en) Debugging method and device
US9071513B2 (en) Path switch-back method and apparatus in transport network
JP5143286B2 (en) Communication system and communication device state determination method
US10862735B2 (en) Method and apparatus for implementing operation, administration, and maintenance function
US9059899B2 (en) Method and system for interrupt throttling and prevention of frequent toggling of protection groups in a communication network
US20130148512A1 (en) Distributed control plane for link aggregation
CN107204924B (en) Link discovery method and device
CN109347674B (en) Data transmission method and device and electronic equipment
CN107948000B (en) Method, device and system for switching main channel and standby channel
WO2014117499A1 (en) Multicast recovering method and apparatus, and relay device comprising multicast recovering apparatus
CN111049693A (en) Management node switching method and device, signal transmission system and electronic equipment
CN108337181B (en) Method and device for managing congestion of switching network
CN100512129C (en) End-to-end information transmission method and system
WO2024082471A1 (en) Inter-node link status monitoring method and apparatus
CN103401780A (en) Method and equipment for building routing by linking RIP (routing information protocol) with BFD (bidirectional forwarding detection)
CN109862436B (en) Streaming media signal distribution device and streaming media signal quality detection method
CN105376130A (en) Relay system and relay device
US9806939B2 (en) Method and apparatus for linear protection switching
JP6591828B2 (en) Relay device and relay system
KR101627796B1 (en) Device Indicator Data Transmitting Method for Network based AV System
Hung et al. Experimental study on improvement of network performance and reliability in SDN environments

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200421