CN108173895A - A kind of communication means and device - Google Patents

A kind of communication means and device Download PDF

Info

Publication number
CN108173895A
CN108173895A CN201611117763.XA CN201611117763A CN108173895A CN 108173895 A CN108173895 A CN 108173895A CN 201611117763 A CN201611117763 A CN 201611117763A CN 108173895 A CN108173895 A CN 108173895A
Authority
CN
China
Prior art keywords
packet
networking
data
network
packets
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611117763.XA
Other languages
Chinese (zh)
Inventor
胡贵超
王艳辉
潘廷勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Visionvera International Information Technology Co Ltd
Original Assignee
Beijing Visionvera International Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Visionvera International Information Technology Co Ltd filed Critical Beijing Visionvera International Information Technology Co Ltd
Priority to CN201611117763.XA priority Critical patent/CN108173895A/en
Publication of CN108173895A publication Critical patent/CN108173895A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • H04L47/365Dynamic adaptation of the packet size
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • H04L67/108Resource delivery mechanisms characterised by resources being split in blocks or fragments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

An embodiment of the present invention provides a kind of communication means and device, which includes:Judge the IP data packets from network shooting equipment received whether beyond caching upper limit value;If it is not, then caching IP data packets, and IP data packets are handled to obtain regarding networking data packet;Multiple subdata packets will be split as depending on networking data packet;According to predetermined time interval, multiple subdata packets are sequentially sent.The problem of so as to ensure that internet device and the stability and reliability regarding communications between networked devices, overcome existing video cardton unstable due to network environment, and then effectively improve user experience.

Description

A kind of communication means and device
Technical field
The present invention relates to regarding networking technology field, more particularly to a kind of communication means and a kind of communication device.
Background technology
It is all based on regarding networking protocol depending on data in networked terminals, and the data in Internet protocol are then based on TCP/IP Agreement.In the prior art, if it is expected the data in internet, such as:Data in network shooting equipment are by regarding networking In terminal play out, then need internet and internet data packet converted, then send out depending on the middle layer between networking It is sent to the terminal regarding networking.
However, in the prior art in the terminal being forwarded to internet data in networking, due to being directly by data It is sent in the terminal of networking, therefore, in the case that internet is there are of short duration obstruction, middle layer will be after internet obstruction Mass data is received, and the mass data received is sent to regarding networked terminals.But due to regarding the processing of networked terminals Ability is limited, under this kind of scene, it will the phenomenon that packet loss or video cardton occurs.
In view of the above-mentioned problems, currently no effective solution has been proposed.
Invention content
In view of the above problems, it is proposed that the embodiment of the present invention overcomes the above problem or at least partly in order to provide one kind A kind of communication means and a kind of corresponding communication device to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of communication means, method is applied to regard in networking, packet It includes:
Judge the IP data packets from network shooting equipment received whether beyond caching upper limit value;
If it is not, then caching IP data packets, and IP data packets are handled to obtain regarding networking data packet;
Multiple subdata packets will be split as depending on networking data packet;
According to predetermined time interval, multiple subdata packets are sequentially sent.
In a preferred embodiment of the invention, method can also include:
If data packet abandons IP data packets beyond caching upper limit value.
In a preferred embodiment of the invention, the IP data packets from network shooting equipment received are carried out Processing obtains including depending on the step of networking data packet:
IP data packets are subjected to IP data decapsulations, to obtain IP packet contents;
IP packet contents are carried out to regard networking data encapsulation, obtain regarding networking data packet.
In a preferred embodiment of the invention, the step of multiple subdata packets will be split as depending on networking data packet, It specifically includes:
Detect current network load state and/or terminal load condition;
According to network load state and/or terminal load condition, the multiple of specified size will be split as depending on networking data packet Subdata packet.
In a preferred embodiment of the invention, method further comprises:
According to network load state and/or terminal load condition, predetermined time interval is set.
The present invention also provides a kind of communication devices, and applied in networking, which includes:
Judgment module, for judging the IP data packets from network shooting equipment received whether beyond the caching upper limit Value;
Cache module, for if it is not, then caching IP data packets, and handled to obtain regarding networking data to IP data packets Packet;
Module is split, for multiple subdata packets will to be split as depending on networking data packet;
Sending module, for according to predetermined time interval, sequentially sending multiple subdata packets.
In a preferred embodiment of the invention, if cache module is further used for data packet beyond the caching upper limit Value, then abandon IP data packets.
In a preferred embodiment of the invention, cache module is further used for:
IP data packets are subjected to IP data decapsulations, to obtain IP packet contents;And
IP packet contents are carried out to regard networking data encapsulation, obtain regarding networking data packet.
In a preferred embodiment of the invention, device further comprises:
Detection module, for detecting current network load state and/or terminal load condition;
It is further used for correspondingly, splitting module according to network load state and/or terminal load condition, networking number will be regarded Multiple subdata packets of specified size are split as according to packet.
In a preferred embodiment of the invention, device further comprises:
Setup module, for according to network load state and/or terminal load condition, setting predetermined time interval.
The embodiment of the present invention includes advantages below:
Whether caching upper limit value is exceeded by the IP data packets from network shooting equipment for judging to receive;If it is not, then IP data packets are cached, and IP data packets are handled to obtain regarding networking data packet;Multiple sons will be split as depending on networking data packet Data packet;According to predetermined time interval, multiple subdata packets are sequentially sent.So as to ensure that internet device with regarding networked devices Between the stability and reliability that communicate, the problem of overcoming existing video cardton unstable due to network environment, and then Effectively improve user experience.
Description of the drawings
Fig. 1 is a kind of networking schematic diagram for regarding networking of the present invention;
Fig. 2 is a kind of hardware architecture diagram of node server of the present invention;
Fig. 3 is a kind of hardware architecture diagram of access switch of the present invention;
Fig. 4 is that a kind of Ethernet association of the present invention turns the hardware architecture diagram of gateway;
Fig. 5 is a kind of step flow chart of communication means embodiment of the present invention;
Fig. 6 is the network connection schematic diagram in the embodiment of the present invention;
Fig. 7 is a kind of specific steps flow chart of communication means embodiment of the present invention;
Fig. 8 is a kind of structure diagram of communication device 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, it is below in conjunction with the accompanying drawings 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 realize HD video real-time Transmission, Push numerous the Internet, applications to HD video, high definition is face-to-face.
It, can be such as high in a network platform by required service depending on networking using real-time high-definition video switching technology 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 requests, TV Mail, individual character recording (PVR), Intranet (manage) channel, intelligent video Broadcast Control, information publication by oneself The services such as etc. tens of kinds videos, voice, picture, word, communication, data are all incorporated into a system platform, by TV or Computer realizes that high-definition quality video plays.
For those skilled in the art is made to more fully understand the embodiment of the present invention, below to being introduced depending on networking:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Network technology innovation depending on networking improves traditional ethernet (Ethernet), potential huge on network to face Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demands are met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price exchanged, is provided simultaneously with quality and the safety assurance of circuit switching, it is virtually electric to realize the whole network switch type Road and the seamless connection of data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch of Ethernet are used depending on networking, eliminating Ethernet under the premise of full compatibility lacks It falls into, has the end-to-end seamless connection of the whole network, direct user terminal directly carries IP data packets.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 realizes at present mutually The whole network large-scale high-definition realtime video transmission that networking can not be realized pushes numerous Internet 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, and single network layer is with regard to energy Enough include signaling and data transmission.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 State-of-the-art real time operating system is employed, 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 for typical time to be 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 ad eundem IP internets, but The concurrent flow more than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Structural design depending on networking by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem of puzzlement internet has thoroughly been eradicated from structure, antivirus applet, fire wall has not been needed to generally, has prevented black Visitor and the attack of virus, provide structural carefree secure network to the user.
Service innovative technology (Service Innovation Technology)
Business and transmission are merged 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 program, and can use considerably less code that complicated application can be realized, and 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, it is 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 is (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 Ethernet can be connected.
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 (empty thiol point), and multiple unified videos are put down Platform can be formed regarding 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 depending on the equipment in networking:Server, interchanger is (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
The equipment of 1.2 wherein access mesh portions can be mainly divided into 3 classes:Node server, access switch is (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The particular hardware structure of each access network equipment is:
Node server:
As shown in Fig. 2, mainly include 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 to the packet come in look into the operation of address table 205, so as 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 approaches It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded if meeting the following conditions:1) port It is less than to send caching;2) the queue package counting facility is more than zero.Disk array module 204 mainly realizes the control to hard disk, including The operations such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) 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 include 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 is into 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, Corresponding flow identifier (stream-id) is then distributed, and enters switching engine module 303, is otherwise abandoned;Uplink network interface mould The packet (downlink data) that block 302 is come in is into switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 to the packet come in look into the operation of address table 306, so as to obtain the navigation information of packet; It is gone if the packet into switching engine module 303 is downstream network interface toward uplink network interface, with reference to 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, are divided to two kinds of situations in embodiments of the present invention:
It is gone if the queue is downstream network interface 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 more than zero;3) token that rate control module generates is obtained;
It is gone if the queue is not downstream network interface toward uplink network interface, meets the following conditions and be forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is more than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval The pack buffer queue that interface is gone toward uplink network interface generates token, to control the code check of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, configuration to address table 306 and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly include 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 add modules 409, MAC removing modules 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 The ethernet mac DA of measured data packet, ethernet mac SA, Ethernet length or frame type, regarding networking mesh way address 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 modules 410 (2byte), and enter corresponding order caching, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze regarding with networking mesh according to packet 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:
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 formed.
2nd, regarding networking data package definition
2.1 access network data package definitions
The data packet for accessing net mainly includes 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 represents 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 with destination address (DA);
Reserve bytes are made of 2 bytes;
Payload parts have different length according to the type of different datagrams, if being if various protocol packages 64 bytes, if single group unicast packets words be 32+1024=1056 byte, be not restricted to certainly more than 2 kinds;
CRC is made of 4 bytes, and computational methods follow 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 2 kinds can be all can exceed that 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 unique, is closed to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention:Label uniquely describes 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 device A and equipment B there are two connect, then data packet slave device A to equipment B just There are 2 labels, data packet slave device B to device A also there are 2 labels.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of device A is 0x0000, and the label (outgoing label) when this data packet leaves device A may reform into 0x0001.The networking flow 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 is all dominated by metropolitan area server, and node switch, node server are all passive execution, 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 form of label, which can refer to, to be defined as below:Label is 32bit, wherein high 16bit retains, only with low 16bit, its position Put is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic regarding networking, one of the core concepts of the embodiments of the present invention is to propose a kind of communication means, To improve internet device and the stability and reliability regarding communications between networked devices.
With reference to Fig. 5, a kind of step flow chart of communication means embodiment of the present invention is shown, this method can be applied to Depending in networking, specifically may include steps of:
Step 501, judge the IP data packets from network shooting equipment received whether beyond caching upper limit value.
Specifically, in an embodiment of the present invention, the network connection schematic diagram being illustrated in figure 6 in the embodiment of the present invention, In figure 6:Web camera is communicatively coupled by internet and middle layer, and middle layer is by regarding networking with regarding networked terminals It is communicatively coupled.It should be noted that only show that 1 regards networked terminals in Fig. 6, in an embodiment of the present invention, depending on networking Terminal may include multiple.The video data of i.e. one web camera generation can be sent to middle layer, then in by internet Interbed depending on networking by being sent to one or more regarding networked terminals.
In one embodiment of the invention, middle layer can be form server, and disposed in the server useful In network packet is converted to the software platform regarding networking data packet.
Before service begins, in one embodiment of the invention, operating personnel can return number according to web camera According to the caching upper limit value of size setting intermediate server (middle layer i.e. in the embodiment of the present invention).In another reality of the present invention It applies in example, operating personnel according to actual demand, can set the default value of the caching upper limit value of intermediate server, in the embodiment In, it limits and can hold consultation in subsequent business procession with web camera on the caching of intermediate server, with dynamic Change default value.Such as:The default value limited on the caching of intermediate server is set as 2M, in subsequent business processing, net The return data packet size of network picture pick-up device is adjusted to 4M, then the caching upper limit value of intermediate server is dynamically adapted to and network Picture pick-up device is consistent, as 4M.In the present invention in one embodiment, upper limit value can not be configured, intermediate server It in business start time, holds consultation with network shooting equipment, makes caching upper limit value with network shooting equipment in the positive reason of network The data package size returned under condition is consistent.
With continued reference to Fig. 6, after business starts, middle layer receives the IP data that network shooting equipment is sent by internet Packet, also, whether the IP data packets that middle layer judgement receives limit on caching.
Step 502, if it is not, then caching IP data packets, and IP data packets are handled to obtain regarding networking data packet.
Specifically, in an embodiment of the present invention, if the IP data packets that middle layer judgement receives are without departing from the caching upper limit Value, then middle layer is handled IP data pack buffers to local, and to IP data packets accordingly, and networking number is regarded so as to get According to packet.
Step 503, multiple subdata packets will be split as depending on networking data packet.
Specifically, in an embodiment of the present invention, middle layer will be got is split as multiple subnumbers depending on networking data packet According to packet.
Step 504, according to predetermined time interval, multiple subdata packets are sequentially sent.
Specifically, in an embodiment of the present invention, middle layer will sequentially be sent and split according to pre-set time interval Multiple subdata packets afterwards.That is, realizing even machine contracting system, the big data from network shooting equipment received is divided into repeatedly Send, so as to avoid network blockage and restore at the time of receives mass data, cause to regard networked terminals synchronization receive it is big Caton phenomenon caused by measuring data.
In conclusion the communication means in the embodiment of the present invention, pass through what is judged to receive from network shooting equipment Whether IP data packets are beyond caching upper limit value;If it is not, then caching IP data packets, and IP data packets are handled to obtain regarding networking Data packet;Multiple subdata packets will be split as depending on networking data packet;According to predetermined time interval, multiple subdatas are sequentially sent Packet.So as to ensure that internet device and the stability and reliability regarding communications between networked devices, overcome due to network Existing for environment is unstable the problem of video cardton, and then effectively improve user experience.
With reference to Fig. 7, a kind of specific steps flow chart of communication means embodiment of the present invention is shown, this method can answer For regarding in networking, specifically may include steps of:
Step 701, judge the IP data packets from network shooting equipment received whether beyond caching upper limit value.
Specifically, in an embodiment of the present invention, middle layer receives please come the 8704 of networked terminals of considering oneself as or 8714 signalings It asks, wherein, the IP address of network shooting equipment is carried in the scheduling request.Middle layer can be according to the IP address, please by signaling It asks and is sent to network shooting equipment, the network equipment to be asked to send video/audio data.In an embodiment of the present invention, work as end When end sends 8704 scheduling request, the data of network shooting equipment passback will be simply sent to present terminal, that is, send 8704 signalings The terminal of request.In another embodiment of the present invention, if terminal sends 8714 scheduling requests, the passback of network shooting equipment Data will be sent to all terminals in the forward sight networked system.
In the present embodiment, the return data packet of network shooting equipment is dimensioned to 2M, before business starts, operator The caching upper limit value of middle layer can be set as 2M by member.
After business starts, middle layer receives the IP data packets from network shooting equipment, since network shooting equipment is It is communicated by IP network with middle layer, then carries IP network header packet information in the IP data packets that middle layer receives.In Whether the IP data packets that interbed judgement receives are beyond caching upper limit value.In one embodiment of the invention, if network state Normally, then the IP data packets from network shooting equipment that middle layer receives every time, without departing from caching upper limit value.In this hair In another bright embodiment, if network blocks, after network recovery is normal, middle layer may receive network and take the photograph As equipment send beyond caching upper limit value IP data packets, then for terminal is avoided video/audio Caton phenomenon occur, then in Interbed can all abandon the IP data packets being currently received.
Step 702, IP data packets are cached if it is determined that IP data packets are without departing from caching upper limit value, then, and to IP data packets into Row processing obtains regarding networking data packet.
In this example, it is assumed that network is normal always, then middle layer judgement receives IP data packets always without departing from Cache upper limit value.Middle layer is by IP data buffer storages to being locally stored.In one embodiment of the invention, being locally stored to be The storage of memory or other forms, the present invention do not limit this.
Specifically, step 702 can also specifically include:
Step 7021, IP data packets are subjected to IP data decapsulations, to obtain IP packet contents.
In an embodiment of the present invention, IP data packets are carried out IP data decapsulations by middle layer, to remove in data packet IP network header packet information, to obtain the audio/video data in IP data packets.
Step 7022, IP packet contents are carried out regarding networking data encapsulation, obtains regarding networking data packet.
In an embodiment of the present invention, middle layer carries out IP packet contents to regard networking data encapsulation, i.e., according to regarding connection Packet content is stamped and regards networking packet header accordingly, so that data can be transmitted in depending on networking by fidonetFido.
Step 703, multiple subdata packets will be split as depending on networking data packet.
Specifically, in an embodiment of the present invention, middle layer is required according to code check and network load and/or terminal are born Load state will be split as multiple subdata packets depending on networking data packet.Code check requirement, i.e. middle layer are obtained from network shooting equipment end The video data encoding code check arrived is 4M per second, then middle layer needs per second to regarding networked terminals transmission 4M video datas.Therefore, On the basis of transmission 4M per second, middle layer can carry out the fractionation of data packet according to network load and/or terminal load condition.
In another embodiment of the present invention, middle layer can also require and network load and/or end according to frame per second End load condition will be split as multiple subdata packets depending on networking data packet.Frame per second requirement, i.e. middle layer is from network shooting equipment end The video data encoding code check got is 30 frame per second, then middle layer needs per second to regarding networked terminals 30 frame video counts of transmission According to.Therefore, on the basis of 30 frame data of transmission per second, middle layer can be carried out according to network load and/or terminal load condition The fractionation of data packet.
In one embodiment of the invention, middle layer can detect current network load state and/or terminal load condition, And according to current network load state and/or terminal load condition, dynamic formulates data packet and splits size.It illustrates:If The current size that splits is split according to 2M, i.e., sends the data packet of 2M sizes to terminal every time, still, if terminal load compared with Greatly, then the processing capacity of terminal is relatively low, at this point, middle layer can be on the basis of frame per second requirement or the requirement of/code check be ensured, it will be specified It is dimensioned to 1M, that is, send the data packet of 1M sizes to terminal every time, to reduce terminal load pressure, further improve and be The stability of system and video fluency.
Step 704, according to predetermined time interval, multiple subdata packets are sequentially sent.
Specifically, in an embodiment of the present invention, middle layer will be split as multiple small data packets depending on networking data packet, and press Sequence is sent to depending on networked terminals.
In addition, in an embodiment of the present invention, middle layer will sequentially send multiple sons according to pre-set time interval Data packet.It illustrates:If preset time interval is 1s, data packet specifies size as 1M, then middle layer every 1s to Networking data packet is regarded depending on networked terminals transmission 1M sizes.
In one embodiment of the invention, time interval can also load shape according to network load state and/or terminal State is adjusted into Mobile state.That is, middle layer can be set dynamically according to the network load state and/or terminal load condition detected The predetermined time interval.It illustrates:If current predetermined time interval is 0.5s, still, if terminal it is current load it is higher, Terminal processing capacity is caused to reduce, then middle layer can be on the basis of frame per second requirement or the requirement of/code check be ensured, will be between the predetermined time Every being adjusted to 0.6s, i.e., networking data packet is regarded to the specified size of terminal transmission every 0.6s, so as to alleviate system pressure, reduced Terminal loads, and further improves the stability of system and video fluency.
In conclusion the communication means in the embodiment of the present invention, pass through what is judged to receive from network shooting equipment Whether IP data packets are beyond caching upper limit value;If it is not, then caching IP data packets, and IP data packets are handled to obtain regarding networking Data packet;Multiple subdata packets will be split as depending on networking data packet;According to predetermined time interval, multiple subdatas are sequentially sent Packet.So as to ensure that internet device and the stability and reliability regarding communications between networked devices, overcome due to network Existing for environment is unstable the problem of video cardton, and then effectively improve user experience.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group It closes, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to According to the embodiment of the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented Necessary to example.
With reference to Fig. 8, a kind of structure diagram of communication device embodiment of the present invention is shown, which can be applied to regard In networking, it can specifically include following module:
Judgment module 801, for judging the IP data packets from network shooting equipment received whether beyond caching Limit value.
Cache module 802, for if it is not, then caching IP data packets, and handled to obtain regarding networking number to IP data packets According to packet.
Module 803 is split, for multiple subdata packets will to be split as depending on networking data packet.
Sending module 804, for according to predetermined time interval, sequentially sending multiple subdata packets.
In a preferred embodiment of the invention, if cache module 802 can be further used for data packet beyond slow Upper limit value is deposited, then abandons IP data packets.
In a preferred embodiment of the invention, cache module 802 can be further used for:
IP data packets are subjected to IP data decapsulations, to obtain IP packet contents;And
IP packet contents are carried out to regard networking data encapsulation, obtain regarding networking data packet.
In a preferred embodiment of the invention, device can further include:
Detection module (not shown), for detecting current network load state and/or terminal load condition;
Correspondingly, split module 802 can be further used for the network load state detected according to detection module and/or Terminal load condition will be split as multiple subdata packets of specified size depending on networking data packet.
In a preferred embodiment of the invention, device can further include:
Setup module (not shown), network load state and/or terminal for being detected according to detection module are born Load state sets predetermined time interval.
For device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided 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 with reference 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 flow and/or box combination.These can be provided Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments Capable instruction generation is used to implement in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes The device for the function of specifying.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory generates packet The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that Series of operation steps are performed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction offer performed on computer or other programmable terminal equipments is used to implement in one flow of flow chart or multiple flows And/or specified in one box of block diagram or multiple boxes function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, those skilled in the art once know base This creative concept can then make these embodiments other change and modification.So appended claims are intended to be construed to 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, term " comprising ", "comprising" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements are not only wrapped Those elements are included, but also including other elements that are not explicitly listed or are further included as this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, it is wanted by what sentence "including a ..." limited Element, it is not excluded that also there are other identical elements in the process including the element, method, article or terminal device.
A kind of communication means provided by the present invention and a kind of communication device are described in detail above, herein should The principle of the present invention and embodiment are expounded with specific case, the explanation of above example is only intended to help to manage Solve the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, thought according to the present invention, There will be changes in specific embodiment and application range, in conclusion the content of the present specification should not be construed as to this hair Bright limitation.

Claims (10)

1. a kind of communication means, which is characterized in that the method is applied to regard in networking, including:
Judge the IP data packets from network shooting equipment received whether beyond caching upper limit value;
If it is not, then caching the IP data packets, and the IP data packets are handled to obtain regarding networking data packet;
By described multiple subdata packets are split as depending on networking data packet;
According to predetermined time interval, the multiple subdata packet is sequentially sent.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
If the data packet exceeds the caching upper limit value, the IP data packets are abandoned.
3. the according to the method described in claim 1, it is characterized in that, IP numbers from network shooting equipment that will be received It is handled to obtain according to packet and be included depending on the step of networking data packet:
The IP data packets are subjected to IP data decapsulations, to obtain the IP packet contents;
The IP packet contents are carried out to regard networking data encapsulation, are obtained described regarding networking data packet.
4. according to the method described in claim 1, it is characterized in that, described be split as multiple subnumbers by described depending on networking data packet It the step of according to packet, specifically includes:
Detect current network load state and/or terminal load condition;
According to the network load state and/or terminal load condition, specified size is split as depending on networking data packet by described Multiple subdata packets.
5. according to the method described in claim 4, it is characterized in that, the method further includes:
According to the network load state and/or terminal load condition, the predetermined time interval is set.
6. a kind of communication device, which is characterized in that described device is applied to regard in networking, including:
Judgment module, for judging the IP data packets from network shooting equipment received whether beyond caching upper limit value;
Cache module, for if it is not, then caching the IP data packets, and handled to obtain regarding networking number to the IP data packets According to packet;
Module is split, for being split as multiple subdata packets depending on networking data packet by described;
Sending module, for according to predetermined time interval, sequentially sending the multiple subdata packet.
7. device according to claim 6, which is characterized in that if the cache module is further used for the data packet and surpasses Go out the caching upper limit value, then abandon the IP data packets.
8. device according to claim 6, which is characterized in that the cache module is further used for:
The IP data packets are subjected to IP data decapsulations, to obtain the IP packet contents;And
The IP packet contents are carried out to regard networking data encapsulation, are obtained described regarding networking data packet.
9. device according to claim 6, which is characterized in that described device further comprises:
Detection module, for detecting current network load state and/or terminal load condition;
Correspondingly, the fractionation module is further used for according to the network load state and/or terminal load condition, by described in Multiple subdata packets of specified size are split as depending on networking data packet.
10. device according to claim 9, which is characterized in that described device further comprises:
Setup module, for according to the network load state and/or terminal load condition, setting the predetermined time interval.
CN201611117763.XA 2016-12-07 2016-12-07 A kind of communication means and device Pending CN108173895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611117763.XA CN108173895A (en) 2016-12-07 2016-12-07 A kind of communication means and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611117763.XA CN108173895A (en) 2016-12-07 2016-12-07 A kind of communication means and device

Publications (1)

Publication Number Publication Date
CN108173895A true CN108173895A (en) 2018-06-15

Family

ID=62526904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611117763.XA Pending CN108173895A (en) 2016-12-07 2016-12-07 A kind of communication means and device

Country Status (1)

Country Link
CN (1) CN108173895A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151487A (en) * 2018-09-07 2019-01-04 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus of live multimedia data
CN109151058A (en) * 2018-09-27 2019-01-04 视联动力信息技术股份有限公司 A kind of data transmission method and device
CN109257660A (en) * 2018-09-29 2019-01-22 视联动力信息技术股份有限公司 A kind of means of communication and device based on view networking
CN109327730A (en) * 2018-09-11 2019-02-12 视联动力信息技术股份有限公司 A kind of method and apparatus of data packet downloading
CN109803118A (en) * 2018-12-27 2019-05-24 浙江蓝卓工业互联网信息技术有限公司 A kind of method and system for producing network video data and being transmitted to office network
CN109818960A (en) * 2019-01-29 2019-05-28 视联动力信息技术股份有限公司 Data processing method and device
CN110072126A (en) * 2019-03-19 2019-07-30 视联动力信息技术股份有限公司 Data request method, association turn server and computer readable storage medium
CN110740289A (en) * 2018-07-19 2020-01-31 视联动力信息技术股份有限公司 system and method for obtaining alarm
CN112671742A (en) * 2020-12-17 2021-04-16 北京百度网讯科技有限公司 Audio card pause processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137027A (en) * 2011-05-03 2011-07-27 厦门市美亚柏科信息股份有限公司 Reliable data transmission method and device thereof
CN103686072A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Video internet video monitoring method and system, protocol conversion server, and video internet server
CN104918133A (en) * 2014-03-12 2015-09-16 北京视联动力国际信息技术有限公司 Method and device for playing video streams in articulated naturality web
CN106161814A (en) * 2015-03-24 2016-11-23 北京视联动力国际信息技术有限公司 The sound mixing method of a kind of Multi-Party Conference and device
CN106161335A (en) * 2015-03-25 2016-11-23 北京视联动力国际信息技术有限公司 A kind for the treatment of method and apparatus of network packet

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137027A (en) * 2011-05-03 2011-07-27 厦门市美亚柏科信息股份有限公司 Reliable data transmission method and device thereof
CN103686072A (en) * 2013-11-15 2014-03-26 北京视联动力国际信息技术有限公司 Video internet video monitoring method and system, protocol conversion server, and video internet server
CN104918133A (en) * 2014-03-12 2015-09-16 北京视联动力国际信息技术有限公司 Method and device for playing video streams in articulated naturality web
CN106161814A (en) * 2015-03-24 2016-11-23 北京视联动力国际信息技术有限公司 The sound mixing method of a kind of Multi-Party Conference and device
CN106161335A (en) * 2015-03-25 2016-11-23 北京视联动力国际信息技术有限公司 A kind for the treatment of method and apparatus of network packet

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110740289A (en) * 2018-07-19 2020-01-31 视联动力信息技术股份有限公司 system and method for obtaining alarm
CN110740289B (en) * 2018-07-19 2021-01-22 视联动力信息技术股份有限公司 System and method for acquiring alarm
CN109151487B (en) * 2018-09-07 2021-01-01 视联动力信息技术股份有限公司 Processing method and device for live multimedia data
CN109151487A (en) * 2018-09-07 2019-01-04 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus of live multimedia data
CN109327730A (en) * 2018-09-11 2019-02-12 视联动力信息技术股份有限公司 A kind of method and apparatus of data packet downloading
CN109327730B (en) * 2018-09-11 2020-05-26 视联动力信息技术股份有限公司 Method and device for downloading data packet
CN109151058A (en) * 2018-09-27 2019-01-04 视联动力信息技术股份有限公司 A kind of data transmission method and device
CN109257660A (en) * 2018-09-29 2019-01-22 视联动力信息技术股份有限公司 A kind of means of communication and device based on view networking
CN109803118A (en) * 2018-12-27 2019-05-24 浙江蓝卓工业互联网信息技术有限公司 A kind of method and system for producing network video data and being transmitted to office network
CN109818960A (en) * 2019-01-29 2019-05-28 视联动力信息技术股份有限公司 Data processing method and device
CN109818960B (en) * 2019-01-29 2021-07-09 视联动力信息技术股份有限公司 Data processing method and device
CN110072126A (en) * 2019-03-19 2019-07-30 视联动力信息技术股份有限公司 Data request method, association turn server and computer readable storage medium
CN112671742A (en) * 2020-12-17 2021-04-16 北京百度网讯科技有限公司 Audio card pause processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108121588B (en) A kind of method and its view networking access server of access external resource
CN108063741A (en) A kind of transport protocol conversion method and apparatus
CN108173895A (en) A kind of communication means and device
CN108810456A (en) A kind of monitoring video flow transfers method and system
CN108243173A (en) A kind of RTMP video pushing methods and device based on regarding networking
CN108206911A (en) A kind of camera long-range control method and association turn server
CN108737768A (en) A kind of monitoring method and monitoring device based on monitoring system
CN108632559B (en) A kind of video data handling procedure and device
CN110233984A (en) A kind of monitoring system and method based on view networking
CN109302472A (en) A kind of view networked resources method for releasing and view networking share Platform Server
CN109167962A (en) It is a kind of to turn server depending on networked resources method for releasing and monitoring association
CN109150905A (en) A kind of view networked resources method for releasing and view networking share Platform Server
CN108063745A (en) A kind of video call method and its system based on Android device
CN109068086A (en) A kind of processing method and system of visual telephone service
CN108111474A (en) A kind of sound mixing method and device
CN109246486A (en) A kind of framing method and device
CN107888401A (en) A kind of method and system of the monitoring regarding networked terminals cpu busy percentage in real time
CN110049346A (en) A kind of method and system of net cast
CN109218306A (en) A kind of processing method and system of audio and video data streams
CN110177023A (en) A kind of communication connection detection method and device based on view networking
CN109491783A (en) A kind of acquisition methods and system of memory usage
CN109729184A (en) A kind of method and apparatus of view networking service processing
CN108989850A (en) A kind of video playing control method and control system
CN110022500A (en) A kind of loss treating method and device
CN109889380A (en) A kind of transmission rate processing method and system of data packet

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
CB02 Change of applicant information

Address after: 100000 Dongcheng District, Beijing, Qinglong Hutong 1, 1103 house of Ge Hua building.

Applicant after: Video Link Power Information Technology Co., Ltd.

Address before: 100000 Beijing Dongcheng District gogoa building A1103-1113

Applicant before: BEIJING VISIONVERA INTERNATIONAL INFORMATION TECHNOLOGY CO., LTD.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20180615

RJ01 Rejection of invention patent application after publication