CN104683736A - Method and system for acquiring network video - Google Patents
Method and system for acquiring network video Download PDFInfo
- Publication number
- CN104683736A CN104683736A CN201310613133.1A CN201310613133A CN104683736A CN 104683736 A CN104683736 A CN 104683736A CN 201310613133 A CN201310613133 A CN 201310613133A CN 104683736 A CN104683736 A CN 104683736A
- Authority
- CN
- China
- Prior art keywords
- video monitoring
- address
- end equipment
- video
- monitoring front
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses a method and a system for acquiring a network video. In the method for acquiring the network video, when a video monitoring platform receives a video access request sent by a user terminal, if the IP address of the user terminal and the IP address of a private network of video monitoring front-end equipment are not within the same local area network, the video monitoring platform sends a gateway mapping IP address and gateway mapping port information to the user terminal. The user terminal sends a video acquiring request to a gateway which corresponds to the gateway mapping IP address. The gateway inquires the local monitoring port information of the video monitoring front-end equipment corresponding to the gateway mapping port information, and the IP address of the private network of the video monitoring front-end equipment corresponding to the local monitoring port information of the video monitoring front-end equipment, and forwards the video acquiring request to the corresponding video monitoring front-end equipment. The video monitoring front-end equipment sends a real-time video stream to the user terminal via the gateway. Thus, a user can conveniently cross the private network for accessing the video monitoring front-end equipment.
Description
Technical field
The present invention relates to the communications field, particularly a kind of method and system for obtaining Internet video.
Background technology
Along with the strengthening of security protection consciousness and universal, video monitoring market scale constantly expands, and is advanced to medium-sized and small enterprises and domestic. applications by large-scale sector application.
Large-scale sector application is based upon within the scope of user private network or the Internet, the IP(Internet Protocol of the video monitoring front-end of such as front-end camera, Internet protocol) address is can direct reference, video monitoring client terminal can directly by IP address access front-end camera.
Along with the application of all kinds of gateway device in recent years, after most of medium-sized and small enterprises/family's front monitoring front-end camera is placed in enterprise gateway/home gateway, CCTV camera IP address is private network IP and fixing port, by enterprise gateway/home gateway accessing Internet, Internet user cannot access front-end camera by private network IP address.
Summary of the invention
The embodiment of the present invention provides a kind of method and system for obtaining Internet video, by at the private network IP address of video monitoring platform store video monitoring frontend and the gateway maps IP address of local listening port information and correspondence and gateway maps port information, thus be convenient to user's pass through private net accessing video monitoring frontend.
According to an aspect of the present invention, a kind of method for obtaining Internet video being provided, comprising:
When video monitoring platform receives the video access request of user terminal transmission, the user terminal IP address that the request of extraction video access comprises and video monitoring front end equipment identification information;
Inquire about the private network IP address of the video monitoring front end equipment corresponding to video monitoring front end equipment identification information and local listening port information and corresponding gateway maps IP address and gateway maps port information;
Judge that the private network IP address of user terminal IP address and video monitoring front end equipment is whether in same local area network (LAN);
If the private network IP address of user terminal IP address and video monitoring front end equipment is not in same local area network (LAN), then the first video access request response is sent to user terminal by video monitoring platform, wherein the first video access request respond packet draws together gateway maps IP address and corresponding gateway maps port information, and gateway maps port information is associated with the local listening port information of video monitoring front end equipment;
User terminal is after receiving the first video access request response, and send video acquisition request to the gateway corresponding with gateway maps IP address, wherein video acquisition request comprises gateway maps port information;
After gateway receives video acquisition request, inquire about the local listening port information of the video monitoring front end equipment corresponding with gateway maps port information, and the private network IP address of the video monitoring front end equipment corresponding with local listening port information;
Gateway by video acquisition request forward to the video monitoring front end equipment corresponding with private network IP address so that live video stream is sent to user terminal via gateway by local listening port by video monitoring front end equipment.
Preferably, if the private network IP address of user terminal IP address and video monitoring front end equipment is in same local area network (LAN), then the second video access request response is sent to user terminal by video monitoring platform, and wherein the second video access request response comprises the private network IP address of video monitoring front end equipment and the local listening port information of video monitoring front end equipment;
User terminal utilizes the private network IP address accessing video monitoring frontend of video monitoring front end equipment, so that live video stream is sent to user terminal by local listening port by video monitoring front end equipment after receiving the second video access request response.
Preferably, when video monitoring front end equipment carries out network registry, video monitoring front end equipment sends address request information to gateway, and address request information comprises the local listening port information of video monitoring front end equipment;
After gateway receives address request information, generate the gateway maps port information corresponding with the local listening port of video monitoring front end equipment, and be video monitoring front end equipment distribution private network IP address.Gateway sends Address requests response to video monitoring front end equipment, and wherein Address requests response comprises the private network IP address of video monitoring front end equipment, gateway maps IP address and the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment;
After video monitoring front end equipment receives Address requests response, send registration request to video monitoring platform, registration request comprises the private network IP address of video monitoring front end equipment, the local listening port information of video monitoring front end equipment, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address;
After video monitoring platform receives registration request, the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
Preferably, registration request also comprises the physical location identifier of video monitoring front end equipment;
After video monitoring platform receives registration request, also comprise:
Whether the physical location identifier that video monitoring platform checking registration request comprises is legal;
If the physical location identifier that registration request comprises is legal, then perform the step of the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
Preferably, the step that video monitoring front end equipment sends address request information to gateway comprises:
Video monitoring front end equipment utilizes UPNP agreement to send address request information to gateway;
The step that video monitoring front end equipment sends registration request to video monitoring platform comprises:
Video monitoring front end equipment utilizes Transmission Control Protocol, sends registration request by gateway to video monitoring platform.
According to a further aspect in the invention, a kind of system for obtaining Internet video being provided, comprising user terminal, video monitoring platform, gateway and video monitoring front end equipment, wherein:
User terminal, for sending video access request to video monitoring platform; After the first video access request response receiving video monitoring platform transmission, send video acquisition request to the gateway corresponding with gateway maps IP address, wherein video acquisition request comprises gateway maps port information;
Video monitoring platform, for when receiving the video access request that user terminal sends, the user terminal IP address that the request of extraction video access comprises and video monitoring front end equipment identification information; Inquire about the private network IP address of the video monitoring front end equipment corresponding to video monitoring front end equipment identification information and local listening port information and corresponding gateway maps IP address and gateway maps port information; Judge that the private network IP address of user terminal IP address and video monitoring front end equipment is whether in same local area network (LAN); If the private network IP address of user terminal IP address and video monitoring front end equipment is not in same local area network (LAN), then the first video access request response is sent to user terminal, wherein the first video access request respond packet draws together gateway maps IP address and corresponding gateway maps port information, and gateway maps port information is associated with the local listening port information of video monitoring front end equipment;
Gateway, for after the video acquisition request receiving user terminal transmission, inquire about the local listening port information of the video monitoring front end equipment corresponding with gateway maps port information, and the private network IP address of the video monitoring front end equipment corresponding with local listening port information; By video acquisition request forward to the video monitoring front end equipment corresponding with private network IP address;
Video monitoring front end equipment, for when receiving the video acquisition request of gateway forwards, sends to user terminal by live video stream via gateway by local listening port.
Preferably, video monitoring platform is also for when the private network IP address of user terminal IP address and video monitoring front end equipment is in same local area network (LAN), second video access request response is sent to user terminal, and wherein the second video access request response comprises the private network IP address of video monitoring front end equipment and the local listening port information of video monitoring front end equipment;
User terminal is also for after receiving the second video access request response, utilize the private network IP address accessing video monitoring frontend of video monitoring front end equipment, so that live video stream is sent to user terminal by local listening port by video monitoring front end equipment.
Preferably, video monitoring front end equipment is also for when carrying out network registry, and send address request information to gateway, address request information comprises the local listening port information of video monitoring front end equipment; After receiving Address requests response, send registration request to video monitoring platform, registration request comprises the private network IP address of video monitoring front end equipment, the local listening port information of video monitoring front end equipment, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address;
Gateway, also for after receiving address request information, generates the gateway maps port information corresponding with the local listening port of video monitoring front end equipment, and is video monitoring front end equipment distribution private network IP address; Send Address requests response to video monitoring front end equipment, wherein Address requests response comprises the private network IP address of video monitoring front end equipment, gateway maps IP address and the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment;
Video monitoring platform also for after receiving registration request, the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
Preferably, registration request also comprises the physical location identifier of video monitoring front end equipment;
Video monitoring platform is also for after receiving registration request, and whether the physical location identifier that checking registration request comprises is legal; If the physical location identifier that registration request comprises is legal, then perform the operation of the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
Preferably, video monitoring front end equipment specifically utilizes UPNP agreement to send address request information to gateway; Specifically utilize Transmission Control Protocol, send registration request by gateway to video monitoring platform.
The present invention by receive when video monitoring platform user terminal send video access request time, judge that the private network IP address of user terminal IP address and video monitoring front end equipment is whether in same local area network (LAN), if both are not in same local area network (LAN), then the first video access request response is sent to user terminal by video monitoring platform, and wherein the first video access request respond packet draws together gateway maps IP address and corresponding gateway maps port information.User terminal is after receiving the first video access request response, video acquisition request is sent to the gateway corresponding with gateway maps IP address, after gateway receives video acquisition request, inquire about the local listening port information of the video monitoring front end equipment corresponding with gateway maps port information, and the private network IP address of the video monitoring front end equipment corresponding with local listening port information, by video acquisition request forward to the video monitoring front end equipment corresponding with private network IP address, so that live video stream is sent to user terminal via the gateway maps port of gateway by local listening port by video monitoring front end equipment.Thus when not adjusting existing network framework, user's pass through private net accessing video monitoring frontend can be made, improve Consumer's Experience.
Description of the invention provides in order to example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is in order to principle of the present invention and practical application are better described, and enables those of ordinary skill in the art understand the present invention thus design the various embodiments with various amendment being suitable for special-purpose.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is that the present invention is for obtaining the schematic diagram of a method embodiment of Internet video.
Fig. 2 is the schematic diagram that video monitoring front end equipment of the present invention registers an embodiment.
Fig. 3 is that the present invention is for obtaining the schematic diagram of a system embodiment of Internet video.
Fig. 4 is the schematic diagram that Internet video of the present invention obtains an embodiment.
Fig. 5 is the schematic diagram that Internet video of the present invention obtains another embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Illustrative to the description only actually of at least one exemplary embodiment below, never as any restriction to the present invention and application or use.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Unless specifically stated otherwise, otherwise positioned opposite, the numerical expression of the parts of setting forth in these embodiments and step and numerical value do not limit the scope of the invention.
Meanwhile, it should be understood that for convenience of description, the size of the various piece shown in accompanying drawing is not draw according to the proportionate relationship of reality.
May not discuss in detail for the known technology of person of ordinary skill in the relevant, method and apparatus, but in the appropriate case, described technology, method and apparatus should be regarded as a part of authorizing specification.
In all examples with discussing shown here, any occurrence should be construed as merely exemplary, instead of as restriction.Therefore, other example of exemplary embodiment can have different values.
It should be noted that: represent similar terms in similar label and letter accompanying drawing below, therefore, once be defined in an a certain Xiang Yi accompanying drawing, then do not need to be further discussed it in accompanying drawing subsequently.
Fig. 1 is that the present invention is for obtaining the schematic diagram of a method embodiment of Internet video.As shown in Figure 1, the method step of the present embodiment is as follows:
Step 101, when video monitoring platform receives the video access request of user terminal transmission, the user terminal IP address that the request of extraction video access comprises and video monitoring front end equipment identification information.
Step 102, inquires about the private network IP address of the video monitoring front end equipment corresponding to video monitoring front end equipment identification information and local listening port information and corresponding gateway maps IP address and gateway maps port information.
Step 103, judges that the private network IP address of user terminal IP address and video monitoring front end equipment is whether in same local area network (LAN).
Step 104, if the private network IP address of user terminal IP address and video monitoring front end equipment is not in same local area network (LAN), then the first video access request response is sent to user terminal by video monitoring platform.
Wherein the first video access request respond packet draws together gateway maps IP address and corresponding gateway maps port information, and gateway maps port information is associated with the local listening port information of video monitoring front end equipment.
Step 105, user terminal is after receiving the first video access request response, and send video acquisition request to the gateway corresponding with gateway maps IP address, wherein video acquisition request comprises gateway maps port information.
Step 106, after gateway receives video acquisition request, inquires about the local listening port information of the video monitoring front end equipment corresponding with gateway maps port information, and the private network IP address of the video monitoring front end equipment corresponding with local listening port information.
Step 107, gateway by video acquisition request forward to the video monitoring front end equipment corresponding with private network IP address so that live video stream is sent to user terminal via gateway by local listening port by video monitoring front end equipment.
Based on the method for obtaining Internet video that the above embodiment of the present invention provides, by in the private network IP address of video monitoring platform store video monitoring frontend and gateway maps IP address, thus when not adjusting existing network framework, user's pass through private net accessing video monitoring frontend can be made, improve Consumer's Experience.
In the above-described embodiments, the process of gateway forwards video acquisition request is transparent, and for user, user terminal sends request to obtain video flowing directly to video monitoring front end equipment, thus improve Consumer's Experience.
Preferably, if the private network IP address of user terminal IP address and video monitoring front end equipment is in same local area network (LAN), then the second video access request response is sent to user terminal by video monitoring platform, and wherein the second video access request response comprises the private network IP address of video monitoring front end equipment and the local listening port information of video monitoring front end equipment.
User terminal utilizes the private network IP address accessing video monitoring frontend of video monitoring front end equipment, so that live video stream is sent to user terminal by local listening port by video monitoring front end equipment after receiving the second video access request response.
That is, if the private network IP address of user terminal IP address and video monitoring front end equipment is in same local area network (LAN), then user terminal is without the need to by gateway, can directly accessing video monitoring frontend to obtain live video stream.
Fig. 2 is the schematic diagram that video monitoring front end equipment of the present invention registers an embodiment.
Step 201, when video monitoring front end equipment carries out network registry, video monitoring front end equipment sends address request information to gateway, and address request information comprises the local listening port information of video monitoring front end equipment.
Preferably, video monitoring front end equipment utilizes UPNP(Universal Plug and Play, UPnP) agreement sends address request information to gateway.Wherein, a UPNP equipment can automatically connect upper and automatic acquisition IP address with a network, sends out the authority of oneself and learn other equipment connected and authority thereof.
Step 202, after gateway receives address request information, generates the gateway maps port information corresponding with the local listening port of video monitoring front end equipment, and is video monitoring front end equipment distribution private network IP address.
Such as, the local listening port of video monitoring front end equipment configuration is 554, gateway generates the gateway maps port 50000 corresponding with the local listening port 554 of video monitoring front end equipment, and be video monitoring front end equipment distribution private network IP address 192.168.1.5, corresponding gateway maps IP address is 61.152.231.8.
Step 203, gateway sends Address requests response to video monitoring front end equipment, and wherein Address requests response comprises the private network IP address of video monitoring front end equipment, gateway maps IP address and the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment.
Step 204, after video monitoring front end equipment receives Address requests response, send registration request to video monitoring platform, registration request comprises the private network IP address of video monitoring front end equipment, the local listening port information of video monitoring front end equipment, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
Step 205, after video monitoring platform receives registration request, the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
Step 206, video monitoring platform sends to video monitoring front end equipment the response message that succeeds in registration by gateway.
Preferably, video monitoring front end equipment utilizes TCP(Transfer Control Protocol, transmission control protocol) agreement registers to video monitoring platform, and namely video monitoring front end equipment utilizes Transmission Control Protocol, by gateway, registration request is sent to video monitoring platform.
Preferably, physical location identifier (Physical Unit ID, the abbreviation: PUID) of video monitoring front end equipment can also be comprised in registration request.
After video monitoring platform receives registration request, verify that whether the physical location identifier that registration request comprises is legal further; If the physical location identifier that registration request comprises is legal, then perform the step of the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.If physical location identifier is illegal, then registration failure.Thus the fail safe of system can be improved.
Fig. 3 is that the present invention is for obtaining the schematic diagram of a system embodiment of Internet video.As shown in Figure 3, this system comprises user terminal 301, video monitoring platform 302, gateway 303 and video monitoring front end equipment 304.Wherein:
User terminal 301, for sending video access request to video monitoring platform 302; After the first video access request response receiving video monitoring platform 302 transmission, send video acquisition request to the gateway 303 corresponding with gateway maps IP address, wherein video acquisition request comprises gateway maps port information.
Video monitoring platform 302, for when receiving the video access request that user terminal 301 sends, the user terminal IP address that the request of extraction video access comprises and video monitoring front end equipment identification information; Inquire about the private network IP address of the video monitoring front end equipment corresponding to video monitoring front end equipment identification information and local listening port information and corresponding gateway maps IP address and gateway maps port information; Judge that the private network IP address of user terminal IP address and video monitoring front end equipment is whether in same local area network (LAN); If the private network IP address of user terminal IP address and video monitoring front end equipment is not in same local area network (LAN), then the first video access request response is sent to user terminal 301, wherein the first video access request respond packet draws together gateway maps IP address and corresponding gateway maps port information, and gateway maps port information is associated with the local listening port information of video monitoring front end equipment.
Gateway 303, for after the video acquisition request receiving user terminal 301 transmission, inquire about the local listening port information of the video monitoring front end equipment corresponding with gateway maps port information, and the private network IP address of the video monitoring front end equipment corresponding with local listening port information; By video acquisition request forward to the video monitoring front end equipment 304 corresponding with private network IP address.
Video monitoring front end equipment 304, for when receiving the video acquisition request of gateway forwards, sends to user terminal by live video stream via gateway by local listening port.
Based on the system for obtaining Internet video that the above embodiment of the present invention provides, by in the private network IP address of video monitoring platform store video monitoring frontend and gateway maps IP address, thus when not adjusting existing network framework, user's pass through private net accessing video monitoring frontend can be made, improve Consumer's Experience.
For brevity, a video monitoring front end equipment is only gived in figure 3.Those skilled in the art are scrutable, can comprise multiple video monitoring front end equipment in system.
Preferably, video monitoring platform 302 is also for when the private network IP address of user terminal IP address and video monitoring front end equipment is in same local area network (LAN), second video access request response is sent to user terminal, and wherein the second video access request response comprises the private network IP address of video monitoring front end equipment and the local listening port information of video monitoring front end equipment;
User terminal 301 is also for after receiving the second video access request response, utilize the private network IP address accessing video monitoring frontend of video monitoring front end equipment, so that live video stream is sent to user terminal by local listening port by video monitoring front end equipment.
Preferably, video monitoring front end equipment 304 also for when carrying out network registry, sends address request information to gateway 303, and address request information comprises the local listening port information of video monitoring front end equipment; After receiving Address requests response, send registration request to video monitoring platform, registration request comprises the private network IP address of video monitoring front end equipment, the local listening port information of video monitoring front end equipment, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
Gateway 303, also for after receiving address request information, generates the gateway maps port information corresponding with the local listening port of video monitoring front end equipment, and is video monitoring front end equipment distribution private network IP address; Send Address requests response to video monitoring front end equipment 304, wherein Address requests response comprises the private network IP address of video monitoring front end equipment, gateway maps IP address and the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment.
Video monitoring platform 302 also for after receiving registration request, the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
Preferably, registration request also comprises the physical location identifier of video monitoring front end equipment.
Video monitoring platform 302 is also for after receiving registration request, and whether the physical location identifier that checking registration request comprises is legal; If the physical location identifier that registration request comprises is legal, then perform the operation of the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
Preferably, video monitoring front end equipment 304 specifically utilizes UPNP agreement to send address request information to gateway; Specifically utilize Transmission Control Protocol, send registration request by gateway to video monitoring platform 302.
Below by concrete example, the present invention will be described.
Fig. 4 is the schematic diagram that Internet video of the present invention obtains an embodiment, and wherein Fig. 4 relates to user terminal and video monitoring front end equipment not in the situation of same local area network (LAN).
Step 401, user terminal sends video access request to video monitoring platform.
Step 402, after video monitoring platform receives video access request, extract user terminal IP address and video monitoring front end equipment identification information that video access request comprises, inquire about the private network IP address of the video monitoring front end equipment corresponding to video monitoring front end equipment identification information and local listening port information and corresponding gateway maps IP address and gateway maps port information.
Step 403, judges that the private network IP address of user terminal IP address and video monitoring front end equipment is whether in same local area network (LAN).
Step 404, if the private network IP address of user terminal IP address and video monitoring front end equipment is not in same local area network (LAN), then the first video access request response is sent to user terminal by video monitoring platform.
Wherein the first video access request respond packet draws together gateway maps IP address and corresponding gateway maps port information, and gateway maps port information is associated with the local listening port information of video monitoring front end equipment.
Such as, the local listening port of video monitoring front end equipment is 554, and the private network IP address of video monitoring front end equipment is 192.168.1.5, and corresponding gateway maps port is 50000, and corresponding gateway maps IP address is 61.152.231.8.
Step 405, user terminal is after receiving the first video access request response, and send video acquisition request to the gateway be associated with gateway maps IP address 61.152.231.8, wherein video acquisition request comprises gateway maps port information 50000.
Step 406, after gateway receives video acquisition request, inquire about the local listening port information 554 of the video monitoring front end equipment corresponding with gateway maps port information 5000, and the video monitoring front end equipment private network IP address 192.168.1.5 corresponding with local listening port information 554.
Step 407, gateway utilizes the private network IP address 192.168.1.5 of video monitoring front end equipment, by video acquisition request forward to corresponding video monitoring front end equipment.
Step 408, live video stream is sent to user terminal via gateway by the local listening port 554 of video monitoring front end equipment by video monitoring front end equipment.
Fig. 5 is the schematic diagram that Internet video of the present invention obtains another embodiment, and wherein Fig. 5 relates to user terminal and the video monitoring front end equipment situation at same local area network (LAN).
Step 501, user terminal sends video access request to video monitoring platform.
Step 502, after video monitoring platform receives video access request, extract user terminal IP address and video monitoring front end equipment identification information that video access request comprises, inquire about the private network IP address of the video monitoring front end equipment corresponding to video monitoring front end equipment identification information and local listening port information and corresponding gateway maps IP address and gateway maps port information.
Step 503, judges that the private network IP address of user terminal IP address and video monitoring front end equipment is whether in same local area network (LAN).
Step 504, if the private network IP address of user terminal IP address and video monitoring front end equipment is in same local area network (LAN), then the second video access request response is sent to user terminal by video monitoring platform.
Wherein the second video access request response comprises the private network IP address 192.168.1.5 of video monitoring front end equipment and the local listening port information 554 of video monitoring front end equipment.
Step 505, user terminal utilizes the private network IP address 192.168.1.5 of video monitoring front end equipment to send video acquisition request to video monitoring front end equipment after receiving the second video access request response.
Step 506, video monitoring front end equipment pushes live video stream by local listening port 554 directly to user terminal.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
Claims (10)
1. for obtaining a method for Internet video, it is characterized in that, comprising:
When video monitoring platform receives the video access request of user terminal transmission, the user terminal IP address that the request of extraction video access comprises and video monitoring front end equipment identification information;
Inquire about the private network IP address of the video monitoring front end equipment corresponding to video monitoring front end equipment identification information and local listening port information and corresponding gateway maps IP address and gateway maps port information;
Judge that the private network IP address of user terminal IP address and video monitoring front end equipment is whether in same local area network (LAN);
If the private network IP address of user terminal IP address and video monitoring front end equipment is not in same local area network (LAN), then the first video access request response is sent to user terminal by video monitoring platform, wherein the first video access request respond packet draws together gateway maps IP address and corresponding gateway maps port information, and gateway maps port information is associated with the local listening port information of video monitoring front end equipment;
User terminal is after receiving the first video access request response, and send video acquisition request to the gateway corresponding with gateway maps IP address, wherein video acquisition request comprises gateway maps port information;
After gateway receives video acquisition request, inquire about the local listening port information of the video monitoring front end equipment corresponding with gateway maps port information, and the private network IP address of the video monitoring front end equipment corresponding with local listening port information;
Gateway by video acquisition request forward to the video monitoring front end equipment corresponding with private network IP address so that live video stream is sent to user terminal via gateway by local listening port by video monitoring front end equipment.
2. method according to claim 1, is characterized in that,
If the private network IP address of user terminal IP address and video monitoring front end equipment is in same local area network (LAN), then the second video access request response is sent to user terminal by video monitoring platform, and wherein the second video access request response comprises the private network IP address of video monitoring front end equipment and the local listening port information of video monitoring front end equipment;
User terminal utilizes the private network IP address accessing video monitoring frontend of video monitoring front end equipment, so that live video stream is sent to user terminal by local listening port by video monitoring front end equipment after receiving the second video access request response.
3. method according to claim 1 and 2, is characterized in that,
When video monitoring front end equipment carries out network registry, video monitoring front end equipment sends address request information to gateway, and address request information comprises the local listening port information of video monitoring front end equipment;
After gateway receives address request information, generate the gateway maps port information corresponding with the local listening port of video monitoring front end equipment, and be video monitoring front end equipment distribution private network IP address;
Gateway sends Address requests response to video monitoring front end equipment, and wherein Address requests response comprises the private network IP address of video monitoring front end equipment, gateway maps IP address and the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment;
After video monitoring front end equipment receives Address requests response, send registration request to video monitoring platform, registration request comprises the private network IP address of video monitoring front end equipment, the local listening port information of video monitoring front end equipment, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address;
After video monitoring platform receives registration request, the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
4. method according to claim 3, is characterized in that,
Registration request also comprises the physical location identifier of video monitoring front end equipment;
After video monitoring platform receives registration request, also comprise:
Whether the physical location identifier that video monitoring platform checking registration request comprises is legal;
If the physical location identifier that registration request comprises is legal, then perform the step of the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
5. method according to claim 3, is characterized in that,
The step that video monitoring front end equipment sends address request information to gateway comprises:
Video monitoring front end equipment utilizes UPNP agreement to send address request information to gateway;
The step that video monitoring front end equipment sends registration request to video monitoring platform comprises:
Video monitoring front end equipment utilizes Transmission Control Protocol, sends registration request by gateway to video monitoring platform.
6. for obtaining a system for Internet video, it is characterized in that, comprising user terminal, video monitoring platform, gateway and video monitoring front end equipment, wherein:
User terminal, for sending video access request to video monitoring platform; After the first video access request response receiving video monitoring platform transmission, send video acquisition request to the gateway corresponding with gateway maps IP address, wherein video acquisition request comprises gateway maps port information;
Video monitoring platform, for when receiving the video access request that user terminal sends, the user terminal IP address that the request of extraction video access comprises and video monitoring front end equipment identification information; Inquire about the private network IP address of the video monitoring front end equipment corresponding to video monitoring front end equipment identification information and local listening port information and corresponding gateway maps IP address and gateway maps port information; Judge that the private network IP address of user terminal IP address and video monitoring front end equipment is whether in same local area network (LAN); If the private network IP address of user terminal IP address and video monitoring front end equipment is not in same local area network (LAN), then the first video access request response is sent to user terminal, wherein the first video access request respond packet draws together gateway maps IP address and corresponding gateway maps port information, and gateway maps port information is associated with the local listening port information of video monitoring front end equipment;
Gateway, for after the video acquisition request receiving user terminal transmission, inquire about the local listening port information of the video monitoring front end equipment corresponding with gateway maps port information, and the private network IP address of the video monitoring front end equipment corresponding with local listening port information; By video acquisition request forward to the video monitoring front end equipment corresponding with private network IP address;
Video monitoring front end equipment, for when receiving the video acquisition request of gateway forwards, sends to user terminal by live video stream via gateway by local listening port.
7. system according to claim 6, is characterized in that,
Video monitoring platform is also for when the private network IP address of user terminal IP address and video monitoring front end equipment is in same local area network (LAN), second video access request response is sent to user terminal, and wherein the second video access request response comprises the private network IP address of video monitoring front end equipment and the local listening port information of video monitoring front end equipment;
User terminal is also for after receiving the second video access request response, utilize the private network IP address accessing video monitoring frontend of video monitoring front end equipment, so that live video stream is sent to user terminal by local listening port by video monitoring front end equipment.
8. the system according to claim 6 or 7, is characterized in that,
Video monitoring front end equipment is also for when carrying out network registry, and send address request information to gateway, address request information comprises the local listening port information of video monitoring front end equipment; After receiving Address requests response, send registration request to video monitoring platform, registration request comprises the private network IP address of video monitoring front end equipment, the local listening port information of video monitoring front end equipment, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address;
Gateway, also for after receiving address request information, generates the gateway maps port information corresponding with the local listening port of video monitoring front end equipment, and is video monitoring front end equipment distribution private network IP address; Send Address requests response to video monitoring front end equipment, wherein Address requests response comprises the private network IP address of video monitoring front end equipment, gateway maps IP address and the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment;
Video monitoring platform also for after receiving registration request, the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
9. system according to claim 8, is characterized in that,
Registration request also comprises the physical location identifier of video monitoring front end equipment;
Video monitoring platform is also for after receiving registration request, and whether the physical location identifier that checking registration request comprises is legal; If the physical location identifier that registration request comprises is legal, then perform the operation of the private network IP address of store video monitoring frontend and local listening port information, the gateway maps port information corresponding with the local listening port information of video monitoring front end equipment and gateway maps IP address.
10. system according to claim 8, is characterized in that,
Video monitoring front end equipment specifically utilizes UPNP agreement to send address request information to gateway; Specifically utilize Transmission Control Protocol, send registration request by gateway to video monitoring platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310613133.1A CN104683736B (en) | 2013-11-27 | 2013-11-27 | For obtaining the method and system of Internet video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310613133.1A CN104683736B (en) | 2013-11-27 | 2013-11-27 | For obtaining the method and system of Internet video |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104683736A true CN104683736A (en) | 2015-06-03 |
CN104683736B CN104683736B (en) | 2018-06-05 |
Family
ID=53318230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310613133.1A Active CN104683736B (en) | 2013-11-27 | 2013-11-27 | For obtaining the method and system of Internet video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104683736B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105163071A (en) * | 2015-08-18 | 2015-12-16 | 湖南亿谷科技发展股份有限公司 | System for obtaining monitoring video of monitoring platform, and method thereof |
CN106507215A (en) * | 2016-11-25 | 2017-03-15 | 上海熙菱信息技术有限公司 | One kind adopts the cancellated video stream transmission method of domain service support |
CN106603990A (en) * | 2016-12-30 | 2017-04-26 | 江西憶源多媒体科技有限公司 | Real-time video monitoring method and system based on mobile terminal |
CN108881844A (en) * | 2018-07-06 | 2018-11-23 | 杭州涂鸦信息技术有限公司 | A kind of local area network video transmission method based on Amazon Echo Show |
CN109151403A (en) * | 2018-10-29 | 2019-01-04 | 北京小米移动软件有限公司 | Video data acquisition methods and device |
CN109391704A (en) * | 2017-08-11 | 2019-02-26 | 浙江宇视科技有限公司 | A kind of across the private network access method of video monitoring equipment and device |
CN109640038A (en) * | 2018-11-30 | 2019-04-16 | 武汉烽火众智智慧之星科技有限公司 | A kind of video monitoring platform access method and device |
CN109862132A (en) * | 2019-02-22 | 2019-06-07 | 安徽睿极智能科技有限公司 | A kind of method that video monitoring platform adaptively penetrates rete mirabile |
CN110581846A (en) * | 2019-08-22 | 2019-12-17 | 视联动力信息技术股份有限公司 | Monitoring video processing and system |
CN110798657A (en) * | 2018-08-03 | 2020-02-14 | 视联动力信息技术股份有限公司 | Video stream processing method and system |
CN111131528A (en) * | 2018-10-31 | 2020-05-08 | 杭州海康威视系统技术有限公司 | Equipment network domain determining method, server and terminal |
CN112004242A (en) * | 2020-08-31 | 2020-11-27 | 成都新潮传媒集团有限公司 | Port mapping registration method and device of elevator terminal and computer equipment |
CN112130909A (en) * | 2019-06-24 | 2020-12-25 | 杭州海康威视系统技术有限公司 | Software framework and method of function execution |
CN112148245A (en) * | 2020-11-26 | 2020-12-29 | 深圳乐播科技有限公司 | Method and device for monitoring, adjusting and projecting screen, computer equipment, readable storage medium and monitoring, adjusting and projecting screen interaction system |
CN113301311A (en) * | 2021-06-01 | 2021-08-24 | 四川野马科技有限公司 | Video monitoring data transmission method, device, equipment and storage medium |
CN113490017A (en) * | 2020-08-24 | 2021-10-08 | 青岛海信电子产业控股股份有限公司 | Method and device for accessing video playing equipment across network |
CN114268769A (en) * | 2021-12-23 | 2022-04-01 | 腾云悦智科技(深圳)有限责任公司 | System and method for monitoring video stream to penetrate intranet |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750651A (en) * | 2005-10-31 | 2006-03-22 | 北京中星微电子有限公司 | Multimedia monitor system |
US20080137823A1 (en) * | 2006-12-12 | 2008-06-12 | United States Cellular Corporation | Distributed Architecture for IP-Based Telemetry Services |
CN101552804A (en) * | 2008-12-22 | 2009-10-07 | 北京大学深圳研究生院 | Network video distribution system and network video access method thereof |
CN101719927A (en) * | 2009-11-18 | 2010-06-02 | 中兴通讯股份有限公司 | Method and system thereof for carrying out remote management on gateway down-hanging device |
-
2013
- 2013-11-27 CN CN201310613133.1A patent/CN104683736B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1750651A (en) * | 2005-10-31 | 2006-03-22 | 北京中星微电子有限公司 | Multimedia monitor system |
US20080137823A1 (en) * | 2006-12-12 | 2008-06-12 | United States Cellular Corporation | Distributed Architecture for IP-Based Telemetry Services |
CN101552804A (en) * | 2008-12-22 | 2009-10-07 | 北京大学深圳研究生院 | Network video distribution system and network video access method thereof |
CN101719927A (en) * | 2009-11-18 | 2010-06-02 | 中兴通讯股份有限公司 | Method and system thereof for carrying out remote management on gateway down-hanging device |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105163071B (en) * | 2015-08-18 | 2019-01-22 | 湖南亿谷科技发展股份有限公司 | Obtain the system and method for the monitor video of monitor supervision platform |
CN105163071A (en) * | 2015-08-18 | 2015-12-16 | 湖南亿谷科技发展股份有限公司 | System for obtaining monitoring video of monitoring platform, and method thereof |
CN106507215A (en) * | 2016-11-25 | 2017-03-15 | 上海熙菱信息技术有限公司 | One kind adopts the cancellated video stream transmission method of domain service support |
CN106603990A (en) * | 2016-12-30 | 2017-04-26 | 江西憶源多媒体科技有限公司 | Real-time video monitoring method and system based on mobile terminal |
CN109391704B (en) * | 2017-08-11 | 2022-06-14 | 浙江宇视科技有限公司 | Cross-private-network access method and device for video monitoring equipment |
CN109391704A (en) * | 2017-08-11 | 2019-02-26 | 浙江宇视科技有限公司 | A kind of across the private network access method of video monitoring equipment and device |
CN108881844B (en) * | 2018-07-06 | 2021-06-22 | 杭州涂鸦信息技术有限公司 | Local area network video transmission method |
CN108881844A (en) * | 2018-07-06 | 2018-11-23 | 杭州涂鸦信息技术有限公司 | A kind of local area network video transmission method based on Amazon Echo Show |
CN110798657B (en) * | 2018-08-03 | 2021-07-09 | 视联动力信息技术股份有限公司 | Video stream processing method and system |
CN110798657A (en) * | 2018-08-03 | 2020-02-14 | 视联动力信息技术股份有限公司 | Video stream processing method and system |
CN109151403B (en) * | 2018-10-29 | 2020-10-16 | 北京小米移动软件有限公司 | Video data acquisition method and device |
CN109151403A (en) * | 2018-10-29 | 2019-01-04 | 北京小米移动软件有限公司 | Video data acquisition methods and device |
CN111131528A (en) * | 2018-10-31 | 2020-05-08 | 杭州海康威视系统技术有限公司 | Equipment network domain determining method, server and terminal |
CN111131528B (en) * | 2018-10-31 | 2022-07-05 | 杭州海康威视系统技术有限公司 | Equipment network domain determining method, server and terminal |
CN109640038A (en) * | 2018-11-30 | 2019-04-16 | 武汉烽火众智智慧之星科技有限公司 | A kind of video monitoring platform access method and device |
CN109862132B (en) * | 2019-02-22 | 2021-08-17 | 安徽睿极智能科技有限公司 | Method for video monitoring platform to adaptively penetrate through different networks |
CN109862132A (en) * | 2019-02-22 | 2019-06-07 | 安徽睿极智能科技有限公司 | A kind of method that video monitoring platform adaptively penetrates rete mirabile |
CN112130909A (en) * | 2019-06-24 | 2020-12-25 | 杭州海康威视系统技术有限公司 | Software framework and method of function execution |
CN110581846A (en) * | 2019-08-22 | 2019-12-17 | 视联动力信息技术股份有限公司 | Monitoring video processing and system |
CN113490017A (en) * | 2020-08-24 | 2021-10-08 | 青岛海信电子产业控股股份有限公司 | Method and device for accessing video playing equipment across network |
CN112004242A (en) * | 2020-08-31 | 2020-11-27 | 成都新潮传媒集团有限公司 | Port mapping registration method and device of elevator terminal and computer equipment |
CN112004242B (en) * | 2020-08-31 | 2023-03-14 | 成都新潮传媒集团有限公司 | Port mapping registration method and device of elevator terminal and computer equipment |
CN112148245B (en) * | 2020-11-26 | 2021-03-02 | 深圳乐播科技有限公司 | Method and device for monitoring, adjusting and projecting screen, computer equipment, readable storage medium and monitoring, adjusting and projecting screen interaction system |
CN112148245A (en) * | 2020-11-26 | 2020-12-29 | 深圳乐播科技有限公司 | Method and device for monitoring, adjusting and projecting screen, computer equipment, readable storage medium and monitoring, adjusting and projecting screen interaction system |
CN113301311A (en) * | 2021-06-01 | 2021-08-24 | 四川野马科技有限公司 | Video monitoring data transmission method, device, equipment and storage medium |
CN114268769A (en) * | 2021-12-23 | 2022-04-01 | 腾云悦智科技(深圳)有限责任公司 | System and method for monitoring video stream to penetrate intranet |
Also Published As
Publication number | Publication date |
---|---|
CN104683736B (en) | 2018-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104683736A (en) | Method and system for acquiring network video | |
TWI735429B (en) | Authentication method, device, system and electronic equipment for client login server end | |
CN102594914B (en) | Remote debugging method based on cloud platform | |
US20140281478A1 (en) | Configuring secure wireless networks | |
EP3073699A1 (en) | System and method for controlling mutual access of smart devices | |
US20190116095A1 (en) | Method and apparatus for managing field device based on cloud server | |
WO2016180171A1 (en) | Trusted login method and device | |
CN105827494B (en) | Method, device and system for adding equipment | |
CN106878483A (en) | A kind of IP address distribution method and device | |
CN103701760A (en) | Wireless LAN (Local Area Network) Portal authentication method and system and Portal server | |
CN106034104A (en) | Verification method, verification device and verification system for network application accessing | |
CN107682470B (en) | Method and device for detecting public network IP availability in NAT address pool | |
CN104113443A (en) | Network equipment detection method, device and cloud detection system | |
WO2019037567A1 (en) | Device control method and apparatus | |
WO2017000790A1 (en) | Gateway device network connectivity response method and device | |
CN104869123A (en) | Network access control method and server | |
CN107517138A (en) | Equipment detection method and device | |
CN107172027A (en) | Certificate management method, storage device, storage medium and device | |
CN103997479A (en) | Asymmetric service IP proxy method and equipment | |
CN102685117B (en) | A kind of multicast safety management method and device | |
CN106453349A (en) | An account number login method and apparatus | |
CN107592360B (en) | Internet of things data aggregation method and system based on hybrid cloud | |
CN103401706B (en) | A kind of method and device for configuring port security | |
CN107734046A (en) | Method, service end, client and the system of remote operation database | |
CN108093390A (en) | A kind of smart machine of feature based information finds method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |