CN110381344A - Unmanned dispensing vehicle video flowing method for uploading, device and storage medium and electronic equipment - Google Patents

Unmanned dispensing vehicle video flowing method for uploading, device and storage medium and electronic equipment Download PDF

Info

Publication number
CN110381344A
CN110381344A CN201811424935.7A CN201811424935A CN110381344A CN 110381344 A CN110381344 A CN 110381344A CN 201811424935 A CN201811424935 A CN 201811424935A CN 110381344 A CN110381344 A CN 110381344A
Authority
CN
China
Prior art keywords
destination server
video flowing
video
server
camera
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
Application number
CN201811424935.7A
Other languages
Chinese (zh)
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.)
Beijing Jingdong three hundred and sixty degree e-commerce Co.,Ltd.
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201811424935.7A priority Critical patent/CN110381344A/en
Publication of CN110381344A publication Critical patent/CN110381344A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Graphics (AREA)
  • Traffic Control Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention proposes unmanned dispensing vehicle video flowing method for uploading, device and storage medium and electronic equipment.Method includes: that Video Distribution Server receives the video flowing that the control centre of unmanned dispensing vehicle uploads, and determines the corresponding destination server of the camera of unmanned dispensing vehicle, gives video stream to corresponding destination server;Video Distribution Server receives the mark for the camera to be monitored that monitor terminal is sent, the mark of the corresponding destination server of the camera is returned into monitor terminal, so that: monitor terminal and the destination server establish connection, and the video flowing that the destination server issues in the connection is monitored, and the video flowing is played on monitor terminal.Delay present invention reduces from unmanned dispensing vehicle to monitor terminal uploaded videos stream.

Description

Unmanned dispensing vehicle video flowing method for uploading, device and storage medium and electronic equipment
Technical field
The present invention relates to unmanned distribution technology field more particularly to unmanned dispensing vehicle video flowing method for uploading, device and non- Instantaneous computer readable storage medium and electronic equipment.
Background technique
Domestic logistics unmanned plane is still in the stage early stage of development at present, when unmanned plane application cost and human cost reach flat When weighing apparatus point, when being exactly the application of unmanned plane large-scale commercial.Future dispenses the end for having most by autonomous operation Intelligent delivery vehicle instead of manpower complete.
In unmanned storehouse, after robot gives the unmanned plane waited to fill goods, unmanned plane automatic takeoff is according to fixed route Product is sent in consumer's hand.A new generation " robot transport power network ", future will be provided for consumer it is full-range nobody Change end delivery service.
To reach ideal unmanned distribution project, other than the upgrading based on existing hardware, it is also necessary to construct a set of The operational network of safety could sufficiently be competent at demand of the following mankind to robot transport power." robot transport power network " is in hardware On mainly by unmanned plane, be connected vacant lot both ends robot unmanned junction, completions " last 100 meters " cargo delivery nobody Vehicle and the algorithm of a whole set of realization Multi-Agent Cooperation are formed.
The unmanned means of distribution of " robot transport power network " is as follows:
Cargo/take-away is put into unmanned vehicle by businessman, and unmanned vehicle goes to unmanned station;
Unmanned station takes out take-away/cargo from unmanned vehicle, is loaded into unmanned plane after automatic sorting;
Unmanned plane takes off and send to next unmanned station, unloads automatically and short-term storage is in unmanned station;
Take-away/cargo is taken out in unmanned vehicle slave station to send to consumer.
In terms of this process, it is meant that the full link that " robot transport power network " fully achieves goods delivery is unmanned, and three A intelligent robot is mutually learnt from other's strong points to offset one's weaknesses, and solid space advantage is made full use of to solve the problems, such as dispatching.
The feelings such as pavement behavior, obstacle failure and remote handle manipulation trolley travelling of the unmanned dispensing vehicle in dispatching road Condition requires real-time Transmission to monitor supervision platform.If the speed of unmanned dispensing vehicle is 10 kilometers/hour, unmanned dispensing vehicle is every Second range ability is about 2.8 meters;If transmission of video postpones 1 second, then video pictures and practical trolley that monitoring client is seen Position is with regard to 2.8 meters poor, and at this time manual control trolley travelling is possible to that maloperation occurs, or even because of this 1 second, trolley was hit Pedestrian or barrier are gone up.This requires transmission of video delays must control within 1 second, and current video technique, with Direct seeding technique postponed at 1-3 seconds, it is clear that can not meet demand.
Summary of the invention
The present invention proposes unmanned dispensing vehicle video flowing method for uploading, device and non-transitory computer-readable storage medium and electricity Sub- equipment, to reduce the delay time of unmanned dispensing vehicle uploaded videos stream.
The technical scheme of the present invention is realized as follows:
A kind of unmanned dispensing vehicle video flowing method for uploading, this method comprises:
Video Distribution Server receives the video flowing that the control centre of unmanned dispensing vehicle uploads, and the video flowing is by unmanned dispatching The camera of vehicle acquires;
Video Distribution Server determines unmanned dispatching according to the incidence relation of preset camera and destination server The corresponding destination server of the camera of vehicle gives the video stream to corresponding destination server;
Video Distribution Server receives the mark for the camera to be monitored that monitor terminal is sent, and is taken the photograph according to preset As the incidence relation of head and destination server, the mark of the corresponding destination server of the camera is returned into monitor terminal, with So that: monitor terminal and the destination server establish connection, and monitor the video flowing that the destination server issues in the connection, and The video flowing is played on monitor terminal.
The video stream includes: by the Video Distribution Server to corresponding destination server
The video flowing is pushed to the destination server via corresponding destination server by the Video Distribution Server On WebSocket server;
And the monitor terminal and the destination server establish connection are as follows: the WebSocket client on the monitor terminal End is established WebSocket with the WebSocket server on the destination server and is connect;
It is described to monitor the video flowing that the destination server issues in the connection are as follows: monitoring should in the WebSocket connection The video flowing that WebSocket server issues.
The incidence relation of the camera and destination server are as follows: the camera and target established using regular expression are taken The incidence relation of business device.
The video flowing that the control centre of the unmanned dispensing vehicle uploads further comprises: acquiring the camera of the video flowing Mark and identifying code;
The Video Distribution Server receive unmanned dispensing vehicle control centre upload video flowing include:
The corresponding relationship of each camera identification and identifying code that Video Distribution Server is saved according to itself, judges that nobody matches Whether the identifying code for sending the control centre of vehicle to send is correct, if so, receiving the video flowing;Otherwise, the video flowing is abandoned.
A kind of unmanned dispensing vehicle video flowing method for uploading, this method comprises:
Monitor terminal determination will monitor the video flowing of a camera of a unmanned dispensing vehicle, and the mark of the camera is sent To Video Distribution Server;
Monitor terminal receives the mark for the associated destination server of the camera that Video Distribution Server returns, according to The mark of the destination server establishes connection with the destination server, monitors the connection;
When monitor terminal listens to the video flowing for having the destination server to issue in the connection, the video flowing is downloaded, and The video stream is given to the video player of this monitor terminal, so that: video player plays the video flowing,
Wherein, the video flowing are as follows: the video that the control centre of the received unmanned dispensing vehicle of Video Distribution Server uploads Stream, which is acquired by the camera of unmanned dispensing vehicle, and Video Distribution Server is according to preset camera and mesh The incidence relation for marking server, determines the corresponding destination server of the camera of unmanned dispensing vehicle, the video stream is given Corresponding destination server.
The monitor terminal receives the mark for the associated destination server of the camera that Video Distribution Server returns Further comprise later:
The mark of the destination server is sent to the WebSocket client of itself by monitor terminal;
And the mark according to the destination server, establishing connection with the destination server includes:
WebSocket client on monitor terminal is according to the mark of the destination server, on the destination server WebSocket server establishes WebSocket connection;
Described monitoring connection includes:
Monitor the WebSocket connection;
The monitor terminal listens to the video flowing for having the destination server to issue in the connection
WebSocket client on monitor terminal, which listens in the WebSocket connection, has the destination server to send out Video flowing out;
Described downloading video flowing are as follows:
The WebSocket client downloads video flowing on monitor terminal,
And the Video Distribution Server gives the video stream to corresponding destination server are as follows: the video point The video flowing is pushed to the service of the WebSocket on the destination server via corresponding destination server by hair server Device.
The video flowing that the monitor terminal determination will obtain a camera of a unmanned dispensing vehicle further comprises before:
Monitor terminal generates WebSocket client.
A kind of unmanned dispensing vehicle video flowing upload device, the device are located on Video Distribution Server, which includes:
Video flowing receiving module, the video flowing that the control centre for receiving unmanned dispensing vehicle uploads, the video flowing is by nothing The camera of people's dispensing vehicle acquires;
Video flowing issues module, for the incidence relation according to preset camera and destination server, determines nothing The corresponding destination server of the camera of people's dispensing vehicle gives the video stream to corresponding destination server;
Interactive module is monitored, for receiving the mark for the camera to be monitored that monitor terminal is sent, according to presetting Camera and destination server incidence relation, by the mark of the corresponding destination server of the camera return to monitoring eventually End, so that: monitor terminal and the destination server establish connection, and monitor the video that the destination server issues in the connection Stream, and the video flowing is played on monitor terminal.
The video flowing issues module for the video stream
The video flowing is pushed to the service of the WebSocket on the destination server via corresponding destination server Device;
And the monitor terminal and the destination server establish connection are as follows: the WebSocket client on the monitor terminal End is established WebSocket with the WebSocket server on the destination server and is connect;
It is described to monitor the video flowing that the destination server issues in the connection are as follows: monitoring should in the WebSocket connection The video flowing that WebSocket server issues.
The video flowing receiving module is further used for, when the video flowing that the control centre for receiving unmanned dispensing vehicle uploads When, camera identification and identifying code are obtained from the video flowing, each camera identification for being saved according to itself and identifying code Corresponding relationship judges whether the identifying code that the control centre of unmanned dispensing vehicle sends is correct, if so, receiving the video flowing; Otherwise, the video flowing is abandoned.
A kind of unmanned dispensing vehicle video flowing upload device, the device are located on monitor terminal, which includes:
Destination server identifier acquisition module, the video of the camera for monitor a unmanned dispensing vehicle in determination The mark of the camera is sent to Video Distribution Server by stream, is received the camera that Video Distribution Server returns and is closed The mark of the destination server of connection;
Video flowing acquisition module, the mark of the destination server for being sent according to destination server identifier acquisition module, Connection is established with the destination server, monitors the connection, when listening in the connection video for having the destination server to issue When stream, the video flowing is downloaded, by the video stream to video player, wherein the video flowing are as follows: Video Distribution Server The video flowing that the control centre of received unmanned dispensing vehicle uploads, which is acquired by the camera of unmanned dispensing vehicle, and is regarded Frequency the distribution server determines the camera of unmanned dispensing vehicle according to the incidence relation of preset camera and destination server Corresponding destination server gives the video stream to corresponding destination server;
Video player, for playing the video flowing on monitor terminal.
It is WebSocket client that the video flowing, which obtains module,
The destination server identifier acquisition module further comprises:
The mark for the destination server that Video Distribution Server returns is sent to WebSocket client;
And the WebSocket client establishes connection with the destination server and includes:
WebSocket is established with the WebSocket server on the destination server to connect;
And the WebSocket client monitors the connection and includes:
Monitor the WebSocket connection;
And the WebSocket client listens to the video flowing for having the destination server to issue in the connection and includes:
Listen to the video flowing for thering is the destination server to issue in the WebSocket connection;
And the Video Distribution Server gives the video stream to corresponding destination server are as follows: the video point The video flowing is pushed to the service of the WebSocket on the destination server via corresponding destination server by hair server Device.
The monitor terminal further comprises: WebSocket client generation module, for generating WebSocket client End.
A kind of non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium store instruction, institute State instruction makes the processor execute as above described in any item unmanned dispensing vehicle video flowings uploads when executed by the processor The step of method, or the step of executing as above described in any item unmanned dispensing vehicle video flowing method for uploading.
A kind of electronic equipment, including as above any non-transitory computer-readable storage medium and addressable institute State the processor of non-transitory computer-readable storage medium.
The present invention is by after the video flowing that Video Distribution Server receives that unmanned dispensing vehicle is sent, by video stream distribution To each destination server, video stream is gone out by destination server, and monitor terminal is establishing connection with destination server Afterwards, video flowing is obtained by monitoring the connection, so that the video flowing for greatly reducing unmanned dispensing vehicle uploads to monitor terminal Delay time.
Detailed description of the invention
Fig. 1 is the unmanned dispensing vehicle video flowing method for uploading flow chart that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides unmanned dispensing vehicle video flowing method for uploading flow chart;
Fig. 3 is the unmanned dispensing vehicle video flowing method for uploading flow chart that further embodiment of this invention provides;
Fig. 4 is the unmanned dispensing vehicle video flowing method for uploading flow chart that further embodiment of this invention provides;
Fig. 5 is the structural schematic diagram that the unmanned dispensing vehicle video flowing that one embodiment of the invention provides uploads device;
Fig. 6 be another embodiment of the present invention provides unmanned dispensing vehicle video flowing upload device structural schematic diagram.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is further described in more detail.
Fig. 1 is the unmanned dispensing vehicle video flowing method for uploading flow chart that one embodiment of the invention provides, and specific steps are such as Under:
Step 101: Video Distribution Server receive unmanned dispensing vehicle control centre upload video flowing, the video flowing by The camera of unmanned dispensing vehicle acquires.
Step 102: Video Distribution Server is determined according to the incidence relation of preset camera and destination server The corresponding destination server of the camera of unmanned dispensing vehicle gives received video stream to corresponding destination server, so that : the pushing video streaming is given WebSocket (web socket) server of itself by the destination server.
Step 103: Video Distribution Server receives the mark for the camera to be monitored that monitor terminal is sent, according to preparatory The mark of the corresponding destination server of the camera is returned to monitoring by the camera of setting and the incidence relation of destination server Terminal, so that: the WebSocket server in WebSocket client and the destination server on monitor terminal is established WebSocket connection, and the video flowing that the WebSocket server issues in the WebSocket connection is monitored, and whole in monitoring The video is played on the painting canvas of HTML (Hypertext Markup Language, the hyper text markup language) page at end Stream.
Fig. 2 be another embodiment of the present invention provides unmanned dispensing vehicle video flowing method for uploading flow chart, specific steps It is as follows:
Step 201: monitor terminal determination will monitor the video flowing of a camera of a unmanned dispensing vehicle, by the camera Mark is sent to Video Distribution Server.
Step 202: monitor terminal receives the mark for the associated destination server of the camera that Video Distribution Server returns Know, the mark of the destination server is sent to the WebSocket client of itself.
Step 203: the WebSocket client on monitor terminal takes according to the mark of the destination server with the target WebSocket server on business device establishes WebSocket connection, monitors the WebSocket connection.
Step 204: the WebSocket client on monitor terminal, which listens in the WebSocket connection, the target When the video flowing that server issues, the video flowing is downloaded, and by the video stream to the video player of monitor terminal, so that : video player plays the video flowing on the painting canvas of the html page of monitor terminal.
Wherein, the video flowing are as follows: the video flowing that the control centre of the received unmanned dispensing vehicle of Video Distribution Server uploads, The video flowing is acquired by the camera of unmanned dispensing vehicle, and Video Distribution Server takes according to preset camera and target The incidence relation of business device, determines the corresponding destination server of the camera of unmanned dispensing vehicle, by the video stream to corresponding Destination server, so that: the pushing video streaming is given the WebSocket server of itself by the destination server.
Fig. 3 is the unmanned dispensing vehicle video flowing method for uploading flow chart that further embodiment of this invention provides, specific steps It is as follows:
Step 301: preset a Video Distribution Server and multiple destination servers, it is pre- on each destination server First generate WebSocket Server.
WebSocket Server is the virtual Server for supporting WebSocket agreement.
Step 302: configuring each camera and destination server of each unmanned dispensing vehicle on Video Distribution Server in advance Incidence relation.
The incidence relation between camera identification and destination server mark can be established using regular expression.Such as:
1) if camera identification matches regular expression: ^/[0-9_a-z] */[0-9_a-z] * [a-g0-2] { 1 } $ takes the photograph As head corresponds to destination server A;
2) if camera identification matches regular expression: ^/[0-9_a-z] */[0-9_a-z] * [h-n3-5] { 1 } $ takes the photograph As head corresponds to destination server B;
3) if camera identification matches regular expression: ^/[0-9_a-z] */[0-9_a-z] * [o-u6-7] { 1 } $ takes the photograph As head corresponds to destination server C;
4) if camera identification matches regular expression: ^/[0-9_a-z] */[0-9_a-z] * [v-z8-9] { 1 } $ takes the photograph As head corresponds to destination server D;
……
Step 303: the control centre of unmanned dispensing vehicle obtains the video flowing of each camera acquisition on vehicle in real time.
Specifically, control centre first passes through order ffmpeg-list_devices true-f dshow-i dummy and lists Then all devices on unmanned dispensing vehicle find camera such as wherein: Integrated Camera, then to camera Obtain the video flowing of its acquisition.
Step 304: the control centre of unmanned dispensing vehicle respectively in real time encodes the video flowing of each camera acquisition, will Video Distribution Server is sent in the video flowing of corresponding camera identification encapsulation in encoded.
Specifically, plug-flow order: ffmpeg-s 1280x720-f dshow-i video=" can be used in control centre Integrated Camera"-f mpegts -codec:v mpeg1video -muxdelay 0.001 -s640x480 -b: 30-bf of v 800k-r, 0 http: // 192.168.180.122/live/ugv01 shifts the video flowing that camera acquires onto Video Distribution Server, wherein 192.168.180.122 is the IP address of Video Distribution Server, and live is password, ugv01 For camera identification.
Step 305: Video Distribution Server receives video flowing, according to the mark of the camera of the acquisition video flowing, And each unmanned dispensing vehicle each camera and destination server incidence relation, find the associated destination service of the camera The mark of device.
Further, identifying code can be also encapsulated into the video flowing after encoding by control centre, and Video Distribution Server connects After receiving video flowing, the identifying code of itself preservation is first found according to the camera identification, by the identifying code found and reception To identifying code be compared, if unanimously, receiving video flowing;Otherwise, video flowing is abandoned.
Step 306: Video Distribution Server gives the video stream to the associated destination server.
Such as: destination server receives Video Distribution Server by the http server that nodejs service is established and sends Video flowing, such as: var streamServer=http.createServer (function (request, response) { }.
Step 307: the video flowing is pushed to the WebSocket Server of itself by destination server in real time, WebSocket Server will be in the video flowing real-time transmission to each Websocekt connection itself established.
Video flowing is pushed to the WebSocket Server of itself by such as issuing orders by destination server in real time:
Fig. 4 is the unmanned dispensing vehicle video flowing method for uploading flow chart that further embodiment of this invention provides, specific steps It is as follows:
Step 401: generating WebSocket Client on monitor terminal in advance.
WebSocket Client is the virtual Client for supporting WebSocket agreement.
Step 402: monitor terminal determination will monitor the video flowing of a camera of a unmanned dispensing vehicle, by the camera Mark is sent to Video Distribution Server.
This step can pass through realization of such as issuing orders:
Var url='ws: // 192.168.180.122:2008/ugv01'.
Step 403: Video Distribution Server receives the camera identification, according to each camera and mesh of each unmanned dispensing vehicle The incidence relation for marking server, finds the mark of the associated destination server of the camera, by the mark of the destination server Return to monitor terminal.
Step 404: destination server mark is sent to the WebSocket Client of itself by monitor terminal, WebSocket Client is identified according to the destination server, is established with the WebSocket Server on the destination server WebSocket connection.
Step 405:WebSocket Client monitors WebSocket connection in real time, when listening in WebSocket connection When having video flowing, the video flowing is downloaded, by the video stream to the video player on monitor terminal.
Step 406: the video player on monitor terminal is decoded the video flowing, and decoded video flowing is being supervised It is played on the painting canvas of the html page of control terminal.
The broadcasting of video flowing can be realized by such as issuing orders:
Var player=new JSMpeg.Player (url, { canvas:canvas }).
Specifically, video player pre-saves position of the painting canvas on html page, after receiving video flowing, uses Video flowing is on a frame-by-frame basis plotted on painting canvas by renderer.
Specifically, can be used JavaScript generate video player, video player can by MPEG-TS decoder, MPEG1 video and MP2 audio decoder, WebGL&Canvas2D renderer and WebAudio sound output composition.
Each painting canvas has unique canvas id, such as:<canvas id="video-canvas"></canvas>, Video player gets the canvas id of painting canvas in advance, finds painting canvas on html page according to canvas id, then adopts Video flowing is plotted on painting canvas one by one with Canvas2D renderer.
Advantageous effects of the invention are as follows:
The embodiment of the present invention is by after the video flowing that Video Distribution Server receives that unmanned dispensing vehicle is sent, by video Flow point issues each destination server, video stream is gone out by destination server, and monitor terminal is built with destination server After vertical connection, video flowing is obtained by monitoring the connection, so that the video flowing for greatly reducing unmanned dispensing vehicle uploads to monitoring The delay time of terminal.
Further, the embodiment of the present invention on destination server by generating Websocket server, in monitor terminal Upper generation Websocket client, Websocket client is established Websocket with Websocket server and is connect, and leads to Websocket connection transmitting video-frequency flow is crossed, the video flowing that further reduced unmanned dispensing vehicle uploads to the delay of monitor terminal Time, the usual delay time can be controlled in 1 second, are can be controlled within 200 milliseconds in specific experiment.
Fig. 5 is the structural schematic diagram that the unmanned dispensing vehicle video flowing that one embodiment of the invention provides uploads device, the device On Video Distribution Server, the device mainly includes: video flowing receiving module 51, video flowing issue module 52 and monitoring is handed over Mutual module 53, in which:
Video flowing receiving module 51, for receive unmanned dispensing vehicle control centre upload video flowing, the video flowing by The camera of unmanned dispensing vehicle acquires.
Video flowing issues module 52, for the incidence relation according to preset camera and destination server, determines The received video flowing of video flowing receiving module 51 is sent to pair by the corresponding destination server of the camera of unmanned dispensing vehicle in real time The destination server answered.
Interactive module 53 is monitored, for receiving the mark for the camera to be monitored that monitor terminal is sent, according to setting in advance The mark of the corresponding destination server of the camera is returned to monitoring eventually by the incidence relation of fixed camera and destination server End, so that: monitor terminal and the destination server establish connection, and monitor the video that the destination server issues in the connection Stream, and the video flowing is played on monitor terminal.
In practical applications, video flowing receiving module 51 is further used for, when the control centre for receiving unmanned dispensing vehicle When the video flowing of upload, camera identification and identifying code are obtained from video flowing, according to each camera identification itself saved with The corresponding relationship of identifying code judges whether the identifying code that the control centre of unmanned dispensing vehicle sends is correct, if so, receiving video Stream;Otherwise, video flowing is abandoned.
In practical applications, video flowing, which issues module 52 video flowing is sent to corresponding destination server in real time, includes:
Video flowing is pushed to the service of the WebSocket on the destination server via corresponding destination server in real time Device;
And monitor terminal and the destination server establish connection are as follows: WebSocket client and the mesh on monitor terminal WebSocket server on mark server establishes WebSocket connection;
Monitor the video flowing that the destination server issues in the connection are as follows: monitoring should in the WebSocket connection The video flowing that WebSocket server issues.
Fig. 6 is the structural schematic diagram that the unmanned dispensing vehicle video flowing that further embodiment of this invention provides uploads device, the dress Setting on monitor terminal, the device mainly includes: destination server identifier acquisition module 61, video flowing obtain module 62 and view Frequency player 63, in which:
Destination server identifier acquisition module 61, the video of the camera for monitor a unmanned dispensing vehicle in determination The mark of the camera is sent to Video Distribution Server by stream, receives the camera association that Video Distribution Server returns Destination server mark.
Video flowing obtains module 62, the mark of the destination server for sending according to destination server identifier acquisition module 61 Know, establish connection with the destination server, monitor the connection, when listen in the connection have the destination server issue video When stream, the video flowing is downloaded, by the video stream to video player 63, wherein the video flowing are as follows: Video Distribution Server The video flowing that the control centre of received unmanned dispensing vehicle uploads, which is acquired by the camera of unmanned dispensing vehicle, and is regarded Frequency the distribution server determines the camera of unmanned dispensing vehicle according to the incidence relation of preset camera and destination server Corresponding destination server gives the video stream to corresponding destination server.
Video player is downloaded for playing WebSocket client 62 on the painting canvas of the html page of monitor terminal Video flowing.
In practical applications, monitor terminal further comprises: WebSocket client generation module, for generating WebSocket client.
In practical applications, it can be WebSocket client that video flowing, which obtains module 62,
Destination server identifier acquisition module 61 further comprises: the destination server that Video Distribution Server is returned Mark is sent to WebSocket client;
And WebSocket client 62 and the destination server establish connection include: on the destination server WebSocket server establishes WebSocket connection;
And it includes: to monitor the WebSocket connection that WebSocket client 62, which monitors the connection,;
And it includes: prison that WebSocket client 62, which listens to the video flowing for having the destination server to issue in the connection, Hear the video flowing for thering is the destination server to issue in the WebSocket connection;
And Video Distribution Server gives video stream to corresponding destination server are as follows: Video Distribution Server will regard Frequency flows through the WebSocket server being pushed on the destination server by corresponding destination server.
The embodiment of the present invention also provides a kind of non-transitory computer-readable storage medium, the non-instantaneous computer-readable storage Medium storing instructions, the instruction execute the processor such as step 101-103, or such as step 201-204, perhaps such as the step of step 301-307 or the unmanned dispensing vehicle video flowing method for uploading as described in step 401-406 Suddenly.
The embodiment of the present invention also provides a kind of electronic equipment, including non-instantaneous computer-readable storage medium as described above Matter and the processor that may have access to the non-transitory computer-readable storage medium.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (15)

1. a kind of unmanned dispensing vehicle video flowing method for uploading, which is characterized in that this method comprises:
Video Distribution Server receives the video flowing that the control centre of unmanned dispensing vehicle uploads, and the video flowing is by unmanned dispensing vehicle Camera acquisition;
Video Distribution Server determines unmanned dispensing vehicle according to the incidence relation of preset camera and destination server The corresponding destination server of camera gives the video stream to corresponding destination server;
Video Distribution Server receives the mark for the camera to be monitored that monitor terminal is sent, according to preset camera With the incidence relation of destination server, the mark of the corresponding destination server of the camera is returned into monitor terminal, so that: Monitor terminal and the destination server establish connection, and monitor the video flowing that the destination server issues in the connection, and supervising The video flowing is played on control terminal.
2. the method according to claim 1, wherein the Video Distribution Server gives the video stream Corresponding destination server includes:
The video flowing is pushed on the destination server by the Video Distribution Server via corresponding destination server WebSocket server;
And the monitor terminal and the destination server establish connection are as follows: WebSocket client on the monitor terminal with WebSocket server on the destination server establishes WebSocket connection;
It is described to monitor the video flowing that the destination server issues in the connection are as follows: monitoring should in the WebSocket connection The video flowing that WebSocket server issues.
3. the method according to claim 1, wherein the incidence relation of the camera and destination server are as follows: The incidence relation of the camera and destination server established using regular expression.
4. the method according to claim 1, wherein the video flowing that the control centre of the unmanned dispensing vehicle uploads Further comprise: acquiring the camera identification and identifying code of the video flowing;
The Video Distribution Server receive unmanned dispensing vehicle control centre upload video flowing include:
The corresponding relationship of each camera identification and identifying code that Video Distribution Server is saved according to itself, judges unmanned dispensing vehicle The identifying code sent of control centre it is whether correct, if so, receiving the video flowing;Otherwise, the video flowing is abandoned.
5. a kind of unmanned dispensing vehicle video flowing method for uploading, which is characterized in that this method comprises:
Monitor terminal determination will monitor the video flowing of a camera of a unmanned dispensing vehicle, and the mark of the camera is sent to view Frequency the distribution server;
Monitor terminal receives the mark for the associated destination server of the camera that Video Distribution Server returns, according to the mesh The mark for marking server, establishes connection with the destination server, monitors the connection;
When monitor terminal listens to the video flowing for having the destination server to issue in the connection, the video flowing is downloaded, and should Video stream gives the video player of this monitor terminal, so that: video player plays the video flowing,
Wherein, the video flowing are as follows: the video flowing that the control centre of the received unmanned dispensing vehicle of Video Distribution Server uploads, it should Video flowing is acquired by the camera of unmanned dispensing vehicle, and Video Distribution Server is according to preset camera and destination service The incidence relation of device determines the corresponding destination server of the camera of unmanned dispensing vehicle, by the video stream to corresponding Destination server.
6. according to the method described in claim 5, it is characterized in that, the monitor terminal receives what Video Distribution Server returned Further comprise after the mark of the associated destination server of camera:
The mark of the destination server is sent to the WebSocket client of itself by monitor terminal;
And the mark according to the destination server, establishing connection with the destination server includes:
WebSocket client on monitor terminal is according to the mark of the destination server, on the destination server WebSocket server establishes WebSocket connection;
Described monitoring connection includes:
Monitor the WebSocket connection;
The monitor terminal listens to the video flowing for having the destination server to issue in the connection
WebSocket client on monitor terminal, which listens to, the destination server sending in the WebSocket connection Video flowing;
Described downloading video flowing are as follows:
The WebSocket client downloads video flowing on monitor terminal,
And the Video Distribution Server gives the video stream to corresponding destination server are as follows: the video distribution clothes The video flowing is pushed to the WebSocket server on the destination server by business device via corresponding destination server.
7. according to the method described in claim 6, it is characterized in that, the monitor terminal determination will obtain a unmanned dispensing vehicle Further comprise before the video flowing of one camera:
Monitor terminal generates WebSocket client.
8. a kind of unmanned dispensing vehicle video flowing uploads device, which is located on Video Distribution Server, which is characterized in that the dress It sets and includes:
Video flowing receiving module, the video flowing that the control centre for receiving unmanned dispensing vehicle uploads, the video flowing are matched by nobody The camera of vehicle is sent to acquire;
Video flowing issues module, for the incidence relation according to preset camera and destination server, determines that nobody matches It send the camera of vehicle corresponding destination server, gives the video stream to corresponding destination server;
Monitoring interactive module is taken the photograph for receiving the mark for the camera to be monitored that monitor terminal is sent according to preset As the incidence relation of head and destination server, the mark of the corresponding destination server of the camera is returned into monitor terminal, with So that: monitor terminal and the destination server establish connection, and monitor the video flowing that the destination server issues in the connection, and The video flowing is played on monitor terminal.
9. device according to claim 8, which is characterized in that the video flowing issue module by the video stream to Corresponding destination server includes:
The WebSocket server video flowing being pushed to via corresponding destination server on the destination server;
And the monitor terminal and the destination server establish connection are as follows: WebSocket client on the monitor terminal with WebSocket server on the destination server establishes WebSocket connection;
It is described to monitor the video flowing that the destination server issues in the connection are as follows: monitoring should in the WebSocket connection The video flowing that WebSocket server issues.
10. device according to claim 8, which is characterized in that the video flowing receiving module is further used for, and works as reception When the video flowing uploaded to the control centre of unmanned dispensing vehicle, camera identification and identifying code, root are obtained from the video flowing The corresponding relationship of each camera identification and identifying code that save according to itself, judges the verifying that the control centre of unmanned dispensing vehicle sends Whether code is correct, if so, receiving the video flowing;Otherwise, the video flowing is abandoned.
11. a kind of unmanned dispensing vehicle video flowing uploads device, which is located on monitor terminal, which is characterized in that the device packet It includes:
Destination server identifier acquisition module, the video flowing of the camera for monitor a unmanned dispensing vehicle in determination will The mark of the camera is sent to Video Distribution Server, receives the associated mesh of the camera that Video Distribution Server returns Mark the mark of server;
Video flowing obtains module, the mark of the destination server for sending according to destination server identifier acquisition module, with this Destination server establishes connection, monitors the connection, when listening in the connection video flowing for thering is the destination server to issue, The video flowing is downloaded, by the video stream to video player, wherein the video flowing are as follows: Video Distribution Server receives Unmanned dispensing vehicle the video flowing that uploads of control centre, which is acquired by the camera of unmanned dispensing vehicle, and video point Server is sent out according to the incidence relation of preset camera and destination server, determines that the camera of unmanned dispensing vehicle is corresponding Destination server, by the video stream give corresponding destination server;
Video player, for playing the video flowing on monitor terminal.
12. device according to claim 11, which is characterized in that it is WebSocket client that the video flowing, which obtains module, End,
The destination server identifier acquisition module further comprises:
The mark for the destination server that Video Distribution Server returns is sent to WebSocket client;
And the WebSocket client establishes connection with the destination server and includes:
WebSocket is established with the WebSocket server on the destination server to connect;
And the WebSocket client monitors the connection and includes:
Monitor the WebSocket connection;
And the WebSocket client listens to the video flowing for having the destination server to issue in the connection and includes:
Listen to the video flowing for thering is the destination server to issue in the WebSocket connection;
And the Video Distribution Server gives the video stream to corresponding destination server are as follows: the video distribution clothes The video flowing is pushed to the WebSocket server on the destination server by business device via corresponding destination server.
13. device according to claim 12, which is characterized in that the monitor terminal further comprises: WebSocket visitor Family end generation module, for generating WebSocket client.
14. a kind of non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium store instruction is special Sign is that it is according to any one of claims 1 to 4 that described instruction executes the processor The step of unmanned dispensing vehicle video flowing method for uploading, or execute the unmanned dispensing vehicle as described in any one of claim 5 to 7 The step of video flowing method for uploading.
15. a kind of electronic equipment, which is characterized in that including non-instantaneous computer-readable storage medium as claimed in claim 10 Matter and the processor that may have access to the non-transitory computer-readable storage medium.
CN201811424935.7A 2018-11-27 2018-11-27 Unmanned dispensing vehicle video flowing method for uploading, device and storage medium and electronic equipment Pending CN110381344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811424935.7A CN110381344A (en) 2018-11-27 2018-11-27 Unmanned dispensing vehicle video flowing method for uploading, device and storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811424935.7A CN110381344A (en) 2018-11-27 2018-11-27 Unmanned dispensing vehicle video flowing method for uploading, device and storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN110381344A true CN110381344A (en) 2019-10-25

Family

ID=68243088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811424935.7A Pending CN110381344A (en) 2018-11-27 2018-11-27 Unmanned dispensing vehicle video flowing method for uploading, device and storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110381344A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111292037A (en) * 2020-01-19 2020-06-16 上海智勘科技有限公司 Method and system for marking partitions through videos in warehouse management
CN113082722A (en) * 2021-03-15 2021-07-09 上海硬通网络科技有限公司 Game management system and game management method
CN113766317A (en) * 2021-03-08 2021-12-07 京东城市(北京)数字科技有限公司 Video transmission method, video transmission device, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852431A (en) * 2005-12-23 2006-10-25 华为技术有限公司 System and method for realizing video frequency information sharing
CN103327307A (en) * 2013-03-14 2013-09-25 山东电力集团公司青岛供电公司 Power grid monitoring system and method based on streaming media
CN105530475A (en) * 2015-12-18 2016-04-27 深圳楼兰辉煌科技有限公司 Remote video monitoring data transmitting method and system
CN106162062A (en) * 2015-04-10 2016-11-23 深圳市视高电子技术有限公司 Obtain the method and system of monitor video
CN106210614A (en) * 2015-04-30 2016-12-07 中国电信股份有限公司 The acquisition methods of control point video flowing and system
CN106506632A (en) * 2016-10-27 2017-03-15 上海幻电信息科技有限公司 A kind of audio frequency and video live broadcasting method based on HTML5 browsers
CN107197213A (en) * 2017-07-10 2017-09-22 哈尔滨市舍科技有限公司 Scenic spot based on LAN monitoring unmanned System and method for
CN107277004A (en) * 2017-06-13 2017-10-20 重庆扬讯软件技术股份有限公司 A kind of browser is without plug-in unit net cast method
CN107533792A (en) * 2015-03-02 2018-01-02 瓦威亚无人机公司 System for transmitting order and video flowing between remote control of machine and ground station in such as unmanned plane etc.
CN107637040A (en) * 2015-05-13 2018-01-26 高通股份有限公司 Carry out transmission media data using WEBSOCKET sub-protocols
KR20180035312A (en) * 2016-09-29 2018-04-06 주식회사 욱성미디어 Video call device and method using webrtc
CN208061027U (en) * 2018-05-07 2018-11-06 温州大学瓯江学院 A kind of unmanned storage intelligent comprehensive monitoring and dispatching system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852431A (en) * 2005-12-23 2006-10-25 华为技术有限公司 System and method for realizing video frequency information sharing
CN103327307A (en) * 2013-03-14 2013-09-25 山东电力集团公司青岛供电公司 Power grid monitoring system and method based on streaming media
CN107533792A (en) * 2015-03-02 2018-01-02 瓦威亚无人机公司 System for transmitting order and video flowing between remote control of machine and ground station in such as unmanned plane etc.
CN106162062A (en) * 2015-04-10 2016-11-23 深圳市视高电子技术有限公司 Obtain the method and system of monitor video
CN106210614A (en) * 2015-04-30 2016-12-07 中国电信股份有限公司 The acquisition methods of control point video flowing and system
CN107637040A (en) * 2015-05-13 2018-01-26 高通股份有限公司 Carry out transmission media data using WEBSOCKET sub-protocols
CN105530475A (en) * 2015-12-18 2016-04-27 深圳楼兰辉煌科技有限公司 Remote video monitoring data transmitting method and system
KR20180035312A (en) * 2016-09-29 2018-04-06 주식회사 욱성미디어 Video call device and method using webrtc
CN106506632A (en) * 2016-10-27 2017-03-15 上海幻电信息科技有限公司 A kind of audio frequency and video live broadcasting method based on HTML5 browsers
CN107277004A (en) * 2017-06-13 2017-10-20 重庆扬讯软件技术股份有限公司 A kind of browser is without plug-in unit net cast method
CN107197213A (en) * 2017-07-10 2017-09-22 哈尔滨市舍科技有限公司 Scenic spot based on LAN monitoring unmanned System and method for
CN208061027U (en) * 2018-05-07 2018-11-06 温州大学瓯江学院 A kind of unmanned storage intelligent comprehensive monitoring and dispatching system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111292037A (en) * 2020-01-19 2020-06-16 上海智勘科技有限公司 Method and system for marking partitions through videos in warehouse management
CN113766317A (en) * 2021-03-08 2021-12-07 京东城市(北京)数字科技有限公司 Video transmission method, video transmission device, electronic equipment and storage medium
CN113082722A (en) * 2021-03-15 2021-07-09 上海硬通网络科技有限公司 Game management system and game management method

Similar Documents

Publication Publication Date Title
CN110381344A (en) Unmanned dispensing vehicle video flowing method for uploading, device and storage medium and electronic equipment
US20160088326A1 (en) Distributed recording, managing, and accessing of surveillance data within a networked video surveillance system
CN102571726B (en) Method, system and the state judgment server that multi-medium data is shared
CN102571979B (en) Multi-screen interactive equipment and its binding method
CN110121059B (en) Monitoring video processing method, device and storage medium
CN102510395B (en) Flash video scheduling method based on peer to server peer (P2SP)
CN107864125A (en) Environmental sanitation unified monitoring management platform
CN107851103A (en) Automated content identification fingerprint sequence matching
CN101888409A (en) Remote information issuing and monitoring system based on wide area network and control method thereof
CN108964963A (en) A method of warning system and realization alarm based on view networking
CN106713124A (en) Message push method and system based on MQTT and MYSQL
US20210203709A1 (en) Embedding MQTT messages in media streams
CN111669606A (en) Live broadcast system for offline and online synchronous teaching
CN102547474B (en) Extension XMPP protocol fusion RMTP realizes video monitoring system and method
CN103259709A (en) End-to-end mobile phone real-time video transmission method based on virtual private network
CN105430344A (en) P2P remote live broadcast method based on vehicle-mounted mobile network
CN102347947A (en) Streaming media adaptor, streaming media network interaction system and method
CN108964962A (en) A kind of method and system of control view networked terminals
CN103118245A (en) Real-time audio and video interactive instrumented platform
WO2023061060A1 (en) Audio and video code stream scheduling method, system, medium and electronic apparatus
CN107396134A (en) Recorded broadcast equipment and remote teaching apparatus
CN102665116A (en) Internet-based video-audio transmission system and video-audio stream distribution method thereof
CN101656947B (en) Establishing method, device and system of cross-heterogeneous-network service sharing
CN107920072A (en) A kind of multimedia sharing method and system based on data characteristics
US20160149977A1 (en) System and Method of Video Streaming

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210223

Address after: Room 222, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Beijing Jingdong three hundred and sixty degree e-commerce Co.,Ltd.

Address before: 100080 Beijing Haidian District, Suzhou Street, No. 20 Courtyard, No. 2 Building, 1st Floor

Applicant before: Beijing Jingbangda Trading Co.,Ltd.

Effective date of registration: 20210223

Address after: 100080 Beijing Haidian District, Suzhou Street, No. 20 Courtyard, No. 2 Building, 1st Floor

Applicant after: Beijing Jingbangda Trading Co.,Ltd.

Address before: 8 / F, 76 Zhichun Road, Haidian District, Beijing 100083

Applicant before: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: BEIJING JINGDONG CENTURY TRADING Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191025