CN108924088A - A kind of 4K web camera transmission realizing method - Google Patents
A kind of 4K web camera transmission realizing method Download PDFInfo
- Publication number
- CN108924088A CN108924088A CN201810524230.6A CN201810524230A CN108924088A CN 108924088 A CN108924088 A CN 108924088A CN 201810524230 A CN201810524230 A CN 201810524230A CN 108924088 A CN108924088 A CN 108924088A
- Authority
- CN
- China
- Prior art keywords
- server
- client
- web camera
- data
- video
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of 4K web camera transmission realizing methods, comprise the steps of:A, client request server connects web camera;B, corresponding agreement request server is selected to be connected according to the agreement request mode of different video cameras;C, server obtains encoding stream from encoder and is transferred to decoder after successful connection;D, the real-time pictures that client obtains video camera are transmitted to after decoder decoding, the beneficial effects of the invention are as follows:1, by the communication of Protocol, match query can be carried out to client and network shooting head end automatically;2, the automatic of stream media protocol decides through consultation and handles;3, separate server codes and decodes data information, reduces bandwidth, guarantees communication robust;4, the request of data with identity verification expression;5, different ends are supported to press the real-time processing of different agreement coding and decoding to same group of data.
Description
Technical field
The present invention relates to camcorder technology field, specifically a kind of 4K web camera transmission realizing method.
Background technique
With the development of present high speed internet, the transmission of information also becomes increasingly convenient and efficient, by with movement
The technology of internet, the high-definition network camera being used in public security security system can satisfy people and real-time pictures supervised
The demand of control.But the development of science and technology is maked rapid progress, and the band that the monitor video of the low pixel occurred transmits data is just started
Width requires very little, can almost transmit the requirement that data are just able to satisfy reality, picture captured by present camera is more next
More high definition, 720p, 1080p etc. have also appeared the 4k picture of ultra high-definition recently, at this point, traditional network bandwidth less can
Situations such as transmission for accommodating the video data of the such high definition of real time content leads to network congestion, and picture postpones, and image falls frame, greatly
The transmission of amount data seems not broken through under the limitation of hardware condition such as network bandwidth, and tradition camera shooting, which is worked as, will install 4k high
Clear camera carries out generally selecting to re-replace cable when video security monitoring, selects and is able to carry out mass data high speed biography
Defeated gigabit networking.Seem to have no problem when the display end of video only has several users viewing, when concurrent quantity reaches
To it is dozens or even hundreds of when, congestion and delay can also occur for gigabit bandwidth, generate not so good live streaming viewing effect.Now
There is a kind of novel technology to solve the problems, such as high definition video network live streaming-stream media technology.Pass through the technology, high definition
The video data that camera obtains only sends processing service in such a way that the cable of Dan Lian is compressed with efficient Video coding
Device, server-side decompress data convert into original video according to the agreement of the data of compression, and according to video display end to the camera shooting
The number of users of the taken the photograph video content of head carries out more efficient compression and data distribution, carries out compressed data in client's display end
Decompression and display, the features such as improving the continuity of video data, real-time and timing.It is audio-visual or listen when to watch one
Music and reading data, which are all that first all downloading is good, can just go to watch and read, and at this moment just improve and spend a lot of time downloading money
Then material spends a lot of time viewing again or reads.Since traditional media occurs and solve the disadvantage that in stream media technology, improve
The features such as continuity, real-time, timing.
Stream media technology stream protocol more common at present is HTTP, RTMP, RTSP, RTP etc..Pass through RTSP agreement request
Mode goes to obtain the data packet flowed, then data packet is parsed on decoding library, to reach desired video source.
Summary of the invention
The purpose of the present invention is to provide a kind of 4K web camera transmission realizing methods to solve in above-mentioned background technique
The problem of proposition.
To achieve the above object, the present invention provides the following technical solutions:
A kind of 4K web camera transmission realizing method, comprises the steps of:
A, client request server connects web camera;
B, corresponding agreement request server is selected to be connected according to the agreement request mode of different video cameras;
C, server obtains encoding stream from encoder and is transferred to decoder after successful connection;
D, the real-time pictures that client obtains video camera are transmitted to after decoder decoding.
As further technical solution of the present invention:Client not only can be when issuing video-see and requesting to server
The address of viewing video camera and the permission of browsing required for oneself are sent to server and carry out looking into for authentication and network address
The stream media format looked for, and oneself can be supported is also sent to server, bandwidth situation of the server according to this route, meter
Calculating and selecting is suitble to the Streaming Media of this route to carry out data transmission, and the data flow that decoding is completed is transmitted directly to client,
It is presented in face of user, and guarantees that data transmission procedure is not in error of transmission by the data checking mechanisms that TCP is carried
The problem of.
As further technical solution of the present invention:The client connects server by RTSP agreement.
As further technical solution of the present invention:The web camera is 4K web camera.
As further technical solution of the present invention:The coding implement body uses h264 encoder.
Compared with prior art, the beneficial effects of the invention are as follows:It 1, can be automatically to client by the communication of Protocol
Match query is carried out with network shooting head end;2, the automatic of stream media protocol decides through consultation and handles;3, separate server logarithm it is believed that
Breath is coded and decoded, and bandwidth is reduced, and guarantees communication robust;4, the request of data with identity verification expression;5, different ends are supported
The real-time processing of different agreement coding and decoding is pressed to same group of data.
Detailed description of the invention
Fig. 1 is overall schematic of the invention.
Communication schematic diagram of the Fig. 2 between client and server-side.
Fig. 3 is the data query with permission and browsing process figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Please refer to Fig. 1-3, in the embodiment of the present invention, a kind of 4K web camera transmission realizing method is comprised the steps of:
A, client request server connects web camera;
B, corresponding agreement request server is selected to be connected according to the agreement request mode of different video cameras;
C, server obtains encoding stream from encoder and is transferred to decoder after successful connection;
D, the real-time pictures that client obtains video camera are transmitted to after decoder decoding.
Client not only can be the address for watching video camera required for oneself when issuing video-see and requesting to server
The lookup that server carries out authentication and network address, and the Streaming Media that oneself can be supported are sent to the permission of browsing
Format is also sent to server, and server calculates according to the bandwidth situation of this route and selects the stream matchmaker for being suitble to this route
Body carries out data transmission, and the data flow that decoding is completed is transmitted directly to client, is presented in face of user, and pass through TCP
Included data checking mechanisms guarantee the problem of data transmission procedure is not in error of transmission.Client is connected by RTSP agreement
Connect server.Web camera is 4K web camera.It encodes implement body and uses h264 encoder.
The working principle of the invention is:1. obtaining code stream analyzing code stream reduces bandwidth:
By some agreements of stream media technology, is encoded when data transmission, reduce the volume of data and lead to
The verification scheme for crossing agreement increases the stability of data transmission, and decodes this intermediate compression, the side of tail end decompression in client
Formula effectively is reduced the video data volume in data transmission procedure, effectively reduces the bandwidth of communication.
2. picture data obtains in real time:
The characteristics of stream media technology is exactly to pass through data real-time coding to decode, and the data display in media function is allowed not need
It completes just to can be carried out after waiting all videos file to be sent completely, the video pictures of encoded completion is sent to by network
Client smoothly successively sequentially flows to one end from one end just as water flow, rather than traditional media data, usually without media
When data requirements, network bandwidth is idle invalid, and when there is media data demand, such as dam flood discharge, moment has just taken entire net
The bandwidth of network, other just will appear packet loss when data are sent in the user of the same network segment and become larger, and network delay is apparent
Situation causes the unstable of network.
3. video pictures are relayed:
By stream media technology, during network transmission, the collected video data of original camera can be first by servicing
Device obtains, and can have the address information for marking the category camera in the camera that server end each receives video data,
Facilitate the camera video information of the specified position of client call after correspondence.It is corresponding that server has corresponded to different cameras
It begins to carry out real-time data acquisition to the camera of access after the location informations such as address number and be supported according to client
Data format carries out the data encoding of corresponding format, is then gone out by network transmission, and when having, different clients request is same to be taken the photograph
When as head video data, when request end supports that stream format is identical, directly the duplication portion encoded is transferred to another
The relay of request end realization video pictures;When the stream media format difference that client is supported, view that camera is received
Frequency is according to the service of giving while carrying out two kinds of data processings encoded, and data transmission is whole to the display of client by treated
Realize the relay of picture in end.
4. video pictures recorded broadcast:
This set system is encoded and is transmitted due to having used separate server to carry out data to camera data, can
Be saved in server after required video data is handled by compression algorithm as needed, with after facilitating to video data
Calling and check.The data that video recording saves can also open into internet, be licensed to by modes such as authority configurations corresponding mutual
On-line customer watches whenever and wherever possible.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.
In addition, it should be understood that although this specification is described in terms of embodiments, but not each embodiment is only wrapped
Containing an independent technical solution, this description of the specification is merely for the sake of clarity, and those skilled in the art should
It considers the specification as a whole, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art
The other embodiments being understood that.
Claims (5)
1. a kind of 4K web camera transmission realizing method, which is characterized in that comprise the steps of:
A, client request server connects web camera;
B, corresponding agreement request server is selected to be connected according to the agreement request mode of different video cameras;
C, server obtains encoding stream from encoder and is transferred to decoder after successful connection;
D, the real-time pictures that client obtains video camera are transmitted to after decoder decoding.
2. a kind of 4K web camera transmission realizing method according to claim 1, which is characterized in that client is issuing
Not only the permission for the address and browsing that video camera is watched required for oneself can be sent to clothes when video-see is requested to server
Business device carries out the lookup of authentication and network address, and the stream media format that oneself can be supported is also sent to server,
Server is calculated and is selected the Streaming Media of this route is suitble to carry out data transmission according to the bandwidth situation of this route, will be solved
The data flow that code is completed is transmitted directly to client, is presented in face of user, and is protected by the data checking mechanisms that TCP is carried
Demonstrate,prove the problem of data transmission procedure is not in error of transmission.
3. a kind of 4K web camera transmission realizing method according to claim 1, which is characterized in that the client is logical
Cross RTSP agreement connection server.
4. a kind of 4K web camera transmission realizing method according to claim 1, which is characterized in that the network shooting
Machine is 4K web camera.
5. a kind of 4K web camera transmission realizing method according to claim 1, which is characterized in that the coding utensil
Body uses h264 encoder.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810524230.6A CN108924088A (en) | 2018-05-28 | 2018-05-28 | A kind of 4K web camera transmission realizing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810524230.6A CN108924088A (en) | 2018-05-28 | 2018-05-28 | A kind of 4K web camera transmission realizing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108924088A true CN108924088A (en) | 2018-11-30 |
Family
ID=64409990
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810524230.6A Pending CN108924088A (en) | 2018-05-28 | 2018-05-28 | A kind of 4K web camera transmission realizing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108924088A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111556287A (en) * | 2020-04-16 | 2020-08-18 | 西安万像电子科技有限公司 | Video transmission system and method |
CN114710655A (en) * | 2022-03-17 | 2022-07-05 | 苏州万店掌网络科技有限公司 | Camera definition detection method, device, equipment and medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101710974A (en) * | 2009-11-27 | 2010-05-19 | 广东亿迅科技有限公司 | Method for monitoring fused video |
CN201781576U (en) * | 2009-11-27 | 2011-03-30 | 广东亿迅科技有限公司 | Real-time video stream transcoding server and video monitoring system comprising same |
US20130290517A1 (en) * | 2012-04-27 | 2013-10-31 | National Taipei University Of Technolo | Nat traversal under tcp for real time streaming protocol |
CN105306967A (en) * | 2015-10-28 | 2016-02-03 | 天彩电子(深圳)有限公司 | Resource allocation method of Cloud video platform |
CN106060076A (en) * | 2016-07-11 | 2016-10-26 | 北京工商大学 | Real-time streaming media multi-path forwarding method and system based on HIKVISION equipment |
CN106375721A (en) * | 2016-09-14 | 2017-02-01 | 重庆邮电大学 | Smart video monitoring system based on cloud platform |
CN107333096A (en) * | 2016-04-29 | 2017-11-07 | 长沙云电信息技术开发有限公司 | A kind of monitoring distributed management server of full intelligent integral being used in digital high-definition video monitoring system |
-
2018
- 2018-05-28 CN CN201810524230.6A patent/CN108924088A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101710974A (en) * | 2009-11-27 | 2010-05-19 | 广东亿迅科技有限公司 | Method for monitoring fused video |
CN201781576U (en) * | 2009-11-27 | 2011-03-30 | 广东亿迅科技有限公司 | Real-time video stream transcoding server and video monitoring system comprising same |
US20130290517A1 (en) * | 2012-04-27 | 2013-10-31 | National Taipei University Of Technolo | Nat traversal under tcp for real time streaming protocol |
CN105306967A (en) * | 2015-10-28 | 2016-02-03 | 天彩电子(深圳)有限公司 | Resource allocation method of Cloud video platform |
CN107333096A (en) * | 2016-04-29 | 2017-11-07 | 长沙云电信息技术开发有限公司 | A kind of monitoring distributed management server of full intelligent integral being used in digital high-definition video monitoring system |
CN106060076A (en) * | 2016-07-11 | 2016-10-26 | 北京工商大学 | Real-time streaming media multi-path forwarding method and system based on HIKVISION equipment |
CN106375721A (en) * | 2016-09-14 | 2017-02-01 | 重庆邮电大学 | Smart video monitoring system based on cloud platform |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111556287A (en) * | 2020-04-16 | 2020-08-18 | 西安万像电子科技有限公司 | Video transmission system and method |
CN114710655A (en) * | 2022-03-17 | 2022-07-05 | 苏州万店掌网络科技有限公司 | Camera definition detection method, device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9813732B2 (en) | System and method for encoding video content using virtual intra-frames | |
CN111416989A (en) | Video live broadcast method and system and electronic equipment | |
CN106817354A (en) | A kind of video stream transmission method, equipment and system | |
KR100410973B1 (en) | Method streaming moving picture video on demand | |
CN101848367B (en) | File-based video live webcasting method | |
CN104320716A (en) | A video uplink transmission method based on collaborative multiple terminals | |
CN108494792A (en) | A kind of flash player plays the converting system and its working method of hls video flowings | |
WO2024109872A1 (en) | Surveillance video playback method and system | |
CN103458274A (en) | Method and device for pricing video | |
CN108924088A (en) | A kind of 4K web camera transmission realizing method | |
CN105430510A (en) | Video on demand method, gateway, smart terminal and video on demand system | |
WO2009103343A1 (en) | Method and apparatus for distributing media over a communications network | |
CN1939060B (en) | Method and device for promoting flow type transmission of video frequency information | |
US20210352347A1 (en) | Adaptive video streaming systems and methods | |
Zhao et al. | Flexible dual tcp/udp streaming for h. 264 hd video over wlans | |
US20240080487A1 (en) | Method, apparatus for processing media data, computer device and storage medium | |
KR19980081099A (en) | Image transfer device and image transfer method | |
CN106134187B (en) | The method and apparatus negotiated for directional process | |
CN113596112A (en) | Transmission method for video monitoring | |
US20140321556A1 (en) | Reducing amount of data in video encoding | |
CN105049955A (en) | Real-time screen transferring method and system | |
CN104639979A (en) | Video sharing method and system | |
WO2023071469A1 (en) | Video processing method, electronic device and storage medium | |
CN110753243A (en) | Image processing method, image processing server and image processing system | |
CN114827617B (en) | Video coding and decoding method and system based on perception model |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181130 |
|
RJ01 | Rejection of invention patent application after publication |