CN109889420B - Service processing method and device - Google Patents

Service processing method and device Download PDF

Info

Publication number
CN109889420B
CN109889420B CN201910087660.0A CN201910087660A CN109889420B CN 109889420 B CN109889420 B CN 109889420B CN 201910087660 A CN201910087660 A CN 201910087660A CN 109889420 B CN109889420 B CN 109889420B
Authority
CN
China
Prior art keywords
video networking
video
service
network
user terminal
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
CN201910087660.0A
Other languages
Chinese (zh)
Other versions
CN109889420A (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 CN201910087660.0A priority Critical patent/CN109889420B/en
Publication of CN109889420A publication Critical patent/CN109889420A/en
Application granted granted Critical
Publication of CN109889420B publication Critical patent/CN109889420B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a service processing method and a service processing device, which are applied to a video network. The method comprises the following steps: the service forwarding instance receives an IP service request message which is sent by a user terminal and carries the MAC address of the user terminal through a superior video network tunnel, and records the corresponding relation between the superior video network tunnel and the MAC address of the user terminal; the service forwarding instance sends the IP service request message to a user server; the service forwarding example receives an IP service response message which is returned by the user server aiming at the IP service request message and carries the MAC address of the user terminal; and the service forwarding example searches a superior video network tunnel corresponding to the MAC address of the user terminal from the corresponding relation and returns the IP service response message to the user terminal through the searched superior video network tunnel. The invention has simple configuration and simple and convenient service processing process, can uniformly maintain and manage the service forwarding instance and has higher convenience.

Description

Service processing method and device
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a service processing method and a service processing apparatus.
Background
With the rapid development of network technologies, users can process various services through a network. For convenience of unified management, service resources are usually converged to a core point, and user point locations distributed in a plurality of different physical locations may access services through the core point.
In the prior art, the processing is generally performed in a point-to-point manner. The network may provide point-to-point tunneling capability, with each user point site establishing a point-to-point tunnel with the core site. However, the method is complex in configuration and service processing process, and needs to maintain and manage each point-to-point tunnel, so that the convenience is poor.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a service processing method and a corresponding service processing apparatus that overcome or at least partially solve the above problems.
In order to solve the above problems, an embodiment of the present invention discloses a service processing method, where the method is applied to a video network, the video network includes a superior video network gateway device, the superior video network gateway device includes a service forwarding instance and a plurality of superior video network tunnels connected to the service forwarding instance, and an IP network includes a user server and a user terminal, and the method includes:
the service forwarding instance receives an IP service request message which is sent by the user terminal and carries the MAC address of the user terminal through a superior video network tunnel, and records the corresponding relation between the superior video network tunnel and the MAC address of the user terminal;
the service forwarding instance sends the IP service request message to the user server;
the service forwarding instance receives an IP service response message which is returned by the user server aiming at the IP service request message and carries the MAC address of the user terminal;
and the service forwarding example searches a superior video network tunnel corresponding to the MAC address of the user terminal from the corresponding relation, and returns the IP service response message to the user terminal through the searched superior video network tunnel.
Optionally, the video network further includes a plurality of subordinate video network gateway devices and video network servers, where the subordinate video network gateway devices include a plurality of user ports and a plurality of subordinate video network tunnels, the subordinate video network tunnels correspond to the user ports one to one, and the subordinate video network tunnels correspond to the superior video network tunnels one to one; before the step of receiving, by the service forwarding instance, an IP service request packet carrying the MAC address of the user terminal sent by the user terminal through a superior video networking tunnel, the method further includes: the lower-level video networking gateway equipment receives the IP service request message sent by the user terminal through a user port corresponding to the user terminal, and encapsulates the IP service request message into a first video networking message by adopting a video networking protocol; and the subordinate video networking gateway equipment forwards the first video networking message to a superior video networking tunnel corresponding to the subordinate video networking tunnel in the superior video networking gateway equipment through a subordinate video networking tunnel corresponding to the user port and the video networking server.
Optionally, the step of sending, by the service forwarding instance, the IP service request packet to the user server includes: the service forwarding instance analyzes the first video network message and extracts the IP service request message from the first video network message; and the service forwarding example sends the IP service request message to the user server.
Optionally, the video network further includes a plurality of subordinate video network gateway devices and video network servers, where the subordinate video network gateway devices include a plurality of user ports and a plurality of subordinate video network tunnels, the subordinate video network tunnels correspond to the user ports one to one, and the subordinate video network tunnels correspond to the superior video network tunnels one to one; the step of returning the IP service response packet to the user terminal through the found superior internet of view tunnel includes: the service forwarding instance adopts a video networking protocol to package the IP service response message into a second video networking message; the service forwarding instance forwards the second video networking message to a lower video networking tunnel corresponding to the searched upper video networking tunnel in lower video networking gateway equipment through the searched upper video networking tunnel by the video networking server; and the lower-level video networking gateway equipment returns the IP service response message to the user terminal through a user port corresponding to the user terminal.
Optionally, the method further comprises: and deleting the corresponding relation when the service forwarding instance detects that the recording time of the corresponding relation exceeds a set time threshold.
On the other hand, the embodiment of the invention also discloses a service processing device, the device is applied to the video network, the video network comprises a superior video network gateway device, the superior video network gateway device comprises a service forwarding instance and a plurality of superior video network tunnels connected with the service forwarding instance, the IP network comprises a user server and a user terminal, and the superior video network gateway device comprises:
the first receiving module is used for receiving an IP service request message which is sent by the user terminal and carries the MAC address of the user terminal through a superior video network tunnel and recording the corresponding relation between the superior video network tunnel and the MAC address of the user terminal;
the sending module is used for sending the IP service request message to the user server;
a second receiving module, configured to receive an IP service response packet, which is returned by the user server for the IP service request packet and carries the MAC address of the user terminal;
and the first returning module is used for searching a superior video network tunnel corresponding to the MAC address of the user terminal from the corresponding relation and returning the IP service response message to the user terminal through the searched superior video network tunnel.
Optionally, the video network further includes a plurality of subordinate video network gateway devices and video network servers, where the subordinate video network gateway devices include a plurality of user ports and a plurality of subordinate video network tunnels, the subordinate video network tunnels correspond to the user ports one to one, and the subordinate video network tunnels correspond to the superior video network tunnels one to one; the subordinate video networking gateway device includes: the first encapsulation module is used for receiving the IP service request message sent by the user terminal through a user port corresponding to the user terminal and encapsulating the IP service request message into a first video network message by adopting a video network protocol; and the first forwarding module is used for forwarding the first video networking message to a superior video networking tunnel corresponding to the subordinate video networking tunnel in the superior video networking gateway equipment through the subordinate video networking tunnel corresponding to the user port and the video networking server.
Optionally, the sending module is configured to parse the first video network packet, extract the IP service request packet from the first video network packet, and send the IP service request packet to the user server.
Optionally, the video network further includes a plurality of subordinate video network gateway devices and video network servers, where the subordinate video network gateway devices include a plurality of user ports and a plurality of subordinate video network tunnels, the subordinate video network tunnels correspond to the user ports one to one, and the subordinate video network tunnels correspond to the superior video network tunnels one to one; the first return module includes: the second packaging submodule is used for packaging the IP service response message into a second video networking message by adopting a video networking protocol; the second forwarding sub-module is used for forwarding the second video networking message to a lower video networking tunnel corresponding to the searched upper video networking tunnel in lower video networking gateway equipment through the searched upper video networking tunnel by the video networking server; the subordinate video networking gateway device includes: and the second returning module is used for returning the IP service response message to the user terminal through a user port corresponding to the user terminal.
Optionally, the upper level video networking gateway device further includes: and the detection module is used for deleting the corresponding relation when detecting that the recording time of the corresponding relation exceeds a set time threshold.
In the embodiment of the invention, a service forwarding instance receives an IP service request message which is sent by a user terminal and carries a user terminal MAC address through a superior video networking tunnel, and generates a corresponding relation between the superior video networking tunnel and the user terminal MAC address; the service forwarding instance sends the IP service request message to a user server; the service forwarding example receives an IP service response message which is returned by the user server aiming at the IP service request message and carries the MAC address of the user terminal; and the service forwarding example searches a superior video network tunnel corresponding to the MAC address of the user terminal from the corresponding relation and returns the IP service response message to the user terminal through the searched superior video network tunnel. Therefore, in the embodiment of the invention, the service forwarding instance is arranged in the superior video networking gateway equipment, the uniform access of a plurality of user terminals to the user server is realized through the service forwarding instance, a point-to-multipoint communication form is formed, the configuration is simple, the service processing process is simple and convenient, the service forwarding instance can be uniformly maintained and managed, and the convenience is higher.
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 schematic diagram of a superior video networking gateway device according to a first embodiment of the present invention;
fig. 6 is a flowchart illustrating steps of a service processing method according to a first embodiment of the present invention;
FIG. 7 is a schematic diagram of a device connection according to a second embodiment of the present invention;
fig. 8 is a flowchart illustrating steps of a service processing method according to a second embodiment of the present invention;
fig. 9 is a block diagram of a service processing apparatus according to a third 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 over traditional Ethernet (Ethernet) to face the potentially enormous 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.
1. 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: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, 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 servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, 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 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 data packet coming from the CPU module 204 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, which in this embodiment of the present invention is divided into 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 208 is configured by the CPU module 204, 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 video networking destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet coordination 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 data packets, and is 64 bytes if the data packet is a variety of protocol packets, and is 32+1024 or 1056 bytes if the data packet is a unicast data 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.
Based on the characteristics of the video network, the service processing scheme provided by the embodiment of the invention follows the protocol of the video network, and can simplify the service processing process.
Example one
The service processing method of the embodiment of the invention can be applied to the video network. The video network can provide a two-layer tunnel capability and provide point-to-point L2VPN services, but if each user point location establishes a point-to-point two-layer tunnel with the core point, the configuration is cumbersome and it is cumbersome to manage each two-layer tunnel. Therefore, the embodiment of the invention sets a service forwarding instance in the superior video network gateway device deployed in the video network, and uniformly processes the service request of each user through the service forwarding instance. The steps performed by the following service forwarding instance may also be understood as steps performed by the upper level video networking gateway device.
Referring to fig. 5, a schematic diagram of a superior video networking gateway device according to a first embodiment of the present invention is shown. As shown in fig. 5, a virtual service forwarding instance (of course, other modules such as a CPU may also be included in the upper level video networking gateway device). The superior video networking gateway equipment is provided with a user side and a tunnel side, wherein the user side is accessed to a user network through a service forwarding instance, and the tunnel side is accessed to a plurality of superior video networking tunnels through the service forwarding instance. The user side can deploy a user service access port through interface deployment, and can be used for accessing a user server and a special network, such as an e-government network, a public security private network, a social security private network, an auditing private network and the like. A plurality of superior video networking tunnels are deployed on the tunnel side, and a user terminal of an opposite end of each superior video networking tunnel can access an accessed user server through a service forwarding instance. The service forwarding instance is taken as a bridge, the function of multipoint convergence access single point is realized, and the service forwarding instance can be managed and maintained at a user side, so that the final purposes of convergence access, centralized management and maintenance of the service are realized. The user terminal box and the user server may be deployed in an IP (Internet Protocol ) network.
Referring to fig. 6, a flowchart illustrating steps of a service processing method according to a first embodiment of the present invention is shown.
The service processing method of the embodiment of the invention can comprise the following steps:
step 601, a service forwarding instance receives an IP service request message which is sent by the user terminal and carries the MAC address of the user terminal through a superior video network tunnel, and records the corresponding relationship between the superior video network tunnel and the MAC address of the user terminal.
The user terminal may send a service request when it wants to request a service from the user server. And the user terminal encapsulates the service request into an IP service request message based on the IP protocol. The IP service request message may include an IP header and a data segment. The IP header may include a source address, an IP protocol, and other information, where the source address may be a Media Access Control (MAC) address of the user equipment.
The user terminal may send an IP service request message. The service forwarding instance in the superior video networking gateway device can receive the IP service request message through a superior video networking tunnel corresponding to the user terminal at the tunnel side. The service forwarding instance analyzes the IP service request message, extracts the MAC address of the user terminal from the IP service request message, and can record the corresponding relation between the superior video network tunnel receiving the IP service request message and the MAC address of the user terminal so as to be convenient for subsequent inquiry and use. For example, the mapping table may be recorded as an entry in a mapping table, and the mapping table may record the mapping between a plurality of upper-level internet-of-view tunnels and the MAC address of the user terminal.
Step 602, the service forwarding instance sends the IP service request packet to the user server.
The service forwarding instance may send the IP service request packet to a user server connected to the service forwarding instance on the user side.
Step 603, the service forwarding instance receives an IP service response packet carrying the MAC address of the user terminal, which is returned by the user server for the IP service request packet.
The user server receives the IP service request message and then analyzes the IP service request message, acquires a service response (such as relevant data requested by the user terminal) corresponding to the service request, and returns the service response to the user terminal. And the user server packages the service response into an IP service response message based on the IP protocol. The IP service response message may include an IP header and a data segment. The IP header may include information such as a source address, a destination address, and an IP protocol, where the source address may be a MAC address of the user server, and the destination address may be a MAC address of the user terminal.
The user server can send the IP service response message to the service forwarding instance, and the service forwarding instance receives the IP service response message at the user side.
Step 604, the service forwarding instance searches the superior video network tunnel corresponding to the user terminal MAC address from the corresponding relationship, and returns the IP service response packet to the user terminal through the found superior video network tunnel.
And the service forwarding instance receives the IP service response message, analyzes the IP service response message and extracts the MAC address of the user terminal from the IP service response message. The service forwarding instance can search the upper-level video network tunnel corresponding to the MAC address of the user terminal from the pre-recorded corresponding relation, and return the IP service response message to the user terminal through the searched upper-level video network tunnel.
In the embodiment of the invention, the service forwarding instance is arranged in the superior video networking gateway equipment, the uniform access of a plurality of user terminals to the user server is realized through the service forwarding instance, a point-to-multipoint communication form is formed, the configuration is simple, the service processing process is simple and convenient, the service forwarding instance can be uniformly maintained and managed, and the convenience is higher.
Example two
The upper-level video networking gateway device, the video networking server (which can be the node server) and a plurality of lower-level video networking gateway devices are included in the video networking, for example, the video networking gateway device can comprise a video networking Modem (Modem). The IP network includes a user server and a user terminal.
Fig. 7 is a schematic diagram of a device connection according to a second embodiment of the present invention. In fig. 7, each subordinate video network gateway device serves as a (leaf node) leaf, and each subordinate video network gateway device may include a video network-access side and a video network-tunnel side, wherein the video network-access side may access a user terminal (e.g., a PC, a set-top box, etc.), and the video network-tunnel side may be connected to a video network server. The superior video networking gateway device as a (ROOT node) ROOT may include a video networking-access side and a video networking-tunnel side, the video networking-tunnel side may be connected with a video networking server, and the video networking-access side may be accessed to a user server such as the internet, an IPTV (interactive network television), an electronic private network, and the like. The video network establishes a tree network topology of a root node and a plurality of leaf nodes in the network by a two-layer transmission technology, each branch is a two-layer network, the root node and the leaf nodes are in two-way communication, but the leaf nodes cannot be in communication.
The superior video network gateway device and the subordinate video network gateway device are both registered in the video network server so as to be accessed into the video network. After registration, dialing is carried out between the superior video networking gateway equipment and the subordinate video networking gateway equipment so as to establish connection between the superior video networking gateway equipment and the subordinate video networking gateway equipment, and the connection relation between the superior video networking gateway equipment and the subordinate video networking gateway equipment can be stored in the video networking server.
The superior video networking gateway equipment comprises a service forwarding instance and also can comprise a plurality of superior virtual terminals, each superior virtual terminal corresponds to one superior video networking tunnel, and the superior video networking tunnels are connected with the service forwarding instance. After the superior video networking gateway device is registered in the video networking server, the video networking server can allocate information such as a video networking MAC address and a video networking number to each superior virtual terminal (namely, a video networking tunnel) in the superior video networking gateway device.
The lower-level video networking gateway device can comprise a plurality of lower-level virtual terminals, and each lower-level virtual terminal corresponds to one lower-level video networking tunnel. After the lower-level video networking gateway device is registered in the video networking server, the video networking server can allocate information such as a video networking MAC address and a video networking number to each lower-level virtual terminal (namely a lower-level video networking tunnel) in the lower-level video networking gateway device. The lower level video Network gateway device further includes a plurality of user ports, such as Virtual Local Area Network (VLAN) ports, and the lower level video Network tunnels correspond to the user ports one to one.
The corresponding relation between the superior video network tunnel in the superior video network gateway device and the subordinate video network tunnel in the subordinate video network gateway device can be stored in the video network server. In the implementation, the corresponding relation between the upper-level video networking tunnel and the lower-level video networking tunnel can be embodied by storing the corresponding relation between the video networking MAC address of the upper-level virtual terminal in the upper-level video networking gateway device and the video networking MAC address of the lower-level virtual terminal in the lower-level video networking gateway device.
Referring to fig. 8, a flowchart illustrating a service processing method according to a second embodiment of the present invention is shown.
The service processing method of the embodiment of the invention can comprise the following steps:
step 801, a lower-level video networking gateway device receives the IP service request message sent by the user terminal through a user port corresponding to the user terminal, and encapsulates the IP service request message into a first video networking message by using a video networking protocol.
And the user terminal communicates with the lower-level video networking gateway equipment based on an IP protocol. And the user terminal encapsulates the service request into an IP service request message based on an IP protocol, and sends the IP service request message to the subordinate video networking gateway equipment through a user port which is correspondingly connected with the user terminal in the subordinate video networking gateway equipment. The IP service request message may include an IP header and a data segment. The IP header may include a source address, an IP protocol, and other information, where the source address may be a MAC address of the user terminal.
And the lower-level video networking gateway equipment and the video networking server communicate based on a video networking protocol. If the IP message is to be transmitted in the video network, the IP message is encapsulated by the video network message. The video network message is a message transmitted in a video network link and consists of a video network packet header and a message carrying data segment. The video network packet header refers to the header of the video network message and contains information such as a video network MAC address and a video network protocol. The data section of the bearer message is a data area for bearing an IP message in the video networking message. Therefore, the lower-level video networking gateway device adopts the video networking protocol to package the IP service request message into a first video networking message. The IP service request message is added to a data segment of a bearer message in the first video network message, a packet header of the video network may include information such as a source address and a destination address, the source address may be a video network MAC address of a virtual terminal corresponding to a lower video network tunnel corresponding to a user port receiving the IP service request message in a lower video network gateway device, and the destination address may be a video network MAC address of a video network server.
Step 802, a lower-level video networking gateway device forwards the first video networking packet to a higher-level video networking tunnel corresponding to the lower-level video networking tunnel in the higher-level video networking gateway device through the lower-level video networking tunnel corresponding to the user port via the video networking server.
And the lower-level video network gateway equipment sends the first video network message to the video network server through a lower-level video network tunnel corresponding to the user port for receiving the IP service request message.
The video networking server and the superior video networking gateway device communicate based on a video networking protocol. After receiving the first video network message encapsulating the IP service request message, the video network server may search for the virtual terminal video network MAC address in the higher level video network gateway device corresponding to the video network MAC address of the virtual terminal in the lower level video network gateway device included in the video network packet header according to the correspondence between the video network MAC address of the virtual terminal in the higher level video network gateway device and the virtual terminal video network MAC address in the lower level video network gateway device, which is stored in advance. And the video network server modifies the source address and the destination address in the packet header of the first video network message, the source address is modified into the video network MAC address of the video network server, and the destination address is modified into the searched virtual terminal video network MAC address in the superior video network gateway equipment. And the video networking server sends the first video networking message to a superior video networking tunnel corresponding to the subordinate video networking tunnel in the superior video networking gateway equipment according to the searched MAC address of the virtual terminal video networking in the superior video networking gateway equipment.
Step 803, the service forwarding instance receives a first video network message sent by a video network server through a superior video network tunnel, and records the corresponding relationship between the superior video network tunnel and the user terminal MAC address.
Step 804, the service forwarding instance parses the first video network message, extracts the IP service request message from the first video network message, and sends the IP service request message to the user server.
The service forwarding instance receives a first video network message sent by the video network server through the upper-level video network tunnel, analyzes the first video network message, extracts an IP service request message from the first video network message, and extracts a user terminal MAC address from an IP packet header of the IP service request message.
The service forwarding instance records the corresponding relation between the superior video network tunnel for receiving the first video network message and the MAC address of the user terminal. The service forwarding instance communicates with the user server based on an IP protocol, and sends an IP service request message to the user server.
Step 805, the service forwarding instance receives an IP service response packet carrying the MAC address of the user terminal, which is returned by the user server in response to the IP service request packet.
And the user server analyzes the IP service request message after receiving the IP service request message, acquires a service response corresponding to the service request, packages the service response into an IP service response message based on an IP protocol, and sends the IP service response message to a service forwarding example.
The IP service response message may include an IP header and a data segment. The IP header may include information such as a source address, a destination address, and an IP protocol, where the source address may be a MAC address of the user server, and the destination address may be a MAC address of the user terminal.
Step 806, the service forwarding instance searches the upper-level internet-of-view tunnel corresponding to the user terminal MAC address from the corresponding relationship.
And the service forwarding instance receives the IP service response message, analyzes the IP service response message and extracts the MAC address of the user terminal from the IP service response message. The service forwarding instance may search the pre-recorded correspondence for the upper-level internet-of-view tunnel corresponding to the MAC address of the user equipment.
In step 807, the service forwarding instance encapsulates the IP service response packet into a second video networking packet by using a video networking protocol, and forwards the second video networking packet to a lower video networking tunnel corresponding to the found upper video networking tunnel in a lower video networking gateway device through the found upper video networking tunnel and the video networking server.
And the service forwarding instance receives and encapsulates the IP service response message into a second video network message by adopting a video network protocol, and sends the second video network message to the video network server through the searched superior video network tunnel. The second video network message includes a data segment of a bearer message, and an IP service response message is added to the data segment of the bearer message, where the header of the video network packet may include information such as a source address and a destination address, the source address may be a video network MAC address of a virtual terminal corresponding to the found superior video network tunnel, and the destination address may be a video network MAC address of a video network server.
After receiving the second video networking message encapsulating the IP service response message, the video networking server may search for the virtual terminal video networking MAC address in the lower video networking gateway device corresponding to the video networking MAC address of the virtual terminal in the higher video networking gateway device included in the video networking packet header according to the correspondence between the video networking MAC address of the virtual terminal in the higher video networking gateway device and the virtual terminal video networking MAC address in the lower video networking gateway device that is pre-stored. And the video network server modifies the source address and the destination address in the packet header of the second video network message, the source address is modified into the video network MAC address of the video network server, and the destination address is modified into the searched virtual terminal video network MAC address in the lower-level video network gateway equipment. And the video networking server forwards the second video networking message to a lower video networking tunnel corresponding to the searched upper video networking tunnel in the lower video networking gateway equipment according to the searched MAC address of the virtual terminal video networking in the lower video networking gateway equipment.
Step 808, the subordinate video network gateway device returns the IP service response packet to the user terminal through the user port corresponding to the user terminal.
And the lower-level video network gateway equipment receives a second video network message sent by the video network server through the lower-level video network tunnel, analyzes the second video network message and extracts an IP service response message from the second video network message. And the subordinate video network gateway equipment returns the IP service response message to the user terminal through the user port corresponding to the subordinate video network tunnel (namely, the user port corresponding to the user terminal).
In an alternative embodiment, considering the storage problem of the service forwarding instance, for example, a single service forwarding instance may support storage of 1024 entries, which may be up to 8K. Therefore, for the corresponding relation recorded by the service forwarding instance, timing can be started when a certain corresponding relation is recorded, the service forwarding instance detects whether the recording time of the corresponding relation exceeds a set time threshold value in real time, and if so, the corresponding relation is deleted. Therefore, the waste of storage space is avoided, and the situation that the corresponding relation cannot be recorded due to insufficient storage space is avoided. For the specific value of the set time threshold, a person skilled in the art may select any suitable value according to practical experience, such as 300s, 400s, and the like, which is not limited in this embodiment of the present invention.
In the embodiment of the invention, based on the video networking E-tree point-to-multipoint convergence service realization, the superior video networking gateway equipment and the subordinate video networking gateway equipment are expanded in service form, and the problem that various convergence services are required to be used is solved. For example, there is also a point-to-multipoint network between the company and the various branches. The company and each branch have corresponding business traffic, but the branches do not want to have some information exchange (for example, information related to confidentiality in finance) in view of privacy, and the point-to-multipoint business model of the embodiment of the invention can be applied in such a scene.
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.
EXAMPLE III
Referring to fig. 9, a block diagram of a service processing apparatus according to a third embodiment of the present invention is shown. The service processing device of the embodiment of the invention can be applied to the video network, the video network comprises the superior video network gateway equipment, the superior video network gateway equipment comprises a service forwarding instance and a plurality of superior video network tunnels connected with the service forwarding instance, and the IP network comprises a user server and a user terminal.
The service processing device of the embodiment of the invention can comprise the following modules:
the superior video networking gateway device comprises:
a first receiving module 901, configured to receive, through a superior video networking tunnel, an IP service request packet that is sent by the user terminal and carries the MAC address of the user terminal, and record a corresponding relationship between the superior video networking tunnel and the MAC address of the user terminal;
a sending module 902, configured to send the IP service request packet to the user server;
a second receiving module 903, configured to receive an IP service response packet, which is returned by the user server for the IP service request packet and carries the MAC address of the user terminal;
a first returning module 904, configured to search the corresponding relationship for a superior video networking tunnel corresponding to the MAC address of the user terminal, and return the IP service response packet to the user terminal through the found superior video networking tunnel.
Optionally, the video network further comprises a plurality of subordinate video network gateway devices and video network servers, wherein each subordinate video network gateway device comprises a plurality of user ports and a plurality of subordinate video network tunnels, each subordinate video network tunnel corresponds to one user port, and each subordinate video network tunnel corresponds to one superior video network tunnel. The subordinate video networking gateway device includes: the first encapsulation module is used for receiving the IP service request message sent by the user terminal through a user port corresponding to the user terminal and encapsulating the IP service request message into a first video network message by adopting a video network protocol; and the first forwarding module is used for forwarding the first video networking message to a superior video networking tunnel corresponding to the subordinate video networking tunnel in the superior video networking gateway equipment through the subordinate video networking tunnel corresponding to the user port and the video networking server.
Optionally, the sending module is configured to parse the first video network packet, extract the IP service request packet from the first video network packet, and send the IP service request packet to the user server.
Optionally, the video network further comprises a plurality of subordinate video network gateway devices and video network servers, wherein each subordinate video network gateway device comprises a plurality of user ports and a plurality of subordinate video network tunnels, each subordinate video network tunnel corresponds to one user port, and each subordinate video network tunnel corresponds to one superior video network tunnel. The first return module includes: the second packaging submodule is used for packaging the IP service response message into a second video networking message by adopting a video networking protocol; and the second forwarding sub-module is used for forwarding the second video networking message to a lower video networking tunnel corresponding to the searched upper video networking tunnel in lower video networking gateway equipment through the searched upper video networking tunnel and the video networking server. The subordinate video networking gateway device includes: and the second returning module is used for returning the IP service response message to the user terminal through a user port corresponding to the user terminal.
Optionally, the upper level video networking gateway device further includes: and the detection module is used for deleting the corresponding relation when detecting that the recording time of the corresponding relation exceeds a set time threshold.
In the embodiment of the invention, the service forwarding instance is arranged in the superior video networking gateway equipment, the uniform access of a plurality of user terminals to the user server is realized through the service forwarding instance, a point-to-multipoint communication form is formed, the configuration is simple, the service processing process is simple and convenient, the service forwarding instance can be uniformly maintained and managed, and the convenience is higher.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
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 service processing method and the service processing apparatus provided by the present invention are introduced in detail, and a specific example is applied in the text 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 (10)

1. A service processing method is applied to a video network, wherein the video network comprises a superior video network gateway device, the superior video network gateway device comprises a service forwarding instance and a plurality of superior video network tunnels connected with the service forwarding instance, and an IP network comprises a user server and a user terminal, the method comprises the following steps:
the service forwarding instance receives an IP service request message which is sent by the user terminal and carries the MAC address of the user terminal through a superior video network tunnel, and records the corresponding relation between the superior video network tunnel and the MAC address of the user terminal;
the service forwarding instance sends the IP service request message to the user server;
the service forwarding instance receives an IP service response message which is returned by the user server aiming at the IP service request message and carries the MAC address of the user terminal;
and the service forwarding example searches a superior video network tunnel corresponding to the MAC address of the user terminal from the corresponding relation, and returns the IP service response message to the user terminal through the searched superior video network tunnel.
2. The method of claim 1, further comprising a plurality of subordinate video networking gateway devices and video networking servers in a video networking, the subordinate video networking gateway devices comprising a plurality of user ports and a plurality of subordinate video networking tunnels, the subordinate video networking tunnels corresponding one-to-one to the user ports and the subordinate video networking tunnels corresponding one-to-one to the superior video networking tunnels;
before the step of receiving, by the service forwarding instance, an IP service request packet carrying the MAC address of the user terminal sent by the user terminal through a superior video networking tunnel, the method further includes:
the lower-level video networking gateway equipment receives the IP service request message sent by the user terminal through a user port corresponding to the user terminal, and encapsulates the IP service request message into a first video networking message by adopting a video networking protocol;
and the subordinate video networking gateway equipment forwards the first video networking message to a superior video networking tunnel corresponding to the subordinate video networking tunnel in the superior video networking gateway equipment through a subordinate video networking tunnel corresponding to the user port and the video networking server.
3. The method according to claim 2, wherein the step of the service forwarding instance sending the IP service request packet to the user server comprises:
the service forwarding instance analyzes the first video network message and extracts the IP service request message from the first video network message;
and the service forwarding example sends the IP service request message to the user server.
4. The method of claim 1, further comprising a plurality of subordinate video networking gateway devices and video networking servers in a video networking, the subordinate video networking gateway devices comprising a plurality of user ports and a plurality of subordinate video networking tunnels, the subordinate video networking tunnels corresponding one-to-one to the user ports and the subordinate video networking tunnels corresponding one-to-one to the superior video networking tunnels;
the step of returning the IP service response packet to the user terminal through the found superior internet of view tunnel includes:
the service forwarding instance adopts a video networking protocol to package the IP service response message into a second video networking message;
the service forwarding instance forwards the second video networking message to a lower video networking tunnel corresponding to the searched upper video networking tunnel in lower video networking gateway equipment through the searched upper video networking tunnel by the video networking server;
and the lower-level video networking gateway equipment returns the IP service response message to the user terminal through a user port corresponding to the user terminal.
5. The method of claim 1, further comprising:
and deleting the corresponding relation when the service forwarding instance detects that the recording time of the corresponding relation exceeds a set time threshold.
6. The utility model provides a higher level's visual networking gateway equipment which characterized in that, higher level's visual networking gateway equipment is applied to in the visual networking, includes higher level's visual networking gateway equipment in the visual networking, higher level's visual networking gateway equipment include a business forward the instance and with a plurality of higher level's visual networking tunnels that the business forwarded the instance and is connected, include user server and user terminal in the IP net, higher level's visual networking gateway equipment includes:
the first receiving module is used for receiving an IP service request message which is sent by the user terminal and carries the MAC address of the user terminal through a superior video network tunnel and recording the corresponding relation between the superior video network tunnel and the MAC address of the user terminal;
the sending module is used for sending the IP service request message to the user server;
a second receiving module, configured to receive an IP service response packet, which is returned by the user server for the IP service request packet and carries the MAC address of the user terminal;
and the first returning module is used for searching a superior video network tunnel corresponding to the MAC address of the user terminal from the corresponding relation and returning the IP service response message to the user terminal through the searched superior video network tunnel.
7. The upper level video networking gateway device of claim 6, further comprising a plurality of lower level video networking gateway devices and video networking servers in a video networking, wherein the lower level video networking gateway devices comprise a plurality of user ports and a plurality of lower level video networking tunnels, wherein the lower level video networking tunnels are in one-to-one correspondence with the user ports, and the lower level video networking tunnels are in one-to-one correspondence with the upper level video networking tunnels;
the subordinate video networking gateway device includes:
the first encapsulation module is used for receiving the IP service request message sent by the user terminal through a user port corresponding to the user terminal and encapsulating the IP service request message into a first video network message by adopting a video network protocol;
and the first forwarding module is used for forwarding the first video networking message to a superior video networking tunnel corresponding to the subordinate video networking tunnel in the superior video networking gateway equipment through the subordinate video networking tunnel corresponding to the user port and the video networking server.
8. The upper-level internet-of-video gateway device of claim 7, wherein the sending module is configured to parse the first internet-of-video message, extract the IP service request message from the first internet-of-video message, and send the IP service request message to the user server.
9. The upper level video networking gateway device of claim 6, further comprising a plurality of lower level video networking gateway devices and video networking servers in a video networking, wherein the lower level video networking gateway devices comprise a plurality of user ports and a plurality of lower level video networking tunnels, wherein the lower level video networking tunnels are in one-to-one correspondence with the user ports, and the lower level video networking tunnels are in one-to-one correspondence with the upper level video networking tunnels;
the first return module includes:
the second packaging submodule is used for packaging the IP service response message into a second video networking message by adopting a video networking protocol;
the second forwarding sub-module is used for forwarding the second video networking message to a lower video networking tunnel corresponding to the searched upper video networking tunnel in lower video networking gateway equipment through the searched upper video networking tunnel by the video networking server;
the subordinate video networking gateway device includes:
and the second returning module is used for returning the IP service response message to the user terminal through a user port corresponding to the user terminal.
10. The superior video networking gateway device of claim 6, further comprising:
and the detection module is used for deleting the corresponding relation when detecting that the recording time of the corresponding relation exceeds a set time threshold.
CN201910087660.0A 2019-01-29 2019-01-29 Service processing method and device Active CN109889420B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910087660.0A CN109889420B (en) 2019-01-29 2019-01-29 Service processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910087660.0A CN109889420B (en) 2019-01-29 2019-01-29 Service processing method and device

Publications (2)

Publication Number Publication Date
CN109889420A CN109889420A (en) 2019-06-14
CN109889420B true CN109889420B (en) 2021-07-30

Family

ID=66927284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910087660.0A Active CN109889420B (en) 2019-01-29 2019-01-29 Service processing method and device

Country Status (1)

Country Link
CN (1) CN109889420B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493149B (en) * 2019-07-19 2020-12-18 视联动力信息技术股份有限公司 Message processing method and device
CN110545244A (en) * 2019-08-12 2019-12-06 视联动力信息技术股份有限公司 message distribution method and device
CN110557319B (en) * 2019-08-28 2020-11-13 视联动力信息技术股份有限公司 Message processing method and device based on video network
CN110740087B (en) * 2019-09-18 2021-01-08 视联动力信息技术股份有限公司 Message transmission method, terminal, gateway device, electronic device and storage medium
CN111555980B (en) * 2020-03-16 2023-04-14 视联动力信息技术股份有限公司 Data sending method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272403A (en) * 2008-05-27 2008-09-24 华为技术有限公司 Method, system and device for implementing DHCP user service wholesale
CN102724767A (en) * 2012-04-27 2012-10-10 杭州华三通信技术有限公司 Virtual private network access method and device for mobile user
CN103313308A (en) * 2013-06-18 2013-09-18 杭州华三通信技术有限公司 Data transmission method and device
CN106161248A (en) * 2015-04-27 2016-11-23 杭州华三通信技术有限公司 Message forwarding method and device in a kind of VXLAN network
CN108881141A (en) * 2017-11-23 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device based on view networking

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9942130B2 (en) * 2015-01-07 2018-04-10 Cisco Technology, Inc. Selective routing of network traffic for remote inspection in computer networks
US10237230B2 (en) * 2017-07-19 2019-03-19 Arista Networks, Inc. Method and system for inspecting network traffic between end points of a zone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272403A (en) * 2008-05-27 2008-09-24 华为技术有限公司 Method, system and device for implementing DHCP user service wholesale
CN102724767A (en) * 2012-04-27 2012-10-10 杭州华三通信技术有限公司 Virtual private network access method and device for mobile user
CN103313308A (en) * 2013-06-18 2013-09-18 杭州华三通信技术有限公司 Data transmission method and device
CN106161248A (en) * 2015-04-27 2016-11-23 杭州华三通信技术有限公司 Message forwarding method and device in a kind of VXLAN network
CN108881141A (en) * 2017-11-23 2018-11-23 北京视联动力国际信息技术有限公司 A kind of data processing method and device based on view networking

Also Published As

Publication number Publication date
CN109889420A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN109889420B (en) Service processing method and device
CN109617956B (en) Data processing method and device
CN109474715B (en) Resource configuration method and device based on video network
CN110035005B (en) Data processing method and device
CN110022295B (en) Data transmission method and video networking system
CN109818960B (en) Data processing method and device
CN110049341B (en) Video processing method and device
CN110602039A (en) Data acquisition method and system
CN110557319B (en) Message processing method and device based on video network
CN109803119B (en) Method and device for monitoring information transmission
CN110545244A (en) message distribution method and device
CN110581846A (en) Monitoring video processing and system
CN111555975B (en) Data sending method and device, electronic equipment and storage medium
CN110392227B (en) Data processing method, device and storage medium
CN110022500B (en) Packet loss processing method and device
CN109842630B (en) Video processing method and device
CN109862439B (en) Data processing method and device
CN110557411A (en) video stream processing method and device based on video network
CN110808896B (en) Data transmission method and device, electronic equipment and storage medium
CN110784683B (en) Management method, device and storage medium for monitoring resources
CN109905363B (en) Network disk access method and device
CN110096854B (en) Resource permission sharing method and device and readable storage medium
CN109495709B (en) Video network management system and method
CN109787993B (en) Method and device for multi-user to access private network
CN110611645B (en) Communication method and system of video telephone

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