CN102347895A - Method and equipment for transmitting monitoring data - Google Patents

Method and equipment for transmitting monitoring data Download PDF

Info

Publication number
CN102347895A
CN102347895A CN201110167358XA CN201110167358A CN102347895A CN 102347895 A CN102347895 A CN 102347895A CN 201110167358X A CN201110167358X A CN 201110167358XA CN 201110167358 A CN201110167358 A CN 201110167358A CN 102347895 A CN102347895 A CN 102347895A
Authority
CN
China
Prior art keywords
address
monitor data
request
network switching
virtual
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
Application number
CN201110167358XA
Other languages
Chinese (zh)
Other versions
CN102347895B (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201110167358.XA priority Critical patent/CN102347895B/en
Publication of CN102347895A publication Critical patent/CN102347895A/en
Application granted granted Critical
Publication of CN102347895B publication Critical patent/CN102347895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and equipment for transmitting monitoring data. Network switching equipment virtualizes a process that VC (video client) equipment acquires monitoring data from same front-end coding equipment into a process that a virtual IP (internet protocol) address acquires the monitoring data from the front-end coding equipment, so that the process that the VC equipment acquires the monitoring data from the same front-end coding equipment only needs to occupy one transmission path resource for the monitoring data, bandwidth resources occupied in the transmission process of the monitoring data of the same front-end coding equipment are saved, limit of bandwidth or the number of paths in the prior art is broken, and the problem, caused by the limit, of limiting the process that the VC equipment acquires the monitoring data is solved.

Description

A kind of transmission method of monitor data and equipment
Technical field
The present invention relates to communication technical field, particularly a kind of transmission method of monitor data and equipment.
Background technology
The sketch map of the system group network structure of the live monitoring of existing video processing scheme as shown in Figure 1; Corresponding VC (Video Client; The sketch map of the normal release flow after the processing procedure of program request EC (Encode, encoder) monitor data videoconference client), and program request finishes as shown in Figure 2.
With the monitor data among the VC1 program request EC1 is that example describes as follows:
For the process that the request monitor data begins, corresponding step comprises:
Step S201, VC1 send to VM (Video Management, video management) server and begin request (Request) message.
Concrete, between VC1 and VM server, above-mentioned Request message is specially GMP (Group Manage Protocol, igmpinternet) protocol massages.
Step S202, VM server are set up through Setup (foundation) message respectively with VC1 with EC1 respectively and are connected accordingly.
Step S203, VM server return to VC1 and begin response (Response) message.
Concrete, between VC1 and VM server, above-mentioned Response t message is specially the GMP protocol massages.
Step S204, EC1 are to VC1 transmission tone video data.
For the process that the request monitor data stops, corresponding step comprises:
Step S205, VC1 send to the VM server and stop request message.
Step S206, VM server discharge through Release (release) signaling respectively with VC1 with EC1 respectively and are connected accordingly.
Step S207, VM server return to VC1 and stop response message.
In addition, if the VC active request discharges corresponding connection resource, then VC can send Release Request (discharging request) message to the VM server.
Further, for the handling process that a plurality of VC carry out video request program to same EC, the handling process of existing technical scheme specifies as follows as shown in Figure 3:
Behind the monitor data of VC1 program request EC1, if VC2 also asks program request EC1, so, EC1 can send two unicast streams and give respectively to VC1 and VC2.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
(1) if do not dispose MS (Media Server, media server) equipment in the video surveillance network, then EC is when carrying out unicast transmission, and the maximum way by because of program request simultaneously receives the restriction of resource.
Generally speaking; VC adopts clean culture UDP (User Datagram Protocol; When User Datagram Protocol) sending monitor data; Can receive the restriction of maximum 4 tunnel resources; Promptly under the situation that has 4 tunnel program requests; When if this EC of more VC equipment program request is arranged, the resource of EC is understood because exhausted, and can't accomplish program request.
(2) if be furnished with MS equipment in the video surveillance network, then duplicating of MS device for flow amount can cause that bandwidth resources are consumed in the network, influences transfer of data effect or business and carries out.
If be furnished with MS equipment in the system group network structure, as shown in Figure 3, then will can there be restriction in the resource of EC, but MS equipment then can be consumed along with increasing of program request person to the network bandwidth between the program request person, influences transfer of data effect or business and carries out.
Summary of the invention
The present invention provides a kind of transmission method and equipment of monitor data, solves in the prior art because the problem that bandwidth or way restriction cause VC equipment that the acquisition process of monitor data is restricted.
For achieving the above object; One aspect of the present invention provides a kind of transmission method of monitor data; Be applied to comprise at least in the video monitoring system of video management VM server, the network switching equipment, front end encoding device and videoconference client VC equipment; The said network switching equipment is connected with a plurality of VC equipment through different ports respectively, and said method specifically may further comprise the steps:
When the said network switching equipment receives the request of the monitor data that obtains the first front end encoding device that a VC sends through first port; The said network switching equipment is chosen first virtual ip address and is sent the request of obtaining the first front end encoding device monitor data as the IP address of a said VC to the VM server from the virtual ip address section of self, the while is at first corresponding relation of local record the one VC MAC Address, a VCIP address, first virtual ip address, first port;
It is the monitor data of first virtual ip address that the said network switching equipment receives purpose IP address; The purpose IP address of said monitor data is replaced with the IP address of a said VC by first virtual ip address; Purpose MAC field is inserted a VC MAC Address, and through said first port this monitor data is sent to a said VC;
When the request of the follow-up said network switching equipment through the same monitor data of second port obtaining of receiving that the 2nd VC sends and a VC; At second corresponding relation of local record the 2nd VC MAC Address, the 2nd VC IP address, first virtual ip address, second port, and be that the monitor data of first virtual ip address also sends to the 2nd VC with the purpose IP address of said reception.
On the other hand; The present invention also provides a kind of network switching equipment; Be applied to comprise at least that the said network switching equipment is connected with a plurality of VC equipment through different ports respectively, comprising in the video monitoring system of VM server, the network switching equipment, a plurality of front end encoding device and VC equipment:
Receive sending module, be used for passing through respectively different port and a plurality of VC equipment, and said VM server carries out the transmission of interacting message and monitor message;
The virtual ip address administration module; When said reception sending module receives the request of the monitor data that obtains the first front end encoding device that a VC sends through first port, from the virtual ip address section of the said network switching equipment, choose pairing first virtual ip address of the said first front end encoding device;
The replacement module; The IP address that is used for replacing a said VC with the first selected virtual ip address of said virtual ip address administration module is as the source IP address of the request of the said monitor data that obtains the first front end encoding device; And notify said reception sending module to send the request of obtaining said monitor data after replacing to the VM server; Simultaneously in local record the one VC MAC Address; The one VC IP address; First virtual ip address; First corresponding relation of first port; And receive purpose IP address when being the monitor data of first virtual ip address at said reception sending module; The purpose IP address of said monitor data is replaced with the IP address of a said VC by first virtual ip address; Purpose MAC field is inserted a VC MAC Address; And notify said reception sending module this monitor data to be sent to a said VC through said first port; When follow-up said reception sending module receives the same monitor data of acquisition request that the 2nd VC sends and a VC through second port; In local record the 2nd VC MAC Address; The 2nd VC IP address; First virtual ip address; Second corresponding relation of second port, and to notify said reception sending module be that the monitor data of first virtual ip address also sends to the 2nd VC with the purpose IP address of said reception.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention; Can be virtual by the process that the network switching equipment obtains monitor data to same front end encoding device with each VC equipment be a virtual ip address obtains process from monitor data to this front end encoding device; Thereby; The process that makes each VC equipment obtain monitor data to same front end encoding device only need take the transmission path resource of a monitor data; Saving is for the shared bandwidth resources of the transmission course of the monitor data of same front end encoding device; Break the restriction of bandwidth in the prior art or way, solve the problem that the VC equipment that causes therefrom is restricted the acquisition process of monitor data.
Description of drawings
Fig. 1 is the sketch map of the system group network structure of the live monitoring of existing video processing scheme;
The processing procedure of VC program request EC monitor data in Fig. 2 prior art, and the sketch map of the normal release flow of program request after finishing;
Fig. 3 is the existing live sketch map of monitoring the system group network structure of processing scheme of video that comprises the MS server;
Fig. 4 is the schematic flow sheet of the transmission method of a kind of monitor data proposed by the invention;
Fig. 5 is the schematic network structure under a kind of concrete application scenarios proposed by the invention;
Fig. 6 is a VC device request under a kind of concrete application scenarios proposed by the invention and the schematic flow sheet that stops the processing procedure of monitor data transmission;
Fig. 7 is the schematic flow sheet of transmission method of the processing procedure monitor data of two same monitor datas of VC device request under a kind of concrete application scenarios proposed by the invention;
Fig. 8 is the situation one pairing schematic flow sheet that withdraws from process under a kind of concrete application scenarios proposed by the invention;
Fig. 9 is the situation two pairing schematic flow sheets that withdraw from process under a kind of concrete application scenarios proposed by the invention;
Figure 10 is the structural representation of a kind of network switching equipment proposed by the invention.
Embodiment
When each VC equipment forward end encoding device obtains monitor data in the prior art; Be subjected to transfer of data way and bandwidth resources quantitative limitation; Especially a plurality of VC equipment need be respectively a plurality of VC equipment when obtaining the monitor data of same front end encoding device and set up many monitor data transmission paths; Thereby cause transfer resource repeat take; Influence the problem of the efficiency of transmission of monitor data; The present invention proposes a kind of monitor data transmission plan of conserve bandwidth resource; Especially obtain simultaneously under the situation of monitor data of same front end encoding device at a plurality of VC equipment; Effectively reduce bandwidth resources repeat take, reach the purpose of conserve bandwidth resource when guaranteeing the monitor data transmission.
As shown in Figure 4; Schematic flow sheet for the transmission method of a kind of monitor data proposed by the invention; Be applied to comprise at least in the video monitoring system of VM server, the network switching equipment, front end encoding device and VC equipment; The network switching equipment is connected with a plurality of VC equipment through different ports respectively, and method specifically may further comprise the steps:
Step S401, when the network switching equipment receives the request of the monitor data that obtains the first front end encoding device that a VC sends through first port; The network switching equipment is chosen first virtual ip address and is sent the request of obtaining the first front end encoding device monitor data as the IP address of a VC to the VM server from the virtual ip address section of self, the while is at first corresponding relation of local record the one VC MAC Address, a VC IP address, first virtual ip address, first port.
In advance, need preset a virtual ip address section in the network switching equipment, each virtual ip address in this virtual ip address section can be selected as the pairing virtual ip address of some front end encoding devices by the network switching equipment.The network switching equipment all can reach with VM server route through each virtual ip address in this virtual ip address section, promptly can realize corresponding interacting message and message transmission with the VM server.
In the implementation procedure of this step; After having confirmed the first corresponding virtual ip address of the first front end encoding device; Corresponding fallback relationship between the IP address that the network switching equipment writes down a VC and first virtual ip address is to realize follow-up IP address replacement operation.
Certainly; In the application scenarios of reality; In order to guarantee communicating by letter between the network switching equipment and the VC; In the process that this step is accomplished; The network switching equipment also need be preserved the pairing port information of a VC (being the information of aforesaid first port); And; Can also further (for example preserve other identification informations; The identification information of the one VC; Or its corresponding mac address information etc.); Concrete which information of preserving can be set according to the communication needs of reality, and such variation does not influence protection scope of the present invention.
In embodiments of the present invention, this network switching equipment first corresponding relation that specifically need write down comprises the corresponding relation of a VC MAC Address, a VC IP address, first virtual ip address, first port.
In the application of reality, the beginning request message generally can carry following information:
The identification information of the identification information of source MAC address information, source IP address information, the purpose EC equipment (front end encoding device) of being asked, the video camera (passage under the EC) of being asked, the identification information of a VC are (for example: the MP id information).
Information (the purpose EC equipment mark information of being asked) based on the first front end encoding device of being asked that comprises in the above-mentioned information; And the identification information of the video camera of being asked; The network switching equipment can distribute corresponding first virtual ip address for this first front end encoding device; In the acquisition process of follow-up monitor data; This first virtual ip address is unique corresponding with this monitor data source; No matter ask the VC amount of equipment of this monitor data what are arranged; The network switching equipment all with these VC equipment virtual be same equipment; With first virtual ip address is sign; To the corresponding monitor data of VM server requests; Be that the network switching equipment replaces the IP address and the VM server of the VC equipment of request monitor data to carry out interacting message by first virtual ip address, accomplish solicit operation the monitor data of the first front end encoding device.
Operation is transmitted in such replacement, makes the VM server only can perceive the pairing equipment of virtual ip address in the corresponding monitor message of request on the one hand, and on the other hand, it self is to carry out direct information interaction with the VM server that VC equipment is felt.
Wherein, The network switching equipment in this step replaces the IP address of a VC and VM server to carry out in the process of interacting message through first virtual ip address; The network switching equipment needs recorder to arrive the information of port of the monitor data of the indicated reception of the VM server first front end encoding device; Simultaneously; Also need store the message that the VM server sends to first virtual ip address in this locality; In order to when the identical monitor data of other VC device request, carry out interacting message with it.
It is the monitor data of first virtual ip address that step S402, the network switching equipment receive purpose IP address; The purpose IP address of monitor data is replaced with the IP address of a VC by first virtual ip address; Purpose MAC field is inserted a VC MAC Address, and through first port this monitor data is sent to a VC.
In this step; Because the purpose IP address of the monitor data that receives is first virtual ip address; So; In order to transmit to real monitor data request end (VC); The network switching equipment need replace with the purpose IP address in the monitor data that receives the IP address of the one VC; And the target MAC (Media Access Control) address of monitor data is replaced with the MAC Address of a VC; Then; Monitor data after the replacement is transmitted to a VC by first port; Certainly; Concrete transmit operation is the information according to the port of the monitor data of the indicated reception first front end encoding device of the VM server that is write down among the step S401; Corresponding ports is sent in a VC; So far, begun the transmission of monitor data between a VC and the first front end encoding device.
In the operation of reality, accomplished through the network switching equipment after the obtaining of monitor data, if the same monitor data of other VC device request, then execution in step S403 are arranged at a VC.
Step S403, when the request of subsequent network switching equipment through the same monitor data of second port getting of receiving that the 2nd VC sends and a VC; At second corresponding relation of local record the 2nd VC MAC Address, the 2nd VCIP address, first virtual ip address, second port, and be that the monitor data of first virtual ip address also sends to the 2nd VC with the purpose IP address that receives.
In concrete implementation procedure, the explanation of corresponding handling process is following:
(1) when the network switching equipment receives the request of the monitor data that obtains the first front end encoding device that the 2nd VC sends through second port; The purpose IP address that the network switching equipment sends to the message of first virtual ip address with the VM server of this locality storage replaces with the IP address of the 2nd VC; Send to the 2nd VC; And receive the response message that the 2nd VC returns, accomplish the solicit operation of the 2nd VC to the monitor data of the first front end encoding device.
Herein in the reason process; The network switching equipment before the corresponding message that the 2nd VC sends in fact all is a VC by the network switching equipment in the process of the monitor data of the VM server requests first front end encoding device; Send to (purpose IP address is first virtual ip address) of the network switching equipment by the VM server; The network switching equipment can be with corresponding message stores in this locality; When the 2nd VC asks same monitor data; Purpose IP address in the corresponding message is replaced with the IP address of the 2nd VC; Then; Give the 2nd VC with the forwards that the replacement of purpose IP address is accomplished; And receive the response message of the 2nd VC feedback; Thereby; By the interacting message between the network switching equipment and the 2nd VC only, accomplish the solicit operation of the 2nd VC to the monitor data of the first front end encoding device.
Concrete; Above-mentioned interacting message is actually the preparation of having set up the data transfer path between the network switching equipment and the 2nd VC; And the data transfer path between the network switching equipment and first data acquisition facility; Then in a VC asks the process of monitor data of the first front end encoding device, set up and accomplished; Therefore, need not to carry out separately again and the VM server between interacting message.
Through above-mentioned processing procedure; The network switching equipment has been set up corresponding data transfer path respectively and between a VC and the 2nd VC; And at the opposite side of the network switching equipment; Because a VC is identical with the destination of the monitor data that the 2nd VC is asked; Therefore, a VC and the 2nd VC shared same data transfer path between the network switching equipment and the first front end encoding device.
In above-mentioned IP address replacement process; In the IP address that the network switching equipment also need add the IP address of the 2nd VC and the corresponding fallback relationship of first virtual ip address to a VC who has write down and the corresponding fallback relationship of first virtual ip address; Thereby, the IP group of addresses that realizes the IP address of the IP address of a VC and the 2nd VC is formed and the record of the many-to-one fallback relationship between first virtual ip address.
Simultaneously, also need write down second port and the pairing mac address information of the 2nd VC, promptly accomplish the record of corresponding second corresponding relation, handle with the forwarding of conveniently follow-up monitor data.
(2) network switching equipment receives the monitor data that the first front end encoding device sends to an IP address; The network switching equipment copies as two parts with monitor data; And respectively the purpose IP address of two parts of monitor datas is replaced with the IP address of a VC and the IP address of the 2nd VC; The target MAC (Media Access Control) address of two parts of monitor datas is replaced with the MAC Address of a VC and the MAC Address of the 2nd VC; And the monitor data that purpose IP address replaces with the IP address of a VC is sent to corresponding ports among the VC by first port; By second port monitor data that purpose IP address replaces with the IP address of the 2nd VC is sent to corresponding ports among the 2nd VC; Concrete, neutralize corresponding ports among the 2nd VC of an above-mentioned VC specifically is to confirm according to the information of the port of the monitor data of the indicated reception first front end encoding device of the VM server of record in advance.
This processing process is after the network switching equipment receives corresponding monitor data; The monitor data transmission course of the one-to-many that is carried out to a plurality of VC equipment (VC and the 2nd VC); In this process; Before monitor data arrives the network switching equipment; Shared same data transfer path; Can be because of of the repetition program request of a plurality of VC equipment to identical monitor data, and cause bandwidth resources repeat take.
Further, for above-mentioned monitor data transmission course is removed, the embodiment of the invention has also proposed corresponding escape mechanism, specifies as follows:
With reference to above-mentioned handling process; After a VC obtains the monitor data of the first front end encoding device through the network switching equipment; The 2nd VC also begins to obtain identical monitor data through the network switching equipment simultaneously; So; If a VC and the 2nd VC need stop corresponding monitor data transmission; The order difference of the transmit leg of indicating according to stopping accordingly of receiving, corresponding processing procedure comprises following two kinds of situation:
Situation one, the network switching equipment are received the indication that stops of VC transmission earlier.
If the network switching equipment preferentially obtains the request of the monitor data of the first front end encoding device through first port stopping of receiving that a VC sends; The network switching equipment is to the aforementioned first correspondence setting invalid flag of local record, and stops to send to a VC monitor data of the first front end encoding device.
Through such processing; Though still preserve the record of aforesaid first corresponding relation and second corresponding relation in the network switching equipment; But; When receiving the message that sends to first virtual ip address accordingly or monitor data; The network switching equipment will can not replace with first virtual ip address IP address of the one VC again; And just it is replaced with the IP address of the 2nd VC, and be transmitted to the 2nd VC through second port.
Further; When the network switching equipment follow-up through second port receive that the 2nd VC sends stop to obtain the request of monitor data the time; The network switching equipment is that source IP address sends the request that stops to obtain monitor data to the VM server with first virtual ip address; And local first corresponding relation and second corresponding relation of preserving of deletion discharges first virtual ip address.
Situation two, the network switching equipment are received the indication that stops of the 2nd VC transmission earlier.
If the network switching equipment preferentially obtains the request of the monitor data of the first front end encoding device through second port stopping of receiving that the 2nd VC sends; Then the network switching equipment is directly deleted second corresponding relation at local record, and stops to send to the 2nd VC the monitor data of the first front end encoding device.
So far, system comes back to the situation of having only a VC to obtain the monitor data of the first front end encoding device through the network switching equipment.
In such cases; Receive the request that stops to obtain monitor data that a VC sends if the network switching equipment is follow-up through first port; So; The network switching equipment is that source IP address sends the request that stops to obtain monitor data to the VM server with first virtual ip address; And local first corresponding relation of preserving of deletion discharges first virtual ip address.
It is to be noted; Above-mentioned accomplishes the processing procedure that stops to indicate that the processing continued that stops to indicate of the 2nd VC is received a VC; Under the current situation of having only a VC obtains the first front end encoding device through the network switching equipment monitor data, the processing procedure that stops to indicate that receives a VC is on all four.
No matter be which kind of above-mentioned situation; After the processing that stops to indicate of all having accomplished a VC and the 2nd VC, all need be with the corresponding fallback relationship deletion of precedence record, simultaneously; Discharge first virtual ip address, so that carry out recycling to corresponding virtual ip address resource.
On the basis of above-mentioned technical scheme; No matter what VC equipment have been initiated acquisition process to identical monitor data; Just virtual ip address that the VM server is seen is at this monitor data of request; Therefore; Corresponding front end encoding device only need send a monitor data to the network switching equipment, thereby realizes the saving of bandwidth.
But; On the basis of conserve bandwidth; If the VM server hopes to know real monitoring corresponding relation; So; This network switching equipment can be after sending the request of the monitor data that obtains the first front end encoding device with first virtual ip address to the VM server; Also send a VC of true request monitor data and the information of the 2nd VC, make the real monitoring relation of record on the VM server to the VM server:
At first; After a VC begins to obtain the monitor data of the first front end encoding device through the network switching equipment; Set up the monitoring relation between first virtual ip address and the first front end encoding device in the VM server, monitoring is closed not tie up to when having VC equipment to obtain the monitor data of the first front end encoding device and is deleted.
Through such processing, preserve the monitoring relation of the monitoring client of monitor data source and this monitor data of request in the VM server.
Further; On this basis; When the network switching equipment receives the request of the monitor data that obtains the first front end encoding device that the 2nd VC sends; The network switching equipment is set up message to the relation that the VM server sends the identification information that carries the 2nd VC; So that the VM server is under the relation of the monitoring between first virtual ip address and the first front end encoding device; Further set up a sub-instance; Write down the monitoring relation between the 2nd VC and this first front end encoding device, realize the record of real monitoring relation.
Corresponding with aforesaid escape mechanism; Also there is deleting mechanism in the record of corresponding real monitoring relation; Stop to obtain the request of the monitor data of the first front end encoding device if the network switching equipment receives preferentially that the 2nd VC sends; The sub-instance of foundation before then network switching equipment notice VM server is deleted; And obtain the situation of request of the monitor data of the first front end encoding device for the network switching equipment stopping of receiving preferentially that a VC sends; Because the VM server is the VC that formerly sets up and the monitoring of the first front end encoding device concerns; It promptly is the pairing main monitoring relation of the first front end encoding device; Therefore; Under the situation that has other sub-instances; The network switching equipment and VM server need further not operated the monitoring relation; When other VC equipment (the 2nd VC) also ask to stop to obtain the monitor data of the first front end encoding device, just can thoroughly deletion of relation will be monitored accordingly.
Through above-mentioned flow process; Can in the VM server, keep real monitoring corresponding relation; Write down which VC equipment is current to obtain for which monitor data; Certainly; Whether comprise that above-mentioned processing procedure can adjust according to the needs of reality, such variation does not influence protection scope of the present invention.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention; Can be virtual by the process that the network switching equipment obtains monitor data to same front end encoding device with each VC equipment be a virtual ip address obtains process from monitor data to this front end encoding device; Thereby; The process that makes each VC equipment obtain monitor data to same front end encoding device only need take the transmission path resource of a monitor data; Saving is for the shared bandwidth resources of the transmission course of the monitor data of same front end encoding device; Break the restriction of bandwidth in the prior art or way, solve the problem that the VC equipment that causes therefrom is restricted the acquisition process of monitor data.
In order further to set forth technological thought of the present invention, combine concrete application scenarios at present, technical scheme of the present invention is described.
The technical scheme that the embodiment of the invention proposed hopes in the monitor data transmission course, to solve simultaneously the restricted problem of EC unicast resource and network bandwidth resources, thereby in available bandwidth, can satisfy the demand of the monitor data of same EC of more user program request simultaneously.
For clearer description technical scheme of the present invention, the embodiment of the invention describes corresponding processing procedure through a plurality of the processing stage.
Phase I, the stage of setting.
In this stage; Can set up network configuration as shown in Figure 5; Wherein, S5 equipment is set as the network switching equipment; And, for this network switching equipment distributes a virtual address section, comprising a plurality of virtual ip address; Can supply to distribute to different monitor data sources, each virtual ip address in this virtual address section all can realize that between the network switching equipment and VM server route can reach.
Second stage, VC1 ask and stop the processing procedure of monitor data transmission.
In this process, the network switching equipment need be monitored GMP mutual between VC1 and the VM server and VMP (Video Manage Protocol, video management agreement) protocol massages, and the sketch map of corresponding processing procedure specifically may further comprise the steps as shown in Figure 6:
Step S601, VC1 send the GMP request message of monitor data of the passage 1 of acquisition request EC1 to the VM server.
When VC1 hoped the monitor data of the passage 1 among the program request EC1, VC1 sent GMP request message (being the beginning request message of the monitor data among the aforesaid step S401).
Step S602, the network switching equipment are confirmed a corresponding virtual IP address VIP1 for the pairing monitor data end of this request message, and the source IP address of this GMP request message is replaced with VIP1, are transmitted to the VM server then.
When the network switching equipment listens to the GMP request message at the P1 port, write down following information:
{ source MAC tabulation, source IP address tabulation, EC device id, video camera ID, MP ID tabulation }.
In the present embodiment, the MAC Address of supposing VC1 is MAC1, and the IP address is IP1, and the employed MP ID of VC1 is MID1; The monitor data of the passage 1 of request EC1, corresponding, if the EC1 device id is ID-1; Video camera ID is ID-1-1, and so, the five-tuple information of above-mentioned record is specially:
{MAC1,IP1,ID-1,ID-1-1,MID1}。
In this step; Receive the GMP request message of monitor data of passage 1 of request EC1 at the network switching equipment after; The network switching equipment is that the video camera of the passage 1 of EC1 distributes a virtual ip address; Be assumed to be VIP1; The source IP address that the network switching equipment is opened the GMP request in the monitor data message replaces with VIP1 and forwarding; Simultaneously, network switching equipment record replacement forwarding-table item is following:
{ virtual IP address is transmitted port list for VC MAC tabulation, VC IP tabulation }.
In the present embodiment, based on above-mentioned hypothesis, then replace forwarding-table item accordingly and be specially:
{MAC1,IP1,VIP1,P1}。
Step S603, VM server send the corresponding connection of Setup message foundation to the passage 1 of EC1.
Step S604, VM server send the VMP request message to VIP1.
In this VMP request message, purpose IP address is VIP1.
Step S605, the network switching equipment replace with IP1 with the purpose IP address of this VMP request message, are transmitted to VC1 then.
When the network switching equipment listens to the VM server response when giving the VMP request message of VIP1 address, search the replacement forwarding-table item of having stored, the IP address (IP1) that VIP1 is replaced back VC1, and forward from the P1 port.
Simultaneously, the receiving port address information of monitor data stream (monitor data stream) in the VMP request message is added in the replacement forwarding-table item, that is:
{ virtual IP address is transmitted port list for VC MAC, VC IP, monitor data stream receiving port address }.
Suppose that the receiving port address is 60000, then replaces forwarding-table item and is updated to:
{MAC1,IP1,VIP1,P1,60000}。
Step S606, VC1 return the VMP response message to the VM server.
Step S607, the network switching equipment replace with VIP1 with the source IP address of this VMP response message, are transmitted to the VM server then.
The network switching equipment continue to be monitored institute's interactive messages between VC1 and the VM server, when listening to the VMP response message of VC1 response, searches the replacement forwarding-table item, and the source IP address IP1 of VMP response message is replaced to VIP1, and to the VM server forwards.
Step S608, VM server send the GMP response message to VIP1.
Step S609, the network switching equipment replace with IP1 with the purpose IP address of this GMP response message, are transmitted to VC1 then.
So far, accomplished the protocol interaction process of passage 1 monitor data of VC1 request EC1.
The passage 1 of step S610, EC1 sends monitor data to VIP1.
Step S611, the network switching equipment replace with IP1 with the purpose IP address of monitor data, and target MAC (Media Access Control) address replaces with MAC1, is transmitted to the port of appointment among the VC1 then.
The passage 1 of EC1 is given VIP1 with monitor data stream with the forwarded in form of clean culture UDP flow; The network switching equipment receives that destination address is to transmit according to replacement behind the clean culture UDP flow of VIP1; The purpose IP address (VIP1) of clean culture UDP flow is replaced to IP1; Target MAC (Media Access Control) address replaces with MAC1, and is transmitted to 60000 ports of VC1 from the P1 port.
Wherein, the information of MAC1 and 60000 ports is recorded in step S602 and step S605 respectively in the replacement forwarding-table item, in above-mentioned replacement process, directly from the replacement forwarding-table item, extracts this information and gets final product.
It is to be noted; In above-mentioned processing procedure; Also need store the message that the VM server sends to VIP1 in the network switching equipment in the process of responding corresponding request message; Promptly preserve the corresponding message of being sent among step S604, the step S608; In order to using when the monitor data of the passage 1 of other VC request EC1; Concrete application scheme is referring to subsequent implementation example of the present invention, in this no longer repeat specification.
So far, accomplished the acquisition process of VC1 for the monitor data of the passage among the EC1 1, afterwards, if VC1 need stop to obtain of this monitor data, so, corresponding processing procedure is following:
Step S612, VC1 stop request message to the GMP that the VM server sends the monitor data of the passage 1 that stops to obtain EC 1.
Step S613, the network switching equipment replace with VIP1 with the source IP address that this GMP stops request message, are transmitted to the VM server then.
The source IP address that the network switching equipment will stop request message from the GMP that VC1 issues the VM server replaces with VIP1 by IP1, and is transmitted to the VM server.
Step S614, VM server send the corresponding connection of Release message release to the passage 1 of EC1.
Step S615, VM server send Release message to VIP1.
In this Release message, purpose IP address is VIP1.
Step S616, the network switching equipment replace with IP1 with the purpose IP address of this Release message, are transmitted to VC1 then.
Concrete, the network switching equipment is transmitted through the P1 port this Release message to VC1.
Step S617, VC1 return the response message of Release message to the VM server.
Step S618, the network switching equipment replace with VIP1 with the source IP address of this response message, are transmitted to the VM server then.
Step S619, VM server send GMP to VIP1 and stop response message.
Step S620, the network switching equipment replace with IP1 with the purpose IP address that this GMP stops response message, are transmitted to VC1 then.
So far, accomplished the processing procedure of monitor data that VC1 stops to obtain the passage 1 of EC1, VC1 will can not get access to the monitor data of the passage 1 of EC1 again.
The network switching equipment is removed the five-tuple list item of in step S602, being stored and corresponding replacement forwarding-table item; Simultaneously; With reference to above stated specification, the network switching equipment also need be removed the message that the VM server stored sends to VIP1 in the process of responding corresponding request message.
Phase III, after the transmission of VC1 request monitor data, VC3 asks the processing procedure of same monitor data.
The processing of this process is equivalent to the processing after aforesaid step S611, carried out, specifically as shown in Figure 7, may further comprise the steps:
Step S701, VC3 send the GMP request message of monitor data of the passage 1 of acquisition request EC1 to the VM server.
When VC3 hoped the monitor data of the passage 1 among the program request EC1, VC3 sent GMP request message (being the beginning request message of the monitor data among the aforesaid step S401).
When the network switching equipment listens to the GMP request message at the P3 port; Owing in step S602, write down the five-tuple information of the passage 1 of corresponding EC1; And the GMP request message that the P3 port is listened to is the monitor data of the passage 1 of request EC1 equally; The monitor data source that both asked is identical; Therefore, the pairing information of GMP request message that the P3 port need be listened to is added in this five-tuple information.
In the present embodiment, the MAC Address of supposing VC3 is MAC3, and the IP address is IP3, and the employed MP ID of VC3 is MID3, and so, the five-tuple information after the above-mentioned interpolation information is specially:
{{MAC1,MAC3},{IP1,IP3},ID-1,ID-1-1,{MID1,MID3}}。
Simultaneously, the network switching equipment joins during with the information of same of VC3 during the replacement of having write down among the step S605 transmits, and in the present embodiment, based on above-mentioned hypothesis, then replaces forwarding-table item accordingly and is specially:
{{MAC1,MAC3},{IP1,IP3},VIP1,{P1,P3},60000}。
The purpose IP address of the VMP request message that the VM server that step S702, the network switching equipment will be stored is in advance responded replaces with IP3, is transmitted to VC3 then.
The network switching equipment all is the message of being sent to VIP1 by the VM server of being stored to the processing procedure of step S609 at step S604 to the message that VC3 sends here; In this step; The network switching equipment directly replaces the VM server; Before to carry out alternately at local stored message territory VC3; Just, the purpose IP address in these message replaces with IP3 by VIP1.
The reason of Chu Liing is like this; Be connected to set up to the step S609 in the communication between the passage 1 of the network switching equipment and EC1 and accomplish at step S601; Because VC3 is the monitor data of the passage 1 of request EC1 equally; So, can use this communication to be connected the transmission of carrying out monitor data jointly with VC1.
Hence one can see that; Before this step, the network switching equipment is connected with communication between the monitor data source and need not to set up again, therefore; Need not also to be that the VM server carries out corresponding interacting message, be connected and get final product and only need between the network switching equipment and VC3, set up corresponding communication.The network switching equipment was directly being foundation in local stored message before; Behind the replacement purpose IP address; Carry out interacting message with VC3; In the establishment of connection of accomplishing between the network switching equipment and the VC3 of communicating by letter; Avoided and the VM server between the interacting message that repeats; Also need not to carry out separately the communication connection in same monitor data source, practiced thrift the corresponding network bandwidth and the communication resource, also improved corresponding treatment effeciency.
Step S703, VC3 return the VMP response message to the VM server.
In this step; Why VC3 is to the reason that the VM server sends the VMP response message; In step S702; The received VMP request message of VC3 is stored by the network switching equipment in advance; It sends source information is the information of VM server; Therefore, VC3 thinks that the VM server is communicating with it, need be to the corresponding VMP response message of VM server response.
But in fact, the VMP response message that VC3 responded is directly tackled by the network switching equipment, can upwards not send to the VM server again.The network switching equipment continues to replace VM server and VC3 to carry out interacting message.
The purpose IP address of the GMP response message that the VM server that step S704, the network switching equipment will be stored is in advance responded replaces with IP3, is transmitted to VC3 then.
So far, replace the VM server to accomplish the protocol interaction process of passage 1 monitor data of VC3 request EC1 by the network switching equipment.
The passage 1 of step S705, EC1 sends monitor data to VIP1.
Step S706, the network switching equipment copy as two parts with monitor data; The purpose IP address of a copy of it is replaced with IP1 by VIP1; Target MAC (Media Access Control) address replaces with MAC1; Be transmitted to the port of appointment the VC1 from the P1 port; Simultaneously a in addition purpose IP address is replaced with IP3 by VIP1; Target MAC (Media Access Control) address replaces with MAC3, is transmitted to the port of appointment the VC3 from the P3 port.
Wherein, The information of MAC3 is added in step S701 in the replacement forwarding-table item; The information of 60000 ports then in step S605 by the VM server just to the network switching equipment; Be stored in equally in the replacement forwarding-table item; In above-mentioned replacement process, directly from the replacement forwarding-table item, extract this information and get final product.
The quadravalence section, after the transmission of VC1 and VC3 request monitor data, withdraw from process accordingly.
As preceding, stop the order difference of indicating accordingly owing to send according to VC equipment, also can there be difference in corresponding processing procedure, and therefore, the embodiment of the invention specifically through following two kinds of situation, illustrates corresponding processing procedure respectively.
Situation one, the network switching equipment are received the indication that stops of VC1 transmission earlier, and corresponding schematic flow sheet specifically may further comprise the steps as shown in Figure 8:
The GMP that step S801, the network switching equipment receive the VC1 transmission stops request message.
It is unavailable that step S802, the network switching equipment are provided with the P1 port.
After the processing of accomplishing this step; Still preserve the replacement forwarding-table item that comprises VC1 and VC3 information in the network switching equipment; Promptly keep the content of original replacement forwarding-table item constant, just the P1 port is set to the disable state, no longer transmits operation through this port.
When the network switching equipment after this step continues to receive the monitor data of passage 1 of EC1; The network switching equipment no longer carries out monitor data through the P1 port to VC1 and transmits; Promptly no longer carry out duplicating of monitor data; But after the purpose IP address of monitor data replaced with IP3, directly transmit to VC3 through the P3 port.
The GMP that step S803, the network switching equipment receive the VC3 transmission stops request message.
Step S804, the network switching equipment replace with VIP1 with the source IP address that this GMP stops request message, are transmitted to the VM server then.
Step S805, VM server send the corresponding connection of Release message release to the passage 1 of EC1.
Step S806, VM server send Release message to VIP1.
In this Release message, purpose IP address is VIP1.
Step S807, the network switching equipment replace with IP3 with the purpose IP address of this Release message, are transmitted to VC3 then.
When the network switching equipment listens to the VM server response when giving the Release message of VIP1 address; Search the replacement forwarding-table item of having stored; Find that the P1 port is in the disable state; And the P3 port status is normal; Therefore; VIP1 is replaced with the IP address (IP3) of VC3, and forward from the P3 port.
Step S808, VC3 return OK message (response message of Release message) to the VM server.
Step S809, the network switching equipment replace with VIP1 with the source IP address of this OK message, are transmitted to the VM server then.
The network switching equipment continue to be monitored institute's interactive messages between VC3 and the VM server, when listening to the OK message of VC3 response, searches the replacement forwarding-table item, and the source IP address IP3 of this OK message is replaced to VIP1, and to the VM server forwards.
Step S810, VM server send GMP to VIP1 and stop response message.
Step S811, the network switching equipment replace with IP3 with the purpose IP address that this GMP stops response message, are transmitted to VC3 then.
So far, after stopped the request process of VC1, continued to accomplish the protocol interaction process that the VC2 request stops to obtain passage 1 monitor data of EC1, accomplished the processing of withdrawing from of VC1 and VC3 passage 1 monitor data of EC1.
After above-mentioned withdrawing from finished dealing with; The five-tuple information of the local storage of network switching equipment deletion, replacement forwarding-table item; And the corresponding message responded to VIP1 of VM server, discharge VIP1, make it can be continued on for the request process of other monitor datas.
Above-mentioned processing guaranteed withdraw from finish dealing with after; The deletion of relevant information in the network switching equipment; And the release of corresponding virtual address resource; Avoid after VC1 and VC3 all withdraw from the request process to the monitor data of the passage 1 of EC1; Continuation takies related resource, and the storage resources in the virtual address resource and the network switching equipment can be recycled.
Situation two, the network switching equipment are received the indication that stops of VC3 transmission earlier, and corresponding schematic flow sheet specifically may further comprise the steps as shown in Figure 9:
The GMP that step S901, the network switching equipment receive the VC3 transmission stops request message.
The relevant information that step S902, the network switching equipment are deleted VC3 at the replacement forwarding-table item.
After the processing of accomplishing this step, what preserve in the network switching equipment is the replacement forwarding-table item that only comprises VC1 information, the state when promptly having returned to the monitor data of the passage 1 that has only VC1 request EC1 among the step S605.
When the network switching equipment after this step continues to receive the monitor data of passage 1 of EC1; The network switching equipment no longer carries out monitor data through the P3 port to VC3 and transmits; Promptly no longer carry out duplicating of monitor data; But after the purpose IP address of monitor data replaced with IP1, directly transmit to VC1 through the P1 port.
Through above-mentioned processing, current system mode has been equivalent to get back to the state among the step S609, promptly has only the monitor data of the passage 1 of VC1 request EC1.
After this, stop request message if the network switching equipment receives the GMP of VC1 transmission, so, corresponding processing procedure is consistent to the processing procedure of step S620 with step S612, in this no longer repeat specification.
Need further be pointed out that; In above-mentioned processing procedure; The network switching equipment is equivalent to the agency of VC equipment concerning the VM server; Therefore; For the VM server; No matter the monitor data in what the same monitor data of VC device request sources is arranged below the network switching equipment, the VM server can only be seen the monitoring relation that a virtual ip address is corresponding, promptly can only see the monitoring relation of the passage 1 of VIP1/VC1 and EC1.
And in existing technical scheme, if VC1, VC2, VC3 ask the monitor data of the passage 1 of EC1, so, the monitoring relation of seeing on the VM server will have 3, promptly IP1/VC1, IP2/VC2, IP3/VC3 respectively with the monitoring relation of EC1 passage 1.
In the technical scheme that the embodiment of the invention proposed, the VM server can't see real monitoring relation, and the advantage of bringing is the protocol interaction process of having avoided between VM server and a plurality of VC equipment, and has accelerated the speed of other VC equipment program request monitor datas.
But, also can learn real monitoring relation if hope the VM server, so, can realize such operation through increasing a special GMP message in the technical scheme that the embodiment of the invention proposed, concrete processing procedure is following:
Same with reference to aforesaid specific embodiment; In the process of the monitor data of the passage 1 of VC1 request EC1; The network switching equipment is handled to the processing procedure of step S609 according to step S601; After accomplishing corresponding the processing; Set up the monitoring relation of the passage 1 of VIP1/VC1 and EC1 in the VM server, the information of VC1 wherein brings VM server in aforesaid message interaction process.
On this basis; If the network switching equipment continues to receive the GMP request message of monitor data of the passage 1 of VC3 request EC1; The network switching equipment will be handled to the processing procedure of step S704 according to step S701; But after accomplishing corresponding the processing; The network switching equipment sends special GMP message to the VM server; Corresponding monitoring relation is set up in request; The identification information of the passage 1 of the EC1 that carries the identification information of VC3 in this GMP message and asked; After the VM server is received this special GMP message; Monitoring relation at the passage 1 of original VIP1/VC1 and EC1 is added sub-instance, and the monitoring of setting up VIP1/VC3 and EC1 passage 1 concerns.
Like this, the VM server just can be grasped current in esse monitoring relation.
And the situation one of corresponding aforesaid quadravalence section; When the network switching equipment receives VC1 earlier need withdraw from the request message of current monitor data transmission course the time; Because the VM server is the VIP1/VC1 that formerly sets up and the monitoring of the passage 1 of EC1 concerns; It promptly is the passage 1 pairing main monitoring relation of VIP1 and EC1; Therefore; Under the situation that has other sub-instances (passage 1 of VIP1/VC3 and EC1); The network switching equipment and VM server need further not operated corresponding monitoring relation; Under the situation that all sub-instances have all been deleted, just can delete above-mentioned main monitoring relation.
But the situation two of corresponding aforesaid quadravalence section; When the network switching equipment receives VC3 earlier need withdraw from the request message of current monitor data transmission course the time; Because the monitoring of VIP1/VC3 and EC1 passage 1 relation is a sub-instance; So; The network switching equipment need send special GMP message to the VM server, respectively the VIP1/VC3 that is stored in the request deletion VM server and the monitoring relation of EC1 passage 1.The VM server is after receiving corresponding GMP message, and corresponding carrying out monitored the deletion of relation accordingly, guarantees that the record of monitoring relation is consistent with actual conditions.
It should be noted that in above-mentioned process the VM server receives that special GMP message is set up or deletion is monitored when concerning accordingly, need not carry out alternately with EC equipment or VC equipment.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention; Can be virtual by the process that the network switching equipment obtains monitor data to same front end encoding device with each VC equipment be a virtual ip address obtains process from monitor data to this front end encoding device; Thereby; The process that makes each VC equipment obtain monitor data to same front end encoding device only need take the transmission path resource of a monitor data; Saving is for the shared bandwidth resources of the transmission course of the monitor data of same front end encoding device; Break the restriction of bandwidth in the prior art or way, solve the problem that the VC equipment that causes therefrom is restricted the acquisition process of monitor data.
In order to realize technical scheme of the present invention; The invention allows for a kind of network switching equipment; Be applied to comprise at least in the video monitoring system of VM server, the network switching equipment, a plurality of front end encoding device and VC equipment; This network switching equipment is connected with a plurality of VC equipment through different ports respectively; Shown in structural representation Figure 10 of this network switching equipment, specifically comprise:
Receive sending module 101, be used for passing through respectively different port and a plurality of VC equipment, and the VM server carries out the transmission of interacting message and monitor message;
Virtual ip address administration module 102; When receiving sending module 101 and receive the request of the monitor data that obtains the first front end encoding device that a VC sends, from the virtual ip address section of the network switching equipment, choose pairing first virtual ip address of the first front end encoding device through first port;
Replacement module 103; Be used for replacing the source IP address of the IP address of a VC as the request of the monitor data that obtains the first front end encoding device with the virtual ip address administration module 102 first selected virtual ip address; And notice receives the request of obtaining said monitor data of sending module 101 after the VM server sends replacement; Simultaneously in local record the one VC MAC Address; The one VC IP address; First virtual ip address; First corresponding relation of first port; And receive purpose IP address when being the monitor data of first virtual ip address receiving sending module 101; The purpose IP address of monitor data is replaced with the IP address of a VC by first virtual ip address; Purpose MAC field is inserted a VC MAC Address; And notice reception sending module 101 sends to a VC through first port with this monitor data; When follow-up reception sending module 101 receives the same monitor data of acquisition request that the 2nd VC sends and a VC through second port; In local record the 2nd VC MAC Address; The 2nd VC IP address; First virtual ip address; Second corresponding relation of second port, and notice to receive sending module 101 be that the monitor data of first virtual ip address also sends to the 2nd VC with the purpose IP address that receives.
Wherein, replacement module 103 also is used for:
When receiving sending module 101 and obtain the request of monitor data of the first front end encoding device by second port stopping of receiving that the 2nd VC sends earlier; Delete second corresponding relation; And notify said reception sending module 101 to stop to send monitor data to the 2nd VC; When follow-up reception sending module 101 by first port receive that a VC sends stop to obtain the request of monitor data the time; The IP address of replacing a VC with first virtual ip address is as the source IP address of the request that stops to obtain said monitor data; And the request that stop to obtain monitor data of notice reception sending module 101 after the VM server sends replacement, and delete first corresponding relation;
When receiving sending module 101 and obtain the request of monitor data of the first front end encoding device through first port stopping of receiving that a VC sends earlier; To the first correspondence setting invalid flag, and notice reception sending module 101 stops to send monitor data to a VC; When follow-up reception sending module 101 through second port receive that the 2nd VC sends stop to obtain the request of monitor data the time; The IP address of replacing the 2nd VC with first virtual ip address is as the source IP address of the request that stops to obtain monitor data; And notify reception sending module 101 to stop to obtain the request of monitor data, and delete first corresponding relation and second corresponding relation to the transmission of VM server.
In concrete enforcement scene, receive sending module 101, also be used for:
Be source IP address with first virtual ip address; Send the request of the monitor data that obtains the first front end encoding device to the VM server after; Send a VC of true request monitor data and the information of the 2nd VC to the VM server, make the real monitoring relation of record on the VM server.
Compared with prior art, the present invention has the following advantages:
By using technical scheme of the present invention; Can be virtual by the process that the network switching equipment obtains monitor data to same front end encoding device with each VC equipment be a virtual ip address obtains process from monitor data to this front end encoding device; Thereby; The process that makes each VC equipment obtain monitor data to same front end encoding device only need take the transmission path resource of a monitor data; Saving is for the shared bandwidth resources of the transmission course of the monitor data of same front end encoding device; Break the restriction of bandwidth in the prior art or way, solve the problem that the VC equipment that causes therefrom is restricted the acquisition process of monitor data.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product; It (can be CD-ROM that this software product can be stored in a non-volatile memory medium; USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) each implements the described method of scene to carry out the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is a preferred sketch map of implementing scene, module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device of implementing in the scene can be distributed in the device of implementing scene according to implementing scene description, also can carry out respective change and be arranged in the one or more devices that are different from this enforcement scene.The module of above-mentioned enforcement scene can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of implementing scene just to description.
More than disclosed only be several practical implementation scene of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.

Claims (6)

1. the transmission method of a monitor data; It is characterized in that; Be applied to comprise at least in the video monitoring system of video management VM server, the network switching equipment, front end encoding device and videoconference client VC equipment; The said network switching equipment is connected with a plurality of VC equipment through different ports respectively, and said method specifically may further comprise the steps:
When the said network switching equipment receives the request of the monitor data that obtains the first front end encoding device that a VC sends through first port; The said network switching equipment is chosen first virtual ip address and is sent the request of obtaining the first front end encoding device monitor data as the IP address of a said VC to the VM server from the virtual ip address section of self, the while is at first corresponding relation of local record the one VC MAC Address, a VC IP address, first virtual ip address, first port;
It is the monitor data of first virtual ip address that the said network switching equipment receives purpose IP address; The purpose IP address of said monitor data is replaced with the IP address of a said VC by first virtual ip address; Purpose MAC field is inserted a VC MAC Address, and through said first port this monitor data is sent to a said VC;
When the request of the follow-up said network switching equipment through the same monitor data of second port obtaining of receiving that the 2nd VC sends and a VC; At second corresponding relation of local record the 2nd VC MAC Address, the 2nd VC IP address, first virtual ip address, second port, and be that the monitor data of first virtual ip address also sends to the 2nd VC with the purpose IP address of said reception.
2. the method for claim 1; It is characterized in that; If the said network switching equipment obtains the request of the monitor data of the said first front end encoding device earlier through said second port stopping of receiving that said the 2nd VC sends; The then said network switching equipment is deleted second corresponding relation at local record, and stops to send said monitor data to said the 2nd VC; When follow-up through said first port receive that a said VC sends stop to obtain the request of said monitor data the time; The said network switching equipment is that source IP address sends the request that stops to obtain said monitor data to the VM server with said first virtual ip address, and local said first corresponding relation of preserving of deletion;
If the said network switching equipment obtains the request of the monitor data of the first front end encoding device earlier through said first port stopping of receiving that a said VC sends; The then said network switching equipment is to the first correspondence setting invalid flag of local record, and stops to send said monitor data to a said VC; When follow-up through said second port receive that said the 2nd VC sends stop to obtain the request of said monitor data the time; The said network switching equipment is that source IP address sends the request that stops to obtain said monitor data to said VM server with said first virtual ip address, and local said first corresponding relation and said second corresponding relation of preserving of deletion.
3. method as claimed in claim 1 or 2 is characterized in that, said method also comprises:
After the said network switching equipment sends the request of the monitor data that obtains the said first front end encoding device with said first virtual ip address to said VM server; Also send a VC of the said monitor data of true request and the information of the 2nd VC, make the real monitoring relation of record on the said VM server to said VM server.
4. network switching equipment; It is characterized in that; Be applied to comprise at least that the said network switching equipment is connected with a plurality of VC equipment through different ports respectively, comprising in the video monitoring system of VM server, the network switching equipment, a plurality of front end encoding device and VC equipment:
Receive sending module, be used for passing through respectively different port and a plurality of VC equipment, and said VM server carries out the transmission of interacting message and monitor message;
The virtual ip address administration module; When said reception sending module receives the request of the monitor data that obtains the first front end encoding device that a VC sends through first port, from the virtual ip address section of the said network switching equipment, choose pairing first virtual ip address of the said first front end encoding device;
The replacement module; The IP address that is used for replacing a said VC with the first selected virtual ip address of said virtual ip address administration module is as the source IP address of the request of the said monitor data that obtains the first front end encoding device; And notify said reception sending module to send the request of obtaining said monitor data after replacing to the VM server; Simultaneously in local record the one VC MAC Address; The one VC IP address; First virtual ip address; First corresponding relation of first port; And receive purpose IP address when being the monitor data of first virtual ip address at said reception sending module; The purpose IP address of said monitor data is replaced with the IP address of a said VC by first virtual ip address; Purpose MAC field is inserted a VC MAC Address; And notify said reception sending module this monitor data to be sent to a said VC through said first port; When follow-up said reception sending module receives the same monitor data of acquisition request that the 2nd VC sends and a VC through second port; In local record the 2nd VC MAC Address; The 2nd VC IP address; First virtual ip address; Second corresponding relation of second port, and to notify said reception sending module be that the monitor data of first virtual ip address also sends to the 2nd VC with the purpose IP address of said reception.
5. the network switching equipment as claimed in claim 4 is characterized in that, said replacement module also is used for:
When said reception sending module obtains the request of monitor data of the said first front end encoding device by said second port stopping of receiving that said the 2nd VC sends earlier; Delete said second corresponding relation; And notify said reception sending module to stop to send said monitor data to said the 2nd VC; When follow-up said reception sending module by said first port receive that a said VC sends stop to obtain the request of said monitor data the time; The IP address of replacing a said VC with said first virtual ip address is as the said source IP address that stops to obtain the request of said monitor data; And notify the request that stop to obtain said monitor data of said reception sending module after said VM server sends replacement, and delete said first corresponding relation;
When said reception sending module obtains the request of monitor data of the said first front end encoding device through first port stopping of receiving that a said VC sends earlier; To the said first correspondence setting invalid flag, and notify said reception sending module to stop to send said monitor data to a said VC; When follow-up said reception sending module through said second port receive that said the 2nd VC sends stop to obtain the request of said monitor data the time; The IP address of replacing said the 2nd VC with first virtual ip address is as the said source IP address that stops to obtain the request of said monitor data; And notify the request that stop to obtain said monitor data of said reception sending module after said VM server sends replacement, and delete said first corresponding relation and said second corresponding relation.
6. like the claim 4 or the 5 described network switching equipment, it is characterized in that said reception sending module also is used for:
Be source IP address with said first virtual ip address; Send the request of the monitor data that obtains the said first front end encoding device to said VM server after; Send a VC of the said monitor data of true request and the information of the 2nd VC to said VM server, make the real monitoring relation of record on the said VM server.
CN201110167358.XA 2011-06-21 2011-06-21 Method and equipment for transmitting monitoring data Active CN102347895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110167358.XA CN102347895B (en) 2011-06-21 2011-06-21 Method and equipment for transmitting monitoring data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110167358.XA CN102347895B (en) 2011-06-21 2011-06-21 Method and equipment for transmitting monitoring data

Publications (2)

Publication Number Publication Date
CN102347895A true CN102347895A (en) 2012-02-08
CN102347895B CN102347895B (en) 2014-12-24

Family

ID=45546197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110167358.XA Active CN102347895B (en) 2011-06-21 2011-06-21 Method and equipment for transmitting monitoring data

Country Status (1)

Country Link
CN (1) CN102347895B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104106248A (en) * 2012-11-21 2014-10-15 统一有限责任两合公司 Local port managing method and device, packet-oriented data network, digital storage media, and computer program product
CN104348873A (en) * 2013-08-05 2015-02-11 中兴通讯股份有限公司 Virtual network element automatic loading method and system and virtual machine IP (Internet Protocol) address acquisition method and system
CN104469315A (en) * 2014-12-17 2015-03-25 浙江宇视科技有限公司 CDN-based video data stream transmission method, device and system
CN105100011A (en) * 2014-05-14 2015-11-25 杭州海康威视系统技术有限公司 Medium flow switching system
CN106161672A (en) * 2016-06-23 2016-11-23 浙江宇视科技有限公司 Management method, device and the system of a kind of IP address
CN106886465A (en) * 2015-12-16 2017-06-23 阿里巴巴集团控股有限公司 A kind of data capture method and device
CN111901192A (en) * 2020-07-15 2020-11-06 腾讯科技(深圳)有限公司 Statistical method and device for page access data
CN113141312A (en) * 2020-01-20 2021-07-20 浙江宇视科技有限公司 Data processing method, device, system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010005370A1 (en) * 1999-12-28 2001-06-28 Hiroshi Ueno Label distribution repeating installation and label distribution repeating method
CN101702671A (en) * 2009-11-09 2010-05-05 杭州华三通信技术有限公司 Data transmission method and device
CN101764816A (en) * 2009-12-25 2010-06-30 杭州华三通信技术有限公司 Data transmission method and device
CN102098167A (en) * 2010-12-29 2011-06-15 杭州华三通信技术有限公司 Multicasting stream forwarding method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010005370A1 (en) * 1999-12-28 2001-06-28 Hiroshi Ueno Label distribution repeating installation and label distribution repeating method
CN101702671A (en) * 2009-11-09 2010-05-05 杭州华三通信技术有限公司 Data transmission method and device
CN101764816A (en) * 2009-12-25 2010-06-30 杭州华三通信技术有限公司 Data transmission method and device
CN102098167A (en) * 2010-12-29 2011-06-15 杭州华三通信技术有限公司 Multicasting stream forwarding method, device and system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11516250B2 (en) 2012-11-21 2022-11-29 Unify Gmbh & Co. Kg Local port managing method and device, packet-oriented data network, digital storage media, and computer program product
CN104106248A (en) * 2012-11-21 2014-10-15 统一有限责任两合公司 Local port managing method and device, packet-oriented data network, digital storage media, and computer program product
CN104106248B (en) * 2012-11-21 2017-08-15 统一有限责任两合公司 Local port management method and equipment, the data network towards packet
CN104348873B (en) * 2013-08-05 2019-03-29 中兴通讯股份有限公司 The method and system that Virtual NE loads automatically and virtual machine IP address obtains
CN104348873A (en) * 2013-08-05 2015-02-11 中兴通讯股份有限公司 Virtual network element automatic loading method and system and virtual machine IP (Internet Protocol) address acquisition method and system
CN105100011A (en) * 2014-05-14 2015-11-25 杭州海康威视系统技术有限公司 Medium flow switching system
CN105100011B (en) * 2014-05-14 2018-06-15 杭州海康威视系统技术有限公司 A kind of media stream switching system
CN104469315A (en) * 2014-12-17 2015-03-25 浙江宇视科技有限公司 CDN-based video data stream transmission method, device and system
CN104469315B (en) * 2014-12-17 2018-09-14 浙江宇视科技有限公司 Transmission of streams of video data method, apparatus based on CDN and system
CN106886465B (en) * 2015-12-16 2021-06-15 菜鸟智能物流控股有限公司 Data acquisition method and device
CN106886465A (en) * 2015-12-16 2017-06-23 阿里巴巴集团控股有限公司 A kind of data capture method and device
CN106161672B (en) * 2016-06-23 2019-02-15 浙江宇视科技有限公司 A kind of management method of IP address, device and system
CN106161672A (en) * 2016-06-23 2016-11-23 浙江宇视科技有限公司 Management method, device and the system of a kind of IP address
CN113141312A (en) * 2020-01-20 2021-07-20 浙江宇视科技有限公司 Data processing method, device, system, electronic equipment and storage medium
CN111901192A (en) * 2020-07-15 2020-11-06 腾讯科技(深圳)有限公司 Statistical method and device for page access data
CN111901192B (en) * 2020-07-15 2023-09-12 腾讯科技(深圳)有限公司 Statistical method and device for page access data

Also Published As

Publication number Publication date
CN102347895B (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN102347895A (en) Method and equipment for transmitting monitoring data
CN105656680B (en) Network camera control method and device
CN103220160B (en) The method and apparatus that the management overall situation is transmitted in distributed switch
CN102057623B (en) Method for obtaining terminal status
US20090190587A1 (en) Method for deploying multicast network, multicast network and control server
CN104243269A (en) Processing method and device of messages in VxLAN (virtual extensible local area network)
CN107645386B (en) Method and device for acquiring data resources
CN102820977B (en) Method of multicasting, device and the network equipment
US10917343B2 (en) Security association and location mapping decoupling in overlay networks
CN101232392B (en) Method for notifying multicast source between MSDP and PIM
US20220360559A1 (en) Software defined network orchestration to manage media flows for broadcast with public cloud networks
CN101651626B (en) Traffic-forwarding method and device
US20130242995A1 (en) Multicast technique managing multicast address
US20220231875A1 (en) Distributing multicast receiver information across multi-tier edge gateways
CN109120732B (en) Service board hot-plug method, system and storage medium in distributed NAT system
CN105979202B (en) Data transmission method and device
CN102025522A (en) Method for realizing multicast between different IP domains and boundary gateway router
CN102946525A (en) Multicast service management device and forwarding device
US20190222537A1 (en) Modifications of headend forwarding rules to join wide area network branch hosts to multicast groups
CN103503413A (en) Method and device for transmitting network information
CN109005378B (en) Video conference processing method and system
CN110677387A (en) Government affair handling method and government affair system
CN102625162A (en) Method and system for data transmission
CN102572012A (en) Message processing method, switchboard and system
CN105791304A (en) Message processing method and message processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: ZHEJIANG UNIVIEW TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: HUASAN COMMUNICATION TECHNOLOGY CO., LTD.

Effective date: 20120221

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20120221

Address after: Hangzhou City, Zhejiang province 310053 Binjiang District Dongxin Road No. 66 building two or three layer A C

Applicant after: Zhejiang Uniview Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Applicant before: Huasan Communication Technology Co., Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant