CN110445701B - Business object processing method and device and storage medium - Google Patents

Business object processing method and device and storage medium Download PDF

Info

Publication number
CN110445701B
CN110445701B CN201910584339.3A CN201910584339A CN110445701B CN 110445701 B CN110445701 B CN 110445701B CN 201910584339 A CN201910584339 A CN 201910584339A CN 110445701 B CN110445701 B CN 110445701B
Authority
CN
China
Prior art keywords
video network
terminal
network tunnel
tunnel
link state
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
CN201910584339.3A
Other languages
Chinese (zh)
Other versions
CN110445701A (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 CN201910584339.3A priority Critical patent/CN110445701B/en
Publication of CN110445701A publication Critical patent/CN110445701A/en
Application granted granted Critical
Publication of CN110445701B publication Critical patent/CN110445701B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing

Abstract

The embodiment of the invention provides a method, a device and a storage medium for processing a business object, wherein the method comprises the following steps: the method comprises the steps that a first terminal detects a first link state of a first video network tunnel and a second link state of a second video network tunnel, and a target video network tunnel is determined according to the first link state, the second link state and tunnel rules; the first terminal judges whether the current working path or the default working path is the same as the target video networking tunnel or not; and when the current working path is different from the target video network tunnel, switching the current working path to the target video network tunnel, or when the default working path is different from the target video network tunnel, switching the default working path to the target video network tunnel. The embodiment of the invention ensures the smooth execution of the business object and improves the success rate and the reliability of the execution of the business object. In addition, the embodiment of the invention takes the target video network tunnel as the working path of the business object.

Description

Business object processing method and device and storage medium
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method and an apparatus for processing a service object, and a computer-readable storage medium.
Background
The video network is a special network for transmitting high-definition video and a special protocol at high speed based on Ethernet hardware, is a higher-level form of the Ethernet and is a real-time network. A point-to-point video network tunnel can be established through the devices in the video network. One side of the tunnel of the video network can be accessed to the video network, and the other side of the tunnel of the video network can be accessed to the non-video network (such as the internet, an IPTV private network, a business private network in other fields, and the like).
The service objects between the video network and the non-video network can be executed by utilizing the video network tunnel, such as video call service, video conference service, video on demand service and the like. The video network tunnel is used for bearing service data between the video network and the non-video network. However, under the influence of factors such as construction, weather or network operator link failure, the condition that the internet of view tunnels cannot be connected may occur, resulting in the problem that the service object cannot be executed normally.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide a business object processing method, apparatus and computer-readable storage medium that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for processing a service object, where the method is applied to a video network, the video network includes a first terminal and a second terminal, and the first terminal and the second terminal are in communication connection through a first video network tunnel and a second video network tunnel; the method comprises the following steps: the first terminal detects a first link state of the first video network tunnel according to a preset first period, and detects a second link state of the second video network tunnel according to a preset second period; the first terminal determines to obtain a target video networking tunnel from the first video networking tunnel and the second video networking tunnel according to the first link state, the second link state and a preset tunnel rule; the first terminal judges whether the current working path of the executing business object or the default working path of the business object to be executed is the same as the target video network tunnel or not; the first terminal switches the current working path to the target video network tunnel under the condition that the current working path is different from the target video network tunnel, so that the executing business object is executed based on the target video network tunnel, or switches the default working path to the target video network tunnel under the condition that the default working path is different from the target video network tunnel, so that the business object to be executed is executed based on the target video network tunnel.
Optionally, the first link state is a connected state or a disconnected state, and the second link state is a connected state or a disconnected state; the step that the first terminal determines to obtain a target video network tunnel from the first video network tunnel and the second video network tunnel according to the first link state, the second link state and a preset tunnel rule comprises the following steps: when the first link state is a connected state and the second link state is a connected state, the first terminal determines the first video network tunnel as the target video network tunnel; when the first link state is a connected state and the second link state is a disconnected state, the first terminal determines the first video network tunnel as the target video network tunnel; when the first link state is a disconnected state and the second link state is a connected state, the first terminal determines the second video networking tunnel as the target video networking tunnel; and when the first link state is a disconnected state and the second link state is a disconnected state, the first terminal determines the first video network tunnel as the target video network tunnel.
Optionally, after the steps of detecting, by the first terminal, a first link state of the first video network tunnel according to a preset first cycle and detecting a second link state of the second video network tunnel according to a preset second cycle, the method further includes: and the first terminal generates and displays prompt information, wherein the prompt information comprises the first link state and the second link state.
Optionally, the step of detecting, by the first terminal, a first link status of the first video network tunnel according to a preset first cycle includes: the first terminal generates a first detection message according to the first period, and sends the first detection message to the second terminal through the first video network tunnel, and the second terminal is used for detecting the first link state of the first video network tunnel according to the first detection message; and the first terminal judges whether a second detection message generated by the second terminal is received or not, and determines the first link state of the first video network tunnel according to the judgment result.
Optionally, the step of detecting, by the first terminal, a second link state of the second video network tunnel according to a preset second period includes: the first terminal generates a third detection message according to the second period, and sends the third detection message to the second terminal through the second video network tunnel, and the second terminal is used for detecting the second link state of the second video network tunnel according to the third detection message; and the first terminal judges whether a fourth detection message generated by the second terminal is received or not, and determines the second link state of the second video network tunnel according to the judgment result.
Optionally, the first period is the same as the second period.
The embodiment of the invention also discloses a device for processing the service object, which is applied to the video network, wherein the video network comprises a first terminal and a second terminal, the device is arranged in the first terminal, and the first terminal is in communication connection with the second terminal through a first video network tunnel and a second video network tunnel; the device comprises: the detection module is used for detecting a first link state of the first video network tunnel according to a preset first period and detecting a second link state of the second video network tunnel according to a preset second period; the determining module is used for determining and obtaining a target video networking tunnel from the first video networking tunnel and the second video networking tunnel according to the first link state, the second link state and a preset tunnel rule; the judging module is used for judging whether the current working path of the executing business object or the default working path of the business object to be executed is the same as the target video network tunnel or not; and the switching module is used for switching the current working path to the target video network tunnel under the condition that the current working path is different from the target video network tunnel so that the first terminal executes the executing business object based on the target video network tunnel, or switching the default working path to the target video network tunnel under the condition that the default working path is different from the target video network tunnel so that the first terminal executes the business object to be executed based on the target video network tunnel.
Optionally, the first link state is a connected state or a disconnected state, and the second link state is a connected state or a disconnected state; the determining module is configured to determine the first video networking tunnel as the target video networking tunnel when the first link state is a connected state and the second link state is a connected state; when the first link state is a connected state and the second link state is a disconnected state, determining the first video network tunnel as the target video network tunnel; when the first link state is a disconnected state and the second link state is a connected state, determining the second video networking tunnel as the target video networking tunnel; when the first link state is a disconnected state and the second link state is a disconnected state, determining the first video network tunnel as the target video network tunnel.
Optionally, the apparatus further comprises: and the prompt module is used for generating and displaying prompt information after the detection module detects the first link state of the first video network tunnel according to a preset first period and detects the second link state of the second video network tunnel according to a preset second period, wherein the prompt information comprises the first link state and the second link state.
Optionally, the detection module includes: a first message generation sub-module, configured to generate a first detection message according to the first cycle, and send the first detection message to the second terminal through the first video networking tunnel, where the second terminal is configured to detect the first link state of the first video networking tunnel according to the first detection message; and the first result judging submodule is used for judging whether the first terminal receives a second detection message generated by the second terminal or not and determining the first link state of the first video network tunnel according to the judgment result.
Optionally, the detection module includes: a third message generation sub-module, configured to generate a third detection message according to the second period, and send the third detection message to the second terminal through the second video networking tunnel, where the second terminal is configured to detect the second link state of the second video networking tunnel according to the third detection message; and the second result judgment submodule is used for judging whether the first terminal receives a fourth detection message generated by the second terminal or not and determining the second link state of the second video network tunnel according to the judgment result.
Optionally, the first period is the same as the second period.
The embodiment of the invention also discloses a device, which comprises:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more methods of processing business objects according to embodiments of the invention.
The embodiment of the invention also discloses a computer readable storage medium, and the stored computer program enables a processor to execute the processing method of the business object according to the embodiment of the invention.
The embodiment of the invention has the following advantages:
the processing scheme of the service object provided by the embodiment of the invention is applied to the video network, the video network can comprise a first terminal and a second terminal, the first terminal and the second terminal can be in communication connection through a first video network tunnel and a second video network tunnel, that is to say, two video network tunnels can be arranged between the first terminal and the second terminal.
In the embodiment of the present invention, the first terminal may detect a first link state of the first video network tunnel according to a first period, detect a second link state of the second video network tunnel according to a second period, and determine the target video network tunnel from the first video network tunnel and the second video network tunnel according to the first link state, the second link state, and a tunnel rule. The first terminal judges whether the current working path of the executing business object or the default working path of the business object to be executed is the same as the target video network tunnel. If the current working path of the executing business object is different from the target video network tunnel, the first terminal switches the current working path to the target video network tunnel so as to execute the executing business object based on the target video network tunnel. If the default working path of the service object to be executed is different from the target video network tunnel, the first terminal switches the default working path to the target video network tunnel so as to execute the service object to be executed based on the target video network tunnel.
In the embodiment of the invention, a plurality of video network tunnels can be arranged between the first terminal and the second terminal, the first terminal can detect the link state of each video network tunnel, and then the target video network tunnel is determined according to the link state of each video network tunnel and the preset tunnel rule. When the current working path of the executing business object or the default working path of the business object to be executed is different from the target video network tunnel, the first terminal may switch the current working path of the executing business object or the default working path of the business object to be executed as the target video network tunnel. The embodiment of the invention is provided with a plurality of video network tunnels, and can select the video network tunnels which are normally communicated to execute the service object under the condition that part of the video network tunnels can not be communicated, thereby ensuring the smooth execution of the service object and improving the success rate and the reliability of the execution of the service object. In addition, the embodiment of the invention can also select one target video network tunnel from the plurality of video network tunnels, and the target video network tunnel is used as the working path of the business object no matter whether the target video network tunnel is normally or abnormally communicated.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flowchart illustrating steps of a method for processing a business object according to an embodiment of the present invention;
fig. 6 is a schematic connection diagram of devices in a method for executing a video networking service according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating steps in a method for performing a video networking service in accordance with an embodiment of the present invention;
FIG. 8 is a block diagram of a device for processing a business object according to an embodiment of the present invention;
fig. 9 is a block diagram of an apparatus for executing a video networking service according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the packets coming from the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues and may include two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Referring to fig. 5, a flowchart illustrating steps of a method for processing a service object according to an embodiment of the present invention is shown, where the method may be applied to a video network, where the video network may include a first terminal and a second terminal, and the first terminal and the second terminal may be communicatively connected through a first video network tunnel and a second video network tunnel. The first terminal and the second terminal can comprise terminal equipment such as a cat (also called a cat equipment), a cat king (also called a cat king equipment) and the like. When the first terminal is the viewing united cat, the second terminal is the viewing united cat king, and when the first terminal is the viewing united cat king, the second terminal is the viewing united cat. The internet of view cat is a product for expanding the research and development of the application of the internet of view platform in order to meet the application requirement of accessing the non-internet of view users by the internet of view users, and is an access device for the internet of view to bear the existing network application based on an IP system. The cat king is a product for expanding the application research and development of a video networking platform in order to meet the application requirement of a video networking user on accessing a non-video networking, and is convergence equipment for carrying the existing network application based on an IP system in the video networking. A plurality of point-to-point video network tunnels such as a first video network tunnel and a second video network tunnel can be established through the video modem and the video modem. The establishment process of the video networking tunnel can be divided into two steps, firstly, the video networking cat and the video networking cat king are connected in a node server, then, the video networking cat starts to actively dial, and the video networking tunnel and the video networking cat king establish a video telephone service. The view networking tunnel established by the view networking cat and the view networking cat king in one physical link is a first view networking tunnel, and the view networking tunnel established by the view networking cat and the view networking cat king in the other physical link is a second view networking tunnel. As can be seen, the first and second video networking tunnels are established based on two mutually independent physical links.
The method for processing the service object provided by the embodiment of the invention specifically comprises the following steps:
step 501, a first terminal detects a first link state of a first video network tunnel according to a preset first period, and detects a second link state of a second video network tunnel according to a preset second period.
In this step 501, the first terminal may detect link states of the first and second video networking tunnels. Specifically, the first terminal may detect a first link state of the first video network tunnel according to a preset first period, and the first terminal may also detect a second link state of the second video network tunnel according to a preset second period. Wherein the first period and the second period may be the same. The specific time lengths of the first period and the second period may be set according to actual conditions, in practical applications, the first period and the second period may be a longer time period or a shorter time period, and when the time lengths of the first period and the second period are very short, it may be understood that the first terminal detects the link states of the first video network tunnel and the second video network tunnel in real time.
In a preferred embodiment of the present invention, when the first terminal detects the first link status of the first internet-of-view tunnel according to the first period, the first terminal may generate a first detection packet according to the first period, and send the first detection packet to the second terminal through the first internet-of-view tunnel. The second terminal can detect the first link state of the first video network tunnel according to the first detection message, and if the second terminal does not receive the first detection message within a certain time, the first link state is determined to be a disconnected state; and if the second terminal receives the first detection message within a certain time, determining that the first link state is the connected state. When the first terminal sends the first detection message, whether a second detection message generated by the second terminal is received or not can be judged, the first link state of the first video network tunnel is determined according to the judgment result, and if the first terminal does not receive the second detection message within a certain time, the first link state is determined to be a disconnected state; and if the first terminal receives the second detection message within a certain time, determining that the first link state is the connected state.
When the first terminal generates the first detection message, the first terminal may generate the first detection message in response to an input operation of a user, where the first detection message may include a preset identifier and an identifier of the first video network tunnel, and the preset identifier may be used to indicate that the second terminal, when receiving a message including the preset identifier, proves that the message is used to detect connectivity of the first video network tunnel. The preset identifier may be a letter, a number, or a combination of a letter and a number, and the like, and the content, the format, and the like of the first detection packet are not particularly limited in the embodiment of the present invention. Generally speaking, if the second terminal receives the first detection message, it indicates that the first video network tunnel is connected.
The first terminal judges whether a second detection message generated by the second terminal is received or not, and when the first link state of the first video network tunnel is determined according to the judgment result, the first terminal can judge whether the second detection message is received within the preset time length or not, and if the first terminal receives the second detection message within the preset time length, the first link state of the first video network tunnel is determined to be the connected state; and if the first terminal does not receive the second detection message within the preset time length, determining that the first link state of the first video network tunnel is a disconnected state. The second detection message may include a preset identifier, an identifier of the first video network tunnel, and an identifier of the second terminal, and the content, the format, and the like of the second detection message are not specifically limited in the embodiment of the present invention.
Similarly, referring to the execution process of the first terminal detecting the first link state of the first video network tunnel, the first terminal may detect the second link state of the second video network tunnel according to the second period, which is not described herein again.
Step 502, the first terminal determines to obtain a target video network tunnel from the first video network tunnel and the second video network tunnel according to the first link state, the second link state and a preset tunnel rule.
As described above, the first link state may be a connected state or a disconnected state, and the second link state may also be a connected state or a disconnected state. In the process that the first terminal determines the target video networking tunnel according to the tunnel rule, if the first link state is the connected state and the second link state is the connected state, the first terminal determines the first video networking tunnel as the target video networking tunnel. And if the first link state is the connected state and the second link state is the disconnected state, the first terminal determines the first video network tunnel as the target video network tunnel. And if the first link state is a disconnected state and the second link state is a connected state, the first terminal determines the second video network tunnel as a target video network tunnel. And if the first link state is a disconnected state and the second link state is a disconnected state, the first terminal determines the first video network tunnel as a target video network tunnel.
The above tunnel rule can be represented by table 1:
the first link state is a connected state The first link state is a disconnected state
The second link state is a connected state The first video network tunnel is a target video network tunnel The second video network tunnel is a target video network tunnel
The second link state is a disconnected state The first video network tunnel is a target video network tunnel The first video network tunnel is a target video network tunnel
TABLE 1
It should be noted that the above tunnel rule is only an exemplary illustration, and the tunnel rule may be set according to an actual situation in the embodiment of the present invention.
In a preferred embodiment of the present invention, whether the first link status is a disconnected status or a connected status, and whether the second link status is a disconnected status or a connected status, the first terminal may generate and present a prompt message, where the prompt message may include at least the first link status and the second link status.
In step 503, the first terminal determines whether the current working path of the executing business object or the default working path of the business object to be executed is the same as the target video network tunnel.
In the embodiment of the invention, the service object can comprise video networking services such as video conference, video call and the like. The business objects can be divided into two types of business objects which are executed and business objects to be executed according to the execution states of the business objects. The current working path of the executing business object may be understood as the video networking tunnel in which the executing business object is located. The default working path of the service object to be executed may be understood as a default video networking tunnel set for each service object in advance, and different service objects may set different default video networking tunnels.
If the current working path of the executing business object or the default working path of the business object to be executed is different from the target video network tunnel, executing step 504; if the current working path of the executing business object or the default working path of the business object to be executed is the same as the target video network tunnel, step 505 is executed.
In step 504, the first terminal switches the current working path or the default working path to the target video network tunnel, so as to execute the service object based on the target video network tunnel.
In practical application, if the target view network tunnel is the first view network tunnel. When the current working path of the executing business object Y1 is the second video network tunnel, the first terminal switches the current working path of the executing business object Y1 from the second video network tunnel to the first video network tunnel so as to execute the business object Y1 in the first video network tunnel. Or, when the default working path of the service object Y2 to be executed is the second video network tunnel, the first terminal switches the default working path of the service object Y2 to be executed from the second video network tunnel to the first video network tunnel, so as to execute the service object Y2 in the first video network tunnel.
It should be noted that, when switching the default working path of the to-be-executed service object Y2 to the target video network tunnel, the first terminal only performs the current execution operation on the to-be-executed service object Y2, and does not permanently change the default working path of the to-be-executed service object Y2.
In a preferred embodiment of the present invention, when the first terminal switches the current working path or the default working path to be the target video networking tunnel, a prompt message may be generated and displayed, where the prompt message may include a switching result, such as successful switching, and related information such as name and number of the switched video networking tunnel.
In step 505, the first terminal keeps the current working path of the executing business object or the default working path of the business object to be executed unchanged.
In practical application, if the target view network tunnel is the second view network tunnel. When the current working path of the executing business object Y1 is the second video network tunnel, the first terminal keeps the current working path of the executing business object Y1 unchanged as the second video network tunnel. Or, when the default working path of the service object Y2 to be executed is the second video network tunnel, the first terminal keeps the default working path of the service object Y2 to be executed unchanged as the second video network tunnel.
Based on the above description about the embodiment of the processing method of a service object, an implementation method of the internet of view service is described below, as shown in fig. 6, the method involves the internet of view cat and the internet of view cat king, and the internet of view tunnel main link and the internet of view tunnel standby link between the internet of view cat and the internet of view cat king. The main link and the standby link of the video network tunnel belong to two different network operators respectively. As shown in fig. 7, the method for executing the video networking service may include the following steps: and detecting the connection state of the main link of the video network tunnel and the connection state of the standby link of the video network tunnel. And determining a target working link according to the connection state of the main link of the video network tunnel and the connection state of the standby link of the video network tunnel. And judging whether the current working link of the video networking service is the same as the target working link, if so, executing the step of re-detecting the connection state of the main link of the video networking tunnel and the connection state of the standby link of the video networking tunnel. And if the current working link is different from the target working link, switching the current working link of the video networking service into the target working link.
The processing scheme of the service object provided by the embodiment of the invention is applied to the video network, the video network can comprise a first terminal and a second terminal, the first terminal and the second terminal can be in communication connection through a first video network tunnel and a second video network tunnel, that is to say, two video network tunnels can be arranged between the first terminal and the second terminal.
In the embodiment of the present invention, the first terminal may detect a first link state of the first video network tunnel according to a first period, detect a second link state of the second video network tunnel according to a second period, and determine the target video network tunnel from the first video network tunnel and the second video network tunnel according to the first link state, the second link state, and a tunnel rule. The first terminal judges whether the current working path of the executing business object or the default working path of the business object to be executed is the same as the target video network tunnel. If the current working path of the executing business object is different from the target video network tunnel, the first terminal switches the current working path to the target video network tunnel so as to execute the executing business object based on the target video network tunnel. If the default working path of the service object to be executed is different from the target video network tunnel, the first terminal switches the default working path to the target video network tunnel so as to execute the service object to be executed based on the target video network tunnel.
In the embodiment of the invention, a plurality of video network tunnels can be arranged between the first terminal and the second terminal, the first terminal can detect the link state of each video network tunnel, and then the target video network tunnel is determined according to the link state of each video network tunnel and the preset tunnel rule. When the current working path of the executing business object or the default working path of the business object to be executed is different from the target video network tunnel, the first terminal may switch the current working path of the executing business object or the default working path of the business object to be executed as the target video network tunnel. The embodiment of the invention is provided with a plurality of video network tunnels, and can select the video network tunnels which are normally communicated to execute the service object under the condition that part of the video network tunnels can not be communicated, thereby ensuring the smooth execution of the service object and improving the success rate and the reliability of the execution of the service object. In addition, the embodiment of the invention can also select one target video network tunnel from the plurality of video network tunnels, and the target video network tunnel is used as the working path of the business object no matter whether the target video network tunnel is normally or abnormally communicated.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 8, a block diagram of a device for processing a service object according to an embodiment of the present invention is shown, where the device is applied to a video network, where the video network includes a first terminal and a second terminal, the device is disposed in the first terminal, and the first terminal and the second terminal are communicatively connected through a first video network tunnel and a second video network tunnel; the apparatus may include the following modules:
a detecting module 801, configured to detect a first link state of the first video network tunnel according to a preset first cycle, and detect a second link state of the second video network tunnel according to a preset second cycle; a determining module 802, configured to determine a target video networking tunnel from the first video networking tunnel and the second video networking tunnel according to the first link state, the second link state, and a preset tunnel rule; a determining module 803, configured to determine whether a current working path of a currently executed service object or a default working path of a service object to be executed is the same as the target video networking tunnel; a switching module 804, configured to switch the current working path to the target video networking tunnel when the current working path is different from the target video networking tunnel, so that the first terminal executes the executing service object based on the target video networking tunnel, or switch the default working path to the target video networking tunnel when the default working path is different from the target video networking tunnel, so that the first terminal executes the service object to be executed based on the target video networking tunnel.
In a preferred embodiment of the present invention, the first link state is a connected state or a disconnected state, and the second link state is a connected state or a disconnected state; the determining module 802 is configured to determine the first video networking tunnel as the target video networking tunnel when the first link status is a connected status and the second link status is a connected status; when the first link state is a connected state and the second link state is a disconnected state, determining the first video network tunnel as the target video network tunnel; when the first link state is a disconnected state and the second link state is a connected state, determining the second video networking tunnel as the target video networking tunnel; when the first link state is a disconnected state and the second link state is a disconnected state, determining the first video network tunnel as the target video network tunnel.
In a preferred embodiment of the present invention, the apparatus further comprises: a prompt module 805, configured to generate and display a prompt message after the detection module 801 detects a first link state of the first video network tunnel according to a preset first cycle and detects a second link state of the second video network tunnel according to a preset second cycle, where the prompt message includes the first link state and the second link state.
In a preferred embodiment of the present invention, the detecting module 801 includes: a first message generating sub-module 8011, configured to generate a first detection message according to the first cycle, and send the first detection message to the second terminal through the first internet of things tunnel, where the second terminal is configured to detect the first link state of the first internet of things tunnel according to the first detection message; the first result determining sub-module 8012 is configured to determine whether the first terminal receives the second detection packet generated by the second terminal, and determine the first link state of the first video networking tunnel according to a determination result.
In a preferred embodiment of the present invention, the detecting module 801 includes: a third packet generating sub-module 8013, configured to generate a third detection packet according to the second period, and send the third detection packet to the second terminal through the second video networking tunnel, where the second terminal is configured to detect the second link state of the second video networking tunnel according to the third detection packet; the second result determining sub-module 8014 is configured to determine whether the first terminal receives the fourth detection packet generated by the second terminal, and determine the second link state of the second video networking tunnel according to the determination result.
In a preferred embodiment of the present invention, the first period is the same as the second period.
Based on the above description about the embodiment of the processing apparatus for a service object, an execution apparatus for video networking service is described below, and as shown in fig. 9, the apparatus may include a connectivity detection module, a primary/secondary protection module, and a link switching module. The connectivity detection module can detect a video network tunnel main link and a video network tunnel standby link which are depended by the video network service, respectively obtain link states of the video network tunnel main link and the video network tunnel standby link, and then transmit the link states of the video network tunnel main link and the video network tunnel standby link to the main/standby protection module. And the main and standby protection modules determine a target working link of the video networking service according to a preset tunnel rule and link states of a main link and a standby link of the video networking tunnel. The main and standby protection module compares the default working link of the video networking service with the target working link, and if the default working link is different from the target working link, the main and standby protection module sends a path switching message to the link switching module. And the link switching module switches the default working link of the video networking service into a target working link according to the path switching message.
For the embodiment of the processing apparatus for the business object, since it is basically similar to the embodiment of the processing method for the business object, the description is relatively simple, and for relevant points, reference may be made to the partial description of the embodiment of the processing method for the business object.
An embodiment of the present invention further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more methods of processing business objects according to embodiments of the invention.
The embodiment of the invention also provides a computer-readable storage medium, and a stored computer program enables a processor to execute the processing method of the business object according to the embodiment of the invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, 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 present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) 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, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal 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 of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method, the apparatus and the computer-readable storage medium for processing a business object provided by the present invention are described in detail above, and a specific example is applied in the present disclosure to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (14)

1. A method for processing a service object is characterized in that the method is applied to a video network, the video network comprises a first terminal and a second terminal, the first terminal and the second terminal are in communication connection through a first video network tunnel and a second video network tunnel, and the first video network tunnel and the second video network tunnel are established on the basis of two mutually independent physical links; the method comprises the following steps:
the first terminal detects a first link state of the first video network tunnel according to a preset first period, and detects a second link state of the second video network tunnel according to a preset second period, wherein the first link state represents connectivity of the first video network tunnel, and the second link state represents connectivity of the second video network tunnel;
the first terminal determines to obtain a target video networking tunnel from the first video networking tunnel and the second video networking tunnel according to the first link state, the second link state and a preset tunnel rule;
the first terminal judges whether the current working path of the executing business object or the default working path of the business object to be executed is the same as the target video network tunnel or not;
the first terminal switches the current working path to the target video network tunnel under the condition that the current working path is different from the target video network tunnel, so that the executing business object is executed based on the target video network tunnel, or switches the default working path to the target video network tunnel under the condition that the default working path is different from the target video network tunnel, so that the business object to be executed is executed based on the target video network tunnel.
2. The method for processing the service object according to claim 1, wherein the first link state is a connected state or a disconnected state, and the second link state is a connected state or a disconnected state;
the step that the first terminal determines to obtain a target video network tunnel from the first video network tunnel and the second video network tunnel according to the first link state, the second link state and a preset tunnel rule comprises the following steps:
when the first link state is a connected state and the second link state is a connected state, the first terminal determines the first video network tunnel as the target video network tunnel;
when the first link state is a connected state and the second link state is a disconnected state, the first terminal determines the first video network tunnel as the target video network tunnel;
when the first link state is a disconnected state and the second link state is a connected state, the first terminal determines the second video networking tunnel as the target video networking tunnel;
and when the first link state is a disconnected state and the second link state is a disconnected state, the first terminal determines the first video network tunnel as the target video network tunnel.
3. The method for processing the service object according to claim 2, wherein after the steps of the first terminal detecting a first link status of the first video network tunnel according to a preset first period and detecting a second link status of the second video network tunnel according to a preset second period, the method further comprises:
and the first terminal generates and displays prompt information, wherein the prompt information comprises the first link state and the second link state.
4. The method for processing the service object according to any one of claims 1 to 3, wherein the step of the first terminal detecting the first link status of the first video network tunnel according to a preset first cycle comprises:
the first terminal generates a first detection message according to the first period, and sends the first detection message to the second terminal through the first video network tunnel, and the second terminal is used for detecting the first link state of the first video network tunnel according to the first detection message;
and the first terminal judges whether a second detection message generated by the second terminal is received or not, and determines the first link state of the first video network tunnel according to the judgment result.
5. The method for processing the service object according to any one of claims 1 to 3, wherein the step of the first terminal detecting the second link status of the second video network tunnel according to a preset second period includes:
the first terminal generates a third detection message according to the second period, and sends the third detection message to the second terminal through the second video network tunnel, and the second terminal is used for detecting the second link state of the second video network tunnel according to the third detection message;
and the first terminal judges whether a fourth detection message generated by the second terminal is received or not, and determines the second link state of the second video network tunnel according to the judgment result.
6. The method of claim 1, wherein the first period is the same as the second period.
7. The device is characterized in that the device is applied to a video network, the video network comprises a first terminal and a second terminal, the device is arranged in the first terminal, the first terminal and the second terminal are in communication connection through a first video network tunnel and a second video network tunnel, and the first video network tunnel and the second video network tunnel are established on the basis of two mutually independent physical links; the device comprises:
the detection module is used for detecting a first link state of the first video network tunnel according to a preset first period and detecting a second link state of the second video network tunnel according to a preset second period, wherein the first link state represents connectivity of the first video network tunnel, and the second link state represents connectivity of the second video network tunnel;
the determining module is used for determining and obtaining a target video networking tunnel from the first video networking tunnel and the second video networking tunnel according to the first link state, the second link state and a preset tunnel rule;
the judging module is used for judging whether the current working path of the executing business object or the default working path of the business object to be executed is the same as the target video network tunnel or not;
and the switching module is used for switching the current working path to the target video network tunnel under the condition that the current working path is different from the target video network tunnel so that the first terminal executes the executing business object based on the target video network tunnel, or switching the default working path to the target video network tunnel under the condition that the default working path is different from the target video network tunnel so that the first terminal executes the business object to be executed based on the target video network tunnel.
8. The apparatus for processing the service object according to claim 7, wherein the first link status is a connected status or a disconnected status, and the second link status is a connected status or a disconnected status;
the determining module is configured to determine the first video networking tunnel as the target video networking tunnel when the first link state is a connected state and the second link state is a connected state; when the first link state is a connected state and the second link state is a disconnected state, determining the first video network tunnel as the target video network tunnel; when the first link state is a disconnected state and the second link state is a connected state, determining the second video networking tunnel as the target video networking tunnel; when the first link state is a disconnected state and the second link state is a disconnected state, determining the first video network tunnel as the target video network tunnel.
9. The apparatus for processing the business object of claim 8, wherein said apparatus further comprises:
and the prompt module is used for generating and displaying prompt information after the detection module detects the first link state of the first video network tunnel according to a preset first period and detects the second link state of the second video network tunnel according to a preset second period, wherein the prompt information comprises the first link state and the second link state.
10. The apparatus for processing the business object according to any one of claims 7 to 9, wherein the detecting module comprises:
a first message generation sub-module, configured to generate a first detection message according to the first cycle, and send the first detection message to the second terminal through the first video networking tunnel, where the second terminal is configured to detect the first link state of the first video networking tunnel according to the first detection message;
and the first result judging submodule is used for judging whether the first terminal receives a second detection message generated by the second terminal or not and determining the first link state of the first video network tunnel according to the judgment result.
11. The apparatus for processing the business object according to any one of claims 7 to 9, wherein the detecting module comprises:
a third message generation sub-module, configured to generate a third detection message according to the second period, and send the third detection message to the second terminal through the second video networking tunnel, where the second terminal is configured to detect the second link state of the second video networking tunnel according to the third detection message;
and the second result judgment submodule is used for judging whether the first terminal receives a fourth detection message generated by the second terminal or not and determining the second link state of the second video network tunnel according to the judgment result.
12. The device for processing the business object of claim 7, wherein the first period is the same as the second period.
13. An apparatus for processing a business object, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause a processing apparatus of the business object to perform the method of processing the business object of any one of claims 1 to 6.
14. A computer-readable storage medium, characterized in that it stores a computer program that, when executed by a processor, implements the method of processing a business object according to any one of claims 1 to 6.
CN201910584339.3A 2019-07-01 2019-07-01 Business object processing method and device and storage medium Active CN110445701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910584339.3A CN110445701B (en) 2019-07-01 2019-07-01 Business object processing method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910584339.3A CN110445701B (en) 2019-07-01 2019-07-01 Business object processing method and device and storage medium

Publications (2)

Publication Number Publication Date
CN110445701A CN110445701A (en) 2019-11-12
CN110445701B true CN110445701B (en) 2021-03-12

Family

ID=68428806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910584339.3A Active CN110445701B (en) 2019-07-01 2019-07-01 Business object processing method and device and storage medium

Country Status (1)

Country Link
CN (1) CN110445701B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112631810A (en) * 2020-12-30 2021-04-09 北京天融信网络安全技术有限公司 Link selection system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917492A (en) * 2010-08-06 2010-12-15 北京乾唐视联网络科技有限公司 Communication method and communication system of novel network
CN109379254A (en) * 2018-11-07 2019-02-22 视联动力信息技术股份有限公司 A kind of detection method and system of the network connection based on video conference

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014019B (en) * 2010-11-04 2015-12-16 中兴通讯股份有限公司 Aggregated link switching method and device
CN110149220B (en) * 2014-12-30 2022-07-29 华为技术有限公司 Method and device for managing data transmission channel
CN106301836B (en) * 2015-05-25 2019-03-12 视联动力信息技术股份有限公司 A kind of method of redundancy backup, terminal and view networked system
CN109672572B (en) * 2019-01-23 2022-01-04 视联动力信息技术股份有限公司 Data transmission method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917492A (en) * 2010-08-06 2010-12-15 北京乾唐视联网络科技有限公司 Communication method and communication system of novel network
CN109379254A (en) * 2018-11-07 2019-02-22 视联动力信息技术股份有限公司 A kind of detection method and system of the network connection based on video conference

Also Published As

Publication number Publication date
CN110445701A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN109561072B (en) Link detection method and system
CN109587002B (en) State detection method and system for video network monitoring equipment
CN108881895B (en) Troubleshooting method and equipment based on video networking
CN110557319B (en) Message processing method and device based on video network
CN110224988B (en) Image data processing method, system and device and storage medium
CN110493149B (en) Message processing method and device
CN110072154B (en) Video networking-based clustering method and transfer server
CN109889516B (en) Method and device for establishing session channel
CN109698953B (en) State detection method and system for video network monitoring equipment
CN111510341A (en) Network testing method and device for video network
CN110690989A (en) Service data transmission method, device and computer readable storage medium
CN111224889A (en) Data transmission method and device
CN110445701B (en) Business object processing method and device and storage medium
CN110830817A (en) Video transcoding capacity adjusting method and video transcoding server
CN110248134B (en) Method and device for controlling terminal, electronic equipment and storage medium
CN110493311B (en) Service processing method and device
CN110719433B (en) Method and device for displaying online state of terminal, electronic equipment and storage medium
CN110213533B (en) Method and device for acquiring video stream monitored by video network
CN110267110B (en) Concurrent on-demand processing method and system based on video network
CN110808896B (en) Data transmission method and device, electronic equipment and storage medium
CN110636110B (en) Monitoring data flow adjusting method and device
CN110519335B (en) Data link removing method and system based on video network
CN110099307B (en) Node connection method, video network and computer readable storage medium
CN110113553B (en) Method and device for processing video telephone
CN110365930B (en) Data processing method and device

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