CN110445701A - A kind of processing method of business object, device and storage medium - Google Patents
A kind of processing method of business object, device and storage medium Download PDFInfo
- Publication number
- CN110445701A CN110445701A CN201910584339.3A CN201910584339A CN110445701A CN 110445701 A CN110445701 A CN 110445701A CN 201910584339 A CN201910584339 A CN 201910584339A CN 110445701 A CN110445701 A CN 110445701A
- Authority
- CN
- China
- Prior art keywords
- tunnel
- terminal
- link state
- view networking
- networking
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
Abstract
The embodiment of the invention provides a kind of processing method of business object, device and storage mediums, wherein, the described method includes: the second link state of first link state in first terminal detection the first view networking tunnel and the second view networking tunnel, determines target view networking tunnel according to the first link state, the second link state and tunnel rule;First terminal judges whether work at present path or default operating path regard tunnel of networking with target identical;At work at present path and target view networking tunnel difference, work at present path is switched to target view networking tunnel, alternatively, default operating path is switched to target view networking tunnel when defaulting operating path and target view networking tunnel difference.The embodiment of the present invention ensure that the smooth execution of business object, improve the success rate and reliability of business object execution.Moreover, target is regarded networking tunnel as the operating path of business object by the embodiment of the present invention.
Description
Technical field
The present invention relates to view networking technology fields, more particularly to a kind of processing method of business object, device and one kind
Computer readable storage medium.
Background technique
It is a kind of dedicated network for being used for high-speed transfer HD video and specialized protocol based on ethernet hardware depending on networking,
It is the more advanced form of Ethernet depending on networking, is a real-time network.By depending on networking in equipment can establish one it is point-to-point
View network tunnel.Side depending on tunnel of networking can access view networking, and the other side depending on tunnel of networking can access non-view connection
Net (such as business private network of internet, IPTV private network, other field).
Using depending on networking tunnel can execute view networking and it is non-view networking between business object, as visual talking business,
Video conference business, VOD service etc..It is used to carry the business number between view networking and non-view networking depending on networking tunnel
According to.But by construct, the factors such as weather or network operator's link failure are influenced, be likely to occur and can not connect depending on networking tunnel
Logical situation causes the problem of can not normally executing business object.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
Processing method, device and a kind of computer readable storage medium of a kind of business object to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of processing method of business object, the method is answered
It networks for regarding, includes first terminal and second terminal in the view networking, between the first terminal and the second terminal
Pass through the first view networking tunnel and the second view networking tunnel communication connection;The described method includes: the first terminal is according to default
Period 1 detect first link state in the first view networking tunnel, and according to detection of preset second round described the
Second link state in two view networking tunnels;The first terminal is according to first link state, second link state
Target view networking is obtained depending on determining in networking tunnel depending on networking tunnel and described second from described first with preset tunnel rule
Tunnel;The work at present path for the business object that the first terminal judgement is carrying out or the default of pending business object
Whether operating path regards tunnel of networking with the target identical;The first terminal is in the work at present path and the target
Depending on the work at present path being switched to the target view networking tunnel, to be based in the networking different situation in tunnel
The target is depending on the business object being carrying out described in tunnel execution of networking, alternatively, in the default operating path and the mesh
In the mark view networking different situation in tunnel, the default operating path is switched to the target view networking tunnel, so as to base
The pending business object is executed depending on networking tunnel in the target.
Optionally, first link state is connected status or off-state, second link state are
Connection status or off-state;The first terminal is according to first link state, second link state and presets
Tunnel rule from described first depending on determining that obtaining target view networks tunnel in networking tunnel and the described second view networking tunnel
Step, comprising: the first terminal is connected status in first link state, and second link state is to have connected
When connecing state, it is determined as the target view networking tunnel depending on networking tunnel for described first;The first terminal is described first
Link state is connected status, and second link state be off-state when, will first view tunnel of networking it is true
It is set to the target view networking tunnel;The first terminal is off-state in first link state, and described second
When link state is connected status, it is determined as the target view networking tunnel depending on networking tunnel for described second;Described first
Terminal is off-state in first link state, and second link state be off-state when, by described the
One is determined as the target view networking tunnel depending on networking tunnel.
Optionally, first chain in the first view networking tunnel is detected according to the preset period 1 in the first terminal
Line state, and after the step of detecting second link state in the second view networking tunnel according to preset second round, institute
State method further include: the first terminal generates and show that prompt information, the prompt information include first link state
With second link state.
Optionally, the first terminal detects first link in the first view networking tunnel according to the preset period 1
The step of state, comprising: the first terminal generates the first detection messages according to the period 1, and regards by described first
Tunnel network to second terminal transmission first detection messages, the second terminal is used to report according to first detection
First link state in text detection the first view networking tunnel;The first terminal judges whether to receive described second
The second detection messages that terminal generates, and the described first the first link shape for regarding networking tunnel is determined according to judging result
State.
Optionally, the first terminal detects second link in the second view networking tunnel according to preset second round
The step of state, comprising: the first terminal generates third detection messages according to the second round, and regards by described second
Tunnel network to the second terminal transmission third detection messages, the second terminal is used to detect according to the third and report
Second link state in text detection the second view networking tunnel;The first terminal judges whether to receive described second
The 4th detection messages that terminal generates, and the described second the second link shape for regarding networking tunnel is determined according to judging result
State.
Optionally, the period 1 is identical as the second round.
The embodiment of the invention also discloses a kind of processing unit of business object, described device is applied to view networking, described
Depending on including first terminal and second terminal in networking, described device is set in the first terminal, the first terminal and institute
It states between second terminal through the first view networking tunnel and the second view networking tunnel communication connection;Described device includes: detection mould
Block, for detecting first link state in the first view networking tunnel according to the preset period 1, and according to preset the
Two cycles detect second link state in the second view networking tunnel;Determining module, for according to first link state,
Second link state and preset tunnel rule are true from first view networking tunnel and the second view networking tunnel
Surely target view networking tunnel is obtained;Judgment module, for judging the work at present path for the business object being carrying out or wait hold
Whether the default operating path of capable business object regards tunnel of networking with the target identical;Switching module, for working as described
Under preceding operating path and the target view networking different situation in tunnel, the work at present path is switched to the target
Depending on tunnel of networking, so that the first terminal regards the business object that is carrying out described in the execution of networking tunnel based on the target,
Alternatively, under the default operating path and the target view networking different situation in tunnel, by the default operating path
It is switched to the target and regards networking tunnel, so that the first terminal is described pending based on target view networking tunnel execution
Business object.
Optionally, first link state is connected status or off-state, second link state are
Connection status or off-state;The determining module, for being connected status in first link state, and described the
When two link states are connected status, it is determined as the target view networking tunnel depending on networking tunnel for described first;Described
First link state be connected status, and second link state be off-state when, will it is described first view network tunnel
Road is determined as the target view networking tunnel;It is off-state, and second link state in first link state
When for connected status, it is determined as the target view networking tunnel depending on networking tunnel for described second;In the first link shape
State is off-state, and second link state be off-state when, the described first view tunnel of networking is determined as institute
State target view networking tunnel.
Optionally, described device further include: cue module, for being examined in the detection module according to the preset period 1
First link state in the first view networking tunnel is surveyed, and according to detection of preset second round the second view networking tunnel
The second link state after, generate and show prompt information, the prompt information includes first link state and described
Second link state.
Optionally, the detection module, comprising: the first message generates submodule, for generating according to the period 1
First detection messages, and first detection messages are sent to the second terminal by first view networking tunnel, it is described
Second terminal is used to detect first link state in the first view networking tunnel according to first detection messages;First
As a result judging submodule, for judging whether the first terminal receives the second detection messages that the second terminal generates,
And first link state in the first view networking tunnel is determined according to judging result.
Optionally, the detection module, comprising: third message generates submodule, for generating according to the second round
Third detection messages, and the third detection messages are sent to the second terminal by second view networking tunnel, it is described
Second terminal is used to detect second link state in the second view networking tunnel according to the third detection messages;Second
As a result judging submodule, for judging whether the first terminal receives the 4th detection messages that the second terminal generates,
And second link state in the second view networking tunnel is determined according to judging result.
Optionally, the period 1 is identical as the second round.
The embodiment of the invention also discloses a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors
When, so that described device executes the processing method of one or more business objects as described in the embodiments of the present invention.
The embodiment of the invention also discloses the computer programs of a kind of computer readable storage medium, storage to handle
Device executes the processing method of business object as described in the embodiments of the present invention.
The embodiment of the present invention includes following advantages:
The processing scheme of business object provided in an embodiment of the present invention is applied in view networking, may include first depending on networking
Terminal and second terminal, can be logical by the first view networking tunnel and the second view networking tunnel between first terminal and second terminal
Letter connection, that is to say, that two view networking tunnels can be set between first terminal and second terminal.
In embodiments of the present invention, first terminal can detect first link in the first view networking tunnel according to the period 1
State, according to second link state in second round detection the second view networking tunnel, further according to the first link state, the second link
State and tunnel rule are from first depending on determining that target view is networked tunnel in networking tunnel and the second view networking tunnel.First terminal
Judge that the work at present path for the business object being carrying out or the default operating path of pending business object and target regard
Whether networking tunnel is identical.If it is not identical that the work at present path for the business object being carrying out regards tunnel of networking with target,
Work at present path is switched to target view networking tunnel by first terminal, to be carrying out based on target depending on the execution of networking tunnel
Business object.If it is not identical that the default operating path of pending business object regards tunnel of networking with target, first terminal
Default operating path is switched to target view networking tunnel, to execute pending business pair depending on networking tunnel based on target
As.
In embodiments of the present invention, a plurality of view networking tunnel can be set between first terminal and second terminal, first eventually
End can detecte the link state in every view networking tunnel, and then according to the link state and preset tunnel in every view networking tunnel
Road rule determines target view networking tunnel.Work at present path or pending business object when the business object being carrying out
Default operating path and target view networking tunnel it is not identical when, first terminal can switch working as the business object being carrying out
Preceding operating path or the default operating path of pending business object are target view networking tunnel.It is arranged in the embodiment of the present invention
A plurality of view tunnel of networking can choose the normal view of connection and join in the case where part, which regards the appearance of networking tunnel, to be connected to
Net tunnel executes business object, ensure that the smooth execution of business object, improves the success rate of business object execution and reliable
Property.Moreover, the embodiment of the present invention one target of selection can also regard networking tunnel in a plurality of view networking tunnel, no matter target is regarded
Tunnel connection of networking is normal or connection is abnormal, and target is regarded networking tunnel as the operating path of business object.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of step flow chart of the processing method of business object of the embodiment of the present invention;
Fig. 6 is the connection schematic diagram of each equipment in a kind of execution method of view networking service of the embodiment of the present invention;
Fig. 7 is a kind of step flow chart of the execution method of view networking service of the embodiment of the present invention;
Fig. 8 is a kind of structural block diagram of the processing unit of business object of the embodiment of the present invention;
Fig. 9 is a kind of structural block diagram of the executive device of view networking service of the embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission,
Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service
Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring
Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication
All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or
Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network
First video flow.It is exchanged different from simple network packet packet switch (Packet Switching) or lattice network
(Circuit Switching) meets Streaming demand using Packet Switching depending on networking technology.Depending on skill of networking
Art has flexible, the simple and low price of packet switch, is provided simultaneously with the quality and safety assurance of circuit switching, realizes the whole network friendship
Change the seamless connection of formula virtual circuit and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack
It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis
It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually
The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform
Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy
Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media
Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and
Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media
Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes
Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but
The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time
The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black
The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net
The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich
The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type "
Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class
Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines
Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases
Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal.
Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve
Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end
Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve
Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area
The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat
Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether
Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).Metropolitan Area Network (MAN) can be divided on the whole depending on networking
(or national net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether
Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array
Module 204;
Wherein, the Bao Jun that Network Interface Module 201, CPU module 203, disk array module 204 are come in enters switching engine
Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet;
And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close
It is full, then it abandons;All pack buffer queues of 202 poll of switching engine module, are forwarded: 1) end if meeting the following conditions
It is less than that mouth sends caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, packet
Include the operation such as initialization, read-write to hard disk;CPU module 203 be mainly responsible for access switch, terminal (not shown) it
Between protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table)
Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module
302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould
Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met,
It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould
The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 304 is come in enters switching engine
Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet;
If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier
(stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet
Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full,
Then abandon.
All pack buffer queues of 303 poll of switching engine module, may include two kinds of situations:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1)
It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded:
1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 308 is configured by CPU module 304, to all downlink networks in programmable interval
Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and,
Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module
402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan
Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined
Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet
DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting
Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410
(2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze
Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway
SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network
Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine
Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server.
Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes
Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes,
payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA | SA | Reserved | Payload | CRC |
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet
Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address,
Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages
64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment
It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server
Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment
System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification
Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just
There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters
The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into
0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN)
Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with
The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA | SA | Reserved | Label | Payload | CRC |
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its
In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position
Set is between the reserve bytes and payload of data packet.
With reference to Fig. 5, a kind of step flow chart of the processing method of business object of the embodiment of the present invention, this method are shown
Can be applied to view networking, view network in may include first terminal and second terminal, can between first terminal and second terminal
To pass through the first view networking tunnel and the second view networking tunnel communication connection.First terminal and second terminal may include view connection cat
The terminal devices such as (alternatively referred to as view connection cat equipment), view connection cat king (alternatively referred to as view connection cat king equipment).When first terminal is view
When joining cat, second terminal is view connection cat king, and when first terminal regards connection cat king, second terminal is view connection cat.Depending on connection cat be in order to
Meet the application demand that non-view networking is accessed depending on on-line customer, a product of extension view networked platforms application research and development, is view connection
The access device of the net loaded existing network application based on IP system.It is to meet view on-line customer and access non-view depending on connection cat king
The application demand of networking, a product of extension view networked platforms application research and development, is that view networking carrying is existing based on IP system
The convergence device of network application.By can establish multiple point-to-point views networkings tunnels depending on connection cat and view connection cat king, such as first
Depending on networking tunnel and the second view networking tunnel.Depending on network tunnel establishment process can be divided into two steps, first view connection cat and
It networks in node server depending on connection cat king, then starts actively to dial depending on connection cat, and establish visual telephone service depending on connection cat king.
It regards connection cat and regards the networking tunnel that regards that connection cat king establishes in a physical link and regard networking tunnel as first, join depending on connection cat and view
What cat king established in another physical link regards networking tunnel as the second view networking tunnel.As it can be seen that first view networking tunnel and
Second, which is based on two mutually independent physical links depending on networking tunnel, establishes.
A kind of processing method of business object provided in an embodiment of the present invention can specifically include following steps:
Step 501, first terminal regards first link state in networking tunnel according to detection of preset period 1 first, and
According to second link state in detection of preset second round the second view networking tunnel.
In this step 501, first terminal can detecte the link state in the first view networking tunnel and the second view networking tunnel.
Specifically, first terminal can detect first link state in the first view networking tunnel according to the preset period 1, and first eventually
End can also detect second link state in the second view networking tunnel according to preset second round.Wherein, the period 1 and
Two cycles can be identical.The specific time span of period 1 and second round can be arranged according to the actual situation, actually answer
In, period 1 and second round can may be the shorter period for longer time section, when the period 1 and the
The time span of two cycles is very in short-term, it can be understood as the view of first terminal real-time detection first networking tunnel and the second view networking
The link state in tunnel.
In one preferred embodiment of the invention, first terminal is according to the of period 1 detection the first view networking tunnel
When one link state, first terminal can according to the period 1 generate the first detection messages, and by first view networking tunnel to
Second terminal sends the first detection messages.Second terminal can detect the first of the first view networking tunnel according to the first detection messages
Link state, if second terminal does not receive the first detection messages within a certain period of time, it is determined that the first link state is to have broken
Open state;If second terminal receives the first detection messages within a certain period of time, it is determined that the first link state is to have connected shape
State.First terminal can also determine whether the second detection report for receiving second terminal generation when sending the first detection messages
Text, and according to judging result determine the first view networking tunnel the first link state, if first terminal does not connect within a certain period of time
Receive the second detection messages, it is determined that the first link state is off-state;If first terminal receives within a certain period of time
Second detection messages, it is determined that the first link state is connected status.
When first terminal generates the first detection messages, first terminal can be operated in response to the input of user, generate first
Detection messages, first detection messages may include the mark of preset identifications and the first view networking tunnel, and preset identifications can be used
When indicating that second terminal receives the message comprising preset identifications, it was demonstrated that the message is the company for detecting the first view networking tunnel
The general character.The preset identifications can be letter, number or combination of character and digit etc., and the embodiment of the present invention is detected to first
The content of message and format etc. are not specifically limited.Typically, if second terminal receives the first detection messages, instruction the
One depending on networking tunnel be connection.
First terminal judges whether to receive the second detection messages of second terminal generation, and determines the according to judging result
When first link state in one view networking tunnel, first terminal may determine that the second detection report whether is received in preset time period
Text, if first terminal receives the second detection messages in preset time period, it is determined that the first link shape in the first view networking tunnel
State is connected status;If first terminal does not receive the second detection messages in preset time period, it is determined that the first view networking tunnel
First link state in road is off-state.Wherein, the second detection messages may include preset identifications, the first view networking tunnel
Mark and second terminal mark, the embodiment of the present invention is not specifically limited the content of the second detection messages and format etc..
Similarly, the implementation procedure of first link state in networking tunnel, first terminal are regarded referring to first terminal detection first
Second link state in the second view networking tunnel can be detected according to second round, details are not described herein.
Step 502, first terminal is regarded according to the first link state, the second link state and preset tunnel rule from first
Networking tunnel and second obtains target view networking tunnel depending on determining in networking tunnel.
As described above, the first link state can be connected status or off-state, the second link state can also
Think connected status or off-state.First terminal is in the process for determining target view networking tunnel according to tunnel rule
In, if the first link state is connected status, the second link state is connected status, first terminal networks the first view
Tunnel is determined as target view networking tunnel.If the first link state is connected status, the second link state is off-state,
Then first terminal is determined as target view networking tunnel depending on networking tunnel for first.If the first link state is off-state, the
Two link states are connected status, then first terminal is determined as target view networking tunnel depending on networking tunnel for second.If first
Link state is that off-state, the second link state have been off-state, then first terminal determines the first view networking tunnel
Networking tunnel is regarded for target.
Above-mentioned tunnel rule can use table 1 and be indicated:
First link state is connected status | First link state is off-state | |
Second link state is connected status | First, which regards networking tunnel, regards networking tunnel as target | Second, which regards networking tunnel, regards networking tunnel as target |
Second link state is off-state | First, which regards networking tunnel, regards networking tunnel as target | First, which regards networking tunnel, regards networking tunnel as target |
Table 1
It should be noted that above-mentioned tunnel rule is merely illustrative, the embodiment of the present invention can be according to the actual situation
Tunnel rule is set.
In one preferred embodiment of the invention, no matter the first link state for off-state or has connected shape
State, the second link state are that off-state or connected status, first terminal can be generated and shown prompt information, this is mentioned
Show and at least may include the first link state and the second link state in information.
Step 503, the work at present path for the business object that first terminal judgement is carrying out or pending business pair
Whether the default operating path of elephant regards tunnel of networking with target identical.
In the embodiment of the present invention, business object may include the view networking service such as video conference, video call.According to business
Business object can be divided into the business object being carrying out and pending two class of business object by the execution state of object.Just
View networking tunnel where can be understood as the business object being carrying out in the work at present path of the business object of execution.To
The default operating path of the business object of execution can be understood as the view networking tunnel of the default for the setting of each business object in advance
The view networking tunnel of different defaults can be set in road, different business objects.
If the default operating path of the work at present path of the business object being carrying out or pending business object with
Target view networking tunnel is not identical, thens follow the steps 504;If the work at present path or pending for the business object being carrying out
Default operating path and the target of business object to regard networking tunnel identical, then follow the steps 505.
Step 504, work at present path or default operating path are switched to target view networking tunnel by first terminal, so as to
Networking tunnel, which is regarded, based on target executes business object.
In practical applications, if target regards networking tunnel as the first view networking tunnel.As the business object Y1 being carrying out
Work at present path when being the second view networking tunnel, first terminal is by the work at present path for the business object Y1 being carrying out
It is switched to the first view networking tunnel depending on networking tunnel by second, to execute business object Y1 in the first view networking tunnel.Or
Person, when the default operating path of pending business object Y2 is the second view networking tunnel, first terminal is by pending industry
The default operating path of business object Y2 is switched to the first view networking tunnel depending on networking tunnel by second, so as in the first view networking tunnel
Business object Y2 is executed in road.
It should be noted that first terminal is target view connection in the default operating path for switching pending business object Y2
It is only executes operation for this of pending business object Y2 when net tunnel, and the business pair that impermanent change is pending
As the default operating path of Y2.
In one preferred embodiment of the invention, first terminal switching work at present path or default operating path are mesh
When mark view networking tunnel, prompt information is can be generated and shown, which may include switching result, such as switch to
Function, and, the relevant informations such as title, the number in view networking tunnel after switching.
Step 505, the work at present path for the business object that first terminal holding is carrying out or pending business pair
The default operating path of elephant is constant.
In practical applications, if target regards networking tunnel as the second view networking tunnel.As the business object Y1 being carrying out
Work at present path when being the second view networking tunnel, first terminal keeps the work at present road of business object Y1 being carrying out
Diameter is that the second view networking tunnel is constant.Alternatively, when the default operating path of pending business object Y2 is the second view networking tunnel
When road, it is that the second view networking tunnel is constant that first terminal, which keeps the default operating path of pending business object Y2,.
Based on a kind of related description of the above-mentioned processing method embodiment about business object, a kind of view networking is described below
The execution method of business, as shown in fig. 6, this method be related to view connection cat and view connection cat king, and, view connection cat and view join cat king it
Between view networking tunnel primary link, view networking tunnel standby link.Wherein, depending on networking tunnel primary link and view networking tunnel standby link
It is belonging respectively to two different network operators.As shown in fig. 7, the execution method depending on networking service may include walking as follows
It is rapid: the connection status of detection view networking tunnel primary link and the connection status of view networking tunnel standby link.According to view networking tunnel
The connection status of primary link and the connection status depending on tunnel standby link of networking determine target operation link.Judgement view networking service
Whether work at present link is identical as target operation link, if work at present link is identical as target operation link, executes weight
The step of connection status and the connection status of view networking tunnel standby link of new detection view networking tunnel primary link.If work at present
Link and target operation link be not identical, then by the work at present link switching for regarding networking service as target operation link.
The processing scheme of business object provided in an embodiment of the present invention is applied in view networking, may include first depending on networking
Terminal and second terminal, can be logical by the first view networking tunnel and the second view networking tunnel between first terminal and second terminal
Letter connection, that is to say, that two view networking tunnels can be set between first terminal and second terminal.
In embodiments of the present invention, first terminal can detect first link in the first view networking tunnel according to the period 1
State, according to second link state in second round detection the second view networking tunnel, further according to the first link state, the second link
State and tunnel rule are from first depending on determining that target view is networked tunnel in networking tunnel and the second view networking tunnel.First terminal
Judge that the work at present path for the business object being carrying out or the default operating path of pending business object and target regard
Whether networking tunnel is identical.If it is not identical that the work at present path for the business object being carrying out regards tunnel of networking with target,
Work at present path is switched to target view networking tunnel by first terminal, to be carrying out based on target depending on the execution of networking tunnel
Business object.If it is not identical that the default operating path of pending business object regards tunnel of networking with target, first terminal
Default operating path is switched to target view networking tunnel, to execute pending business pair depending on networking tunnel based on target
As.
In embodiments of the present invention, a plurality of view networking tunnel can be set between first terminal and second terminal, first eventually
End can detecte the link state in every view networking tunnel, and then according to the link state and preset tunnel in every view networking tunnel
Road rule determines target view networking tunnel.Work at present path or pending business object when the business object being carrying out
Default operating path and target view networking tunnel it is not identical when, first terminal can switch working as the business object being carrying out
Preceding operating path or the default operating path of pending business object are target view networking tunnel.It is arranged in the embodiment of the present invention
A plurality of view tunnel of networking can choose the normal view of connection and join in the case where part, which regards the appearance of networking tunnel, to be connected to
Net tunnel executes business object, ensure that the smooth execution of business object, improves the success rate of business object execution and reliable
Property.Moreover, the embodiment of the present invention one target of selection can also regard networking tunnel in a plurality of view networking tunnel, no matter target is regarded
Tunnel connection of networking is normal or connection is abnormal, and target is regarded networking tunnel as the operating path of business object.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
With reference to Fig. 8, a kind of structural block diagram of the processing unit of business object of the embodiment of the present invention, described device are shown
It networks applied to view, includes first terminal and second terminal in the view networking, described device is set in the first terminal,
Pass through the first view networking tunnel and the second view networking tunnel communication connection between the first terminal and the second terminal;It is described
Device may include following module:
Detection module 801, for detecting the first link shape in the first view networking tunnel according to the preset period 1
State, and the described second the second link state for regarding networking tunnel is detected according to preset second round;Determining module 802, is used for
Networking tunnel and institute are regarded from described first according to first link state, second link state and preset tunnel rule
It states second and obtains target view networking tunnel depending on determining in networking tunnel;Judgment module 803, the business pair for judging to be carrying out
Whether the work at present path of elephant or the default operating path of pending business object regard tunnel of networking with the target identical;
Switching module 804, for working as under the work at present path and the target view networking different situation in tunnel by described in
Preceding operating path is switched to the target view networking tunnel, executes so that the first terminal is based on target view networking tunnel
The business object being carrying out, alternatively, in the default operating path and the target view networking different feelings in tunnel
Under condition, the default operating path is switched to the target view networking tunnel, so that the first terminal is based on the target
The pending business object is executed depending on networking tunnel.
In one preferred embodiment of the invention, first link state is connected status or off-state,
Second link state off-state for connected status or;The determining module 802, in the first link shape
State is connected status, and when second link state is connected status, and the described first view tunnel of networking is determined as institute
State target view networking tunnel;It is connected status in first link state, and second link state is to have disconnected shape
When state, it is determined as the target view networking tunnel depending on networking tunnel for described first;It is to have disconnected in first link state
State, and when second link state is connected status, the described second view networking tunnel is determined as target view and is joined
Net tunnel;Be off-state in first link state, and second link state be off-state when, will be described
First is determined as the target view networking tunnel depending on networking tunnel.
In one preferred embodiment of the invention, described device further include: cue module 805, in the detection
Module 801 detects first link state in the first view networking tunnel according to the preset period 1, and according to preset the
After two cycles detect second link state in the second view networking tunnel, prompt information, the prompt letter are generated and shown
Breath includes first link state and second link state.
In one preferred embodiment of the invention, the detection module 801, comprising: the first message generates submodule
8011, for generating the first detection messages according to the period 1, and networking tunnel is regarded to described second by described first
Terminal sends first detection messages, and the second terminal is used to be joined according to first detection messages detection, first view
First link state in net tunnel;First result judging submodule 8012, for judging whether the first terminal receives
The second detection messages generated to the second terminal, and described the of the first view networking tunnel is determined according to judging result
One link state.
In one preferred embodiment of the invention, the detection module 801, comprising: third message generates submodule
8013, for generating third detection messages according to the second round, and networking tunnel is regarded to described second by described second
Terminal sends the third detection messages, and the second terminal is used to be joined according to third detection messages detection second view
Second link state in net tunnel;Second result judging submodule 8014, for judging whether the first terminal receives
The 4th detection messages generated to the second terminal, and described the of the second view networking tunnel is determined according to judging result
Two link states.
In one preferred embodiment of the invention, the period 1 is identical as the second round.
Based on a kind of related description of the above-mentioned processing device embodiment about business object, a kind of view networking is described below
The executive device of business, as shown in figure 9, the apparatus may include detection of connectivity module, main-apparatus protection module and link switchings
Module.Detection of connectivity module can be to the view networking tunnel primary link and view networking tunnel standby link relied on depending on networking service
It is detected, respectively obtains the link state for regarding networking tunnel primary link and view networking tunnel standby link, then tunnel of networking will be regarded
The link condition transmission of primary link and view networking tunnel standby link is to main-apparatus protection module.Main-apparatus protection module is according to preset tunnel
Road rule, and view networking tunnel primary link determine the target work of view networking service with the link state for regarding networking tunnel standby link
Make link.Main-apparatus protection module will be compared depending on the default active link of networking service with target operation link, if default work
Make link and target operation link is not identical, then main-apparatus protection module is to link switching module transmitting path handover request.Link
Switching module will be switched to target operation link depending on the default active link of networking service according to path switching message.
For the processing device embodiment of business object, since it is basic with the processing method embodiment of business object
Similar, so being described relatively simple, related place illustrates referring to the part of the processing method embodiment of business object.
The embodiment of the invention also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors
When, so that described device executes the processing method of one or more business objects as described in the embodiments of the present invention.
The embodiment of the invention also provides the computer programs of a kind of computer readable storage medium, storage to handle
Device executes the processing method of business object as described in the embodiments of the present invention.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of processing method of business object provided by the present invention, device and a kind of computer-readable storage medium
Matter is described in detail, and used herein a specific example illustrates the principle and implementation of the invention, above
The explanation of embodiment is merely used to help understand method and its core concept of the invention;Meanwhile for the general skill of this field
Art personnel, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this
Description should not be construed as limiting the invention.
Claims (14)
1. a kind of processing method of business object, which is characterized in that the method is applied to view networking, described depending on including in networking
First terminal and second terminal pass through the first view networking tunnel and the second view connection between the first terminal and the second terminal
The connection of net tunnel communication;The described method includes:
The first terminal according to the preset period 1 detect it is described first view networking tunnel the first link state, and according to
Preset second round detects second link state in the second view networking tunnel;
The first terminal is according to first link state, second link state and preset tunnel rule from described
One obtains target view networking tunnel depending on determining in networking tunnel depending on networking tunnel and described second;
The work at present path for the business object that the first terminal judgement is carrying out or the default of pending business object
Whether operating path regards tunnel of networking with the target identical;
The first terminal is worked as by described under the work at present path and the target view networking different situation in tunnel
Preceding operating path is switched to the target view networking tunnel, to be carrying out described in tunnel execution based on the target depending on networking
Business object, alternatively, the default operating path and the target view networking the different situation in tunnel under, will it is described write from memory
Recognize operating path and is switched to the target view networking tunnel, it is described pending to be executed based on the target depending on networking tunnel
Business object.
2. the processing method of business object according to claim 1, which is characterized in that first link state is to have connected
Connect state or off-state, second link state off-state for connected status or;
The first terminal is according to first link state, second link state and preset tunnel rule from described
One obtains the step of target regards networking tunnel depending on determining in networking tunnel depending on networking tunnel and described second, comprising:
The first terminal is connected status in first link state, and second link state is connected status
When, it is determined as the target view networking tunnel depending on networking tunnel for described first;
The first terminal is connected status in first link state, and second link state is off-state
When, it is determined as the target view networking tunnel depending on networking tunnel for described first;
The first terminal is off-state in first link state, and second link state is connected status
When, it is determined as the target view networking tunnel depending on networking tunnel for described second;
The first terminal is off-state in first link state, and second link state is off-state
When, it is determined as the target view networking tunnel depending on networking tunnel for described first.
3. the processing method of business object according to claim 2, which is characterized in that in the first terminal according to default
Period 1 detect first link state in the first view networking tunnel, and according to detection of preset second round described the
After the step of second link state in two view networking tunnels, the method also includes:
The first terminal generates and shows that prompt information, the prompt information include first link state and described second
Link state.
4. the processing method of business object according to any one of claim 1 to 3, which is characterized in that described first eventually
The step of first link state in the first view networking tunnel is detected according to the preset period 1 in end, comprising:
The first terminal generates the first detection messages according to the period 1, and regards networking tunnel to institute by described first
It states second terminal and sends first detection messages, the second terminal is used for according to first detection messages detection described the
First link state in one view networking tunnel;
The first terminal judges whether to receive the second detection messages that the second terminal generates, and true according to judging result
First link state in the fixed first view networking tunnel.
5. the processing method of business object according to any one of claim 1 to 3, which is characterized in that described first eventually
The step of second link state in the second view networking tunnel is detected according to preset second round in end, comprising:
The first terminal generates third detection messages according to the second round, and regards networking tunnel to institute by described second
It states second terminal and sends the third detection messages, the second terminal is used for according to third detection messages detection described the
Second link state in two view networking tunnels;
The first terminal judges whether to receive the 4th detection messages that the second terminal generates, and true according to judging result
Second link state in the fixed second view networking tunnel.
6. the processing method of business object according to claim 1, which is characterized in that the period 1 and described second
Period is identical.
7. a kind of processing unit of business object, which is characterized in that described device is applied to view networking, described depending on including in networking
First terminal and second terminal, described device are set in the first terminal, the first terminal and the second terminal it
Between by first view networking tunnel and second view networking tunnel communication connection;Described device includes:
Detection module for detecting first link state in the first view networking tunnel according to the preset period 1, and is pressed
Second link state in the second view networking tunnel is detected according to preset second round;
Determining module, for according to first link state, second link state and preset tunnel rule from described
First obtains target view networking tunnel depending on determining in networking tunnel depending on networking tunnel and described second;
Judgment module, the work at present path of the business object for judging to be carrying out or the default of pending business object
Whether operating path regards tunnel of networking with the target identical;
Switching module will be described for networking in the different situation in tunnel in the work at present path and target view
Work at present path is switched to the target view networking tunnel, holds so that the first terminal is based on the target depending on networking tunnel
The business object being carrying out described in row, alternatively, different in the default operating path and target view networking tunnel
In the case of, the default operating path is switched to the target view networking tunnel, so that the first terminal is based on the mesh
Mark executes the pending business object depending on networking tunnel.
8. the processing unit of business object according to claim 7, which is characterized in that first link state is to have connected
Connect state or off-state, second link state off-state for connected status or;
The determining module, for being connected status in first link state, and second link state is to have connected
When connecing state, it is determined as the target view networking tunnel depending on networking tunnel for described first;It is in first link state
Connection status, and second link state be off-state when, by described first view network tunnel be determined as the target
Depending on tunnel of networking;It is off-state in first link state, and when second link state is connected status, it will
Described second is determined as the target view networking tunnel depending on networking tunnel;It is off-state in first link state, and
Second link state be off-state when, the described first view networking tunnel is determined as target view and is networked tunnel.
9. the processing unit of business object according to claim 8, which is characterized in that described device further include:
Cue module, for detecting the first of the first view networking tunnel according to the preset period 1 in the detection module
Link state, and according to preset second round detect it is described second view networking tunnel the second link state after, generate simultaneously
Show prompt information, the prompt information includes first link state and second link state.
10. the processing unit of business object according to any one of claims 7 to 9, which is characterized in that the detection mould
Block, comprising:
First message generates submodule, for generating the first detection messages according to the period 1, and regards by described first
Tunnel network to second terminal transmission first detection messages, the second terminal is used to report according to first detection
First link state in text detection the first view networking tunnel;
First result judging submodule, for judging whether the first terminal receives the second inspection that the second terminal generates
Text is observed and predicted, and determines first link state in the first view networking tunnel according to judging result.
11. the processing unit of business object according to any one of claims 7 to 9, which is characterized in that the detection mould
Block, comprising:
Third message generates submodule, for generating third detection messages according to the second round, and regards by described second
Tunnel network to the second terminal transmission third detection messages, the second terminal is used to detect according to the third and report
Second link state in text detection the second view networking tunnel;
Second result judging submodule, for judging whether the first terminal receives the 4th inspection that the second terminal generates
Text is observed and predicted, and determines second link state in the second view networking tunnel according to judging result.
12. the processing unit of business object according to claim 7, which is characterized in that the period 1 and described the
Two cycles are identical.
13. a kind of device characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made
Obtain the processing method for one or more business objects that described device is executed as described in claim 1 to 6.
14. a kind of computer readable storage medium, which is characterized in that its computer program stored executes processor as weighed
Benefit requires the processing method of 1 to 6 described in any item business objects.
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 true CN110445701A (en) | 2019-11-12 |
CN110445701B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112631810A (en) * | 2020-12-30 | 2021-04-09 | 北京天融信网络安全技术有限公司 | Link selection system and method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917492A (en) * | 2010-08-06 | 2010-12-15 | 北京乾唐视联网络科技有限公司 | Communication method and communication system of novel network |
CN102014019A (en) * | 2010-11-04 | 2011-04-13 | 中兴通讯股份有限公司 | Aggregated link switching method and device |
CN104579770A (en) * | 2014-12-30 | 2015-04-29 | 华为技术有限公司 | Method and device for managing data transmission channels |
CN106301836A (en) * | 2015-05-25 | 2017-01-04 | 北京视联动力国际信息技术有限公司 | A kind of method of redundancy backup, terminal and regard networked system |
CN109379254A (en) * | 2018-11-07 | 2019-02-22 | 视联动力信息技术股份有限公司 | A kind of detection method and system of the network connection based on video conference |
CN109672572A (en) * | 2019-01-23 | 2019-04-23 | 视联动力信息技术股份有限公司 | Data transmission method and device |
-
2019
- 2019-07-01 CN CN201910584339.3A patent/CN110445701B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917492A (en) * | 2010-08-06 | 2010-12-15 | 北京乾唐视联网络科技有限公司 | Communication method and communication system of novel network |
CN102014019A (en) * | 2010-11-04 | 2011-04-13 | 中兴通讯股份有限公司 | Aggregated link switching method and device |
CN104579770A (en) * | 2014-12-30 | 2015-04-29 | 华为技术有限公司 | Method and device for managing data transmission channels |
CN106301836A (en) * | 2015-05-25 | 2017-01-04 | 北京视联动力国际信息技术有限公司 | A kind of method of redundancy backup, terminal and regard networked system |
CN109379254A (en) * | 2018-11-07 | 2019-02-22 | 视联动力信息技术股份有限公司 | A kind of detection method and system of the network connection based on video conference |
CN109672572A (en) * | 2019-01-23 | 2019-04-23 | 视联动力信息技术股份有限公司 | Data transmission method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112631810A (en) * | 2020-12-30 | 2021-04-09 | 北京天融信网络安全技术有限公司 | Link selection system and method |
Also Published As
Publication number | Publication date |
---|---|
CN110445701B (en) | 2021-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109120962A (en) | The method and apparatus of software terminal connection view networking | |
CN108881361B (en) | A kind of data push method and device based on view networking | |
CN109167960A (en) | A kind of processing method and system of video stream data | |
CN110392126A (en) | A kind of communication means and device | |
CN109561072A (en) | A kind of chain circuit detecting method and system | |
CN109889779A (en) | A kind for the treatment of method and apparatus of packet out-ordering | |
CN109587002A (en) | A kind of condition detection method and system regarding networking monitoring equipment | |
CN109150665A (en) | A kind of bandwidth test method and apparatus | |
CN109587432A (en) | A kind of conference speech terminal switching method and system | |
CN109768963A (en) | A kind of meeting unlatching method and system based on view networking | |
CN110166727A (en) | A kind of networking of view and internet switching method, apparatus and system | |
CN110048903A (en) | A kind of association turns gateway status monitoring method and device | |
CN110177023A (en) | A kind of communication connection detection method and device based on view networking | |
CN110049268A (en) | A kind of videophone connection method and device | |
CN109525463A (en) | A kind of method and apparatus of 64 view networking protocol communication functions of detection | |
CN109873864A (en) | A kind of communication connection method for building up and system based on view networking | |
CN108989850A (en) | A kind of video playing control method and control system | |
CN110493149A (en) | A kind of method and apparatus of Message processing | |
CN110324205A (en) | A kind of monitor method, monitoring device, electronic equipment and storage medium | |
CN110336710A (en) | A kind of test method of terminal, system and device and storage medium | |
CN109698953A (en) | A kind of condition detection method and system regarding networking monitoring equipment | |
CN109873817A (en) | A kind of method and apparatus of one-to-one access network | |
CN109889759A (en) | A kind of exchange method and system regarding networked video meeting | |
CN110445701A (en) | A kind of processing method of business object, device and storage medium | |
CN110493312A (en) | Processing method, device, electronic equipment and the storage medium of abnormal terminals box |
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 |