CN108881844B - Local area network video transmission method - Google Patents

Local area network video transmission method Download PDF

Info

Publication number
CN108881844B
CN108881844B CN201810737850.8A CN201810737850A CN108881844B CN 108881844 B CN108881844 B CN 108881844B CN 201810737850 A CN201810737850 A CN 201810737850A CN 108881844 B CN108881844 B CN 108881844B
Authority
CN
China
Prior art keywords
local
address
network
addresses
echo show
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810737850.8A
Other languages
Chinese (zh)
Other versions
CN108881844A (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.)
Hangzhou Tuya Information Technology Co Ltd
Original Assignee
Hangzhou Tuya Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Tuya Information Technology Co Ltd filed Critical Hangzhou Tuya Information Technology Co Ltd
Priority to CN201810737850.8A priority Critical patent/CN108881844B/en
Publication of CN108881844A publication Critical patent/CN108881844A/en
Application granted granted Critical
Publication of CN108881844B publication Critical patent/CN108881844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a local area network video transmission method based on Amazon Echo Show, which relates to the technical field of internet videos and comprises the steps of collecting local ip addresses of a network camera, counting the distribution of the local ip addresses of the network camera, and binding the ip address with the highest distribution with a domain name; when the echo show requests an rtsp address from the service server, the service server determines whether to select local forwarding according to whether the local address of the network camera is bound with a domain name and the success rate of the past rtsp access type. The invention aims to reduce the flow cost of merchants and consumers, improve the fluency of videos and reduce the time delay of network transmission, and adopts a scheme of local transmission between an Echo Show with certain conditions and a network camera, so that the Echo Show and the network camera are not forwarded by a server under the condition of the same local area network and adopt local direct connection, thereby reducing the pressure of the server, reducing the flow cost, reducing the network delay, improving the video code rate and prompting the video definition.

Description

Local area network video transmission method
Technical Field
The invention relates to the technical field of internet videos, in particular to a local area network video transmission method based on Amazon Echo Show.
Background
Amazon Echo has been occupying the smart speaker market for several years, and the push of Echo Show has expanded the Echo line of products and Alexa voice assistants into more areas again. As can be seen from the display machine, the Echo Show is provided with a 7-inch touch screen, can be used for the functions of voice-assisted shopping, video watching, weather forecast, music lyrics, photos and the like, and can also be used in the fields of infant monitoring, home security and the like. With the use of a large amount of amazon Echo Show real-time videos, the original mode of forwarding videos based on a server causes merchants and consumers to bear high traffic cost, and the forwarding through the server increases the delay of video streams, so that the influence of network fluctuation is large.
Disclosure of Invention
The invention aims to reduce the flow cost of merchants and consumers, improve the fluency of videos and reduce the time delay of network transmission, and adopts a scheme of local transmission between an echo show with certain conditions and a network camera, so that the echo show and the network camera are not forwarded by a server under the condition of the same local area network and adopt local direct connection, the pressure of the server is reduced, the flow cost is reduced, the network delay is reduced, the video code rate is improved, and the video definition is prompted.
The invention relates to a local area network video transmission method based on Amazon Echo Show, which comprises the following steps:
collecting a local ip address of the network camera;
counting the distribution of local ip addresses of the network camera, and binding the ip address with the highest distribution with a domain name;
when Echo Show requests an rtsp address from the service server, the service server determines whether to select local forwarding according to the judgment condition.
Preferably, the judgment condition is whether the local address of the network camera has bound a domain name and the past rtsp access type has been successful.
Preferably, the collected local ip addresses of the network cameras form an ip address pool.
Preferably, if the domain name bound to the IP address of the network camera cannot be found in the domain name mapping pool, the echo show adopts a proxy policy.
Preferably, the past rtsp access type previous access success rate refers to an access success rate within 5 seconds past.
Preferably, the IP address pool is set to update once in 12 hours.
Preferably, the proxy policy is to jump to a local proxy server accessible for forwarding.
Detailed Description
The invention is further described below with reference to specific embodiments.
The invention relates to a local area network video transmission method based on Amazon Echo Show, which comprises the following steps:
1. collecting local ip address of network camera
2. Counting the distribution of local ip addresses of the network camera, and binding the ip address with the highest distribution with a domain name
When an echo show requests an rtsp address from a service server, the service server determines whether the local address of the network camera is bound with a domain name according to 2 conditions, and determines whether to select local forwarding according to the success rate of the past rtsp access type.
In another preferred embodiment of the present invention, the method for transmitting video over lan based on amazon Echo Show according to the present invention comprises the following steps:
1. collecting a local ip address of the network camera, and reporting an intranet address of the ipc through an mqtt signaling, such as the intranet address 192.168.1.100,192.168.31.55,172.16.0.33;
2. counting the distribution of local ip addresses of the network cameras, wherein most of the ip addresses are concentrated between 192.168.1.100 and 192.168.1.200, and binding the ip addresses with the highest distribution with domain names
For example, 192.168.1.100 has a domain name of local100.tuyacn. com
192.168.1.101 is local101.tuyacn. com
192.168.1.102 having a domain name of local102.tuyacn. com
192.168.1.200 having a domain name of local200.tuyacn. com
When an echo show requests a service server to acquire an rtsp address, the service server determines whether the local address of the network camera is bound with a domain name according to 2 conditions, and determines whether to select local forwarding according to the success rate of the past rtsp access type.
For example, the local address of the camera is 192.168.1.120, the domain name of the mapping 192.168.1.120 of the domain name pool is local120.tuyacn. com, when the echo show acquires the camera rtsp resource address, the service server will return an echo show address of rtsp:// admin:123456@ local120.tuyacn. com:443/echo show/xxxxxx if no access record is returned to the echo show address, the echo show address is rtsp:// echo show:123456@ static, and if the echo show address has a local access record in the latest 5s, the error retry is performed, an agent resource is allocated from the echo server, and the resource address rtsp:// echo show _ 123456@ rtsp.tuyacn. tx: 443/echo _ show/xxxx is returned to the echo show address proxy address, and/devsp id:// dvid: 456@ static/tuyacp.123xxxx: 443/xxxx, the network address is pushed to the echo show/xxxx 443;
if the local address of the camera is 172.10.0.22 and the domain name cannot be found in the domain name mapping pool, the proxy strategy is adopted by the echoshow.
The foregoing detailed description of the preferred embodiments of the invention has been presented. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions available to those skilled in the art through logic analysis, reasoning and limited experiments based on the prior art according to the concept of the present invention should be within the scope of protection defined by the claims.

Claims (4)

1. A local area network video transmission method based on Amazon Echo Show is characterized by comprising the following steps:
collecting local ip addresses of the network cameras, reporting own internal network addresses by ipc through mqtt signaling, and forming an ip address pool by the collected local ip addresses of the network cameras;
counting the distribution of local ip addresses of the network cameras, binding the ip addresses with the highest distribution with domain names, wherein the domain names bound by the ip addresses of the network cameras cannot be found in a domain name mapping pool, and the echo show adopts a proxy strategy;
when the Echo Show requests an rtsp address from the service server, the service server determines whether to select local forwarding according to the judgment condition; the judgment condition is whether the local address of the network camera is bound with the domain name or not and the success rate of the past rtsp access type is achieved.
2. The amazon Echo Show-based local area network video transmission method of claim 1, wherein the past rtsp access type past access success rate refers to an access success rate in past 5 seconds.
3. The amazon Echo Show-based local area network video transmission method of claim 1, wherein the ip address pool is set to be updated once every 12 hours.
4. The amazon Echo Show-based local area network video transmission method of claim 1, wherein the proxy policy is to jump first to connect to an accessible local proxy server for forwarding.
CN201810737850.8A 2018-07-06 2018-07-06 Local area network video transmission method Active CN108881844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810737850.8A CN108881844B (en) 2018-07-06 2018-07-06 Local area network video transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810737850.8A CN108881844B (en) 2018-07-06 2018-07-06 Local area network video transmission method

Publications (2)

Publication Number Publication Date
CN108881844A CN108881844A (en) 2018-11-23
CN108881844B true CN108881844B (en) 2021-06-22

Family

ID=64299598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810737850.8A Active CN108881844B (en) 2018-07-06 2018-07-06 Local area network video transmission method

Country Status (1)

Country Link
CN (1) CN108881844B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683736A (en) * 2013-11-27 2015-06-03 中国电信股份有限公司 Method and system for acquiring network video
CN106412142A (en) * 2016-08-30 2017-02-15 浙江宇视科技有限公司 Resource device address obtaining method and device
CN106534956A (en) * 2015-09-11 2017-03-22 中兴通讯股份有限公司 Video data transmission method, device and system for screen projection
CN106664458A (en) * 2014-07-29 2017-05-10 高通股份有限公司 Direct streaming for wireless display
CN107959664A (en) * 2016-10-18 2018-04-24 中兴通讯股份有限公司 Implementation method, device and the platform that mobile terminal is interacted with IPTV
CN107979568A (en) * 2016-10-24 2018-05-01 南京理工大学 A kind of video surveillance applications system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8589991B2 (en) * 2010-12-14 2013-11-19 Microsoft Corporation Direct connection with side channel control
CN105392179A (en) * 2015-11-20 2016-03-09 青岛海信移动通信技术股份有限公司 Local area network equipment mutual discovery method and device based on web application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683736A (en) * 2013-11-27 2015-06-03 中国电信股份有限公司 Method and system for acquiring network video
CN106664458A (en) * 2014-07-29 2017-05-10 高通股份有限公司 Direct streaming for wireless display
CN106534956A (en) * 2015-09-11 2017-03-22 中兴通讯股份有限公司 Video data transmission method, device and system for screen projection
CN106412142A (en) * 2016-08-30 2017-02-15 浙江宇视科技有限公司 Resource device address obtaining method and device
CN107959664A (en) * 2016-10-18 2018-04-24 中兴通讯股份有限公司 Implementation method, device and the platform that mobile terminal is interacted with IPTV
CN107979568A (en) * 2016-10-24 2018-05-01 南京理工大学 A kind of video surveillance applications system

Also Published As

Publication number Publication date
CN108881844A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
US20140074961A1 (en) Efficiently Delivering Time-Shifted Media Content via Content Delivery Networks (CDNs)
CN101626385B (en) media service method and system
CN103002069A (en) Domain name resolution method, device and system
RU2630380C2 (en) System and advertising push method (push) based on home gateway
JP2013128276A5 (en)
US20100269132A1 (en) Method and System For Inserting Advertisements In A Content Stream In Internet Protocol Television (IPTV)
JP2002324056A5 (en)
WO2015149471A1 (en) Information pushing method, system and device and computer storage medium
JP2010522393A5 (en)
US20090319656A1 (en) Apparatus and method for managing a network
JP2018506772A (en) Network address resolution
CN110430196B (en) Video big data cloud platform cascading service method
CN105981400A (en) Method for obtaining network information by a client terminal configured for receiving a multimedia content divided into segments
CN101980505A (en) 3Tnet-based video-on-demand load balancing method
CN104301415A (en) Global load balancing method based on HTTP redirection
CN104980461A (en) Page pushing method, page pushing device, page pushing server and centralized network management controller
CN103929623A (en) Method for processing video data in video monitoring system
US20100186022A1 (en) System, method and computer readable medium for application placement
CN108881844B (en) Local area network video transmission method
JP2005039832A5 (en)
US20210409290A1 (en) Unique user session tracking in adaptive bitrate video delivery
CN104093045A (en) Method and system for processing OTT TV playing request based on source return
CN103152617A (en) Remote disaster tolerance system and method for interactive television
CN111447412B (en) Multi-stream data distribution method and system based on content grading
CN103312667A (en) Information update method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant