[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110460898A - A kind of method for processing video frequency and system - Google Patents

A kind of method for processing video frequency and system Download PDF

Info

Publication number
CN110460898A
CN110460898A CN201910703677.4A CN201910703677A CN110460898A CN 110460898 A CN110460898 A CN 110460898A CN 201910703677 A CN201910703677 A CN 201910703677A CN 110460898 A CN110460898 A CN 110460898A
Authority
CN
China
Prior art keywords
networked terminals
depending
instruction
current image
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910703677.4A
Other languages
Chinese (zh)
Other versions
CN110460898B (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910703677.4A priority Critical patent/CN110460898B/en
Publication of CN110460898A publication Critical patent/CN110460898A/en
Application granted granted Critical
Publication of CN110460898B publication Critical patent/CN110460898B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a kind of method for processing video frequency, applied to audio/video player system, the audio/video player system include view networked terminals and with the remote control end being connect depending on networked terminals, the described method includes: when the view networked terminals play video stream data, it is described that the screenshot instruction that the remote control end is sent is received depending on networked terminals;The view networked terminals respond the screenshot instruction, obtain the current image date of the video stream data and store to preset cache;The current image date is generated image file by preset format by the view networked terminals;It is described to save described image file to default store path depending on networked terminals;The view networked terminals after the save is completed, discharge the current image date of the preset cache.The application allows user when watching video, obtains screenshot real-time, quickly, and screenshot file is stored in scheduled path, increases the usage experience of user.

Description

A kind of method for processing video frequency and system
Technical field
The present invention relates to network communication fields, more particularly to a kind of method for processing video frequency and a kind of processing system for video.
Background technique
With the continuous development of science and technology, more and more portable electronic device terminals on the market at present, due to intelligent The appearance of the portable apparatus such as mobile phone and make receive video streaming terminal device become diversification, in order to make provide video Crossfire adapts to the environmental conditions such as different network and equipment, and the technology of scalable video coding is developed, and is based on multilayer Coding scheme encodes video data, changes the enhancement layer (enhancement in video streaming under difficult environmental conditions Layer) quantity is to provide different frame per second (frame rate), resolution ratio (resolution) or image quality, in each enhancement layer Include several frames.
User is often interested in certain contents in video and obtain picture with the mode of screenshot when watching video Face.But current screenshot needs to send screenshot instruction progress screenshot using sub-assembly or specific button or using other ancillary equipments. Complicated for operation using sub-assembly or specific button, screenshot is slow, and uses other auxiliary device operationals cumbersome, and either use Sub-assembly or specific button or to carry out screenshot using other ancillary equipments be all picture in rear several frames, and simultaneously non-user is wanted Picture, so that screenshot and the expectation picture of user have deviation, the screenshot in addition obtained needs user additionally to find file preservation, So that shot operation is more cumbersome.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind A kind of method for processing video frequency and processing system for video to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of method for processing video frequency, are applied to video playing system System, the audio/video player system include view networked terminals and with the remote control end being connect depending on networked terminals, the method packet It includes:
It is described that section that the remote control end is sent is received depending on networked terminals when the view networked terminals play video stream data Figure instruction;
The view networked terminals respond the screenshot instruction, obtain the current image date of the video stream data and storage To preset cache;
The current image date is generated image file by preset format by the view networked terminals;
It is described to save described image file to default store path depending on networked terminals;
The view networked terminals after the save is completed, discharge the current image date of the preset cache.
Optionally, the audio/video player system further include with the camera being connect depending on networked terminals, the method is also Include:
The video stream data that the camera acquisition is received depending on networked terminals;
It is described that the play instruction that the remote control end is sent is received depending on networked terminals;
The view networked terminals respond the play instruction, play the video stream data.
Optionally, the method also includes:
It is described that the exit instruction that the remote control end is sent is received depending on networked terminals;
It is described to enter standby mode depending on the networked terminals response exit instruction.
Optionally, the view networked terminals respond the screenshot instruction, obtain the present image number of the video stream data According to and store arrive preset cache, comprising:
The view networked terminals respond the screenshot instruction, obtain the current image date of the video stream data;
It is described to judge whether the clarity of the current image date meets preset condition depending on networked terminals;
If described judge that the clarity of the current image date meets preset condition, the view networking depending on networked terminals Terminal stores the current image date to preset cache.
Optionally, further includes:
If described judge that the clarity of the current image date is unsatisfactory for preset condition, the view connection depending on networked terminals Network termination then obtain the current image date previous frame image data or latter frame image data;
The view networked terminals store the previous frame image data or latter frame image data to preset cache.
The application also proposed a kind of processing system for video, the system comprises:
Receiving module, described in when the view networked terminals play video stream data, the view networked terminals are received It is remotely controlled the screenshot instruction that end is sent;
Module is obtained, the screenshot instruction is responded for the view networked terminals, obtains the current of the video stream data Image data is simultaneously stored to preset cache;
Module is produced, the current image date is generated into image file by preset format for the view networked terminals;
Module is kept, saves described image file to default store path depending on networked terminals for described;
Release module after the save is completed for the view networked terminals discharges the present image number of the preset cache According to.
Optionally, the system also includes:
Streams Module is received, for the video stream data for receiving the camera acquisition depending on networked terminals;
It is described that the play instruction that the remote control end is sent is received depending on networked terminals;
The view networked terminals respond the play instruction, play the video stream data.
Optionally, the system also includes:
Module is exited, receives the exit instruction that the remote control end is sent depending on networked terminals for described;
Standby module enters standby mode depending on the networked terminals response exit instruction for described.
Optionally, the acquisition module, comprising:
Data module is obtained, the screenshot instruction is responded for the view networked terminals, obtains the video stream data Current image date;
Judgment module judges whether the clarity of the current image date meets default item depending on networked terminals for described Part;
Clarity module, if judging that the clarity of the current image date meets default item depending on networked terminals for described Part, then the view networked terminals store the current image date to preset cache.
Optionally, the acquisition module, further includes:
Front and back data module, if for it is described depending on networked terminals judge the current image date clarity be unsatisfactory for it is pre- If condition, then previous frame image data or a later frame picture number that the current image date is then obtained depending on networked terminals According to;
Front and back keeps module, deposits the previous frame image data or latter frame image data depending on networked terminals for described Store up preset cache.
The application also proposed a kind of device, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that described device executes one or more method as described above.
The application also proposed one or more machine readable medias, be stored thereon with instruction, when by one or more When managing device execution, so that the processor executes one or more method as described above
The embodiment of the present invention includes following advantages: in an embodiment of the present invention, when view networked terminals play video fluxion According to when, depending on networked terminals receive remote control end send screenshot instruction;Depending on networked terminals response screenshot instruction, video stream data is obtained Current image date and store arrive preset cache;Current image date is generated into image text by preset format depending on networked terminals Part;Described image file is saved to default store path depending on networked terminals;After the save is completed depending on networked terminals, described in release The current image date of preset cache.The application allows user when watching video, obtains the video that user admires real-time, quickly Picture, and generate corresponding screenshot image file, is stored in scheduled path for screenshot file, can allow user's taking-up figure at any time It is user-friendly as file, also increase the usage experience of user.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of step flow chart of method for processing video frequency one of which embodiment of the embodiment of the present invention;
Fig. 6 is a kind of step flow chart of method for processing video frequency one of which embodiment of the embodiment of the present invention;
Fig. 7 is the connection schematic diagram of the audio/video player system one of which embodiment of the embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of processing system for video one of which embodiment of the embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network First video flow.It is exchanged different from simple network packet packet switch (Packet Switching) or lattice network (Circuit Switching) meets Streaming demand using Packet Switching depending on networking technology.Depending on skill of networking Art has flexible, the simple and low price of packet switch, is provided simultaneously with the quality and safety assurance of circuit switching, realizes the whole network friendship Change the seamless connection of formula virtual circuit and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
Classify depending on networked devices
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).Metropolitan Area Network (MAN) can be divided on the whole depending on networking (or national net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine module, are forwarded: 1) end if meeting the following conditions It is less than that mouth sends caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, packet Include the operation such as initialization, read-write to hard disk;CPU module 203 be mainly responsible for access switch, terminal (not shown) it Between protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 304 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, may include two kinds of situations:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 308 is configured by CPU module 304, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking mesh way address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, according to the view of packet networking mesh if there is Bao Ze Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different datagrams, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
With reference to Fig. 5, a kind of step process of method for processing video frequency one of which embodiment of the embodiment of the present invention is shown Figure, the method are applied to view networking, and the view networking is connect with ethernet communication, wherein include agency in the view networking Transmitting terminal depending on networked server and acts on behalf of receiving end, includes the first website and the second website in the Ethernet;Described first Website and the transmitting terminal of acting on behalf of communicate to connect, and second website and the receiving end of acting on behalf of communicate to connect.This method application In audio/video player system, audio/video player system may include at least one view networked terminals and at least one remote control end, this is at least One connects view networked terminals and is connected at least one remote control end.Quantity depending on networked terminals can be adjusted according to actual needs Whole, the quantity for being remotely controlled end can also be adjusted according to actual needs, and the application does not make herein.Optionally, in the present embodiment In, make example depending on networked terminals and a remote control end with one.
This method can specifically include following steps:
Step 501, when the view networked terminals play video stream data, the view networked terminals receive the remote control end The screenshot of transmission instructs.
In a kind of wherein optional embodiment, remote control end can regard networked terminals connection request to sending, specifically can be with Turn server transmission connection request from remote control end to depending on networking association, turns the connection of the available connection request of server depending on networking association Address turns server depending on networking association and is sent connection request in the corresponding view networked terminals of link address according to link address. Connection can be established according to connection request and the remote control end depending on networked terminals.With establish connection depending on networked terminals after, be remotely controlled end Screenshot instruction, control view networked terminals work can be sent to view networked terminals.Preferably, display can be equipped with depending on networked terminals Screen.Screenshot instruction can be sent with the display screen of view networked terminals by being remotely controlled end, and control view networked terminals carry out shot operation.
Optionally, in a kind of wherein embodiment, after establishing connection, remote control end sends screenshot instruction to view networked terminals. The screenshot instruction of transmission may include time command, also may include address instruction, quantitative directive etc..For example, if having multiple Connection is established depending on networked terminals and remote control end, multiple view networked terminals are when playing different video stream datas, if user thinks Screenshot is carried out to the view connection flow data that some view networked terminals plays, screenshot instruction can be sent to multiple view networked terminals, It can parse the address instruction of screenshot instruction depending on networked terminals, obtain the corresponding address of address instruction, if address instruction is corresponding Address with view the address of networked terminals it is identical, view networked terminals execute shot operation, if the corresponding address of address instruction with regard The address of networked terminals is not identical, then does not execute shot operation depending on networked terminals.It can be convenient user and watching multiple view networkings When the view of terminal plays joins flow data, screenshot is carried out.Optionally, when remote control end sends screenshot instruction every time, one can be sent It is or multiple, it is preferable that one can be sent every time.Each screenshot instruction in can also include quantitative directive, time command, Address instruction etc. can may insure when each send, depending on networked terminals can be instructed according to each screenshot into Row shot operation.
In one of example of the present embodiment, if thering is one to establish connection depending on networked terminals and multiple remote control ends, often The time that a remote control end sends screenshot instruction is different, parses the screenshot instruction that multiple remote control ends are sent depending on networked terminals, obtains and cut The time and address that figure instruction issues carry out shot operation according to the time of screenshot instruction and address.Optionally, remote control end is sent Screenshot instruction can also include precedence field, the available screenshot of view networked terminals instruct in field, it is true according to field Determine the corresponding priority of field, and determine the field of highest priority, and preferentially executes the corresponding screenshot of highest priority field The shot operation of instruction.In the concrete realization, if view networked terminals are connect with multiple remote control ends, depending on networked terminals also according to reception The sequence of screenshot instruction, successively executes shot operation.
In a kind of preferred embodiment, it can be equipped with display screen depending on networked terminals, remote control end can pass through infrared ray Screenshot instruction is sent to display screen, screenshot instruction is sent to view networked terminals by display screen, is then regarded networked terminals and is received Screenshot instruction.
Step 502, the view networked terminals respond the screenshot instruction, obtain the present image number of the video stream data According to and store arrive preset cache.
In a kind of wherein embodiment, screenshot instruction can be responded depending on networked terminals, obtains the time command of screenshot instruction, Currently playing current video flow data is obtained according to time command, and current video flow data is stored in and is preset depending on networked terminals In caching, current video flow data can be operated in preset cache depending on networked terminals, to current video flow data into Row saves.
In a kind of wherein optional embodiment, if thering are multiple remote control ends to send screenshot instruction to view networked terminals, depending on connection Label indicia can be added in the current video flow data of acquisition in network termination, correspond to each current video flow data One remote control end sends screenshot instruction.
In the present embodiment, the size of preset cache can be adjusted according to actual needs, such as preset cache can be with 100,000,000,50,000,000, can also proportionally divide view networked terminals caching, if such as regard the available cache memory of networked terminals as 1G can divide percent 10 and make preset cache, about 100,000,000, can specifically be adjusted according to actual needs, the application It does not limit herein.
Step 503, the current image date is generated image file by preset format by the view networked terminals.
In an alternate embodiment of the invention, current image date can be produced to the image file of preset format depending on networked terminals, Preset format can be the file format that user needs to pre-set according to personal use, be also possible to fixed format.In In one of embodiment, preset format may include: .JPG .bmp .jpg .png .GIF .gif .pcx .tga, .exif .fpx .svg .psd .cdr .pcd .dxf .ufo .eps .ai .raw .WMF .webp etc., Ke Yigen It is adjusted according to actual needs, the application does not limit herein.
It, can be in pre-set buffer to current image date production image text depending on networked terminals in a kind of wherein embodiment Part can quickly be handled image data using preset cache, so as to which current image date is generated image file.
Step 504, described to save described image file to default store path depending on networked terminals.
In an alternate embodiment of the invention, image file can be saved to default after generating image file depending on networked terminals Store path, preset store path can be that user is pre-set, is also possible to the path depending on setting in networked terminals.Example Such as, depending on there is a specific preservation file in networked terminals.The screenshot that store user in this document folder, can be convenient use Screenshot is called from view networked terminals or takes out screenshot in family.
Step 505, the view networked terminals after the save is completed, discharge the current image date of the preset cache.
In the present embodiment, depending on networked terminals after saving image file, preset cache can be discharged, so as to drop The power consumption of low view networked terminals can also be improved the efficiency of view networked terminals processing image data, so that view networked terminals fortune Row is more smooth.
In optional embodiment of the present invention, the application is when regarding networked terminals broadcasting video stream data, depending on networked terminals Receive the screenshot instruction that remote control end is sent;Depending on networked terminals response screenshot instruction, the current image date of video stream data is obtained And it stores and arrives preset cache;Current image date is generated into image file by preset format depending on networked terminals;It will depending on networked terminals Described image file is saved to default store path;After the save is completed depending on networked terminals, the current of the preset cache is discharged Image data.The application allows user when watching video, obtains the video pictures that user admires real-time, quickly, and generate correspondence Screenshot image file, screenshot file is stored in scheduled path, user can be allowed to take out image file at any time, facilitate user Operation also increases the usage experience of user.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
With reference to Fig. 6, a kind of step process of method for processing video frequency one of which embodiment of the embodiment of the present invention is shown Figure;This method can be applied to view networking, and the view networking is connect with ethernet communication, wherein include generation in the view networking Haircut sending end depending on networked server and acts on behalf of receiving end, includes the first website and the second website in the Ethernet;Described One website and the transmitting terminal of acting on behalf of communicate to connect, and second website and the receiving end of acting on behalf of communicate to connect.
Referring to Fig. 7, the connection schematic diagram of the audio/video player system one of which embodiment of the embodiment of the present invention is shown, it should Method is applied to audio/video player system, and audio/video player system may include at least one view networked terminals and at least one remote control End, this at least one connect view networked terminals and be remotely controlled end at least one and be connected.Quantity depending on networked terminals can be according to practical need It is adjusted, the quantity for being remotely controlled end can also be adjusted according to actual needs, and the application does not make herein.Video playing system System can also include camera, and camera can be connect at least one depending on networked terminals.Optionally, in the present embodiment, with One camera, one make example depending on networked terminals and a remote control end.
This method can specifically include following steps:
Step 601, the video stream data that the camera acquisition is received depending on networked terminals.
In the present embodiment one of which example, depending on the video stream data of the available camera acquisition of networked terminals, take the photograph As head can be responsible for acquiring video stream data, and video stream data is sent to view networked terminals.
Optionally, camera can be the camera built in view networked terminals, for example, can be by built-in depending on networked terminals Camera, directly progress Image Acquisition, generate video stream data.Camera is also possible to external camera, for example, bimirror Head camera, monitoring camera, infrared camera, simulation camera or digital camera etc..It can pass through depending on networked terminals USB line or HDMI wire are attached with camera.Camera can be with 360 degree of mobile or rotations.The application does not limit herein, It can specifically be adjusted according to actual needs.
It is acquired by camera to image, can quickly directly acquire video stream data, video stream data is clear Process can carry out integrated operation to video stream data by view networked terminals again, video stream data can be sent to other views Video stream data can be made post-processing by networked terminals.
Step 602, described that the play instruction that the remote control end is sent is received depending on networked terminals.
In an alternate embodiment of the invention, it can receive the play instruction that remote control end is sent depending on networked terminals, remote control end can lead to It crosses wireless mode and sends play instruction to view networked terminals, can also be referred to by infrared mode to depending on networked terminals transmission broadcasting It enables, can be specifically adjusted according to practical operation.
In a kind of wherein embodiment, play instruction may include playing sign on, playing pause instruction, play stopping Instruction or play time instruction etc..Such as view networked terminals, after receiving the play instruction that remote control end is sent, parsing, which plays, to be referred to It enables, play instruction includes playing sign on, playing pause instruction, play halt instruction and time command, is rung depending on networked terminals Sign on and time command should be played, video stream data is played, within a preset time interval, then responds broadcasting halt instruction, Stop playing video stream data.
In the optional example of the present embodiment, depending on networked terminals after having received the play instruction that remote control end is sent, depending on Networked terminals can send to remote control end and play response, can notify remote control end.In the present embodiment, remote control end, which can be set, broadcasts The prefixed time interval that instruction is sent is put, in preset time interval, if remote control end does not receive what view networked terminals were sent Response is played, remote control end can send play instruction to depending on networked terminals again.Preset time interval can be according to practical need It is adjusted.
Step 603, the view networked terminals respond the play instruction, play the video stream data.
In the present embodiment, the play instruction that remote control end is sent can be responded depending on networked terminals, plays video stream data, depending on Networked terminals can send to remote control end depending on networked terminals when playing video stream data and play response, notice remote control end.
In the concrete realization, it may include built-in display screen depending on networked terminals, play video flowing within display screen Data, it is more simple and efficient.Optionally, play instruction can also be responded depending on networked terminals, video stream data is sent to multiple Video stream data is played simultaneously depending on networked terminals depending on networked terminals, then by multiple, to realize that video is shared.
Step 604, when the view networked terminals play video stream data, the view networked terminals receive the remote control end The screenshot of transmission instructs.
In a kind of wherein optional embodiment, remote control end can regard networked terminals connection request to sending, specifically can be with Turn server transmission connection request from remote control end to depending on networking association, turns the connection of the available connection request of server depending on networking association Address turns server depending on networking association and is sent connection request in the corresponding view networked terminals of link address according to link address. Connection can be established according to connection request and the remote control end depending on networked terminals.With establish connection depending on networked terminals after, be remotely controlled end Screenshot instruction, control view networked terminals work can be sent to view networked terminals.Preferably, display can be equipped with depending on networked terminals Screen.Screenshot instruction can be sent with the display screen of view networked terminals by being remotely controlled end, and control view networked terminals carry out shot operation.
Optionally, in a kind of wherein embodiment, after establishing connection, remote control end sends screenshot instruction to view networked terminals. The screenshot instruction of transmission may include time command, also may include address instruction, quantitative directive etc..For example, if having multiple Connection is established depending on networked terminals and remote control end, multiple view networked terminals are when playing different video stream datas, if user thinks Screenshot is carried out to the view connection flow data that some view networked terminals plays, screenshot instruction can be sent to multiple view networked terminals, It can parse the address instruction of screenshot instruction depending on networked terminals, obtain the corresponding address of address instruction, if address instruction is corresponding Address with view the address of networked terminals it is identical, view networked terminals execute shot operation, if the corresponding address of address instruction with regard The address of networked terminals is not identical, then does not execute shot operation depending on networked terminals.It can be convenient user and watching multiple view networkings When the view of terminal plays joins flow data, screenshot is carried out.Optionally, when remote control end sends screenshot instruction every time, one can be sent It is or multiple, it is preferable that one can be sent every time.Each screenshot instruction in can also include quantitative directive, time command, Address instruction etc. can may insure when each send, depending on networked terminals can be instructed according to each screenshot into Row shot operation.
In one of example of the present embodiment, if thering is one to establish connection depending on networked terminals and multiple remote control ends, often The time that a remote control end sends screenshot instruction is different, parses the screenshot instruction that multiple remote control ends are sent depending on networked terminals, obtains and cut The time and address that figure instruction issues carry out shot operation according to the time of screenshot instruction and address.Optionally, remote control end is sent Screenshot instruction can also include precedence field, the available screenshot of view networked terminals instruct in field, it is true according to field Determine the corresponding priority of field, and determine the field of highest priority, and preferentially executes the corresponding screenshot of highest priority field The shot operation of instruction.In the concrete realization, if view networked terminals are connect with multiple remote control ends, depending on networked terminals also according to reception The sequence of screenshot instruction, successively executes shot operation.
In a kind of preferred embodiment, it can be equipped with display screen depending on networked terminals, remote control end can pass through infrared ray Screenshot instruction is sent to display screen, screenshot instruction is sent to view networked terminals by display screen, is then regarded networked terminals and is received Screenshot instruction.
Step 605, the view networked terminals respond the screenshot instruction, obtain the present image number of the video stream data According to and store arrive preset cache.
In a kind of wherein embodiment, screenshot instruction can be responded depending on networked terminals, obtains the time command of screenshot instruction, Currently playing current video flow data is obtained according to time command, and current video flow data is stored in and is preset depending on networked terminals In caching, current video flow data can be operated in preset cache depending on networked terminals, to current video flow data into Row saves.
In a kind of wherein optional embodiment, if thering are multiple remote control ends to send screenshot instruction to view networked terminals, depending on connection Label indicia can be added in the current video flow data of acquisition in network termination, correspond to each current video flow data One remote control end sends screenshot instruction.
In the present embodiment, the size of preset cache can be adjusted according to actual needs, such as preset cache can be with 100,000,000,50,000,000, can also proportionally divide view networked terminals caching, if such as regard the available cache memory of networked terminals as 1G can divide percent 10 and make preset cache, about 100,000,000, can specifically be adjusted according to actual needs, the application It does not limit herein.
In the present embodiment, step 605 may include sub-step:
Sub-step 6051, the view networked terminals respond the screenshot instruction, obtain the current figure of the video stream data As data.
In an alternate embodiment of the invention, screenshot instruction can be responded depending on networked terminals, obtains the present image of video stream data Data, screenshot instruction may include time command, and time command may include timestamp, can parse screenshot depending on networked terminals and refers to It enables, acquisition time stamp obtains current image date according to timestamp.In a kind of wherein embodiment, it can be obtained depending on networked terminals Take video stream data when former frame image data, the image data of a frame can be YUV image data, is also possible to RGB Image data will can be encoded or be decoded when the image data of former frame again depending on networked terminals.
It in the concrete realization, can be with depending on networked terminals depending on the current diagram data of the available video stream data of networked terminals The image for having more real-time and being more clear is obtained, video interception effect can be improved.
Sub-step 6052, it is described to judge whether the clarity of the current image date meets default item depending on networked terminals Part.
In the present embodiment, it may determine that whether the clarity of current image date meets preset condition depending on networked terminals, For example, it is 1080p or 720p that preset condition, which is clarity, for example, the clarity that may determine that current image date depending on networking is The no resolution ratio for meeting 720p judges present image number depending on networked terminals if current image date meets the resolution ratio of 720p According to preset condition is met, if current image date is unsatisfactory for the resolution ratio of 720p, current image date is judged depending on networked terminals It is unsatisfactory for preset condition;Preset condition also may include pulling effect, for example, may determine that current image date depending on networked terminals Whether there is dragging effect, if judging that current image date has dragging effect depending on networked terminals, judges current figure depending on networked terminals As data are unsatisfactory for preset condition, if judging that current image date does not pull effect depending on networked terminals, sentence depending on networked terminals Disconnected current image date meets preset condition;Preset condition also may include whether to include character image data, if view networking is eventually End judges that current image date has character image data, then judges that current image date meets preset condition depending on networked terminals, if Judge that current image date does not have character image data depending on networked terminals, then judges that current image date is unsatisfactory for depending on networked terminals Preset condition.
In the concrete realization, preset condition can be preset by user, can also be pre-configured with by terminal.
Sub-step 6053, if described judge that the clarity of the current image date meets preset condition depending on networked terminals, Then the view networked terminals store the current image date to preset cache.
In a kind of wherein embodiment, if judging that the clarity of current image date meets preset condition depending on networked terminals, Current image date can then be stored to preset cache depending on networked terminals, it can will be current in preset cache depending on networked terminals Image data generate the operation of file.It can be convenient and present image is operated depending on networked terminals, improve and obtain screenshot Efficiency, increase the operating experience of user.Current image date, which can be, to be stored in the preset cache of view networked terminals, can also Being stored in the memory of view networked terminals, herein without limiting.
In the present embodiment, step 605 can also include following sub-step:
Sub-step 6054, if described judge that the clarity of the current image date is unsatisfactory for default item depending on networked terminals Part, then the previous frame image data that the current image date is then obtained depending on networked terminals or latter frame image data.
In the present embodiment, if judging that the clarity of current image date is unsatisfactory for preset condition depending on networked terminals, depending on Networked terminals then obtain current image date previous frame image data or latter frame image data.For example, preset condition is to sentence Disconnected resolution ratio may determine that whether the clarity of current image date meets the resolution ratio of 720p depending on networking, if present image number According to the resolution ratio for being unsatisfactory for 720p, judge that current image date is unsatisfactory for preset condition depending on networked terminals, then it can depending on networked terminals With obtain current image date previous frame image data or latter frame image data;For example, preset condition is to pull effect, depending on Networked terminals may determine that whether current image date has dragging effect, if judging that current image date has dragging depending on networked terminals Effect judges that current image date is unsatisfactory for preset condition depending on networked terminals, then regards the available present image number of networked terminals According to previous frame image data or latter frame image data;For example, whether it includes character image data that preset condition is, if view connection Network termination judges that current image date does not have character image data, judges that current image date is unsatisfactory for default item depending on networked terminals Part, then regard the available current image date of networked terminals previous frame image data or latter frame image data.
In a kind of wherein embodiment, the previous frame image data of current image date or latter are being obtained depending on networked terminals After frame image data, previous frame image data or latter frame image data are judged again using preset condition, if former frame Image data or latter frame image data meet preset condition not yet, can obtain previous frame image data or a later frame figure again As data, preset condition can be met until the image data of acquisition;Also judgement number can be set, for example, judge 3 times, if Judge 3 times and do not meet preset condition, then the current image date that can be obtained first time depending on networked terminals is stored to pre- If in caching.
Sub-step 6055, the view networked terminals store the previous frame image data or latter frame image data to pre- If caching.
In the present embodiment, previous frame image data or latter frame image data can be stored to default depending on networked terminals Caching generates image file using previous frame image data or latter frame image data as image data.Since user is watching When video stream data, it is seen that a certain image thinks screenshot, and user refers to from brain response to control remote control end to depending on networking transmission screenshot It enables, needs the time.Simultaneously non-user the screenshot image for wishing to obtain can be seen depending on the current image date that networked terminals obtain. For example, user sees a film video flow data, there are the acrobatic fighting camera lens for flying to kick, Yong Huxi in the film video flow data Hoping interception, this flies the acrobatic fighting camera lens kicked, from customer responsiveness to sending screenshot instruction, what film video flow data had flown to kick from this Acrobatic fighting camera lens goes to next acrobatic fighting camera lens turned round, and goes to the figure of next acrobatic fighting camera lens turned round in the acrobatic fighting camera lens for flying to kick There is dragging effect as in, may determine that current image date is unsatisfactory for preset condition depending on networked terminals, it can depending on networked terminals To obtain previous frame image data, previous frame image data are to fly the image data for the acrobatic fighting camera lens kicked, and do not pull effect, can To generate screenshot file.
In the present embodiment, the carryover effects of screenshot can be reduced, it can be with quick obtaining current image date, even if user Operating delay, also available user issues screenshot and instructs corresponding image data, improves the shot operation experience of user.
Step 606, the current image date is generated image file by preset format by the view networked terminals.
In an alternate embodiment of the invention, current image date can be produced to the image file of preset format depending on networked terminals, Preset format can be the file format that user needs to pre-set according to personal use, be also possible to fixed format.In In one of embodiment, preset format may include: .JPG .bmp .jpg .png .GIF .gif .pcx .tga, .exif .fpx .svg .psd .cdr .pcd .dxf .ufo .eps .ai .raw .WMF .webp etc., Ke Yigen It is adjusted according to actual needs, the application does not limit herein.
It, can be in pre-set buffer to current image date production image text depending on networked terminals in a kind of wherein embodiment Part can quickly be handled image data using preset cache, so as to which current image date is generated image file.
It, can be by image text after image data is generated image file depending on networked terminals in a kind of wherein embodiment Part automatically saves, and can also be presented to the user for user's preview, allows user to watch screenshot effect, user is allowed to choose whether to save. For not meeting the picture file of user's screenshot condition, then given up.It can also be after obtaining screenshot, within display screen Continue to play video stream data;Image file can also be shown in some specific region of display screen, such as in upper left Angle or the upper right corner, display screen also are continuing to play this video stream data, and user can continue to watch, and currently need to obtain again and cut When figure, then controls remote control end and send screenshot instruction.
Can also be after image data convert progress to a certain extent, then the image data of conversion is screened, it extracts Meet the image data of screening conditions out and save as picture, gives up the image data for not meeting screening conditions.It can also convert It is synchronous with screening to carry out.To which the method for processing video frequency of the present embodiment can be by user setting screening conditions, and device is then from view Automatically the picture for meeting screening conditions is intercepted out in frequency, is eliminated subsequent artefacts' screening step, is improved efficiency, saves people Power.And due to only being saved to the picture for meeting screening conditions, too many memory space will not be occupied, has saved and has deposited Store up resource.
Step 607, described to save described image file to default store path depending on networked terminals.
In an alternate embodiment of the invention, image file can be saved to default after generating image file depending on networked terminals Store path, preset store path can be that user is pre-set, is also possible to the path depending on setting in networked terminals.Example Such as, depending on there is a specific preservation file in networked terminals.The screenshot that store user in this document folder, can be convenient use Screenshot is called from view networked terminals or takes out screenshot in family.
Step 608, the view networked terminals after the save is completed, discharge the current image date of the preset cache.
In the present embodiment, depending on networked terminals after saving image file, preset cache can be discharged, so as to drop The power consumption of low view networked terminals can also be improved the efficiency of view networked terminals processing image data, so that view networked terminals fortune Row is more smooth.
Step 609, described that the exit instruction that the remote control end is sent is received depending on networked terminals.
In a kind of wherein embodiment, the exit instruction that remote control end is sent can receive depending on networked terminals, exit instruction can To include video render halt instruction, exit the instructions such as screenshot instruction.It can be stopped according to video render depending on networked terminals Instruction stops playing video stream data;It can also continue to play video stream data according to screenshot instruction is exited depending on networked terminals, Stop starting shot operation, in this case, user sends screenshot instruction to view networked terminals by remote control end, depending on networked terminals Also shot operation can not also be executed.
In the present embodiment, user can control remote control end and send exit instruction, can also be arranged within a preset time distant It controls end and sends exit instruction to view networked terminals.For example, remote control end can exit finger to depending on networked terminals transmission in 50 minutes It enables, the video stream data that user can play view networked terminals in 50 minutes carries out screenshot.
Exit instruction is sent to view networked terminals by remote control end, can be missed to avoid user or remote control end to view networked terminals Screenshot instruction is sent, so that constantly carrying out shot operation depending on networked terminals, delays view networked terminals work, also produces excessive Otiose screenshot.For example, if being remotely controlled end meeting when the send button of the screenshot instruction at remote control end is touched or other objects are pressing against Section does not send screenshot instruction to view networked terminals, can respond screenshot instruction depending on networked terminals and constantly cut to video stream data Figure can generate many non-user and wish the screenshot generated, waste of resource.
Step 610, described to enter standby mode depending on the networked terminals response exit instruction.
In the present embodiment, exit instruction can be responded depending on networked terminals, standby mode can be entered, can stop playing Video stream data.In the concrete realization, it if view networked terminals stop playing video stream data, may be at depending on networked terminals standby State waits the wake-up of user next time, then task, can also reduce the power consumption of view networked terminals.
In the preferred embodiment of the invention, the application is applied to audio/video player system, and audio/video player system includes camera shooting Head, the view networked terminals being connect with camera and the remote control end being connect with depending on networked terminals;By being taken the photograph depending on networked terminals reception The video stream data acquired as head;The play instruction that remote control end is sent is received depending on networked terminals;It plays and refers to depending on networked terminals response It enables, plays video stream data;When regarding networked terminals broadcasting video stream data, the screenshot that remote control end is sent is received depending on networked terminals Instruction;Depending on networked terminals response screenshot instruction, obtains the current image date of video stream data and store to preset cache;Depending on connection Current image date is generated image file by preset format by network termination;Image file is saved to default storage depending on networked terminals Path;After the save is completed depending on networked terminals, the current image date of preset cache is discharged;Remote control end hair is received depending on networked terminals The exit instruction sent;Enter standby mode depending on networked terminals response exit instruction.The application can allow to be caught in real time depending on networked terminals A frame video stream data is obtained, then the frame video stream data is encoded to specified picture format and is saved in file, it can be with It allows user in watching video, the picture that oneself is wanted is saved as into picture at any time, increases the usage experience of user, can also drop Low operation difficulty meets the requirement of user so that the picture of interception is more in line with the expection of user.
With reference to Fig. 8, a kind of structural representation of processing system for video one of which embodiment of the embodiment of the present invention is shown Figure, the system are applied to view networking, and the view networking is connect with ethernet communication, wherein include agency in the view networking Transmitting terminal depending on networked server and acts on behalf of receiving end, includes the first website and the second website in the Ethernet;Described first Website and the transmitting terminal of acting on behalf of communicate to connect, and second website and the receiving end of acting on behalf of communicate to connect;The system can To include following module:
Receiving module 801, for when the view networked terminals play video stream data, the view networked terminals to receive institute State the screenshot instruction that remote control end is sent;
Module 802 is obtained, the screenshot instruction is responded for the view networked terminals, obtains working as the video stream data Preceding image data is simultaneously stored to preset cache;
Module 803 is produced, the current image date is generated into image text by preset format for the view networked terminals Part;
Module 804 is kept, saves described image file to default store path depending on networked terminals for described;
Release module 805 after the save is completed for the view networked terminals discharges the present image of the preset cache Data.
Optionally, the system also includes:
Streams Module is received, for the video stream data for receiving the camera acquisition depending on networked terminals;
It is described that the play instruction that the remote control end is sent is received depending on networked terminals;
The view networked terminals respond the play instruction, play the video stream data.
Optionally, the system also includes:
Module is exited, receives the exit instruction that the remote control end is sent depending on networked terminals for described;
Standby module enters standby mode depending on the networked terminals response exit instruction for described.
Optionally, the acquisition module, comprising:
Data module is obtained, the screenshot instruction is responded for the view networked terminals, obtains the video stream data Current image date;
Judgment module judges whether the clarity of the current image date meets default item depending on networked terminals for described Part;
Clarity module, if judging that the clarity of the current image date meets default item depending on networked terminals for described Part, then the view networked terminals store the current image date to preset cache.
Optionally, the acquisition module, further includes:
Front and back data module, if for it is described depending on networked terminals judge the current image date clarity be unsatisfactory for it is pre- If condition, then previous frame image data or a later frame picture number that the current image date is then obtained depending on networked terminals According to;
Front and back keeps module, deposits the previous frame image data or latter frame image data depending on networked terminals for described Store up preset cache.
For processing system for video embodiment, since it is substantially similar to method for processing video frequency embodiment, so retouching That states is fairly simple, and related place illustrates referring to the part of method for processing video frequency embodiment.
The embodiment of the invention also provides a kind of devices, comprising:
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, are executed when by one or more of processors When, so that described device executes one or more method for processing video frequency as described in the embodiments of the present invention.
The embodiment of the invention also provides the computer programs of a kind of computer readable storage medium, storage to handle Device executes method for processing video frequency as described in the embodiments of the present invention.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
It is computer-readable to a kind of method for processing video frequency provided by the present invention, a kind of processing system for video and one kind above Storage medium is described in detail, and specific case used herein explains the principle of the present invention and embodiment It states, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for this field Those skilled in the art, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, to sum up institute It states, the contents of this specification are not to be construed as limiting the invention.

Claims (12)

1. a kind of method for processing video frequency, which is characterized in that be applied to audio/video player system, the audio/video player system includes view connection Network termination and with the remote control end being connect depending on networked terminals, which comprises
When the view networked terminals play video stream data, the screenshot for receiving remote control end transmission depending on networked terminals refers to It enables;
The view networked terminals respond the screenshot instruction, obtain the current image date of the video stream data and store to pre- If caching;
The current image date is generated image file by preset format by the view networked terminals;
It is described to save described image file to default store path depending on networked terminals;
The view networked terminals after the save is completed, discharge the current image date of the preset cache.
2. the method according to claim 1, wherein the audio/video player system further includes networking eventually with the view The camera for holding connection, the method also includes:
The video stream data that the camera acquisition is received depending on networked terminals;
It is described that the play instruction that the remote control end is sent is received depending on networked terminals;
The view networked terminals respond the play instruction, play the video stream data.
3. the method according to claim 1, wherein the method also includes:
It is described that the exit instruction that the remote control end is sent is received depending on networked terminals;
It is described to enter standby mode depending on the networked terminals response exit instruction.
4. being obtained the method according to claim 1, wherein the view networked terminals respond the screenshot instruction The current image date of the video stream data is simultaneously stored to preset cache, comprising:
The view networked terminals respond the screenshot instruction, obtain the current image date of the video stream data;
It is described to judge whether the clarity of the current image date meets preset condition depending on networked terminals;
If described judge that the clarity of the current image date meets preset condition, the view networked terminals depending on networked terminals By current image date storage to preset cache.
5. method according to claim 4, which is characterized in that further include:
If described judge that the clarity of the current image date is unsatisfactory for preset condition depending on networked terminals, the view networking is eventually Hold the previous frame image data for then obtaining the current image date or latter frame image data;
The view networked terminals store the previous frame image data or latter frame image data to preset cache.
6. a kind of processing system for video, which is characterized in that the system comprises:
Receiving module, for when the view networked terminals play video stream data, the view networked terminals to receive the remote control The screenshot instruction that end is sent;
Module is obtained, the screenshot instruction is responded for the view networked terminals, obtains the present image of the video stream data Data are simultaneously stored to preset cache;
Module is produced, the current image date is generated into image file by preset format for the view networked terminals;
Module is kept, saves described image file to default store path depending on networked terminals for described;
Release module after the save is completed for the view networked terminals discharges the current image date of the preset cache.
7. system according to claim 6, which is characterized in that the system also includes:
Streams Module is received, for the video stream data for receiving the camera acquisition depending on networked terminals;
It is described that the play instruction that the remote control end is sent is received depending on networked terminals;
The view networked terminals respond the play instruction, play the video stream data.
8. system according to claim 6, which is characterized in that the system also includes:
Module is exited, receives the exit instruction that the remote control end is sent depending on networked terminals for described;
Standby module enters standby mode depending on the networked terminals response exit instruction for described.
9. system according to claim 6, which is characterized in that the acquisition module, comprising:
Data module is obtained, the screenshot instruction is responded for the view networked terminals, obtains the current of the video stream data Image data;
Judgment module judges whether the clarity of the current image date meets preset condition depending on networked terminals for described;
Clarity module, if judging that the clarity of the current image date meets preset condition depending on networked terminals for described, Then the view networked terminals store the current image date to preset cache.
10. according to system described in right 9, which is characterized in that the acquisition module, further includes:
Front and back data module, if judging that the clarity of the current image date is unsatisfactory for default item depending on networked terminals for described Part, then the previous frame image data that the current image date is then obtained depending on networked terminals or latter frame image data;
Front and back keeps module, arrives the previous frame image data or latter frame image data storage depending on networked terminals for described Preset cache.
11. a kind of device characterized by comprising
One or more processors;With
One or more machine readable medias of instruction are stored thereon with, when being executed by one or more of processors, are made Obtain the method that described device executes one or more as claimed in claims 1-5.
12. one or more machine readable medias, are stored thereon with instruction, when executed by one or more processors, so that The method that the processor executes one or more as claimed in claims 1-5.
CN201910703677.4A 2019-07-31 2019-07-31 Video processing method, system, device and machine readable medium Active CN110460898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910703677.4A CN110460898B (en) 2019-07-31 2019-07-31 Video processing method, system, device and machine readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910703677.4A CN110460898B (en) 2019-07-31 2019-07-31 Video processing method, system, device and machine readable medium

Publications (2)

Publication Number Publication Date
CN110460898A true CN110460898A (en) 2019-11-15
CN110460898B CN110460898B (en) 2022-06-07

Family

ID=68484372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910703677.4A Active CN110460898B (en) 2019-07-31 2019-07-31 Video processing method, system, device and machine readable medium

Country Status (1)

Country Link
CN (1) CN110460898B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135156A (en) * 2020-09-16 2020-12-25 广州华多网络科技有限公司 Live broadcast method, education live broadcast method, system, equipment and storage medium
CN114025243A (en) * 2021-10-27 2022-02-08 广州繁星互娱信息科技有限公司 Live screenshot obtaining method and device, storage medium and electronic equipment
WO2023116777A1 (en) * 2021-12-24 2023-06-29 极限人工智能有限公司 Video image capture method and apparatus, and chip, surgical robot and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104936037A (en) * 2015-06-05 2015-09-23 广东欧珀移动通信有限公司 Screenshot method and screenshot device of video application
US9218127B2 (en) * 2013-10-24 2015-12-22 Vidyo, Inc. Systems and methods for fast keyboard entry using a remote control in video conferencing and other applications
CN105828168A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Screen shot realization method and device
CN105828146A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Video image interception method, terminal and server
US20170303001A1 (en) * 2016-04-19 2017-10-19 Koowalla Inc. Systems and methods for optimizing content creation on a mobile platform using mobile multi-track timeline-optimized editing and viewer interest content for video
CN107566891A (en) * 2017-08-11 2018-01-09 中广热点云科技有限公司 The method and system of the real-time screenshotss of intelligent television
CN107635110A (en) * 2017-09-30 2018-01-26 维沃移动通信有限公司 A kind of video interception method and terminal
CN108989837A (en) * 2017-08-25 2018-12-11 北京视联动力国际信息技术有限公司 A kind of method and apparatus of picture interception

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9218127B2 (en) * 2013-10-24 2015-12-22 Vidyo, Inc. Systems and methods for fast keyboard entry using a remote control in video conferencing and other applications
CN104936037A (en) * 2015-06-05 2015-09-23 广东欧珀移动通信有限公司 Screenshot method and screenshot device of video application
CN105828168A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Screen shot realization method and device
CN105828146A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Video image interception method, terminal and server
US20170303001A1 (en) * 2016-04-19 2017-10-19 Koowalla Inc. Systems and methods for optimizing content creation on a mobile platform using mobile multi-track timeline-optimized editing and viewer interest content for video
CN107566891A (en) * 2017-08-11 2018-01-09 中广热点云科技有限公司 The method and system of the real-time screenshotss of intelligent television
CN108989837A (en) * 2017-08-25 2018-12-11 北京视联动力国际信息技术有限公司 A kind of method and apparatus of picture interception
CN107635110A (en) * 2017-09-30 2018-01-26 维沃移动通信有限公司 A kind of video interception method and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135156A (en) * 2020-09-16 2020-12-25 广州华多网络科技有限公司 Live broadcast method, education live broadcast method, system, equipment and storage medium
CN112135156B (en) * 2020-09-16 2022-05-17 广州华多网络科技有限公司 Live broadcast method, education live broadcast method, system, equipment and storage medium
CN114025243A (en) * 2021-10-27 2022-02-08 广州繁星互娱信息科技有限公司 Live screenshot obtaining method and device, storage medium and electronic equipment
WO2023116777A1 (en) * 2021-12-24 2023-06-29 极限人工智能有限公司 Video image capture method and apparatus, and chip, surgical robot and system

Also Published As

Publication number Publication date
CN110460898B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
CN108881357B (en) A kind of method and apparatus that data are synchronous
CN108011861B (en) A kind of method and system of the cloud resource display control based on view networking
CN110166728A (en) A kind of view networking meeting method and device
CN110446001A (en) Video conference processing method, device, electronic equipment and medium based on view networking
CN110049271A (en) A kind of view networking conferencing information methods of exhibiting and device
CN110267099A (en) A kind of data transmission method and view networked terminals based on view networking
CN109309806A (en) A kind of management method and system of video conference
CN109495713A (en) A kind of video conference control method and device based on view networking
CN108322809A (en) The method and system that control video file plays under depending on networking under a kind of internet
CN107888938B (en) A kind of network video playback method and its device
CN110475125A (en) Video transcoding method and device
CN110460898A (en) A kind of method for processing video frequency and system
CN110049346A (en) A kind of method and system of net cast
CN110493513A (en) A kind of camera control method and a kind of view networked system
CN110392225A (en) A kind of control method and view networked video conference system
CN109257615A (en) A kind of method and apparatus that net cast is shown
CN110062194A (en) A kind of processing method of audio, video data, device and device and storage medium
CN110149305A (en) A kind of method and transfer server of the multi-party playing audio-video based on view networking
CN109905616A (en) A kind of method and apparatus of Switch Video picture
CN109491783A (en) A kind of acquisition methods and system of memory usage
CN110445761A (en) A kind of video drawing stream method and device
CN110519331A (en) A kind of view networked resources processing method and processing device
CN110121102A (en) A kind of audio data processing method and device
CN110401876A (en) The asynchronous alarm method of audio-video, device, electronic equipment and readable storage medium storing program for executing
CN110035249A (en) A kind of video gets method and apparatus ready

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
CP03 Change of name, title or address

Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013

Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China