CN102143172A - Method and equipment for transmitting video data - Google Patents

Method and equipment for transmitting video data Download PDF

Info

Publication number
CN102143172A
CN102143172A CN2011100674462A CN201110067446A CN102143172A CN 102143172 A CN102143172 A CN 102143172A CN 2011100674462 A CN2011100674462 A CN 2011100674462A CN 201110067446 A CN201110067446 A CN 201110067446A CN 102143172 A CN102143172 A CN 102143172A
Authority
CN
China
Prior art keywords
private network
network device
address
video data
information
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
CN2011100674462A
Other languages
Chinese (zh)
Other versions
CN102143172B (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.)
New H3C Information 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 CN201110067446.2A priority Critical patent/CN102143172B/en
Publication of CN102143172A publication Critical patent/CN102143172A/en
Application granted granted Critical
Publication of CN102143172B publication Critical patent/CN102143172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and equipment for transmitting video data. The method comprises the following steps: gateway equipment receives a request message for checking video data of private network equipment, from public network equipment, wherein the request message carries identification information of the private network equipment; the gateway equipment determines IP (Internet Protocol) address information of the private network equipment based on the identification information and corresponding maintained relation and informs the private network equipment to transmit the video data by taking an IP address of the public network equipment as a target address based on the IP address information; the gateway equipment receives the video data transmitted by the private network equipment, wherein the target IP address of the video data is the IP address of the public network equipment; and the gateway equipment forwards the video data to the public network equipment. In the invention, the burden of the gateway equipment is reduced.

Description

A kind of transmission method of video data and equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of transmission method and equipment of video data.
Background technology
Along with 3G (3rd-generation, the propelling of the development of technology 3G (Third Generation) Moblie), operator's networking speed, IP (Internet Protocol, Internet protocol) development of video monitoring technology, the IP video monitoring will more and more be come into ordinarily resident family.Industry is at family or SMB (Small andMedium Business at present, medium-sized and small enterprises) in, the networking of IP video monitoring and common office network as shown in Figure 1, IPC1 (IP Camera, web camera), IPC2, IPC3, client 1, client 2 and gateway device are positioned at private network side, subscriber equipment is positioned at the public network side, connects by the network equipment with NAT (Network Address Translation, network address translation) function between private network side and the public network side.
In the prior art, because IPv4 (Internet Protocol version 4, Internet Protocol Version 4) address scarcity, SMB or the home-use mode of NAT that adopts per family insert Internet.Promptly in above-mentioned networking, client and IPC equipment all will be on gateway device be changed by NAT and are inserted Internet, and the subscriber equipment that is in the public network side can be checked the video data of IPC equipment by Internet, understand the situation of monitored site in real time.
Based on above-mentioned networking situation, client all will be carried out the NAT conversion by gateway device to the Business Stream of Internet network transmission and the video monitoring stream of IPC equipment transmission, make through the flow-rate ratio of gateway device NAT conversion bigger, to the performance requirement of gateway device than higher.
Summary of the invention
The invention provides a kind of transmission method and equipment of video data, public network equipment can be checked the video data of private network device, reduces the performance pressure of gateway device.
In order to achieve the above object, the invention provides a kind of transmission method of video data, be applied to the situation of the video data in the public network device request private network device, the gateway device that connects public network and private network is safeguarded the corresponding relation of each private network device identification information and IP address information, and this method may further comprise the steps:
Described gateway device receives the request message of checking the private network device video data from described public network equipment, carries the identification information of described private network device in the described request message;
Described gateway device is determined the IP address information of described private network device according to the described corresponding relation of described identification information and maintenance, and to notify described private network device according to described IP address information be that destination address sends video data with the IP address of described public network equipment;
Described gateway device receives the video data that described private network device sends, and the purpose IP address of this video data is the IP address of described public network equipment;
Described gateway device is transmitted described video data and is given described public network equipment.
This method further comprises: described gateway device is determined the IP address information of described private network device according to the described corresponding relation of described identification information and maintenance, and to notify described private network device according to described IP address information be that source IP address sends video data with the IP address of described gateway device.
Described gateway device is transmitted described video data and is given described public network equipment, specifically comprise: the purpose IP address that described gateway device is judged described video data for before the source IP address of the request message that receives and/or the port that receives this video data during for the port of the connection private network device determined, then this video data directly is transmitted to described public network equipment from the public network interface.
The corresponding relation of described each private network device identification information and IP address information is based on that the UPnP agreement sets up: described gateway device receives that each private network device reports based on the UPnP agreement self identification information, IP address information, and preserve the corresponding relation of each private network device identification information and IP address information, wherein, self identification information, the IP address information that report based on the UPnP agreement of described each private network device be each private network device receive report after the notice that gateway device sends based on the UPnP agreement or each private network device self initiatively report.
Also safeguard the first code stream bandwidth information and first video code model of each private network device current video data in the corresponding relation of described gateway device, also carry the second code stream bandwidth information and second video code model of described public network equipment expectation in the described request message; This method further comprises:
When the first code stream bandwidth information identical with the second code stream bandwidth information, and when first video code model is identical with second video code model, described gateway device sends to described private network device according to the IP address information of described private network device with the IP address of described public network equipment, is that destination address sends video data by described private network device with the IP address of described public network equipment;
And/or first video code model different with the second code stream bandwidth information and second video code model are not simultaneously when the first code stream bandwidth information, described gateway device is according to the IP address information of the described private network device IP address with described public network equipment, the second code stream bandwidth information, second video code model sends to described private network device, by described private network device the code stream bandwidth information and the video code model of current video data is adjusted into the described second code stream bandwidth information and second video code model, and is that destination address sends adjusted video data with the IP address of described public network equipment.
The first code stream bandwidth information and/or first video code model different with the second code stream bandwidth information and second video code model are not simultaneously, described method also comprises: described gateway device is updated to the second code stream bandwidth information with the first code stream bandwidth information of safeguarding in the corresponding relation, and first video code model is updated to second video code model.
The corresponding relation of the identification information of each private network device, IP address information, the first code stream bandwidth information and first video code model is based on the foundation of UPnP agreement; Described gateway device receives that each private network device reports based on the UPnP agreement self identification information, IP address information, the first code stream bandwidth information and first video code model, and preserve the corresponding relation of identification information, IP address information, the first code stream bandwidth information and first video code model of each private network device; Wherein, self identification information, IP address information, the first code stream bandwidth information and first video code model that report based on the UPnP agreement of described each private network device be each private network device receive report after the notice that gateway device sends based on the UPnP agreement or each private network device self initiatively report.
Described method further comprises: described gateway device is transmitted the video data of described private network device to behind the described public network equipment, for described private network device the user mode sign is set in corresponding relation;
If described gateway device receives the request message of checking described private network device video data that other public network equipment send again, when inquiring after described private network device is provided with user mode sign, described gateway device sends to described private network device according to the IP address information of described private network device with the IP address of described public network equipment, is that destination address send video data according to the current code stream bandwidth information of using and video code model with the IP address of described public network equipment by described private network device.
A kind of gateway device that connects public network and private network is applied to the situation of the video data in the public network device request private network device, and described gateway device comprises:
Maintenance module is used to safeguard the corresponding relation of each private network device identification information and IP address information;
First receiver module is used to receive the request message of checking the private network device video data from described public network equipment, carries the identification information of described private network device in the described request message;
Determination module is used for determining according to the described corresponding relation of described identification information and maintenance the IP address information of described private network device;
First sending module, being used for notifying described private network device according to described IP address information is that destination address sends video data with the IP address of described public network equipment;
Second receiver module is used to receive the video data that described private network device sends, and the purpose IP address of this video data is the IP address of described public network equipment;
Second sending module is used to transmit described video data and gives described public network equipment.
Described first sending module, also being used for notifying described private network device according to described IP address information is that source IP address sends video data with the IP address of described gateway device.
Described second sending module, specifically be used for when the purpose IP address of judging described video data for before the source IP address of the request message that receives and/or the port that receives this video data during for the port of the connection private network device determined, then this video data directly is transmitted to described public network equipment from the public network interface.
Each the private network device identification information safeguarded in the described maintenance module and the corresponding relation of IP address information are based on the foundation of UPnP agreement, be specially: self identification information, the IP address information that receives that each private network device reports based on the UPnP agreement, and preserve the corresponding relation of each private network device identification information and IP address information, wherein, self identification information, the IP address information that report based on the UPnP agreement of described each private network device be each private network device receive report after the notice that gateway device sends based on the UPnP agreement or each private network device self initiatively report.
Also carry the second code stream bandwidth information and second video code model of described public network equipment expectation in the described request message; Described maintenance module also is used for safeguarding at corresponding relation the first code stream bandwidth information and first video code model of each private network device current video data;
Described first sending module, it is identical with the second code stream bandwidth information specifically to be used for working as the first code stream bandwidth information, and when first video code model is identical with second video code model, according to the IP address information of described private network device the IP address of described public network equipment being sent to described private network device, is that destination address sends video data by described private network device with the IP address of described public network equipment;
And/or first video code model different with the second code stream bandwidth information and second video code model are not simultaneously when the first code stream bandwidth information, according to the IP address information of described private network device IP address with described public network equipment, the second code stream bandwidth information, second video code model sends to described private network device, by described private network device the code stream bandwidth information and the video code model of current video data is adjusted into the described second code stream bandwidth information and second video code model, and is that destination address sends adjusted video data with the IP address of described public network equipment.
The corresponding relation of the identification information of each private network device of safeguarding in the described maintenance module, IP address information, the first code stream bandwidth information and first video code model is based on the foundation of UPnP agreement; Be specially: self identification information, IP address information, the first code stream bandwidth information and first video code model that receives that each private network device reports based on the UPnP agreement, and preserve the corresponding relation of identification information, IP address information, the first code stream bandwidth information and first video code model of each private network device; Wherein, self identification information, IP address information, the first code stream bandwidth information and first video code model that report based on the UPnP agreement of described each private network device be each private network device receive report after the notice that gateway device sends based on the UPnP agreement or each private network device self initiatively report.
Described maintenance module, the video data that also is used to transmit described private network device are provided with user mode sign for described private network device to behind the described public network equipment in corresponding relation;
Described first sending module, if specifically be used for receiving again the request message of checking described private network device video data that other public network equipment send, when inquiring after described private network device is provided with user mode sign, according to the IP address information of described private network device the IP address of described public network equipment being sent to described private network device, is that destination address send video data according to the current code stream bandwidth information of using and video code model with the IP address of described public network equipment by described private network device.
Compared with prior art, the present invention has the following advantages at least: the video data of private network device does not need passing through NAT, has reduced the pressure of gateway device, simplifies forwarding process, can improve forward efficiency on the whole.
Description of drawings
Fig. 1 is the networking schematic diagram of IP video monitoring and common office network in the prior art;
Fig. 2 is the transmission method flow chart of a kind of video data provided by the invention;
Fig. 3 is the schematic diagram of UPnP protocol architecture provided by the invention;
Fig. 4 is a kind of gateway device structure chart that the present invention proposes.
Embodiment
The present invention proposes a kind of transmission method of video data, and this method is applied to the situation of the video data in the public network device request private network device.Below in conjunction with accompanying drawing, specific embodiments of the present invention is described in detail.
With Fig. 1 is the grid of reference illustraton of model, private network device is that example describes with IPC in Fig. 1, certainly IPC only is an example, can also be that other have the equipment that obtains or preserve video capability, and public network equipment promptly refers to ask the subscriber equipment of video data in Fig. 1.As shown in Figure 2, this method comprises:
Step 201, the gateway device that connects public network and private network is safeguarded the corresponding relation of each IPC equipment mark information and IP address information.
Preferably, consider user's impression, in the process of carrying out video Data Transmission, the user can also own selection video data information (as parameters such as the code stream bandwidth information of video data, video code model, luminance videos), and IPC need be according to the video data information encapsulate video data of user's selection, to satisfy user's demand.In order to realize above-mentioned preferred process, gateway device also can be safeguarded the video data information of each IPC equipment in this corresponding relation.
In the present embodiment, in order on gateway device, to safeguard the relevant information of each IPC equipment, can use UPnP (Universal Plug and Play, UPnP) agreement, promptly gateway device utilizes the UPnP agreement to obtain the code stream bandwidth information (being the code stream amount of bandwidth) of each IPC equipment mark information, address information, video data and video code model etc.
UPnP protocol architecture schematic diagram as shown in Figure 3, the TCP of the bottom (Transmission ControlProtocol, transmission control protocol)/the IP agreement is the basis of UPnP agreement, be structured on the ICP/IP protocol is HTTP (Hyper Text Transfer Protocol, HTML (Hypertext Markup Language)) agreement and mutation thereof, all UPnP message all are encapsulated among the http protocol.In the UPnP agreement, different classes of application uses different upper-layer protocols to control; For example, SSDP (Simple Service DiscoveryProtocol, SSDP) has defined the UPnP control point and how to have found how UPnP service, UPnP equipment on the network issue the service that self can provide to network.
Based on above-mentioned UPnP agreement, when gateway device and each IPC equipment support UPnP protocol frame, gateway device is as the role at control point, IPC is as the role of node, can be undertaken alternately by the SSDP agreement of UPnP in the IPC device start stage, and on gateway device, safeguard the relevant information of each IPC equipment.
Concrete, in the addressing and discovery phase process of UPnP, IPC equipment can be by DHCP (Dynamic Host Configuration Protocol after being linked into network, DynamicHost is provided with agreement) or the manual static configuration mode obtain the IP address, after IPC equipment obtains the IP address, provide the relevant information of self to gateway device; Same, gateway device also can obtain self information of interest from IPC equipment by the SSDP agreement.
Therefore, gateway device can be set up the corresponding relation of each private network device identification information and IP address information based on the UPnP agreement; Perhaps, set up the corresponding relation of each private network device identification information, IP address information, code stream bandwidth information and video code model based on the UPnP agreement; Two kinds of schemes to set up process similar, just report the difference of parameter, be that example is elaborated with the latter's the process of setting up.
Concrete, gateway device receives that each private network device reports based on the UPnP agreement self identification information, IP address information, the first code stream bandwidth information and first video code model, and preserve the corresponding relation of identification information, IP address information, the first code stream bandwidth information and first video code model of each private network device; Each private network device reports based on the UPnP agreement self identification information, IP address information, the first code stream bandwidth information and first video code model be each private network device receive report after the notice that gateway device sends based on the UPnP agreement or each private network device self initiatively report.
In the practical application, gateway device can write down and safeguard each IPC equipment mark information (as the IPC device name), IP address by the mode of list item, and parameters such as code stream bandwidth information, video code model are as shown in table 1; As IPC equipment exit network or relevant information change after, based on the UPnP agreement, gateway device can in time be known these situations, and maintenance list item in view of the above.
Table 1
Figure BSA00000455307600081
Step 202, gateway device receives the request message of checking IPC equipment video data (as the HTTP request message) from subscriber equipment, carries IPC equipment mark information in this request message.
Preferably, consider user's impression, in the process of carrying out video Data Transmission, but user self selects video data information, so goes back the code stream bandwidth information and the video code model of the expectation of portability subscriber equipment in this request message.In order to distinguish conveniently, with record in the table 1 be called the first code stream bandwidth information and first video code model, be called the second code stream bandwidth information and second video code model with what carry in the request message.
Step 203, gateway device be according to identification information and the corresponding relation of safeguarding the in advance address information of determining to wait to check IPC equipment, and be that destination address sends video data with the user device IP address according to this address information notice IPC equipment.For example, when knowing that identification information is IPC-1, according to table 1 as can be known address information be 10.0.0.1, then the pairing IPC equipment of gateway device notice 10.0.0.1 is that destination address sends video data with the user device IP address.
Preferably, when carrying the second code stream bandwidth information and second video code model in the request message, if the first code stream bandwidth information is identical with the second code stream bandwidth information, and first video code model is identical with second video code model, then gateway device (is a user device IP address with the source IP address of request message, be designated as IP_USER) the pairing IPC equipment of notice 10.0.0.1 is that destination address sends video data with IP_USER by IPC equipment.
If the first code stream bandwidth information is different with the second code stream bandwidth information and/or first video code model is different with second video code model, then gateway device is notified to the pairing IPC equipment of 10.0.0.1 with the second code stream bandwidth information, second video code model, IP_USER, by IPC equipment the code stream bandwidth information and the video code model of current video data is adjusted into the second code stream bandwidth information and second video code model, and is that destination address sends adjusted video data with IP_USER.
Concrete, in the description and the control stage of UPnP agreement, gateway device can be controlled IPC equipment, by send the relevant order of URL operation requests to IPC equipment, can adjust the information such as frequency coded format, code stream amount of bandwidth of IPC equipment as gateway device according to the actual requirements.Therefore, after gateway device sends to IPC equipment by the UPnP agreement with the second code stream bandwidth information and second video code model, IPC equipment can be according to the second code stream bandwidth information and the second video code model encapsulate video data, and are the video data that destination address sends this encapsulation with IP_USER.
Among the present invention, and/or first video code model different with the second code stream bandwidth information and second video code model are not simultaneously when the first code stream bandwidth information, the first code stream bandwidth information that this gateway device also needs to safeguard in the corresponding relation with table 1 is updated to the second code stream bandwidth information, and first video code model is updated to second video code model.
It should be noted that, consider in the process that video data transmits on public network, if being furnished with certain strategy, the routing device on the public network to check source IP address, if find that the source IP address of video data is a private net address, then the routing device on the public network can abandon video data, needs therefore to guarantee that the source IP address of video data is a public network address.Be that destination address sends in the process of video data with the user device IP address at notice IPC equipment promptly, it is that source IP address sends video data with the IP address of gateway device that gateway device also can be notified IPC equipment.
Step 204, IPC equipment are that destination address sends video data with IP_USER.Preferential, the source IP address of this video data can be the public network IP address of gateway device.
Concrete, if the first code stream bandwidth information is identical with the second code stream bandwidth information and first video code model is identical with second video code model, then IPC equipment directly is that destination address sends video data with IP_USER; Otherwise IPC equipment is with the second code stream bandwidth information and the second video code model encapsulate video data, and is the video data after destination address sends encapsulation with IP_USER.
Step 205, the destination address that gateway device receives from IPC equipment is the video data of IP_USER, and gives subscriber equipment by public network interface forwarding video data.
Concrete, when the purpose IP address of video data for before the source IP address (being IP_USER) of the request message that receives and/or the port that receives this video data during for the port of the connection IPC equipment determined, without the NAT conversion, directly give subscriber equipment from public network interface forwarding video data.
Need to prove, after giving subscriber equipment by public network interface forwarding video data, gateway device can also be configured such that the FLAG field in the table 1 that with status indicator (as *) show this list item in user mode, existing subscriber's equipment is at the video data of checking IPC equipment.
In this case, if gateway device receives the request message of checking this IPC equipment video data that other public network equipment send again, when inquiring after this IPC equipment is provided with user mode sign, even the code stream bandwidth information in the request message and video code model and table 1 is inconsistent at this moment, do not reinform IPC equipment change code stream amount of bandwidth and video code model yet, gateway device directly sends to IPC equipment according to the IP address information of IPC equipment with the IP address of other public network equipment, is that destination address send video data according to the current code stream bandwidth information of using and video code model with the IP address of other public network equipment by IPC equipment.
Based on the inventive concept same with said method, the invention allows for a kind of gateway device that connects public network and private network, be applied to the situation of the video data in the public network device request private network device, as shown in Figure 4, this gateway device comprises:
Maintenance module 41 is used to safeguard the corresponding relation of each private network device identification information and IP address information;
First receiver module 42 is used to receive the request message of checking the private network device video data from described public network equipment, carries the identification information of described private network device in the described request message;
Determination module 43 is used for determining according to the described corresponding relation of described identification information and maintenance the IP address information of described private network device;
First sending module 44, being used for notifying described private network device according to described IP address information is that destination address sends video data with the IP address of described public network equipment;
Second receiver module 45 is used to receive the video data that described private network device sends, and the purpose IP address of this video data is the IP address of described public network equipment;
Second sending module 46 is used to transmit described video data and gives described public network equipment.
Described first sending module 44, also being used for notifying described private network device according to described IP address information is that source IP address sends video data with the IP address of described gateway device.
Described second sending module 46, specifically be used for when the purpose IP address of judging described video data for before the source IP address of the request message that receives and/or the port that receives this video data during for the port of the connection private network device determined, then this video data directly is transmitted to described public network equipment from the public network interface.
Each the private network device identification information safeguarded in the described maintenance module 41 and the corresponding relation of IP address information are based on the foundation of UPnP agreement, be specially: self the identification information that receives that each private network device reports based on the UPnP agreement, the IP address information, and preserve the corresponding relation of each private network device identification information and IP address information, wherein, self the identification information that reports based on the UPnP agreement of described each private network device, the IP address information be each private network device receive report after the notice that gateway device sends based on the UPnP agreement or each private network device self initiatively report.
Also carry the second code stream bandwidth information and second video code model of described public network equipment expectation in the described request message; Described maintenance module 41 also is used for safeguarding at corresponding relation the first code stream bandwidth information and first video code model of each private network device current video data;
Described first sending module 44, it is identical with the second code stream bandwidth information specifically to be used for working as the first code stream bandwidth information, and when first video code model is identical with second video code model, according to the IP address information of described private network device the IP address of described public network equipment being sent to described private network device, is that destination address sends video data by described private network device with the IP address of described public network equipment;
And/or first video code model different with the second code stream bandwidth information and second video code model are not simultaneously when the first code stream bandwidth information, according to the IP address information of described private network device IP address with described public network equipment, the second code stream bandwidth information, second video code model sends to described private network device, by described private network device the code stream bandwidth information and the video code model of current video data is adjusted into the described second code stream bandwidth information and second video code model, and is that destination address sends adjusted video data with the IP address of described public network equipment.
The corresponding relation of identification information, IP address information, the first code stream bandwidth information and first video code model of each private network device of safeguarding in the described maintenance module 41 is based on the foundation of UPnP agreement; Be specially: self identification information, IP address information, the first code stream bandwidth information and first video code model that receives that each private network device reports based on the UPnP agreement, and preserve the corresponding relation of identification information, IP address information, the first code stream bandwidth information and first video code model of each private network device; Wherein, self identification information, IP address information, the first code stream bandwidth information and first video code model that report based on the UPnP agreement of described each private network device be each private network device receive report after the notice that gateway device sends based on the UPnP agreement or each private network device self initiatively report.
Described maintenance module 41, the video data that also is used to transmit described private network device are provided with user mode sign for described private network device to behind the described public network equipment in corresponding relation;
Described first sending module 44, if specifically be used for receiving again the request message of checking described private network device video data that other public network equipment send, when inquiring after described private network device is provided with user mode sign, according to the IP address information of described private network device the IP address of described public network equipment being sent to described private network device, is that destination address send video data according to the current code stream bandwidth information of using and video code model with the IP address of described public network equipment by described private network device.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by 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 embody with the form 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.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description 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 embodiment just to description.
More than disclosed only be several specific embodiment 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 (15)

1. the transmission method of a video data, be applied to the situation of the video data in the public network device request private network device, it is characterized in that the gateway device that connects public network and private network is safeguarded the corresponding relation of each private network device identification information and IP address information, this method may further comprise the steps:
Described gateway device receives the request message of checking the private network device video data from described public network equipment, carries the identification information of described private network device in the described request message;
Described gateway device is determined the IP address information of described private network device according to the described corresponding relation of described identification information and maintenance, and to notify described private network device according to described IP address information be that destination address sends video data with the IP address of described public network equipment;
Described gateway device receives the video data that described private network device sends, and the purpose IP address of this video data is the IP address of described public network equipment;
Described gateway device is transmitted described video data and is given described public network equipment.
2. the method for claim 1 is characterized in that, this method further comprises:
Described gateway device is determined the IP address information of described private network device according to the described corresponding relation of described identification information and maintenance, and to notify described private network device according to described IP address information be that source IP address sends video data with the IP address of described gateway device.
3. the method for claim 1 is characterized in that, described gateway device is transmitted described video data and given described public network equipment, specifically comprises:
The purpose IP address that described gateway device is judged described video data for before the source IP address of the request message that receives and/or the port that receives this video data during for the port of the connection private network device determined, then this video data directly is transmitted to described public network equipment from the public network interface.
4. the method for claim 1, it is characterized in that, the corresponding relation of described each private network device identification information and IP address information is based on that the UPnP agreement sets up: described gateway device receives that each private network device reports based on the UPnP agreement the identification information of self, the IP address information, and preserve the corresponding relation of each private network device identification information and IP address information, wherein, self the identification information that reports based on the UPnP agreement of described each private network device, the IP address information be each private network device receive report after the notice that gateway device sends based on the UPnP agreement or each private network device self initiatively report.
5. as each described method of claim 1-3, it is characterized in that, also safeguard the first code stream bandwidth information and first video code model of each private network device current video data in the corresponding relation of described gateway device, also carry the second code stream bandwidth information and second video code model of described public network equipment expectation in the described request message; This method further comprises:
When the first code stream bandwidth information identical with the second code stream bandwidth information, and when first video code model is identical with second video code model, described gateway device sends to described private network device according to the IP address information of described private network device with the IP address of described public network equipment, is that destination address sends video data by described private network device with the IP address of described public network equipment;
And/or first video code model different with the second code stream bandwidth information and second video code model are not simultaneously when the first code stream bandwidth information, described gateway device is according to the IP address information of the described private network device IP address with described public network equipment, the second code stream bandwidth information, second video code model sends to described private network device, by described private network device the code stream bandwidth information and the video code model of current video data is adjusted into the described second code stream bandwidth information and second video code model, and is that destination address sends adjusted video data with the IP address of described public network equipment.
6. method as claimed in claim 5, it is characterized in that, the first code stream bandwidth information and/or first video code model different with the second code stream bandwidth information and second video code model are not simultaneously, described method also comprises: described gateway device is updated to the second code stream bandwidth information with the first code stream bandwidth information of safeguarding in the corresponding relation, and first video code model is updated to second video code model.
7. method as claimed in claim 5 is characterized in that, the corresponding relation of the identification information of each private network device, IP address information, the first code stream bandwidth information and first video code model is based on that the UPnP agreement sets up; Described gateway device receives that each private network device reports based on the UPnP agreement self identification information, IP address information, the first code stream bandwidth information and first video code model, and preserve the corresponding relation of identification information, IP address information, the first code stream bandwidth information and first video code model of each private network device; Wherein, self identification information, IP address information, the first code stream bandwidth information and first video code model that report based on the UPnP agreement of described each private network device be each private network device receive report after the notice that gateway device sends based on the UPnP agreement or each private network device self initiatively report.
8. the method for claim 1 is characterized in that, described method further comprises:
Described gateway device is transmitted the video data of described private network device to behind the described public network equipment, for described private network device the user mode sign is set in corresponding relation;
If described gateway device receives the request message of checking described private network device video data that other public network equipment send again, when inquiring after described private network device is provided with user mode sign, described gateway device sends to described private network device according to the IP address information of described private network device with the IP address of described public network equipment, is that destination address send video data according to the current code stream bandwidth information of using and video code model with the IP address of described public network equipment by described private network device.
9. gateway device that connects public network and private network is applied to the situation of the video data in the public network device request private network device, it is characterized in that described gateway device comprises:
Maintenance module is used to safeguard the corresponding relation of each private network device identification information and IP address information;
First receiver module is used to receive the request message of checking the private network device video data from described public network equipment, carries the identification information of described private network device in the described request message;
Determination module is used for determining according to the described corresponding relation of described identification information and maintenance the IP address information of described private network device;
First sending module, being used for notifying described private network device according to described IP address information is that destination address sends video data with the IP address of described public network equipment;
Second receiver module is used to receive the video data that described private network device sends, and the purpose IP address of this video data is the IP address of described public network equipment;
Second sending module is used to transmit described video data and gives described public network equipment.
10. gateway device as claimed in claim 9 is characterized in that,
Described first sending module, also being used for notifying described private network device according to described IP address information is that source IP address sends video data with the IP address of described gateway device.
11. gateway device as claimed in claim 9 is characterized in that,
Described second sending module, specifically be used for when the purpose IP address of judging described video data for before the source IP address of the request message that receives and/or the port that receives this video data during for the port of the connection private network device determined, then this video data directly is transmitted to described public network equipment from the public network interface.
12. gateway device as claimed in claim 9, it is characterized in that, each the private network device identification information safeguarded in the described maintenance module and the corresponding relation of IP address information are based on the foundation of UPnP agreement, be specially: self the identification information that receives that each private network device reports based on the UPnP agreement, the IP address information, and preserve the corresponding relation of each private network device identification information and IP address information, wherein, self the identification information that reports based on the UPnP agreement of described each private network device, the IP address information be each private network device receive report after the notice that gateway device sends based on the UPnP agreement or each private network device self initiatively report.
13. as each described gateway device of claim 9-11, it is characterized in that, also carry the second code stream bandwidth information and second video code model of described public network equipment expectation in the described request message;
Described maintenance module also is used for safeguarding at corresponding relation the first code stream bandwidth information and first video code model of each private network device current video data;
Described first sending module, it is identical with the second code stream bandwidth information specifically to be used for working as the first code stream bandwidth information, and when first video code model is identical with second video code model, according to the IP address information of described private network device the IP address of described public network equipment being sent to described private network device, is that destination address sends video data by described private network device with the IP address of described public network equipment;
And/or first video code model different with the second code stream bandwidth information and second video code model are not simultaneously when the first code stream bandwidth information, according to the IP address information of described private network device IP address with described public network equipment, the second code stream bandwidth information, second video code model sends to described private network device, by described private network device the code stream bandwidth information and the video code model of current video data is adjusted into the described second code stream bandwidth information and second video code model, and is that destination address sends adjusted video data with the IP address of described public network equipment.
14. gateway device as claimed in claim 13, it is characterized in that the corresponding relation of the identification information of each private network device of safeguarding in the described maintenance module, IP address information, the first code stream bandwidth information and first video code model is based on that the UPnP agreement sets up; Be specially: self identification information, IP address information, the first code stream bandwidth information and first video code model that receives that each private network device reports based on the UPnP agreement, and preserve the corresponding relation of identification information, IP address information, the first code stream bandwidth information and first video code model of each private network device; Wherein, self identification information, IP address information, the first code stream bandwidth information and first video code model that report based on the UPnP agreement of described each private network device be each private network device receive report after the notice that gateway device sends based on the UPnP agreement or each private network device self initiatively report.
15. gateway device as claimed in claim 9 is characterized in that,
Described maintenance module, the video data that also is used to transmit described private network device are provided with user mode sign for described private network device to behind the described public network equipment in corresponding relation;
Described first sending module, if specifically be used for receiving again the request message of checking described private network device video data that other public network equipment send, when inquiring after described private network device is provided with user mode sign, according to the IP address information of described private network device the IP address of described public network equipment being sent to described private network device, is that destination address send video data according to the current code stream bandwidth information of using and video code model with the IP address of described public network equipment by described private network device.
CN201110067446.2A 2011-03-21 2011-03-21 Method and equipment for transmitting video data Active CN102143172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110067446.2A CN102143172B (en) 2011-03-21 2011-03-21 Method and equipment for transmitting video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110067446.2A CN102143172B (en) 2011-03-21 2011-03-21 Method and equipment for transmitting video data

Publications (2)

Publication Number Publication Date
CN102143172A true CN102143172A (en) 2011-08-03
CN102143172B CN102143172B (en) 2014-10-29

Family

ID=44410394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110067446.2A Active CN102143172B (en) 2011-03-21 2011-03-21 Method and equipment for transmitting video data

Country Status (1)

Country Link
CN (1) CN102143172B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340511A (en) * 2011-11-03 2012-02-01 杭州华三通信技术有限公司 Safety control method and device
CN102984031A (en) * 2012-12-12 2013-03-20 浙江宇视科技有限公司 Method and device for allowing encoding equipment to be safely accessed to monitoring and control network
CN103297666A (en) * 2012-02-24 2013-09-11 中兴通讯股份有限公司 Video monitoring method, device and system achieved based on universal plug and play
CN103501426A (en) * 2013-09-30 2014-01-08 上海斐讯数据通信技术有限公司 Remote video monitoring system and method
CN104253980A (en) * 2014-09-25 2014-12-31 浙江宇视科技有限公司 Method and device for connecting front-end equipment with background media equipment
CN104683852A (en) * 2013-11-29 2015-06-03 国际商业机器公司 Method and equipment for processing broadcasting information
CN105338023A (en) * 2014-07-11 2016-02-17 北京华为数字技术有限公司 Intelligent equipment control method, apparatus and system
CN106412627A (en) * 2015-07-30 2017-02-15 中国电信股份有限公司 Method and system for controlling usage bandwidth of video terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582925A (en) * 2009-06-15 2009-11-18 中兴通讯股份有限公司 Network address translation method and system
JP2009303078A (en) * 2008-06-16 2009-12-24 Nippon Telegr & Teleph Corp <Ntt> Communication control system, communication control method, call control server device and call control program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009303078A (en) * 2008-06-16 2009-12-24 Nippon Telegr & Teleph Corp <Ntt> Communication control system, communication control method, call control server device and call control program
CN101582925A (en) * 2009-06-15 2009-11-18 中兴通讯股份有限公司 Network address translation method and system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340511B (en) * 2011-11-03 2014-06-25 杭州华三通信技术有限公司 Safety control method and device
CN102340511A (en) * 2011-11-03 2012-02-01 杭州华三通信技术有限公司 Safety control method and device
CN103297666A (en) * 2012-02-24 2013-09-11 中兴通讯股份有限公司 Video monitoring method, device and system achieved based on universal plug and play
CN103297666B (en) * 2012-02-24 2018-07-31 中兴通讯股份有限公司 The method, apparatus and system of video monitoring are realized based on universal plug and play
CN102984031B (en) * 2012-12-12 2015-06-10 浙江宇视科技有限公司 Method and device for allowing encoding equipment to be safely accessed to monitoring and control network
CN102984031A (en) * 2012-12-12 2013-03-20 浙江宇视科技有限公司 Method and device for allowing encoding equipment to be safely accessed to monitoring and control network
CN103501426A (en) * 2013-09-30 2014-01-08 上海斐讯数据通信技术有限公司 Remote video monitoring system and method
CN104683852A (en) * 2013-11-29 2015-06-03 国际商业机器公司 Method and equipment for processing broadcasting information
CN104683852B (en) * 2013-11-29 2018-04-06 国际商业机器公司 The method and apparatus for handling broadcast message
CN105338023A (en) * 2014-07-11 2016-02-17 北京华为数字技术有限公司 Intelligent equipment control method, apparatus and system
CN105338023B (en) * 2014-07-11 2019-05-28 北京华为数字技术有限公司 A kind of method, apparatus and system of smart machine control
CN104253980A (en) * 2014-09-25 2014-12-31 浙江宇视科技有限公司 Method and device for connecting front-end equipment with background media equipment
CN106412627A (en) * 2015-07-30 2017-02-15 中国电信股份有限公司 Method and system for controlling usage bandwidth of video terminal
CN106412627B (en) * 2015-07-30 2020-06-09 中国电信股份有限公司 Method and system for controlling bandwidth used by video terminal

Also Published As

Publication number Publication date
CN102143172B (en) 2014-10-29

Similar Documents

Publication Publication Date Title
CN102143172B (en) Method and equipment for transmitting video data
CN101986648A (en) Negotiation method, device and network device of TCP option
Akribopoulos et al. A web services-oriented architecture for integrating small programmable objects in the web of things
JP2009246449A (en) Control relay program, control relay apparatus and control relay method
KR20170055530A (en) Systems and methods for enabling access to third party services via service layer
CN104009938A (en) Method and system for long connections based on router level
EP3089435B1 (en) Service processing method and network device
JP2008130082A (en) Method for controlling device connected to upnp home network via internet, and system and device therefor
CN101039309A (en) Link sharing service apparatus and communication method thereof
CN102571790B (en) A kind of method and apparatus of the encrypted transmission for realize target file
WO2015039474A1 (en) Method, device, and storage medium for deep packet inspection control
Karamitsios et al. Efficient IoT data aggregation for connected health applications
CN108243026A (en) Lan device communication management method, system and gateway device
CN104243198A (en) Network management method and system based on network configuration protocol
WO2019206254A1 (en) Penetration method, device, server and medium for devices under different nat nodes
CN101119374A (en) iSCSI communication method and corresponding initiation equipment and objective equipment
CN105281987A (en) Router and data upload method, device and system
CN105577546A (en) Method for actively requesting access based on QoS
CN103412728A (en) Method and system for device file printing based on local area network
JP6044020B2 (en) Data packet processing method, system, and device
EP2466814B1 (en) Method, remote access server and system for configuring quality of service
CN103428013A (en) Device managing method and system and gateway device
CN105577433B (en) A kind of ACS cluster management method, device and system
CN101471850B (en) Method for identifying medium resource, medium gateway and medium gateway controller
CN105429844A (en) Network system, internal network equipment and access method of internal network equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES 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

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230620

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.